github.com/aavshr/aws-sdk-go@v1.41.3/service/glue/api.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package glue 4 5 import ( 6 "fmt" 7 "time" 8 9 "github.com/aavshr/aws-sdk-go/aws" 10 "github.com/aavshr/aws-sdk-go/aws/awsutil" 11 "github.com/aavshr/aws-sdk-go/aws/request" 12 "github.com/aavshr/aws-sdk-go/private/protocol" 13 "github.com/aavshr/aws-sdk-go/private/protocol/jsonrpc" 14 ) 15 16 const opBatchCreatePartition = "BatchCreatePartition" 17 18 // BatchCreatePartitionRequest generates a "aws/request.Request" representing the 19 // client's request for the BatchCreatePartition operation. The "output" return 20 // value will be populated with the request's response once the request completes 21 // successfully. 22 // 23 // Use "Send" method on the returned Request to send the API call to the service. 24 // the "output" return value is not valid until after Send returns without error. 25 // 26 // See BatchCreatePartition for more information on using the BatchCreatePartition 27 // API call, and error handling. 28 // 29 // This method is useful when you want to inject custom logic or configuration 30 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 31 // 32 // 33 // // Example sending a request using the BatchCreatePartitionRequest method. 34 // req, resp := client.BatchCreatePartitionRequest(params) 35 // 36 // err := req.Send() 37 // if err == nil { // resp is now filled 38 // fmt.Println(resp) 39 // } 40 // 41 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition 42 func (c *Glue) BatchCreatePartitionRequest(input *BatchCreatePartitionInput) (req *request.Request, output *BatchCreatePartitionOutput) { 43 op := &request.Operation{ 44 Name: opBatchCreatePartition, 45 HTTPMethod: "POST", 46 HTTPPath: "/", 47 } 48 49 if input == nil { 50 input = &BatchCreatePartitionInput{} 51 } 52 53 output = &BatchCreatePartitionOutput{} 54 req = c.newRequest(op, input, output) 55 return 56 } 57 58 // BatchCreatePartition API operation for AWS Glue. 59 // 60 // Creates one or more partitions in a batch operation. 61 // 62 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 63 // with awserr.Error's Code and Message methods to get detailed information about 64 // the error. 65 // 66 // See the AWS API reference guide for AWS Glue's 67 // API operation BatchCreatePartition for usage and error information. 68 // 69 // Returned Error Types: 70 // * InvalidInputException 71 // The input provided was not valid. 72 // 73 // * AlreadyExistsException 74 // A resource to be created or added already exists. 75 // 76 // * ResourceNumberLimitExceededException 77 // A resource numerical limit was exceeded. 78 // 79 // * InternalServiceException 80 // An internal service error occurred. 81 // 82 // * EntityNotFoundException 83 // A specified entity does not exist 84 // 85 // * OperationTimeoutException 86 // The operation timed out. 87 // 88 // * EncryptionException 89 // An encryption operation failed. 90 // 91 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition 92 func (c *Glue) BatchCreatePartition(input *BatchCreatePartitionInput) (*BatchCreatePartitionOutput, error) { 93 req, out := c.BatchCreatePartitionRequest(input) 94 return out, req.Send() 95 } 96 97 // BatchCreatePartitionWithContext is the same as BatchCreatePartition with the addition of 98 // the ability to pass a context and additional request options. 99 // 100 // See BatchCreatePartition for details on how to use this API operation. 101 // 102 // The context must be non-nil and will be used for request cancellation. If 103 // the context is nil a panic will occur. In the future the SDK may create 104 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 105 // for more information on using Contexts. 106 func (c *Glue) BatchCreatePartitionWithContext(ctx aws.Context, input *BatchCreatePartitionInput, opts ...request.Option) (*BatchCreatePartitionOutput, error) { 107 req, out := c.BatchCreatePartitionRequest(input) 108 req.SetContext(ctx) 109 req.ApplyOptions(opts...) 110 return out, req.Send() 111 } 112 113 const opBatchDeleteConnection = "BatchDeleteConnection" 114 115 // BatchDeleteConnectionRequest generates a "aws/request.Request" representing the 116 // client's request for the BatchDeleteConnection operation. The "output" return 117 // value will be populated with the request's response once the request completes 118 // successfully. 119 // 120 // Use "Send" method on the returned Request to send the API call to the service. 121 // the "output" return value is not valid until after Send returns without error. 122 // 123 // See BatchDeleteConnection for more information on using the BatchDeleteConnection 124 // API call, and error handling. 125 // 126 // This method is useful when you want to inject custom logic or configuration 127 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 128 // 129 // 130 // // Example sending a request using the BatchDeleteConnectionRequest method. 131 // req, resp := client.BatchDeleteConnectionRequest(params) 132 // 133 // err := req.Send() 134 // if err == nil { // resp is now filled 135 // fmt.Println(resp) 136 // } 137 // 138 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection 139 func (c *Glue) BatchDeleteConnectionRequest(input *BatchDeleteConnectionInput) (req *request.Request, output *BatchDeleteConnectionOutput) { 140 op := &request.Operation{ 141 Name: opBatchDeleteConnection, 142 HTTPMethod: "POST", 143 HTTPPath: "/", 144 } 145 146 if input == nil { 147 input = &BatchDeleteConnectionInput{} 148 } 149 150 output = &BatchDeleteConnectionOutput{} 151 req = c.newRequest(op, input, output) 152 return 153 } 154 155 // BatchDeleteConnection API operation for AWS Glue. 156 // 157 // Deletes a list of connection definitions from the Data Catalog. 158 // 159 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 160 // with awserr.Error's Code and Message methods to get detailed information about 161 // the error. 162 // 163 // See the AWS API reference guide for AWS Glue's 164 // API operation BatchDeleteConnection for usage and error information. 165 // 166 // Returned Error Types: 167 // * InternalServiceException 168 // An internal service error occurred. 169 // 170 // * OperationTimeoutException 171 // The operation timed out. 172 // 173 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection 174 func (c *Glue) BatchDeleteConnection(input *BatchDeleteConnectionInput) (*BatchDeleteConnectionOutput, error) { 175 req, out := c.BatchDeleteConnectionRequest(input) 176 return out, req.Send() 177 } 178 179 // BatchDeleteConnectionWithContext is the same as BatchDeleteConnection with the addition of 180 // the ability to pass a context and additional request options. 181 // 182 // See BatchDeleteConnection for details on how to use this API operation. 183 // 184 // The context must be non-nil and will be used for request cancellation. If 185 // the context is nil a panic will occur. In the future the SDK may create 186 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 187 // for more information on using Contexts. 188 func (c *Glue) BatchDeleteConnectionWithContext(ctx aws.Context, input *BatchDeleteConnectionInput, opts ...request.Option) (*BatchDeleteConnectionOutput, error) { 189 req, out := c.BatchDeleteConnectionRequest(input) 190 req.SetContext(ctx) 191 req.ApplyOptions(opts...) 192 return out, req.Send() 193 } 194 195 const opBatchDeletePartition = "BatchDeletePartition" 196 197 // BatchDeletePartitionRequest generates a "aws/request.Request" representing the 198 // client's request for the BatchDeletePartition operation. The "output" return 199 // value will be populated with the request's response once the request completes 200 // successfully. 201 // 202 // Use "Send" method on the returned Request to send the API call to the service. 203 // the "output" return value is not valid until after Send returns without error. 204 // 205 // See BatchDeletePartition for more information on using the BatchDeletePartition 206 // API call, and error handling. 207 // 208 // This method is useful when you want to inject custom logic or configuration 209 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 210 // 211 // 212 // // Example sending a request using the BatchDeletePartitionRequest method. 213 // req, resp := client.BatchDeletePartitionRequest(params) 214 // 215 // err := req.Send() 216 // if err == nil { // resp is now filled 217 // fmt.Println(resp) 218 // } 219 // 220 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition 221 func (c *Glue) BatchDeletePartitionRequest(input *BatchDeletePartitionInput) (req *request.Request, output *BatchDeletePartitionOutput) { 222 op := &request.Operation{ 223 Name: opBatchDeletePartition, 224 HTTPMethod: "POST", 225 HTTPPath: "/", 226 } 227 228 if input == nil { 229 input = &BatchDeletePartitionInput{} 230 } 231 232 output = &BatchDeletePartitionOutput{} 233 req = c.newRequest(op, input, output) 234 return 235 } 236 237 // BatchDeletePartition API operation for AWS Glue. 238 // 239 // Deletes one or more partitions in a batch operation. 240 // 241 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 242 // with awserr.Error's Code and Message methods to get detailed information about 243 // the error. 244 // 245 // See the AWS API reference guide for AWS Glue's 246 // API operation BatchDeletePartition for usage and error information. 247 // 248 // Returned Error Types: 249 // * InvalidInputException 250 // The input provided was not valid. 251 // 252 // * EntityNotFoundException 253 // A specified entity does not exist 254 // 255 // * InternalServiceException 256 // An internal service error occurred. 257 // 258 // * OperationTimeoutException 259 // The operation timed out. 260 // 261 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition 262 func (c *Glue) BatchDeletePartition(input *BatchDeletePartitionInput) (*BatchDeletePartitionOutput, error) { 263 req, out := c.BatchDeletePartitionRequest(input) 264 return out, req.Send() 265 } 266 267 // BatchDeletePartitionWithContext is the same as BatchDeletePartition with the addition of 268 // the ability to pass a context and additional request options. 269 // 270 // See BatchDeletePartition for details on how to use this API operation. 271 // 272 // The context must be non-nil and will be used for request cancellation. If 273 // the context is nil a panic will occur. In the future the SDK may create 274 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 275 // for more information on using Contexts. 276 func (c *Glue) BatchDeletePartitionWithContext(ctx aws.Context, input *BatchDeletePartitionInput, opts ...request.Option) (*BatchDeletePartitionOutput, error) { 277 req, out := c.BatchDeletePartitionRequest(input) 278 req.SetContext(ctx) 279 req.ApplyOptions(opts...) 280 return out, req.Send() 281 } 282 283 const opBatchDeleteTable = "BatchDeleteTable" 284 285 // BatchDeleteTableRequest generates a "aws/request.Request" representing the 286 // client's request for the BatchDeleteTable operation. The "output" return 287 // value will be populated with the request's response once the request completes 288 // successfully. 289 // 290 // Use "Send" method on the returned Request to send the API call to the service. 291 // the "output" return value is not valid until after Send returns without error. 292 // 293 // See BatchDeleteTable for more information on using the BatchDeleteTable 294 // API call, and error handling. 295 // 296 // This method is useful when you want to inject custom logic or configuration 297 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 298 // 299 // 300 // // Example sending a request using the BatchDeleteTableRequest method. 301 // req, resp := client.BatchDeleteTableRequest(params) 302 // 303 // err := req.Send() 304 // if err == nil { // resp is now filled 305 // fmt.Println(resp) 306 // } 307 // 308 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable 309 func (c *Glue) BatchDeleteTableRequest(input *BatchDeleteTableInput) (req *request.Request, output *BatchDeleteTableOutput) { 310 op := &request.Operation{ 311 Name: opBatchDeleteTable, 312 HTTPMethod: "POST", 313 HTTPPath: "/", 314 } 315 316 if input == nil { 317 input = &BatchDeleteTableInput{} 318 } 319 320 output = &BatchDeleteTableOutput{} 321 req = c.newRequest(op, input, output) 322 return 323 } 324 325 // BatchDeleteTable API operation for AWS Glue. 326 // 327 // Deletes multiple tables at once. 328 // 329 // After completing this operation, you no longer have access to the table versions 330 // and partitions that belong to the deleted table. Glue deletes these "orphaned" 331 // resources asynchronously in a timely manner, at the discretion of the service. 332 // 333 // To ensure the immediate deletion of all related resources, before calling 334 // BatchDeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and 335 // DeletePartition or BatchDeletePartition, to delete any resources that belong 336 // to the table. 337 // 338 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 339 // with awserr.Error's Code and Message methods to get detailed information about 340 // the error. 341 // 342 // See the AWS API reference guide for AWS Glue's 343 // API operation BatchDeleteTable for usage and error information. 344 // 345 // Returned Error Types: 346 // * InvalidInputException 347 // The input provided was not valid. 348 // 349 // * EntityNotFoundException 350 // A specified entity does not exist 351 // 352 // * InternalServiceException 353 // An internal service error occurred. 354 // 355 // * OperationTimeoutException 356 // The operation timed out. 357 // 358 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable 359 func (c *Glue) BatchDeleteTable(input *BatchDeleteTableInput) (*BatchDeleteTableOutput, error) { 360 req, out := c.BatchDeleteTableRequest(input) 361 return out, req.Send() 362 } 363 364 // BatchDeleteTableWithContext is the same as BatchDeleteTable with the addition of 365 // the ability to pass a context and additional request options. 366 // 367 // See BatchDeleteTable for details on how to use this API operation. 368 // 369 // The context must be non-nil and will be used for request cancellation. If 370 // the context is nil a panic will occur. In the future the SDK may create 371 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 372 // for more information on using Contexts. 373 func (c *Glue) BatchDeleteTableWithContext(ctx aws.Context, input *BatchDeleteTableInput, opts ...request.Option) (*BatchDeleteTableOutput, error) { 374 req, out := c.BatchDeleteTableRequest(input) 375 req.SetContext(ctx) 376 req.ApplyOptions(opts...) 377 return out, req.Send() 378 } 379 380 const opBatchDeleteTableVersion = "BatchDeleteTableVersion" 381 382 // BatchDeleteTableVersionRequest generates a "aws/request.Request" representing the 383 // client's request for the BatchDeleteTableVersion operation. The "output" return 384 // value will be populated with the request's response once the request completes 385 // successfully. 386 // 387 // Use "Send" method on the returned Request to send the API call to the service. 388 // the "output" return value is not valid until after Send returns without error. 389 // 390 // See BatchDeleteTableVersion for more information on using the BatchDeleteTableVersion 391 // API call, and error handling. 392 // 393 // This method is useful when you want to inject custom logic or configuration 394 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 395 // 396 // 397 // // Example sending a request using the BatchDeleteTableVersionRequest method. 398 // req, resp := client.BatchDeleteTableVersionRequest(params) 399 // 400 // err := req.Send() 401 // if err == nil { // resp is now filled 402 // fmt.Println(resp) 403 // } 404 // 405 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersion 406 func (c *Glue) BatchDeleteTableVersionRequest(input *BatchDeleteTableVersionInput) (req *request.Request, output *BatchDeleteTableVersionOutput) { 407 op := &request.Operation{ 408 Name: opBatchDeleteTableVersion, 409 HTTPMethod: "POST", 410 HTTPPath: "/", 411 } 412 413 if input == nil { 414 input = &BatchDeleteTableVersionInput{} 415 } 416 417 output = &BatchDeleteTableVersionOutput{} 418 req = c.newRequest(op, input, output) 419 return 420 } 421 422 // BatchDeleteTableVersion API operation for AWS Glue. 423 // 424 // Deletes a specified batch of versions of a table. 425 // 426 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 427 // with awserr.Error's Code and Message methods to get detailed information about 428 // the error. 429 // 430 // See the AWS API reference guide for AWS Glue's 431 // API operation BatchDeleteTableVersion for usage and error information. 432 // 433 // Returned Error Types: 434 // * EntityNotFoundException 435 // A specified entity does not exist 436 // 437 // * InvalidInputException 438 // The input provided was not valid. 439 // 440 // * InternalServiceException 441 // An internal service error occurred. 442 // 443 // * OperationTimeoutException 444 // The operation timed out. 445 // 446 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersion 447 func (c *Glue) BatchDeleteTableVersion(input *BatchDeleteTableVersionInput) (*BatchDeleteTableVersionOutput, error) { 448 req, out := c.BatchDeleteTableVersionRequest(input) 449 return out, req.Send() 450 } 451 452 // BatchDeleteTableVersionWithContext is the same as BatchDeleteTableVersion with the addition of 453 // the ability to pass a context and additional request options. 454 // 455 // See BatchDeleteTableVersion for details on how to use this API operation. 456 // 457 // The context must be non-nil and will be used for request cancellation. If 458 // the context is nil a panic will occur. In the future the SDK may create 459 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 460 // for more information on using Contexts. 461 func (c *Glue) BatchDeleteTableVersionWithContext(ctx aws.Context, input *BatchDeleteTableVersionInput, opts ...request.Option) (*BatchDeleteTableVersionOutput, error) { 462 req, out := c.BatchDeleteTableVersionRequest(input) 463 req.SetContext(ctx) 464 req.ApplyOptions(opts...) 465 return out, req.Send() 466 } 467 468 const opBatchGetBlueprints = "BatchGetBlueprints" 469 470 // BatchGetBlueprintsRequest generates a "aws/request.Request" representing the 471 // client's request for the BatchGetBlueprints operation. The "output" return 472 // value will be populated with the request's response once the request completes 473 // successfully. 474 // 475 // Use "Send" method on the returned Request to send the API call to the service. 476 // the "output" return value is not valid until after Send returns without error. 477 // 478 // See BatchGetBlueprints for more information on using the BatchGetBlueprints 479 // API call, and error handling. 480 // 481 // This method is useful when you want to inject custom logic or configuration 482 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 483 // 484 // 485 // // Example sending a request using the BatchGetBlueprintsRequest method. 486 // req, resp := client.BatchGetBlueprintsRequest(params) 487 // 488 // err := req.Send() 489 // if err == nil { // resp is now filled 490 // fmt.Println(resp) 491 // } 492 // 493 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetBlueprints 494 func (c *Glue) BatchGetBlueprintsRequest(input *BatchGetBlueprintsInput) (req *request.Request, output *BatchGetBlueprintsOutput) { 495 op := &request.Operation{ 496 Name: opBatchGetBlueprints, 497 HTTPMethod: "POST", 498 HTTPPath: "/", 499 } 500 501 if input == nil { 502 input = &BatchGetBlueprintsInput{} 503 } 504 505 output = &BatchGetBlueprintsOutput{} 506 req = c.newRequest(op, input, output) 507 return 508 } 509 510 // BatchGetBlueprints API operation for AWS Glue. 511 // 512 // Retrieves information about a list of blueprints. 513 // 514 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 515 // with awserr.Error's Code and Message methods to get detailed information about 516 // the error. 517 // 518 // See the AWS API reference guide for AWS Glue's 519 // API operation BatchGetBlueprints for usage and error information. 520 // 521 // Returned Error Types: 522 // * InternalServiceException 523 // An internal service error occurred. 524 // 525 // * OperationTimeoutException 526 // The operation timed out. 527 // 528 // * InvalidInputException 529 // The input provided was not valid. 530 // 531 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetBlueprints 532 func (c *Glue) BatchGetBlueprints(input *BatchGetBlueprintsInput) (*BatchGetBlueprintsOutput, error) { 533 req, out := c.BatchGetBlueprintsRequest(input) 534 return out, req.Send() 535 } 536 537 // BatchGetBlueprintsWithContext is the same as BatchGetBlueprints with the addition of 538 // the ability to pass a context and additional request options. 539 // 540 // See BatchGetBlueprints for details on how to use this API operation. 541 // 542 // The context must be non-nil and will be used for request cancellation. If 543 // the context is nil a panic will occur. In the future the SDK may create 544 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 545 // for more information on using Contexts. 546 func (c *Glue) BatchGetBlueprintsWithContext(ctx aws.Context, input *BatchGetBlueprintsInput, opts ...request.Option) (*BatchGetBlueprintsOutput, error) { 547 req, out := c.BatchGetBlueprintsRequest(input) 548 req.SetContext(ctx) 549 req.ApplyOptions(opts...) 550 return out, req.Send() 551 } 552 553 const opBatchGetCrawlers = "BatchGetCrawlers" 554 555 // BatchGetCrawlersRequest generates a "aws/request.Request" representing the 556 // client's request for the BatchGetCrawlers operation. The "output" return 557 // value will be populated with the request's response once the request completes 558 // successfully. 559 // 560 // Use "Send" method on the returned Request to send the API call to the service. 561 // the "output" return value is not valid until after Send returns without error. 562 // 563 // See BatchGetCrawlers for more information on using the BatchGetCrawlers 564 // API call, and error handling. 565 // 566 // This method is useful when you want to inject custom logic or configuration 567 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 568 // 569 // 570 // // Example sending a request using the BatchGetCrawlersRequest method. 571 // req, resp := client.BatchGetCrawlersRequest(params) 572 // 573 // err := req.Send() 574 // if err == nil { // resp is now filled 575 // fmt.Println(resp) 576 // } 577 // 578 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlers 579 func (c *Glue) BatchGetCrawlersRequest(input *BatchGetCrawlersInput) (req *request.Request, output *BatchGetCrawlersOutput) { 580 op := &request.Operation{ 581 Name: opBatchGetCrawlers, 582 HTTPMethod: "POST", 583 HTTPPath: "/", 584 } 585 586 if input == nil { 587 input = &BatchGetCrawlersInput{} 588 } 589 590 output = &BatchGetCrawlersOutput{} 591 req = c.newRequest(op, input, output) 592 return 593 } 594 595 // BatchGetCrawlers API operation for AWS Glue. 596 // 597 // Returns a list of resource metadata for a given list of crawler names. After 598 // calling the ListCrawlers operation, you can call this operation to access 599 // the data to which you have been granted permissions. This operation supports 600 // all IAM permissions, including permission conditions that uses tags. 601 // 602 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 603 // with awserr.Error's Code and Message methods to get detailed information about 604 // the error. 605 // 606 // See the AWS API reference guide for AWS Glue's 607 // API operation BatchGetCrawlers for usage and error information. 608 // 609 // Returned Error Types: 610 // * InvalidInputException 611 // The input provided was not valid. 612 // 613 // * OperationTimeoutException 614 // The operation timed out. 615 // 616 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlers 617 func (c *Glue) BatchGetCrawlers(input *BatchGetCrawlersInput) (*BatchGetCrawlersOutput, error) { 618 req, out := c.BatchGetCrawlersRequest(input) 619 return out, req.Send() 620 } 621 622 // BatchGetCrawlersWithContext is the same as BatchGetCrawlers with the addition of 623 // the ability to pass a context and additional request options. 624 // 625 // See BatchGetCrawlers for details on how to use this API operation. 626 // 627 // The context must be non-nil and will be used for request cancellation. If 628 // the context is nil a panic will occur. In the future the SDK may create 629 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 630 // for more information on using Contexts. 631 func (c *Glue) BatchGetCrawlersWithContext(ctx aws.Context, input *BatchGetCrawlersInput, opts ...request.Option) (*BatchGetCrawlersOutput, error) { 632 req, out := c.BatchGetCrawlersRequest(input) 633 req.SetContext(ctx) 634 req.ApplyOptions(opts...) 635 return out, req.Send() 636 } 637 638 const opBatchGetDevEndpoints = "BatchGetDevEndpoints" 639 640 // BatchGetDevEndpointsRequest generates a "aws/request.Request" representing the 641 // client's request for the BatchGetDevEndpoints operation. The "output" return 642 // value will be populated with the request's response once the request completes 643 // successfully. 644 // 645 // Use "Send" method on the returned Request to send the API call to the service. 646 // the "output" return value is not valid until after Send returns without error. 647 // 648 // See BatchGetDevEndpoints for more information on using the BatchGetDevEndpoints 649 // API call, and error handling. 650 // 651 // This method is useful when you want to inject custom logic or configuration 652 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 653 // 654 // 655 // // Example sending a request using the BatchGetDevEndpointsRequest method. 656 // req, resp := client.BatchGetDevEndpointsRequest(params) 657 // 658 // err := req.Send() 659 // if err == nil { // resp is now filled 660 // fmt.Println(resp) 661 // } 662 // 663 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetDevEndpoints 664 func (c *Glue) BatchGetDevEndpointsRequest(input *BatchGetDevEndpointsInput) (req *request.Request, output *BatchGetDevEndpointsOutput) { 665 op := &request.Operation{ 666 Name: opBatchGetDevEndpoints, 667 HTTPMethod: "POST", 668 HTTPPath: "/", 669 } 670 671 if input == nil { 672 input = &BatchGetDevEndpointsInput{} 673 } 674 675 output = &BatchGetDevEndpointsOutput{} 676 req = c.newRequest(op, input, output) 677 return 678 } 679 680 // BatchGetDevEndpoints API operation for AWS Glue. 681 // 682 // Returns a list of resource metadata for a given list of development endpoint 683 // names. After calling the ListDevEndpoints operation, you can call this operation 684 // to access the data to which you have been granted permissions. This operation 685 // supports all IAM permissions, including permission conditions that uses tags. 686 // 687 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 688 // with awserr.Error's Code and Message methods to get detailed information about 689 // the error. 690 // 691 // See the AWS API reference guide for AWS Glue's 692 // API operation BatchGetDevEndpoints for usage and error information. 693 // 694 // Returned Error Types: 695 // * AccessDeniedException 696 // Access to a resource was denied. 697 // 698 // * InternalServiceException 699 // An internal service error occurred. 700 // 701 // * OperationTimeoutException 702 // The operation timed out. 703 // 704 // * InvalidInputException 705 // The input provided was not valid. 706 // 707 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetDevEndpoints 708 func (c *Glue) BatchGetDevEndpoints(input *BatchGetDevEndpointsInput) (*BatchGetDevEndpointsOutput, error) { 709 req, out := c.BatchGetDevEndpointsRequest(input) 710 return out, req.Send() 711 } 712 713 // BatchGetDevEndpointsWithContext is the same as BatchGetDevEndpoints with the addition of 714 // the ability to pass a context and additional request options. 715 // 716 // See BatchGetDevEndpoints for details on how to use this API operation. 717 // 718 // The context must be non-nil and will be used for request cancellation. If 719 // the context is nil a panic will occur. In the future the SDK may create 720 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 721 // for more information on using Contexts. 722 func (c *Glue) BatchGetDevEndpointsWithContext(ctx aws.Context, input *BatchGetDevEndpointsInput, opts ...request.Option) (*BatchGetDevEndpointsOutput, error) { 723 req, out := c.BatchGetDevEndpointsRequest(input) 724 req.SetContext(ctx) 725 req.ApplyOptions(opts...) 726 return out, req.Send() 727 } 728 729 const opBatchGetJobs = "BatchGetJobs" 730 731 // BatchGetJobsRequest generates a "aws/request.Request" representing the 732 // client's request for the BatchGetJobs operation. The "output" return 733 // value will be populated with the request's response once the request completes 734 // successfully. 735 // 736 // Use "Send" method on the returned Request to send the API call to the service. 737 // the "output" return value is not valid until after Send returns without error. 738 // 739 // See BatchGetJobs for more information on using the BatchGetJobs 740 // API call, and error handling. 741 // 742 // This method is useful when you want to inject custom logic or configuration 743 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 744 // 745 // 746 // // Example sending a request using the BatchGetJobsRequest method. 747 // req, resp := client.BatchGetJobsRequest(params) 748 // 749 // err := req.Send() 750 // if err == nil { // resp is now filled 751 // fmt.Println(resp) 752 // } 753 // 754 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs 755 func (c *Glue) BatchGetJobsRequest(input *BatchGetJobsInput) (req *request.Request, output *BatchGetJobsOutput) { 756 op := &request.Operation{ 757 Name: opBatchGetJobs, 758 HTTPMethod: "POST", 759 HTTPPath: "/", 760 } 761 762 if input == nil { 763 input = &BatchGetJobsInput{} 764 } 765 766 output = &BatchGetJobsOutput{} 767 req = c.newRequest(op, input, output) 768 return 769 } 770 771 // BatchGetJobs API operation for AWS Glue. 772 // 773 // Returns a list of resource metadata for a given list of job names. After 774 // calling the ListJobs operation, you can call this operation to access the 775 // data to which you have been granted permissions. This operation supports 776 // all IAM permissions, including permission conditions that uses tags. 777 // 778 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 779 // with awserr.Error's Code and Message methods to get detailed information about 780 // the error. 781 // 782 // See the AWS API reference guide for AWS Glue's 783 // API operation BatchGetJobs for usage and error information. 784 // 785 // Returned Error Types: 786 // * InternalServiceException 787 // An internal service error occurred. 788 // 789 // * OperationTimeoutException 790 // The operation timed out. 791 // 792 // * InvalidInputException 793 // The input provided was not valid. 794 // 795 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs 796 func (c *Glue) BatchGetJobs(input *BatchGetJobsInput) (*BatchGetJobsOutput, error) { 797 req, out := c.BatchGetJobsRequest(input) 798 return out, req.Send() 799 } 800 801 // BatchGetJobsWithContext is the same as BatchGetJobs with the addition of 802 // the ability to pass a context and additional request options. 803 // 804 // See BatchGetJobs for details on how to use this API operation. 805 // 806 // The context must be non-nil and will be used for request cancellation. If 807 // the context is nil a panic will occur. In the future the SDK may create 808 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 809 // for more information on using Contexts. 810 func (c *Glue) BatchGetJobsWithContext(ctx aws.Context, input *BatchGetJobsInput, opts ...request.Option) (*BatchGetJobsOutput, error) { 811 req, out := c.BatchGetJobsRequest(input) 812 req.SetContext(ctx) 813 req.ApplyOptions(opts...) 814 return out, req.Send() 815 } 816 817 const opBatchGetPartition = "BatchGetPartition" 818 819 // BatchGetPartitionRequest generates a "aws/request.Request" representing the 820 // client's request for the BatchGetPartition operation. The "output" return 821 // value will be populated with the request's response once the request completes 822 // successfully. 823 // 824 // Use "Send" method on the returned Request to send the API call to the service. 825 // the "output" return value is not valid until after Send returns without error. 826 // 827 // See BatchGetPartition for more information on using the BatchGetPartition 828 // API call, and error handling. 829 // 830 // This method is useful when you want to inject custom logic or configuration 831 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 832 // 833 // 834 // // Example sending a request using the BatchGetPartitionRequest method. 835 // req, resp := client.BatchGetPartitionRequest(params) 836 // 837 // err := req.Send() 838 // if err == nil { // resp is now filled 839 // fmt.Println(resp) 840 // } 841 // 842 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition 843 func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *request.Request, output *BatchGetPartitionOutput) { 844 op := &request.Operation{ 845 Name: opBatchGetPartition, 846 HTTPMethod: "POST", 847 HTTPPath: "/", 848 } 849 850 if input == nil { 851 input = &BatchGetPartitionInput{} 852 } 853 854 output = &BatchGetPartitionOutput{} 855 req = c.newRequest(op, input, output) 856 return 857 } 858 859 // BatchGetPartition API operation for AWS Glue. 860 // 861 // Retrieves partitions in a batch request. 862 // 863 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 864 // with awserr.Error's Code and Message methods to get detailed information about 865 // the error. 866 // 867 // See the AWS API reference guide for AWS Glue's 868 // API operation BatchGetPartition for usage and error information. 869 // 870 // Returned Error Types: 871 // * InvalidInputException 872 // The input provided was not valid. 873 // 874 // * EntityNotFoundException 875 // A specified entity does not exist 876 // 877 // * OperationTimeoutException 878 // The operation timed out. 879 // 880 // * InternalServiceException 881 // An internal service error occurred. 882 // 883 // * EncryptionException 884 // An encryption operation failed. 885 // 886 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition 887 func (c *Glue) BatchGetPartition(input *BatchGetPartitionInput) (*BatchGetPartitionOutput, error) { 888 req, out := c.BatchGetPartitionRequest(input) 889 return out, req.Send() 890 } 891 892 // BatchGetPartitionWithContext is the same as BatchGetPartition with the addition of 893 // the ability to pass a context and additional request options. 894 // 895 // See BatchGetPartition for details on how to use this API operation. 896 // 897 // The context must be non-nil and will be used for request cancellation. If 898 // the context is nil a panic will occur. In the future the SDK may create 899 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 900 // for more information on using Contexts. 901 func (c *Glue) BatchGetPartitionWithContext(ctx aws.Context, input *BatchGetPartitionInput, opts ...request.Option) (*BatchGetPartitionOutput, error) { 902 req, out := c.BatchGetPartitionRequest(input) 903 req.SetContext(ctx) 904 req.ApplyOptions(opts...) 905 return out, req.Send() 906 } 907 908 const opBatchGetTriggers = "BatchGetTriggers" 909 910 // BatchGetTriggersRequest generates a "aws/request.Request" representing the 911 // client's request for the BatchGetTriggers operation. The "output" return 912 // value will be populated with the request's response once the request completes 913 // successfully. 914 // 915 // Use "Send" method on the returned Request to send the API call to the service. 916 // the "output" return value is not valid until after Send returns without error. 917 // 918 // See BatchGetTriggers for more information on using the BatchGetTriggers 919 // API call, and error handling. 920 // 921 // This method is useful when you want to inject custom logic or configuration 922 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 923 // 924 // 925 // // Example sending a request using the BatchGetTriggersRequest method. 926 // req, resp := client.BatchGetTriggersRequest(params) 927 // 928 // err := req.Send() 929 // if err == nil { // resp is now filled 930 // fmt.Println(resp) 931 // } 932 // 933 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers 934 func (c *Glue) BatchGetTriggersRequest(input *BatchGetTriggersInput) (req *request.Request, output *BatchGetTriggersOutput) { 935 op := &request.Operation{ 936 Name: opBatchGetTriggers, 937 HTTPMethod: "POST", 938 HTTPPath: "/", 939 } 940 941 if input == nil { 942 input = &BatchGetTriggersInput{} 943 } 944 945 output = &BatchGetTriggersOutput{} 946 req = c.newRequest(op, input, output) 947 return 948 } 949 950 // BatchGetTriggers API operation for AWS Glue. 951 // 952 // Returns a list of resource metadata for a given list of trigger names. After 953 // calling the ListTriggers operation, you can call this operation to access 954 // the data to which you have been granted permissions. This operation supports 955 // all IAM permissions, including permission conditions that uses tags. 956 // 957 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 958 // with awserr.Error's Code and Message methods to get detailed information about 959 // the error. 960 // 961 // See the AWS API reference guide for AWS Glue's 962 // API operation BatchGetTriggers for usage and error information. 963 // 964 // Returned Error Types: 965 // * InternalServiceException 966 // An internal service error occurred. 967 // 968 // * OperationTimeoutException 969 // The operation timed out. 970 // 971 // * InvalidInputException 972 // The input provided was not valid. 973 // 974 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers 975 func (c *Glue) BatchGetTriggers(input *BatchGetTriggersInput) (*BatchGetTriggersOutput, error) { 976 req, out := c.BatchGetTriggersRequest(input) 977 return out, req.Send() 978 } 979 980 // BatchGetTriggersWithContext is the same as BatchGetTriggers with the addition of 981 // the ability to pass a context and additional request options. 982 // 983 // See BatchGetTriggers for details on how to use this API operation. 984 // 985 // The context must be non-nil and will be used for request cancellation. If 986 // the context is nil a panic will occur. In the future the SDK may create 987 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 988 // for more information on using Contexts. 989 func (c *Glue) BatchGetTriggersWithContext(ctx aws.Context, input *BatchGetTriggersInput, opts ...request.Option) (*BatchGetTriggersOutput, error) { 990 req, out := c.BatchGetTriggersRequest(input) 991 req.SetContext(ctx) 992 req.ApplyOptions(opts...) 993 return out, req.Send() 994 } 995 996 const opBatchGetWorkflows = "BatchGetWorkflows" 997 998 // BatchGetWorkflowsRequest generates a "aws/request.Request" representing the 999 // client's request for the BatchGetWorkflows operation. The "output" return 1000 // value will be populated with the request's response once the request completes 1001 // successfully. 1002 // 1003 // Use "Send" method on the returned Request to send the API call to the service. 1004 // the "output" return value is not valid until after Send returns without error. 1005 // 1006 // See BatchGetWorkflows for more information on using the BatchGetWorkflows 1007 // API call, and error handling. 1008 // 1009 // This method is useful when you want to inject custom logic or configuration 1010 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1011 // 1012 // 1013 // // Example sending a request using the BatchGetWorkflowsRequest method. 1014 // req, resp := client.BatchGetWorkflowsRequest(params) 1015 // 1016 // err := req.Send() 1017 // if err == nil { // resp is now filled 1018 // fmt.Println(resp) 1019 // } 1020 // 1021 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows 1022 func (c *Glue) BatchGetWorkflowsRequest(input *BatchGetWorkflowsInput) (req *request.Request, output *BatchGetWorkflowsOutput) { 1023 op := &request.Operation{ 1024 Name: opBatchGetWorkflows, 1025 HTTPMethod: "POST", 1026 HTTPPath: "/", 1027 } 1028 1029 if input == nil { 1030 input = &BatchGetWorkflowsInput{} 1031 } 1032 1033 output = &BatchGetWorkflowsOutput{} 1034 req = c.newRequest(op, input, output) 1035 return 1036 } 1037 1038 // BatchGetWorkflows API operation for AWS Glue. 1039 // 1040 // Returns a list of resource metadata for a given list of workflow names. After 1041 // calling the ListWorkflows operation, you can call this operation to access 1042 // the data to which you have been granted permissions. This operation supports 1043 // all IAM permissions, including permission conditions that uses tags. 1044 // 1045 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1046 // with awserr.Error's Code and Message methods to get detailed information about 1047 // the error. 1048 // 1049 // See the AWS API reference guide for AWS Glue's 1050 // API operation BatchGetWorkflows for usage and error information. 1051 // 1052 // Returned Error Types: 1053 // * InternalServiceException 1054 // An internal service error occurred. 1055 // 1056 // * OperationTimeoutException 1057 // The operation timed out. 1058 // 1059 // * InvalidInputException 1060 // The input provided was not valid. 1061 // 1062 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows 1063 func (c *Glue) BatchGetWorkflows(input *BatchGetWorkflowsInput) (*BatchGetWorkflowsOutput, error) { 1064 req, out := c.BatchGetWorkflowsRequest(input) 1065 return out, req.Send() 1066 } 1067 1068 // BatchGetWorkflowsWithContext is the same as BatchGetWorkflows with the addition of 1069 // the ability to pass a context and additional request options. 1070 // 1071 // See BatchGetWorkflows for details on how to use this API operation. 1072 // 1073 // The context must be non-nil and will be used for request cancellation. If 1074 // the context is nil a panic will occur. In the future the SDK may create 1075 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1076 // for more information on using Contexts. 1077 func (c *Glue) BatchGetWorkflowsWithContext(ctx aws.Context, input *BatchGetWorkflowsInput, opts ...request.Option) (*BatchGetWorkflowsOutput, error) { 1078 req, out := c.BatchGetWorkflowsRequest(input) 1079 req.SetContext(ctx) 1080 req.ApplyOptions(opts...) 1081 return out, req.Send() 1082 } 1083 1084 const opBatchStopJobRun = "BatchStopJobRun" 1085 1086 // BatchStopJobRunRequest generates a "aws/request.Request" representing the 1087 // client's request for the BatchStopJobRun operation. The "output" return 1088 // value will be populated with the request's response once the request completes 1089 // successfully. 1090 // 1091 // Use "Send" method on the returned Request to send the API call to the service. 1092 // the "output" return value is not valid until after Send returns without error. 1093 // 1094 // See BatchStopJobRun for more information on using the BatchStopJobRun 1095 // API call, and error handling. 1096 // 1097 // This method is useful when you want to inject custom logic or configuration 1098 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1099 // 1100 // 1101 // // Example sending a request using the BatchStopJobRunRequest method. 1102 // req, resp := client.BatchStopJobRunRequest(params) 1103 // 1104 // err := req.Send() 1105 // if err == nil { // resp is now filled 1106 // fmt.Println(resp) 1107 // } 1108 // 1109 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun 1110 func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request.Request, output *BatchStopJobRunOutput) { 1111 op := &request.Operation{ 1112 Name: opBatchStopJobRun, 1113 HTTPMethod: "POST", 1114 HTTPPath: "/", 1115 } 1116 1117 if input == nil { 1118 input = &BatchStopJobRunInput{} 1119 } 1120 1121 output = &BatchStopJobRunOutput{} 1122 req = c.newRequest(op, input, output) 1123 return 1124 } 1125 1126 // BatchStopJobRun API operation for AWS Glue. 1127 // 1128 // Stops one or more job runs for a specified job definition. 1129 // 1130 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1131 // with awserr.Error's Code and Message methods to get detailed information about 1132 // the error. 1133 // 1134 // See the AWS API reference guide for AWS Glue's 1135 // API operation BatchStopJobRun for usage and error information. 1136 // 1137 // Returned Error Types: 1138 // * InvalidInputException 1139 // The input provided was not valid. 1140 // 1141 // * InternalServiceException 1142 // An internal service error occurred. 1143 // 1144 // * OperationTimeoutException 1145 // The operation timed out. 1146 // 1147 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun 1148 func (c *Glue) BatchStopJobRun(input *BatchStopJobRunInput) (*BatchStopJobRunOutput, error) { 1149 req, out := c.BatchStopJobRunRequest(input) 1150 return out, req.Send() 1151 } 1152 1153 // BatchStopJobRunWithContext is the same as BatchStopJobRun with the addition of 1154 // the ability to pass a context and additional request options. 1155 // 1156 // See BatchStopJobRun for details on how to use this API operation. 1157 // 1158 // The context must be non-nil and will be used for request cancellation. If 1159 // the context is nil a panic will occur. In the future the SDK may create 1160 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1161 // for more information on using Contexts. 1162 func (c *Glue) BatchStopJobRunWithContext(ctx aws.Context, input *BatchStopJobRunInput, opts ...request.Option) (*BatchStopJobRunOutput, error) { 1163 req, out := c.BatchStopJobRunRequest(input) 1164 req.SetContext(ctx) 1165 req.ApplyOptions(opts...) 1166 return out, req.Send() 1167 } 1168 1169 const opBatchUpdatePartition = "BatchUpdatePartition" 1170 1171 // BatchUpdatePartitionRequest generates a "aws/request.Request" representing the 1172 // client's request for the BatchUpdatePartition operation. The "output" return 1173 // value will be populated with the request's response once the request completes 1174 // successfully. 1175 // 1176 // Use "Send" method on the returned Request to send the API call to the service. 1177 // the "output" return value is not valid until after Send returns without error. 1178 // 1179 // See BatchUpdatePartition for more information on using the BatchUpdatePartition 1180 // API call, and error handling. 1181 // 1182 // This method is useful when you want to inject custom logic or configuration 1183 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1184 // 1185 // 1186 // // Example sending a request using the BatchUpdatePartitionRequest method. 1187 // req, resp := client.BatchUpdatePartitionRequest(params) 1188 // 1189 // err := req.Send() 1190 // if err == nil { // resp is now filled 1191 // fmt.Println(resp) 1192 // } 1193 // 1194 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition 1195 func (c *Glue) BatchUpdatePartitionRequest(input *BatchUpdatePartitionInput) (req *request.Request, output *BatchUpdatePartitionOutput) { 1196 op := &request.Operation{ 1197 Name: opBatchUpdatePartition, 1198 HTTPMethod: "POST", 1199 HTTPPath: "/", 1200 } 1201 1202 if input == nil { 1203 input = &BatchUpdatePartitionInput{} 1204 } 1205 1206 output = &BatchUpdatePartitionOutput{} 1207 req = c.newRequest(op, input, output) 1208 return 1209 } 1210 1211 // BatchUpdatePartition API operation for AWS Glue. 1212 // 1213 // Updates one or more partitions in a batch operation. 1214 // 1215 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1216 // with awserr.Error's Code and Message methods to get detailed information about 1217 // the error. 1218 // 1219 // See the AWS API reference guide for AWS Glue's 1220 // API operation BatchUpdatePartition for usage and error information. 1221 // 1222 // Returned Error Types: 1223 // * InvalidInputException 1224 // The input provided was not valid. 1225 // 1226 // * EntityNotFoundException 1227 // A specified entity does not exist 1228 // 1229 // * OperationTimeoutException 1230 // The operation timed out. 1231 // 1232 // * InternalServiceException 1233 // An internal service error occurred. 1234 // 1235 // * EncryptionException 1236 // An encryption operation failed. 1237 // 1238 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition 1239 func (c *Glue) BatchUpdatePartition(input *BatchUpdatePartitionInput) (*BatchUpdatePartitionOutput, error) { 1240 req, out := c.BatchUpdatePartitionRequest(input) 1241 return out, req.Send() 1242 } 1243 1244 // BatchUpdatePartitionWithContext is the same as BatchUpdatePartition with the addition of 1245 // the ability to pass a context and additional request options. 1246 // 1247 // See BatchUpdatePartition for details on how to use this API operation. 1248 // 1249 // The context must be non-nil and will be used for request cancellation. If 1250 // the context is nil a panic will occur. In the future the SDK may create 1251 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1252 // for more information on using Contexts. 1253 func (c *Glue) BatchUpdatePartitionWithContext(ctx aws.Context, input *BatchUpdatePartitionInput, opts ...request.Option) (*BatchUpdatePartitionOutput, error) { 1254 req, out := c.BatchUpdatePartitionRequest(input) 1255 req.SetContext(ctx) 1256 req.ApplyOptions(opts...) 1257 return out, req.Send() 1258 } 1259 1260 const opCancelMLTaskRun = "CancelMLTaskRun" 1261 1262 // CancelMLTaskRunRequest generates a "aws/request.Request" representing the 1263 // client's request for the CancelMLTaskRun operation. The "output" return 1264 // value will be populated with the request's response once the request completes 1265 // successfully. 1266 // 1267 // Use "Send" method on the returned Request to send the API call to the service. 1268 // the "output" return value is not valid until after Send returns without error. 1269 // 1270 // See CancelMLTaskRun for more information on using the CancelMLTaskRun 1271 // API call, and error handling. 1272 // 1273 // This method is useful when you want to inject custom logic or configuration 1274 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1275 // 1276 // 1277 // // Example sending a request using the CancelMLTaskRunRequest method. 1278 // req, resp := client.CancelMLTaskRunRequest(params) 1279 // 1280 // err := req.Send() 1281 // if err == nil { // resp is now filled 1282 // fmt.Println(resp) 1283 // } 1284 // 1285 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun 1286 func (c *Glue) CancelMLTaskRunRequest(input *CancelMLTaskRunInput) (req *request.Request, output *CancelMLTaskRunOutput) { 1287 op := &request.Operation{ 1288 Name: opCancelMLTaskRun, 1289 HTTPMethod: "POST", 1290 HTTPPath: "/", 1291 } 1292 1293 if input == nil { 1294 input = &CancelMLTaskRunInput{} 1295 } 1296 1297 output = &CancelMLTaskRunOutput{} 1298 req = c.newRequest(op, input, output) 1299 return 1300 } 1301 1302 // CancelMLTaskRun API operation for AWS Glue. 1303 // 1304 // Cancels (stops) a task run. Machine learning task runs are asynchronous tasks 1305 // that Glue runs on your behalf as part of various machine learning workflows. 1306 // You can cancel a machine learning task run at any time by calling CancelMLTaskRun 1307 // with a task run's parent transform's TransformID and the task run's TaskRunId. 1308 // 1309 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1310 // with awserr.Error's Code and Message methods to get detailed information about 1311 // the error. 1312 // 1313 // See the AWS API reference guide for AWS Glue's 1314 // API operation CancelMLTaskRun for usage and error information. 1315 // 1316 // Returned Error Types: 1317 // * EntityNotFoundException 1318 // A specified entity does not exist 1319 // 1320 // * InvalidInputException 1321 // The input provided was not valid. 1322 // 1323 // * OperationTimeoutException 1324 // The operation timed out. 1325 // 1326 // * InternalServiceException 1327 // An internal service error occurred. 1328 // 1329 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun 1330 func (c *Glue) CancelMLTaskRun(input *CancelMLTaskRunInput) (*CancelMLTaskRunOutput, error) { 1331 req, out := c.CancelMLTaskRunRequest(input) 1332 return out, req.Send() 1333 } 1334 1335 // CancelMLTaskRunWithContext is the same as CancelMLTaskRun with the addition of 1336 // the ability to pass a context and additional request options. 1337 // 1338 // See CancelMLTaskRun for details on how to use this API operation. 1339 // 1340 // The context must be non-nil and will be used for request cancellation. If 1341 // the context is nil a panic will occur. In the future the SDK may create 1342 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1343 // for more information on using Contexts. 1344 func (c *Glue) CancelMLTaskRunWithContext(ctx aws.Context, input *CancelMLTaskRunInput, opts ...request.Option) (*CancelMLTaskRunOutput, error) { 1345 req, out := c.CancelMLTaskRunRequest(input) 1346 req.SetContext(ctx) 1347 req.ApplyOptions(opts...) 1348 return out, req.Send() 1349 } 1350 1351 const opCheckSchemaVersionValidity = "CheckSchemaVersionValidity" 1352 1353 // CheckSchemaVersionValidityRequest generates a "aws/request.Request" representing the 1354 // client's request for the CheckSchemaVersionValidity operation. The "output" return 1355 // value will be populated with the request's response once the request completes 1356 // successfully. 1357 // 1358 // Use "Send" method on the returned Request to send the API call to the service. 1359 // the "output" return value is not valid until after Send returns without error. 1360 // 1361 // See CheckSchemaVersionValidity for more information on using the CheckSchemaVersionValidity 1362 // API call, and error handling. 1363 // 1364 // This method is useful when you want to inject custom logic or configuration 1365 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1366 // 1367 // 1368 // // Example sending a request using the CheckSchemaVersionValidityRequest method. 1369 // req, resp := client.CheckSchemaVersionValidityRequest(params) 1370 // 1371 // err := req.Send() 1372 // if err == nil { // resp is now filled 1373 // fmt.Println(resp) 1374 // } 1375 // 1376 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity 1377 func (c *Glue) CheckSchemaVersionValidityRequest(input *CheckSchemaVersionValidityInput) (req *request.Request, output *CheckSchemaVersionValidityOutput) { 1378 op := &request.Operation{ 1379 Name: opCheckSchemaVersionValidity, 1380 HTTPMethod: "POST", 1381 HTTPPath: "/", 1382 } 1383 1384 if input == nil { 1385 input = &CheckSchemaVersionValidityInput{} 1386 } 1387 1388 output = &CheckSchemaVersionValidityOutput{} 1389 req = c.newRequest(op, input, output) 1390 return 1391 } 1392 1393 // CheckSchemaVersionValidity API operation for AWS Glue. 1394 // 1395 // Validates the supplied schema. This call has no side effects, it simply validates 1396 // using the supplied schema using DataFormat as the format. Since it does not 1397 // take a schema set name, no compatibility checks are performed. 1398 // 1399 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1400 // with awserr.Error's Code and Message methods to get detailed information about 1401 // the error. 1402 // 1403 // See the AWS API reference guide for AWS Glue's 1404 // API operation CheckSchemaVersionValidity for usage and error information. 1405 // 1406 // Returned Error Types: 1407 // * InvalidInputException 1408 // The input provided was not valid. 1409 // 1410 // * AccessDeniedException 1411 // Access to a resource was denied. 1412 // 1413 // * InternalServiceException 1414 // An internal service error occurred. 1415 // 1416 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity 1417 func (c *Glue) CheckSchemaVersionValidity(input *CheckSchemaVersionValidityInput) (*CheckSchemaVersionValidityOutput, error) { 1418 req, out := c.CheckSchemaVersionValidityRequest(input) 1419 return out, req.Send() 1420 } 1421 1422 // CheckSchemaVersionValidityWithContext is the same as CheckSchemaVersionValidity with the addition of 1423 // the ability to pass a context and additional request options. 1424 // 1425 // See CheckSchemaVersionValidity for details on how to use this API operation. 1426 // 1427 // The context must be non-nil and will be used for request cancellation. If 1428 // the context is nil a panic will occur. In the future the SDK may create 1429 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1430 // for more information on using Contexts. 1431 func (c *Glue) CheckSchemaVersionValidityWithContext(ctx aws.Context, input *CheckSchemaVersionValidityInput, opts ...request.Option) (*CheckSchemaVersionValidityOutput, error) { 1432 req, out := c.CheckSchemaVersionValidityRequest(input) 1433 req.SetContext(ctx) 1434 req.ApplyOptions(opts...) 1435 return out, req.Send() 1436 } 1437 1438 const opCreateBlueprint = "CreateBlueprint" 1439 1440 // CreateBlueprintRequest generates a "aws/request.Request" representing the 1441 // client's request for the CreateBlueprint operation. The "output" return 1442 // value will be populated with the request's response once the request completes 1443 // successfully. 1444 // 1445 // Use "Send" method on the returned Request to send the API call to the service. 1446 // the "output" return value is not valid until after Send returns without error. 1447 // 1448 // See CreateBlueprint for more information on using the CreateBlueprint 1449 // API call, and error handling. 1450 // 1451 // This method is useful when you want to inject custom logic or configuration 1452 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1453 // 1454 // 1455 // // Example sending a request using the CreateBlueprintRequest method. 1456 // req, resp := client.CreateBlueprintRequest(params) 1457 // 1458 // err := req.Send() 1459 // if err == nil { // resp is now filled 1460 // fmt.Println(resp) 1461 // } 1462 // 1463 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateBlueprint 1464 func (c *Glue) CreateBlueprintRequest(input *CreateBlueprintInput) (req *request.Request, output *CreateBlueprintOutput) { 1465 op := &request.Operation{ 1466 Name: opCreateBlueprint, 1467 HTTPMethod: "POST", 1468 HTTPPath: "/", 1469 } 1470 1471 if input == nil { 1472 input = &CreateBlueprintInput{} 1473 } 1474 1475 output = &CreateBlueprintOutput{} 1476 req = c.newRequest(op, input, output) 1477 return 1478 } 1479 1480 // CreateBlueprint API operation for AWS Glue. 1481 // 1482 // Registers a blueprint with Glue. 1483 // 1484 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1485 // with awserr.Error's Code and Message methods to get detailed information about 1486 // the error. 1487 // 1488 // See the AWS API reference guide for AWS Glue's 1489 // API operation CreateBlueprint for usage and error information. 1490 // 1491 // Returned Error Types: 1492 // * AlreadyExistsException 1493 // A resource to be created or added already exists. 1494 // 1495 // * InvalidInputException 1496 // The input provided was not valid. 1497 // 1498 // * OperationTimeoutException 1499 // The operation timed out. 1500 // 1501 // * InternalServiceException 1502 // An internal service error occurred. 1503 // 1504 // * ResourceNumberLimitExceededException 1505 // A resource numerical limit was exceeded. 1506 // 1507 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateBlueprint 1508 func (c *Glue) CreateBlueprint(input *CreateBlueprintInput) (*CreateBlueprintOutput, error) { 1509 req, out := c.CreateBlueprintRequest(input) 1510 return out, req.Send() 1511 } 1512 1513 // CreateBlueprintWithContext is the same as CreateBlueprint with the addition of 1514 // the ability to pass a context and additional request options. 1515 // 1516 // See CreateBlueprint for details on how to use this API operation. 1517 // 1518 // The context must be non-nil and will be used for request cancellation. If 1519 // the context is nil a panic will occur. In the future the SDK may create 1520 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1521 // for more information on using Contexts. 1522 func (c *Glue) CreateBlueprintWithContext(ctx aws.Context, input *CreateBlueprintInput, opts ...request.Option) (*CreateBlueprintOutput, error) { 1523 req, out := c.CreateBlueprintRequest(input) 1524 req.SetContext(ctx) 1525 req.ApplyOptions(opts...) 1526 return out, req.Send() 1527 } 1528 1529 const opCreateClassifier = "CreateClassifier" 1530 1531 // CreateClassifierRequest generates a "aws/request.Request" representing the 1532 // client's request for the CreateClassifier operation. The "output" return 1533 // value will be populated with the request's response once the request completes 1534 // successfully. 1535 // 1536 // Use "Send" method on the returned Request to send the API call to the service. 1537 // the "output" return value is not valid until after Send returns without error. 1538 // 1539 // See CreateClassifier for more information on using the CreateClassifier 1540 // API call, and error handling. 1541 // 1542 // This method is useful when you want to inject custom logic or configuration 1543 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1544 // 1545 // 1546 // // Example sending a request using the CreateClassifierRequest method. 1547 // req, resp := client.CreateClassifierRequest(params) 1548 // 1549 // err := req.Send() 1550 // if err == nil { // resp is now filled 1551 // fmt.Println(resp) 1552 // } 1553 // 1554 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier 1555 func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *request.Request, output *CreateClassifierOutput) { 1556 op := &request.Operation{ 1557 Name: opCreateClassifier, 1558 HTTPMethod: "POST", 1559 HTTPPath: "/", 1560 } 1561 1562 if input == nil { 1563 input = &CreateClassifierInput{} 1564 } 1565 1566 output = &CreateClassifierOutput{} 1567 req = c.newRequest(op, input, output) 1568 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1569 return 1570 } 1571 1572 // CreateClassifier API operation for AWS Glue. 1573 // 1574 // Creates a classifier in the user's account. This can be a GrokClassifier, 1575 // an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which 1576 // field of the request is present. 1577 // 1578 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1579 // with awserr.Error's Code and Message methods to get detailed information about 1580 // the error. 1581 // 1582 // See the AWS API reference guide for AWS Glue's 1583 // API operation CreateClassifier for usage and error information. 1584 // 1585 // Returned Error Types: 1586 // * AlreadyExistsException 1587 // A resource to be created or added already exists. 1588 // 1589 // * InvalidInputException 1590 // The input provided was not valid. 1591 // 1592 // * OperationTimeoutException 1593 // The operation timed out. 1594 // 1595 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier 1596 func (c *Glue) CreateClassifier(input *CreateClassifierInput) (*CreateClassifierOutput, error) { 1597 req, out := c.CreateClassifierRequest(input) 1598 return out, req.Send() 1599 } 1600 1601 // CreateClassifierWithContext is the same as CreateClassifier with the addition of 1602 // the ability to pass a context and additional request options. 1603 // 1604 // See CreateClassifier for details on how to use this API operation. 1605 // 1606 // The context must be non-nil and will be used for request cancellation. If 1607 // the context is nil a panic will occur. In the future the SDK may create 1608 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1609 // for more information on using Contexts. 1610 func (c *Glue) CreateClassifierWithContext(ctx aws.Context, input *CreateClassifierInput, opts ...request.Option) (*CreateClassifierOutput, error) { 1611 req, out := c.CreateClassifierRequest(input) 1612 req.SetContext(ctx) 1613 req.ApplyOptions(opts...) 1614 return out, req.Send() 1615 } 1616 1617 const opCreateConnection = "CreateConnection" 1618 1619 // CreateConnectionRequest generates a "aws/request.Request" representing the 1620 // client's request for the CreateConnection operation. The "output" return 1621 // value will be populated with the request's response once the request completes 1622 // successfully. 1623 // 1624 // Use "Send" method on the returned Request to send the API call to the service. 1625 // the "output" return value is not valid until after Send returns without error. 1626 // 1627 // See CreateConnection for more information on using the CreateConnection 1628 // API call, and error handling. 1629 // 1630 // This method is useful when you want to inject custom logic or configuration 1631 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1632 // 1633 // 1634 // // Example sending a request using the CreateConnectionRequest method. 1635 // req, resp := client.CreateConnectionRequest(params) 1636 // 1637 // err := req.Send() 1638 // if err == nil { // resp is now filled 1639 // fmt.Println(resp) 1640 // } 1641 // 1642 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection 1643 func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { 1644 op := &request.Operation{ 1645 Name: opCreateConnection, 1646 HTTPMethod: "POST", 1647 HTTPPath: "/", 1648 } 1649 1650 if input == nil { 1651 input = &CreateConnectionInput{} 1652 } 1653 1654 output = &CreateConnectionOutput{} 1655 req = c.newRequest(op, input, output) 1656 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1657 return 1658 } 1659 1660 // CreateConnection API operation for AWS Glue. 1661 // 1662 // Creates a connection definition in the Data Catalog. 1663 // 1664 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1665 // with awserr.Error's Code and Message methods to get detailed information about 1666 // the error. 1667 // 1668 // See the AWS API reference guide for AWS Glue's 1669 // API operation CreateConnection for usage and error information. 1670 // 1671 // Returned Error Types: 1672 // * AlreadyExistsException 1673 // A resource to be created or added already exists. 1674 // 1675 // * InvalidInputException 1676 // The input provided was not valid. 1677 // 1678 // * OperationTimeoutException 1679 // The operation timed out. 1680 // 1681 // * ResourceNumberLimitExceededException 1682 // A resource numerical limit was exceeded. 1683 // 1684 // * EncryptionException 1685 // An encryption operation failed. 1686 // 1687 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection 1688 func (c *Glue) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { 1689 req, out := c.CreateConnectionRequest(input) 1690 return out, req.Send() 1691 } 1692 1693 // CreateConnectionWithContext is the same as CreateConnection with the addition of 1694 // the ability to pass a context and additional request options. 1695 // 1696 // See CreateConnection for details on how to use this API operation. 1697 // 1698 // The context must be non-nil and will be used for request cancellation. If 1699 // the context is nil a panic will occur. In the future the SDK may create 1700 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1701 // for more information on using Contexts. 1702 func (c *Glue) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*CreateConnectionOutput, error) { 1703 req, out := c.CreateConnectionRequest(input) 1704 req.SetContext(ctx) 1705 req.ApplyOptions(opts...) 1706 return out, req.Send() 1707 } 1708 1709 const opCreateCrawler = "CreateCrawler" 1710 1711 // CreateCrawlerRequest generates a "aws/request.Request" representing the 1712 // client's request for the CreateCrawler operation. The "output" return 1713 // value will be populated with the request's response once the request completes 1714 // successfully. 1715 // 1716 // Use "Send" method on the returned Request to send the API call to the service. 1717 // the "output" return value is not valid until after Send returns without error. 1718 // 1719 // See CreateCrawler for more information on using the CreateCrawler 1720 // API call, and error handling. 1721 // 1722 // This method is useful when you want to inject custom logic or configuration 1723 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1724 // 1725 // 1726 // // Example sending a request using the CreateCrawlerRequest method. 1727 // req, resp := client.CreateCrawlerRequest(params) 1728 // 1729 // err := req.Send() 1730 // if err == nil { // resp is now filled 1731 // fmt.Println(resp) 1732 // } 1733 // 1734 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler 1735 func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Request, output *CreateCrawlerOutput) { 1736 op := &request.Operation{ 1737 Name: opCreateCrawler, 1738 HTTPMethod: "POST", 1739 HTTPPath: "/", 1740 } 1741 1742 if input == nil { 1743 input = &CreateCrawlerInput{} 1744 } 1745 1746 output = &CreateCrawlerOutput{} 1747 req = c.newRequest(op, input, output) 1748 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1749 return 1750 } 1751 1752 // CreateCrawler API operation for AWS Glue. 1753 // 1754 // Creates a new crawler with specified targets, role, configuration, and optional 1755 // schedule. At least one crawl target must be specified, in the s3Targets field, 1756 // the jdbcTargets field, or the DynamoDBTargets field. 1757 // 1758 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1759 // with awserr.Error's Code and Message methods to get detailed information about 1760 // the error. 1761 // 1762 // See the AWS API reference guide for AWS Glue's 1763 // API operation CreateCrawler for usage and error information. 1764 // 1765 // Returned Error Types: 1766 // * InvalidInputException 1767 // The input provided was not valid. 1768 // 1769 // * AlreadyExistsException 1770 // A resource to be created or added already exists. 1771 // 1772 // * OperationTimeoutException 1773 // The operation timed out. 1774 // 1775 // * ResourceNumberLimitExceededException 1776 // A resource numerical limit was exceeded. 1777 // 1778 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler 1779 func (c *Glue) CreateCrawler(input *CreateCrawlerInput) (*CreateCrawlerOutput, error) { 1780 req, out := c.CreateCrawlerRequest(input) 1781 return out, req.Send() 1782 } 1783 1784 // CreateCrawlerWithContext is the same as CreateCrawler with the addition of 1785 // the ability to pass a context and additional request options. 1786 // 1787 // See CreateCrawler for details on how to use this API operation. 1788 // 1789 // The context must be non-nil and will be used for request cancellation. If 1790 // the context is nil a panic will occur. In the future the SDK may create 1791 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1792 // for more information on using Contexts. 1793 func (c *Glue) CreateCrawlerWithContext(ctx aws.Context, input *CreateCrawlerInput, opts ...request.Option) (*CreateCrawlerOutput, error) { 1794 req, out := c.CreateCrawlerRequest(input) 1795 req.SetContext(ctx) 1796 req.ApplyOptions(opts...) 1797 return out, req.Send() 1798 } 1799 1800 const opCreateDatabase = "CreateDatabase" 1801 1802 // CreateDatabaseRequest generates a "aws/request.Request" representing the 1803 // client's request for the CreateDatabase operation. The "output" return 1804 // value will be populated with the request's response once the request completes 1805 // successfully. 1806 // 1807 // Use "Send" method on the returned Request to send the API call to the service. 1808 // the "output" return value is not valid until after Send returns without error. 1809 // 1810 // See CreateDatabase for more information on using the CreateDatabase 1811 // API call, and error handling. 1812 // 1813 // This method is useful when you want to inject custom logic or configuration 1814 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1815 // 1816 // 1817 // // Example sending a request using the CreateDatabaseRequest method. 1818 // req, resp := client.CreateDatabaseRequest(params) 1819 // 1820 // err := req.Send() 1821 // if err == nil { // resp is now filled 1822 // fmt.Println(resp) 1823 // } 1824 // 1825 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase 1826 func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) { 1827 op := &request.Operation{ 1828 Name: opCreateDatabase, 1829 HTTPMethod: "POST", 1830 HTTPPath: "/", 1831 } 1832 1833 if input == nil { 1834 input = &CreateDatabaseInput{} 1835 } 1836 1837 output = &CreateDatabaseOutput{} 1838 req = c.newRequest(op, input, output) 1839 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1840 return 1841 } 1842 1843 // CreateDatabase API operation for AWS Glue. 1844 // 1845 // Creates a new database in a Data Catalog. 1846 // 1847 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1848 // with awserr.Error's Code and Message methods to get detailed information about 1849 // the error. 1850 // 1851 // See the AWS API reference guide for AWS Glue's 1852 // API operation CreateDatabase for usage and error information. 1853 // 1854 // Returned Error Types: 1855 // * InvalidInputException 1856 // The input provided was not valid. 1857 // 1858 // * AlreadyExistsException 1859 // A resource to be created or added already exists. 1860 // 1861 // * ResourceNumberLimitExceededException 1862 // A resource numerical limit was exceeded. 1863 // 1864 // * InternalServiceException 1865 // An internal service error occurred. 1866 // 1867 // * OperationTimeoutException 1868 // The operation timed out. 1869 // 1870 // * EncryptionException 1871 // An encryption operation failed. 1872 // 1873 // * ConcurrentModificationException 1874 // Two processes are trying to modify a resource simultaneously. 1875 // 1876 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase 1877 func (c *Glue) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) { 1878 req, out := c.CreateDatabaseRequest(input) 1879 return out, req.Send() 1880 } 1881 1882 // CreateDatabaseWithContext is the same as CreateDatabase with the addition of 1883 // the ability to pass a context and additional request options. 1884 // 1885 // See CreateDatabase for details on how to use this API operation. 1886 // 1887 // The context must be non-nil and will be used for request cancellation. If 1888 // the context is nil a panic will occur. In the future the SDK may create 1889 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1890 // for more information on using Contexts. 1891 func (c *Glue) CreateDatabaseWithContext(ctx aws.Context, input *CreateDatabaseInput, opts ...request.Option) (*CreateDatabaseOutput, error) { 1892 req, out := c.CreateDatabaseRequest(input) 1893 req.SetContext(ctx) 1894 req.ApplyOptions(opts...) 1895 return out, req.Send() 1896 } 1897 1898 const opCreateDevEndpoint = "CreateDevEndpoint" 1899 1900 // CreateDevEndpointRequest generates a "aws/request.Request" representing the 1901 // client's request for the CreateDevEndpoint operation. The "output" return 1902 // value will be populated with the request's response once the request completes 1903 // successfully. 1904 // 1905 // Use "Send" method on the returned Request to send the API call to the service. 1906 // the "output" return value is not valid until after Send returns without error. 1907 // 1908 // See CreateDevEndpoint for more information on using the CreateDevEndpoint 1909 // API call, and error handling. 1910 // 1911 // This method is useful when you want to inject custom logic or configuration 1912 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1913 // 1914 // 1915 // // Example sending a request using the CreateDevEndpointRequest method. 1916 // req, resp := client.CreateDevEndpointRequest(params) 1917 // 1918 // err := req.Send() 1919 // if err == nil { // resp is now filled 1920 // fmt.Println(resp) 1921 // } 1922 // 1923 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint 1924 func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *request.Request, output *CreateDevEndpointOutput) { 1925 op := &request.Operation{ 1926 Name: opCreateDevEndpoint, 1927 HTTPMethod: "POST", 1928 HTTPPath: "/", 1929 } 1930 1931 if input == nil { 1932 input = &CreateDevEndpointInput{} 1933 } 1934 1935 output = &CreateDevEndpointOutput{} 1936 req = c.newRequest(op, input, output) 1937 return 1938 } 1939 1940 // CreateDevEndpoint API operation for AWS Glue. 1941 // 1942 // Creates a new development endpoint. 1943 // 1944 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1945 // with awserr.Error's Code and Message methods to get detailed information about 1946 // the error. 1947 // 1948 // See the AWS API reference guide for AWS Glue's 1949 // API operation CreateDevEndpoint for usage and error information. 1950 // 1951 // Returned Error Types: 1952 // * AccessDeniedException 1953 // Access to a resource was denied. 1954 // 1955 // * AlreadyExistsException 1956 // A resource to be created or added already exists. 1957 // 1958 // * IdempotentParameterMismatchException 1959 // The same unique identifier was associated with two different records. 1960 // 1961 // * InternalServiceException 1962 // An internal service error occurred. 1963 // 1964 // * OperationTimeoutException 1965 // The operation timed out. 1966 // 1967 // * InvalidInputException 1968 // The input provided was not valid. 1969 // 1970 // * ValidationException 1971 // A value could not be validated. 1972 // 1973 // * ResourceNumberLimitExceededException 1974 // A resource numerical limit was exceeded. 1975 // 1976 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint 1977 func (c *Glue) CreateDevEndpoint(input *CreateDevEndpointInput) (*CreateDevEndpointOutput, error) { 1978 req, out := c.CreateDevEndpointRequest(input) 1979 return out, req.Send() 1980 } 1981 1982 // CreateDevEndpointWithContext is the same as CreateDevEndpoint with the addition of 1983 // the ability to pass a context and additional request options. 1984 // 1985 // See CreateDevEndpoint for details on how to use this API operation. 1986 // 1987 // The context must be non-nil and will be used for request cancellation. If 1988 // the context is nil a panic will occur. In the future the SDK may create 1989 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1990 // for more information on using Contexts. 1991 func (c *Glue) CreateDevEndpointWithContext(ctx aws.Context, input *CreateDevEndpointInput, opts ...request.Option) (*CreateDevEndpointOutput, error) { 1992 req, out := c.CreateDevEndpointRequest(input) 1993 req.SetContext(ctx) 1994 req.ApplyOptions(opts...) 1995 return out, req.Send() 1996 } 1997 1998 const opCreateJob = "CreateJob" 1999 2000 // CreateJobRequest generates a "aws/request.Request" representing the 2001 // client's request for the CreateJob operation. The "output" return 2002 // value will be populated with the request's response once the request completes 2003 // successfully. 2004 // 2005 // Use "Send" method on the returned Request to send the API call to the service. 2006 // the "output" return value is not valid until after Send returns without error. 2007 // 2008 // See CreateJob for more information on using the CreateJob 2009 // API call, and error handling. 2010 // 2011 // This method is useful when you want to inject custom logic or configuration 2012 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2013 // 2014 // 2015 // // Example sending a request using the CreateJobRequest method. 2016 // req, resp := client.CreateJobRequest(params) 2017 // 2018 // err := req.Send() 2019 // if err == nil { // resp is now filled 2020 // fmt.Println(resp) 2021 // } 2022 // 2023 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob 2024 func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { 2025 op := &request.Operation{ 2026 Name: opCreateJob, 2027 HTTPMethod: "POST", 2028 HTTPPath: "/", 2029 } 2030 2031 if input == nil { 2032 input = &CreateJobInput{} 2033 } 2034 2035 output = &CreateJobOutput{} 2036 req = c.newRequest(op, input, output) 2037 return 2038 } 2039 2040 // CreateJob API operation for AWS Glue. 2041 // 2042 // Creates a new job definition. 2043 // 2044 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2045 // with awserr.Error's Code and Message methods to get detailed information about 2046 // the error. 2047 // 2048 // See the AWS API reference guide for AWS Glue's 2049 // API operation CreateJob for usage and error information. 2050 // 2051 // Returned Error Types: 2052 // * InvalidInputException 2053 // The input provided was not valid. 2054 // 2055 // * IdempotentParameterMismatchException 2056 // The same unique identifier was associated with two different records. 2057 // 2058 // * AlreadyExistsException 2059 // A resource to be created or added already exists. 2060 // 2061 // * InternalServiceException 2062 // An internal service error occurred. 2063 // 2064 // * OperationTimeoutException 2065 // The operation timed out. 2066 // 2067 // * ResourceNumberLimitExceededException 2068 // A resource numerical limit was exceeded. 2069 // 2070 // * ConcurrentModificationException 2071 // Two processes are trying to modify a resource simultaneously. 2072 // 2073 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob 2074 func (c *Glue) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { 2075 req, out := c.CreateJobRequest(input) 2076 return out, req.Send() 2077 } 2078 2079 // CreateJobWithContext is the same as CreateJob with the addition of 2080 // the ability to pass a context and additional request options. 2081 // 2082 // See CreateJob for details on how to use this API operation. 2083 // 2084 // The context must be non-nil and will be used for request cancellation. If 2085 // the context is nil a panic will occur. In the future the SDK may create 2086 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2087 // for more information on using Contexts. 2088 func (c *Glue) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error) { 2089 req, out := c.CreateJobRequest(input) 2090 req.SetContext(ctx) 2091 req.ApplyOptions(opts...) 2092 return out, req.Send() 2093 } 2094 2095 const opCreateMLTransform = "CreateMLTransform" 2096 2097 // CreateMLTransformRequest generates a "aws/request.Request" representing the 2098 // client's request for the CreateMLTransform operation. The "output" return 2099 // value will be populated with the request's response once the request completes 2100 // successfully. 2101 // 2102 // Use "Send" method on the returned Request to send the API call to the service. 2103 // the "output" return value is not valid until after Send returns without error. 2104 // 2105 // See CreateMLTransform for more information on using the CreateMLTransform 2106 // API call, and error handling. 2107 // 2108 // This method is useful when you want to inject custom logic or configuration 2109 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2110 // 2111 // 2112 // // Example sending a request using the CreateMLTransformRequest method. 2113 // req, resp := client.CreateMLTransformRequest(params) 2114 // 2115 // err := req.Send() 2116 // if err == nil { // resp is now filled 2117 // fmt.Println(resp) 2118 // } 2119 // 2120 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform 2121 func (c *Glue) CreateMLTransformRequest(input *CreateMLTransformInput) (req *request.Request, output *CreateMLTransformOutput) { 2122 op := &request.Operation{ 2123 Name: opCreateMLTransform, 2124 HTTPMethod: "POST", 2125 HTTPPath: "/", 2126 } 2127 2128 if input == nil { 2129 input = &CreateMLTransformInput{} 2130 } 2131 2132 output = &CreateMLTransformOutput{} 2133 req = c.newRequest(op, input, output) 2134 return 2135 } 2136 2137 // CreateMLTransform API operation for AWS Glue. 2138 // 2139 // Creates an Glue machine learning transform. This operation creates the transform 2140 // and all the necessary parameters to train it. 2141 // 2142 // Call this operation as the first step in the process of using a machine learning 2143 // transform (such as the FindMatches transform) for deduplicating data. You 2144 // can provide an optional Description, in addition to the parameters that you 2145 // want to use for your algorithm. 2146 // 2147 // You must also specify certain parameters for the tasks that Glue runs on 2148 // your behalf as part of learning from your data and creating a high-quality 2149 // machine learning transform. These parameters include Role, and optionally, 2150 // AllocatedCapacity, Timeout, and MaxRetries. For more information, see Jobs 2151 // (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html). 2152 // 2153 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2154 // with awserr.Error's Code and Message methods to get detailed information about 2155 // the error. 2156 // 2157 // See the AWS API reference guide for AWS Glue's 2158 // API operation CreateMLTransform for usage and error information. 2159 // 2160 // Returned Error Types: 2161 // * AlreadyExistsException 2162 // A resource to be created or added already exists. 2163 // 2164 // * InvalidInputException 2165 // The input provided was not valid. 2166 // 2167 // * OperationTimeoutException 2168 // The operation timed out. 2169 // 2170 // * InternalServiceException 2171 // An internal service error occurred. 2172 // 2173 // * AccessDeniedException 2174 // Access to a resource was denied. 2175 // 2176 // * ResourceNumberLimitExceededException 2177 // A resource numerical limit was exceeded. 2178 // 2179 // * IdempotentParameterMismatchException 2180 // The same unique identifier was associated with two different records. 2181 // 2182 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform 2183 func (c *Glue) CreateMLTransform(input *CreateMLTransformInput) (*CreateMLTransformOutput, error) { 2184 req, out := c.CreateMLTransformRequest(input) 2185 return out, req.Send() 2186 } 2187 2188 // CreateMLTransformWithContext is the same as CreateMLTransform with the addition of 2189 // the ability to pass a context and additional request options. 2190 // 2191 // See CreateMLTransform for details on how to use this API operation. 2192 // 2193 // The context must be non-nil and will be used for request cancellation. If 2194 // the context is nil a panic will occur. In the future the SDK may create 2195 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2196 // for more information on using Contexts. 2197 func (c *Glue) CreateMLTransformWithContext(ctx aws.Context, input *CreateMLTransformInput, opts ...request.Option) (*CreateMLTransformOutput, error) { 2198 req, out := c.CreateMLTransformRequest(input) 2199 req.SetContext(ctx) 2200 req.ApplyOptions(opts...) 2201 return out, req.Send() 2202 } 2203 2204 const opCreatePartition = "CreatePartition" 2205 2206 // CreatePartitionRequest generates a "aws/request.Request" representing the 2207 // client's request for the CreatePartition operation. The "output" return 2208 // value will be populated with the request's response once the request completes 2209 // successfully. 2210 // 2211 // Use "Send" method on the returned Request to send the API call to the service. 2212 // the "output" return value is not valid until after Send returns without error. 2213 // 2214 // See CreatePartition for more information on using the CreatePartition 2215 // API call, and error handling. 2216 // 2217 // This method is useful when you want to inject custom logic or configuration 2218 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2219 // 2220 // 2221 // // Example sending a request using the CreatePartitionRequest method. 2222 // req, resp := client.CreatePartitionRequest(params) 2223 // 2224 // err := req.Send() 2225 // if err == nil { // resp is now filled 2226 // fmt.Println(resp) 2227 // } 2228 // 2229 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition 2230 func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request.Request, output *CreatePartitionOutput) { 2231 op := &request.Operation{ 2232 Name: opCreatePartition, 2233 HTTPMethod: "POST", 2234 HTTPPath: "/", 2235 } 2236 2237 if input == nil { 2238 input = &CreatePartitionInput{} 2239 } 2240 2241 output = &CreatePartitionOutput{} 2242 req = c.newRequest(op, input, output) 2243 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 2244 return 2245 } 2246 2247 // CreatePartition API operation for AWS Glue. 2248 // 2249 // Creates a new partition. 2250 // 2251 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2252 // with awserr.Error's Code and Message methods to get detailed information about 2253 // the error. 2254 // 2255 // See the AWS API reference guide for AWS Glue's 2256 // API operation CreatePartition for usage and error information. 2257 // 2258 // Returned Error Types: 2259 // * InvalidInputException 2260 // The input provided was not valid. 2261 // 2262 // * AlreadyExistsException 2263 // A resource to be created or added already exists. 2264 // 2265 // * ResourceNumberLimitExceededException 2266 // A resource numerical limit was exceeded. 2267 // 2268 // * InternalServiceException 2269 // An internal service error occurred. 2270 // 2271 // * EntityNotFoundException 2272 // A specified entity does not exist 2273 // 2274 // * OperationTimeoutException 2275 // The operation timed out. 2276 // 2277 // * EncryptionException 2278 // An encryption operation failed. 2279 // 2280 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition 2281 func (c *Glue) CreatePartition(input *CreatePartitionInput) (*CreatePartitionOutput, error) { 2282 req, out := c.CreatePartitionRequest(input) 2283 return out, req.Send() 2284 } 2285 2286 // CreatePartitionWithContext is the same as CreatePartition with the addition of 2287 // the ability to pass a context and additional request options. 2288 // 2289 // See CreatePartition for details on how to use this API operation. 2290 // 2291 // The context must be non-nil and will be used for request cancellation. If 2292 // the context is nil a panic will occur. In the future the SDK may create 2293 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2294 // for more information on using Contexts. 2295 func (c *Glue) CreatePartitionWithContext(ctx aws.Context, input *CreatePartitionInput, opts ...request.Option) (*CreatePartitionOutput, error) { 2296 req, out := c.CreatePartitionRequest(input) 2297 req.SetContext(ctx) 2298 req.ApplyOptions(opts...) 2299 return out, req.Send() 2300 } 2301 2302 const opCreatePartitionIndex = "CreatePartitionIndex" 2303 2304 // CreatePartitionIndexRequest generates a "aws/request.Request" representing the 2305 // client's request for the CreatePartitionIndex operation. The "output" return 2306 // value will be populated with the request's response once the request completes 2307 // successfully. 2308 // 2309 // Use "Send" method on the returned Request to send the API call to the service. 2310 // the "output" return value is not valid until after Send returns without error. 2311 // 2312 // See CreatePartitionIndex for more information on using the CreatePartitionIndex 2313 // API call, and error handling. 2314 // 2315 // This method is useful when you want to inject custom logic or configuration 2316 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2317 // 2318 // 2319 // // Example sending a request using the CreatePartitionIndexRequest method. 2320 // req, resp := client.CreatePartitionIndexRequest(params) 2321 // 2322 // err := req.Send() 2323 // if err == nil { // resp is now filled 2324 // fmt.Println(resp) 2325 // } 2326 // 2327 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex 2328 func (c *Glue) CreatePartitionIndexRequest(input *CreatePartitionIndexInput) (req *request.Request, output *CreatePartitionIndexOutput) { 2329 op := &request.Operation{ 2330 Name: opCreatePartitionIndex, 2331 HTTPMethod: "POST", 2332 HTTPPath: "/", 2333 } 2334 2335 if input == nil { 2336 input = &CreatePartitionIndexInput{} 2337 } 2338 2339 output = &CreatePartitionIndexOutput{} 2340 req = c.newRequest(op, input, output) 2341 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 2342 return 2343 } 2344 2345 // CreatePartitionIndex API operation for AWS Glue. 2346 // 2347 // Creates a specified partition index in an existing table. 2348 // 2349 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2350 // with awserr.Error's Code and Message methods to get detailed information about 2351 // the error. 2352 // 2353 // See the AWS API reference guide for AWS Glue's 2354 // API operation CreatePartitionIndex for usage and error information. 2355 // 2356 // Returned Error Types: 2357 // * AlreadyExistsException 2358 // A resource to be created or added already exists. 2359 // 2360 // * InvalidInputException 2361 // The input provided was not valid. 2362 // 2363 // * EntityNotFoundException 2364 // A specified entity does not exist 2365 // 2366 // * ResourceNumberLimitExceededException 2367 // A resource numerical limit was exceeded. 2368 // 2369 // * InternalServiceException 2370 // An internal service error occurred. 2371 // 2372 // * OperationTimeoutException 2373 // The operation timed out. 2374 // 2375 // * EncryptionException 2376 // An encryption operation failed. 2377 // 2378 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex 2379 func (c *Glue) CreatePartitionIndex(input *CreatePartitionIndexInput) (*CreatePartitionIndexOutput, error) { 2380 req, out := c.CreatePartitionIndexRequest(input) 2381 return out, req.Send() 2382 } 2383 2384 // CreatePartitionIndexWithContext is the same as CreatePartitionIndex with the addition of 2385 // the ability to pass a context and additional request options. 2386 // 2387 // See CreatePartitionIndex for details on how to use this API operation. 2388 // 2389 // The context must be non-nil and will be used for request cancellation. If 2390 // the context is nil a panic will occur. In the future the SDK may create 2391 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2392 // for more information on using Contexts. 2393 func (c *Glue) CreatePartitionIndexWithContext(ctx aws.Context, input *CreatePartitionIndexInput, opts ...request.Option) (*CreatePartitionIndexOutput, error) { 2394 req, out := c.CreatePartitionIndexRequest(input) 2395 req.SetContext(ctx) 2396 req.ApplyOptions(opts...) 2397 return out, req.Send() 2398 } 2399 2400 const opCreateRegistry = "CreateRegistry" 2401 2402 // CreateRegistryRequest generates a "aws/request.Request" representing the 2403 // client's request for the CreateRegistry operation. The "output" return 2404 // value will be populated with the request's response once the request completes 2405 // successfully. 2406 // 2407 // Use "Send" method on the returned Request to send the API call to the service. 2408 // the "output" return value is not valid until after Send returns without error. 2409 // 2410 // See CreateRegistry for more information on using the CreateRegistry 2411 // API call, and error handling. 2412 // 2413 // This method is useful when you want to inject custom logic or configuration 2414 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2415 // 2416 // 2417 // // Example sending a request using the CreateRegistryRequest method. 2418 // req, resp := client.CreateRegistryRequest(params) 2419 // 2420 // err := req.Send() 2421 // if err == nil { // resp is now filled 2422 // fmt.Println(resp) 2423 // } 2424 // 2425 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry 2426 func (c *Glue) CreateRegistryRequest(input *CreateRegistryInput) (req *request.Request, output *CreateRegistryOutput) { 2427 op := &request.Operation{ 2428 Name: opCreateRegistry, 2429 HTTPMethod: "POST", 2430 HTTPPath: "/", 2431 } 2432 2433 if input == nil { 2434 input = &CreateRegistryInput{} 2435 } 2436 2437 output = &CreateRegistryOutput{} 2438 req = c.newRequest(op, input, output) 2439 return 2440 } 2441 2442 // CreateRegistry API operation for AWS Glue. 2443 // 2444 // Creates a new registry which may be used to hold a collection of schemas. 2445 // 2446 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2447 // with awserr.Error's Code and Message methods to get detailed information about 2448 // the error. 2449 // 2450 // See the AWS API reference guide for AWS Glue's 2451 // API operation CreateRegistry for usage and error information. 2452 // 2453 // Returned Error Types: 2454 // * InvalidInputException 2455 // The input provided was not valid. 2456 // 2457 // * AccessDeniedException 2458 // Access to a resource was denied. 2459 // 2460 // * AlreadyExistsException 2461 // A resource to be created or added already exists. 2462 // 2463 // * ResourceNumberLimitExceededException 2464 // A resource numerical limit was exceeded. 2465 // 2466 // * InternalServiceException 2467 // An internal service error occurred. 2468 // 2469 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry 2470 func (c *Glue) CreateRegistry(input *CreateRegistryInput) (*CreateRegistryOutput, error) { 2471 req, out := c.CreateRegistryRequest(input) 2472 return out, req.Send() 2473 } 2474 2475 // CreateRegistryWithContext is the same as CreateRegistry with the addition of 2476 // the ability to pass a context and additional request options. 2477 // 2478 // See CreateRegistry for details on how to use this API operation. 2479 // 2480 // The context must be non-nil and will be used for request cancellation. If 2481 // the context is nil a panic will occur. In the future the SDK may create 2482 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2483 // for more information on using Contexts. 2484 func (c *Glue) CreateRegistryWithContext(ctx aws.Context, input *CreateRegistryInput, opts ...request.Option) (*CreateRegistryOutput, error) { 2485 req, out := c.CreateRegistryRequest(input) 2486 req.SetContext(ctx) 2487 req.ApplyOptions(opts...) 2488 return out, req.Send() 2489 } 2490 2491 const opCreateSchema = "CreateSchema" 2492 2493 // CreateSchemaRequest generates a "aws/request.Request" representing the 2494 // client's request for the CreateSchema operation. The "output" return 2495 // value will be populated with the request's response once the request completes 2496 // successfully. 2497 // 2498 // Use "Send" method on the returned Request to send the API call to the service. 2499 // the "output" return value is not valid until after Send returns without error. 2500 // 2501 // See CreateSchema for more information on using the CreateSchema 2502 // API call, and error handling. 2503 // 2504 // This method is useful when you want to inject custom logic or configuration 2505 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2506 // 2507 // 2508 // // Example sending a request using the CreateSchemaRequest method. 2509 // req, resp := client.CreateSchemaRequest(params) 2510 // 2511 // err := req.Send() 2512 // if err == nil { // resp is now filled 2513 // fmt.Println(resp) 2514 // } 2515 // 2516 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema 2517 func (c *Glue) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) { 2518 op := &request.Operation{ 2519 Name: opCreateSchema, 2520 HTTPMethod: "POST", 2521 HTTPPath: "/", 2522 } 2523 2524 if input == nil { 2525 input = &CreateSchemaInput{} 2526 } 2527 2528 output = &CreateSchemaOutput{} 2529 req = c.newRequest(op, input, output) 2530 return 2531 } 2532 2533 // CreateSchema API operation for AWS Glue. 2534 // 2535 // Creates a new schema set and registers the schema definition. Returns an 2536 // error if the schema set already exists without actually registering the version. 2537 // 2538 // When the schema set is created, a version checkpoint will be set to the first 2539 // version. Compatibility mode "DISABLED" restricts any additional schema versions 2540 // from being added after the first schema version. For all other compatibility 2541 // modes, validation of compatibility settings will be applied only from the 2542 // second version onwards when the RegisterSchemaVersion API is used. 2543 // 2544 // When this API is called without a RegistryId, this will create an entry for 2545 // a "default-registry" in the registry database tables, if it is not already 2546 // present. 2547 // 2548 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2549 // with awserr.Error's Code and Message methods to get detailed information about 2550 // the error. 2551 // 2552 // See the AWS API reference guide for AWS Glue's 2553 // API operation CreateSchema for usage and error information. 2554 // 2555 // Returned Error Types: 2556 // * InvalidInputException 2557 // The input provided was not valid. 2558 // 2559 // * AccessDeniedException 2560 // Access to a resource was denied. 2561 // 2562 // * EntityNotFoundException 2563 // A specified entity does not exist 2564 // 2565 // * AlreadyExistsException 2566 // A resource to be created or added already exists. 2567 // 2568 // * ResourceNumberLimitExceededException 2569 // A resource numerical limit was exceeded. 2570 // 2571 // * InternalServiceException 2572 // An internal service error occurred. 2573 // 2574 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema 2575 func (c *Glue) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) { 2576 req, out := c.CreateSchemaRequest(input) 2577 return out, req.Send() 2578 } 2579 2580 // CreateSchemaWithContext is the same as CreateSchema with the addition of 2581 // the ability to pass a context and additional request options. 2582 // 2583 // See CreateSchema for details on how to use this API operation. 2584 // 2585 // The context must be non-nil and will be used for request cancellation. If 2586 // the context is nil a panic will occur. In the future the SDK may create 2587 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2588 // for more information on using Contexts. 2589 func (c *Glue) CreateSchemaWithContext(ctx aws.Context, input *CreateSchemaInput, opts ...request.Option) (*CreateSchemaOutput, error) { 2590 req, out := c.CreateSchemaRequest(input) 2591 req.SetContext(ctx) 2592 req.ApplyOptions(opts...) 2593 return out, req.Send() 2594 } 2595 2596 const opCreateScript = "CreateScript" 2597 2598 // CreateScriptRequest generates a "aws/request.Request" representing the 2599 // client's request for the CreateScript operation. The "output" return 2600 // value will be populated with the request's response once the request completes 2601 // successfully. 2602 // 2603 // Use "Send" method on the returned Request to send the API call to the service. 2604 // the "output" return value is not valid until after Send returns without error. 2605 // 2606 // See CreateScript for more information on using the CreateScript 2607 // API call, and error handling. 2608 // 2609 // This method is useful when you want to inject custom logic or configuration 2610 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2611 // 2612 // 2613 // // Example sending a request using the CreateScriptRequest method. 2614 // req, resp := client.CreateScriptRequest(params) 2615 // 2616 // err := req.Send() 2617 // if err == nil { // resp is now filled 2618 // fmt.Println(resp) 2619 // } 2620 // 2621 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript 2622 func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) { 2623 op := &request.Operation{ 2624 Name: opCreateScript, 2625 HTTPMethod: "POST", 2626 HTTPPath: "/", 2627 } 2628 2629 if input == nil { 2630 input = &CreateScriptInput{} 2631 } 2632 2633 output = &CreateScriptOutput{} 2634 req = c.newRequest(op, input, output) 2635 return 2636 } 2637 2638 // CreateScript API operation for AWS Glue. 2639 // 2640 // Transforms a directed acyclic graph (DAG) into code. 2641 // 2642 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2643 // with awserr.Error's Code and Message methods to get detailed information about 2644 // the error. 2645 // 2646 // See the AWS API reference guide for AWS Glue's 2647 // API operation CreateScript for usage and error information. 2648 // 2649 // Returned Error Types: 2650 // * InvalidInputException 2651 // The input provided was not valid. 2652 // 2653 // * InternalServiceException 2654 // An internal service error occurred. 2655 // 2656 // * OperationTimeoutException 2657 // The operation timed out. 2658 // 2659 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript 2660 func (c *Glue) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) { 2661 req, out := c.CreateScriptRequest(input) 2662 return out, req.Send() 2663 } 2664 2665 // CreateScriptWithContext is the same as CreateScript with the addition of 2666 // the ability to pass a context and additional request options. 2667 // 2668 // See CreateScript for details on how to use this API operation. 2669 // 2670 // The context must be non-nil and will be used for request cancellation. If 2671 // the context is nil a panic will occur. In the future the SDK may create 2672 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2673 // for more information on using Contexts. 2674 func (c *Glue) CreateScriptWithContext(ctx aws.Context, input *CreateScriptInput, opts ...request.Option) (*CreateScriptOutput, error) { 2675 req, out := c.CreateScriptRequest(input) 2676 req.SetContext(ctx) 2677 req.ApplyOptions(opts...) 2678 return out, req.Send() 2679 } 2680 2681 const opCreateSecurityConfiguration = "CreateSecurityConfiguration" 2682 2683 // CreateSecurityConfigurationRequest generates a "aws/request.Request" representing the 2684 // client's request for the CreateSecurityConfiguration operation. The "output" return 2685 // value will be populated with the request's response once the request completes 2686 // successfully. 2687 // 2688 // Use "Send" method on the returned Request to send the API call to the service. 2689 // the "output" return value is not valid until after Send returns without error. 2690 // 2691 // See CreateSecurityConfiguration for more information on using the CreateSecurityConfiguration 2692 // API call, and error handling. 2693 // 2694 // This method is useful when you want to inject custom logic or configuration 2695 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2696 // 2697 // 2698 // // Example sending a request using the CreateSecurityConfigurationRequest method. 2699 // req, resp := client.CreateSecurityConfigurationRequest(params) 2700 // 2701 // err := req.Send() 2702 // if err == nil { // resp is now filled 2703 // fmt.Println(resp) 2704 // } 2705 // 2706 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration 2707 func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) { 2708 op := &request.Operation{ 2709 Name: opCreateSecurityConfiguration, 2710 HTTPMethod: "POST", 2711 HTTPPath: "/", 2712 } 2713 2714 if input == nil { 2715 input = &CreateSecurityConfigurationInput{} 2716 } 2717 2718 output = &CreateSecurityConfigurationOutput{} 2719 req = c.newRequest(op, input, output) 2720 return 2721 } 2722 2723 // CreateSecurityConfiguration API operation for AWS Glue. 2724 // 2725 // Creates a new security configuration. A security configuration is a set of 2726 // security properties that can be used by Glue. You can use a security configuration 2727 // to encrypt data at rest. For information about using security configurations 2728 // in Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints 2729 // (https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html). 2730 // 2731 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2732 // with awserr.Error's Code and Message methods to get detailed information about 2733 // the error. 2734 // 2735 // See the AWS API reference guide for AWS Glue's 2736 // API operation CreateSecurityConfiguration for usage and error information. 2737 // 2738 // Returned Error Types: 2739 // * AlreadyExistsException 2740 // A resource to be created or added already exists. 2741 // 2742 // * InvalidInputException 2743 // The input provided was not valid. 2744 // 2745 // * InternalServiceException 2746 // An internal service error occurred. 2747 // 2748 // * OperationTimeoutException 2749 // The operation timed out. 2750 // 2751 // * ResourceNumberLimitExceededException 2752 // A resource numerical limit was exceeded. 2753 // 2754 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration 2755 func (c *Glue) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) { 2756 req, out := c.CreateSecurityConfigurationRequest(input) 2757 return out, req.Send() 2758 } 2759 2760 // CreateSecurityConfigurationWithContext is the same as CreateSecurityConfiguration with the addition of 2761 // the ability to pass a context and additional request options. 2762 // 2763 // See CreateSecurityConfiguration for details on how to use this API operation. 2764 // 2765 // The context must be non-nil and will be used for request cancellation. If 2766 // the context is nil a panic will occur. In the future the SDK may create 2767 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2768 // for more information on using Contexts. 2769 func (c *Glue) CreateSecurityConfigurationWithContext(ctx aws.Context, input *CreateSecurityConfigurationInput, opts ...request.Option) (*CreateSecurityConfigurationOutput, error) { 2770 req, out := c.CreateSecurityConfigurationRequest(input) 2771 req.SetContext(ctx) 2772 req.ApplyOptions(opts...) 2773 return out, req.Send() 2774 } 2775 2776 const opCreateTable = "CreateTable" 2777 2778 // CreateTableRequest generates a "aws/request.Request" representing the 2779 // client's request for the CreateTable operation. The "output" return 2780 // value will be populated with the request's response once the request completes 2781 // successfully. 2782 // 2783 // Use "Send" method on the returned Request to send the API call to the service. 2784 // the "output" return value is not valid until after Send returns without error. 2785 // 2786 // See CreateTable for more information on using the CreateTable 2787 // API call, and error handling. 2788 // 2789 // This method is useful when you want to inject custom logic or configuration 2790 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2791 // 2792 // 2793 // // Example sending a request using the CreateTableRequest method. 2794 // req, resp := client.CreateTableRequest(params) 2795 // 2796 // err := req.Send() 2797 // if err == nil { // resp is now filled 2798 // fmt.Println(resp) 2799 // } 2800 // 2801 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable 2802 func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { 2803 op := &request.Operation{ 2804 Name: opCreateTable, 2805 HTTPMethod: "POST", 2806 HTTPPath: "/", 2807 } 2808 2809 if input == nil { 2810 input = &CreateTableInput{} 2811 } 2812 2813 output = &CreateTableOutput{} 2814 req = c.newRequest(op, input, output) 2815 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 2816 return 2817 } 2818 2819 // CreateTable API operation for AWS Glue. 2820 // 2821 // Creates a new table definition in the Data Catalog. 2822 // 2823 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2824 // with awserr.Error's Code and Message methods to get detailed information about 2825 // the error. 2826 // 2827 // See the AWS API reference guide for AWS Glue's 2828 // API operation CreateTable for usage and error information. 2829 // 2830 // Returned Error Types: 2831 // * AlreadyExistsException 2832 // A resource to be created or added already exists. 2833 // 2834 // * InvalidInputException 2835 // The input provided was not valid. 2836 // 2837 // * EntityNotFoundException 2838 // A specified entity does not exist 2839 // 2840 // * ResourceNumberLimitExceededException 2841 // A resource numerical limit was exceeded. 2842 // 2843 // * InternalServiceException 2844 // An internal service error occurred. 2845 // 2846 // * OperationTimeoutException 2847 // The operation timed out. 2848 // 2849 // * EncryptionException 2850 // An encryption operation failed. 2851 // 2852 // * ConcurrentModificationException 2853 // Two processes are trying to modify a resource simultaneously. 2854 // 2855 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable 2856 func (c *Glue) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { 2857 req, out := c.CreateTableRequest(input) 2858 return out, req.Send() 2859 } 2860 2861 // CreateTableWithContext is the same as CreateTable with the addition of 2862 // the ability to pass a context and additional request options. 2863 // 2864 // See CreateTable for details on how to use this API operation. 2865 // 2866 // The context must be non-nil and will be used for request cancellation. If 2867 // the context is nil a panic will occur. In the future the SDK may create 2868 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2869 // for more information on using Contexts. 2870 func (c *Glue) CreateTableWithContext(ctx aws.Context, input *CreateTableInput, opts ...request.Option) (*CreateTableOutput, error) { 2871 req, out := c.CreateTableRequest(input) 2872 req.SetContext(ctx) 2873 req.ApplyOptions(opts...) 2874 return out, req.Send() 2875 } 2876 2877 const opCreateTrigger = "CreateTrigger" 2878 2879 // CreateTriggerRequest generates a "aws/request.Request" representing the 2880 // client's request for the CreateTrigger operation. The "output" return 2881 // value will be populated with the request's response once the request completes 2882 // successfully. 2883 // 2884 // Use "Send" method on the returned Request to send the API call to the service. 2885 // the "output" return value is not valid until after Send returns without error. 2886 // 2887 // See CreateTrigger for more information on using the CreateTrigger 2888 // API call, and error handling. 2889 // 2890 // This method is useful when you want to inject custom logic or configuration 2891 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2892 // 2893 // 2894 // // Example sending a request using the CreateTriggerRequest method. 2895 // req, resp := client.CreateTriggerRequest(params) 2896 // 2897 // err := req.Send() 2898 // if err == nil { // resp is now filled 2899 // fmt.Println(resp) 2900 // } 2901 // 2902 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger 2903 func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Request, output *CreateTriggerOutput) { 2904 op := &request.Operation{ 2905 Name: opCreateTrigger, 2906 HTTPMethod: "POST", 2907 HTTPPath: "/", 2908 } 2909 2910 if input == nil { 2911 input = &CreateTriggerInput{} 2912 } 2913 2914 output = &CreateTriggerOutput{} 2915 req = c.newRequest(op, input, output) 2916 return 2917 } 2918 2919 // CreateTrigger API operation for AWS Glue. 2920 // 2921 // Creates a new trigger. 2922 // 2923 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2924 // with awserr.Error's Code and Message methods to get detailed information about 2925 // the error. 2926 // 2927 // See the AWS API reference guide for AWS Glue's 2928 // API operation CreateTrigger for usage and error information. 2929 // 2930 // Returned Error Types: 2931 // * AlreadyExistsException 2932 // A resource to be created or added already exists. 2933 // 2934 // * EntityNotFoundException 2935 // A specified entity does not exist 2936 // 2937 // * InvalidInputException 2938 // The input provided was not valid. 2939 // 2940 // * IdempotentParameterMismatchException 2941 // The same unique identifier was associated with two different records. 2942 // 2943 // * InternalServiceException 2944 // An internal service error occurred. 2945 // 2946 // * OperationTimeoutException 2947 // The operation timed out. 2948 // 2949 // * ResourceNumberLimitExceededException 2950 // A resource numerical limit was exceeded. 2951 // 2952 // * ConcurrentModificationException 2953 // Two processes are trying to modify a resource simultaneously. 2954 // 2955 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger 2956 func (c *Glue) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error) { 2957 req, out := c.CreateTriggerRequest(input) 2958 return out, req.Send() 2959 } 2960 2961 // CreateTriggerWithContext is the same as CreateTrigger with the addition of 2962 // the ability to pass a context and additional request options. 2963 // 2964 // See CreateTrigger for details on how to use this API operation. 2965 // 2966 // The context must be non-nil and will be used for request cancellation. If 2967 // the context is nil a panic will occur. In the future the SDK may create 2968 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2969 // for more information on using Contexts. 2970 func (c *Glue) CreateTriggerWithContext(ctx aws.Context, input *CreateTriggerInput, opts ...request.Option) (*CreateTriggerOutput, error) { 2971 req, out := c.CreateTriggerRequest(input) 2972 req.SetContext(ctx) 2973 req.ApplyOptions(opts...) 2974 return out, req.Send() 2975 } 2976 2977 const opCreateUserDefinedFunction = "CreateUserDefinedFunction" 2978 2979 // CreateUserDefinedFunctionRequest generates a "aws/request.Request" representing the 2980 // client's request for the CreateUserDefinedFunction operation. The "output" return 2981 // value will be populated with the request's response once the request completes 2982 // successfully. 2983 // 2984 // Use "Send" method on the returned Request to send the API call to the service. 2985 // the "output" return value is not valid until after Send returns without error. 2986 // 2987 // See CreateUserDefinedFunction for more information on using the CreateUserDefinedFunction 2988 // API call, and error handling. 2989 // 2990 // This method is useful when you want to inject custom logic or configuration 2991 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2992 // 2993 // 2994 // // Example sending a request using the CreateUserDefinedFunctionRequest method. 2995 // req, resp := client.CreateUserDefinedFunctionRequest(params) 2996 // 2997 // err := req.Send() 2998 // if err == nil { // resp is now filled 2999 // fmt.Println(resp) 3000 // } 3001 // 3002 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction 3003 func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunctionInput) (req *request.Request, output *CreateUserDefinedFunctionOutput) { 3004 op := &request.Operation{ 3005 Name: opCreateUserDefinedFunction, 3006 HTTPMethod: "POST", 3007 HTTPPath: "/", 3008 } 3009 3010 if input == nil { 3011 input = &CreateUserDefinedFunctionInput{} 3012 } 3013 3014 output = &CreateUserDefinedFunctionOutput{} 3015 req = c.newRequest(op, input, output) 3016 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3017 return 3018 } 3019 3020 // CreateUserDefinedFunction API operation for AWS Glue. 3021 // 3022 // Creates a new function definition in the Data Catalog. 3023 // 3024 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3025 // with awserr.Error's Code and Message methods to get detailed information about 3026 // the error. 3027 // 3028 // See the AWS API reference guide for AWS Glue's 3029 // API operation CreateUserDefinedFunction for usage and error information. 3030 // 3031 // Returned Error Types: 3032 // * AlreadyExistsException 3033 // A resource to be created or added already exists. 3034 // 3035 // * InvalidInputException 3036 // The input provided was not valid. 3037 // 3038 // * InternalServiceException 3039 // An internal service error occurred. 3040 // 3041 // * EntityNotFoundException 3042 // A specified entity does not exist 3043 // 3044 // * OperationTimeoutException 3045 // The operation timed out. 3046 // 3047 // * ResourceNumberLimitExceededException 3048 // A resource numerical limit was exceeded. 3049 // 3050 // * EncryptionException 3051 // An encryption operation failed. 3052 // 3053 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction 3054 func (c *Glue) CreateUserDefinedFunction(input *CreateUserDefinedFunctionInput) (*CreateUserDefinedFunctionOutput, error) { 3055 req, out := c.CreateUserDefinedFunctionRequest(input) 3056 return out, req.Send() 3057 } 3058 3059 // CreateUserDefinedFunctionWithContext is the same as CreateUserDefinedFunction with the addition of 3060 // the ability to pass a context and additional request options. 3061 // 3062 // See CreateUserDefinedFunction for details on how to use this API operation. 3063 // 3064 // The context must be non-nil and will be used for request cancellation. If 3065 // the context is nil a panic will occur. In the future the SDK may create 3066 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3067 // for more information on using Contexts. 3068 func (c *Glue) CreateUserDefinedFunctionWithContext(ctx aws.Context, input *CreateUserDefinedFunctionInput, opts ...request.Option) (*CreateUserDefinedFunctionOutput, error) { 3069 req, out := c.CreateUserDefinedFunctionRequest(input) 3070 req.SetContext(ctx) 3071 req.ApplyOptions(opts...) 3072 return out, req.Send() 3073 } 3074 3075 const opCreateWorkflow = "CreateWorkflow" 3076 3077 // CreateWorkflowRequest generates a "aws/request.Request" representing the 3078 // client's request for the CreateWorkflow operation. The "output" return 3079 // value will be populated with the request's response once the request completes 3080 // successfully. 3081 // 3082 // Use "Send" method on the returned Request to send the API call to the service. 3083 // the "output" return value is not valid until after Send returns without error. 3084 // 3085 // See CreateWorkflow for more information on using the CreateWorkflow 3086 // API call, and error handling. 3087 // 3088 // This method is useful when you want to inject custom logic or configuration 3089 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3090 // 3091 // 3092 // // Example sending a request using the CreateWorkflowRequest method. 3093 // req, resp := client.CreateWorkflowRequest(params) 3094 // 3095 // err := req.Send() 3096 // if err == nil { // resp is now filled 3097 // fmt.Println(resp) 3098 // } 3099 // 3100 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow 3101 func (c *Glue) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) { 3102 op := &request.Operation{ 3103 Name: opCreateWorkflow, 3104 HTTPMethod: "POST", 3105 HTTPPath: "/", 3106 } 3107 3108 if input == nil { 3109 input = &CreateWorkflowInput{} 3110 } 3111 3112 output = &CreateWorkflowOutput{} 3113 req = c.newRequest(op, input, output) 3114 return 3115 } 3116 3117 // CreateWorkflow API operation for AWS Glue. 3118 // 3119 // Creates a new workflow. 3120 // 3121 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3122 // with awserr.Error's Code and Message methods to get detailed information about 3123 // the error. 3124 // 3125 // See the AWS API reference guide for AWS Glue's 3126 // API operation CreateWorkflow for usage and error information. 3127 // 3128 // Returned Error Types: 3129 // * AlreadyExistsException 3130 // A resource to be created or added already exists. 3131 // 3132 // * InvalidInputException 3133 // The input provided was not valid. 3134 // 3135 // * InternalServiceException 3136 // An internal service error occurred. 3137 // 3138 // * OperationTimeoutException 3139 // The operation timed out. 3140 // 3141 // * ResourceNumberLimitExceededException 3142 // A resource numerical limit was exceeded. 3143 // 3144 // * ConcurrentModificationException 3145 // Two processes are trying to modify a resource simultaneously. 3146 // 3147 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow 3148 func (c *Glue) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) { 3149 req, out := c.CreateWorkflowRequest(input) 3150 return out, req.Send() 3151 } 3152 3153 // CreateWorkflowWithContext is the same as CreateWorkflow with the addition of 3154 // the ability to pass a context and additional request options. 3155 // 3156 // See CreateWorkflow for details on how to use this API operation. 3157 // 3158 // The context must be non-nil and will be used for request cancellation. If 3159 // the context is nil a panic will occur. In the future the SDK may create 3160 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3161 // for more information on using Contexts. 3162 func (c *Glue) CreateWorkflowWithContext(ctx aws.Context, input *CreateWorkflowInput, opts ...request.Option) (*CreateWorkflowOutput, error) { 3163 req, out := c.CreateWorkflowRequest(input) 3164 req.SetContext(ctx) 3165 req.ApplyOptions(opts...) 3166 return out, req.Send() 3167 } 3168 3169 const opDeleteBlueprint = "DeleteBlueprint" 3170 3171 // DeleteBlueprintRequest generates a "aws/request.Request" representing the 3172 // client's request for the DeleteBlueprint operation. The "output" return 3173 // value will be populated with the request's response once the request completes 3174 // successfully. 3175 // 3176 // Use "Send" method on the returned Request to send the API call to the service. 3177 // the "output" return value is not valid until after Send returns without error. 3178 // 3179 // See DeleteBlueprint for more information on using the DeleteBlueprint 3180 // API call, and error handling. 3181 // 3182 // This method is useful when you want to inject custom logic or configuration 3183 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3184 // 3185 // 3186 // // Example sending a request using the DeleteBlueprintRequest method. 3187 // req, resp := client.DeleteBlueprintRequest(params) 3188 // 3189 // err := req.Send() 3190 // if err == nil { // resp is now filled 3191 // fmt.Println(resp) 3192 // } 3193 // 3194 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteBlueprint 3195 func (c *Glue) DeleteBlueprintRequest(input *DeleteBlueprintInput) (req *request.Request, output *DeleteBlueprintOutput) { 3196 op := &request.Operation{ 3197 Name: opDeleteBlueprint, 3198 HTTPMethod: "POST", 3199 HTTPPath: "/", 3200 } 3201 3202 if input == nil { 3203 input = &DeleteBlueprintInput{} 3204 } 3205 3206 output = &DeleteBlueprintOutput{} 3207 req = c.newRequest(op, input, output) 3208 return 3209 } 3210 3211 // DeleteBlueprint API operation for AWS Glue. 3212 // 3213 // Deletes an existing blueprint. 3214 // 3215 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3216 // with awserr.Error's Code and Message methods to get detailed information about 3217 // the error. 3218 // 3219 // See the AWS API reference guide for AWS Glue's 3220 // API operation DeleteBlueprint for usage and error information. 3221 // 3222 // Returned Error Types: 3223 // * InvalidInputException 3224 // The input provided was not valid. 3225 // 3226 // * OperationTimeoutException 3227 // The operation timed out. 3228 // 3229 // * InternalServiceException 3230 // An internal service error occurred. 3231 // 3232 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteBlueprint 3233 func (c *Glue) DeleteBlueprint(input *DeleteBlueprintInput) (*DeleteBlueprintOutput, error) { 3234 req, out := c.DeleteBlueprintRequest(input) 3235 return out, req.Send() 3236 } 3237 3238 // DeleteBlueprintWithContext is the same as DeleteBlueprint with the addition of 3239 // the ability to pass a context and additional request options. 3240 // 3241 // See DeleteBlueprint for details on how to use this API operation. 3242 // 3243 // The context must be non-nil and will be used for request cancellation. If 3244 // the context is nil a panic will occur. In the future the SDK may create 3245 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3246 // for more information on using Contexts. 3247 func (c *Glue) DeleteBlueprintWithContext(ctx aws.Context, input *DeleteBlueprintInput, opts ...request.Option) (*DeleteBlueprintOutput, error) { 3248 req, out := c.DeleteBlueprintRequest(input) 3249 req.SetContext(ctx) 3250 req.ApplyOptions(opts...) 3251 return out, req.Send() 3252 } 3253 3254 const opDeleteClassifier = "DeleteClassifier" 3255 3256 // DeleteClassifierRequest generates a "aws/request.Request" representing the 3257 // client's request for the DeleteClassifier operation. The "output" return 3258 // value will be populated with the request's response once the request completes 3259 // successfully. 3260 // 3261 // Use "Send" method on the returned Request to send the API call to the service. 3262 // the "output" return value is not valid until after Send returns without error. 3263 // 3264 // See DeleteClassifier for more information on using the DeleteClassifier 3265 // API call, and error handling. 3266 // 3267 // This method is useful when you want to inject custom logic or configuration 3268 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3269 // 3270 // 3271 // // Example sending a request using the DeleteClassifierRequest method. 3272 // req, resp := client.DeleteClassifierRequest(params) 3273 // 3274 // err := req.Send() 3275 // if err == nil { // resp is now filled 3276 // fmt.Println(resp) 3277 // } 3278 // 3279 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier 3280 func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *request.Request, output *DeleteClassifierOutput) { 3281 op := &request.Operation{ 3282 Name: opDeleteClassifier, 3283 HTTPMethod: "POST", 3284 HTTPPath: "/", 3285 } 3286 3287 if input == nil { 3288 input = &DeleteClassifierInput{} 3289 } 3290 3291 output = &DeleteClassifierOutput{} 3292 req = c.newRequest(op, input, output) 3293 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3294 return 3295 } 3296 3297 // DeleteClassifier API operation for AWS Glue. 3298 // 3299 // Removes a classifier from the Data Catalog. 3300 // 3301 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3302 // with awserr.Error's Code and Message methods to get detailed information about 3303 // the error. 3304 // 3305 // See the AWS API reference guide for AWS Glue's 3306 // API operation DeleteClassifier for usage and error information. 3307 // 3308 // Returned Error Types: 3309 // * EntityNotFoundException 3310 // A specified entity does not exist 3311 // 3312 // * OperationTimeoutException 3313 // The operation timed out. 3314 // 3315 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier 3316 func (c *Glue) DeleteClassifier(input *DeleteClassifierInput) (*DeleteClassifierOutput, error) { 3317 req, out := c.DeleteClassifierRequest(input) 3318 return out, req.Send() 3319 } 3320 3321 // DeleteClassifierWithContext is the same as DeleteClassifier with the addition of 3322 // the ability to pass a context and additional request options. 3323 // 3324 // See DeleteClassifier for details on how to use this API operation. 3325 // 3326 // The context must be non-nil and will be used for request cancellation. If 3327 // the context is nil a panic will occur. In the future the SDK may create 3328 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3329 // for more information on using Contexts. 3330 func (c *Glue) DeleteClassifierWithContext(ctx aws.Context, input *DeleteClassifierInput, opts ...request.Option) (*DeleteClassifierOutput, error) { 3331 req, out := c.DeleteClassifierRequest(input) 3332 req.SetContext(ctx) 3333 req.ApplyOptions(opts...) 3334 return out, req.Send() 3335 } 3336 3337 const opDeleteColumnStatisticsForPartition = "DeleteColumnStatisticsForPartition" 3338 3339 // DeleteColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the 3340 // client's request for the DeleteColumnStatisticsForPartition operation. The "output" return 3341 // value will be populated with the request's response once the request completes 3342 // successfully. 3343 // 3344 // Use "Send" method on the returned Request to send the API call to the service. 3345 // the "output" return value is not valid until after Send returns without error. 3346 // 3347 // See DeleteColumnStatisticsForPartition for more information on using the DeleteColumnStatisticsForPartition 3348 // API call, and error handling. 3349 // 3350 // This method is useful when you want to inject custom logic or configuration 3351 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3352 // 3353 // 3354 // // Example sending a request using the DeleteColumnStatisticsForPartitionRequest method. 3355 // req, resp := client.DeleteColumnStatisticsForPartitionRequest(params) 3356 // 3357 // err := req.Send() 3358 // if err == nil { // resp is now filled 3359 // fmt.Println(resp) 3360 // } 3361 // 3362 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition 3363 func (c *Glue) DeleteColumnStatisticsForPartitionRequest(input *DeleteColumnStatisticsForPartitionInput) (req *request.Request, output *DeleteColumnStatisticsForPartitionOutput) { 3364 op := &request.Operation{ 3365 Name: opDeleteColumnStatisticsForPartition, 3366 HTTPMethod: "POST", 3367 HTTPPath: "/", 3368 } 3369 3370 if input == nil { 3371 input = &DeleteColumnStatisticsForPartitionInput{} 3372 } 3373 3374 output = &DeleteColumnStatisticsForPartitionOutput{} 3375 req = c.newRequest(op, input, output) 3376 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3377 return 3378 } 3379 3380 // DeleteColumnStatisticsForPartition API operation for AWS Glue. 3381 // 3382 // Delete the partition column statistics of a column. 3383 // 3384 // The Identity and Access Management (IAM) permission required for this operation 3385 // is DeletePartition. 3386 // 3387 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3388 // with awserr.Error's Code and Message methods to get detailed information about 3389 // the error. 3390 // 3391 // See the AWS API reference guide for AWS Glue's 3392 // API operation DeleteColumnStatisticsForPartition for usage and error information. 3393 // 3394 // Returned Error Types: 3395 // * EntityNotFoundException 3396 // A specified entity does not exist 3397 // 3398 // * InvalidInputException 3399 // The input provided was not valid. 3400 // 3401 // * InternalServiceException 3402 // An internal service error occurred. 3403 // 3404 // * OperationTimeoutException 3405 // The operation timed out. 3406 // 3407 // * EncryptionException 3408 // An encryption operation failed. 3409 // 3410 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition 3411 func (c *Glue) DeleteColumnStatisticsForPartition(input *DeleteColumnStatisticsForPartitionInput) (*DeleteColumnStatisticsForPartitionOutput, error) { 3412 req, out := c.DeleteColumnStatisticsForPartitionRequest(input) 3413 return out, req.Send() 3414 } 3415 3416 // DeleteColumnStatisticsForPartitionWithContext is the same as DeleteColumnStatisticsForPartition with the addition of 3417 // the ability to pass a context and additional request options. 3418 // 3419 // See DeleteColumnStatisticsForPartition for details on how to use this API operation. 3420 // 3421 // The context must be non-nil and will be used for request cancellation. If 3422 // the context is nil a panic will occur. In the future the SDK may create 3423 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3424 // for more information on using Contexts. 3425 func (c *Glue) DeleteColumnStatisticsForPartitionWithContext(ctx aws.Context, input *DeleteColumnStatisticsForPartitionInput, opts ...request.Option) (*DeleteColumnStatisticsForPartitionOutput, error) { 3426 req, out := c.DeleteColumnStatisticsForPartitionRequest(input) 3427 req.SetContext(ctx) 3428 req.ApplyOptions(opts...) 3429 return out, req.Send() 3430 } 3431 3432 const opDeleteColumnStatisticsForTable = "DeleteColumnStatisticsForTable" 3433 3434 // DeleteColumnStatisticsForTableRequest generates a "aws/request.Request" representing the 3435 // client's request for the DeleteColumnStatisticsForTable operation. The "output" return 3436 // value will be populated with the request's response once the request completes 3437 // successfully. 3438 // 3439 // Use "Send" method on the returned Request to send the API call to the service. 3440 // the "output" return value is not valid until after Send returns without error. 3441 // 3442 // See DeleteColumnStatisticsForTable for more information on using the DeleteColumnStatisticsForTable 3443 // API call, and error handling. 3444 // 3445 // This method is useful when you want to inject custom logic or configuration 3446 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3447 // 3448 // 3449 // // Example sending a request using the DeleteColumnStatisticsForTableRequest method. 3450 // req, resp := client.DeleteColumnStatisticsForTableRequest(params) 3451 // 3452 // err := req.Send() 3453 // if err == nil { // resp is now filled 3454 // fmt.Println(resp) 3455 // } 3456 // 3457 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable 3458 func (c *Glue) DeleteColumnStatisticsForTableRequest(input *DeleteColumnStatisticsForTableInput) (req *request.Request, output *DeleteColumnStatisticsForTableOutput) { 3459 op := &request.Operation{ 3460 Name: opDeleteColumnStatisticsForTable, 3461 HTTPMethod: "POST", 3462 HTTPPath: "/", 3463 } 3464 3465 if input == nil { 3466 input = &DeleteColumnStatisticsForTableInput{} 3467 } 3468 3469 output = &DeleteColumnStatisticsForTableOutput{} 3470 req = c.newRequest(op, input, output) 3471 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3472 return 3473 } 3474 3475 // DeleteColumnStatisticsForTable API operation for AWS Glue. 3476 // 3477 // Retrieves table statistics of columns. 3478 // 3479 // The Identity and Access Management (IAM) permission required for this operation 3480 // is DeleteTable. 3481 // 3482 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3483 // with awserr.Error's Code and Message methods to get detailed information about 3484 // the error. 3485 // 3486 // See the AWS API reference guide for AWS Glue's 3487 // API operation DeleteColumnStatisticsForTable for usage and error information. 3488 // 3489 // Returned Error Types: 3490 // * EntityNotFoundException 3491 // A specified entity does not exist 3492 // 3493 // * InvalidInputException 3494 // The input provided was not valid. 3495 // 3496 // * InternalServiceException 3497 // An internal service error occurred. 3498 // 3499 // * OperationTimeoutException 3500 // The operation timed out. 3501 // 3502 // * EncryptionException 3503 // An encryption operation failed. 3504 // 3505 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable 3506 func (c *Glue) DeleteColumnStatisticsForTable(input *DeleteColumnStatisticsForTableInput) (*DeleteColumnStatisticsForTableOutput, error) { 3507 req, out := c.DeleteColumnStatisticsForTableRequest(input) 3508 return out, req.Send() 3509 } 3510 3511 // DeleteColumnStatisticsForTableWithContext is the same as DeleteColumnStatisticsForTable with the addition of 3512 // the ability to pass a context and additional request options. 3513 // 3514 // See DeleteColumnStatisticsForTable for details on how to use this API operation. 3515 // 3516 // The context must be non-nil and will be used for request cancellation. If 3517 // the context is nil a panic will occur. In the future the SDK may create 3518 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3519 // for more information on using Contexts. 3520 func (c *Glue) DeleteColumnStatisticsForTableWithContext(ctx aws.Context, input *DeleteColumnStatisticsForTableInput, opts ...request.Option) (*DeleteColumnStatisticsForTableOutput, error) { 3521 req, out := c.DeleteColumnStatisticsForTableRequest(input) 3522 req.SetContext(ctx) 3523 req.ApplyOptions(opts...) 3524 return out, req.Send() 3525 } 3526 3527 const opDeleteConnection = "DeleteConnection" 3528 3529 // DeleteConnectionRequest generates a "aws/request.Request" representing the 3530 // client's request for the DeleteConnection operation. The "output" return 3531 // value will be populated with the request's response once the request completes 3532 // successfully. 3533 // 3534 // Use "Send" method on the returned Request to send the API call to the service. 3535 // the "output" return value is not valid until after Send returns without error. 3536 // 3537 // See DeleteConnection for more information on using the DeleteConnection 3538 // API call, and error handling. 3539 // 3540 // This method is useful when you want to inject custom logic or configuration 3541 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3542 // 3543 // 3544 // // Example sending a request using the DeleteConnectionRequest method. 3545 // req, resp := client.DeleteConnectionRequest(params) 3546 // 3547 // err := req.Send() 3548 // if err == nil { // resp is now filled 3549 // fmt.Println(resp) 3550 // } 3551 // 3552 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection 3553 func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { 3554 op := &request.Operation{ 3555 Name: opDeleteConnection, 3556 HTTPMethod: "POST", 3557 HTTPPath: "/", 3558 } 3559 3560 if input == nil { 3561 input = &DeleteConnectionInput{} 3562 } 3563 3564 output = &DeleteConnectionOutput{} 3565 req = c.newRequest(op, input, output) 3566 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3567 return 3568 } 3569 3570 // DeleteConnection API operation for AWS Glue. 3571 // 3572 // Deletes a connection from the Data Catalog. 3573 // 3574 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3575 // with awserr.Error's Code and Message methods to get detailed information about 3576 // the error. 3577 // 3578 // See the AWS API reference guide for AWS Glue's 3579 // API operation DeleteConnection for usage and error information. 3580 // 3581 // Returned Error Types: 3582 // * EntityNotFoundException 3583 // A specified entity does not exist 3584 // 3585 // * OperationTimeoutException 3586 // The operation timed out. 3587 // 3588 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection 3589 func (c *Glue) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { 3590 req, out := c.DeleteConnectionRequest(input) 3591 return out, req.Send() 3592 } 3593 3594 // DeleteConnectionWithContext is the same as DeleteConnection with the addition of 3595 // the ability to pass a context and additional request options. 3596 // 3597 // See DeleteConnection for details on how to use this API operation. 3598 // 3599 // The context must be non-nil and will be used for request cancellation. If 3600 // the context is nil a panic will occur. In the future the SDK may create 3601 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3602 // for more information on using Contexts. 3603 func (c *Glue) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error) { 3604 req, out := c.DeleteConnectionRequest(input) 3605 req.SetContext(ctx) 3606 req.ApplyOptions(opts...) 3607 return out, req.Send() 3608 } 3609 3610 const opDeleteCrawler = "DeleteCrawler" 3611 3612 // DeleteCrawlerRequest generates a "aws/request.Request" representing the 3613 // client's request for the DeleteCrawler operation. The "output" return 3614 // value will be populated with the request's response once the request completes 3615 // successfully. 3616 // 3617 // Use "Send" method on the returned Request to send the API call to the service. 3618 // the "output" return value is not valid until after Send returns without error. 3619 // 3620 // See DeleteCrawler for more information on using the DeleteCrawler 3621 // API call, and error handling. 3622 // 3623 // This method is useful when you want to inject custom logic or configuration 3624 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3625 // 3626 // 3627 // // Example sending a request using the DeleteCrawlerRequest method. 3628 // req, resp := client.DeleteCrawlerRequest(params) 3629 // 3630 // err := req.Send() 3631 // if err == nil { // resp is now filled 3632 // fmt.Println(resp) 3633 // } 3634 // 3635 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler 3636 func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Request, output *DeleteCrawlerOutput) { 3637 op := &request.Operation{ 3638 Name: opDeleteCrawler, 3639 HTTPMethod: "POST", 3640 HTTPPath: "/", 3641 } 3642 3643 if input == nil { 3644 input = &DeleteCrawlerInput{} 3645 } 3646 3647 output = &DeleteCrawlerOutput{} 3648 req = c.newRequest(op, input, output) 3649 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3650 return 3651 } 3652 3653 // DeleteCrawler API operation for AWS Glue. 3654 // 3655 // Removes a specified crawler from the Glue Data Catalog, unless the crawler 3656 // state is RUNNING. 3657 // 3658 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3659 // with awserr.Error's Code and Message methods to get detailed information about 3660 // the error. 3661 // 3662 // See the AWS API reference guide for AWS Glue's 3663 // API operation DeleteCrawler for usage and error information. 3664 // 3665 // Returned Error Types: 3666 // * EntityNotFoundException 3667 // A specified entity does not exist 3668 // 3669 // * CrawlerRunningException 3670 // The operation cannot be performed because the crawler is already running. 3671 // 3672 // * SchedulerTransitioningException 3673 // The specified scheduler is transitioning. 3674 // 3675 // * OperationTimeoutException 3676 // The operation timed out. 3677 // 3678 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler 3679 func (c *Glue) DeleteCrawler(input *DeleteCrawlerInput) (*DeleteCrawlerOutput, error) { 3680 req, out := c.DeleteCrawlerRequest(input) 3681 return out, req.Send() 3682 } 3683 3684 // DeleteCrawlerWithContext is the same as DeleteCrawler with the addition of 3685 // the ability to pass a context and additional request options. 3686 // 3687 // See DeleteCrawler for details on how to use this API operation. 3688 // 3689 // The context must be non-nil and will be used for request cancellation. If 3690 // the context is nil a panic will occur. In the future the SDK may create 3691 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3692 // for more information on using Contexts. 3693 func (c *Glue) DeleteCrawlerWithContext(ctx aws.Context, input *DeleteCrawlerInput, opts ...request.Option) (*DeleteCrawlerOutput, error) { 3694 req, out := c.DeleteCrawlerRequest(input) 3695 req.SetContext(ctx) 3696 req.ApplyOptions(opts...) 3697 return out, req.Send() 3698 } 3699 3700 const opDeleteDatabase = "DeleteDatabase" 3701 3702 // DeleteDatabaseRequest generates a "aws/request.Request" representing the 3703 // client's request for the DeleteDatabase operation. The "output" return 3704 // value will be populated with the request's response once the request completes 3705 // successfully. 3706 // 3707 // Use "Send" method on the returned Request to send the API call to the service. 3708 // the "output" return value is not valid until after Send returns without error. 3709 // 3710 // See DeleteDatabase for more information on using the DeleteDatabase 3711 // API call, and error handling. 3712 // 3713 // This method is useful when you want to inject custom logic or configuration 3714 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3715 // 3716 // 3717 // // Example sending a request using the DeleteDatabaseRequest method. 3718 // req, resp := client.DeleteDatabaseRequest(params) 3719 // 3720 // err := req.Send() 3721 // if err == nil { // resp is now filled 3722 // fmt.Println(resp) 3723 // } 3724 // 3725 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase 3726 func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) { 3727 op := &request.Operation{ 3728 Name: opDeleteDatabase, 3729 HTTPMethod: "POST", 3730 HTTPPath: "/", 3731 } 3732 3733 if input == nil { 3734 input = &DeleteDatabaseInput{} 3735 } 3736 3737 output = &DeleteDatabaseOutput{} 3738 req = c.newRequest(op, input, output) 3739 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3740 return 3741 } 3742 3743 // DeleteDatabase API operation for AWS Glue. 3744 // 3745 // Removes a specified database from a Data Catalog. 3746 // 3747 // After completing this operation, you no longer have access to the tables 3748 // (and all table versions and partitions that might belong to the tables) and 3749 // the user-defined functions in the deleted database. Glue deletes these "orphaned" 3750 // resources asynchronously in a timely manner, at the discretion of the service. 3751 // 3752 // To ensure the immediate deletion of all related resources, before calling 3753 // DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition 3754 // or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, 3755 // to delete any resources that belong to the database. 3756 // 3757 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3758 // with awserr.Error's Code and Message methods to get detailed information about 3759 // the error. 3760 // 3761 // See the AWS API reference guide for AWS Glue's 3762 // API operation DeleteDatabase for usage and error information. 3763 // 3764 // Returned Error Types: 3765 // * EntityNotFoundException 3766 // A specified entity does not exist 3767 // 3768 // * InvalidInputException 3769 // The input provided was not valid. 3770 // 3771 // * InternalServiceException 3772 // An internal service error occurred. 3773 // 3774 // * OperationTimeoutException 3775 // The operation timed out. 3776 // 3777 // * ConcurrentModificationException 3778 // Two processes are trying to modify a resource simultaneously. 3779 // 3780 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase 3781 func (c *Glue) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) { 3782 req, out := c.DeleteDatabaseRequest(input) 3783 return out, req.Send() 3784 } 3785 3786 // DeleteDatabaseWithContext is the same as DeleteDatabase with the addition of 3787 // the ability to pass a context and additional request options. 3788 // 3789 // See DeleteDatabase for details on how to use this API operation. 3790 // 3791 // The context must be non-nil and will be used for request cancellation. If 3792 // the context is nil a panic will occur. In the future the SDK may create 3793 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3794 // for more information on using Contexts. 3795 func (c *Glue) DeleteDatabaseWithContext(ctx aws.Context, input *DeleteDatabaseInput, opts ...request.Option) (*DeleteDatabaseOutput, error) { 3796 req, out := c.DeleteDatabaseRequest(input) 3797 req.SetContext(ctx) 3798 req.ApplyOptions(opts...) 3799 return out, req.Send() 3800 } 3801 3802 const opDeleteDevEndpoint = "DeleteDevEndpoint" 3803 3804 // DeleteDevEndpointRequest generates a "aws/request.Request" representing the 3805 // client's request for the DeleteDevEndpoint operation. The "output" return 3806 // value will be populated with the request's response once the request completes 3807 // successfully. 3808 // 3809 // Use "Send" method on the returned Request to send the API call to the service. 3810 // the "output" return value is not valid until after Send returns without error. 3811 // 3812 // See DeleteDevEndpoint for more information on using the DeleteDevEndpoint 3813 // API call, and error handling. 3814 // 3815 // This method is useful when you want to inject custom logic or configuration 3816 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3817 // 3818 // 3819 // // Example sending a request using the DeleteDevEndpointRequest method. 3820 // req, resp := client.DeleteDevEndpointRequest(params) 3821 // 3822 // err := req.Send() 3823 // if err == nil { // resp is now filled 3824 // fmt.Println(resp) 3825 // } 3826 // 3827 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint 3828 func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *request.Request, output *DeleteDevEndpointOutput) { 3829 op := &request.Operation{ 3830 Name: opDeleteDevEndpoint, 3831 HTTPMethod: "POST", 3832 HTTPPath: "/", 3833 } 3834 3835 if input == nil { 3836 input = &DeleteDevEndpointInput{} 3837 } 3838 3839 output = &DeleteDevEndpointOutput{} 3840 req = c.newRequest(op, input, output) 3841 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 3842 return 3843 } 3844 3845 // DeleteDevEndpoint API operation for AWS Glue. 3846 // 3847 // Deletes a specified development endpoint. 3848 // 3849 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3850 // with awserr.Error's Code and Message methods to get detailed information about 3851 // the error. 3852 // 3853 // See the AWS API reference guide for AWS Glue's 3854 // API operation DeleteDevEndpoint for usage and error information. 3855 // 3856 // Returned Error Types: 3857 // * EntityNotFoundException 3858 // A specified entity does not exist 3859 // 3860 // * InternalServiceException 3861 // An internal service error occurred. 3862 // 3863 // * OperationTimeoutException 3864 // The operation timed out. 3865 // 3866 // * InvalidInputException 3867 // The input provided was not valid. 3868 // 3869 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint 3870 func (c *Glue) DeleteDevEndpoint(input *DeleteDevEndpointInput) (*DeleteDevEndpointOutput, error) { 3871 req, out := c.DeleteDevEndpointRequest(input) 3872 return out, req.Send() 3873 } 3874 3875 // DeleteDevEndpointWithContext is the same as DeleteDevEndpoint with the addition of 3876 // the ability to pass a context and additional request options. 3877 // 3878 // See DeleteDevEndpoint for details on how to use this API operation. 3879 // 3880 // The context must be non-nil and will be used for request cancellation. If 3881 // the context is nil a panic will occur. In the future the SDK may create 3882 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3883 // for more information on using Contexts. 3884 func (c *Glue) DeleteDevEndpointWithContext(ctx aws.Context, input *DeleteDevEndpointInput, opts ...request.Option) (*DeleteDevEndpointOutput, error) { 3885 req, out := c.DeleteDevEndpointRequest(input) 3886 req.SetContext(ctx) 3887 req.ApplyOptions(opts...) 3888 return out, req.Send() 3889 } 3890 3891 const opDeleteJob = "DeleteJob" 3892 3893 // DeleteJobRequest generates a "aws/request.Request" representing the 3894 // client's request for the DeleteJob operation. The "output" return 3895 // value will be populated with the request's response once the request completes 3896 // successfully. 3897 // 3898 // Use "Send" method on the returned Request to send the API call to the service. 3899 // the "output" return value is not valid until after Send returns without error. 3900 // 3901 // See DeleteJob for more information on using the DeleteJob 3902 // API call, and error handling. 3903 // 3904 // This method is useful when you want to inject custom logic or configuration 3905 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3906 // 3907 // 3908 // // Example sending a request using the DeleteJobRequest method. 3909 // req, resp := client.DeleteJobRequest(params) 3910 // 3911 // err := req.Send() 3912 // if err == nil { // resp is now filled 3913 // fmt.Println(resp) 3914 // } 3915 // 3916 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob 3917 func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { 3918 op := &request.Operation{ 3919 Name: opDeleteJob, 3920 HTTPMethod: "POST", 3921 HTTPPath: "/", 3922 } 3923 3924 if input == nil { 3925 input = &DeleteJobInput{} 3926 } 3927 3928 output = &DeleteJobOutput{} 3929 req = c.newRequest(op, input, output) 3930 return 3931 } 3932 3933 // DeleteJob API operation for AWS Glue. 3934 // 3935 // Deletes a specified job definition. If the job definition is not found, no 3936 // exception is thrown. 3937 // 3938 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3939 // with awserr.Error's Code and Message methods to get detailed information about 3940 // the error. 3941 // 3942 // See the AWS API reference guide for AWS Glue's 3943 // API operation DeleteJob for usage and error information. 3944 // 3945 // Returned Error Types: 3946 // * InvalidInputException 3947 // The input provided was not valid. 3948 // 3949 // * InternalServiceException 3950 // An internal service error occurred. 3951 // 3952 // * OperationTimeoutException 3953 // The operation timed out. 3954 // 3955 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob 3956 func (c *Glue) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { 3957 req, out := c.DeleteJobRequest(input) 3958 return out, req.Send() 3959 } 3960 3961 // DeleteJobWithContext is the same as DeleteJob with the addition of 3962 // the ability to pass a context and additional request options. 3963 // 3964 // See DeleteJob for details on how to use this API operation. 3965 // 3966 // The context must be non-nil and will be used for request cancellation. If 3967 // the context is nil a panic will occur. In the future the SDK may create 3968 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3969 // for more information on using Contexts. 3970 func (c *Glue) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts ...request.Option) (*DeleteJobOutput, error) { 3971 req, out := c.DeleteJobRequest(input) 3972 req.SetContext(ctx) 3973 req.ApplyOptions(opts...) 3974 return out, req.Send() 3975 } 3976 3977 const opDeleteMLTransform = "DeleteMLTransform" 3978 3979 // DeleteMLTransformRequest generates a "aws/request.Request" representing the 3980 // client's request for the DeleteMLTransform operation. The "output" return 3981 // value will be populated with the request's response once the request completes 3982 // successfully. 3983 // 3984 // Use "Send" method on the returned Request to send the API call to the service. 3985 // the "output" return value is not valid until after Send returns without error. 3986 // 3987 // See DeleteMLTransform for more information on using the DeleteMLTransform 3988 // API call, and error handling. 3989 // 3990 // This method is useful when you want to inject custom logic or configuration 3991 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3992 // 3993 // 3994 // // Example sending a request using the DeleteMLTransformRequest method. 3995 // req, resp := client.DeleteMLTransformRequest(params) 3996 // 3997 // err := req.Send() 3998 // if err == nil { // resp is now filled 3999 // fmt.Println(resp) 4000 // } 4001 // 4002 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform 4003 func (c *Glue) DeleteMLTransformRequest(input *DeleteMLTransformInput) (req *request.Request, output *DeleteMLTransformOutput) { 4004 op := &request.Operation{ 4005 Name: opDeleteMLTransform, 4006 HTTPMethod: "POST", 4007 HTTPPath: "/", 4008 } 4009 4010 if input == nil { 4011 input = &DeleteMLTransformInput{} 4012 } 4013 4014 output = &DeleteMLTransformOutput{} 4015 req = c.newRequest(op, input, output) 4016 return 4017 } 4018 4019 // DeleteMLTransform API operation for AWS Glue. 4020 // 4021 // Deletes an Glue machine learning transform. Machine learning transforms are 4022 // a special type of transform that use machine learning to learn the details 4023 // of the transformation to be performed by learning from examples provided 4024 // by humans. These transformations are then saved by Glue. If you no longer 4025 // need a transform, you can delete it by calling DeleteMLTransforms. However, 4026 // any Glue jobs that still reference the deleted transform will no longer succeed. 4027 // 4028 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4029 // with awserr.Error's Code and Message methods to get detailed information about 4030 // the error. 4031 // 4032 // See the AWS API reference guide for AWS Glue's 4033 // API operation DeleteMLTransform for usage and error information. 4034 // 4035 // Returned Error Types: 4036 // * EntityNotFoundException 4037 // A specified entity does not exist 4038 // 4039 // * InvalidInputException 4040 // The input provided was not valid. 4041 // 4042 // * OperationTimeoutException 4043 // The operation timed out. 4044 // 4045 // * InternalServiceException 4046 // An internal service error occurred. 4047 // 4048 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform 4049 func (c *Glue) DeleteMLTransform(input *DeleteMLTransformInput) (*DeleteMLTransformOutput, error) { 4050 req, out := c.DeleteMLTransformRequest(input) 4051 return out, req.Send() 4052 } 4053 4054 // DeleteMLTransformWithContext is the same as DeleteMLTransform with the addition of 4055 // the ability to pass a context and additional request options. 4056 // 4057 // See DeleteMLTransform for details on how to use this API operation. 4058 // 4059 // The context must be non-nil and will be used for request cancellation. If 4060 // the context is nil a panic will occur. In the future the SDK may create 4061 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4062 // for more information on using Contexts. 4063 func (c *Glue) DeleteMLTransformWithContext(ctx aws.Context, input *DeleteMLTransformInput, opts ...request.Option) (*DeleteMLTransformOutput, error) { 4064 req, out := c.DeleteMLTransformRequest(input) 4065 req.SetContext(ctx) 4066 req.ApplyOptions(opts...) 4067 return out, req.Send() 4068 } 4069 4070 const opDeletePartition = "DeletePartition" 4071 4072 // DeletePartitionRequest generates a "aws/request.Request" representing the 4073 // client's request for the DeletePartition operation. The "output" return 4074 // value will be populated with the request's response once the request completes 4075 // successfully. 4076 // 4077 // Use "Send" method on the returned Request to send the API call to the service. 4078 // the "output" return value is not valid until after Send returns without error. 4079 // 4080 // See DeletePartition for more information on using the DeletePartition 4081 // API call, and error handling. 4082 // 4083 // This method is useful when you want to inject custom logic or configuration 4084 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4085 // 4086 // 4087 // // Example sending a request using the DeletePartitionRequest method. 4088 // req, resp := client.DeletePartitionRequest(params) 4089 // 4090 // err := req.Send() 4091 // if err == nil { // resp is now filled 4092 // fmt.Println(resp) 4093 // } 4094 // 4095 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition 4096 func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request.Request, output *DeletePartitionOutput) { 4097 op := &request.Operation{ 4098 Name: opDeletePartition, 4099 HTTPMethod: "POST", 4100 HTTPPath: "/", 4101 } 4102 4103 if input == nil { 4104 input = &DeletePartitionInput{} 4105 } 4106 4107 output = &DeletePartitionOutput{} 4108 req = c.newRequest(op, input, output) 4109 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4110 return 4111 } 4112 4113 // DeletePartition API operation for AWS Glue. 4114 // 4115 // Deletes a specified partition. 4116 // 4117 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4118 // with awserr.Error's Code and Message methods to get detailed information about 4119 // the error. 4120 // 4121 // See the AWS API reference guide for AWS Glue's 4122 // API operation DeletePartition for usage and error information. 4123 // 4124 // Returned Error Types: 4125 // * EntityNotFoundException 4126 // A specified entity does not exist 4127 // 4128 // * InvalidInputException 4129 // The input provided was not valid. 4130 // 4131 // * InternalServiceException 4132 // An internal service error occurred. 4133 // 4134 // * OperationTimeoutException 4135 // The operation timed out. 4136 // 4137 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition 4138 func (c *Glue) DeletePartition(input *DeletePartitionInput) (*DeletePartitionOutput, error) { 4139 req, out := c.DeletePartitionRequest(input) 4140 return out, req.Send() 4141 } 4142 4143 // DeletePartitionWithContext is the same as DeletePartition with the addition of 4144 // the ability to pass a context and additional request options. 4145 // 4146 // See DeletePartition for details on how to use this API operation. 4147 // 4148 // The context must be non-nil and will be used for request cancellation. If 4149 // the context is nil a panic will occur. In the future the SDK may create 4150 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4151 // for more information on using Contexts. 4152 func (c *Glue) DeletePartitionWithContext(ctx aws.Context, input *DeletePartitionInput, opts ...request.Option) (*DeletePartitionOutput, error) { 4153 req, out := c.DeletePartitionRequest(input) 4154 req.SetContext(ctx) 4155 req.ApplyOptions(opts...) 4156 return out, req.Send() 4157 } 4158 4159 const opDeletePartitionIndex = "DeletePartitionIndex" 4160 4161 // DeletePartitionIndexRequest generates a "aws/request.Request" representing the 4162 // client's request for the DeletePartitionIndex operation. The "output" return 4163 // value will be populated with the request's response once the request completes 4164 // successfully. 4165 // 4166 // Use "Send" method on the returned Request to send the API call to the service. 4167 // the "output" return value is not valid until after Send returns without error. 4168 // 4169 // See DeletePartitionIndex for more information on using the DeletePartitionIndex 4170 // API call, and error handling. 4171 // 4172 // This method is useful when you want to inject custom logic or configuration 4173 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4174 // 4175 // 4176 // // Example sending a request using the DeletePartitionIndexRequest method. 4177 // req, resp := client.DeletePartitionIndexRequest(params) 4178 // 4179 // err := req.Send() 4180 // if err == nil { // resp is now filled 4181 // fmt.Println(resp) 4182 // } 4183 // 4184 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndex 4185 func (c *Glue) DeletePartitionIndexRequest(input *DeletePartitionIndexInput) (req *request.Request, output *DeletePartitionIndexOutput) { 4186 op := &request.Operation{ 4187 Name: opDeletePartitionIndex, 4188 HTTPMethod: "POST", 4189 HTTPPath: "/", 4190 } 4191 4192 if input == nil { 4193 input = &DeletePartitionIndexInput{} 4194 } 4195 4196 output = &DeletePartitionIndexOutput{} 4197 req = c.newRequest(op, input, output) 4198 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4199 return 4200 } 4201 4202 // DeletePartitionIndex API operation for AWS Glue. 4203 // 4204 // Deletes a specified partition index from an existing table. 4205 // 4206 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4207 // with awserr.Error's Code and Message methods to get detailed information about 4208 // the error. 4209 // 4210 // See the AWS API reference guide for AWS Glue's 4211 // API operation DeletePartitionIndex for usage and error information. 4212 // 4213 // Returned Error Types: 4214 // * InternalServiceException 4215 // An internal service error occurred. 4216 // 4217 // * OperationTimeoutException 4218 // The operation timed out. 4219 // 4220 // * InvalidInputException 4221 // The input provided was not valid. 4222 // 4223 // * EntityNotFoundException 4224 // A specified entity does not exist 4225 // 4226 // * ConflictException 4227 // The CreatePartitions API was called on a table that has indexes enabled. 4228 // 4229 // * EncryptionException 4230 // An encryption operation failed. 4231 // 4232 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndex 4233 func (c *Glue) DeletePartitionIndex(input *DeletePartitionIndexInput) (*DeletePartitionIndexOutput, error) { 4234 req, out := c.DeletePartitionIndexRequest(input) 4235 return out, req.Send() 4236 } 4237 4238 // DeletePartitionIndexWithContext is the same as DeletePartitionIndex with the addition of 4239 // the ability to pass a context and additional request options. 4240 // 4241 // See DeletePartitionIndex for details on how to use this API operation. 4242 // 4243 // The context must be non-nil and will be used for request cancellation. If 4244 // the context is nil a panic will occur. In the future the SDK may create 4245 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4246 // for more information on using Contexts. 4247 func (c *Glue) DeletePartitionIndexWithContext(ctx aws.Context, input *DeletePartitionIndexInput, opts ...request.Option) (*DeletePartitionIndexOutput, error) { 4248 req, out := c.DeletePartitionIndexRequest(input) 4249 req.SetContext(ctx) 4250 req.ApplyOptions(opts...) 4251 return out, req.Send() 4252 } 4253 4254 const opDeleteRegistry = "DeleteRegistry" 4255 4256 // DeleteRegistryRequest generates a "aws/request.Request" representing the 4257 // client's request for the DeleteRegistry operation. The "output" return 4258 // value will be populated with the request's response once the request completes 4259 // successfully. 4260 // 4261 // Use "Send" method on the returned Request to send the API call to the service. 4262 // the "output" return value is not valid until after Send returns without error. 4263 // 4264 // See DeleteRegistry for more information on using the DeleteRegistry 4265 // API call, and error handling. 4266 // 4267 // This method is useful when you want to inject custom logic or configuration 4268 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4269 // 4270 // 4271 // // Example sending a request using the DeleteRegistryRequest method. 4272 // req, resp := client.DeleteRegistryRequest(params) 4273 // 4274 // err := req.Send() 4275 // if err == nil { // resp is now filled 4276 // fmt.Println(resp) 4277 // } 4278 // 4279 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry 4280 func (c *Glue) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.Request, output *DeleteRegistryOutput) { 4281 op := &request.Operation{ 4282 Name: opDeleteRegistry, 4283 HTTPMethod: "POST", 4284 HTTPPath: "/", 4285 } 4286 4287 if input == nil { 4288 input = &DeleteRegistryInput{} 4289 } 4290 4291 output = &DeleteRegistryOutput{} 4292 req = c.newRequest(op, input, output) 4293 return 4294 } 4295 4296 // DeleteRegistry API operation for AWS Glue. 4297 // 4298 // Delete the entire registry including schema and all of its versions. To get 4299 // the status of the delete operation, you can call the GetRegistry API after 4300 // the asynchronous call. Deleting a registry will deactivate all online operations 4301 // for the registry such as the UpdateRegistry, CreateSchema, UpdateSchema, 4302 // and RegisterSchemaVersion APIs. 4303 // 4304 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4305 // with awserr.Error's Code and Message methods to get detailed information about 4306 // the error. 4307 // 4308 // See the AWS API reference guide for AWS Glue's 4309 // API operation DeleteRegistry for usage and error information. 4310 // 4311 // Returned Error Types: 4312 // * InvalidInputException 4313 // The input provided was not valid. 4314 // 4315 // * EntityNotFoundException 4316 // A specified entity does not exist 4317 // 4318 // * AccessDeniedException 4319 // Access to a resource was denied. 4320 // 4321 // * ConcurrentModificationException 4322 // Two processes are trying to modify a resource simultaneously. 4323 // 4324 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry 4325 func (c *Glue) DeleteRegistry(input *DeleteRegistryInput) (*DeleteRegistryOutput, error) { 4326 req, out := c.DeleteRegistryRequest(input) 4327 return out, req.Send() 4328 } 4329 4330 // DeleteRegistryWithContext is the same as DeleteRegistry with the addition of 4331 // the ability to pass a context and additional request options. 4332 // 4333 // See DeleteRegistry for details on how to use this API operation. 4334 // 4335 // The context must be non-nil and will be used for request cancellation. If 4336 // the context is nil a panic will occur. In the future the SDK may create 4337 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4338 // for more information on using Contexts. 4339 func (c *Glue) DeleteRegistryWithContext(ctx aws.Context, input *DeleteRegistryInput, opts ...request.Option) (*DeleteRegistryOutput, error) { 4340 req, out := c.DeleteRegistryRequest(input) 4341 req.SetContext(ctx) 4342 req.ApplyOptions(opts...) 4343 return out, req.Send() 4344 } 4345 4346 const opDeleteResourcePolicy = "DeleteResourcePolicy" 4347 4348 // DeleteResourcePolicyRequest generates a "aws/request.Request" representing the 4349 // client's request for the DeleteResourcePolicy operation. The "output" return 4350 // value will be populated with the request's response once the request completes 4351 // successfully. 4352 // 4353 // Use "Send" method on the returned Request to send the API call to the service. 4354 // the "output" return value is not valid until after Send returns without error. 4355 // 4356 // See DeleteResourcePolicy for more information on using the DeleteResourcePolicy 4357 // API call, and error handling. 4358 // 4359 // This method is useful when you want to inject custom logic or configuration 4360 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4361 // 4362 // 4363 // // Example sending a request using the DeleteResourcePolicyRequest method. 4364 // req, resp := client.DeleteResourcePolicyRequest(params) 4365 // 4366 // err := req.Send() 4367 // if err == nil { // resp is now filled 4368 // fmt.Println(resp) 4369 // } 4370 // 4371 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy 4372 func (c *Glue) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { 4373 op := &request.Operation{ 4374 Name: opDeleteResourcePolicy, 4375 HTTPMethod: "POST", 4376 HTTPPath: "/", 4377 } 4378 4379 if input == nil { 4380 input = &DeleteResourcePolicyInput{} 4381 } 4382 4383 output = &DeleteResourcePolicyOutput{} 4384 req = c.newRequest(op, input, output) 4385 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4386 return 4387 } 4388 4389 // DeleteResourcePolicy API operation for AWS Glue. 4390 // 4391 // Deletes a specified policy. 4392 // 4393 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4394 // with awserr.Error's Code and Message methods to get detailed information about 4395 // the error. 4396 // 4397 // See the AWS API reference guide for AWS Glue's 4398 // API operation DeleteResourcePolicy for usage and error information. 4399 // 4400 // Returned Error Types: 4401 // * EntityNotFoundException 4402 // A specified entity does not exist 4403 // 4404 // * InternalServiceException 4405 // An internal service error occurred. 4406 // 4407 // * OperationTimeoutException 4408 // The operation timed out. 4409 // 4410 // * InvalidInputException 4411 // The input provided was not valid. 4412 // 4413 // * ConditionCheckFailureException 4414 // A specified condition was not satisfied. 4415 // 4416 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy 4417 func (c *Glue) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { 4418 req, out := c.DeleteResourcePolicyRequest(input) 4419 return out, req.Send() 4420 } 4421 4422 // DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of 4423 // the ability to pass a context and additional request options. 4424 // 4425 // See DeleteResourcePolicy for details on how to use this API operation. 4426 // 4427 // The context must be non-nil and will be used for request cancellation. If 4428 // the context is nil a panic will occur. In the future the SDK may create 4429 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4430 // for more information on using Contexts. 4431 func (c *Glue) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) { 4432 req, out := c.DeleteResourcePolicyRequest(input) 4433 req.SetContext(ctx) 4434 req.ApplyOptions(opts...) 4435 return out, req.Send() 4436 } 4437 4438 const opDeleteSchema = "DeleteSchema" 4439 4440 // DeleteSchemaRequest generates a "aws/request.Request" representing the 4441 // client's request for the DeleteSchema operation. The "output" return 4442 // value will be populated with the request's response once the request completes 4443 // successfully. 4444 // 4445 // Use "Send" method on the returned Request to send the API call to the service. 4446 // the "output" return value is not valid until after Send returns without error. 4447 // 4448 // See DeleteSchema for more information on using the DeleteSchema 4449 // API call, and error handling. 4450 // 4451 // This method is useful when you want to inject custom logic or configuration 4452 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4453 // 4454 // 4455 // // Example sending a request using the DeleteSchemaRequest method. 4456 // req, resp := client.DeleteSchemaRequest(params) 4457 // 4458 // err := req.Send() 4459 // if err == nil { // resp is now filled 4460 // fmt.Println(resp) 4461 // } 4462 // 4463 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema 4464 func (c *Glue) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) { 4465 op := &request.Operation{ 4466 Name: opDeleteSchema, 4467 HTTPMethod: "POST", 4468 HTTPPath: "/", 4469 } 4470 4471 if input == nil { 4472 input = &DeleteSchemaInput{} 4473 } 4474 4475 output = &DeleteSchemaOutput{} 4476 req = c.newRequest(op, input, output) 4477 return 4478 } 4479 4480 // DeleteSchema API operation for AWS Glue. 4481 // 4482 // Deletes the entire schema set, including the schema set and all of its versions. 4483 // To get the status of the delete operation, you can call GetSchema API after 4484 // the asynchronous call. Deleting a registry will deactivate all online operations 4485 // for the schema, such as the GetSchemaByDefinition, and RegisterSchemaVersion 4486 // APIs. 4487 // 4488 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4489 // with awserr.Error's Code and Message methods to get detailed information about 4490 // the error. 4491 // 4492 // See the AWS API reference guide for AWS Glue's 4493 // API operation DeleteSchema for usage and error information. 4494 // 4495 // Returned Error Types: 4496 // * InvalidInputException 4497 // The input provided was not valid. 4498 // 4499 // * EntityNotFoundException 4500 // A specified entity does not exist 4501 // 4502 // * AccessDeniedException 4503 // Access to a resource was denied. 4504 // 4505 // * ConcurrentModificationException 4506 // Two processes are trying to modify a resource simultaneously. 4507 // 4508 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema 4509 func (c *Glue) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) { 4510 req, out := c.DeleteSchemaRequest(input) 4511 return out, req.Send() 4512 } 4513 4514 // DeleteSchemaWithContext is the same as DeleteSchema with the addition of 4515 // the ability to pass a context and additional request options. 4516 // 4517 // See DeleteSchema for details on how to use this API operation. 4518 // 4519 // The context must be non-nil and will be used for request cancellation. If 4520 // the context is nil a panic will occur. In the future the SDK may create 4521 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4522 // for more information on using Contexts. 4523 func (c *Glue) DeleteSchemaWithContext(ctx aws.Context, input *DeleteSchemaInput, opts ...request.Option) (*DeleteSchemaOutput, error) { 4524 req, out := c.DeleteSchemaRequest(input) 4525 req.SetContext(ctx) 4526 req.ApplyOptions(opts...) 4527 return out, req.Send() 4528 } 4529 4530 const opDeleteSchemaVersions = "DeleteSchemaVersions" 4531 4532 // DeleteSchemaVersionsRequest generates a "aws/request.Request" representing the 4533 // client's request for the DeleteSchemaVersions operation. The "output" return 4534 // value will be populated with the request's response once the request completes 4535 // successfully. 4536 // 4537 // Use "Send" method on the returned Request to send the API call to the service. 4538 // the "output" return value is not valid until after Send returns without error. 4539 // 4540 // See DeleteSchemaVersions for more information on using the DeleteSchemaVersions 4541 // API call, and error handling. 4542 // 4543 // This method is useful when you want to inject custom logic or configuration 4544 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4545 // 4546 // 4547 // // Example sending a request using the DeleteSchemaVersionsRequest method. 4548 // req, resp := client.DeleteSchemaVersionsRequest(params) 4549 // 4550 // err := req.Send() 4551 // if err == nil { // resp is now filled 4552 // fmt.Println(resp) 4553 // } 4554 // 4555 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions 4556 func (c *Glue) DeleteSchemaVersionsRequest(input *DeleteSchemaVersionsInput) (req *request.Request, output *DeleteSchemaVersionsOutput) { 4557 op := &request.Operation{ 4558 Name: opDeleteSchemaVersions, 4559 HTTPMethod: "POST", 4560 HTTPPath: "/", 4561 } 4562 4563 if input == nil { 4564 input = &DeleteSchemaVersionsInput{} 4565 } 4566 4567 output = &DeleteSchemaVersionsOutput{} 4568 req = c.newRequest(op, input, output) 4569 return 4570 } 4571 4572 // DeleteSchemaVersions API operation for AWS Glue. 4573 // 4574 // Remove versions from the specified schema. A version number or range may 4575 // be supplied. If the compatibility mode forbids deleting of a version that 4576 // is necessary, such as BACKWARDS_FULL, an error is returned. Calling the GetSchemaVersions 4577 // API after this call will list the status of the deleted versions. 4578 // 4579 // When the range of version numbers contain check pointed version, the API 4580 // will return a 409 conflict and will not proceed with the deletion. You have 4581 // to remove the checkpoint first using the DeleteSchemaCheckpoint API before 4582 // using this API. 4583 // 4584 // You cannot use the DeleteSchemaVersions API to delete the first schema version 4585 // in the schema set. The first schema version can only be deleted by the DeleteSchema 4586 // API. This operation will also delete the attached SchemaVersionMetadata under 4587 // the schema versions. Hard deletes will be enforced on the database. 4588 // 4589 // If the compatibility mode forbids deleting of a version that is necessary, 4590 // such as BACKWARDS_FULL, an error is returned. 4591 // 4592 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4593 // with awserr.Error's Code and Message methods to get detailed information about 4594 // the error. 4595 // 4596 // See the AWS API reference guide for AWS Glue's 4597 // API operation DeleteSchemaVersions for usage and error information. 4598 // 4599 // Returned Error Types: 4600 // * InvalidInputException 4601 // The input provided was not valid. 4602 // 4603 // * EntityNotFoundException 4604 // A specified entity does not exist 4605 // 4606 // * AccessDeniedException 4607 // Access to a resource was denied. 4608 // 4609 // * ConcurrentModificationException 4610 // Two processes are trying to modify a resource simultaneously. 4611 // 4612 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions 4613 func (c *Glue) DeleteSchemaVersions(input *DeleteSchemaVersionsInput) (*DeleteSchemaVersionsOutput, error) { 4614 req, out := c.DeleteSchemaVersionsRequest(input) 4615 return out, req.Send() 4616 } 4617 4618 // DeleteSchemaVersionsWithContext is the same as DeleteSchemaVersions with the addition of 4619 // the ability to pass a context and additional request options. 4620 // 4621 // See DeleteSchemaVersions for details on how to use this API operation. 4622 // 4623 // The context must be non-nil and will be used for request cancellation. If 4624 // the context is nil a panic will occur. In the future the SDK may create 4625 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4626 // for more information on using Contexts. 4627 func (c *Glue) DeleteSchemaVersionsWithContext(ctx aws.Context, input *DeleteSchemaVersionsInput, opts ...request.Option) (*DeleteSchemaVersionsOutput, error) { 4628 req, out := c.DeleteSchemaVersionsRequest(input) 4629 req.SetContext(ctx) 4630 req.ApplyOptions(opts...) 4631 return out, req.Send() 4632 } 4633 4634 const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration" 4635 4636 // DeleteSecurityConfigurationRequest generates a "aws/request.Request" representing the 4637 // client's request for the DeleteSecurityConfiguration operation. The "output" return 4638 // value will be populated with the request's response once the request completes 4639 // successfully. 4640 // 4641 // Use "Send" method on the returned Request to send the API call to the service. 4642 // the "output" return value is not valid until after Send returns without error. 4643 // 4644 // See DeleteSecurityConfiguration for more information on using the DeleteSecurityConfiguration 4645 // API call, and error handling. 4646 // 4647 // This method is useful when you want to inject custom logic or configuration 4648 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4649 // 4650 // 4651 // // Example sending a request using the DeleteSecurityConfigurationRequest method. 4652 // req, resp := client.DeleteSecurityConfigurationRequest(params) 4653 // 4654 // err := req.Send() 4655 // if err == nil { // resp is now filled 4656 // fmt.Println(resp) 4657 // } 4658 // 4659 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration 4660 func (c *Glue) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) { 4661 op := &request.Operation{ 4662 Name: opDeleteSecurityConfiguration, 4663 HTTPMethod: "POST", 4664 HTTPPath: "/", 4665 } 4666 4667 if input == nil { 4668 input = &DeleteSecurityConfigurationInput{} 4669 } 4670 4671 output = &DeleteSecurityConfigurationOutput{} 4672 req = c.newRequest(op, input, output) 4673 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4674 return 4675 } 4676 4677 // DeleteSecurityConfiguration API operation for AWS Glue. 4678 // 4679 // Deletes a specified security configuration. 4680 // 4681 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4682 // with awserr.Error's Code and Message methods to get detailed information about 4683 // the error. 4684 // 4685 // See the AWS API reference guide for AWS Glue's 4686 // API operation DeleteSecurityConfiguration for usage and error information. 4687 // 4688 // Returned Error Types: 4689 // * EntityNotFoundException 4690 // A specified entity does not exist 4691 // 4692 // * InvalidInputException 4693 // The input provided was not valid. 4694 // 4695 // * InternalServiceException 4696 // An internal service error occurred. 4697 // 4698 // * OperationTimeoutException 4699 // The operation timed out. 4700 // 4701 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration 4702 func (c *Glue) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) { 4703 req, out := c.DeleteSecurityConfigurationRequest(input) 4704 return out, req.Send() 4705 } 4706 4707 // DeleteSecurityConfigurationWithContext is the same as DeleteSecurityConfiguration with the addition of 4708 // the ability to pass a context and additional request options. 4709 // 4710 // See DeleteSecurityConfiguration for details on how to use this API operation. 4711 // 4712 // The context must be non-nil and will be used for request cancellation. If 4713 // the context is nil a panic will occur. In the future the SDK may create 4714 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4715 // for more information on using Contexts. 4716 func (c *Glue) DeleteSecurityConfigurationWithContext(ctx aws.Context, input *DeleteSecurityConfigurationInput, opts ...request.Option) (*DeleteSecurityConfigurationOutput, error) { 4717 req, out := c.DeleteSecurityConfigurationRequest(input) 4718 req.SetContext(ctx) 4719 req.ApplyOptions(opts...) 4720 return out, req.Send() 4721 } 4722 4723 const opDeleteTable = "DeleteTable" 4724 4725 // DeleteTableRequest generates a "aws/request.Request" representing the 4726 // client's request for the DeleteTable operation. The "output" return 4727 // value will be populated with the request's response once the request completes 4728 // successfully. 4729 // 4730 // Use "Send" method on the returned Request to send the API call to the service. 4731 // the "output" return value is not valid until after Send returns without error. 4732 // 4733 // See DeleteTable for more information on using the DeleteTable 4734 // API call, and error handling. 4735 // 4736 // This method is useful when you want to inject custom logic or configuration 4737 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4738 // 4739 // 4740 // // Example sending a request using the DeleteTableRequest method. 4741 // req, resp := client.DeleteTableRequest(params) 4742 // 4743 // err := req.Send() 4744 // if err == nil { // resp is now filled 4745 // fmt.Println(resp) 4746 // } 4747 // 4748 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable 4749 func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { 4750 op := &request.Operation{ 4751 Name: opDeleteTable, 4752 HTTPMethod: "POST", 4753 HTTPPath: "/", 4754 } 4755 4756 if input == nil { 4757 input = &DeleteTableInput{} 4758 } 4759 4760 output = &DeleteTableOutput{} 4761 req = c.newRequest(op, input, output) 4762 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4763 return 4764 } 4765 4766 // DeleteTable API operation for AWS Glue. 4767 // 4768 // Removes a table definition from the Data Catalog. 4769 // 4770 // After completing this operation, you no longer have access to the table versions 4771 // and partitions that belong to the deleted table. Glue deletes these "orphaned" 4772 // resources asynchronously in a timely manner, at the discretion of the service. 4773 // 4774 // To ensure the immediate deletion of all related resources, before calling 4775 // DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition 4776 // or BatchDeletePartition, to delete any resources that belong to the table. 4777 // 4778 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4779 // with awserr.Error's Code and Message methods to get detailed information about 4780 // the error. 4781 // 4782 // See the AWS API reference guide for AWS Glue's 4783 // API operation DeleteTable for usage and error information. 4784 // 4785 // Returned Error Types: 4786 // * EntityNotFoundException 4787 // A specified entity does not exist 4788 // 4789 // * InvalidInputException 4790 // The input provided was not valid. 4791 // 4792 // * InternalServiceException 4793 // An internal service error occurred. 4794 // 4795 // * OperationTimeoutException 4796 // The operation timed out. 4797 // 4798 // * ConcurrentModificationException 4799 // Two processes are trying to modify a resource simultaneously. 4800 // 4801 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable 4802 func (c *Glue) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { 4803 req, out := c.DeleteTableRequest(input) 4804 return out, req.Send() 4805 } 4806 4807 // DeleteTableWithContext is the same as DeleteTable with the addition of 4808 // the ability to pass a context and additional request options. 4809 // 4810 // See DeleteTable for details on how to use this API operation. 4811 // 4812 // The context must be non-nil and will be used for request cancellation. If 4813 // the context is nil a panic will occur. In the future the SDK may create 4814 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4815 // for more information on using Contexts. 4816 func (c *Glue) DeleteTableWithContext(ctx aws.Context, input *DeleteTableInput, opts ...request.Option) (*DeleteTableOutput, error) { 4817 req, out := c.DeleteTableRequest(input) 4818 req.SetContext(ctx) 4819 req.ApplyOptions(opts...) 4820 return out, req.Send() 4821 } 4822 4823 const opDeleteTableVersion = "DeleteTableVersion" 4824 4825 // DeleteTableVersionRequest generates a "aws/request.Request" representing the 4826 // client's request for the DeleteTableVersion operation. The "output" return 4827 // value will be populated with the request's response once the request completes 4828 // successfully. 4829 // 4830 // Use "Send" method on the returned Request to send the API call to the service. 4831 // the "output" return value is not valid until after Send returns without error. 4832 // 4833 // See DeleteTableVersion for more information on using the DeleteTableVersion 4834 // API call, and error handling. 4835 // 4836 // This method is useful when you want to inject custom logic or configuration 4837 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4838 // 4839 // 4840 // // Example sending a request using the DeleteTableVersionRequest method. 4841 // req, resp := client.DeleteTableVersionRequest(params) 4842 // 4843 // err := req.Send() 4844 // if err == nil { // resp is now filled 4845 // fmt.Println(resp) 4846 // } 4847 // 4848 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion 4849 func (c *Glue) DeleteTableVersionRequest(input *DeleteTableVersionInput) (req *request.Request, output *DeleteTableVersionOutput) { 4850 op := &request.Operation{ 4851 Name: opDeleteTableVersion, 4852 HTTPMethod: "POST", 4853 HTTPPath: "/", 4854 } 4855 4856 if input == nil { 4857 input = &DeleteTableVersionInput{} 4858 } 4859 4860 output = &DeleteTableVersionOutput{} 4861 req = c.newRequest(op, input, output) 4862 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4863 return 4864 } 4865 4866 // DeleteTableVersion API operation for AWS Glue. 4867 // 4868 // Deletes a specified version of a table. 4869 // 4870 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4871 // with awserr.Error's Code and Message methods to get detailed information about 4872 // the error. 4873 // 4874 // See the AWS API reference guide for AWS Glue's 4875 // API operation DeleteTableVersion for usage and error information. 4876 // 4877 // Returned Error Types: 4878 // * EntityNotFoundException 4879 // A specified entity does not exist 4880 // 4881 // * InvalidInputException 4882 // The input provided was not valid. 4883 // 4884 // * InternalServiceException 4885 // An internal service error occurred. 4886 // 4887 // * OperationTimeoutException 4888 // The operation timed out. 4889 // 4890 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion 4891 func (c *Glue) DeleteTableVersion(input *DeleteTableVersionInput) (*DeleteTableVersionOutput, error) { 4892 req, out := c.DeleteTableVersionRequest(input) 4893 return out, req.Send() 4894 } 4895 4896 // DeleteTableVersionWithContext is the same as DeleteTableVersion with the addition of 4897 // the ability to pass a context and additional request options. 4898 // 4899 // See DeleteTableVersion for details on how to use this API operation. 4900 // 4901 // The context must be non-nil and will be used for request cancellation. If 4902 // the context is nil a panic will occur. In the future the SDK may create 4903 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4904 // for more information on using Contexts. 4905 func (c *Glue) DeleteTableVersionWithContext(ctx aws.Context, input *DeleteTableVersionInput, opts ...request.Option) (*DeleteTableVersionOutput, error) { 4906 req, out := c.DeleteTableVersionRequest(input) 4907 req.SetContext(ctx) 4908 req.ApplyOptions(opts...) 4909 return out, req.Send() 4910 } 4911 4912 const opDeleteTrigger = "DeleteTrigger" 4913 4914 // DeleteTriggerRequest generates a "aws/request.Request" representing the 4915 // client's request for the DeleteTrigger operation. The "output" return 4916 // value will be populated with the request's response once the request completes 4917 // successfully. 4918 // 4919 // Use "Send" method on the returned Request to send the API call to the service. 4920 // the "output" return value is not valid until after Send returns without error. 4921 // 4922 // See DeleteTrigger for more information on using the DeleteTrigger 4923 // API call, and error handling. 4924 // 4925 // This method is useful when you want to inject custom logic or configuration 4926 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4927 // 4928 // 4929 // // Example sending a request using the DeleteTriggerRequest method. 4930 // req, resp := client.DeleteTriggerRequest(params) 4931 // 4932 // err := req.Send() 4933 // if err == nil { // resp is now filled 4934 // fmt.Println(resp) 4935 // } 4936 // 4937 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger 4938 func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Request, output *DeleteTriggerOutput) { 4939 op := &request.Operation{ 4940 Name: opDeleteTrigger, 4941 HTTPMethod: "POST", 4942 HTTPPath: "/", 4943 } 4944 4945 if input == nil { 4946 input = &DeleteTriggerInput{} 4947 } 4948 4949 output = &DeleteTriggerOutput{} 4950 req = c.newRequest(op, input, output) 4951 return 4952 } 4953 4954 // DeleteTrigger API operation for AWS Glue. 4955 // 4956 // Deletes a specified trigger. If the trigger is not found, no exception is 4957 // thrown. 4958 // 4959 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4960 // with awserr.Error's Code and Message methods to get detailed information about 4961 // the error. 4962 // 4963 // See the AWS API reference guide for AWS Glue's 4964 // API operation DeleteTrigger for usage and error information. 4965 // 4966 // Returned Error Types: 4967 // * InvalidInputException 4968 // The input provided was not valid. 4969 // 4970 // * InternalServiceException 4971 // An internal service error occurred. 4972 // 4973 // * OperationTimeoutException 4974 // The operation timed out. 4975 // 4976 // * ConcurrentModificationException 4977 // Two processes are trying to modify a resource simultaneously. 4978 // 4979 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger 4980 func (c *Glue) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error) { 4981 req, out := c.DeleteTriggerRequest(input) 4982 return out, req.Send() 4983 } 4984 4985 // DeleteTriggerWithContext is the same as DeleteTrigger with the addition of 4986 // the ability to pass a context and additional request options. 4987 // 4988 // See DeleteTrigger for details on how to use this API operation. 4989 // 4990 // The context must be non-nil and will be used for request cancellation. If 4991 // the context is nil a panic will occur. In the future the SDK may create 4992 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4993 // for more information on using Contexts. 4994 func (c *Glue) DeleteTriggerWithContext(ctx aws.Context, input *DeleteTriggerInput, opts ...request.Option) (*DeleteTriggerOutput, error) { 4995 req, out := c.DeleteTriggerRequest(input) 4996 req.SetContext(ctx) 4997 req.ApplyOptions(opts...) 4998 return out, req.Send() 4999 } 5000 5001 const opDeleteUserDefinedFunction = "DeleteUserDefinedFunction" 5002 5003 // DeleteUserDefinedFunctionRequest generates a "aws/request.Request" representing the 5004 // client's request for the DeleteUserDefinedFunction operation. The "output" return 5005 // value will be populated with the request's response once the request completes 5006 // successfully. 5007 // 5008 // Use "Send" method on the returned Request to send the API call to the service. 5009 // the "output" return value is not valid until after Send returns without error. 5010 // 5011 // See DeleteUserDefinedFunction for more information on using the DeleteUserDefinedFunction 5012 // API call, and error handling. 5013 // 5014 // This method is useful when you want to inject custom logic or configuration 5015 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5016 // 5017 // 5018 // // Example sending a request using the DeleteUserDefinedFunctionRequest method. 5019 // req, resp := client.DeleteUserDefinedFunctionRequest(params) 5020 // 5021 // err := req.Send() 5022 // if err == nil { // resp is now filled 5023 // fmt.Println(resp) 5024 // } 5025 // 5026 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction 5027 func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunctionInput) (req *request.Request, output *DeleteUserDefinedFunctionOutput) { 5028 op := &request.Operation{ 5029 Name: opDeleteUserDefinedFunction, 5030 HTTPMethod: "POST", 5031 HTTPPath: "/", 5032 } 5033 5034 if input == nil { 5035 input = &DeleteUserDefinedFunctionInput{} 5036 } 5037 5038 output = &DeleteUserDefinedFunctionOutput{} 5039 req = c.newRequest(op, input, output) 5040 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5041 return 5042 } 5043 5044 // DeleteUserDefinedFunction API operation for AWS Glue. 5045 // 5046 // Deletes an existing function definition from the Data Catalog. 5047 // 5048 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5049 // with awserr.Error's Code and Message methods to get detailed information about 5050 // the error. 5051 // 5052 // See the AWS API reference guide for AWS Glue's 5053 // API operation DeleteUserDefinedFunction for usage and error information. 5054 // 5055 // Returned Error Types: 5056 // * EntityNotFoundException 5057 // A specified entity does not exist 5058 // 5059 // * InvalidInputException 5060 // The input provided was not valid. 5061 // 5062 // * InternalServiceException 5063 // An internal service error occurred. 5064 // 5065 // * OperationTimeoutException 5066 // The operation timed out. 5067 // 5068 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction 5069 func (c *Glue) DeleteUserDefinedFunction(input *DeleteUserDefinedFunctionInput) (*DeleteUserDefinedFunctionOutput, error) { 5070 req, out := c.DeleteUserDefinedFunctionRequest(input) 5071 return out, req.Send() 5072 } 5073 5074 // DeleteUserDefinedFunctionWithContext is the same as DeleteUserDefinedFunction with the addition of 5075 // the ability to pass a context and additional request options. 5076 // 5077 // See DeleteUserDefinedFunction for details on how to use this API operation. 5078 // 5079 // The context must be non-nil and will be used for request cancellation. If 5080 // the context is nil a panic will occur. In the future the SDK may create 5081 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5082 // for more information on using Contexts. 5083 func (c *Glue) DeleteUserDefinedFunctionWithContext(ctx aws.Context, input *DeleteUserDefinedFunctionInput, opts ...request.Option) (*DeleteUserDefinedFunctionOutput, error) { 5084 req, out := c.DeleteUserDefinedFunctionRequest(input) 5085 req.SetContext(ctx) 5086 req.ApplyOptions(opts...) 5087 return out, req.Send() 5088 } 5089 5090 const opDeleteWorkflow = "DeleteWorkflow" 5091 5092 // DeleteWorkflowRequest generates a "aws/request.Request" representing the 5093 // client's request for the DeleteWorkflow operation. The "output" return 5094 // value will be populated with the request's response once the request completes 5095 // successfully. 5096 // 5097 // Use "Send" method on the returned Request to send the API call to the service. 5098 // the "output" return value is not valid until after Send returns without error. 5099 // 5100 // See DeleteWorkflow for more information on using the DeleteWorkflow 5101 // API call, and error handling. 5102 // 5103 // This method is useful when you want to inject custom logic or configuration 5104 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5105 // 5106 // 5107 // // Example sending a request using the DeleteWorkflowRequest method. 5108 // req, resp := client.DeleteWorkflowRequest(params) 5109 // 5110 // err := req.Send() 5111 // if err == nil { // resp is now filled 5112 // fmt.Println(resp) 5113 // } 5114 // 5115 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow 5116 func (c *Glue) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) { 5117 op := &request.Operation{ 5118 Name: opDeleteWorkflow, 5119 HTTPMethod: "POST", 5120 HTTPPath: "/", 5121 } 5122 5123 if input == nil { 5124 input = &DeleteWorkflowInput{} 5125 } 5126 5127 output = &DeleteWorkflowOutput{} 5128 req = c.newRequest(op, input, output) 5129 return 5130 } 5131 5132 // DeleteWorkflow API operation for AWS Glue. 5133 // 5134 // Deletes a workflow. 5135 // 5136 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5137 // with awserr.Error's Code and Message methods to get detailed information about 5138 // the error. 5139 // 5140 // See the AWS API reference guide for AWS Glue's 5141 // API operation DeleteWorkflow for usage and error information. 5142 // 5143 // Returned Error Types: 5144 // * InvalidInputException 5145 // The input provided was not valid. 5146 // 5147 // * InternalServiceException 5148 // An internal service error occurred. 5149 // 5150 // * OperationTimeoutException 5151 // The operation timed out. 5152 // 5153 // * ConcurrentModificationException 5154 // Two processes are trying to modify a resource simultaneously. 5155 // 5156 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow 5157 func (c *Glue) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { 5158 req, out := c.DeleteWorkflowRequest(input) 5159 return out, req.Send() 5160 } 5161 5162 // DeleteWorkflowWithContext is the same as DeleteWorkflow with the addition of 5163 // the ability to pass a context and additional request options. 5164 // 5165 // See DeleteWorkflow for details on how to use this API operation. 5166 // 5167 // The context must be non-nil and will be used for request cancellation. If 5168 // the context is nil a panic will occur. In the future the SDK may create 5169 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5170 // for more information on using Contexts. 5171 func (c *Glue) DeleteWorkflowWithContext(ctx aws.Context, input *DeleteWorkflowInput, opts ...request.Option) (*DeleteWorkflowOutput, error) { 5172 req, out := c.DeleteWorkflowRequest(input) 5173 req.SetContext(ctx) 5174 req.ApplyOptions(opts...) 5175 return out, req.Send() 5176 } 5177 5178 const opGetBlueprint = "GetBlueprint" 5179 5180 // GetBlueprintRequest generates a "aws/request.Request" representing the 5181 // client's request for the GetBlueprint operation. The "output" return 5182 // value will be populated with the request's response once the request completes 5183 // successfully. 5184 // 5185 // Use "Send" method on the returned Request to send the API call to the service. 5186 // the "output" return value is not valid until after Send returns without error. 5187 // 5188 // See GetBlueprint for more information on using the GetBlueprint 5189 // API call, and error handling. 5190 // 5191 // This method is useful when you want to inject custom logic or configuration 5192 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5193 // 5194 // 5195 // // Example sending a request using the GetBlueprintRequest method. 5196 // req, resp := client.GetBlueprintRequest(params) 5197 // 5198 // err := req.Send() 5199 // if err == nil { // resp is now filled 5200 // fmt.Println(resp) 5201 // } 5202 // 5203 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprint 5204 func (c *Glue) GetBlueprintRequest(input *GetBlueprintInput) (req *request.Request, output *GetBlueprintOutput) { 5205 op := &request.Operation{ 5206 Name: opGetBlueprint, 5207 HTTPMethod: "POST", 5208 HTTPPath: "/", 5209 } 5210 5211 if input == nil { 5212 input = &GetBlueprintInput{} 5213 } 5214 5215 output = &GetBlueprintOutput{} 5216 req = c.newRequest(op, input, output) 5217 return 5218 } 5219 5220 // GetBlueprint API operation for AWS Glue. 5221 // 5222 // Retrieves the details of a blueprint. 5223 // 5224 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5225 // with awserr.Error's Code and Message methods to get detailed information about 5226 // the error. 5227 // 5228 // See the AWS API reference guide for AWS Glue's 5229 // API operation GetBlueprint for usage and error information. 5230 // 5231 // Returned Error Types: 5232 // * EntityNotFoundException 5233 // A specified entity does not exist 5234 // 5235 // * InvalidInputException 5236 // The input provided was not valid. 5237 // 5238 // * OperationTimeoutException 5239 // The operation timed out. 5240 // 5241 // * InternalServiceException 5242 // An internal service error occurred. 5243 // 5244 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprint 5245 func (c *Glue) GetBlueprint(input *GetBlueprintInput) (*GetBlueprintOutput, error) { 5246 req, out := c.GetBlueprintRequest(input) 5247 return out, req.Send() 5248 } 5249 5250 // GetBlueprintWithContext is the same as GetBlueprint with the addition of 5251 // the ability to pass a context and additional request options. 5252 // 5253 // See GetBlueprint for details on how to use this API operation. 5254 // 5255 // The context must be non-nil and will be used for request cancellation. If 5256 // the context is nil a panic will occur. In the future the SDK may create 5257 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5258 // for more information on using Contexts. 5259 func (c *Glue) GetBlueprintWithContext(ctx aws.Context, input *GetBlueprintInput, opts ...request.Option) (*GetBlueprintOutput, error) { 5260 req, out := c.GetBlueprintRequest(input) 5261 req.SetContext(ctx) 5262 req.ApplyOptions(opts...) 5263 return out, req.Send() 5264 } 5265 5266 const opGetBlueprintRun = "GetBlueprintRun" 5267 5268 // GetBlueprintRunRequest generates a "aws/request.Request" representing the 5269 // client's request for the GetBlueprintRun operation. The "output" return 5270 // value will be populated with the request's response once the request completes 5271 // successfully. 5272 // 5273 // Use "Send" method on the returned Request to send the API call to the service. 5274 // the "output" return value is not valid until after Send returns without error. 5275 // 5276 // See GetBlueprintRun for more information on using the GetBlueprintRun 5277 // API call, and error handling. 5278 // 5279 // This method is useful when you want to inject custom logic or configuration 5280 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5281 // 5282 // 5283 // // Example sending a request using the GetBlueprintRunRequest method. 5284 // req, resp := client.GetBlueprintRunRequest(params) 5285 // 5286 // err := req.Send() 5287 // if err == nil { // resp is now filled 5288 // fmt.Println(resp) 5289 // } 5290 // 5291 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRun 5292 func (c *Glue) GetBlueprintRunRequest(input *GetBlueprintRunInput) (req *request.Request, output *GetBlueprintRunOutput) { 5293 op := &request.Operation{ 5294 Name: opGetBlueprintRun, 5295 HTTPMethod: "POST", 5296 HTTPPath: "/", 5297 } 5298 5299 if input == nil { 5300 input = &GetBlueprintRunInput{} 5301 } 5302 5303 output = &GetBlueprintRunOutput{} 5304 req = c.newRequest(op, input, output) 5305 return 5306 } 5307 5308 // GetBlueprintRun API operation for AWS Glue. 5309 // 5310 // Retrieves the details of a blueprint run. 5311 // 5312 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5313 // with awserr.Error's Code and Message methods to get detailed information about 5314 // the error. 5315 // 5316 // See the AWS API reference guide for AWS Glue's 5317 // API operation GetBlueprintRun for usage and error information. 5318 // 5319 // Returned Error Types: 5320 // * EntityNotFoundException 5321 // A specified entity does not exist 5322 // 5323 // * InternalServiceException 5324 // An internal service error occurred. 5325 // 5326 // * OperationTimeoutException 5327 // The operation timed out. 5328 // 5329 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRun 5330 func (c *Glue) GetBlueprintRun(input *GetBlueprintRunInput) (*GetBlueprintRunOutput, error) { 5331 req, out := c.GetBlueprintRunRequest(input) 5332 return out, req.Send() 5333 } 5334 5335 // GetBlueprintRunWithContext is the same as GetBlueprintRun with the addition of 5336 // the ability to pass a context and additional request options. 5337 // 5338 // See GetBlueprintRun for details on how to use this API operation. 5339 // 5340 // The context must be non-nil and will be used for request cancellation. If 5341 // the context is nil a panic will occur. In the future the SDK may create 5342 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5343 // for more information on using Contexts. 5344 func (c *Glue) GetBlueprintRunWithContext(ctx aws.Context, input *GetBlueprintRunInput, opts ...request.Option) (*GetBlueprintRunOutput, error) { 5345 req, out := c.GetBlueprintRunRequest(input) 5346 req.SetContext(ctx) 5347 req.ApplyOptions(opts...) 5348 return out, req.Send() 5349 } 5350 5351 const opGetBlueprintRuns = "GetBlueprintRuns" 5352 5353 // GetBlueprintRunsRequest generates a "aws/request.Request" representing the 5354 // client's request for the GetBlueprintRuns operation. The "output" return 5355 // value will be populated with the request's response once the request completes 5356 // successfully. 5357 // 5358 // Use "Send" method on the returned Request to send the API call to the service. 5359 // the "output" return value is not valid until after Send returns without error. 5360 // 5361 // See GetBlueprintRuns for more information on using the GetBlueprintRuns 5362 // API call, and error handling. 5363 // 5364 // This method is useful when you want to inject custom logic or configuration 5365 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5366 // 5367 // 5368 // // Example sending a request using the GetBlueprintRunsRequest method. 5369 // req, resp := client.GetBlueprintRunsRequest(params) 5370 // 5371 // err := req.Send() 5372 // if err == nil { // resp is now filled 5373 // fmt.Println(resp) 5374 // } 5375 // 5376 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRuns 5377 func (c *Glue) GetBlueprintRunsRequest(input *GetBlueprintRunsInput) (req *request.Request, output *GetBlueprintRunsOutput) { 5378 op := &request.Operation{ 5379 Name: opGetBlueprintRuns, 5380 HTTPMethod: "POST", 5381 HTTPPath: "/", 5382 Paginator: &request.Paginator{ 5383 InputTokens: []string{"NextToken"}, 5384 OutputTokens: []string{"NextToken"}, 5385 LimitToken: "MaxResults", 5386 TruncationToken: "", 5387 }, 5388 } 5389 5390 if input == nil { 5391 input = &GetBlueprintRunsInput{} 5392 } 5393 5394 output = &GetBlueprintRunsOutput{} 5395 req = c.newRequest(op, input, output) 5396 return 5397 } 5398 5399 // GetBlueprintRuns API operation for AWS Glue. 5400 // 5401 // Retrieves the details of blueprint runs for a specified blueprint. 5402 // 5403 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5404 // with awserr.Error's Code and Message methods to get detailed information about 5405 // the error. 5406 // 5407 // See the AWS API reference guide for AWS Glue's 5408 // API operation GetBlueprintRuns for usage and error information. 5409 // 5410 // Returned Error Types: 5411 // * EntityNotFoundException 5412 // A specified entity does not exist 5413 // 5414 // * InternalServiceException 5415 // An internal service error occurred. 5416 // 5417 // * OperationTimeoutException 5418 // The operation timed out. 5419 // 5420 // * InvalidInputException 5421 // The input provided was not valid. 5422 // 5423 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRuns 5424 func (c *Glue) GetBlueprintRuns(input *GetBlueprintRunsInput) (*GetBlueprintRunsOutput, error) { 5425 req, out := c.GetBlueprintRunsRequest(input) 5426 return out, req.Send() 5427 } 5428 5429 // GetBlueprintRunsWithContext is the same as GetBlueprintRuns with the addition of 5430 // the ability to pass a context and additional request options. 5431 // 5432 // See GetBlueprintRuns for details on how to use this API operation. 5433 // 5434 // The context must be non-nil and will be used for request cancellation. If 5435 // the context is nil a panic will occur. In the future the SDK may create 5436 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5437 // for more information on using Contexts. 5438 func (c *Glue) GetBlueprintRunsWithContext(ctx aws.Context, input *GetBlueprintRunsInput, opts ...request.Option) (*GetBlueprintRunsOutput, error) { 5439 req, out := c.GetBlueprintRunsRequest(input) 5440 req.SetContext(ctx) 5441 req.ApplyOptions(opts...) 5442 return out, req.Send() 5443 } 5444 5445 // GetBlueprintRunsPages iterates over the pages of a GetBlueprintRuns operation, 5446 // calling the "fn" function with the response data for each page. To stop 5447 // iterating, return false from the fn function. 5448 // 5449 // See GetBlueprintRuns method for more information on how to use this operation. 5450 // 5451 // Note: This operation can generate multiple requests to a service. 5452 // 5453 // // Example iterating over at most 3 pages of a GetBlueprintRuns operation. 5454 // pageNum := 0 5455 // err := client.GetBlueprintRunsPages(params, 5456 // func(page *glue.GetBlueprintRunsOutput, lastPage bool) bool { 5457 // pageNum++ 5458 // fmt.Println(page) 5459 // return pageNum <= 3 5460 // }) 5461 // 5462 func (c *Glue) GetBlueprintRunsPages(input *GetBlueprintRunsInput, fn func(*GetBlueprintRunsOutput, bool) bool) error { 5463 return c.GetBlueprintRunsPagesWithContext(aws.BackgroundContext(), input, fn) 5464 } 5465 5466 // GetBlueprintRunsPagesWithContext same as GetBlueprintRunsPages except 5467 // it takes a Context and allows setting request options on the pages. 5468 // 5469 // The context must be non-nil and will be used for request cancellation. If 5470 // the context is nil a panic will occur. In the future the SDK may create 5471 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5472 // for more information on using Contexts. 5473 func (c *Glue) GetBlueprintRunsPagesWithContext(ctx aws.Context, input *GetBlueprintRunsInput, fn func(*GetBlueprintRunsOutput, bool) bool, opts ...request.Option) error { 5474 p := request.Pagination{ 5475 NewRequest: func() (*request.Request, error) { 5476 var inCpy *GetBlueprintRunsInput 5477 if input != nil { 5478 tmp := *input 5479 inCpy = &tmp 5480 } 5481 req, _ := c.GetBlueprintRunsRequest(inCpy) 5482 req.SetContext(ctx) 5483 req.ApplyOptions(opts...) 5484 return req, nil 5485 }, 5486 } 5487 5488 for p.Next() { 5489 if !fn(p.Page().(*GetBlueprintRunsOutput), !p.HasNextPage()) { 5490 break 5491 } 5492 } 5493 5494 return p.Err() 5495 } 5496 5497 const opGetCatalogImportStatus = "GetCatalogImportStatus" 5498 5499 // GetCatalogImportStatusRequest generates a "aws/request.Request" representing the 5500 // client's request for the GetCatalogImportStatus operation. The "output" return 5501 // value will be populated with the request's response once the request completes 5502 // successfully. 5503 // 5504 // Use "Send" method on the returned Request to send the API call to the service. 5505 // the "output" return value is not valid until after Send returns without error. 5506 // 5507 // See GetCatalogImportStatus for more information on using the GetCatalogImportStatus 5508 // API call, and error handling. 5509 // 5510 // This method is useful when you want to inject custom logic or configuration 5511 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5512 // 5513 // 5514 // // Example sending a request using the GetCatalogImportStatusRequest method. 5515 // req, resp := client.GetCatalogImportStatusRequest(params) 5516 // 5517 // err := req.Send() 5518 // if err == nil { // resp is now filled 5519 // fmt.Println(resp) 5520 // } 5521 // 5522 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus 5523 func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) (req *request.Request, output *GetCatalogImportStatusOutput) { 5524 op := &request.Operation{ 5525 Name: opGetCatalogImportStatus, 5526 HTTPMethod: "POST", 5527 HTTPPath: "/", 5528 } 5529 5530 if input == nil { 5531 input = &GetCatalogImportStatusInput{} 5532 } 5533 5534 output = &GetCatalogImportStatusOutput{} 5535 req = c.newRequest(op, input, output) 5536 return 5537 } 5538 5539 // GetCatalogImportStatus API operation for AWS Glue. 5540 // 5541 // Retrieves the status of a migration operation. 5542 // 5543 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5544 // with awserr.Error's Code and Message methods to get detailed information about 5545 // the error. 5546 // 5547 // See the AWS API reference guide for AWS Glue's 5548 // API operation GetCatalogImportStatus for usage and error information. 5549 // 5550 // Returned Error Types: 5551 // * InternalServiceException 5552 // An internal service error occurred. 5553 // 5554 // * OperationTimeoutException 5555 // The operation timed out. 5556 // 5557 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus 5558 func (c *Glue) GetCatalogImportStatus(input *GetCatalogImportStatusInput) (*GetCatalogImportStatusOutput, error) { 5559 req, out := c.GetCatalogImportStatusRequest(input) 5560 return out, req.Send() 5561 } 5562 5563 // GetCatalogImportStatusWithContext is the same as GetCatalogImportStatus with the addition of 5564 // the ability to pass a context and additional request options. 5565 // 5566 // See GetCatalogImportStatus for details on how to use this API operation. 5567 // 5568 // The context must be non-nil and will be used for request cancellation. If 5569 // the context is nil a panic will occur. In the future the SDK may create 5570 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5571 // for more information on using Contexts. 5572 func (c *Glue) GetCatalogImportStatusWithContext(ctx aws.Context, input *GetCatalogImportStatusInput, opts ...request.Option) (*GetCatalogImportStatusOutput, error) { 5573 req, out := c.GetCatalogImportStatusRequest(input) 5574 req.SetContext(ctx) 5575 req.ApplyOptions(opts...) 5576 return out, req.Send() 5577 } 5578 5579 const opGetClassifier = "GetClassifier" 5580 5581 // GetClassifierRequest generates a "aws/request.Request" representing the 5582 // client's request for the GetClassifier operation. The "output" return 5583 // value will be populated with the request's response once the request completes 5584 // successfully. 5585 // 5586 // Use "Send" method on the returned Request to send the API call to the service. 5587 // the "output" return value is not valid until after Send returns without error. 5588 // 5589 // See GetClassifier for more information on using the GetClassifier 5590 // API call, and error handling. 5591 // 5592 // This method is useful when you want to inject custom logic or configuration 5593 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5594 // 5595 // 5596 // // Example sending a request using the GetClassifierRequest method. 5597 // req, resp := client.GetClassifierRequest(params) 5598 // 5599 // err := req.Send() 5600 // if err == nil { // resp is now filled 5601 // fmt.Println(resp) 5602 // } 5603 // 5604 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier 5605 func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Request, output *GetClassifierOutput) { 5606 op := &request.Operation{ 5607 Name: opGetClassifier, 5608 HTTPMethod: "POST", 5609 HTTPPath: "/", 5610 } 5611 5612 if input == nil { 5613 input = &GetClassifierInput{} 5614 } 5615 5616 output = &GetClassifierOutput{} 5617 req = c.newRequest(op, input, output) 5618 return 5619 } 5620 5621 // GetClassifier API operation for AWS Glue. 5622 // 5623 // Retrieve a classifier by name. 5624 // 5625 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5626 // with awserr.Error's Code and Message methods to get detailed information about 5627 // the error. 5628 // 5629 // See the AWS API reference guide for AWS Glue's 5630 // API operation GetClassifier for usage and error information. 5631 // 5632 // Returned Error Types: 5633 // * EntityNotFoundException 5634 // A specified entity does not exist 5635 // 5636 // * OperationTimeoutException 5637 // The operation timed out. 5638 // 5639 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier 5640 func (c *Glue) GetClassifier(input *GetClassifierInput) (*GetClassifierOutput, error) { 5641 req, out := c.GetClassifierRequest(input) 5642 return out, req.Send() 5643 } 5644 5645 // GetClassifierWithContext is the same as GetClassifier with the addition of 5646 // the ability to pass a context and additional request options. 5647 // 5648 // See GetClassifier for details on how to use this API operation. 5649 // 5650 // The context must be non-nil and will be used for request cancellation. If 5651 // the context is nil a panic will occur. In the future the SDK may create 5652 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5653 // for more information on using Contexts. 5654 func (c *Glue) GetClassifierWithContext(ctx aws.Context, input *GetClassifierInput, opts ...request.Option) (*GetClassifierOutput, error) { 5655 req, out := c.GetClassifierRequest(input) 5656 req.SetContext(ctx) 5657 req.ApplyOptions(opts...) 5658 return out, req.Send() 5659 } 5660 5661 const opGetClassifiers = "GetClassifiers" 5662 5663 // GetClassifiersRequest generates a "aws/request.Request" representing the 5664 // client's request for the GetClassifiers operation. The "output" return 5665 // value will be populated with the request's response once the request completes 5666 // successfully. 5667 // 5668 // Use "Send" method on the returned Request to send the API call to the service. 5669 // the "output" return value is not valid until after Send returns without error. 5670 // 5671 // See GetClassifiers for more information on using the GetClassifiers 5672 // API call, and error handling. 5673 // 5674 // This method is useful when you want to inject custom logic or configuration 5675 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5676 // 5677 // 5678 // // Example sending a request using the GetClassifiersRequest method. 5679 // req, resp := client.GetClassifiersRequest(params) 5680 // 5681 // err := req.Send() 5682 // if err == nil { // resp is now filled 5683 // fmt.Println(resp) 5684 // } 5685 // 5686 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers 5687 func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.Request, output *GetClassifiersOutput) { 5688 op := &request.Operation{ 5689 Name: opGetClassifiers, 5690 HTTPMethod: "POST", 5691 HTTPPath: "/", 5692 Paginator: &request.Paginator{ 5693 InputTokens: []string{"NextToken"}, 5694 OutputTokens: []string{"NextToken"}, 5695 LimitToken: "MaxResults", 5696 TruncationToken: "", 5697 }, 5698 } 5699 5700 if input == nil { 5701 input = &GetClassifiersInput{} 5702 } 5703 5704 output = &GetClassifiersOutput{} 5705 req = c.newRequest(op, input, output) 5706 return 5707 } 5708 5709 // GetClassifiers API operation for AWS Glue. 5710 // 5711 // Lists all classifier objects in the Data Catalog. 5712 // 5713 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5714 // with awserr.Error's Code and Message methods to get detailed information about 5715 // the error. 5716 // 5717 // See the AWS API reference guide for AWS Glue's 5718 // API operation GetClassifiers for usage and error information. 5719 // 5720 // Returned Error Types: 5721 // * OperationTimeoutException 5722 // The operation timed out. 5723 // 5724 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers 5725 func (c *Glue) GetClassifiers(input *GetClassifiersInput) (*GetClassifiersOutput, error) { 5726 req, out := c.GetClassifiersRequest(input) 5727 return out, req.Send() 5728 } 5729 5730 // GetClassifiersWithContext is the same as GetClassifiers with the addition of 5731 // the ability to pass a context and additional request options. 5732 // 5733 // See GetClassifiers for details on how to use this API operation. 5734 // 5735 // The context must be non-nil and will be used for request cancellation. If 5736 // the context is nil a panic will occur. In the future the SDK may create 5737 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5738 // for more information on using Contexts. 5739 func (c *Glue) GetClassifiersWithContext(ctx aws.Context, input *GetClassifiersInput, opts ...request.Option) (*GetClassifiersOutput, error) { 5740 req, out := c.GetClassifiersRequest(input) 5741 req.SetContext(ctx) 5742 req.ApplyOptions(opts...) 5743 return out, req.Send() 5744 } 5745 5746 // GetClassifiersPages iterates over the pages of a GetClassifiers operation, 5747 // calling the "fn" function with the response data for each page. To stop 5748 // iterating, return false from the fn function. 5749 // 5750 // See GetClassifiers method for more information on how to use this operation. 5751 // 5752 // Note: This operation can generate multiple requests to a service. 5753 // 5754 // // Example iterating over at most 3 pages of a GetClassifiers operation. 5755 // pageNum := 0 5756 // err := client.GetClassifiersPages(params, 5757 // func(page *glue.GetClassifiersOutput, lastPage bool) bool { 5758 // pageNum++ 5759 // fmt.Println(page) 5760 // return pageNum <= 3 5761 // }) 5762 // 5763 func (c *Glue) GetClassifiersPages(input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool) error { 5764 return c.GetClassifiersPagesWithContext(aws.BackgroundContext(), input, fn) 5765 } 5766 5767 // GetClassifiersPagesWithContext same as GetClassifiersPages except 5768 // it takes a Context and allows setting request options on the pages. 5769 // 5770 // The context must be non-nil and will be used for request cancellation. If 5771 // the context is nil a panic will occur. In the future the SDK may create 5772 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5773 // for more information on using Contexts. 5774 func (c *Glue) GetClassifiersPagesWithContext(ctx aws.Context, input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool, opts ...request.Option) error { 5775 p := request.Pagination{ 5776 NewRequest: func() (*request.Request, error) { 5777 var inCpy *GetClassifiersInput 5778 if input != nil { 5779 tmp := *input 5780 inCpy = &tmp 5781 } 5782 req, _ := c.GetClassifiersRequest(inCpy) 5783 req.SetContext(ctx) 5784 req.ApplyOptions(opts...) 5785 return req, nil 5786 }, 5787 } 5788 5789 for p.Next() { 5790 if !fn(p.Page().(*GetClassifiersOutput), !p.HasNextPage()) { 5791 break 5792 } 5793 } 5794 5795 return p.Err() 5796 } 5797 5798 const opGetColumnStatisticsForPartition = "GetColumnStatisticsForPartition" 5799 5800 // GetColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the 5801 // client's request for the GetColumnStatisticsForPartition operation. The "output" return 5802 // value will be populated with the request's response once the request completes 5803 // successfully. 5804 // 5805 // Use "Send" method on the returned Request to send the API call to the service. 5806 // the "output" return value is not valid until after Send returns without error. 5807 // 5808 // See GetColumnStatisticsForPartition for more information on using the GetColumnStatisticsForPartition 5809 // API call, and error handling. 5810 // 5811 // This method is useful when you want to inject custom logic or configuration 5812 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5813 // 5814 // 5815 // // Example sending a request using the GetColumnStatisticsForPartitionRequest method. 5816 // req, resp := client.GetColumnStatisticsForPartitionRequest(params) 5817 // 5818 // err := req.Send() 5819 // if err == nil { // resp is now filled 5820 // fmt.Println(resp) 5821 // } 5822 // 5823 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition 5824 func (c *Glue) GetColumnStatisticsForPartitionRequest(input *GetColumnStatisticsForPartitionInput) (req *request.Request, output *GetColumnStatisticsForPartitionOutput) { 5825 op := &request.Operation{ 5826 Name: opGetColumnStatisticsForPartition, 5827 HTTPMethod: "POST", 5828 HTTPPath: "/", 5829 } 5830 5831 if input == nil { 5832 input = &GetColumnStatisticsForPartitionInput{} 5833 } 5834 5835 output = &GetColumnStatisticsForPartitionOutput{} 5836 req = c.newRequest(op, input, output) 5837 return 5838 } 5839 5840 // GetColumnStatisticsForPartition API operation for AWS Glue. 5841 // 5842 // Retrieves partition statistics of columns. 5843 // 5844 // The Identity and Access Management (IAM) permission required for this operation 5845 // is GetPartition. 5846 // 5847 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5848 // with awserr.Error's Code and Message methods to get detailed information about 5849 // the error. 5850 // 5851 // See the AWS API reference guide for AWS Glue's 5852 // API operation GetColumnStatisticsForPartition for usage and error information. 5853 // 5854 // Returned Error Types: 5855 // * EntityNotFoundException 5856 // A specified entity does not exist 5857 // 5858 // * InvalidInputException 5859 // The input provided was not valid. 5860 // 5861 // * InternalServiceException 5862 // An internal service error occurred. 5863 // 5864 // * OperationTimeoutException 5865 // The operation timed out. 5866 // 5867 // * EncryptionException 5868 // An encryption operation failed. 5869 // 5870 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition 5871 func (c *Glue) GetColumnStatisticsForPartition(input *GetColumnStatisticsForPartitionInput) (*GetColumnStatisticsForPartitionOutput, error) { 5872 req, out := c.GetColumnStatisticsForPartitionRequest(input) 5873 return out, req.Send() 5874 } 5875 5876 // GetColumnStatisticsForPartitionWithContext is the same as GetColumnStatisticsForPartition with the addition of 5877 // the ability to pass a context and additional request options. 5878 // 5879 // See GetColumnStatisticsForPartition for details on how to use this API operation. 5880 // 5881 // The context must be non-nil and will be used for request cancellation. If 5882 // the context is nil a panic will occur. In the future the SDK may create 5883 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5884 // for more information on using Contexts. 5885 func (c *Glue) GetColumnStatisticsForPartitionWithContext(ctx aws.Context, input *GetColumnStatisticsForPartitionInput, opts ...request.Option) (*GetColumnStatisticsForPartitionOutput, error) { 5886 req, out := c.GetColumnStatisticsForPartitionRequest(input) 5887 req.SetContext(ctx) 5888 req.ApplyOptions(opts...) 5889 return out, req.Send() 5890 } 5891 5892 const opGetColumnStatisticsForTable = "GetColumnStatisticsForTable" 5893 5894 // GetColumnStatisticsForTableRequest generates a "aws/request.Request" representing the 5895 // client's request for the GetColumnStatisticsForTable operation. The "output" return 5896 // value will be populated with the request's response once the request completes 5897 // successfully. 5898 // 5899 // Use "Send" method on the returned Request to send the API call to the service. 5900 // the "output" return value is not valid until after Send returns without error. 5901 // 5902 // See GetColumnStatisticsForTable for more information on using the GetColumnStatisticsForTable 5903 // API call, and error handling. 5904 // 5905 // This method is useful when you want to inject custom logic or configuration 5906 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5907 // 5908 // 5909 // // Example sending a request using the GetColumnStatisticsForTableRequest method. 5910 // req, resp := client.GetColumnStatisticsForTableRequest(params) 5911 // 5912 // err := req.Send() 5913 // if err == nil { // resp is now filled 5914 // fmt.Println(resp) 5915 // } 5916 // 5917 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable 5918 func (c *Glue) GetColumnStatisticsForTableRequest(input *GetColumnStatisticsForTableInput) (req *request.Request, output *GetColumnStatisticsForTableOutput) { 5919 op := &request.Operation{ 5920 Name: opGetColumnStatisticsForTable, 5921 HTTPMethod: "POST", 5922 HTTPPath: "/", 5923 } 5924 5925 if input == nil { 5926 input = &GetColumnStatisticsForTableInput{} 5927 } 5928 5929 output = &GetColumnStatisticsForTableOutput{} 5930 req = c.newRequest(op, input, output) 5931 return 5932 } 5933 5934 // GetColumnStatisticsForTable API operation for AWS Glue. 5935 // 5936 // Retrieves table statistics of columns. 5937 // 5938 // The Identity and Access Management (IAM) permission required for this operation 5939 // is GetTable. 5940 // 5941 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5942 // with awserr.Error's Code and Message methods to get detailed information about 5943 // the error. 5944 // 5945 // See the AWS API reference guide for AWS Glue's 5946 // API operation GetColumnStatisticsForTable for usage and error information. 5947 // 5948 // Returned Error Types: 5949 // * EntityNotFoundException 5950 // A specified entity does not exist 5951 // 5952 // * InvalidInputException 5953 // The input provided was not valid. 5954 // 5955 // * InternalServiceException 5956 // An internal service error occurred. 5957 // 5958 // * OperationTimeoutException 5959 // The operation timed out. 5960 // 5961 // * EncryptionException 5962 // An encryption operation failed. 5963 // 5964 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable 5965 func (c *Glue) GetColumnStatisticsForTable(input *GetColumnStatisticsForTableInput) (*GetColumnStatisticsForTableOutput, error) { 5966 req, out := c.GetColumnStatisticsForTableRequest(input) 5967 return out, req.Send() 5968 } 5969 5970 // GetColumnStatisticsForTableWithContext is the same as GetColumnStatisticsForTable with the addition of 5971 // the ability to pass a context and additional request options. 5972 // 5973 // See GetColumnStatisticsForTable for details on how to use this API operation. 5974 // 5975 // The context must be non-nil and will be used for request cancellation. If 5976 // the context is nil a panic will occur. In the future the SDK may create 5977 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5978 // for more information on using Contexts. 5979 func (c *Glue) GetColumnStatisticsForTableWithContext(ctx aws.Context, input *GetColumnStatisticsForTableInput, opts ...request.Option) (*GetColumnStatisticsForTableOutput, error) { 5980 req, out := c.GetColumnStatisticsForTableRequest(input) 5981 req.SetContext(ctx) 5982 req.ApplyOptions(opts...) 5983 return out, req.Send() 5984 } 5985 5986 const opGetConnection = "GetConnection" 5987 5988 // GetConnectionRequest generates a "aws/request.Request" representing the 5989 // client's request for the GetConnection operation. The "output" return 5990 // value will be populated with the request's response once the request completes 5991 // successfully. 5992 // 5993 // Use "Send" method on the returned Request to send the API call to the service. 5994 // the "output" return value is not valid until after Send returns without error. 5995 // 5996 // See GetConnection for more information on using the GetConnection 5997 // API call, and error handling. 5998 // 5999 // This method is useful when you want to inject custom logic or configuration 6000 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6001 // 6002 // 6003 // // Example sending a request using the GetConnectionRequest method. 6004 // req, resp := client.GetConnectionRequest(params) 6005 // 6006 // err := req.Send() 6007 // if err == nil { // resp is now filled 6008 // fmt.Println(resp) 6009 // } 6010 // 6011 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection 6012 func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) { 6013 op := &request.Operation{ 6014 Name: opGetConnection, 6015 HTTPMethod: "POST", 6016 HTTPPath: "/", 6017 } 6018 6019 if input == nil { 6020 input = &GetConnectionInput{} 6021 } 6022 6023 output = &GetConnectionOutput{} 6024 req = c.newRequest(op, input, output) 6025 return 6026 } 6027 6028 // GetConnection API operation for AWS Glue. 6029 // 6030 // Retrieves a connection definition from the Data Catalog. 6031 // 6032 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6033 // with awserr.Error's Code and Message methods to get detailed information about 6034 // the error. 6035 // 6036 // See the AWS API reference guide for AWS Glue's 6037 // API operation GetConnection for usage and error information. 6038 // 6039 // Returned Error Types: 6040 // * EntityNotFoundException 6041 // A specified entity does not exist 6042 // 6043 // * OperationTimeoutException 6044 // The operation timed out. 6045 // 6046 // * InvalidInputException 6047 // The input provided was not valid. 6048 // 6049 // * EncryptionException 6050 // An encryption operation failed. 6051 // 6052 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection 6053 func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) { 6054 req, out := c.GetConnectionRequest(input) 6055 return out, req.Send() 6056 } 6057 6058 // GetConnectionWithContext is the same as GetConnection with the addition of 6059 // the ability to pass a context and additional request options. 6060 // 6061 // See GetConnection for details on how to use this API operation. 6062 // 6063 // The context must be non-nil and will be used for request cancellation. If 6064 // the context is nil a panic will occur. In the future the SDK may create 6065 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6066 // for more information on using Contexts. 6067 func (c *Glue) GetConnectionWithContext(ctx aws.Context, input *GetConnectionInput, opts ...request.Option) (*GetConnectionOutput, error) { 6068 req, out := c.GetConnectionRequest(input) 6069 req.SetContext(ctx) 6070 req.ApplyOptions(opts...) 6071 return out, req.Send() 6072 } 6073 6074 const opGetConnections = "GetConnections" 6075 6076 // GetConnectionsRequest generates a "aws/request.Request" representing the 6077 // client's request for the GetConnections operation. The "output" return 6078 // value will be populated with the request's response once the request completes 6079 // successfully. 6080 // 6081 // Use "Send" method on the returned Request to send the API call to the service. 6082 // the "output" return value is not valid until after Send returns without error. 6083 // 6084 // See GetConnections for more information on using the GetConnections 6085 // API call, and error handling. 6086 // 6087 // This method is useful when you want to inject custom logic or configuration 6088 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6089 // 6090 // 6091 // // Example sending a request using the GetConnectionsRequest method. 6092 // req, resp := client.GetConnectionsRequest(params) 6093 // 6094 // err := req.Send() 6095 // if err == nil { // resp is now filled 6096 // fmt.Println(resp) 6097 // } 6098 // 6099 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections 6100 func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) { 6101 op := &request.Operation{ 6102 Name: opGetConnections, 6103 HTTPMethod: "POST", 6104 HTTPPath: "/", 6105 Paginator: &request.Paginator{ 6106 InputTokens: []string{"NextToken"}, 6107 OutputTokens: []string{"NextToken"}, 6108 LimitToken: "MaxResults", 6109 TruncationToken: "", 6110 }, 6111 } 6112 6113 if input == nil { 6114 input = &GetConnectionsInput{} 6115 } 6116 6117 output = &GetConnectionsOutput{} 6118 req = c.newRequest(op, input, output) 6119 return 6120 } 6121 6122 // GetConnections API operation for AWS Glue. 6123 // 6124 // Retrieves a list of connection definitions from the Data Catalog. 6125 // 6126 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6127 // with awserr.Error's Code and Message methods to get detailed information about 6128 // the error. 6129 // 6130 // See the AWS API reference guide for AWS Glue's 6131 // API operation GetConnections for usage and error information. 6132 // 6133 // Returned Error Types: 6134 // * EntityNotFoundException 6135 // A specified entity does not exist 6136 // 6137 // * OperationTimeoutException 6138 // The operation timed out. 6139 // 6140 // * InvalidInputException 6141 // The input provided was not valid. 6142 // 6143 // * EncryptionException 6144 // An encryption operation failed. 6145 // 6146 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections 6147 func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) { 6148 req, out := c.GetConnectionsRequest(input) 6149 return out, req.Send() 6150 } 6151 6152 // GetConnectionsWithContext is the same as GetConnections with the addition of 6153 // the ability to pass a context and additional request options. 6154 // 6155 // See GetConnections for details on how to use this API operation. 6156 // 6157 // The context must be non-nil and will be used for request cancellation. If 6158 // the context is nil a panic will occur. In the future the SDK may create 6159 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6160 // for more information on using Contexts. 6161 func (c *Glue) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error) { 6162 req, out := c.GetConnectionsRequest(input) 6163 req.SetContext(ctx) 6164 req.ApplyOptions(opts...) 6165 return out, req.Send() 6166 } 6167 6168 // GetConnectionsPages iterates over the pages of a GetConnections operation, 6169 // calling the "fn" function with the response data for each page. To stop 6170 // iterating, return false from the fn function. 6171 // 6172 // See GetConnections method for more information on how to use this operation. 6173 // 6174 // Note: This operation can generate multiple requests to a service. 6175 // 6176 // // Example iterating over at most 3 pages of a GetConnections operation. 6177 // pageNum := 0 6178 // err := client.GetConnectionsPages(params, 6179 // func(page *glue.GetConnectionsOutput, lastPage bool) bool { 6180 // pageNum++ 6181 // fmt.Println(page) 6182 // return pageNum <= 3 6183 // }) 6184 // 6185 func (c *Glue) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error { 6186 return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) 6187 } 6188 6189 // GetConnectionsPagesWithContext same as GetConnectionsPages except 6190 // it takes a Context and allows setting request options on the pages. 6191 // 6192 // The context must be non-nil and will be used for request cancellation. If 6193 // the context is nil a panic will occur. In the future the SDK may create 6194 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6195 // for more information on using Contexts. 6196 func (c *Glue) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error { 6197 p := request.Pagination{ 6198 NewRequest: func() (*request.Request, error) { 6199 var inCpy *GetConnectionsInput 6200 if input != nil { 6201 tmp := *input 6202 inCpy = &tmp 6203 } 6204 req, _ := c.GetConnectionsRequest(inCpy) 6205 req.SetContext(ctx) 6206 req.ApplyOptions(opts...) 6207 return req, nil 6208 }, 6209 } 6210 6211 for p.Next() { 6212 if !fn(p.Page().(*GetConnectionsOutput), !p.HasNextPage()) { 6213 break 6214 } 6215 } 6216 6217 return p.Err() 6218 } 6219 6220 const opGetCrawler = "GetCrawler" 6221 6222 // GetCrawlerRequest generates a "aws/request.Request" representing the 6223 // client's request for the GetCrawler operation. The "output" return 6224 // value will be populated with the request's response once the request completes 6225 // successfully. 6226 // 6227 // Use "Send" method on the returned Request to send the API call to the service. 6228 // the "output" return value is not valid until after Send returns without error. 6229 // 6230 // See GetCrawler for more information on using the GetCrawler 6231 // API call, and error handling. 6232 // 6233 // This method is useful when you want to inject custom logic or configuration 6234 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6235 // 6236 // 6237 // // Example sending a request using the GetCrawlerRequest method. 6238 // req, resp := client.GetCrawlerRequest(params) 6239 // 6240 // err := req.Send() 6241 // if err == nil { // resp is now filled 6242 // fmt.Println(resp) 6243 // } 6244 // 6245 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler 6246 func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) { 6247 op := &request.Operation{ 6248 Name: opGetCrawler, 6249 HTTPMethod: "POST", 6250 HTTPPath: "/", 6251 } 6252 6253 if input == nil { 6254 input = &GetCrawlerInput{} 6255 } 6256 6257 output = &GetCrawlerOutput{} 6258 req = c.newRequest(op, input, output) 6259 return 6260 } 6261 6262 // GetCrawler API operation for AWS Glue. 6263 // 6264 // Retrieves metadata for a specified crawler. 6265 // 6266 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6267 // with awserr.Error's Code and Message methods to get detailed information about 6268 // the error. 6269 // 6270 // See the AWS API reference guide for AWS Glue's 6271 // API operation GetCrawler for usage and error information. 6272 // 6273 // Returned Error Types: 6274 // * EntityNotFoundException 6275 // A specified entity does not exist 6276 // 6277 // * OperationTimeoutException 6278 // The operation timed out. 6279 // 6280 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler 6281 func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) { 6282 req, out := c.GetCrawlerRequest(input) 6283 return out, req.Send() 6284 } 6285 6286 // GetCrawlerWithContext is the same as GetCrawler with the addition of 6287 // the ability to pass a context and additional request options. 6288 // 6289 // See GetCrawler for details on how to use this API operation. 6290 // 6291 // The context must be non-nil and will be used for request cancellation. If 6292 // the context is nil a panic will occur. In the future the SDK may create 6293 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6294 // for more information on using Contexts. 6295 func (c *Glue) GetCrawlerWithContext(ctx aws.Context, input *GetCrawlerInput, opts ...request.Option) (*GetCrawlerOutput, error) { 6296 req, out := c.GetCrawlerRequest(input) 6297 req.SetContext(ctx) 6298 req.ApplyOptions(opts...) 6299 return out, req.Send() 6300 } 6301 6302 const opGetCrawlerMetrics = "GetCrawlerMetrics" 6303 6304 // GetCrawlerMetricsRequest generates a "aws/request.Request" representing the 6305 // client's request for the GetCrawlerMetrics operation. The "output" return 6306 // value will be populated with the request's response once the request completes 6307 // successfully. 6308 // 6309 // Use "Send" method on the returned Request to send the API call to the service. 6310 // the "output" return value is not valid until after Send returns without error. 6311 // 6312 // See GetCrawlerMetrics for more information on using the GetCrawlerMetrics 6313 // API call, and error handling. 6314 // 6315 // This method is useful when you want to inject custom logic or configuration 6316 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6317 // 6318 // 6319 // // Example sending a request using the GetCrawlerMetricsRequest method. 6320 // req, resp := client.GetCrawlerMetricsRequest(params) 6321 // 6322 // err := req.Send() 6323 // if err == nil { // resp is now filled 6324 // fmt.Println(resp) 6325 // } 6326 // 6327 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics 6328 func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) { 6329 op := &request.Operation{ 6330 Name: opGetCrawlerMetrics, 6331 HTTPMethod: "POST", 6332 HTTPPath: "/", 6333 Paginator: &request.Paginator{ 6334 InputTokens: []string{"NextToken"}, 6335 OutputTokens: []string{"NextToken"}, 6336 LimitToken: "MaxResults", 6337 TruncationToken: "", 6338 }, 6339 } 6340 6341 if input == nil { 6342 input = &GetCrawlerMetricsInput{} 6343 } 6344 6345 output = &GetCrawlerMetricsOutput{} 6346 req = c.newRequest(op, input, output) 6347 return 6348 } 6349 6350 // GetCrawlerMetrics API operation for AWS Glue. 6351 // 6352 // Retrieves metrics about specified crawlers. 6353 // 6354 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6355 // with awserr.Error's Code and Message methods to get detailed information about 6356 // the error. 6357 // 6358 // See the AWS API reference guide for AWS Glue's 6359 // API operation GetCrawlerMetrics for usage and error information. 6360 // 6361 // Returned Error Types: 6362 // * OperationTimeoutException 6363 // The operation timed out. 6364 // 6365 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics 6366 func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) { 6367 req, out := c.GetCrawlerMetricsRequest(input) 6368 return out, req.Send() 6369 } 6370 6371 // GetCrawlerMetricsWithContext is the same as GetCrawlerMetrics with the addition of 6372 // the ability to pass a context and additional request options. 6373 // 6374 // See GetCrawlerMetrics for details on how to use this API operation. 6375 // 6376 // The context must be non-nil and will be used for request cancellation. If 6377 // the context is nil a panic will occur. In the future the SDK may create 6378 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6379 // for more information on using Contexts. 6380 func (c *Glue) GetCrawlerMetricsWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, opts ...request.Option) (*GetCrawlerMetricsOutput, error) { 6381 req, out := c.GetCrawlerMetricsRequest(input) 6382 req.SetContext(ctx) 6383 req.ApplyOptions(opts...) 6384 return out, req.Send() 6385 } 6386 6387 // GetCrawlerMetricsPages iterates over the pages of a GetCrawlerMetrics operation, 6388 // calling the "fn" function with the response data for each page. To stop 6389 // iterating, return false from the fn function. 6390 // 6391 // See GetCrawlerMetrics method for more information on how to use this operation. 6392 // 6393 // Note: This operation can generate multiple requests to a service. 6394 // 6395 // // Example iterating over at most 3 pages of a GetCrawlerMetrics operation. 6396 // pageNum := 0 6397 // err := client.GetCrawlerMetricsPages(params, 6398 // func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool { 6399 // pageNum++ 6400 // fmt.Println(page) 6401 // return pageNum <= 3 6402 // }) 6403 // 6404 func (c *Glue) GetCrawlerMetricsPages(input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool) error { 6405 return c.GetCrawlerMetricsPagesWithContext(aws.BackgroundContext(), input, fn) 6406 } 6407 6408 // GetCrawlerMetricsPagesWithContext same as GetCrawlerMetricsPages except 6409 // it takes a Context and allows setting request options on the pages. 6410 // 6411 // The context must be non-nil and will be used for request cancellation. If 6412 // the context is nil a panic will occur. In the future the SDK may create 6413 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6414 // for more information on using Contexts. 6415 func (c *Glue) GetCrawlerMetricsPagesWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool, opts ...request.Option) error { 6416 p := request.Pagination{ 6417 NewRequest: func() (*request.Request, error) { 6418 var inCpy *GetCrawlerMetricsInput 6419 if input != nil { 6420 tmp := *input 6421 inCpy = &tmp 6422 } 6423 req, _ := c.GetCrawlerMetricsRequest(inCpy) 6424 req.SetContext(ctx) 6425 req.ApplyOptions(opts...) 6426 return req, nil 6427 }, 6428 } 6429 6430 for p.Next() { 6431 if !fn(p.Page().(*GetCrawlerMetricsOutput), !p.HasNextPage()) { 6432 break 6433 } 6434 } 6435 6436 return p.Err() 6437 } 6438 6439 const opGetCrawlers = "GetCrawlers" 6440 6441 // GetCrawlersRequest generates a "aws/request.Request" representing the 6442 // client's request for the GetCrawlers operation. The "output" return 6443 // value will be populated with the request's response once the request completes 6444 // successfully. 6445 // 6446 // Use "Send" method on the returned Request to send the API call to the service. 6447 // the "output" return value is not valid until after Send returns without error. 6448 // 6449 // See GetCrawlers for more information on using the GetCrawlers 6450 // API call, and error handling. 6451 // 6452 // This method is useful when you want to inject custom logic or configuration 6453 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6454 // 6455 // 6456 // // Example sending a request using the GetCrawlersRequest method. 6457 // req, resp := client.GetCrawlersRequest(params) 6458 // 6459 // err := req.Send() 6460 // if err == nil { // resp is now filled 6461 // fmt.Println(resp) 6462 // } 6463 // 6464 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers 6465 func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) { 6466 op := &request.Operation{ 6467 Name: opGetCrawlers, 6468 HTTPMethod: "POST", 6469 HTTPPath: "/", 6470 Paginator: &request.Paginator{ 6471 InputTokens: []string{"NextToken"}, 6472 OutputTokens: []string{"NextToken"}, 6473 LimitToken: "MaxResults", 6474 TruncationToken: "", 6475 }, 6476 } 6477 6478 if input == nil { 6479 input = &GetCrawlersInput{} 6480 } 6481 6482 output = &GetCrawlersOutput{} 6483 req = c.newRequest(op, input, output) 6484 return 6485 } 6486 6487 // GetCrawlers API operation for AWS Glue. 6488 // 6489 // Retrieves metadata for all crawlers defined in the customer account. 6490 // 6491 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6492 // with awserr.Error's Code and Message methods to get detailed information about 6493 // the error. 6494 // 6495 // See the AWS API reference guide for AWS Glue's 6496 // API operation GetCrawlers for usage and error information. 6497 // 6498 // Returned Error Types: 6499 // * OperationTimeoutException 6500 // The operation timed out. 6501 // 6502 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers 6503 func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) { 6504 req, out := c.GetCrawlersRequest(input) 6505 return out, req.Send() 6506 } 6507 6508 // GetCrawlersWithContext is the same as GetCrawlers with the addition of 6509 // the ability to pass a context and additional request options. 6510 // 6511 // See GetCrawlers for details on how to use this API operation. 6512 // 6513 // The context must be non-nil and will be used for request cancellation. If 6514 // the context is nil a panic will occur. In the future the SDK may create 6515 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6516 // for more information on using Contexts. 6517 func (c *Glue) GetCrawlersWithContext(ctx aws.Context, input *GetCrawlersInput, opts ...request.Option) (*GetCrawlersOutput, error) { 6518 req, out := c.GetCrawlersRequest(input) 6519 req.SetContext(ctx) 6520 req.ApplyOptions(opts...) 6521 return out, req.Send() 6522 } 6523 6524 // GetCrawlersPages iterates over the pages of a GetCrawlers operation, 6525 // calling the "fn" function with the response data for each page. To stop 6526 // iterating, return false from the fn function. 6527 // 6528 // See GetCrawlers method for more information on how to use this operation. 6529 // 6530 // Note: This operation can generate multiple requests to a service. 6531 // 6532 // // Example iterating over at most 3 pages of a GetCrawlers operation. 6533 // pageNum := 0 6534 // err := client.GetCrawlersPages(params, 6535 // func(page *glue.GetCrawlersOutput, lastPage bool) bool { 6536 // pageNum++ 6537 // fmt.Println(page) 6538 // return pageNum <= 3 6539 // }) 6540 // 6541 func (c *Glue) GetCrawlersPages(input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool) error { 6542 return c.GetCrawlersPagesWithContext(aws.BackgroundContext(), input, fn) 6543 } 6544 6545 // GetCrawlersPagesWithContext same as GetCrawlersPages except 6546 // it takes a Context and allows setting request options on the pages. 6547 // 6548 // The context must be non-nil and will be used for request cancellation. If 6549 // the context is nil a panic will occur. In the future the SDK may create 6550 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6551 // for more information on using Contexts. 6552 func (c *Glue) GetCrawlersPagesWithContext(ctx aws.Context, input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool, opts ...request.Option) error { 6553 p := request.Pagination{ 6554 NewRequest: func() (*request.Request, error) { 6555 var inCpy *GetCrawlersInput 6556 if input != nil { 6557 tmp := *input 6558 inCpy = &tmp 6559 } 6560 req, _ := c.GetCrawlersRequest(inCpy) 6561 req.SetContext(ctx) 6562 req.ApplyOptions(opts...) 6563 return req, nil 6564 }, 6565 } 6566 6567 for p.Next() { 6568 if !fn(p.Page().(*GetCrawlersOutput), !p.HasNextPage()) { 6569 break 6570 } 6571 } 6572 6573 return p.Err() 6574 } 6575 6576 const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings" 6577 6578 // GetDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the 6579 // client's request for the GetDataCatalogEncryptionSettings operation. The "output" return 6580 // value will be populated with the request's response once the request completes 6581 // successfully. 6582 // 6583 // Use "Send" method on the returned Request to send the API call to the service. 6584 // the "output" return value is not valid until after Send returns without error. 6585 // 6586 // See GetDataCatalogEncryptionSettings for more information on using the GetDataCatalogEncryptionSettings 6587 // API call, and error handling. 6588 // 6589 // This method is useful when you want to inject custom logic or configuration 6590 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6591 // 6592 // 6593 // // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method. 6594 // req, resp := client.GetDataCatalogEncryptionSettingsRequest(params) 6595 // 6596 // err := req.Send() 6597 // if err == nil { // resp is now filled 6598 // fmt.Println(resp) 6599 // } 6600 // 6601 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings 6602 func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) { 6603 op := &request.Operation{ 6604 Name: opGetDataCatalogEncryptionSettings, 6605 HTTPMethod: "POST", 6606 HTTPPath: "/", 6607 } 6608 6609 if input == nil { 6610 input = &GetDataCatalogEncryptionSettingsInput{} 6611 } 6612 6613 output = &GetDataCatalogEncryptionSettingsOutput{} 6614 req = c.newRequest(op, input, output) 6615 return 6616 } 6617 6618 // GetDataCatalogEncryptionSettings API operation for AWS Glue. 6619 // 6620 // Retrieves the security configuration for a specified catalog. 6621 // 6622 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6623 // with awserr.Error's Code and Message methods to get detailed information about 6624 // the error. 6625 // 6626 // See the AWS API reference guide for AWS Glue's 6627 // API operation GetDataCatalogEncryptionSettings for usage and error information. 6628 // 6629 // Returned Error Types: 6630 // * InternalServiceException 6631 // An internal service error occurred. 6632 // 6633 // * InvalidInputException 6634 // The input provided was not valid. 6635 // 6636 // * OperationTimeoutException 6637 // The operation timed out. 6638 // 6639 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings 6640 func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) { 6641 req, out := c.GetDataCatalogEncryptionSettingsRequest(input) 6642 return out, req.Send() 6643 } 6644 6645 // GetDataCatalogEncryptionSettingsWithContext is the same as GetDataCatalogEncryptionSettings with the addition of 6646 // the ability to pass a context and additional request options. 6647 // 6648 // See GetDataCatalogEncryptionSettings for details on how to use this API operation. 6649 // 6650 // The context must be non-nil and will be used for request cancellation. If 6651 // the context is nil a panic will occur. In the future the SDK may create 6652 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6653 // for more information on using Contexts. 6654 func (c *Glue) GetDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *GetDataCatalogEncryptionSettingsInput, opts ...request.Option) (*GetDataCatalogEncryptionSettingsOutput, error) { 6655 req, out := c.GetDataCatalogEncryptionSettingsRequest(input) 6656 req.SetContext(ctx) 6657 req.ApplyOptions(opts...) 6658 return out, req.Send() 6659 } 6660 6661 const opGetDatabase = "GetDatabase" 6662 6663 // GetDatabaseRequest generates a "aws/request.Request" representing the 6664 // client's request for the GetDatabase operation. The "output" return 6665 // value will be populated with the request's response once the request completes 6666 // successfully. 6667 // 6668 // Use "Send" method on the returned Request to send the API call to the service. 6669 // the "output" return value is not valid until after Send returns without error. 6670 // 6671 // See GetDatabase for more information on using the GetDatabase 6672 // API call, and error handling. 6673 // 6674 // This method is useful when you want to inject custom logic or configuration 6675 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6676 // 6677 // 6678 // // Example sending a request using the GetDatabaseRequest method. 6679 // req, resp := client.GetDatabaseRequest(params) 6680 // 6681 // err := req.Send() 6682 // if err == nil { // resp is now filled 6683 // fmt.Println(resp) 6684 // } 6685 // 6686 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase 6687 func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) { 6688 op := &request.Operation{ 6689 Name: opGetDatabase, 6690 HTTPMethod: "POST", 6691 HTTPPath: "/", 6692 } 6693 6694 if input == nil { 6695 input = &GetDatabaseInput{} 6696 } 6697 6698 output = &GetDatabaseOutput{} 6699 req = c.newRequest(op, input, output) 6700 return 6701 } 6702 6703 // GetDatabase API operation for AWS Glue. 6704 // 6705 // Retrieves the definition of a specified database. 6706 // 6707 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6708 // with awserr.Error's Code and Message methods to get detailed information about 6709 // the error. 6710 // 6711 // See the AWS API reference guide for AWS Glue's 6712 // API operation GetDatabase for usage and error information. 6713 // 6714 // Returned Error Types: 6715 // * InvalidInputException 6716 // The input provided was not valid. 6717 // 6718 // * EntityNotFoundException 6719 // A specified entity does not exist 6720 // 6721 // * InternalServiceException 6722 // An internal service error occurred. 6723 // 6724 // * OperationTimeoutException 6725 // The operation timed out. 6726 // 6727 // * EncryptionException 6728 // An encryption operation failed. 6729 // 6730 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase 6731 func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) { 6732 req, out := c.GetDatabaseRequest(input) 6733 return out, req.Send() 6734 } 6735 6736 // GetDatabaseWithContext is the same as GetDatabase with the addition of 6737 // the ability to pass a context and additional request options. 6738 // 6739 // See GetDatabase for details on how to use this API operation. 6740 // 6741 // The context must be non-nil and will be used for request cancellation. If 6742 // the context is nil a panic will occur. In the future the SDK may create 6743 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6744 // for more information on using Contexts. 6745 func (c *Glue) GetDatabaseWithContext(ctx aws.Context, input *GetDatabaseInput, opts ...request.Option) (*GetDatabaseOutput, error) { 6746 req, out := c.GetDatabaseRequest(input) 6747 req.SetContext(ctx) 6748 req.ApplyOptions(opts...) 6749 return out, req.Send() 6750 } 6751 6752 const opGetDatabases = "GetDatabases" 6753 6754 // GetDatabasesRequest generates a "aws/request.Request" representing the 6755 // client's request for the GetDatabases operation. The "output" return 6756 // value will be populated with the request's response once the request completes 6757 // successfully. 6758 // 6759 // Use "Send" method on the returned Request to send the API call to the service. 6760 // the "output" return value is not valid until after Send returns without error. 6761 // 6762 // See GetDatabases for more information on using the GetDatabases 6763 // API call, and error handling. 6764 // 6765 // This method is useful when you want to inject custom logic or configuration 6766 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6767 // 6768 // 6769 // // Example sending a request using the GetDatabasesRequest method. 6770 // req, resp := client.GetDatabasesRequest(params) 6771 // 6772 // err := req.Send() 6773 // if err == nil { // resp is now filled 6774 // fmt.Println(resp) 6775 // } 6776 // 6777 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases 6778 func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) { 6779 op := &request.Operation{ 6780 Name: opGetDatabases, 6781 HTTPMethod: "POST", 6782 HTTPPath: "/", 6783 Paginator: &request.Paginator{ 6784 InputTokens: []string{"NextToken"}, 6785 OutputTokens: []string{"NextToken"}, 6786 LimitToken: "MaxResults", 6787 TruncationToken: "", 6788 }, 6789 } 6790 6791 if input == nil { 6792 input = &GetDatabasesInput{} 6793 } 6794 6795 output = &GetDatabasesOutput{} 6796 req = c.newRequest(op, input, output) 6797 return 6798 } 6799 6800 // GetDatabases API operation for AWS Glue. 6801 // 6802 // Retrieves all databases defined in a given Data Catalog. 6803 // 6804 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6805 // with awserr.Error's Code and Message methods to get detailed information about 6806 // the error. 6807 // 6808 // See the AWS API reference guide for AWS Glue's 6809 // API operation GetDatabases for usage and error information. 6810 // 6811 // Returned Error Types: 6812 // * InvalidInputException 6813 // The input provided was not valid. 6814 // 6815 // * InternalServiceException 6816 // An internal service error occurred. 6817 // 6818 // * OperationTimeoutException 6819 // The operation timed out. 6820 // 6821 // * EncryptionException 6822 // An encryption operation failed. 6823 // 6824 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases 6825 func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) { 6826 req, out := c.GetDatabasesRequest(input) 6827 return out, req.Send() 6828 } 6829 6830 // GetDatabasesWithContext is the same as GetDatabases with the addition of 6831 // the ability to pass a context and additional request options. 6832 // 6833 // See GetDatabases for details on how to use this API operation. 6834 // 6835 // The context must be non-nil and will be used for request cancellation. If 6836 // the context is nil a panic will occur. In the future the SDK may create 6837 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6838 // for more information on using Contexts. 6839 func (c *Glue) GetDatabasesWithContext(ctx aws.Context, input *GetDatabasesInput, opts ...request.Option) (*GetDatabasesOutput, error) { 6840 req, out := c.GetDatabasesRequest(input) 6841 req.SetContext(ctx) 6842 req.ApplyOptions(opts...) 6843 return out, req.Send() 6844 } 6845 6846 // GetDatabasesPages iterates over the pages of a GetDatabases operation, 6847 // calling the "fn" function with the response data for each page. To stop 6848 // iterating, return false from the fn function. 6849 // 6850 // See GetDatabases method for more information on how to use this operation. 6851 // 6852 // Note: This operation can generate multiple requests to a service. 6853 // 6854 // // Example iterating over at most 3 pages of a GetDatabases operation. 6855 // pageNum := 0 6856 // err := client.GetDatabasesPages(params, 6857 // func(page *glue.GetDatabasesOutput, lastPage bool) bool { 6858 // pageNum++ 6859 // fmt.Println(page) 6860 // return pageNum <= 3 6861 // }) 6862 // 6863 func (c *Glue) GetDatabasesPages(input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool) error { 6864 return c.GetDatabasesPagesWithContext(aws.BackgroundContext(), input, fn) 6865 } 6866 6867 // GetDatabasesPagesWithContext same as GetDatabasesPages except 6868 // it takes a Context and allows setting request options on the pages. 6869 // 6870 // The context must be non-nil and will be used for request cancellation. If 6871 // the context is nil a panic will occur. In the future the SDK may create 6872 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6873 // for more information on using Contexts. 6874 func (c *Glue) GetDatabasesPagesWithContext(ctx aws.Context, input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool, opts ...request.Option) error { 6875 p := request.Pagination{ 6876 NewRequest: func() (*request.Request, error) { 6877 var inCpy *GetDatabasesInput 6878 if input != nil { 6879 tmp := *input 6880 inCpy = &tmp 6881 } 6882 req, _ := c.GetDatabasesRequest(inCpy) 6883 req.SetContext(ctx) 6884 req.ApplyOptions(opts...) 6885 return req, nil 6886 }, 6887 } 6888 6889 for p.Next() { 6890 if !fn(p.Page().(*GetDatabasesOutput), !p.HasNextPage()) { 6891 break 6892 } 6893 } 6894 6895 return p.Err() 6896 } 6897 6898 const opGetDataflowGraph = "GetDataflowGraph" 6899 6900 // GetDataflowGraphRequest generates a "aws/request.Request" representing the 6901 // client's request for the GetDataflowGraph operation. The "output" return 6902 // value will be populated with the request's response once the request completes 6903 // successfully. 6904 // 6905 // Use "Send" method on the returned Request to send the API call to the service. 6906 // the "output" return value is not valid until after Send returns without error. 6907 // 6908 // See GetDataflowGraph for more information on using the GetDataflowGraph 6909 // API call, and error handling. 6910 // 6911 // This method is useful when you want to inject custom logic or configuration 6912 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6913 // 6914 // 6915 // // Example sending a request using the GetDataflowGraphRequest method. 6916 // req, resp := client.GetDataflowGraphRequest(params) 6917 // 6918 // err := req.Send() 6919 // if err == nil { // resp is now filled 6920 // fmt.Println(resp) 6921 // } 6922 // 6923 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph 6924 func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) { 6925 op := &request.Operation{ 6926 Name: opGetDataflowGraph, 6927 HTTPMethod: "POST", 6928 HTTPPath: "/", 6929 } 6930 6931 if input == nil { 6932 input = &GetDataflowGraphInput{} 6933 } 6934 6935 output = &GetDataflowGraphOutput{} 6936 req = c.newRequest(op, input, output) 6937 return 6938 } 6939 6940 // GetDataflowGraph API operation for AWS Glue. 6941 // 6942 // Transforms a Python script into a directed acyclic graph (DAG). 6943 // 6944 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6945 // with awserr.Error's Code and Message methods to get detailed information about 6946 // the error. 6947 // 6948 // See the AWS API reference guide for AWS Glue's 6949 // API operation GetDataflowGraph for usage and error information. 6950 // 6951 // Returned Error Types: 6952 // * InvalidInputException 6953 // The input provided was not valid. 6954 // 6955 // * InternalServiceException 6956 // An internal service error occurred. 6957 // 6958 // * OperationTimeoutException 6959 // The operation timed out. 6960 // 6961 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph 6962 func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) { 6963 req, out := c.GetDataflowGraphRequest(input) 6964 return out, req.Send() 6965 } 6966 6967 // GetDataflowGraphWithContext is the same as GetDataflowGraph with the addition of 6968 // the ability to pass a context and additional request options. 6969 // 6970 // See GetDataflowGraph for details on how to use this API operation. 6971 // 6972 // The context must be non-nil and will be used for request cancellation. If 6973 // the context is nil a panic will occur. In the future the SDK may create 6974 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6975 // for more information on using Contexts. 6976 func (c *Glue) GetDataflowGraphWithContext(ctx aws.Context, input *GetDataflowGraphInput, opts ...request.Option) (*GetDataflowGraphOutput, error) { 6977 req, out := c.GetDataflowGraphRequest(input) 6978 req.SetContext(ctx) 6979 req.ApplyOptions(opts...) 6980 return out, req.Send() 6981 } 6982 6983 const opGetDevEndpoint = "GetDevEndpoint" 6984 6985 // GetDevEndpointRequest generates a "aws/request.Request" representing the 6986 // client's request for the GetDevEndpoint operation. The "output" return 6987 // value will be populated with the request's response once the request completes 6988 // successfully. 6989 // 6990 // Use "Send" method on the returned Request to send the API call to the service. 6991 // the "output" return value is not valid until after Send returns without error. 6992 // 6993 // See GetDevEndpoint for more information on using the GetDevEndpoint 6994 // API call, and error handling. 6995 // 6996 // This method is useful when you want to inject custom logic or configuration 6997 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6998 // 6999 // 7000 // // Example sending a request using the GetDevEndpointRequest method. 7001 // req, resp := client.GetDevEndpointRequest(params) 7002 // 7003 // err := req.Send() 7004 // if err == nil { // resp is now filled 7005 // fmt.Println(resp) 7006 // } 7007 // 7008 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint 7009 func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) { 7010 op := &request.Operation{ 7011 Name: opGetDevEndpoint, 7012 HTTPMethod: "POST", 7013 HTTPPath: "/", 7014 } 7015 7016 if input == nil { 7017 input = &GetDevEndpointInput{} 7018 } 7019 7020 output = &GetDevEndpointOutput{} 7021 req = c.newRequest(op, input, output) 7022 return 7023 } 7024 7025 // GetDevEndpoint API operation for AWS Glue. 7026 // 7027 // Retrieves information about a specified development endpoint. 7028 // 7029 // When you create a development endpoint in a virtual private cloud (VPC), 7030 // Glue returns only a private IP address, and the public IP address field is 7031 // not populated. When you create a non-VPC development endpoint, Glue returns 7032 // only a public IP address. 7033 // 7034 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7035 // with awserr.Error's Code and Message methods to get detailed information about 7036 // the error. 7037 // 7038 // See the AWS API reference guide for AWS Glue's 7039 // API operation GetDevEndpoint for usage and error information. 7040 // 7041 // Returned Error Types: 7042 // * EntityNotFoundException 7043 // A specified entity does not exist 7044 // 7045 // * InternalServiceException 7046 // An internal service error occurred. 7047 // 7048 // * OperationTimeoutException 7049 // The operation timed out. 7050 // 7051 // * InvalidInputException 7052 // The input provided was not valid. 7053 // 7054 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint 7055 func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) { 7056 req, out := c.GetDevEndpointRequest(input) 7057 return out, req.Send() 7058 } 7059 7060 // GetDevEndpointWithContext is the same as GetDevEndpoint with the addition of 7061 // the ability to pass a context and additional request options. 7062 // 7063 // See GetDevEndpoint for details on how to use this API operation. 7064 // 7065 // The context must be non-nil and will be used for request cancellation. If 7066 // the context is nil a panic will occur. In the future the SDK may create 7067 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7068 // for more information on using Contexts. 7069 func (c *Glue) GetDevEndpointWithContext(ctx aws.Context, input *GetDevEndpointInput, opts ...request.Option) (*GetDevEndpointOutput, error) { 7070 req, out := c.GetDevEndpointRequest(input) 7071 req.SetContext(ctx) 7072 req.ApplyOptions(opts...) 7073 return out, req.Send() 7074 } 7075 7076 const opGetDevEndpoints = "GetDevEndpoints" 7077 7078 // GetDevEndpointsRequest generates a "aws/request.Request" representing the 7079 // client's request for the GetDevEndpoints operation. The "output" return 7080 // value will be populated with the request's response once the request completes 7081 // successfully. 7082 // 7083 // Use "Send" method on the returned Request to send the API call to the service. 7084 // the "output" return value is not valid until after Send returns without error. 7085 // 7086 // See GetDevEndpoints for more information on using the GetDevEndpoints 7087 // API call, and error handling. 7088 // 7089 // This method is useful when you want to inject custom logic or configuration 7090 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7091 // 7092 // 7093 // // Example sending a request using the GetDevEndpointsRequest method. 7094 // req, resp := client.GetDevEndpointsRequest(params) 7095 // 7096 // err := req.Send() 7097 // if err == nil { // resp is now filled 7098 // fmt.Println(resp) 7099 // } 7100 // 7101 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints 7102 func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) { 7103 op := &request.Operation{ 7104 Name: opGetDevEndpoints, 7105 HTTPMethod: "POST", 7106 HTTPPath: "/", 7107 Paginator: &request.Paginator{ 7108 InputTokens: []string{"NextToken"}, 7109 OutputTokens: []string{"NextToken"}, 7110 LimitToken: "MaxResults", 7111 TruncationToken: "", 7112 }, 7113 } 7114 7115 if input == nil { 7116 input = &GetDevEndpointsInput{} 7117 } 7118 7119 output = &GetDevEndpointsOutput{} 7120 req = c.newRequest(op, input, output) 7121 return 7122 } 7123 7124 // GetDevEndpoints API operation for AWS Glue. 7125 // 7126 // Retrieves all the development endpoints in this AWS account. 7127 // 7128 // When you create a development endpoint in a virtual private cloud (VPC), 7129 // Glue returns only a private IP address and the public IP address field is 7130 // not populated. When you create a non-VPC development endpoint, Glue returns 7131 // only a public IP address. 7132 // 7133 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7134 // with awserr.Error's Code and Message methods to get detailed information about 7135 // the error. 7136 // 7137 // See the AWS API reference guide for AWS Glue's 7138 // API operation GetDevEndpoints for usage and error information. 7139 // 7140 // Returned Error Types: 7141 // * EntityNotFoundException 7142 // A specified entity does not exist 7143 // 7144 // * InternalServiceException 7145 // An internal service error occurred. 7146 // 7147 // * OperationTimeoutException 7148 // The operation timed out. 7149 // 7150 // * InvalidInputException 7151 // The input provided was not valid. 7152 // 7153 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints 7154 func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) { 7155 req, out := c.GetDevEndpointsRequest(input) 7156 return out, req.Send() 7157 } 7158 7159 // GetDevEndpointsWithContext is the same as GetDevEndpoints with the addition of 7160 // the ability to pass a context and additional request options. 7161 // 7162 // See GetDevEndpoints for details on how to use this API operation. 7163 // 7164 // The context must be non-nil and will be used for request cancellation. If 7165 // the context is nil a panic will occur. In the future the SDK may create 7166 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7167 // for more information on using Contexts. 7168 func (c *Glue) GetDevEndpointsWithContext(ctx aws.Context, input *GetDevEndpointsInput, opts ...request.Option) (*GetDevEndpointsOutput, error) { 7169 req, out := c.GetDevEndpointsRequest(input) 7170 req.SetContext(ctx) 7171 req.ApplyOptions(opts...) 7172 return out, req.Send() 7173 } 7174 7175 // GetDevEndpointsPages iterates over the pages of a GetDevEndpoints operation, 7176 // calling the "fn" function with the response data for each page. To stop 7177 // iterating, return false from the fn function. 7178 // 7179 // See GetDevEndpoints method for more information on how to use this operation. 7180 // 7181 // Note: This operation can generate multiple requests to a service. 7182 // 7183 // // Example iterating over at most 3 pages of a GetDevEndpoints operation. 7184 // pageNum := 0 7185 // err := client.GetDevEndpointsPages(params, 7186 // func(page *glue.GetDevEndpointsOutput, lastPage bool) bool { 7187 // pageNum++ 7188 // fmt.Println(page) 7189 // return pageNum <= 3 7190 // }) 7191 // 7192 func (c *Glue) GetDevEndpointsPages(input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool) error { 7193 return c.GetDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) 7194 } 7195 7196 // GetDevEndpointsPagesWithContext same as GetDevEndpointsPages except 7197 // it takes a Context and allows setting request options on the pages. 7198 // 7199 // The context must be non-nil and will be used for request cancellation. If 7200 // the context is nil a panic will occur. In the future the SDK may create 7201 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7202 // for more information on using Contexts. 7203 func (c *Glue) GetDevEndpointsPagesWithContext(ctx aws.Context, input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool, opts ...request.Option) error { 7204 p := request.Pagination{ 7205 NewRequest: func() (*request.Request, error) { 7206 var inCpy *GetDevEndpointsInput 7207 if input != nil { 7208 tmp := *input 7209 inCpy = &tmp 7210 } 7211 req, _ := c.GetDevEndpointsRequest(inCpy) 7212 req.SetContext(ctx) 7213 req.ApplyOptions(opts...) 7214 return req, nil 7215 }, 7216 } 7217 7218 for p.Next() { 7219 if !fn(p.Page().(*GetDevEndpointsOutput), !p.HasNextPage()) { 7220 break 7221 } 7222 } 7223 7224 return p.Err() 7225 } 7226 7227 const opGetJob = "GetJob" 7228 7229 // GetJobRequest generates a "aws/request.Request" representing the 7230 // client's request for the GetJob operation. The "output" return 7231 // value will be populated with the request's response once the request completes 7232 // successfully. 7233 // 7234 // Use "Send" method on the returned Request to send the API call to the service. 7235 // the "output" return value is not valid until after Send returns without error. 7236 // 7237 // See GetJob for more information on using the GetJob 7238 // API call, and error handling. 7239 // 7240 // This method is useful when you want to inject custom logic or configuration 7241 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7242 // 7243 // 7244 // // Example sending a request using the GetJobRequest method. 7245 // req, resp := client.GetJobRequest(params) 7246 // 7247 // err := req.Send() 7248 // if err == nil { // resp is now filled 7249 // fmt.Println(resp) 7250 // } 7251 // 7252 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob 7253 func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { 7254 op := &request.Operation{ 7255 Name: opGetJob, 7256 HTTPMethod: "POST", 7257 HTTPPath: "/", 7258 } 7259 7260 if input == nil { 7261 input = &GetJobInput{} 7262 } 7263 7264 output = &GetJobOutput{} 7265 req = c.newRequest(op, input, output) 7266 return 7267 } 7268 7269 // GetJob API operation for AWS Glue. 7270 // 7271 // Retrieves an existing job definition. 7272 // 7273 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7274 // with awserr.Error's Code and Message methods to get detailed information about 7275 // the error. 7276 // 7277 // See the AWS API reference guide for AWS Glue's 7278 // API operation GetJob for usage and error information. 7279 // 7280 // Returned Error Types: 7281 // * InvalidInputException 7282 // The input provided was not valid. 7283 // 7284 // * EntityNotFoundException 7285 // A specified entity does not exist 7286 // 7287 // * InternalServiceException 7288 // An internal service error occurred. 7289 // 7290 // * OperationTimeoutException 7291 // The operation timed out. 7292 // 7293 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob 7294 func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) { 7295 req, out := c.GetJobRequest(input) 7296 return out, req.Send() 7297 } 7298 7299 // GetJobWithContext is the same as GetJob with the addition of 7300 // the ability to pass a context and additional request options. 7301 // 7302 // See GetJob for details on how to use this API operation. 7303 // 7304 // The context must be non-nil and will be used for request cancellation. If 7305 // the context is nil a panic will occur. In the future the SDK may create 7306 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7307 // for more information on using Contexts. 7308 func (c *Glue) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) { 7309 req, out := c.GetJobRequest(input) 7310 req.SetContext(ctx) 7311 req.ApplyOptions(opts...) 7312 return out, req.Send() 7313 } 7314 7315 const opGetJobBookmark = "GetJobBookmark" 7316 7317 // GetJobBookmarkRequest generates a "aws/request.Request" representing the 7318 // client's request for the GetJobBookmark operation. The "output" return 7319 // value will be populated with the request's response once the request completes 7320 // successfully. 7321 // 7322 // Use "Send" method on the returned Request to send the API call to the service. 7323 // the "output" return value is not valid until after Send returns without error. 7324 // 7325 // See GetJobBookmark for more information on using the GetJobBookmark 7326 // API call, and error handling. 7327 // 7328 // This method is useful when you want to inject custom logic or configuration 7329 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7330 // 7331 // 7332 // // Example sending a request using the GetJobBookmarkRequest method. 7333 // req, resp := client.GetJobBookmarkRequest(params) 7334 // 7335 // err := req.Send() 7336 // if err == nil { // resp is now filled 7337 // fmt.Println(resp) 7338 // } 7339 // 7340 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark 7341 func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.Request, output *GetJobBookmarkOutput) { 7342 op := &request.Operation{ 7343 Name: opGetJobBookmark, 7344 HTTPMethod: "POST", 7345 HTTPPath: "/", 7346 } 7347 7348 if input == nil { 7349 input = &GetJobBookmarkInput{} 7350 } 7351 7352 output = &GetJobBookmarkOutput{} 7353 req = c.newRequest(op, input, output) 7354 return 7355 } 7356 7357 // GetJobBookmark API operation for AWS Glue. 7358 // 7359 // Returns information on a job bookmark entry. 7360 // 7361 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7362 // with awserr.Error's Code and Message methods to get detailed information about 7363 // the error. 7364 // 7365 // See the AWS API reference guide for AWS Glue's 7366 // API operation GetJobBookmark for usage and error information. 7367 // 7368 // Returned Error Types: 7369 // * EntityNotFoundException 7370 // A specified entity does not exist 7371 // 7372 // * InvalidInputException 7373 // The input provided was not valid. 7374 // 7375 // * InternalServiceException 7376 // An internal service error occurred. 7377 // 7378 // * OperationTimeoutException 7379 // The operation timed out. 7380 // 7381 // * ValidationException 7382 // A value could not be validated. 7383 // 7384 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark 7385 func (c *Glue) GetJobBookmark(input *GetJobBookmarkInput) (*GetJobBookmarkOutput, error) { 7386 req, out := c.GetJobBookmarkRequest(input) 7387 return out, req.Send() 7388 } 7389 7390 // GetJobBookmarkWithContext is the same as GetJobBookmark with the addition of 7391 // the ability to pass a context and additional request options. 7392 // 7393 // See GetJobBookmark for details on how to use this API operation. 7394 // 7395 // The context must be non-nil and will be used for request cancellation. If 7396 // the context is nil a panic will occur. In the future the SDK may create 7397 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7398 // for more information on using Contexts. 7399 func (c *Glue) GetJobBookmarkWithContext(ctx aws.Context, input *GetJobBookmarkInput, opts ...request.Option) (*GetJobBookmarkOutput, error) { 7400 req, out := c.GetJobBookmarkRequest(input) 7401 req.SetContext(ctx) 7402 req.ApplyOptions(opts...) 7403 return out, req.Send() 7404 } 7405 7406 const opGetJobRun = "GetJobRun" 7407 7408 // GetJobRunRequest generates a "aws/request.Request" representing the 7409 // client's request for the GetJobRun operation. The "output" return 7410 // value will be populated with the request's response once the request completes 7411 // successfully. 7412 // 7413 // Use "Send" method on the returned Request to send the API call to the service. 7414 // the "output" return value is not valid until after Send returns without error. 7415 // 7416 // See GetJobRun for more information on using the GetJobRun 7417 // API call, and error handling. 7418 // 7419 // This method is useful when you want to inject custom logic or configuration 7420 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7421 // 7422 // 7423 // // Example sending a request using the GetJobRunRequest method. 7424 // req, resp := client.GetJobRunRequest(params) 7425 // 7426 // err := req.Send() 7427 // if err == nil { // resp is now filled 7428 // fmt.Println(resp) 7429 // } 7430 // 7431 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun 7432 func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) { 7433 op := &request.Operation{ 7434 Name: opGetJobRun, 7435 HTTPMethod: "POST", 7436 HTTPPath: "/", 7437 } 7438 7439 if input == nil { 7440 input = &GetJobRunInput{} 7441 } 7442 7443 output = &GetJobRunOutput{} 7444 req = c.newRequest(op, input, output) 7445 return 7446 } 7447 7448 // GetJobRun API operation for AWS Glue. 7449 // 7450 // Retrieves the metadata for a given job run. 7451 // 7452 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7453 // with awserr.Error's Code and Message methods to get detailed information about 7454 // the error. 7455 // 7456 // See the AWS API reference guide for AWS Glue's 7457 // API operation GetJobRun for usage and error information. 7458 // 7459 // Returned Error Types: 7460 // * InvalidInputException 7461 // The input provided was not valid. 7462 // 7463 // * EntityNotFoundException 7464 // A specified entity does not exist 7465 // 7466 // * InternalServiceException 7467 // An internal service error occurred. 7468 // 7469 // * OperationTimeoutException 7470 // The operation timed out. 7471 // 7472 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun 7473 func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) { 7474 req, out := c.GetJobRunRequest(input) 7475 return out, req.Send() 7476 } 7477 7478 // GetJobRunWithContext is the same as GetJobRun with the addition of 7479 // the ability to pass a context and additional request options. 7480 // 7481 // See GetJobRun for details on how to use this API operation. 7482 // 7483 // The context must be non-nil and will be used for request cancellation. If 7484 // the context is nil a panic will occur. In the future the SDK may create 7485 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7486 // for more information on using Contexts. 7487 func (c *Glue) GetJobRunWithContext(ctx aws.Context, input *GetJobRunInput, opts ...request.Option) (*GetJobRunOutput, error) { 7488 req, out := c.GetJobRunRequest(input) 7489 req.SetContext(ctx) 7490 req.ApplyOptions(opts...) 7491 return out, req.Send() 7492 } 7493 7494 const opGetJobRuns = "GetJobRuns" 7495 7496 // GetJobRunsRequest generates a "aws/request.Request" representing the 7497 // client's request for the GetJobRuns operation. The "output" return 7498 // value will be populated with the request's response once the request completes 7499 // successfully. 7500 // 7501 // Use "Send" method on the returned Request to send the API call to the service. 7502 // the "output" return value is not valid until after Send returns without error. 7503 // 7504 // See GetJobRuns for more information on using the GetJobRuns 7505 // API call, and error handling. 7506 // 7507 // This method is useful when you want to inject custom logic or configuration 7508 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7509 // 7510 // 7511 // // Example sending a request using the GetJobRunsRequest method. 7512 // req, resp := client.GetJobRunsRequest(params) 7513 // 7514 // err := req.Send() 7515 // if err == nil { // resp is now filled 7516 // fmt.Println(resp) 7517 // } 7518 // 7519 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns 7520 func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) { 7521 op := &request.Operation{ 7522 Name: opGetJobRuns, 7523 HTTPMethod: "POST", 7524 HTTPPath: "/", 7525 Paginator: &request.Paginator{ 7526 InputTokens: []string{"NextToken"}, 7527 OutputTokens: []string{"NextToken"}, 7528 LimitToken: "MaxResults", 7529 TruncationToken: "", 7530 }, 7531 } 7532 7533 if input == nil { 7534 input = &GetJobRunsInput{} 7535 } 7536 7537 output = &GetJobRunsOutput{} 7538 req = c.newRequest(op, input, output) 7539 return 7540 } 7541 7542 // GetJobRuns API operation for AWS Glue. 7543 // 7544 // Retrieves metadata for all runs of a given job definition. 7545 // 7546 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7547 // with awserr.Error's Code and Message methods to get detailed information about 7548 // the error. 7549 // 7550 // See the AWS API reference guide for AWS Glue's 7551 // API operation GetJobRuns for usage and error information. 7552 // 7553 // Returned Error Types: 7554 // * InvalidInputException 7555 // The input provided was not valid. 7556 // 7557 // * EntityNotFoundException 7558 // A specified entity does not exist 7559 // 7560 // * InternalServiceException 7561 // An internal service error occurred. 7562 // 7563 // * OperationTimeoutException 7564 // The operation timed out. 7565 // 7566 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns 7567 func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) { 7568 req, out := c.GetJobRunsRequest(input) 7569 return out, req.Send() 7570 } 7571 7572 // GetJobRunsWithContext is the same as GetJobRuns with the addition of 7573 // the ability to pass a context and additional request options. 7574 // 7575 // See GetJobRuns for details on how to use this API operation. 7576 // 7577 // The context must be non-nil and will be used for request cancellation. If 7578 // the context is nil a panic will occur. In the future the SDK may create 7579 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7580 // for more information on using Contexts. 7581 func (c *Glue) GetJobRunsWithContext(ctx aws.Context, input *GetJobRunsInput, opts ...request.Option) (*GetJobRunsOutput, error) { 7582 req, out := c.GetJobRunsRequest(input) 7583 req.SetContext(ctx) 7584 req.ApplyOptions(opts...) 7585 return out, req.Send() 7586 } 7587 7588 // GetJobRunsPages iterates over the pages of a GetJobRuns operation, 7589 // calling the "fn" function with the response data for each page. To stop 7590 // iterating, return false from the fn function. 7591 // 7592 // See GetJobRuns method for more information on how to use this operation. 7593 // 7594 // Note: This operation can generate multiple requests to a service. 7595 // 7596 // // Example iterating over at most 3 pages of a GetJobRuns operation. 7597 // pageNum := 0 7598 // err := client.GetJobRunsPages(params, 7599 // func(page *glue.GetJobRunsOutput, lastPage bool) bool { 7600 // pageNum++ 7601 // fmt.Println(page) 7602 // return pageNum <= 3 7603 // }) 7604 // 7605 func (c *Glue) GetJobRunsPages(input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool) error { 7606 return c.GetJobRunsPagesWithContext(aws.BackgroundContext(), input, fn) 7607 } 7608 7609 // GetJobRunsPagesWithContext same as GetJobRunsPages except 7610 // it takes a Context and allows setting request options on the pages. 7611 // 7612 // The context must be non-nil and will be used for request cancellation. If 7613 // the context is nil a panic will occur. In the future the SDK may create 7614 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7615 // for more information on using Contexts. 7616 func (c *Glue) GetJobRunsPagesWithContext(ctx aws.Context, input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool, opts ...request.Option) error { 7617 p := request.Pagination{ 7618 NewRequest: func() (*request.Request, error) { 7619 var inCpy *GetJobRunsInput 7620 if input != nil { 7621 tmp := *input 7622 inCpy = &tmp 7623 } 7624 req, _ := c.GetJobRunsRequest(inCpy) 7625 req.SetContext(ctx) 7626 req.ApplyOptions(opts...) 7627 return req, nil 7628 }, 7629 } 7630 7631 for p.Next() { 7632 if !fn(p.Page().(*GetJobRunsOutput), !p.HasNextPage()) { 7633 break 7634 } 7635 } 7636 7637 return p.Err() 7638 } 7639 7640 const opGetJobs = "GetJobs" 7641 7642 // GetJobsRequest generates a "aws/request.Request" representing the 7643 // client's request for the GetJobs operation. The "output" return 7644 // value will be populated with the request's response once the request completes 7645 // successfully. 7646 // 7647 // Use "Send" method on the returned Request to send the API call to the service. 7648 // the "output" return value is not valid until after Send returns without error. 7649 // 7650 // See GetJobs for more information on using the GetJobs 7651 // API call, and error handling. 7652 // 7653 // This method is useful when you want to inject custom logic or configuration 7654 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7655 // 7656 // 7657 // // Example sending a request using the GetJobsRequest method. 7658 // req, resp := client.GetJobsRequest(params) 7659 // 7660 // err := req.Send() 7661 // if err == nil { // resp is now filled 7662 // fmt.Println(resp) 7663 // } 7664 // 7665 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs 7666 func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) { 7667 op := &request.Operation{ 7668 Name: opGetJobs, 7669 HTTPMethod: "POST", 7670 HTTPPath: "/", 7671 Paginator: &request.Paginator{ 7672 InputTokens: []string{"NextToken"}, 7673 OutputTokens: []string{"NextToken"}, 7674 LimitToken: "MaxResults", 7675 TruncationToken: "", 7676 }, 7677 } 7678 7679 if input == nil { 7680 input = &GetJobsInput{} 7681 } 7682 7683 output = &GetJobsOutput{} 7684 req = c.newRequest(op, input, output) 7685 return 7686 } 7687 7688 // GetJobs API operation for AWS Glue. 7689 // 7690 // Retrieves all current job definitions. 7691 // 7692 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7693 // with awserr.Error's Code and Message methods to get detailed information about 7694 // the error. 7695 // 7696 // See the AWS API reference guide for AWS Glue's 7697 // API operation GetJobs for usage and error information. 7698 // 7699 // Returned Error Types: 7700 // * InvalidInputException 7701 // The input provided was not valid. 7702 // 7703 // * EntityNotFoundException 7704 // A specified entity does not exist 7705 // 7706 // * InternalServiceException 7707 // An internal service error occurred. 7708 // 7709 // * OperationTimeoutException 7710 // The operation timed out. 7711 // 7712 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs 7713 func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) { 7714 req, out := c.GetJobsRequest(input) 7715 return out, req.Send() 7716 } 7717 7718 // GetJobsWithContext is the same as GetJobs with the addition of 7719 // the ability to pass a context and additional request options. 7720 // 7721 // See GetJobs for details on how to use this API operation. 7722 // 7723 // The context must be non-nil and will be used for request cancellation. If 7724 // the context is nil a panic will occur. In the future the SDK may create 7725 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7726 // for more information on using Contexts. 7727 func (c *Glue) GetJobsWithContext(ctx aws.Context, input *GetJobsInput, opts ...request.Option) (*GetJobsOutput, error) { 7728 req, out := c.GetJobsRequest(input) 7729 req.SetContext(ctx) 7730 req.ApplyOptions(opts...) 7731 return out, req.Send() 7732 } 7733 7734 // GetJobsPages iterates over the pages of a GetJobs operation, 7735 // calling the "fn" function with the response data for each page. To stop 7736 // iterating, return false from the fn function. 7737 // 7738 // See GetJobs method for more information on how to use this operation. 7739 // 7740 // Note: This operation can generate multiple requests to a service. 7741 // 7742 // // Example iterating over at most 3 pages of a GetJobs operation. 7743 // pageNum := 0 7744 // err := client.GetJobsPages(params, 7745 // func(page *glue.GetJobsOutput, lastPage bool) bool { 7746 // pageNum++ 7747 // fmt.Println(page) 7748 // return pageNum <= 3 7749 // }) 7750 // 7751 func (c *Glue) GetJobsPages(input *GetJobsInput, fn func(*GetJobsOutput, bool) bool) error { 7752 return c.GetJobsPagesWithContext(aws.BackgroundContext(), input, fn) 7753 } 7754 7755 // GetJobsPagesWithContext same as GetJobsPages except 7756 // it takes a Context and allows setting request options on the pages. 7757 // 7758 // The context must be non-nil and will be used for request cancellation. If 7759 // the context is nil a panic will occur. In the future the SDK may create 7760 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7761 // for more information on using Contexts. 7762 func (c *Glue) GetJobsPagesWithContext(ctx aws.Context, input *GetJobsInput, fn func(*GetJobsOutput, bool) bool, opts ...request.Option) error { 7763 p := request.Pagination{ 7764 NewRequest: func() (*request.Request, error) { 7765 var inCpy *GetJobsInput 7766 if input != nil { 7767 tmp := *input 7768 inCpy = &tmp 7769 } 7770 req, _ := c.GetJobsRequest(inCpy) 7771 req.SetContext(ctx) 7772 req.ApplyOptions(opts...) 7773 return req, nil 7774 }, 7775 } 7776 7777 for p.Next() { 7778 if !fn(p.Page().(*GetJobsOutput), !p.HasNextPage()) { 7779 break 7780 } 7781 } 7782 7783 return p.Err() 7784 } 7785 7786 const opGetMLTaskRun = "GetMLTaskRun" 7787 7788 // GetMLTaskRunRequest generates a "aws/request.Request" representing the 7789 // client's request for the GetMLTaskRun operation. The "output" return 7790 // value will be populated with the request's response once the request completes 7791 // successfully. 7792 // 7793 // Use "Send" method on the returned Request to send the API call to the service. 7794 // the "output" return value is not valid until after Send returns without error. 7795 // 7796 // See GetMLTaskRun for more information on using the GetMLTaskRun 7797 // API call, and error handling. 7798 // 7799 // This method is useful when you want to inject custom logic or configuration 7800 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7801 // 7802 // 7803 // // Example sending a request using the GetMLTaskRunRequest method. 7804 // req, resp := client.GetMLTaskRunRequest(params) 7805 // 7806 // err := req.Send() 7807 // if err == nil { // resp is now filled 7808 // fmt.Println(resp) 7809 // } 7810 // 7811 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun 7812 func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Request, output *GetMLTaskRunOutput) { 7813 op := &request.Operation{ 7814 Name: opGetMLTaskRun, 7815 HTTPMethod: "POST", 7816 HTTPPath: "/", 7817 } 7818 7819 if input == nil { 7820 input = &GetMLTaskRunInput{} 7821 } 7822 7823 output = &GetMLTaskRunOutput{} 7824 req = c.newRequest(op, input, output) 7825 return 7826 } 7827 7828 // GetMLTaskRun API operation for AWS Glue. 7829 // 7830 // Gets details for a specific task run on a machine learning transform. Machine 7831 // learning task runs are asynchronous tasks that Glue runs on your behalf as 7832 // part of various machine learning workflows. You can check the stats of any 7833 // task run by calling GetMLTaskRun with the TaskRunID and its parent transform's 7834 // TransformID. 7835 // 7836 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7837 // with awserr.Error's Code and Message methods to get detailed information about 7838 // the error. 7839 // 7840 // See the AWS API reference guide for AWS Glue's 7841 // API operation GetMLTaskRun for usage and error information. 7842 // 7843 // Returned Error Types: 7844 // * EntityNotFoundException 7845 // A specified entity does not exist 7846 // 7847 // * InvalidInputException 7848 // The input provided was not valid. 7849 // 7850 // * OperationTimeoutException 7851 // The operation timed out. 7852 // 7853 // * InternalServiceException 7854 // An internal service error occurred. 7855 // 7856 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun 7857 func (c *Glue) GetMLTaskRun(input *GetMLTaskRunInput) (*GetMLTaskRunOutput, error) { 7858 req, out := c.GetMLTaskRunRequest(input) 7859 return out, req.Send() 7860 } 7861 7862 // GetMLTaskRunWithContext is the same as GetMLTaskRun with the addition of 7863 // the ability to pass a context and additional request options. 7864 // 7865 // See GetMLTaskRun for details on how to use this API operation. 7866 // 7867 // The context must be non-nil and will be used for request cancellation. If 7868 // the context is nil a panic will occur. In the future the SDK may create 7869 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7870 // for more information on using Contexts. 7871 func (c *Glue) GetMLTaskRunWithContext(ctx aws.Context, input *GetMLTaskRunInput, opts ...request.Option) (*GetMLTaskRunOutput, error) { 7872 req, out := c.GetMLTaskRunRequest(input) 7873 req.SetContext(ctx) 7874 req.ApplyOptions(opts...) 7875 return out, req.Send() 7876 } 7877 7878 const opGetMLTaskRuns = "GetMLTaskRuns" 7879 7880 // GetMLTaskRunsRequest generates a "aws/request.Request" representing the 7881 // client's request for the GetMLTaskRuns operation. The "output" return 7882 // value will be populated with the request's response once the request completes 7883 // successfully. 7884 // 7885 // Use "Send" method on the returned Request to send the API call to the service. 7886 // the "output" return value is not valid until after Send returns without error. 7887 // 7888 // See GetMLTaskRuns for more information on using the GetMLTaskRuns 7889 // API call, and error handling. 7890 // 7891 // This method is useful when you want to inject custom logic or configuration 7892 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7893 // 7894 // 7895 // // Example sending a request using the GetMLTaskRunsRequest method. 7896 // req, resp := client.GetMLTaskRunsRequest(params) 7897 // 7898 // err := req.Send() 7899 // if err == nil { // resp is now filled 7900 // fmt.Println(resp) 7901 // } 7902 // 7903 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns 7904 func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Request, output *GetMLTaskRunsOutput) { 7905 op := &request.Operation{ 7906 Name: opGetMLTaskRuns, 7907 HTTPMethod: "POST", 7908 HTTPPath: "/", 7909 Paginator: &request.Paginator{ 7910 InputTokens: []string{"NextToken"}, 7911 OutputTokens: []string{"NextToken"}, 7912 LimitToken: "MaxResults", 7913 TruncationToken: "", 7914 }, 7915 } 7916 7917 if input == nil { 7918 input = &GetMLTaskRunsInput{} 7919 } 7920 7921 output = &GetMLTaskRunsOutput{} 7922 req = c.newRequest(op, input, output) 7923 return 7924 } 7925 7926 // GetMLTaskRuns API operation for AWS Glue. 7927 // 7928 // Gets a list of runs for a machine learning transform. Machine learning task 7929 // runs are asynchronous tasks that Glue runs on your behalf as part of various 7930 // machine learning workflows. You can get a sortable, filterable list of machine 7931 // learning task runs by calling GetMLTaskRuns with their parent transform's 7932 // TransformID and other optional parameters as documented in this section. 7933 // 7934 // This operation returns a list of historic runs and must be paginated. 7935 // 7936 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7937 // with awserr.Error's Code and Message methods to get detailed information about 7938 // the error. 7939 // 7940 // See the AWS API reference guide for AWS Glue's 7941 // API operation GetMLTaskRuns for usage and error information. 7942 // 7943 // Returned Error Types: 7944 // * EntityNotFoundException 7945 // A specified entity does not exist 7946 // 7947 // * InvalidInputException 7948 // The input provided was not valid. 7949 // 7950 // * OperationTimeoutException 7951 // The operation timed out. 7952 // 7953 // * InternalServiceException 7954 // An internal service error occurred. 7955 // 7956 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns 7957 func (c *Glue) GetMLTaskRuns(input *GetMLTaskRunsInput) (*GetMLTaskRunsOutput, error) { 7958 req, out := c.GetMLTaskRunsRequest(input) 7959 return out, req.Send() 7960 } 7961 7962 // GetMLTaskRunsWithContext is the same as GetMLTaskRuns with the addition of 7963 // the ability to pass a context and additional request options. 7964 // 7965 // See GetMLTaskRuns for details on how to use this API operation. 7966 // 7967 // The context must be non-nil and will be used for request cancellation. If 7968 // the context is nil a panic will occur. In the future the SDK may create 7969 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7970 // for more information on using Contexts. 7971 func (c *Glue) GetMLTaskRunsWithContext(ctx aws.Context, input *GetMLTaskRunsInput, opts ...request.Option) (*GetMLTaskRunsOutput, error) { 7972 req, out := c.GetMLTaskRunsRequest(input) 7973 req.SetContext(ctx) 7974 req.ApplyOptions(opts...) 7975 return out, req.Send() 7976 } 7977 7978 // GetMLTaskRunsPages iterates over the pages of a GetMLTaskRuns operation, 7979 // calling the "fn" function with the response data for each page. To stop 7980 // iterating, return false from the fn function. 7981 // 7982 // See GetMLTaskRuns method for more information on how to use this operation. 7983 // 7984 // Note: This operation can generate multiple requests to a service. 7985 // 7986 // // Example iterating over at most 3 pages of a GetMLTaskRuns operation. 7987 // pageNum := 0 7988 // err := client.GetMLTaskRunsPages(params, 7989 // func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool { 7990 // pageNum++ 7991 // fmt.Println(page) 7992 // return pageNum <= 3 7993 // }) 7994 // 7995 func (c *Glue) GetMLTaskRunsPages(input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool) error { 7996 return c.GetMLTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn) 7997 } 7998 7999 // GetMLTaskRunsPagesWithContext same as GetMLTaskRunsPages except 8000 // it takes a Context and allows setting request options on the pages. 8001 // 8002 // The context must be non-nil and will be used for request cancellation. If 8003 // the context is nil a panic will occur. In the future the SDK may create 8004 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8005 // for more information on using Contexts. 8006 func (c *Glue) GetMLTaskRunsPagesWithContext(ctx aws.Context, input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool, opts ...request.Option) error { 8007 p := request.Pagination{ 8008 NewRequest: func() (*request.Request, error) { 8009 var inCpy *GetMLTaskRunsInput 8010 if input != nil { 8011 tmp := *input 8012 inCpy = &tmp 8013 } 8014 req, _ := c.GetMLTaskRunsRequest(inCpy) 8015 req.SetContext(ctx) 8016 req.ApplyOptions(opts...) 8017 return req, nil 8018 }, 8019 } 8020 8021 for p.Next() { 8022 if !fn(p.Page().(*GetMLTaskRunsOutput), !p.HasNextPage()) { 8023 break 8024 } 8025 } 8026 8027 return p.Err() 8028 } 8029 8030 const opGetMLTransform = "GetMLTransform" 8031 8032 // GetMLTransformRequest generates a "aws/request.Request" representing the 8033 // client's request for the GetMLTransform operation. The "output" return 8034 // value will be populated with the request's response once the request completes 8035 // successfully. 8036 // 8037 // Use "Send" method on the returned Request to send the API call to the service. 8038 // the "output" return value is not valid until after Send returns without error. 8039 // 8040 // See GetMLTransform for more information on using the GetMLTransform 8041 // API call, and error handling. 8042 // 8043 // This method is useful when you want to inject custom logic or configuration 8044 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8045 // 8046 // 8047 // // Example sending a request using the GetMLTransformRequest method. 8048 // req, resp := client.GetMLTransformRequest(params) 8049 // 8050 // err := req.Send() 8051 // if err == nil { // resp is now filled 8052 // fmt.Println(resp) 8053 // } 8054 // 8055 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform 8056 func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.Request, output *GetMLTransformOutput) { 8057 op := &request.Operation{ 8058 Name: opGetMLTransform, 8059 HTTPMethod: "POST", 8060 HTTPPath: "/", 8061 } 8062 8063 if input == nil { 8064 input = &GetMLTransformInput{} 8065 } 8066 8067 output = &GetMLTransformOutput{} 8068 req = c.newRequest(op, input, output) 8069 return 8070 } 8071 8072 // GetMLTransform API operation for AWS Glue. 8073 // 8074 // Gets an Glue machine learning transform artifact and all its corresponding 8075 // metadata. Machine learning transforms are a special type of transform that 8076 // use machine learning to learn the details of the transformation to be performed 8077 // by learning from examples provided by humans. These transformations are then 8078 // saved by Glue. You can retrieve their metadata by calling GetMLTransform. 8079 // 8080 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8081 // with awserr.Error's Code and Message methods to get detailed information about 8082 // the error. 8083 // 8084 // See the AWS API reference guide for AWS Glue's 8085 // API operation GetMLTransform for usage and error information. 8086 // 8087 // Returned Error Types: 8088 // * EntityNotFoundException 8089 // A specified entity does not exist 8090 // 8091 // * InvalidInputException 8092 // The input provided was not valid. 8093 // 8094 // * OperationTimeoutException 8095 // The operation timed out. 8096 // 8097 // * InternalServiceException 8098 // An internal service error occurred. 8099 // 8100 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform 8101 func (c *Glue) GetMLTransform(input *GetMLTransformInput) (*GetMLTransformOutput, error) { 8102 req, out := c.GetMLTransformRequest(input) 8103 return out, req.Send() 8104 } 8105 8106 // GetMLTransformWithContext is the same as GetMLTransform with the addition of 8107 // the ability to pass a context and additional request options. 8108 // 8109 // See GetMLTransform for details on how to use this API operation. 8110 // 8111 // The context must be non-nil and will be used for request cancellation. If 8112 // the context is nil a panic will occur. In the future the SDK may create 8113 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8114 // for more information on using Contexts. 8115 func (c *Glue) GetMLTransformWithContext(ctx aws.Context, input *GetMLTransformInput, opts ...request.Option) (*GetMLTransformOutput, error) { 8116 req, out := c.GetMLTransformRequest(input) 8117 req.SetContext(ctx) 8118 req.ApplyOptions(opts...) 8119 return out, req.Send() 8120 } 8121 8122 const opGetMLTransforms = "GetMLTransforms" 8123 8124 // GetMLTransformsRequest generates a "aws/request.Request" representing the 8125 // client's request for the GetMLTransforms operation. The "output" return 8126 // value will be populated with the request's response once the request completes 8127 // successfully. 8128 // 8129 // Use "Send" method on the returned Request to send the API call to the service. 8130 // the "output" return value is not valid until after Send returns without error. 8131 // 8132 // See GetMLTransforms for more information on using the GetMLTransforms 8133 // API call, and error handling. 8134 // 8135 // This method is useful when you want to inject custom logic or configuration 8136 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8137 // 8138 // 8139 // // Example sending a request using the GetMLTransformsRequest method. 8140 // req, resp := client.GetMLTransformsRequest(params) 8141 // 8142 // err := req.Send() 8143 // if err == nil { // resp is now filled 8144 // fmt.Println(resp) 8145 // } 8146 // 8147 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms 8148 func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request.Request, output *GetMLTransformsOutput) { 8149 op := &request.Operation{ 8150 Name: opGetMLTransforms, 8151 HTTPMethod: "POST", 8152 HTTPPath: "/", 8153 Paginator: &request.Paginator{ 8154 InputTokens: []string{"NextToken"}, 8155 OutputTokens: []string{"NextToken"}, 8156 LimitToken: "MaxResults", 8157 TruncationToken: "", 8158 }, 8159 } 8160 8161 if input == nil { 8162 input = &GetMLTransformsInput{} 8163 } 8164 8165 output = &GetMLTransformsOutput{} 8166 req = c.newRequest(op, input, output) 8167 return 8168 } 8169 8170 // GetMLTransforms API operation for AWS Glue. 8171 // 8172 // Gets a sortable, filterable list of existing Glue machine learning transforms. 8173 // Machine learning transforms are a special type of transform that use machine 8174 // learning to learn the details of the transformation to be performed by learning 8175 // from examples provided by humans. These transformations are then saved by 8176 // Glue, and you can retrieve their metadata by calling GetMLTransforms. 8177 // 8178 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8179 // with awserr.Error's Code and Message methods to get detailed information about 8180 // the error. 8181 // 8182 // See the AWS API reference guide for AWS Glue's 8183 // API operation GetMLTransforms for usage and error information. 8184 // 8185 // Returned Error Types: 8186 // * EntityNotFoundException 8187 // A specified entity does not exist 8188 // 8189 // * InvalidInputException 8190 // The input provided was not valid. 8191 // 8192 // * OperationTimeoutException 8193 // The operation timed out. 8194 // 8195 // * InternalServiceException 8196 // An internal service error occurred. 8197 // 8198 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms 8199 func (c *Glue) GetMLTransforms(input *GetMLTransformsInput) (*GetMLTransformsOutput, error) { 8200 req, out := c.GetMLTransformsRequest(input) 8201 return out, req.Send() 8202 } 8203 8204 // GetMLTransformsWithContext is the same as GetMLTransforms with the addition of 8205 // the ability to pass a context and additional request options. 8206 // 8207 // See GetMLTransforms for details on how to use this API operation. 8208 // 8209 // The context must be non-nil and will be used for request cancellation. If 8210 // the context is nil a panic will occur. In the future the SDK may create 8211 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8212 // for more information on using Contexts. 8213 func (c *Glue) GetMLTransformsWithContext(ctx aws.Context, input *GetMLTransformsInput, opts ...request.Option) (*GetMLTransformsOutput, error) { 8214 req, out := c.GetMLTransformsRequest(input) 8215 req.SetContext(ctx) 8216 req.ApplyOptions(opts...) 8217 return out, req.Send() 8218 } 8219 8220 // GetMLTransformsPages iterates over the pages of a GetMLTransforms operation, 8221 // calling the "fn" function with the response data for each page. To stop 8222 // iterating, return false from the fn function. 8223 // 8224 // See GetMLTransforms method for more information on how to use this operation. 8225 // 8226 // Note: This operation can generate multiple requests to a service. 8227 // 8228 // // Example iterating over at most 3 pages of a GetMLTransforms operation. 8229 // pageNum := 0 8230 // err := client.GetMLTransformsPages(params, 8231 // func(page *glue.GetMLTransformsOutput, lastPage bool) bool { 8232 // pageNum++ 8233 // fmt.Println(page) 8234 // return pageNum <= 3 8235 // }) 8236 // 8237 func (c *Glue) GetMLTransformsPages(input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool) error { 8238 return c.GetMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn) 8239 } 8240 8241 // GetMLTransformsPagesWithContext same as GetMLTransformsPages except 8242 // it takes a Context and allows setting request options on the pages. 8243 // 8244 // The context must be non-nil and will be used for request cancellation. If 8245 // the context is nil a panic will occur. In the future the SDK may create 8246 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8247 // for more information on using Contexts. 8248 func (c *Glue) GetMLTransformsPagesWithContext(ctx aws.Context, input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool, opts ...request.Option) error { 8249 p := request.Pagination{ 8250 NewRequest: func() (*request.Request, error) { 8251 var inCpy *GetMLTransformsInput 8252 if input != nil { 8253 tmp := *input 8254 inCpy = &tmp 8255 } 8256 req, _ := c.GetMLTransformsRequest(inCpy) 8257 req.SetContext(ctx) 8258 req.ApplyOptions(opts...) 8259 return req, nil 8260 }, 8261 } 8262 8263 for p.Next() { 8264 if !fn(p.Page().(*GetMLTransformsOutput), !p.HasNextPage()) { 8265 break 8266 } 8267 } 8268 8269 return p.Err() 8270 } 8271 8272 const opGetMapping = "GetMapping" 8273 8274 // GetMappingRequest generates a "aws/request.Request" representing the 8275 // client's request for the GetMapping operation. The "output" return 8276 // value will be populated with the request's response once the request completes 8277 // successfully. 8278 // 8279 // Use "Send" method on the returned Request to send the API call to the service. 8280 // the "output" return value is not valid until after Send returns without error. 8281 // 8282 // See GetMapping for more information on using the GetMapping 8283 // API call, and error handling. 8284 // 8285 // This method is useful when you want to inject custom logic or configuration 8286 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8287 // 8288 // 8289 // // Example sending a request using the GetMappingRequest method. 8290 // req, resp := client.GetMappingRequest(params) 8291 // 8292 // err := req.Send() 8293 // if err == nil { // resp is now filled 8294 // fmt.Println(resp) 8295 // } 8296 // 8297 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping 8298 func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) { 8299 op := &request.Operation{ 8300 Name: opGetMapping, 8301 HTTPMethod: "POST", 8302 HTTPPath: "/", 8303 } 8304 8305 if input == nil { 8306 input = &GetMappingInput{} 8307 } 8308 8309 output = &GetMappingOutput{} 8310 req = c.newRequest(op, input, output) 8311 return 8312 } 8313 8314 // GetMapping API operation for AWS Glue. 8315 // 8316 // Creates mappings. 8317 // 8318 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8319 // with awserr.Error's Code and Message methods to get detailed information about 8320 // the error. 8321 // 8322 // See the AWS API reference guide for AWS Glue's 8323 // API operation GetMapping for usage and error information. 8324 // 8325 // Returned Error Types: 8326 // * InvalidInputException 8327 // The input provided was not valid. 8328 // 8329 // * InternalServiceException 8330 // An internal service error occurred. 8331 // 8332 // * OperationTimeoutException 8333 // The operation timed out. 8334 // 8335 // * EntityNotFoundException 8336 // A specified entity does not exist 8337 // 8338 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping 8339 func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) { 8340 req, out := c.GetMappingRequest(input) 8341 return out, req.Send() 8342 } 8343 8344 // GetMappingWithContext is the same as GetMapping with the addition of 8345 // the ability to pass a context and additional request options. 8346 // 8347 // See GetMapping for details on how to use this API operation. 8348 // 8349 // The context must be non-nil and will be used for request cancellation. If 8350 // the context is nil a panic will occur. In the future the SDK may create 8351 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8352 // for more information on using Contexts. 8353 func (c *Glue) GetMappingWithContext(ctx aws.Context, input *GetMappingInput, opts ...request.Option) (*GetMappingOutput, error) { 8354 req, out := c.GetMappingRequest(input) 8355 req.SetContext(ctx) 8356 req.ApplyOptions(opts...) 8357 return out, req.Send() 8358 } 8359 8360 const opGetPartition = "GetPartition" 8361 8362 // GetPartitionRequest generates a "aws/request.Request" representing the 8363 // client's request for the GetPartition operation. The "output" return 8364 // value will be populated with the request's response once the request completes 8365 // successfully. 8366 // 8367 // Use "Send" method on the returned Request to send the API call to the service. 8368 // the "output" return value is not valid until after Send returns without error. 8369 // 8370 // See GetPartition for more information on using the GetPartition 8371 // API call, and error handling. 8372 // 8373 // This method is useful when you want to inject custom logic or configuration 8374 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8375 // 8376 // 8377 // // Example sending a request using the GetPartitionRequest method. 8378 // req, resp := client.GetPartitionRequest(params) 8379 // 8380 // err := req.Send() 8381 // if err == nil { // resp is now filled 8382 // fmt.Println(resp) 8383 // } 8384 // 8385 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition 8386 func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) { 8387 op := &request.Operation{ 8388 Name: opGetPartition, 8389 HTTPMethod: "POST", 8390 HTTPPath: "/", 8391 } 8392 8393 if input == nil { 8394 input = &GetPartitionInput{} 8395 } 8396 8397 output = &GetPartitionOutput{} 8398 req = c.newRequest(op, input, output) 8399 return 8400 } 8401 8402 // GetPartition API operation for AWS Glue. 8403 // 8404 // Retrieves information about a specified partition. 8405 // 8406 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8407 // with awserr.Error's Code and Message methods to get detailed information about 8408 // the error. 8409 // 8410 // See the AWS API reference guide for AWS Glue's 8411 // API operation GetPartition for usage and error information. 8412 // 8413 // Returned Error Types: 8414 // * EntityNotFoundException 8415 // A specified entity does not exist 8416 // 8417 // * InvalidInputException 8418 // The input provided was not valid. 8419 // 8420 // * InternalServiceException 8421 // An internal service error occurred. 8422 // 8423 // * OperationTimeoutException 8424 // The operation timed out. 8425 // 8426 // * EncryptionException 8427 // An encryption operation failed. 8428 // 8429 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition 8430 func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) { 8431 req, out := c.GetPartitionRequest(input) 8432 return out, req.Send() 8433 } 8434 8435 // GetPartitionWithContext is the same as GetPartition with the addition of 8436 // the ability to pass a context and additional request options. 8437 // 8438 // See GetPartition for details on how to use this API operation. 8439 // 8440 // The context must be non-nil and will be used for request cancellation. If 8441 // the context is nil a panic will occur. In the future the SDK may create 8442 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8443 // for more information on using Contexts. 8444 func (c *Glue) GetPartitionWithContext(ctx aws.Context, input *GetPartitionInput, opts ...request.Option) (*GetPartitionOutput, error) { 8445 req, out := c.GetPartitionRequest(input) 8446 req.SetContext(ctx) 8447 req.ApplyOptions(opts...) 8448 return out, req.Send() 8449 } 8450 8451 const opGetPartitionIndexes = "GetPartitionIndexes" 8452 8453 // GetPartitionIndexesRequest generates a "aws/request.Request" representing the 8454 // client's request for the GetPartitionIndexes operation. The "output" return 8455 // value will be populated with the request's response once the request completes 8456 // successfully. 8457 // 8458 // Use "Send" method on the returned Request to send the API call to the service. 8459 // the "output" return value is not valid until after Send returns without error. 8460 // 8461 // See GetPartitionIndexes for more information on using the GetPartitionIndexes 8462 // API call, and error handling. 8463 // 8464 // This method is useful when you want to inject custom logic or configuration 8465 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8466 // 8467 // 8468 // // Example sending a request using the GetPartitionIndexesRequest method. 8469 // req, resp := client.GetPartitionIndexesRequest(params) 8470 // 8471 // err := req.Send() 8472 // if err == nil { // resp is now filled 8473 // fmt.Println(resp) 8474 // } 8475 // 8476 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes 8477 func (c *Glue) GetPartitionIndexesRequest(input *GetPartitionIndexesInput) (req *request.Request, output *GetPartitionIndexesOutput) { 8478 op := &request.Operation{ 8479 Name: opGetPartitionIndexes, 8480 HTTPMethod: "POST", 8481 HTTPPath: "/", 8482 Paginator: &request.Paginator{ 8483 InputTokens: []string{"NextToken"}, 8484 OutputTokens: []string{"NextToken"}, 8485 LimitToken: "", 8486 TruncationToken: "", 8487 }, 8488 } 8489 8490 if input == nil { 8491 input = &GetPartitionIndexesInput{} 8492 } 8493 8494 output = &GetPartitionIndexesOutput{} 8495 req = c.newRequest(op, input, output) 8496 return 8497 } 8498 8499 // GetPartitionIndexes API operation for AWS Glue. 8500 // 8501 // Retrieves the partition indexes associated with a table. 8502 // 8503 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8504 // with awserr.Error's Code and Message methods to get detailed information about 8505 // the error. 8506 // 8507 // See the AWS API reference guide for AWS Glue's 8508 // API operation GetPartitionIndexes for usage and error information. 8509 // 8510 // Returned Error Types: 8511 // * InternalServiceException 8512 // An internal service error occurred. 8513 // 8514 // * OperationTimeoutException 8515 // The operation timed out. 8516 // 8517 // * InvalidInputException 8518 // The input provided was not valid. 8519 // 8520 // * EntityNotFoundException 8521 // A specified entity does not exist 8522 // 8523 // * ConflictException 8524 // The CreatePartitions API was called on a table that has indexes enabled. 8525 // 8526 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes 8527 func (c *Glue) GetPartitionIndexes(input *GetPartitionIndexesInput) (*GetPartitionIndexesOutput, error) { 8528 req, out := c.GetPartitionIndexesRequest(input) 8529 return out, req.Send() 8530 } 8531 8532 // GetPartitionIndexesWithContext is the same as GetPartitionIndexes with the addition of 8533 // the ability to pass a context and additional request options. 8534 // 8535 // See GetPartitionIndexes for details on how to use this API operation. 8536 // 8537 // The context must be non-nil and will be used for request cancellation. If 8538 // the context is nil a panic will occur. In the future the SDK may create 8539 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8540 // for more information on using Contexts. 8541 func (c *Glue) GetPartitionIndexesWithContext(ctx aws.Context, input *GetPartitionIndexesInput, opts ...request.Option) (*GetPartitionIndexesOutput, error) { 8542 req, out := c.GetPartitionIndexesRequest(input) 8543 req.SetContext(ctx) 8544 req.ApplyOptions(opts...) 8545 return out, req.Send() 8546 } 8547 8548 // GetPartitionIndexesPages iterates over the pages of a GetPartitionIndexes operation, 8549 // calling the "fn" function with the response data for each page. To stop 8550 // iterating, return false from the fn function. 8551 // 8552 // See GetPartitionIndexes method for more information on how to use this operation. 8553 // 8554 // Note: This operation can generate multiple requests to a service. 8555 // 8556 // // Example iterating over at most 3 pages of a GetPartitionIndexes operation. 8557 // pageNum := 0 8558 // err := client.GetPartitionIndexesPages(params, 8559 // func(page *glue.GetPartitionIndexesOutput, lastPage bool) bool { 8560 // pageNum++ 8561 // fmt.Println(page) 8562 // return pageNum <= 3 8563 // }) 8564 // 8565 func (c *Glue) GetPartitionIndexesPages(input *GetPartitionIndexesInput, fn func(*GetPartitionIndexesOutput, bool) bool) error { 8566 return c.GetPartitionIndexesPagesWithContext(aws.BackgroundContext(), input, fn) 8567 } 8568 8569 // GetPartitionIndexesPagesWithContext same as GetPartitionIndexesPages except 8570 // it takes a Context and allows setting request options on the pages. 8571 // 8572 // The context must be non-nil and will be used for request cancellation. If 8573 // the context is nil a panic will occur. In the future the SDK may create 8574 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8575 // for more information on using Contexts. 8576 func (c *Glue) GetPartitionIndexesPagesWithContext(ctx aws.Context, input *GetPartitionIndexesInput, fn func(*GetPartitionIndexesOutput, bool) bool, opts ...request.Option) error { 8577 p := request.Pagination{ 8578 NewRequest: func() (*request.Request, error) { 8579 var inCpy *GetPartitionIndexesInput 8580 if input != nil { 8581 tmp := *input 8582 inCpy = &tmp 8583 } 8584 req, _ := c.GetPartitionIndexesRequest(inCpy) 8585 req.SetContext(ctx) 8586 req.ApplyOptions(opts...) 8587 return req, nil 8588 }, 8589 } 8590 8591 for p.Next() { 8592 if !fn(p.Page().(*GetPartitionIndexesOutput), !p.HasNextPage()) { 8593 break 8594 } 8595 } 8596 8597 return p.Err() 8598 } 8599 8600 const opGetPartitions = "GetPartitions" 8601 8602 // GetPartitionsRequest generates a "aws/request.Request" representing the 8603 // client's request for the GetPartitions operation. The "output" return 8604 // value will be populated with the request's response once the request completes 8605 // successfully. 8606 // 8607 // Use "Send" method on the returned Request to send the API call to the service. 8608 // the "output" return value is not valid until after Send returns without error. 8609 // 8610 // See GetPartitions for more information on using the GetPartitions 8611 // API call, and error handling. 8612 // 8613 // This method is useful when you want to inject custom logic or configuration 8614 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8615 // 8616 // 8617 // // Example sending a request using the GetPartitionsRequest method. 8618 // req, resp := client.GetPartitionsRequest(params) 8619 // 8620 // err := req.Send() 8621 // if err == nil { // resp is now filled 8622 // fmt.Println(resp) 8623 // } 8624 // 8625 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions 8626 func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) { 8627 op := &request.Operation{ 8628 Name: opGetPartitions, 8629 HTTPMethod: "POST", 8630 HTTPPath: "/", 8631 Paginator: &request.Paginator{ 8632 InputTokens: []string{"NextToken"}, 8633 OutputTokens: []string{"NextToken"}, 8634 LimitToken: "MaxResults", 8635 TruncationToken: "", 8636 }, 8637 } 8638 8639 if input == nil { 8640 input = &GetPartitionsInput{} 8641 } 8642 8643 output = &GetPartitionsOutput{} 8644 req = c.newRequest(op, input, output) 8645 return 8646 } 8647 8648 // GetPartitions API operation for AWS Glue. 8649 // 8650 // Retrieves information about the partitions in a table. 8651 // 8652 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8653 // with awserr.Error's Code and Message methods to get detailed information about 8654 // the error. 8655 // 8656 // See the AWS API reference guide for AWS Glue's 8657 // API operation GetPartitions for usage and error information. 8658 // 8659 // Returned Error Types: 8660 // * EntityNotFoundException 8661 // A specified entity does not exist 8662 // 8663 // * InvalidInputException 8664 // The input provided was not valid. 8665 // 8666 // * OperationTimeoutException 8667 // The operation timed out. 8668 // 8669 // * InternalServiceException 8670 // An internal service error occurred. 8671 // 8672 // * EncryptionException 8673 // An encryption operation failed. 8674 // 8675 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions 8676 func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) { 8677 req, out := c.GetPartitionsRequest(input) 8678 return out, req.Send() 8679 } 8680 8681 // GetPartitionsWithContext is the same as GetPartitions with the addition of 8682 // the ability to pass a context and additional request options. 8683 // 8684 // See GetPartitions for details on how to use this API operation. 8685 // 8686 // The context must be non-nil and will be used for request cancellation. If 8687 // the context is nil a panic will occur. In the future the SDK may create 8688 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8689 // for more information on using Contexts. 8690 func (c *Glue) GetPartitionsWithContext(ctx aws.Context, input *GetPartitionsInput, opts ...request.Option) (*GetPartitionsOutput, error) { 8691 req, out := c.GetPartitionsRequest(input) 8692 req.SetContext(ctx) 8693 req.ApplyOptions(opts...) 8694 return out, req.Send() 8695 } 8696 8697 // GetPartitionsPages iterates over the pages of a GetPartitions operation, 8698 // calling the "fn" function with the response data for each page. To stop 8699 // iterating, return false from the fn function. 8700 // 8701 // See GetPartitions method for more information on how to use this operation. 8702 // 8703 // Note: This operation can generate multiple requests to a service. 8704 // 8705 // // Example iterating over at most 3 pages of a GetPartitions operation. 8706 // pageNum := 0 8707 // err := client.GetPartitionsPages(params, 8708 // func(page *glue.GetPartitionsOutput, lastPage bool) bool { 8709 // pageNum++ 8710 // fmt.Println(page) 8711 // return pageNum <= 3 8712 // }) 8713 // 8714 func (c *Glue) GetPartitionsPages(input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool) error { 8715 return c.GetPartitionsPagesWithContext(aws.BackgroundContext(), input, fn) 8716 } 8717 8718 // GetPartitionsPagesWithContext same as GetPartitionsPages except 8719 // it takes a Context and allows setting request options on the pages. 8720 // 8721 // The context must be non-nil and will be used for request cancellation. If 8722 // the context is nil a panic will occur. In the future the SDK may create 8723 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8724 // for more information on using Contexts. 8725 func (c *Glue) GetPartitionsPagesWithContext(ctx aws.Context, input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool, opts ...request.Option) error { 8726 p := request.Pagination{ 8727 NewRequest: func() (*request.Request, error) { 8728 var inCpy *GetPartitionsInput 8729 if input != nil { 8730 tmp := *input 8731 inCpy = &tmp 8732 } 8733 req, _ := c.GetPartitionsRequest(inCpy) 8734 req.SetContext(ctx) 8735 req.ApplyOptions(opts...) 8736 return req, nil 8737 }, 8738 } 8739 8740 for p.Next() { 8741 if !fn(p.Page().(*GetPartitionsOutput), !p.HasNextPage()) { 8742 break 8743 } 8744 } 8745 8746 return p.Err() 8747 } 8748 8749 const opGetPlan = "GetPlan" 8750 8751 // GetPlanRequest generates a "aws/request.Request" representing the 8752 // client's request for the GetPlan operation. The "output" return 8753 // value will be populated with the request's response once the request completes 8754 // successfully. 8755 // 8756 // Use "Send" method on the returned Request to send the API call to the service. 8757 // the "output" return value is not valid until after Send returns without error. 8758 // 8759 // See GetPlan for more information on using the GetPlan 8760 // API call, and error handling. 8761 // 8762 // This method is useful when you want to inject custom logic or configuration 8763 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8764 // 8765 // 8766 // // Example sending a request using the GetPlanRequest method. 8767 // req, resp := client.GetPlanRequest(params) 8768 // 8769 // err := req.Send() 8770 // if err == nil { // resp is now filled 8771 // fmt.Println(resp) 8772 // } 8773 // 8774 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan 8775 func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) { 8776 op := &request.Operation{ 8777 Name: opGetPlan, 8778 HTTPMethod: "POST", 8779 HTTPPath: "/", 8780 } 8781 8782 if input == nil { 8783 input = &GetPlanInput{} 8784 } 8785 8786 output = &GetPlanOutput{} 8787 req = c.newRequest(op, input, output) 8788 return 8789 } 8790 8791 // GetPlan API operation for AWS Glue. 8792 // 8793 // Gets code to perform a specified mapping. 8794 // 8795 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8796 // with awserr.Error's Code and Message methods to get detailed information about 8797 // the error. 8798 // 8799 // See the AWS API reference guide for AWS Glue's 8800 // API operation GetPlan for usage and error information. 8801 // 8802 // Returned Error Types: 8803 // * InvalidInputException 8804 // The input provided was not valid. 8805 // 8806 // * InternalServiceException 8807 // An internal service error occurred. 8808 // 8809 // * OperationTimeoutException 8810 // The operation timed out. 8811 // 8812 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan 8813 func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) { 8814 req, out := c.GetPlanRequest(input) 8815 return out, req.Send() 8816 } 8817 8818 // GetPlanWithContext is the same as GetPlan with the addition of 8819 // the ability to pass a context and additional request options. 8820 // 8821 // See GetPlan for details on how to use this API operation. 8822 // 8823 // The context must be non-nil and will be used for request cancellation. If 8824 // the context is nil a panic will occur. In the future the SDK may create 8825 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8826 // for more information on using Contexts. 8827 func (c *Glue) GetPlanWithContext(ctx aws.Context, input *GetPlanInput, opts ...request.Option) (*GetPlanOutput, error) { 8828 req, out := c.GetPlanRequest(input) 8829 req.SetContext(ctx) 8830 req.ApplyOptions(opts...) 8831 return out, req.Send() 8832 } 8833 8834 const opGetRegistry = "GetRegistry" 8835 8836 // GetRegistryRequest generates a "aws/request.Request" representing the 8837 // client's request for the GetRegistry operation. The "output" return 8838 // value will be populated with the request's response once the request completes 8839 // successfully. 8840 // 8841 // Use "Send" method on the returned Request to send the API call to the service. 8842 // the "output" return value is not valid until after Send returns without error. 8843 // 8844 // See GetRegistry for more information on using the GetRegistry 8845 // API call, and error handling. 8846 // 8847 // This method is useful when you want to inject custom logic or configuration 8848 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8849 // 8850 // 8851 // // Example sending a request using the GetRegistryRequest method. 8852 // req, resp := client.GetRegistryRequest(params) 8853 // 8854 // err := req.Send() 8855 // if err == nil { // resp is now filled 8856 // fmt.Println(resp) 8857 // } 8858 // 8859 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry 8860 func (c *Glue) GetRegistryRequest(input *GetRegistryInput) (req *request.Request, output *GetRegistryOutput) { 8861 op := &request.Operation{ 8862 Name: opGetRegistry, 8863 HTTPMethod: "POST", 8864 HTTPPath: "/", 8865 } 8866 8867 if input == nil { 8868 input = &GetRegistryInput{} 8869 } 8870 8871 output = &GetRegistryOutput{} 8872 req = c.newRequest(op, input, output) 8873 return 8874 } 8875 8876 // GetRegistry API operation for AWS Glue. 8877 // 8878 // Describes the specified registry in detail. 8879 // 8880 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8881 // with awserr.Error's Code and Message methods to get detailed information about 8882 // the error. 8883 // 8884 // See the AWS API reference guide for AWS Glue's 8885 // API operation GetRegistry for usage and error information. 8886 // 8887 // Returned Error Types: 8888 // * InvalidInputException 8889 // The input provided was not valid. 8890 // 8891 // * AccessDeniedException 8892 // Access to a resource was denied. 8893 // 8894 // * EntityNotFoundException 8895 // A specified entity does not exist 8896 // 8897 // * InternalServiceException 8898 // An internal service error occurred. 8899 // 8900 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry 8901 func (c *Glue) GetRegistry(input *GetRegistryInput) (*GetRegistryOutput, error) { 8902 req, out := c.GetRegistryRequest(input) 8903 return out, req.Send() 8904 } 8905 8906 // GetRegistryWithContext is the same as GetRegistry with the addition of 8907 // the ability to pass a context and additional request options. 8908 // 8909 // See GetRegistry for details on how to use this API operation. 8910 // 8911 // The context must be non-nil and will be used for request cancellation. If 8912 // the context is nil a panic will occur. In the future the SDK may create 8913 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8914 // for more information on using Contexts. 8915 func (c *Glue) GetRegistryWithContext(ctx aws.Context, input *GetRegistryInput, opts ...request.Option) (*GetRegistryOutput, error) { 8916 req, out := c.GetRegistryRequest(input) 8917 req.SetContext(ctx) 8918 req.ApplyOptions(opts...) 8919 return out, req.Send() 8920 } 8921 8922 const opGetResourcePolicies = "GetResourcePolicies" 8923 8924 // GetResourcePoliciesRequest generates a "aws/request.Request" representing the 8925 // client's request for the GetResourcePolicies operation. The "output" return 8926 // value will be populated with the request's response once the request completes 8927 // successfully. 8928 // 8929 // Use "Send" method on the returned Request to send the API call to the service. 8930 // the "output" return value is not valid until after Send returns without error. 8931 // 8932 // See GetResourcePolicies for more information on using the GetResourcePolicies 8933 // API call, and error handling. 8934 // 8935 // This method is useful when you want to inject custom logic or configuration 8936 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8937 // 8938 // 8939 // // Example sending a request using the GetResourcePoliciesRequest method. 8940 // req, resp := client.GetResourcePoliciesRequest(params) 8941 // 8942 // err := req.Send() 8943 // if err == nil { // resp is now filled 8944 // fmt.Println(resp) 8945 // } 8946 // 8947 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies 8948 func (c *Glue) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) { 8949 op := &request.Operation{ 8950 Name: opGetResourcePolicies, 8951 HTTPMethod: "POST", 8952 HTTPPath: "/", 8953 Paginator: &request.Paginator{ 8954 InputTokens: []string{"NextToken"}, 8955 OutputTokens: []string{"NextToken"}, 8956 LimitToken: "MaxResults", 8957 TruncationToken: "", 8958 }, 8959 } 8960 8961 if input == nil { 8962 input = &GetResourcePoliciesInput{} 8963 } 8964 8965 output = &GetResourcePoliciesOutput{} 8966 req = c.newRequest(op, input, output) 8967 return 8968 } 8969 8970 // GetResourcePolicies API operation for AWS Glue. 8971 // 8972 // Retrieves the resource policies set on individual resources by Resource Access 8973 // Manager during cross-account permission grants. Also retrieves the Data Catalog 8974 // resource policy. 8975 // 8976 // If you enabled metadata encryption in Data Catalog settings, and you do not 8977 // have permission on the KMS key, the operation can't return the Data Catalog 8978 // resource policy. 8979 // 8980 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8981 // with awserr.Error's Code and Message methods to get detailed information about 8982 // the error. 8983 // 8984 // See the AWS API reference guide for AWS Glue's 8985 // API operation GetResourcePolicies for usage and error information. 8986 // 8987 // Returned Error Types: 8988 // * InternalServiceException 8989 // An internal service error occurred. 8990 // 8991 // * OperationTimeoutException 8992 // The operation timed out. 8993 // 8994 // * InvalidInputException 8995 // The input provided was not valid. 8996 // 8997 // * EncryptionException 8998 // An encryption operation failed. 8999 // 9000 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies 9001 func (c *Glue) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) { 9002 req, out := c.GetResourcePoliciesRequest(input) 9003 return out, req.Send() 9004 } 9005 9006 // GetResourcePoliciesWithContext is the same as GetResourcePolicies with the addition of 9007 // the ability to pass a context and additional request options. 9008 // 9009 // See GetResourcePolicies for details on how to use this API operation. 9010 // 9011 // The context must be non-nil and will be used for request cancellation. If 9012 // the context is nil a panic will occur. In the future the SDK may create 9013 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9014 // for more information on using Contexts. 9015 func (c *Glue) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error) { 9016 req, out := c.GetResourcePoliciesRequest(input) 9017 req.SetContext(ctx) 9018 req.ApplyOptions(opts...) 9019 return out, req.Send() 9020 } 9021 9022 // GetResourcePoliciesPages iterates over the pages of a GetResourcePolicies operation, 9023 // calling the "fn" function with the response data for each page. To stop 9024 // iterating, return false from the fn function. 9025 // 9026 // See GetResourcePolicies method for more information on how to use this operation. 9027 // 9028 // Note: This operation can generate multiple requests to a service. 9029 // 9030 // // Example iterating over at most 3 pages of a GetResourcePolicies operation. 9031 // pageNum := 0 9032 // err := client.GetResourcePoliciesPages(params, 9033 // func(page *glue.GetResourcePoliciesOutput, lastPage bool) bool { 9034 // pageNum++ 9035 // fmt.Println(page) 9036 // return pageNum <= 3 9037 // }) 9038 // 9039 func (c *Glue) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error { 9040 return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) 9041 } 9042 9043 // GetResourcePoliciesPagesWithContext same as GetResourcePoliciesPages except 9044 // it takes a Context and allows setting request options on the pages. 9045 // 9046 // The context must be non-nil and will be used for request cancellation. If 9047 // the context is nil a panic will occur. In the future the SDK may create 9048 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9049 // for more information on using Contexts. 9050 func (c *Glue) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool, opts ...request.Option) error { 9051 p := request.Pagination{ 9052 NewRequest: func() (*request.Request, error) { 9053 var inCpy *GetResourcePoliciesInput 9054 if input != nil { 9055 tmp := *input 9056 inCpy = &tmp 9057 } 9058 req, _ := c.GetResourcePoliciesRequest(inCpy) 9059 req.SetContext(ctx) 9060 req.ApplyOptions(opts...) 9061 return req, nil 9062 }, 9063 } 9064 9065 for p.Next() { 9066 if !fn(p.Page().(*GetResourcePoliciesOutput), !p.HasNextPage()) { 9067 break 9068 } 9069 } 9070 9071 return p.Err() 9072 } 9073 9074 const opGetResourcePolicy = "GetResourcePolicy" 9075 9076 // GetResourcePolicyRequest generates a "aws/request.Request" representing the 9077 // client's request for the GetResourcePolicy operation. The "output" return 9078 // value will be populated with the request's response once the request completes 9079 // successfully. 9080 // 9081 // Use "Send" method on the returned Request to send the API call to the service. 9082 // the "output" return value is not valid until after Send returns without error. 9083 // 9084 // See GetResourcePolicy for more information on using the GetResourcePolicy 9085 // API call, and error handling. 9086 // 9087 // This method is useful when you want to inject custom logic or configuration 9088 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9089 // 9090 // 9091 // // Example sending a request using the GetResourcePolicyRequest method. 9092 // req, resp := client.GetResourcePolicyRequest(params) 9093 // 9094 // err := req.Send() 9095 // if err == nil { // resp is now filled 9096 // fmt.Println(resp) 9097 // } 9098 // 9099 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy 9100 func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { 9101 op := &request.Operation{ 9102 Name: opGetResourcePolicy, 9103 HTTPMethod: "POST", 9104 HTTPPath: "/", 9105 } 9106 9107 if input == nil { 9108 input = &GetResourcePolicyInput{} 9109 } 9110 9111 output = &GetResourcePolicyOutput{} 9112 req = c.newRequest(op, input, output) 9113 return 9114 } 9115 9116 // GetResourcePolicy API operation for AWS Glue. 9117 // 9118 // Retrieves a specified resource policy. 9119 // 9120 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9121 // with awserr.Error's Code and Message methods to get detailed information about 9122 // the error. 9123 // 9124 // See the AWS API reference guide for AWS Glue's 9125 // API operation GetResourcePolicy for usage and error information. 9126 // 9127 // Returned Error Types: 9128 // * EntityNotFoundException 9129 // A specified entity does not exist 9130 // 9131 // * InternalServiceException 9132 // An internal service error occurred. 9133 // 9134 // * OperationTimeoutException 9135 // The operation timed out. 9136 // 9137 // * InvalidInputException 9138 // The input provided was not valid. 9139 // 9140 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy 9141 func (c *Glue) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { 9142 req, out := c.GetResourcePolicyRequest(input) 9143 return out, req.Send() 9144 } 9145 9146 // GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of 9147 // the ability to pass a context and additional request options. 9148 // 9149 // See GetResourcePolicy for details on how to use this API operation. 9150 // 9151 // The context must be non-nil and will be used for request cancellation. If 9152 // the context is nil a panic will occur. In the future the SDK may create 9153 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9154 // for more information on using Contexts. 9155 func (c *Glue) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) { 9156 req, out := c.GetResourcePolicyRequest(input) 9157 req.SetContext(ctx) 9158 req.ApplyOptions(opts...) 9159 return out, req.Send() 9160 } 9161 9162 const opGetSchema = "GetSchema" 9163 9164 // GetSchemaRequest generates a "aws/request.Request" representing the 9165 // client's request for the GetSchema operation. The "output" return 9166 // value will be populated with the request's response once the request completes 9167 // successfully. 9168 // 9169 // Use "Send" method on the returned Request to send the API call to the service. 9170 // the "output" return value is not valid until after Send returns without error. 9171 // 9172 // See GetSchema for more information on using the GetSchema 9173 // API call, and error handling. 9174 // 9175 // This method is useful when you want to inject custom logic or configuration 9176 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9177 // 9178 // 9179 // // Example sending a request using the GetSchemaRequest method. 9180 // req, resp := client.GetSchemaRequest(params) 9181 // 9182 // err := req.Send() 9183 // if err == nil { // resp is now filled 9184 // fmt.Println(resp) 9185 // } 9186 // 9187 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema 9188 func (c *Glue) GetSchemaRequest(input *GetSchemaInput) (req *request.Request, output *GetSchemaOutput) { 9189 op := &request.Operation{ 9190 Name: opGetSchema, 9191 HTTPMethod: "POST", 9192 HTTPPath: "/", 9193 } 9194 9195 if input == nil { 9196 input = &GetSchemaInput{} 9197 } 9198 9199 output = &GetSchemaOutput{} 9200 req = c.newRequest(op, input, output) 9201 return 9202 } 9203 9204 // GetSchema API operation for AWS Glue. 9205 // 9206 // Describes the specified schema in detail. 9207 // 9208 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9209 // with awserr.Error's Code and Message methods to get detailed information about 9210 // the error. 9211 // 9212 // See the AWS API reference guide for AWS Glue's 9213 // API operation GetSchema for usage and error information. 9214 // 9215 // Returned Error Types: 9216 // * InvalidInputException 9217 // The input provided was not valid. 9218 // 9219 // * AccessDeniedException 9220 // Access to a resource was denied. 9221 // 9222 // * EntityNotFoundException 9223 // A specified entity does not exist 9224 // 9225 // * InternalServiceException 9226 // An internal service error occurred. 9227 // 9228 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema 9229 func (c *Glue) GetSchema(input *GetSchemaInput) (*GetSchemaOutput, error) { 9230 req, out := c.GetSchemaRequest(input) 9231 return out, req.Send() 9232 } 9233 9234 // GetSchemaWithContext is the same as GetSchema with the addition of 9235 // the ability to pass a context and additional request options. 9236 // 9237 // See GetSchema for details on how to use this API operation. 9238 // 9239 // The context must be non-nil and will be used for request cancellation. If 9240 // the context is nil a panic will occur. In the future the SDK may create 9241 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9242 // for more information on using Contexts. 9243 func (c *Glue) GetSchemaWithContext(ctx aws.Context, input *GetSchemaInput, opts ...request.Option) (*GetSchemaOutput, error) { 9244 req, out := c.GetSchemaRequest(input) 9245 req.SetContext(ctx) 9246 req.ApplyOptions(opts...) 9247 return out, req.Send() 9248 } 9249 9250 const opGetSchemaByDefinition = "GetSchemaByDefinition" 9251 9252 // GetSchemaByDefinitionRequest generates a "aws/request.Request" representing the 9253 // client's request for the GetSchemaByDefinition operation. The "output" return 9254 // value will be populated with the request's response once the request completes 9255 // successfully. 9256 // 9257 // Use "Send" method on the returned Request to send the API call to the service. 9258 // the "output" return value is not valid until after Send returns without error. 9259 // 9260 // See GetSchemaByDefinition for more information on using the GetSchemaByDefinition 9261 // API call, and error handling. 9262 // 9263 // This method is useful when you want to inject custom logic or configuration 9264 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9265 // 9266 // 9267 // // Example sending a request using the GetSchemaByDefinitionRequest method. 9268 // req, resp := client.GetSchemaByDefinitionRequest(params) 9269 // 9270 // err := req.Send() 9271 // if err == nil { // resp is now filled 9272 // fmt.Println(resp) 9273 // } 9274 // 9275 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition 9276 func (c *Glue) GetSchemaByDefinitionRequest(input *GetSchemaByDefinitionInput) (req *request.Request, output *GetSchemaByDefinitionOutput) { 9277 op := &request.Operation{ 9278 Name: opGetSchemaByDefinition, 9279 HTTPMethod: "POST", 9280 HTTPPath: "/", 9281 } 9282 9283 if input == nil { 9284 input = &GetSchemaByDefinitionInput{} 9285 } 9286 9287 output = &GetSchemaByDefinitionOutput{} 9288 req = c.newRequest(op, input, output) 9289 return 9290 } 9291 9292 // GetSchemaByDefinition API operation for AWS Glue. 9293 // 9294 // Retrieves a schema by the SchemaDefinition. The schema definition is sent 9295 // to the Schema Registry, canonicalized, and hashed. If the hash is matched 9296 // within the scope of the SchemaName or ARN (or the default registry, if none 9297 // is supplied), that schema’s metadata is returned. Otherwise, a 404 or NotFound 9298 // error is returned. Schema versions in Deleted statuses will not be included 9299 // in the results. 9300 // 9301 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9302 // with awserr.Error's Code and Message methods to get detailed information about 9303 // the error. 9304 // 9305 // See the AWS API reference guide for AWS Glue's 9306 // API operation GetSchemaByDefinition for usage and error information. 9307 // 9308 // Returned Error Types: 9309 // * InvalidInputException 9310 // The input provided was not valid. 9311 // 9312 // * AccessDeniedException 9313 // Access to a resource was denied. 9314 // 9315 // * EntityNotFoundException 9316 // A specified entity does not exist 9317 // 9318 // * InternalServiceException 9319 // An internal service error occurred. 9320 // 9321 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition 9322 func (c *Glue) GetSchemaByDefinition(input *GetSchemaByDefinitionInput) (*GetSchemaByDefinitionOutput, error) { 9323 req, out := c.GetSchemaByDefinitionRequest(input) 9324 return out, req.Send() 9325 } 9326 9327 // GetSchemaByDefinitionWithContext is the same as GetSchemaByDefinition with the addition of 9328 // the ability to pass a context and additional request options. 9329 // 9330 // See GetSchemaByDefinition for details on how to use this API operation. 9331 // 9332 // The context must be non-nil and will be used for request cancellation. If 9333 // the context is nil a panic will occur. In the future the SDK may create 9334 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9335 // for more information on using Contexts. 9336 func (c *Glue) GetSchemaByDefinitionWithContext(ctx aws.Context, input *GetSchemaByDefinitionInput, opts ...request.Option) (*GetSchemaByDefinitionOutput, error) { 9337 req, out := c.GetSchemaByDefinitionRequest(input) 9338 req.SetContext(ctx) 9339 req.ApplyOptions(opts...) 9340 return out, req.Send() 9341 } 9342 9343 const opGetSchemaVersion = "GetSchemaVersion" 9344 9345 // GetSchemaVersionRequest generates a "aws/request.Request" representing the 9346 // client's request for the GetSchemaVersion operation. The "output" return 9347 // value will be populated with the request's response once the request completes 9348 // successfully. 9349 // 9350 // Use "Send" method on the returned Request to send the API call to the service. 9351 // the "output" return value is not valid until after Send returns without error. 9352 // 9353 // See GetSchemaVersion for more information on using the GetSchemaVersion 9354 // API call, and error handling. 9355 // 9356 // This method is useful when you want to inject custom logic or configuration 9357 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9358 // 9359 // 9360 // // Example sending a request using the GetSchemaVersionRequest method. 9361 // req, resp := client.GetSchemaVersionRequest(params) 9362 // 9363 // err := req.Send() 9364 // if err == nil { // resp is now filled 9365 // fmt.Println(resp) 9366 // } 9367 // 9368 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion 9369 func (c *Glue) GetSchemaVersionRequest(input *GetSchemaVersionInput) (req *request.Request, output *GetSchemaVersionOutput) { 9370 op := &request.Operation{ 9371 Name: opGetSchemaVersion, 9372 HTTPMethod: "POST", 9373 HTTPPath: "/", 9374 } 9375 9376 if input == nil { 9377 input = &GetSchemaVersionInput{} 9378 } 9379 9380 output = &GetSchemaVersionOutput{} 9381 req = c.newRequest(op, input, output) 9382 return 9383 } 9384 9385 // GetSchemaVersion API operation for AWS Glue. 9386 // 9387 // Get the specified schema by its unique ID assigned when a version of the 9388 // schema is created or registered. Schema versions in Deleted status will not 9389 // be included in the results. 9390 // 9391 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9392 // with awserr.Error's Code and Message methods to get detailed information about 9393 // the error. 9394 // 9395 // See the AWS API reference guide for AWS Glue's 9396 // API operation GetSchemaVersion for usage and error information. 9397 // 9398 // Returned Error Types: 9399 // * InvalidInputException 9400 // The input provided was not valid. 9401 // 9402 // * AccessDeniedException 9403 // Access to a resource was denied. 9404 // 9405 // * EntityNotFoundException 9406 // A specified entity does not exist 9407 // 9408 // * InternalServiceException 9409 // An internal service error occurred. 9410 // 9411 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion 9412 func (c *Glue) GetSchemaVersion(input *GetSchemaVersionInput) (*GetSchemaVersionOutput, error) { 9413 req, out := c.GetSchemaVersionRequest(input) 9414 return out, req.Send() 9415 } 9416 9417 // GetSchemaVersionWithContext is the same as GetSchemaVersion with the addition of 9418 // the ability to pass a context and additional request options. 9419 // 9420 // See GetSchemaVersion for details on how to use this API operation. 9421 // 9422 // The context must be non-nil and will be used for request cancellation. If 9423 // the context is nil a panic will occur. In the future the SDK may create 9424 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9425 // for more information on using Contexts. 9426 func (c *Glue) GetSchemaVersionWithContext(ctx aws.Context, input *GetSchemaVersionInput, opts ...request.Option) (*GetSchemaVersionOutput, error) { 9427 req, out := c.GetSchemaVersionRequest(input) 9428 req.SetContext(ctx) 9429 req.ApplyOptions(opts...) 9430 return out, req.Send() 9431 } 9432 9433 const opGetSchemaVersionsDiff = "GetSchemaVersionsDiff" 9434 9435 // GetSchemaVersionsDiffRequest generates a "aws/request.Request" representing the 9436 // client's request for the GetSchemaVersionsDiff operation. The "output" return 9437 // value will be populated with the request's response once the request completes 9438 // successfully. 9439 // 9440 // Use "Send" method on the returned Request to send the API call to the service. 9441 // the "output" return value is not valid until after Send returns without error. 9442 // 9443 // See GetSchemaVersionsDiff for more information on using the GetSchemaVersionsDiff 9444 // API call, and error handling. 9445 // 9446 // This method is useful when you want to inject custom logic or configuration 9447 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9448 // 9449 // 9450 // // Example sending a request using the GetSchemaVersionsDiffRequest method. 9451 // req, resp := client.GetSchemaVersionsDiffRequest(params) 9452 // 9453 // err := req.Send() 9454 // if err == nil { // resp is now filled 9455 // fmt.Println(resp) 9456 // } 9457 // 9458 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff 9459 func (c *Glue) GetSchemaVersionsDiffRequest(input *GetSchemaVersionsDiffInput) (req *request.Request, output *GetSchemaVersionsDiffOutput) { 9460 op := &request.Operation{ 9461 Name: opGetSchemaVersionsDiff, 9462 HTTPMethod: "POST", 9463 HTTPPath: "/", 9464 } 9465 9466 if input == nil { 9467 input = &GetSchemaVersionsDiffInput{} 9468 } 9469 9470 output = &GetSchemaVersionsDiffOutput{} 9471 req = c.newRequest(op, input, output) 9472 return 9473 } 9474 9475 // GetSchemaVersionsDiff API operation for AWS Glue. 9476 // 9477 // Fetches the schema version difference in the specified difference type between 9478 // two stored schema versions in the Schema Registry. 9479 // 9480 // This API allows you to compare two schema versions between two schema definitions 9481 // under the same schema. 9482 // 9483 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9484 // with awserr.Error's Code and Message methods to get detailed information about 9485 // the error. 9486 // 9487 // See the AWS API reference guide for AWS Glue's 9488 // API operation GetSchemaVersionsDiff for usage and error information. 9489 // 9490 // Returned Error Types: 9491 // * InvalidInputException 9492 // The input provided was not valid. 9493 // 9494 // * EntityNotFoundException 9495 // A specified entity does not exist 9496 // 9497 // * AccessDeniedException 9498 // Access to a resource was denied. 9499 // 9500 // * InternalServiceException 9501 // An internal service error occurred. 9502 // 9503 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff 9504 func (c *Glue) GetSchemaVersionsDiff(input *GetSchemaVersionsDiffInput) (*GetSchemaVersionsDiffOutput, error) { 9505 req, out := c.GetSchemaVersionsDiffRequest(input) 9506 return out, req.Send() 9507 } 9508 9509 // GetSchemaVersionsDiffWithContext is the same as GetSchemaVersionsDiff with the addition of 9510 // the ability to pass a context and additional request options. 9511 // 9512 // See GetSchemaVersionsDiff for details on how to use this API operation. 9513 // 9514 // The context must be non-nil and will be used for request cancellation. If 9515 // the context is nil a panic will occur. In the future the SDK may create 9516 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9517 // for more information on using Contexts. 9518 func (c *Glue) GetSchemaVersionsDiffWithContext(ctx aws.Context, input *GetSchemaVersionsDiffInput, opts ...request.Option) (*GetSchemaVersionsDiffOutput, error) { 9519 req, out := c.GetSchemaVersionsDiffRequest(input) 9520 req.SetContext(ctx) 9521 req.ApplyOptions(opts...) 9522 return out, req.Send() 9523 } 9524 9525 const opGetSecurityConfiguration = "GetSecurityConfiguration" 9526 9527 // GetSecurityConfigurationRequest generates a "aws/request.Request" representing the 9528 // client's request for the GetSecurityConfiguration operation. The "output" return 9529 // value will be populated with the request's response once the request completes 9530 // successfully. 9531 // 9532 // Use "Send" method on the returned Request to send the API call to the service. 9533 // the "output" return value is not valid until after Send returns without error. 9534 // 9535 // See GetSecurityConfiguration for more information on using the GetSecurityConfiguration 9536 // API call, and error handling. 9537 // 9538 // This method is useful when you want to inject custom logic or configuration 9539 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9540 // 9541 // 9542 // // Example sending a request using the GetSecurityConfigurationRequest method. 9543 // req, resp := client.GetSecurityConfigurationRequest(params) 9544 // 9545 // err := req.Send() 9546 // if err == nil { // resp is now filled 9547 // fmt.Println(resp) 9548 // } 9549 // 9550 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration 9551 func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationInput) (req *request.Request, output *GetSecurityConfigurationOutput) { 9552 op := &request.Operation{ 9553 Name: opGetSecurityConfiguration, 9554 HTTPMethod: "POST", 9555 HTTPPath: "/", 9556 } 9557 9558 if input == nil { 9559 input = &GetSecurityConfigurationInput{} 9560 } 9561 9562 output = &GetSecurityConfigurationOutput{} 9563 req = c.newRequest(op, input, output) 9564 return 9565 } 9566 9567 // GetSecurityConfiguration API operation for AWS Glue. 9568 // 9569 // Retrieves a specified security configuration. 9570 // 9571 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9572 // with awserr.Error's Code and Message methods to get detailed information about 9573 // the error. 9574 // 9575 // See the AWS API reference guide for AWS Glue's 9576 // API operation GetSecurityConfiguration for usage and error information. 9577 // 9578 // Returned Error Types: 9579 // * EntityNotFoundException 9580 // A specified entity does not exist 9581 // 9582 // * InvalidInputException 9583 // The input provided was not valid. 9584 // 9585 // * InternalServiceException 9586 // An internal service error occurred. 9587 // 9588 // * OperationTimeoutException 9589 // The operation timed out. 9590 // 9591 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration 9592 func (c *Glue) GetSecurityConfiguration(input *GetSecurityConfigurationInput) (*GetSecurityConfigurationOutput, error) { 9593 req, out := c.GetSecurityConfigurationRequest(input) 9594 return out, req.Send() 9595 } 9596 9597 // GetSecurityConfigurationWithContext is the same as GetSecurityConfiguration with the addition of 9598 // the ability to pass a context and additional request options. 9599 // 9600 // See GetSecurityConfiguration for details on how to use this API operation. 9601 // 9602 // The context must be non-nil and will be used for request cancellation. If 9603 // the context is nil a panic will occur. In the future the SDK may create 9604 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9605 // for more information on using Contexts. 9606 func (c *Glue) GetSecurityConfigurationWithContext(ctx aws.Context, input *GetSecurityConfigurationInput, opts ...request.Option) (*GetSecurityConfigurationOutput, error) { 9607 req, out := c.GetSecurityConfigurationRequest(input) 9608 req.SetContext(ctx) 9609 req.ApplyOptions(opts...) 9610 return out, req.Send() 9611 } 9612 9613 const opGetSecurityConfigurations = "GetSecurityConfigurations" 9614 9615 // GetSecurityConfigurationsRequest generates a "aws/request.Request" representing the 9616 // client's request for the GetSecurityConfigurations operation. The "output" return 9617 // value will be populated with the request's response once the request completes 9618 // successfully. 9619 // 9620 // Use "Send" method on the returned Request to send the API call to the service. 9621 // the "output" return value is not valid until after Send returns without error. 9622 // 9623 // See GetSecurityConfigurations for more information on using the GetSecurityConfigurations 9624 // API call, and error handling. 9625 // 9626 // This method is useful when you want to inject custom logic or configuration 9627 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9628 // 9629 // 9630 // // Example sending a request using the GetSecurityConfigurationsRequest method. 9631 // req, resp := client.GetSecurityConfigurationsRequest(params) 9632 // 9633 // err := req.Send() 9634 // if err == nil { // resp is now filled 9635 // fmt.Println(resp) 9636 // } 9637 // 9638 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations 9639 func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurationsInput) (req *request.Request, output *GetSecurityConfigurationsOutput) { 9640 op := &request.Operation{ 9641 Name: opGetSecurityConfigurations, 9642 HTTPMethod: "POST", 9643 HTTPPath: "/", 9644 Paginator: &request.Paginator{ 9645 InputTokens: []string{"NextToken"}, 9646 OutputTokens: []string{"NextToken"}, 9647 LimitToken: "MaxResults", 9648 TruncationToken: "", 9649 }, 9650 } 9651 9652 if input == nil { 9653 input = &GetSecurityConfigurationsInput{} 9654 } 9655 9656 output = &GetSecurityConfigurationsOutput{} 9657 req = c.newRequest(op, input, output) 9658 return 9659 } 9660 9661 // GetSecurityConfigurations API operation for AWS Glue. 9662 // 9663 // Retrieves a list of all security configurations. 9664 // 9665 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9666 // with awserr.Error's Code and Message methods to get detailed information about 9667 // the error. 9668 // 9669 // See the AWS API reference guide for AWS Glue's 9670 // API operation GetSecurityConfigurations for usage and error information. 9671 // 9672 // Returned Error Types: 9673 // * EntityNotFoundException 9674 // A specified entity does not exist 9675 // 9676 // * InvalidInputException 9677 // The input provided was not valid. 9678 // 9679 // * InternalServiceException 9680 // An internal service error occurred. 9681 // 9682 // * OperationTimeoutException 9683 // The operation timed out. 9684 // 9685 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations 9686 func (c *Glue) GetSecurityConfigurations(input *GetSecurityConfigurationsInput) (*GetSecurityConfigurationsOutput, error) { 9687 req, out := c.GetSecurityConfigurationsRequest(input) 9688 return out, req.Send() 9689 } 9690 9691 // GetSecurityConfigurationsWithContext is the same as GetSecurityConfigurations with the addition of 9692 // the ability to pass a context and additional request options. 9693 // 9694 // See GetSecurityConfigurations for details on how to use this API operation. 9695 // 9696 // The context must be non-nil and will be used for request cancellation. If 9697 // the context is nil a panic will occur. In the future the SDK may create 9698 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9699 // for more information on using Contexts. 9700 func (c *Glue) GetSecurityConfigurationsWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, opts ...request.Option) (*GetSecurityConfigurationsOutput, error) { 9701 req, out := c.GetSecurityConfigurationsRequest(input) 9702 req.SetContext(ctx) 9703 req.ApplyOptions(opts...) 9704 return out, req.Send() 9705 } 9706 9707 // GetSecurityConfigurationsPages iterates over the pages of a GetSecurityConfigurations operation, 9708 // calling the "fn" function with the response data for each page. To stop 9709 // iterating, return false from the fn function. 9710 // 9711 // See GetSecurityConfigurations method for more information on how to use this operation. 9712 // 9713 // Note: This operation can generate multiple requests to a service. 9714 // 9715 // // Example iterating over at most 3 pages of a GetSecurityConfigurations operation. 9716 // pageNum := 0 9717 // err := client.GetSecurityConfigurationsPages(params, 9718 // func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool { 9719 // pageNum++ 9720 // fmt.Println(page) 9721 // return pageNum <= 3 9722 // }) 9723 // 9724 func (c *Glue) GetSecurityConfigurationsPages(input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool) error { 9725 return c.GetSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) 9726 } 9727 9728 // GetSecurityConfigurationsPagesWithContext same as GetSecurityConfigurationsPages except 9729 // it takes a Context and allows setting request options on the pages. 9730 // 9731 // The context must be non-nil and will be used for request cancellation. If 9732 // the context is nil a panic will occur. In the future the SDK may create 9733 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9734 // for more information on using Contexts. 9735 func (c *Glue) GetSecurityConfigurationsPagesWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool, opts ...request.Option) error { 9736 p := request.Pagination{ 9737 NewRequest: func() (*request.Request, error) { 9738 var inCpy *GetSecurityConfigurationsInput 9739 if input != nil { 9740 tmp := *input 9741 inCpy = &tmp 9742 } 9743 req, _ := c.GetSecurityConfigurationsRequest(inCpy) 9744 req.SetContext(ctx) 9745 req.ApplyOptions(opts...) 9746 return req, nil 9747 }, 9748 } 9749 9750 for p.Next() { 9751 if !fn(p.Page().(*GetSecurityConfigurationsOutput), !p.HasNextPage()) { 9752 break 9753 } 9754 } 9755 9756 return p.Err() 9757 } 9758 9759 const opGetTable = "GetTable" 9760 9761 // GetTableRequest generates a "aws/request.Request" representing the 9762 // client's request for the GetTable operation. The "output" return 9763 // value will be populated with the request's response once the request completes 9764 // successfully. 9765 // 9766 // Use "Send" method on the returned Request to send the API call to the service. 9767 // the "output" return value is not valid until after Send returns without error. 9768 // 9769 // See GetTable for more information on using the GetTable 9770 // API call, and error handling. 9771 // 9772 // This method is useful when you want to inject custom logic or configuration 9773 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9774 // 9775 // 9776 // // Example sending a request using the GetTableRequest method. 9777 // req, resp := client.GetTableRequest(params) 9778 // 9779 // err := req.Send() 9780 // if err == nil { // resp is now filled 9781 // fmt.Println(resp) 9782 // } 9783 // 9784 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable 9785 func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) { 9786 op := &request.Operation{ 9787 Name: opGetTable, 9788 HTTPMethod: "POST", 9789 HTTPPath: "/", 9790 } 9791 9792 if input == nil { 9793 input = &GetTableInput{} 9794 } 9795 9796 output = &GetTableOutput{} 9797 req = c.newRequest(op, input, output) 9798 return 9799 } 9800 9801 // GetTable API operation for AWS Glue. 9802 // 9803 // Retrieves the Table definition in a Data Catalog for a specified table. 9804 // 9805 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9806 // with awserr.Error's Code and Message methods to get detailed information about 9807 // the error. 9808 // 9809 // See the AWS API reference guide for AWS Glue's 9810 // API operation GetTable for usage and error information. 9811 // 9812 // Returned Error Types: 9813 // * EntityNotFoundException 9814 // A specified entity does not exist 9815 // 9816 // * InvalidInputException 9817 // The input provided was not valid. 9818 // 9819 // * InternalServiceException 9820 // An internal service error occurred. 9821 // 9822 // * OperationTimeoutException 9823 // The operation timed out. 9824 // 9825 // * EncryptionException 9826 // An encryption operation failed. 9827 // 9828 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable 9829 func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) { 9830 req, out := c.GetTableRequest(input) 9831 return out, req.Send() 9832 } 9833 9834 // GetTableWithContext is the same as GetTable with the addition of 9835 // the ability to pass a context and additional request options. 9836 // 9837 // See GetTable for details on how to use this API operation. 9838 // 9839 // The context must be non-nil and will be used for request cancellation. If 9840 // the context is nil a panic will occur. In the future the SDK may create 9841 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9842 // for more information on using Contexts. 9843 func (c *Glue) GetTableWithContext(ctx aws.Context, input *GetTableInput, opts ...request.Option) (*GetTableOutput, error) { 9844 req, out := c.GetTableRequest(input) 9845 req.SetContext(ctx) 9846 req.ApplyOptions(opts...) 9847 return out, req.Send() 9848 } 9849 9850 const opGetTableVersion = "GetTableVersion" 9851 9852 // GetTableVersionRequest generates a "aws/request.Request" representing the 9853 // client's request for the GetTableVersion operation. The "output" return 9854 // value will be populated with the request's response once the request completes 9855 // successfully. 9856 // 9857 // Use "Send" method on the returned Request to send the API call to the service. 9858 // the "output" return value is not valid until after Send returns without error. 9859 // 9860 // See GetTableVersion for more information on using the GetTableVersion 9861 // API call, and error handling. 9862 // 9863 // This method is useful when you want to inject custom logic or configuration 9864 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9865 // 9866 // 9867 // // Example sending a request using the GetTableVersionRequest method. 9868 // req, resp := client.GetTableVersionRequest(params) 9869 // 9870 // err := req.Send() 9871 // if err == nil { // resp is now filled 9872 // fmt.Println(resp) 9873 // } 9874 // 9875 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion 9876 func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request.Request, output *GetTableVersionOutput) { 9877 op := &request.Operation{ 9878 Name: opGetTableVersion, 9879 HTTPMethod: "POST", 9880 HTTPPath: "/", 9881 } 9882 9883 if input == nil { 9884 input = &GetTableVersionInput{} 9885 } 9886 9887 output = &GetTableVersionOutput{} 9888 req = c.newRequest(op, input, output) 9889 return 9890 } 9891 9892 // GetTableVersion API operation for AWS Glue. 9893 // 9894 // Retrieves a specified version of a table. 9895 // 9896 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9897 // with awserr.Error's Code and Message methods to get detailed information about 9898 // the error. 9899 // 9900 // See the AWS API reference guide for AWS Glue's 9901 // API operation GetTableVersion for usage and error information. 9902 // 9903 // Returned Error Types: 9904 // * EntityNotFoundException 9905 // A specified entity does not exist 9906 // 9907 // * InvalidInputException 9908 // The input provided was not valid. 9909 // 9910 // * InternalServiceException 9911 // An internal service error occurred. 9912 // 9913 // * OperationTimeoutException 9914 // The operation timed out. 9915 // 9916 // * EncryptionException 9917 // An encryption operation failed. 9918 // 9919 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion 9920 func (c *Glue) GetTableVersion(input *GetTableVersionInput) (*GetTableVersionOutput, error) { 9921 req, out := c.GetTableVersionRequest(input) 9922 return out, req.Send() 9923 } 9924 9925 // GetTableVersionWithContext is the same as GetTableVersion with the addition of 9926 // the ability to pass a context and additional request options. 9927 // 9928 // See GetTableVersion for details on how to use this API operation. 9929 // 9930 // The context must be non-nil and will be used for request cancellation. If 9931 // the context is nil a panic will occur. In the future the SDK may create 9932 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9933 // for more information on using Contexts. 9934 func (c *Glue) GetTableVersionWithContext(ctx aws.Context, input *GetTableVersionInput, opts ...request.Option) (*GetTableVersionOutput, error) { 9935 req, out := c.GetTableVersionRequest(input) 9936 req.SetContext(ctx) 9937 req.ApplyOptions(opts...) 9938 return out, req.Send() 9939 } 9940 9941 const opGetTableVersions = "GetTableVersions" 9942 9943 // GetTableVersionsRequest generates a "aws/request.Request" representing the 9944 // client's request for the GetTableVersions operation. The "output" return 9945 // value will be populated with the request's response once the request completes 9946 // successfully. 9947 // 9948 // Use "Send" method on the returned Request to send the API call to the service. 9949 // the "output" return value is not valid until after Send returns without error. 9950 // 9951 // See GetTableVersions for more information on using the GetTableVersions 9952 // API call, and error handling. 9953 // 9954 // This method is useful when you want to inject custom logic or configuration 9955 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9956 // 9957 // 9958 // // Example sending a request using the GetTableVersionsRequest method. 9959 // req, resp := client.GetTableVersionsRequest(params) 9960 // 9961 // err := req.Send() 9962 // if err == nil { // resp is now filled 9963 // fmt.Println(resp) 9964 // } 9965 // 9966 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions 9967 func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) { 9968 op := &request.Operation{ 9969 Name: opGetTableVersions, 9970 HTTPMethod: "POST", 9971 HTTPPath: "/", 9972 Paginator: &request.Paginator{ 9973 InputTokens: []string{"NextToken"}, 9974 OutputTokens: []string{"NextToken"}, 9975 LimitToken: "MaxResults", 9976 TruncationToken: "", 9977 }, 9978 } 9979 9980 if input == nil { 9981 input = &GetTableVersionsInput{} 9982 } 9983 9984 output = &GetTableVersionsOutput{} 9985 req = c.newRequest(op, input, output) 9986 return 9987 } 9988 9989 // GetTableVersions API operation for AWS Glue. 9990 // 9991 // Retrieves a list of strings that identify available versions of a specified 9992 // table. 9993 // 9994 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9995 // with awserr.Error's Code and Message methods to get detailed information about 9996 // the error. 9997 // 9998 // See the AWS API reference guide for AWS Glue's 9999 // API operation GetTableVersions for usage and error information. 10000 // 10001 // Returned Error Types: 10002 // * EntityNotFoundException 10003 // A specified entity does not exist 10004 // 10005 // * InvalidInputException 10006 // The input provided was not valid. 10007 // 10008 // * InternalServiceException 10009 // An internal service error occurred. 10010 // 10011 // * OperationTimeoutException 10012 // The operation timed out. 10013 // 10014 // * EncryptionException 10015 // An encryption operation failed. 10016 // 10017 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions 10018 func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) { 10019 req, out := c.GetTableVersionsRequest(input) 10020 return out, req.Send() 10021 } 10022 10023 // GetTableVersionsWithContext is the same as GetTableVersions with the addition of 10024 // the ability to pass a context and additional request options. 10025 // 10026 // See GetTableVersions for details on how to use this API operation. 10027 // 10028 // The context must be non-nil and will be used for request cancellation. If 10029 // the context is nil a panic will occur. In the future the SDK may create 10030 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10031 // for more information on using Contexts. 10032 func (c *Glue) GetTableVersionsWithContext(ctx aws.Context, input *GetTableVersionsInput, opts ...request.Option) (*GetTableVersionsOutput, error) { 10033 req, out := c.GetTableVersionsRequest(input) 10034 req.SetContext(ctx) 10035 req.ApplyOptions(opts...) 10036 return out, req.Send() 10037 } 10038 10039 // GetTableVersionsPages iterates over the pages of a GetTableVersions operation, 10040 // calling the "fn" function with the response data for each page. To stop 10041 // iterating, return false from the fn function. 10042 // 10043 // See GetTableVersions method for more information on how to use this operation. 10044 // 10045 // Note: This operation can generate multiple requests to a service. 10046 // 10047 // // Example iterating over at most 3 pages of a GetTableVersions operation. 10048 // pageNum := 0 10049 // err := client.GetTableVersionsPages(params, 10050 // func(page *glue.GetTableVersionsOutput, lastPage bool) bool { 10051 // pageNum++ 10052 // fmt.Println(page) 10053 // return pageNum <= 3 10054 // }) 10055 // 10056 func (c *Glue) GetTableVersionsPages(input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool) error { 10057 return c.GetTableVersionsPagesWithContext(aws.BackgroundContext(), input, fn) 10058 } 10059 10060 // GetTableVersionsPagesWithContext same as GetTableVersionsPages except 10061 // it takes a Context and allows setting request options on the pages. 10062 // 10063 // The context must be non-nil and will be used for request cancellation. If 10064 // the context is nil a panic will occur. In the future the SDK may create 10065 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10066 // for more information on using Contexts. 10067 func (c *Glue) GetTableVersionsPagesWithContext(ctx aws.Context, input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool, opts ...request.Option) error { 10068 p := request.Pagination{ 10069 NewRequest: func() (*request.Request, error) { 10070 var inCpy *GetTableVersionsInput 10071 if input != nil { 10072 tmp := *input 10073 inCpy = &tmp 10074 } 10075 req, _ := c.GetTableVersionsRequest(inCpy) 10076 req.SetContext(ctx) 10077 req.ApplyOptions(opts...) 10078 return req, nil 10079 }, 10080 } 10081 10082 for p.Next() { 10083 if !fn(p.Page().(*GetTableVersionsOutput), !p.HasNextPage()) { 10084 break 10085 } 10086 } 10087 10088 return p.Err() 10089 } 10090 10091 const opGetTables = "GetTables" 10092 10093 // GetTablesRequest generates a "aws/request.Request" representing the 10094 // client's request for the GetTables operation. The "output" return 10095 // value will be populated with the request's response once the request completes 10096 // successfully. 10097 // 10098 // Use "Send" method on the returned Request to send the API call to the service. 10099 // the "output" return value is not valid until after Send returns without error. 10100 // 10101 // See GetTables for more information on using the GetTables 10102 // API call, and error handling. 10103 // 10104 // This method is useful when you want to inject custom logic or configuration 10105 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10106 // 10107 // 10108 // // Example sending a request using the GetTablesRequest method. 10109 // req, resp := client.GetTablesRequest(params) 10110 // 10111 // err := req.Send() 10112 // if err == nil { // resp is now filled 10113 // fmt.Println(resp) 10114 // } 10115 // 10116 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables 10117 func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) { 10118 op := &request.Operation{ 10119 Name: opGetTables, 10120 HTTPMethod: "POST", 10121 HTTPPath: "/", 10122 Paginator: &request.Paginator{ 10123 InputTokens: []string{"NextToken"}, 10124 OutputTokens: []string{"NextToken"}, 10125 LimitToken: "MaxResults", 10126 TruncationToken: "", 10127 }, 10128 } 10129 10130 if input == nil { 10131 input = &GetTablesInput{} 10132 } 10133 10134 output = &GetTablesOutput{} 10135 req = c.newRequest(op, input, output) 10136 return 10137 } 10138 10139 // GetTables API operation for AWS Glue. 10140 // 10141 // Retrieves the definitions of some or all of the tables in a given Database. 10142 // 10143 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10144 // with awserr.Error's Code and Message methods to get detailed information about 10145 // the error. 10146 // 10147 // See the AWS API reference guide for AWS Glue's 10148 // API operation GetTables for usage and error information. 10149 // 10150 // Returned Error Types: 10151 // * EntityNotFoundException 10152 // A specified entity does not exist 10153 // 10154 // * InvalidInputException 10155 // The input provided was not valid. 10156 // 10157 // * OperationTimeoutException 10158 // The operation timed out. 10159 // 10160 // * InternalServiceException 10161 // An internal service error occurred. 10162 // 10163 // * EncryptionException 10164 // An encryption operation failed. 10165 // 10166 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables 10167 func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) { 10168 req, out := c.GetTablesRequest(input) 10169 return out, req.Send() 10170 } 10171 10172 // GetTablesWithContext is the same as GetTables with the addition of 10173 // the ability to pass a context and additional request options. 10174 // 10175 // See GetTables for details on how to use this API operation. 10176 // 10177 // The context must be non-nil and will be used for request cancellation. If 10178 // the context is nil a panic will occur. In the future the SDK may create 10179 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10180 // for more information on using Contexts. 10181 func (c *Glue) GetTablesWithContext(ctx aws.Context, input *GetTablesInput, opts ...request.Option) (*GetTablesOutput, error) { 10182 req, out := c.GetTablesRequest(input) 10183 req.SetContext(ctx) 10184 req.ApplyOptions(opts...) 10185 return out, req.Send() 10186 } 10187 10188 // GetTablesPages iterates over the pages of a GetTables operation, 10189 // calling the "fn" function with the response data for each page. To stop 10190 // iterating, return false from the fn function. 10191 // 10192 // See GetTables method for more information on how to use this operation. 10193 // 10194 // Note: This operation can generate multiple requests to a service. 10195 // 10196 // // Example iterating over at most 3 pages of a GetTables operation. 10197 // pageNum := 0 10198 // err := client.GetTablesPages(params, 10199 // func(page *glue.GetTablesOutput, lastPage bool) bool { 10200 // pageNum++ 10201 // fmt.Println(page) 10202 // return pageNum <= 3 10203 // }) 10204 // 10205 func (c *Glue) GetTablesPages(input *GetTablesInput, fn func(*GetTablesOutput, bool) bool) error { 10206 return c.GetTablesPagesWithContext(aws.BackgroundContext(), input, fn) 10207 } 10208 10209 // GetTablesPagesWithContext same as GetTablesPages except 10210 // it takes a Context and allows setting request options on the pages. 10211 // 10212 // The context must be non-nil and will be used for request cancellation. If 10213 // the context is nil a panic will occur. In the future the SDK may create 10214 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10215 // for more information on using Contexts. 10216 func (c *Glue) GetTablesPagesWithContext(ctx aws.Context, input *GetTablesInput, fn func(*GetTablesOutput, bool) bool, opts ...request.Option) error { 10217 p := request.Pagination{ 10218 NewRequest: func() (*request.Request, error) { 10219 var inCpy *GetTablesInput 10220 if input != nil { 10221 tmp := *input 10222 inCpy = &tmp 10223 } 10224 req, _ := c.GetTablesRequest(inCpy) 10225 req.SetContext(ctx) 10226 req.ApplyOptions(opts...) 10227 return req, nil 10228 }, 10229 } 10230 10231 for p.Next() { 10232 if !fn(p.Page().(*GetTablesOutput), !p.HasNextPage()) { 10233 break 10234 } 10235 } 10236 10237 return p.Err() 10238 } 10239 10240 const opGetTags = "GetTags" 10241 10242 // GetTagsRequest generates a "aws/request.Request" representing the 10243 // client's request for the GetTags operation. The "output" return 10244 // value will be populated with the request's response once the request completes 10245 // successfully. 10246 // 10247 // Use "Send" method on the returned Request to send the API call to the service. 10248 // the "output" return value is not valid until after Send returns without error. 10249 // 10250 // See GetTags for more information on using the GetTags 10251 // API call, and error handling. 10252 // 10253 // This method is useful when you want to inject custom logic or configuration 10254 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10255 // 10256 // 10257 // // Example sending a request using the GetTagsRequest method. 10258 // req, resp := client.GetTagsRequest(params) 10259 // 10260 // err := req.Send() 10261 // if err == nil { // resp is now filled 10262 // fmt.Println(resp) 10263 // } 10264 // 10265 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags 10266 func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { 10267 op := &request.Operation{ 10268 Name: opGetTags, 10269 HTTPMethod: "POST", 10270 HTTPPath: "/", 10271 } 10272 10273 if input == nil { 10274 input = &GetTagsInput{} 10275 } 10276 10277 output = &GetTagsOutput{} 10278 req = c.newRequest(op, input, output) 10279 return 10280 } 10281 10282 // GetTags API operation for AWS Glue. 10283 // 10284 // Retrieves a list of tags associated with a resource. 10285 // 10286 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10287 // with awserr.Error's Code and Message methods to get detailed information about 10288 // the error. 10289 // 10290 // See the AWS API reference guide for AWS Glue's 10291 // API operation GetTags for usage and error information. 10292 // 10293 // Returned Error Types: 10294 // * InvalidInputException 10295 // The input provided was not valid. 10296 // 10297 // * InternalServiceException 10298 // An internal service error occurred. 10299 // 10300 // * OperationTimeoutException 10301 // The operation timed out. 10302 // 10303 // * EntityNotFoundException 10304 // A specified entity does not exist 10305 // 10306 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags 10307 func (c *Glue) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { 10308 req, out := c.GetTagsRequest(input) 10309 return out, req.Send() 10310 } 10311 10312 // GetTagsWithContext is the same as GetTags with the addition of 10313 // the ability to pass a context and additional request options. 10314 // 10315 // See GetTags for details on how to use this API operation. 10316 // 10317 // The context must be non-nil and will be used for request cancellation. If 10318 // the context is nil a panic will occur. In the future the SDK may create 10319 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10320 // for more information on using Contexts. 10321 func (c *Glue) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error) { 10322 req, out := c.GetTagsRequest(input) 10323 req.SetContext(ctx) 10324 req.ApplyOptions(opts...) 10325 return out, req.Send() 10326 } 10327 10328 const opGetTrigger = "GetTrigger" 10329 10330 // GetTriggerRequest generates a "aws/request.Request" representing the 10331 // client's request for the GetTrigger operation. The "output" return 10332 // value will be populated with the request's response once the request completes 10333 // successfully. 10334 // 10335 // Use "Send" method on the returned Request to send the API call to the service. 10336 // the "output" return value is not valid until after Send returns without error. 10337 // 10338 // See GetTrigger for more information on using the GetTrigger 10339 // API call, and error handling. 10340 // 10341 // This method is useful when you want to inject custom logic or configuration 10342 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10343 // 10344 // 10345 // // Example sending a request using the GetTriggerRequest method. 10346 // req, resp := client.GetTriggerRequest(params) 10347 // 10348 // err := req.Send() 10349 // if err == nil { // resp is now filled 10350 // fmt.Println(resp) 10351 // } 10352 // 10353 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger 10354 func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) { 10355 op := &request.Operation{ 10356 Name: opGetTrigger, 10357 HTTPMethod: "POST", 10358 HTTPPath: "/", 10359 } 10360 10361 if input == nil { 10362 input = &GetTriggerInput{} 10363 } 10364 10365 output = &GetTriggerOutput{} 10366 req = c.newRequest(op, input, output) 10367 return 10368 } 10369 10370 // GetTrigger API operation for AWS Glue. 10371 // 10372 // Retrieves the definition of a trigger. 10373 // 10374 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10375 // with awserr.Error's Code and Message methods to get detailed information about 10376 // the error. 10377 // 10378 // See the AWS API reference guide for AWS Glue's 10379 // API operation GetTrigger for usage and error information. 10380 // 10381 // Returned Error Types: 10382 // * EntityNotFoundException 10383 // A specified entity does not exist 10384 // 10385 // * InvalidInputException 10386 // The input provided was not valid. 10387 // 10388 // * InternalServiceException 10389 // An internal service error occurred. 10390 // 10391 // * OperationTimeoutException 10392 // The operation timed out. 10393 // 10394 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger 10395 func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) { 10396 req, out := c.GetTriggerRequest(input) 10397 return out, req.Send() 10398 } 10399 10400 // GetTriggerWithContext is the same as GetTrigger with the addition of 10401 // the ability to pass a context and additional request options. 10402 // 10403 // See GetTrigger for details on how to use this API operation. 10404 // 10405 // The context must be non-nil and will be used for request cancellation. If 10406 // the context is nil a panic will occur. In the future the SDK may create 10407 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10408 // for more information on using Contexts. 10409 func (c *Glue) GetTriggerWithContext(ctx aws.Context, input *GetTriggerInput, opts ...request.Option) (*GetTriggerOutput, error) { 10410 req, out := c.GetTriggerRequest(input) 10411 req.SetContext(ctx) 10412 req.ApplyOptions(opts...) 10413 return out, req.Send() 10414 } 10415 10416 const opGetTriggers = "GetTriggers" 10417 10418 // GetTriggersRequest generates a "aws/request.Request" representing the 10419 // client's request for the GetTriggers operation. The "output" return 10420 // value will be populated with the request's response once the request completes 10421 // successfully. 10422 // 10423 // Use "Send" method on the returned Request to send the API call to the service. 10424 // the "output" return value is not valid until after Send returns without error. 10425 // 10426 // See GetTriggers for more information on using the GetTriggers 10427 // API call, and error handling. 10428 // 10429 // This method is useful when you want to inject custom logic or configuration 10430 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10431 // 10432 // 10433 // // Example sending a request using the GetTriggersRequest method. 10434 // req, resp := client.GetTriggersRequest(params) 10435 // 10436 // err := req.Send() 10437 // if err == nil { // resp is now filled 10438 // fmt.Println(resp) 10439 // } 10440 // 10441 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers 10442 func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) { 10443 op := &request.Operation{ 10444 Name: opGetTriggers, 10445 HTTPMethod: "POST", 10446 HTTPPath: "/", 10447 Paginator: &request.Paginator{ 10448 InputTokens: []string{"NextToken"}, 10449 OutputTokens: []string{"NextToken"}, 10450 LimitToken: "MaxResults", 10451 TruncationToken: "", 10452 }, 10453 } 10454 10455 if input == nil { 10456 input = &GetTriggersInput{} 10457 } 10458 10459 output = &GetTriggersOutput{} 10460 req = c.newRequest(op, input, output) 10461 return 10462 } 10463 10464 // GetTriggers API operation for AWS Glue. 10465 // 10466 // Gets all the triggers associated with a job. 10467 // 10468 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10469 // with awserr.Error's Code and Message methods to get detailed information about 10470 // the error. 10471 // 10472 // See the AWS API reference guide for AWS Glue's 10473 // API operation GetTriggers for usage and error information. 10474 // 10475 // Returned Error Types: 10476 // * EntityNotFoundException 10477 // A specified entity does not exist 10478 // 10479 // * InvalidInputException 10480 // The input provided was not valid. 10481 // 10482 // * InternalServiceException 10483 // An internal service error occurred. 10484 // 10485 // * OperationTimeoutException 10486 // The operation timed out. 10487 // 10488 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers 10489 func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) { 10490 req, out := c.GetTriggersRequest(input) 10491 return out, req.Send() 10492 } 10493 10494 // GetTriggersWithContext is the same as GetTriggers with the addition of 10495 // the ability to pass a context and additional request options. 10496 // 10497 // See GetTriggers for details on how to use this API operation. 10498 // 10499 // The context must be non-nil and will be used for request cancellation. If 10500 // the context is nil a panic will occur. In the future the SDK may create 10501 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10502 // for more information on using Contexts. 10503 func (c *Glue) GetTriggersWithContext(ctx aws.Context, input *GetTriggersInput, opts ...request.Option) (*GetTriggersOutput, error) { 10504 req, out := c.GetTriggersRequest(input) 10505 req.SetContext(ctx) 10506 req.ApplyOptions(opts...) 10507 return out, req.Send() 10508 } 10509 10510 // GetTriggersPages iterates over the pages of a GetTriggers operation, 10511 // calling the "fn" function with the response data for each page. To stop 10512 // iterating, return false from the fn function. 10513 // 10514 // See GetTriggers method for more information on how to use this operation. 10515 // 10516 // Note: This operation can generate multiple requests to a service. 10517 // 10518 // // Example iterating over at most 3 pages of a GetTriggers operation. 10519 // pageNum := 0 10520 // err := client.GetTriggersPages(params, 10521 // func(page *glue.GetTriggersOutput, lastPage bool) bool { 10522 // pageNum++ 10523 // fmt.Println(page) 10524 // return pageNum <= 3 10525 // }) 10526 // 10527 func (c *Glue) GetTriggersPages(input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool) error { 10528 return c.GetTriggersPagesWithContext(aws.BackgroundContext(), input, fn) 10529 } 10530 10531 // GetTriggersPagesWithContext same as GetTriggersPages except 10532 // it takes a Context and allows setting request options on the pages. 10533 // 10534 // The context must be non-nil and will be used for request cancellation. If 10535 // the context is nil a panic will occur. In the future the SDK may create 10536 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10537 // for more information on using Contexts. 10538 func (c *Glue) GetTriggersPagesWithContext(ctx aws.Context, input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool, opts ...request.Option) error { 10539 p := request.Pagination{ 10540 NewRequest: func() (*request.Request, error) { 10541 var inCpy *GetTriggersInput 10542 if input != nil { 10543 tmp := *input 10544 inCpy = &tmp 10545 } 10546 req, _ := c.GetTriggersRequest(inCpy) 10547 req.SetContext(ctx) 10548 req.ApplyOptions(opts...) 10549 return req, nil 10550 }, 10551 } 10552 10553 for p.Next() { 10554 if !fn(p.Page().(*GetTriggersOutput), !p.HasNextPage()) { 10555 break 10556 } 10557 } 10558 10559 return p.Err() 10560 } 10561 10562 const opGetUserDefinedFunction = "GetUserDefinedFunction" 10563 10564 // GetUserDefinedFunctionRequest generates a "aws/request.Request" representing the 10565 // client's request for the GetUserDefinedFunction operation. The "output" return 10566 // value will be populated with the request's response once the request completes 10567 // successfully. 10568 // 10569 // Use "Send" method on the returned Request to send the API call to the service. 10570 // the "output" return value is not valid until after Send returns without error. 10571 // 10572 // See GetUserDefinedFunction for more information on using the GetUserDefinedFunction 10573 // API call, and error handling. 10574 // 10575 // This method is useful when you want to inject custom logic or configuration 10576 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10577 // 10578 // 10579 // // Example sending a request using the GetUserDefinedFunctionRequest method. 10580 // req, resp := client.GetUserDefinedFunctionRequest(params) 10581 // 10582 // err := req.Send() 10583 // if err == nil { // resp is now filled 10584 // fmt.Println(resp) 10585 // } 10586 // 10587 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction 10588 func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) { 10589 op := &request.Operation{ 10590 Name: opGetUserDefinedFunction, 10591 HTTPMethod: "POST", 10592 HTTPPath: "/", 10593 } 10594 10595 if input == nil { 10596 input = &GetUserDefinedFunctionInput{} 10597 } 10598 10599 output = &GetUserDefinedFunctionOutput{} 10600 req = c.newRequest(op, input, output) 10601 return 10602 } 10603 10604 // GetUserDefinedFunction API operation for AWS Glue. 10605 // 10606 // Retrieves a specified function definition from the Data Catalog. 10607 // 10608 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10609 // with awserr.Error's Code and Message methods to get detailed information about 10610 // the error. 10611 // 10612 // See the AWS API reference guide for AWS Glue's 10613 // API operation GetUserDefinedFunction for usage and error information. 10614 // 10615 // Returned Error Types: 10616 // * EntityNotFoundException 10617 // A specified entity does not exist 10618 // 10619 // * InvalidInputException 10620 // The input provided was not valid. 10621 // 10622 // * InternalServiceException 10623 // An internal service error occurred. 10624 // 10625 // * OperationTimeoutException 10626 // The operation timed out. 10627 // 10628 // * EncryptionException 10629 // An encryption operation failed. 10630 // 10631 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction 10632 func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) { 10633 req, out := c.GetUserDefinedFunctionRequest(input) 10634 return out, req.Send() 10635 } 10636 10637 // GetUserDefinedFunctionWithContext is the same as GetUserDefinedFunction with the addition of 10638 // the ability to pass a context and additional request options. 10639 // 10640 // See GetUserDefinedFunction for details on how to use this API operation. 10641 // 10642 // The context must be non-nil and will be used for request cancellation. If 10643 // the context is nil a panic will occur. In the future the SDK may create 10644 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10645 // for more information on using Contexts. 10646 func (c *Glue) GetUserDefinedFunctionWithContext(ctx aws.Context, input *GetUserDefinedFunctionInput, opts ...request.Option) (*GetUserDefinedFunctionOutput, error) { 10647 req, out := c.GetUserDefinedFunctionRequest(input) 10648 req.SetContext(ctx) 10649 req.ApplyOptions(opts...) 10650 return out, req.Send() 10651 } 10652 10653 const opGetUserDefinedFunctions = "GetUserDefinedFunctions" 10654 10655 // GetUserDefinedFunctionsRequest generates a "aws/request.Request" representing the 10656 // client's request for the GetUserDefinedFunctions operation. The "output" return 10657 // value will be populated with the request's response once the request completes 10658 // successfully. 10659 // 10660 // Use "Send" method on the returned Request to send the API call to the service. 10661 // the "output" return value is not valid until after Send returns without error. 10662 // 10663 // See GetUserDefinedFunctions for more information on using the GetUserDefinedFunctions 10664 // API call, and error handling. 10665 // 10666 // This method is useful when you want to inject custom logic or configuration 10667 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10668 // 10669 // 10670 // // Example sending a request using the GetUserDefinedFunctionsRequest method. 10671 // req, resp := client.GetUserDefinedFunctionsRequest(params) 10672 // 10673 // err := req.Send() 10674 // if err == nil { // resp is now filled 10675 // fmt.Println(resp) 10676 // } 10677 // 10678 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions 10679 func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) { 10680 op := &request.Operation{ 10681 Name: opGetUserDefinedFunctions, 10682 HTTPMethod: "POST", 10683 HTTPPath: "/", 10684 Paginator: &request.Paginator{ 10685 InputTokens: []string{"NextToken"}, 10686 OutputTokens: []string{"NextToken"}, 10687 LimitToken: "MaxResults", 10688 TruncationToken: "", 10689 }, 10690 } 10691 10692 if input == nil { 10693 input = &GetUserDefinedFunctionsInput{} 10694 } 10695 10696 output = &GetUserDefinedFunctionsOutput{} 10697 req = c.newRequest(op, input, output) 10698 return 10699 } 10700 10701 // GetUserDefinedFunctions API operation for AWS Glue. 10702 // 10703 // Retrieves multiple function definitions from the Data Catalog. 10704 // 10705 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10706 // with awserr.Error's Code and Message methods to get detailed information about 10707 // the error. 10708 // 10709 // See the AWS API reference guide for AWS Glue's 10710 // API operation GetUserDefinedFunctions for usage and error information. 10711 // 10712 // Returned Error Types: 10713 // * EntityNotFoundException 10714 // A specified entity does not exist 10715 // 10716 // * InvalidInputException 10717 // The input provided was not valid. 10718 // 10719 // * OperationTimeoutException 10720 // The operation timed out. 10721 // 10722 // * InternalServiceException 10723 // An internal service error occurred. 10724 // 10725 // * EncryptionException 10726 // An encryption operation failed. 10727 // 10728 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions 10729 func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) { 10730 req, out := c.GetUserDefinedFunctionsRequest(input) 10731 return out, req.Send() 10732 } 10733 10734 // GetUserDefinedFunctionsWithContext is the same as GetUserDefinedFunctions with the addition of 10735 // the ability to pass a context and additional request options. 10736 // 10737 // See GetUserDefinedFunctions for details on how to use this API operation. 10738 // 10739 // The context must be non-nil and will be used for request cancellation. If 10740 // the context is nil a panic will occur. In the future the SDK may create 10741 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10742 // for more information on using Contexts. 10743 func (c *Glue) GetUserDefinedFunctionsWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, opts ...request.Option) (*GetUserDefinedFunctionsOutput, error) { 10744 req, out := c.GetUserDefinedFunctionsRequest(input) 10745 req.SetContext(ctx) 10746 req.ApplyOptions(opts...) 10747 return out, req.Send() 10748 } 10749 10750 // GetUserDefinedFunctionsPages iterates over the pages of a GetUserDefinedFunctions operation, 10751 // calling the "fn" function with the response data for each page. To stop 10752 // iterating, return false from the fn function. 10753 // 10754 // See GetUserDefinedFunctions method for more information on how to use this operation. 10755 // 10756 // Note: This operation can generate multiple requests to a service. 10757 // 10758 // // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation. 10759 // pageNum := 0 10760 // err := client.GetUserDefinedFunctionsPages(params, 10761 // func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool { 10762 // pageNum++ 10763 // fmt.Println(page) 10764 // return pageNum <= 3 10765 // }) 10766 // 10767 func (c *Glue) GetUserDefinedFunctionsPages(input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool) error { 10768 return c.GetUserDefinedFunctionsPagesWithContext(aws.BackgroundContext(), input, fn) 10769 } 10770 10771 // GetUserDefinedFunctionsPagesWithContext same as GetUserDefinedFunctionsPages except 10772 // it takes a Context and allows setting request options on the pages. 10773 // 10774 // The context must be non-nil and will be used for request cancellation. If 10775 // the context is nil a panic will occur. In the future the SDK may create 10776 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10777 // for more information on using Contexts. 10778 func (c *Glue) GetUserDefinedFunctionsPagesWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool, opts ...request.Option) error { 10779 p := request.Pagination{ 10780 NewRequest: func() (*request.Request, error) { 10781 var inCpy *GetUserDefinedFunctionsInput 10782 if input != nil { 10783 tmp := *input 10784 inCpy = &tmp 10785 } 10786 req, _ := c.GetUserDefinedFunctionsRequest(inCpy) 10787 req.SetContext(ctx) 10788 req.ApplyOptions(opts...) 10789 return req, nil 10790 }, 10791 } 10792 10793 for p.Next() { 10794 if !fn(p.Page().(*GetUserDefinedFunctionsOutput), !p.HasNextPage()) { 10795 break 10796 } 10797 } 10798 10799 return p.Err() 10800 } 10801 10802 const opGetWorkflow = "GetWorkflow" 10803 10804 // GetWorkflowRequest generates a "aws/request.Request" representing the 10805 // client's request for the GetWorkflow operation. The "output" return 10806 // value will be populated with the request's response once the request completes 10807 // successfully. 10808 // 10809 // Use "Send" method on the returned Request to send the API call to the service. 10810 // the "output" return value is not valid until after Send returns without error. 10811 // 10812 // See GetWorkflow for more information on using the GetWorkflow 10813 // API call, and error handling. 10814 // 10815 // This method is useful when you want to inject custom logic or configuration 10816 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10817 // 10818 // 10819 // // Example sending a request using the GetWorkflowRequest method. 10820 // req, resp := client.GetWorkflowRequest(params) 10821 // 10822 // err := req.Send() 10823 // if err == nil { // resp is now filled 10824 // fmt.Println(resp) 10825 // } 10826 // 10827 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow 10828 func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) { 10829 op := &request.Operation{ 10830 Name: opGetWorkflow, 10831 HTTPMethod: "POST", 10832 HTTPPath: "/", 10833 } 10834 10835 if input == nil { 10836 input = &GetWorkflowInput{} 10837 } 10838 10839 output = &GetWorkflowOutput{} 10840 req = c.newRequest(op, input, output) 10841 return 10842 } 10843 10844 // GetWorkflow API operation for AWS Glue. 10845 // 10846 // Retrieves resource metadata for a workflow. 10847 // 10848 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10849 // with awserr.Error's Code and Message methods to get detailed information about 10850 // the error. 10851 // 10852 // See the AWS API reference guide for AWS Glue's 10853 // API operation GetWorkflow for usage and error information. 10854 // 10855 // Returned Error Types: 10856 // * InvalidInputException 10857 // The input provided was not valid. 10858 // 10859 // * EntityNotFoundException 10860 // A specified entity does not exist 10861 // 10862 // * InternalServiceException 10863 // An internal service error occurred. 10864 // 10865 // * OperationTimeoutException 10866 // The operation timed out. 10867 // 10868 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow 10869 func (c *Glue) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) { 10870 req, out := c.GetWorkflowRequest(input) 10871 return out, req.Send() 10872 } 10873 10874 // GetWorkflowWithContext is the same as GetWorkflow with the addition of 10875 // the ability to pass a context and additional request options. 10876 // 10877 // See GetWorkflow for details on how to use this API operation. 10878 // 10879 // The context must be non-nil and will be used for request cancellation. If 10880 // the context is nil a panic will occur. In the future the SDK may create 10881 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10882 // for more information on using Contexts. 10883 func (c *Glue) GetWorkflowWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.Option) (*GetWorkflowOutput, error) { 10884 req, out := c.GetWorkflowRequest(input) 10885 req.SetContext(ctx) 10886 req.ApplyOptions(opts...) 10887 return out, req.Send() 10888 } 10889 10890 const opGetWorkflowRun = "GetWorkflowRun" 10891 10892 // GetWorkflowRunRequest generates a "aws/request.Request" representing the 10893 // client's request for the GetWorkflowRun operation. The "output" return 10894 // value will be populated with the request's response once the request completes 10895 // successfully. 10896 // 10897 // Use "Send" method on the returned Request to send the API call to the service. 10898 // the "output" return value is not valid until after Send returns without error. 10899 // 10900 // See GetWorkflowRun for more information on using the GetWorkflowRun 10901 // API call, and error handling. 10902 // 10903 // This method is useful when you want to inject custom logic or configuration 10904 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10905 // 10906 // 10907 // // Example sending a request using the GetWorkflowRunRequest method. 10908 // req, resp := client.GetWorkflowRunRequest(params) 10909 // 10910 // err := req.Send() 10911 // if err == nil { // resp is now filled 10912 // fmt.Println(resp) 10913 // } 10914 // 10915 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun 10916 func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.Request, output *GetWorkflowRunOutput) { 10917 op := &request.Operation{ 10918 Name: opGetWorkflowRun, 10919 HTTPMethod: "POST", 10920 HTTPPath: "/", 10921 } 10922 10923 if input == nil { 10924 input = &GetWorkflowRunInput{} 10925 } 10926 10927 output = &GetWorkflowRunOutput{} 10928 req = c.newRequest(op, input, output) 10929 return 10930 } 10931 10932 // GetWorkflowRun API operation for AWS Glue. 10933 // 10934 // Retrieves the metadata for a given workflow run. 10935 // 10936 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10937 // with awserr.Error's Code and Message methods to get detailed information about 10938 // the error. 10939 // 10940 // See the AWS API reference guide for AWS Glue's 10941 // API operation GetWorkflowRun for usage and error information. 10942 // 10943 // Returned Error Types: 10944 // * InvalidInputException 10945 // The input provided was not valid. 10946 // 10947 // * EntityNotFoundException 10948 // A specified entity does not exist 10949 // 10950 // * InternalServiceException 10951 // An internal service error occurred. 10952 // 10953 // * OperationTimeoutException 10954 // The operation timed out. 10955 // 10956 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun 10957 func (c *Glue) GetWorkflowRun(input *GetWorkflowRunInput) (*GetWorkflowRunOutput, error) { 10958 req, out := c.GetWorkflowRunRequest(input) 10959 return out, req.Send() 10960 } 10961 10962 // GetWorkflowRunWithContext is the same as GetWorkflowRun with the addition of 10963 // the ability to pass a context and additional request options. 10964 // 10965 // See GetWorkflowRun for details on how to use this API operation. 10966 // 10967 // The context must be non-nil and will be used for request cancellation. If 10968 // the context is nil a panic will occur. In the future the SDK may create 10969 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10970 // for more information on using Contexts. 10971 func (c *Glue) GetWorkflowRunWithContext(ctx aws.Context, input *GetWorkflowRunInput, opts ...request.Option) (*GetWorkflowRunOutput, error) { 10972 req, out := c.GetWorkflowRunRequest(input) 10973 req.SetContext(ctx) 10974 req.ApplyOptions(opts...) 10975 return out, req.Send() 10976 } 10977 10978 const opGetWorkflowRunProperties = "GetWorkflowRunProperties" 10979 10980 // GetWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the 10981 // client's request for the GetWorkflowRunProperties operation. The "output" return 10982 // value will be populated with the request's response once the request completes 10983 // successfully. 10984 // 10985 // Use "Send" method on the returned Request to send the API call to the service. 10986 // the "output" return value is not valid until after Send returns without error. 10987 // 10988 // See GetWorkflowRunProperties for more information on using the GetWorkflowRunProperties 10989 // API call, and error handling. 10990 // 10991 // This method is useful when you want to inject custom logic or configuration 10992 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10993 // 10994 // 10995 // // Example sending a request using the GetWorkflowRunPropertiesRequest method. 10996 // req, resp := client.GetWorkflowRunPropertiesRequest(params) 10997 // 10998 // err := req.Send() 10999 // if err == nil { // resp is now filled 11000 // fmt.Println(resp) 11001 // } 11002 // 11003 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties 11004 func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesInput) (req *request.Request, output *GetWorkflowRunPropertiesOutput) { 11005 op := &request.Operation{ 11006 Name: opGetWorkflowRunProperties, 11007 HTTPMethod: "POST", 11008 HTTPPath: "/", 11009 } 11010 11011 if input == nil { 11012 input = &GetWorkflowRunPropertiesInput{} 11013 } 11014 11015 output = &GetWorkflowRunPropertiesOutput{} 11016 req = c.newRequest(op, input, output) 11017 return 11018 } 11019 11020 // GetWorkflowRunProperties API operation for AWS Glue. 11021 // 11022 // Retrieves the workflow run properties which were set during the run. 11023 // 11024 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11025 // with awserr.Error's Code and Message methods to get detailed information about 11026 // the error. 11027 // 11028 // See the AWS API reference guide for AWS Glue's 11029 // API operation GetWorkflowRunProperties for usage and error information. 11030 // 11031 // Returned Error Types: 11032 // * InvalidInputException 11033 // The input provided was not valid. 11034 // 11035 // * EntityNotFoundException 11036 // A specified entity does not exist 11037 // 11038 // * InternalServiceException 11039 // An internal service error occurred. 11040 // 11041 // * OperationTimeoutException 11042 // The operation timed out. 11043 // 11044 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties 11045 func (c *Glue) GetWorkflowRunProperties(input *GetWorkflowRunPropertiesInput) (*GetWorkflowRunPropertiesOutput, error) { 11046 req, out := c.GetWorkflowRunPropertiesRequest(input) 11047 return out, req.Send() 11048 } 11049 11050 // GetWorkflowRunPropertiesWithContext is the same as GetWorkflowRunProperties with the addition of 11051 // the ability to pass a context and additional request options. 11052 // 11053 // See GetWorkflowRunProperties for details on how to use this API operation. 11054 // 11055 // The context must be non-nil and will be used for request cancellation. If 11056 // the context is nil a panic will occur. In the future the SDK may create 11057 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11058 // for more information on using Contexts. 11059 func (c *Glue) GetWorkflowRunPropertiesWithContext(ctx aws.Context, input *GetWorkflowRunPropertiesInput, opts ...request.Option) (*GetWorkflowRunPropertiesOutput, error) { 11060 req, out := c.GetWorkflowRunPropertiesRequest(input) 11061 req.SetContext(ctx) 11062 req.ApplyOptions(opts...) 11063 return out, req.Send() 11064 } 11065 11066 const opGetWorkflowRuns = "GetWorkflowRuns" 11067 11068 // GetWorkflowRunsRequest generates a "aws/request.Request" representing the 11069 // client's request for the GetWorkflowRuns operation. The "output" return 11070 // value will be populated with the request's response once the request completes 11071 // successfully. 11072 // 11073 // Use "Send" method on the returned Request to send the API call to the service. 11074 // the "output" return value is not valid until after Send returns without error. 11075 // 11076 // See GetWorkflowRuns for more information on using the GetWorkflowRuns 11077 // API call, and error handling. 11078 // 11079 // This method is useful when you want to inject custom logic or configuration 11080 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11081 // 11082 // 11083 // // Example sending a request using the GetWorkflowRunsRequest method. 11084 // req, resp := client.GetWorkflowRunsRequest(params) 11085 // 11086 // err := req.Send() 11087 // if err == nil { // resp is now filled 11088 // fmt.Println(resp) 11089 // } 11090 // 11091 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns 11092 func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request.Request, output *GetWorkflowRunsOutput) { 11093 op := &request.Operation{ 11094 Name: opGetWorkflowRuns, 11095 HTTPMethod: "POST", 11096 HTTPPath: "/", 11097 Paginator: &request.Paginator{ 11098 InputTokens: []string{"NextToken"}, 11099 OutputTokens: []string{"NextToken"}, 11100 LimitToken: "MaxResults", 11101 TruncationToken: "", 11102 }, 11103 } 11104 11105 if input == nil { 11106 input = &GetWorkflowRunsInput{} 11107 } 11108 11109 output = &GetWorkflowRunsOutput{} 11110 req = c.newRequest(op, input, output) 11111 return 11112 } 11113 11114 // GetWorkflowRuns API operation for AWS Glue. 11115 // 11116 // Retrieves metadata for all runs of a given workflow. 11117 // 11118 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11119 // with awserr.Error's Code and Message methods to get detailed information about 11120 // the error. 11121 // 11122 // See the AWS API reference guide for AWS Glue's 11123 // API operation GetWorkflowRuns for usage and error information. 11124 // 11125 // Returned Error Types: 11126 // * InvalidInputException 11127 // The input provided was not valid. 11128 // 11129 // * EntityNotFoundException 11130 // A specified entity does not exist 11131 // 11132 // * InternalServiceException 11133 // An internal service error occurred. 11134 // 11135 // * OperationTimeoutException 11136 // The operation timed out. 11137 // 11138 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns 11139 func (c *Glue) GetWorkflowRuns(input *GetWorkflowRunsInput) (*GetWorkflowRunsOutput, error) { 11140 req, out := c.GetWorkflowRunsRequest(input) 11141 return out, req.Send() 11142 } 11143 11144 // GetWorkflowRunsWithContext is the same as GetWorkflowRuns with the addition of 11145 // the ability to pass a context and additional request options. 11146 // 11147 // See GetWorkflowRuns for details on how to use this API operation. 11148 // 11149 // The context must be non-nil and will be used for request cancellation. If 11150 // the context is nil a panic will occur. In the future the SDK may create 11151 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11152 // for more information on using Contexts. 11153 func (c *Glue) GetWorkflowRunsWithContext(ctx aws.Context, input *GetWorkflowRunsInput, opts ...request.Option) (*GetWorkflowRunsOutput, error) { 11154 req, out := c.GetWorkflowRunsRequest(input) 11155 req.SetContext(ctx) 11156 req.ApplyOptions(opts...) 11157 return out, req.Send() 11158 } 11159 11160 // GetWorkflowRunsPages iterates over the pages of a GetWorkflowRuns operation, 11161 // calling the "fn" function with the response data for each page. To stop 11162 // iterating, return false from the fn function. 11163 // 11164 // See GetWorkflowRuns method for more information on how to use this operation. 11165 // 11166 // Note: This operation can generate multiple requests to a service. 11167 // 11168 // // Example iterating over at most 3 pages of a GetWorkflowRuns operation. 11169 // pageNum := 0 11170 // err := client.GetWorkflowRunsPages(params, 11171 // func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool { 11172 // pageNum++ 11173 // fmt.Println(page) 11174 // return pageNum <= 3 11175 // }) 11176 // 11177 func (c *Glue) GetWorkflowRunsPages(input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool) error { 11178 return c.GetWorkflowRunsPagesWithContext(aws.BackgroundContext(), input, fn) 11179 } 11180 11181 // GetWorkflowRunsPagesWithContext same as GetWorkflowRunsPages except 11182 // it takes a Context and allows setting request options on the pages. 11183 // 11184 // The context must be non-nil and will be used for request cancellation. If 11185 // the context is nil a panic will occur. In the future the SDK may create 11186 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11187 // for more information on using Contexts. 11188 func (c *Glue) GetWorkflowRunsPagesWithContext(ctx aws.Context, input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool, opts ...request.Option) error { 11189 p := request.Pagination{ 11190 NewRequest: func() (*request.Request, error) { 11191 var inCpy *GetWorkflowRunsInput 11192 if input != nil { 11193 tmp := *input 11194 inCpy = &tmp 11195 } 11196 req, _ := c.GetWorkflowRunsRequest(inCpy) 11197 req.SetContext(ctx) 11198 req.ApplyOptions(opts...) 11199 return req, nil 11200 }, 11201 } 11202 11203 for p.Next() { 11204 if !fn(p.Page().(*GetWorkflowRunsOutput), !p.HasNextPage()) { 11205 break 11206 } 11207 } 11208 11209 return p.Err() 11210 } 11211 11212 const opImportCatalogToGlue = "ImportCatalogToGlue" 11213 11214 // ImportCatalogToGlueRequest generates a "aws/request.Request" representing the 11215 // client's request for the ImportCatalogToGlue operation. The "output" return 11216 // value will be populated with the request's response once the request completes 11217 // successfully. 11218 // 11219 // Use "Send" method on the returned Request to send the API call to the service. 11220 // the "output" return value is not valid until after Send returns without error. 11221 // 11222 // See ImportCatalogToGlue for more information on using the ImportCatalogToGlue 11223 // API call, and error handling. 11224 // 11225 // This method is useful when you want to inject custom logic or configuration 11226 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11227 // 11228 // 11229 // // Example sending a request using the ImportCatalogToGlueRequest method. 11230 // req, resp := client.ImportCatalogToGlueRequest(params) 11231 // 11232 // err := req.Send() 11233 // if err == nil { // resp is now filled 11234 // fmt.Println(resp) 11235 // } 11236 // 11237 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue 11238 func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) { 11239 op := &request.Operation{ 11240 Name: opImportCatalogToGlue, 11241 HTTPMethod: "POST", 11242 HTTPPath: "/", 11243 } 11244 11245 if input == nil { 11246 input = &ImportCatalogToGlueInput{} 11247 } 11248 11249 output = &ImportCatalogToGlueOutput{} 11250 req = c.newRequest(op, input, output) 11251 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 11252 return 11253 } 11254 11255 // ImportCatalogToGlue API operation for AWS Glue. 11256 // 11257 // Imports an existing Amazon Athena Data Catalog to Glue. 11258 // 11259 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11260 // with awserr.Error's Code and Message methods to get detailed information about 11261 // the error. 11262 // 11263 // See the AWS API reference guide for AWS Glue's 11264 // API operation ImportCatalogToGlue for usage and error information. 11265 // 11266 // Returned Error Types: 11267 // * InternalServiceException 11268 // An internal service error occurred. 11269 // 11270 // * OperationTimeoutException 11271 // The operation timed out. 11272 // 11273 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue 11274 func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) { 11275 req, out := c.ImportCatalogToGlueRequest(input) 11276 return out, req.Send() 11277 } 11278 11279 // ImportCatalogToGlueWithContext is the same as ImportCatalogToGlue with the addition of 11280 // the ability to pass a context and additional request options. 11281 // 11282 // See ImportCatalogToGlue for details on how to use this API operation. 11283 // 11284 // The context must be non-nil and will be used for request cancellation. If 11285 // the context is nil a panic will occur. In the future the SDK may create 11286 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11287 // for more information on using Contexts. 11288 func (c *Glue) ImportCatalogToGlueWithContext(ctx aws.Context, input *ImportCatalogToGlueInput, opts ...request.Option) (*ImportCatalogToGlueOutput, error) { 11289 req, out := c.ImportCatalogToGlueRequest(input) 11290 req.SetContext(ctx) 11291 req.ApplyOptions(opts...) 11292 return out, req.Send() 11293 } 11294 11295 const opListBlueprints = "ListBlueprints" 11296 11297 // ListBlueprintsRequest generates a "aws/request.Request" representing the 11298 // client's request for the ListBlueprints operation. The "output" return 11299 // value will be populated with the request's response once the request completes 11300 // successfully. 11301 // 11302 // Use "Send" method on the returned Request to send the API call to the service. 11303 // the "output" return value is not valid until after Send returns without error. 11304 // 11305 // See ListBlueprints for more information on using the ListBlueprints 11306 // API call, and error handling. 11307 // 11308 // This method is useful when you want to inject custom logic or configuration 11309 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11310 // 11311 // 11312 // // Example sending a request using the ListBlueprintsRequest method. 11313 // req, resp := client.ListBlueprintsRequest(params) 11314 // 11315 // err := req.Send() 11316 // if err == nil { // resp is now filled 11317 // fmt.Println(resp) 11318 // } 11319 // 11320 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListBlueprints 11321 func (c *Glue) ListBlueprintsRequest(input *ListBlueprintsInput) (req *request.Request, output *ListBlueprintsOutput) { 11322 op := &request.Operation{ 11323 Name: opListBlueprints, 11324 HTTPMethod: "POST", 11325 HTTPPath: "/", 11326 Paginator: &request.Paginator{ 11327 InputTokens: []string{"NextToken"}, 11328 OutputTokens: []string{"NextToken"}, 11329 LimitToken: "MaxResults", 11330 TruncationToken: "", 11331 }, 11332 } 11333 11334 if input == nil { 11335 input = &ListBlueprintsInput{} 11336 } 11337 11338 output = &ListBlueprintsOutput{} 11339 req = c.newRequest(op, input, output) 11340 return 11341 } 11342 11343 // ListBlueprints API operation for AWS Glue. 11344 // 11345 // Lists all the blueprint names in an account. 11346 // 11347 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11348 // with awserr.Error's Code and Message methods to get detailed information about 11349 // the error. 11350 // 11351 // See the AWS API reference guide for AWS Glue's 11352 // API operation ListBlueprints for usage and error information. 11353 // 11354 // Returned Error Types: 11355 // * InvalidInputException 11356 // The input provided was not valid. 11357 // 11358 // * InternalServiceException 11359 // An internal service error occurred. 11360 // 11361 // * OperationTimeoutException 11362 // The operation timed out. 11363 // 11364 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListBlueprints 11365 func (c *Glue) ListBlueprints(input *ListBlueprintsInput) (*ListBlueprintsOutput, error) { 11366 req, out := c.ListBlueprintsRequest(input) 11367 return out, req.Send() 11368 } 11369 11370 // ListBlueprintsWithContext is the same as ListBlueprints with the addition of 11371 // the ability to pass a context and additional request options. 11372 // 11373 // See ListBlueprints for details on how to use this API operation. 11374 // 11375 // The context must be non-nil and will be used for request cancellation. If 11376 // the context is nil a panic will occur. In the future the SDK may create 11377 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11378 // for more information on using Contexts. 11379 func (c *Glue) ListBlueprintsWithContext(ctx aws.Context, input *ListBlueprintsInput, opts ...request.Option) (*ListBlueprintsOutput, error) { 11380 req, out := c.ListBlueprintsRequest(input) 11381 req.SetContext(ctx) 11382 req.ApplyOptions(opts...) 11383 return out, req.Send() 11384 } 11385 11386 // ListBlueprintsPages iterates over the pages of a ListBlueprints operation, 11387 // calling the "fn" function with the response data for each page. To stop 11388 // iterating, return false from the fn function. 11389 // 11390 // See ListBlueprints method for more information on how to use this operation. 11391 // 11392 // Note: This operation can generate multiple requests to a service. 11393 // 11394 // // Example iterating over at most 3 pages of a ListBlueprints operation. 11395 // pageNum := 0 11396 // err := client.ListBlueprintsPages(params, 11397 // func(page *glue.ListBlueprintsOutput, lastPage bool) bool { 11398 // pageNum++ 11399 // fmt.Println(page) 11400 // return pageNum <= 3 11401 // }) 11402 // 11403 func (c *Glue) ListBlueprintsPages(input *ListBlueprintsInput, fn func(*ListBlueprintsOutput, bool) bool) error { 11404 return c.ListBlueprintsPagesWithContext(aws.BackgroundContext(), input, fn) 11405 } 11406 11407 // ListBlueprintsPagesWithContext same as ListBlueprintsPages except 11408 // it takes a Context and allows setting request options on the pages. 11409 // 11410 // The context must be non-nil and will be used for request cancellation. If 11411 // the context is nil a panic will occur. In the future the SDK may create 11412 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11413 // for more information on using Contexts. 11414 func (c *Glue) ListBlueprintsPagesWithContext(ctx aws.Context, input *ListBlueprintsInput, fn func(*ListBlueprintsOutput, bool) bool, opts ...request.Option) error { 11415 p := request.Pagination{ 11416 NewRequest: func() (*request.Request, error) { 11417 var inCpy *ListBlueprintsInput 11418 if input != nil { 11419 tmp := *input 11420 inCpy = &tmp 11421 } 11422 req, _ := c.ListBlueprintsRequest(inCpy) 11423 req.SetContext(ctx) 11424 req.ApplyOptions(opts...) 11425 return req, nil 11426 }, 11427 } 11428 11429 for p.Next() { 11430 if !fn(p.Page().(*ListBlueprintsOutput), !p.HasNextPage()) { 11431 break 11432 } 11433 } 11434 11435 return p.Err() 11436 } 11437 11438 const opListCrawlers = "ListCrawlers" 11439 11440 // ListCrawlersRequest generates a "aws/request.Request" representing the 11441 // client's request for the ListCrawlers operation. The "output" return 11442 // value will be populated with the request's response once the request completes 11443 // successfully. 11444 // 11445 // Use "Send" method on the returned Request to send the API call to the service. 11446 // the "output" return value is not valid until after Send returns without error. 11447 // 11448 // See ListCrawlers for more information on using the ListCrawlers 11449 // API call, and error handling. 11450 // 11451 // This method is useful when you want to inject custom logic or configuration 11452 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11453 // 11454 // 11455 // // Example sending a request using the ListCrawlersRequest method. 11456 // req, resp := client.ListCrawlersRequest(params) 11457 // 11458 // err := req.Send() 11459 // if err == nil { // resp is now filled 11460 // fmt.Println(resp) 11461 // } 11462 // 11463 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers 11464 func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Request, output *ListCrawlersOutput) { 11465 op := &request.Operation{ 11466 Name: opListCrawlers, 11467 HTTPMethod: "POST", 11468 HTTPPath: "/", 11469 Paginator: &request.Paginator{ 11470 InputTokens: []string{"NextToken"}, 11471 OutputTokens: []string{"NextToken"}, 11472 LimitToken: "MaxResults", 11473 TruncationToken: "", 11474 }, 11475 } 11476 11477 if input == nil { 11478 input = &ListCrawlersInput{} 11479 } 11480 11481 output = &ListCrawlersOutput{} 11482 req = c.newRequest(op, input, output) 11483 return 11484 } 11485 11486 // ListCrawlers API operation for AWS Glue. 11487 // 11488 // Retrieves the names of all crawler resources in this Amazon Web Services 11489 // account, or the resources with the specified tag. This operation allows you 11490 // to see which resources are available in your account, and their names. 11491 // 11492 // This operation takes the optional Tags field, which you can use as a filter 11493 // on the response so that tagged resources can be retrieved as a group. If 11494 // you choose to use tags filtering, only resources with the tag are retrieved. 11495 // 11496 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11497 // with awserr.Error's Code and Message methods to get detailed information about 11498 // the error. 11499 // 11500 // See the AWS API reference guide for AWS Glue's 11501 // API operation ListCrawlers for usage and error information. 11502 // 11503 // Returned Error Types: 11504 // * OperationTimeoutException 11505 // The operation timed out. 11506 // 11507 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers 11508 func (c *Glue) ListCrawlers(input *ListCrawlersInput) (*ListCrawlersOutput, error) { 11509 req, out := c.ListCrawlersRequest(input) 11510 return out, req.Send() 11511 } 11512 11513 // ListCrawlersWithContext is the same as ListCrawlers with the addition of 11514 // the ability to pass a context and additional request options. 11515 // 11516 // See ListCrawlers for details on how to use this API operation. 11517 // 11518 // The context must be non-nil and will be used for request cancellation. If 11519 // the context is nil a panic will occur. In the future the SDK may create 11520 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11521 // for more information on using Contexts. 11522 func (c *Glue) ListCrawlersWithContext(ctx aws.Context, input *ListCrawlersInput, opts ...request.Option) (*ListCrawlersOutput, error) { 11523 req, out := c.ListCrawlersRequest(input) 11524 req.SetContext(ctx) 11525 req.ApplyOptions(opts...) 11526 return out, req.Send() 11527 } 11528 11529 // ListCrawlersPages iterates over the pages of a ListCrawlers operation, 11530 // calling the "fn" function with the response data for each page. To stop 11531 // iterating, return false from the fn function. 11532 // 11533 // See ListCrawlers method for more information on how to use this operation. 11534 // 11535 // Note: This operation can generate multiple requests to a service. 11536 // 11537 // // Example iterating over at most 3 pages of a ListCrawlers operation. 11538 // pageNum := 0 11539 // err := client.ListCrawlersPages(params, 11540 // func(page *glue.ListCrawlersOutput, lastPage bool) bool { 11541 // pageNum++ 11542 // fmt.Println(page) 11543 // return pageNum <= 3 11544 // }) 11545 // 11546 func (c *Glue) ListCrawlersPages(input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool) error { 11547 return c.ListCrawlersPagesWithContext(aws.BackgroundContext(), input, fn) 11548 } 11549 11550 // ListCrawlersPagesWithContext same as ListCrawlersPages except 11551 // it takes a Context and allows setting request options on the pages. 11552 // 11553 // The context must be non-nil and will be used for request cancellation. If 11554 // the context is nil a panic will occur. In the future the SDK may create 11555 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11556 // for more information on using Contexts. 11557 func (c *Glue) ListCrawlersPagesWithContext(ctx aws.Context, input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool, opts ...request.Option) error { 11558 p := request.Pagination{ 11559 NewRequest: func() (*request.Request, error) { 11560 var inCpy *ListCrawlersInput 11561 if input != nil { 11562 tmp := *input 11563 inCpy = &tmp 11564 } 11565 req, _ := c.ListCrawlersRequest(inCpy) 11566 req.SetContext(ctx) 11567 req.ApplyOptions(opts...) 11568 return req, nil 11569 }, 11570 } 11571 11572 for p.Next() { 11573 if !fn(p.Page().(*ListCrawlersOutput), !p.HasNextPage()) { 11574 break 11575 } 11576 } 11577 11578 return p.Err() 11579 } 11580 11581 const opListDevEndpoints = "ListDevEndpoints" 11582 11583 // ListDevEndpointsRequest generates a "aws/request.Request" representing the 11584 // client's request for the ListDevEndpoints operation. The "output" return 11585 // value will be populated with the request's response once the request completes 11586 // successfully. 11587 // 11588 // Use "Send" method on the returned Request to send the API call to the service. 11589 // the "output" return value is not valid until after Send returns without error. 11590 // 11591 // See ListDevEndpoints for more information on using the ListDevEndpoints 11592 // API call, and error handling. 11593 // 11594 // This method is useful when you want to inject custom logic or configuration 11595 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11596 // 11597 // 11598 // // Example sending a request using the ListDevEndpointsRequest method. 11599 // req, resp := client.ListDevEndpointsRequest(params) 11600 // 11601 // err := req.Send() 11602 // if err == nil { // resp is now filled 11603 // fmt.Println(resp) 11604 // } 11605 // 11606 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints 11607 func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *request.Request, output *ListDevEndpointsOutput) { 11608 op := &request.Operation{ 11609 Name: opListDevEndpoints, 11610 HTTPMethod: "POST", 11611 HTTPPath: "/", 11612 Paginator: &request.Paginator{ 11613 InputTokens: []string{"NextToken"}, 11614 OutputTokens: []string{"NextToken"}, 11615 LimitToken: "MaxResults", 11616 TruncationToken: "", 11617 }, 11618 } 11619 11620 if input == nil { 11621 input = &ListDevEndpointsInput{} 11622 } 11623 11624 output = &ListDevEndpointsOutput{} 11625 req = c.newRequest(op, input, output) 11626 return 11627 } 11628 11629 // ListDevEndpoints API operation for AWS Glue. 11630 // 11631 // Retrieves the names of all DevEndpoint resources in this Amazon Web Services 11632 // account, or the resources with the specified tag. This operation allows you 11633 // to see which resources are available in your account, and their names. 11634 // 11635 // This operation takes the optional Tags field, which you can use as a filter 11636 // on the response so that tagged resources can be retrieved as a group. If 11637 // you choose to use tags filtering, only resources with the tag are retrieved. 11638 // 11639 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11640 // with awserr.Error's Code and Message methods to get detailed information about 11641 // the error. 11642 // 11643 // See the AWS API reference guide for AWS Glue's 11644 // API operation ListDevEndpoints for usage and error information. 11645 // 11646 // Returned Error Types: 11647 // * InvalidInputException 11648 // The input provided was not valid. 11649 // 11650 // * EntityNotFoundException 11651 // A specified entity does not exist 11652 // 11653 // * InternalServiceException 11654 // An internal service error occurred. 11655 // 11656 // * OperationTimeoutException 11657 // The operation timed out. 11658 // 11659 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints 11660 func (c *Glue) ListDevEndpoints(input *ListDevEndpointsInput) (*ListDevEndpointsOutput, error) { 11661 req, out := c.ListDevEndpointsRequest(input) 11662 return out, req.Send() 11663 } 11664 11665 // ListDevEndpointsWithContext is the same as ListDevEndpoints with the addition of 11666 // the ability to pass a context and additional request options. 11667 // 11668 // See ListDevEndpoints for details on how to use this API operation. 11669 // 11670 // The context must be non-nil and will be used for request cancellation. If 11671 // the context is nil a panic will occur. In the future the SDK may create 11672 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11673 // for more information on using Contexts. 11674 func (c *Glue) ListDevEndpointsWithContext(ctx aws.Context, input *ListDevEndpointsInput, opts ...request.Option) (*ListDevEndpointsOutput, error) { 11675 req, out := c.ListDevEndpointsRequest(input) 11676 req.SetContext(ctx) 11677 req.ApplyOptions(opts...) 11678 return out, req.Send() 11679 } 11680 11681 // ListDevEndpointsPages iterates over the pages of a ListDevEndpoints operation, 11682 // calling the "fn" function with the response data for each page. To stop 11683 // iterating, return false from the fn function. 11684 // 11685 // See ListDevEndpoints method for more information on how to use this operation. 11686 // 11687 // Note: This operation can generate multiple requests to a service. 11688 // 11689 // // Example iterating over at most 3 pages of a ListDevEndpoints operation. 11690 // pageNum := 0 11691 // err := client.ListDevEndpointsPages(params, 11692 // func(page *glue.ListDevEndpointsOutput, lastPage bool) bool { 11693 // pageNum++ 11694 // fmt.Println(page) 11695 // return pageNum <= 3 11696 // }) 11697 // 11698 func (c *Glue) ListDevEndpointsPages(input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool) error { 11699 return c.ListDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) 11700 } 11701 11702 // ListDevEndpointsPagesWithContext same as ListDevEndpointsPages except 11703 // it takes a Context and allows setting request options on the pages. 11704 // 11705 // The context must be non-nil and will be used for request cancellation. If 11706 // the context is nil a panic will occur. In the future the SDK may create 11707 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11708 // for more information on using Contexts. 11709 func (c *Glue) ListDevEndpointsPagesWithContext(ctx aws.Context, input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool, opts ...request.Option) error { 11710 p := request.Pagination{ 11711 NewRequest: func() (*request.Request, error) { 11712 var inCpy *ListDevEndpointsInput 11713 if input != nil { 11714 tmp := *input 11715 inCpy = &tmp 11716 } 11717 req, _ := c.ListDevEndpointsRequest(inCpy) 11718 req.SetContext(ctx) 11719 req.ApplyOptions(opts...) 11720 return req, nil 11721 }, 11722 } 11723 11724 for p.Next() { 11725 if !fn(p.Page().(*ListDevEndpointsOutput), !p.HasNextPage()) { 11726 break 11727 } 11728 } 11729 11730 return p.Err() 11731 } 11732 11733 const opListJobs = "ListJobs" 11734 11735 // ListJobsRequest generates a "aws/request.Request" representing the 11736 // client's request for the ListJobs operation. The "output" return 11737 // value will be populated with the request's response once the request completes 11738 // successfully. 11739 // 11740 // Use "Send" method on the returned Request to send the API call to the service. 11741 // the "output" return value is not valid until after Send returns without error. 11742 // 11743 // See ListJobs for more information on using the ListJobs 11744 // API call, and error handling. 11745 // 11746 // This method is useful when you want to inject custom logic or configuration 11747 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11748 // 11749 // 11750 // // Example sending a request using the ListJobsRequest method. 11751 // req, resp := client.ListJobsRequest(params) 11752 // 11753 // err := req.Send() 11754 // if err == nil { // resp is now filled 11755 // fmt.Println(resp) 11756 // } 11757 // 11758 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs 11759 func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { 11760 op := &request.Operation{ 11761 Name: opListJobs, 11762 HTTPMethod: "POST", 11763 HTTPPath: "/", 11764 Paginator: &request.Paginator{ 11765 InputTokens: []string{"NextToken"}, 11766 OutputTokens: []string{"NextToken"}, 11767 LimitToken: "MaxResults", 11768 TruncationToken: "", 11769 }, 11770 } 11771 11772 if input == nil { 11773 input = &ListJobsInput{} 11774 } 11775 11776 output = &ListJobsOutput{} 11777 req = c.newRequest(op, input, output) 11778 return 11779 } 11780 11781 // ListJobs API operation for AWS Glue. 11782 // 11783 // Retrieves the names of all job resources in this Amazon Web Services account, 11784 // or the resources with the specified tag. This operation allows you to see 11785 // which resources are available in your account, and their names. 11786 // 11787 // This operation takes the optional Tags field, which you can use as a filter 11788 // on the response so that tagged resources can be retrieved as a group. If 11789 // you choose to use tags filtering, only resources with the tag are retrieved. 11790 // 11791 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11792 // with awserr.Error's Code and Message methods to get detailed information about 11793 // the error. 11794 // 11795 // See the AWS API reference guide for AWS Glue's 11796 // API operation ListJobs for usage and error information. 11797 // 11798 // Returned Error Types: 11799 // * InvalidInputException 11800 // The input provided was not valid. 11801 // 11802 // * EntityNotFoundException 11803 // A specified entity does not exist 11804 // 11805 // * InternalServiceException 11806 // An internal service error occurred. 11807 // 11808 // * OperationTimeoutException 11809 // The operation timed out. 11810 // 11811 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs 11812 func (c *Glue) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { 11813 req, out := c.ListJobsRequest(input) 11814 return out, req.Send() 11815 } 11816 11817 // ListJobsWithContext is the same as ListJobs with the addition of 11818 // the ability to pass a context and additional request options. 11819 // 11820 // See ListJobs for details on how to use this API operation. 11821 // 11822 // The context must be non-nil and will be used for request cancellation. If 11823 // the context is nil a panic will occur. In the future the SDK may create 11824 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11825 // for more information on using Contexts. 11826 func (c *Glue) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) { 11827 req, out := c.ListJobsRequest(input) 11828 req.SetContext(ctx) 11829 req.ApplyOptions(opts...) 11830 return out, req.Send() 11831 } 11832 11833 // ListJobsPages iterates over the pages of a ListJobs operation, 11834 // calling the "fn" function with the response data for each page. To stop 11835 // iterating, return false from the fn function. 11836 // 11837 // See ListJobs method for more information on how to use this operation. 11838 // 11839 // Note: This operation can generate multiple requests to a service. 11840 // 11841 // // Example iterating over at most 3 pages of a ListJobs operation. 11842 // pageNum := 0 11843 // err := client.ListJobsPages(params, 11844 // func(page *glue.ListJobsOutput, lastPage bool) bool { 11845 // pageNum++ 11846 // fmt.Println(page) 11847 // return pageNum <= 3 11848 // }) 11849 // 11850 func (c *Glue) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { 11851 return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) 11852 } 11853 11854 // ListJobsPagesWithContext same as ListJobsPages except 11855 // it takes a Context and allows setting request options on the pages. 11856 // 11857 // The context must be non-nil and will be used for request cancellation. If 11858 // the context is nil a panic will occur. In the future the SDK may create 11859 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11860 // for more information on using Contexts. 11861 func (c *Glue) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error { 11862 p := request.Pagination{ 11863 NewRequest: func() (*request.Request, error) { 11864 var inCpy *ListJobsInput 11865 if input != nil { 11866 tmp := *input 11867 inCpy = &tmp 11868 } 11869 req, _ := c.ListJobsRequest(inCpy) 11870 req.SetContext(ctx) 11871 req.ApplyOptions(opts...) 11872 return req, nil 11873 }, 11874 } 11875 11876 for p.Next() { 11877 if !fn(p.Page().(*ListJobsOutput), !p.HasNextPage()) { 11878 break 11879 } 11880 } 11881 11882 return p.Err() 11883 } 11884 11885 const opListMLTransforms = "ListMLTransforms" 11886 11887 // ListMLTransformsRequest generates a "aws/request.Request" representing the 11888 // client's request for the ListMLTransforms operation. The "output" return 11889 // value will be populated with the request's response once the request completes 11890 // successfully. 11891 // 11892 // Use "Send" method on the returned Request to send the API call to the service. 11893 // the "output" return value is not valid until after Send returns without error. 11894 // 11895 // See ListMLTransforms for more information on using the ListMLTransforms 11896 // API call, and error handling. 11897 // 11898 // This method is useful when you want to inject custom logic or configuration 11899 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11900 // 11901 // 11902 // // Example sending a request using the ListMLTransformsRequest method. 11903 // req, resp := client.ListMLTransformsRequest(params) 11904 // 11905 // err := req.Send() 11906 // if err == nil { // resp is now filled 11907 // fmt.Println(resp) 11908 // } 11909 // 11910 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms 11911 func (c *Glue) ListMLTransformsRequest(input *ListMLTransformsInput) (req *request.Request, output *ListMLTransformsOutput) { 11912 op := &request.Operation{ 11913 Name: opListMLTransforms, 11914 HTTPMethod: "POST", 11915 HTTPPath: "/", 11916 Paginator: &request.Paginator{ 11917 InputTokens: []string{"NextToken"}, 11918 OutputTokens: []string{"NextToken"}, 11919 LimitToken: "MaxResults", 11920 TruncationToken: "", 11921 }, 11922 } 11923 11924 if input == nil { 11925 input = &ListMLTransformsInput{} 11926 } 11927 11928 output = &ListMLTransformsOutput{} 11929 req = c.newRequest(op, input, output) 11930 return 11931 } 11932 11933 // ListMLTransforms API operation for AWS Glue. 11934 // 11935 // Retrieves a sortable, filterable list of existing Glue machine learning transforms 11936 // in this Amazon Web Services account, or the resources with the specified 11937 // tag. This operation takes the optional Tags field, which you can use as a 11938 // filter of the responses so that tagged resources can be retrieved as a group. 11939 // If you choose to use tag filtering, only resources with the tags are retrieved. 11940 // 11941 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11942 // with awserr.Error's Code and Message methods to get detailed information about 11943 // the error. 11944 // 11945 // See the AWS API reference guide for AWS Glue's 11946 // API operation ListMLTransforms for usage and error information. 11947 // 11948 // Returned Error Types: 11949 // * EntityNotFoundException 11950 // A specified entity does not exist 11951 // 11952 // * InvalidInputException 11953 // The input provided was not valid. 11954 // 11955 // * OperationTimeoutException 11956 // The operation timed out. 11957 // 11958 // * InternalServiceException 11959 // An internal service error occurred. 11960 // 11961 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms 11962 func (c *Glue) ListMLTransforms(input *ListMLTransformsInput) (*ListMLTransformsOutput, error) { 11963 req, out := c.ListMLTransformsRequest(input) 11964 return out, req.Send() 11965 } 11966 11967 // ListMLTransformsWithContext is the same as ListMLTransforms with the addition of 11968 // the ability to pass a context and additional request options. 11969 // 11970 // See ListMLTransforms for details on how to use this API operation. 11971 // 11972 // The context must be non-nil and will be used for request cancellation. If 11973 // the context is nil a panic will occur. In the future the SDK may create 11974 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11975 // for more information on using Contexts. 11976 func (c *Glue) ListMLTransformsWithContext(ctx aws.Context, input *ListMLTransformsInput, opts ...request.Option) (*ListMLTransformsOutput, error) { 11977 req, out := c.ListMLTransformsRequest(input) 11978 req.SetContext(ctx) 11979 req.ApplyOptions(opts...) 11980 return out, req.Send() 11981 } 11982 11983 // ListMLTransformsPages iterates over the pages of a ListMLTransforms operation, 11984 // calling the "fn" function with the response data for each page. To stop 11985 // iterating, return false from the fn function. 11986 // 11987 // See ListMLTransforms method for more information on how to use this operation. 11988 // 11989 // Note: This operation can generate multiple requests to a service. 11990 // 11991 // // Example iterating over at most 3 pages of a ListMLTransforms operation. 11992 // pageNum := 0 11993 // err := client.ListMLTransformsPages(params, 11994 // func(page *glue.ListMLTransformsOutput, lastPage bool) bool { 11995 // pageNum++ 11996 // fmt.Println(page) 11997 // return pageNum <= 3 11998 // }) 11999 // 12000 func (c *Glue) ListMLTransformsPages(input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool) error { 12001 return c.ListMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn) 12002 } 12003 12004 // ListMLTransformsPagesWithContext same as ListMLTransformsPages except 12005 // it takes a Context and allows setting request options on the pages. 12006 // 12007 // The context must be non-nil and will be used for request cancellation. If 12008 // the context is nil a panic will occur. In the future the SDK may create 12009 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12010 // for more information on using Contexts. 12011 func (c *Glue) ListMLTransformsPagesWithContext(ctx aws.Context, input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool, opts ...request.Option) error { 12012 p := request.Pagination{ 12013 NewRequest: func() (*request.Request, error) { 12014 var inCpy *ListMLTransformsInput 12015 if input != nil { 12016 tmp := *input 12017 inCpy = &tmp 12018 } 12019 req, _ := c.ListMLTransformsRequest(inCpy) 12020 req.SetContext(ctx) 12021 req.ApplyOptions(opts...) 12022 return req, nil 12023 }, 12024 } 12025 12026 for p.Next() { 12027 if !fn(p.Page().(*ListMLTransformsOutput), !p.HasNextPage()) { 12028 break 12029 } 12030 } 12031 12032 return p.Err() 12033 } 12034 12035 const opListRegistries = "ListRegistries" 12036 12037 // ListRegistriesRequest generates a "aws/request.Request" representing the 12038 // client's request for the ListRegistries operation. The "output" return 12039 // value will be populated with the request's response once the request completes 12040 // successfully. 12041 // 12042 // Use "Send" method on the returned Request to send the API call to the service. 12043 // the "output" return value is not valid until after Send returns without error. 12044 // 12045 // See ListRegistries for more information on using the ListRegistries 12046 // API call, and error handling. 12047 // 12048 // This method is useful when you want to inject custom logic or configuration 12049 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12050 // 12051 // 12052 // // Example sending a request using the ListRegistriesRequest method. 12053 // req, resp := client.ListRegistriesRequest(params) 12054 // 12055 // err := req.Send() 12056 // if err == nil { // resp is now filled 12057 // fmt.Println(resp) 12058 // } 12059 // 12060 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries 12061 func (c *Glue) ListRegistriesRequest(input *ListRegistriesInput) (req *request.Request, output *ListRegistriesOutput) { 12062 op := &request.Operation{ 12063 Name: opListRegistries, 12064 HTTPMethod: "POST", 12065 HTTPPath: "/", 12066 Paginator: &request.Paginator{ 12067 InputTokens: []string{"NextToken"}, 12068 OutputTokens: []string{"NextToken"}, 12069 LimitToken: "MaxResults", 12070 TruncationToken: "", 12071 }, 12072 } 12073 12074 if input == nil { 12075 input = &ListRegistriesInput{} 12076 } 12077 12078 output = &ListRegistriesOutput{} 12079 req = c.newRequest(op, input, output) 12080 return 12081 } 12082 12083 // ListRegistries API operation for AWS Glue. 12084 // 12085 // Returns a list of registries that you have created, with minimal registry 12086 // information. Registries in the Deleting status will not be included in the 12087 // results. Empty results will be returned if there are no registries available. 12088 // 12089 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12090 // with awserr.Error's Code and Message methods to get detailed information about 12091 // the error. 12092 // 12093 // See the AWS API reference guide for AWS Glue's 12094 // API operation ListRegistries for usage and error information. 12095 // 12096 // Returned Error Types: 12097 // * InvalidInputException 12098 // The input provided was not valid. 12099 // 12100 // * AccessDeniedException 12101 // Access to a resource was denied. 12102 // 12103 // * InternalServiceException 12104 // An internal service error occurred. 12105 // 12106 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries 12107 func (c *Glue) ListRegistries(input *ListRegistriesInput) (*ListRegistriesOutput, error) { 12108 req, out := c.ListRegistriesRequest(input) 12109 return out, req.Send() 12110 } 12111 12112 // ListRegistriesWithContext is the same as ListRegistries with the addition of 12113 // the ability to pass a context and additional request options. 12114 // 12115 // See ListRegistries for details on how to use this API operation. 12116 // 12117 // The context must be non-nil and will be used for request cancellation. If 12118 // the context is nil a panic will occur. In the future the SDK may create 12119 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12120 // for more information on using Contexts. 12121 func (c *Glue) ListRegistriesWithContext(ctx aws.Context, input *ListRegistriesInput, opts ...request.Option) (*ListRegistriesOutput, error) { 12122 req, out := c.ListRegistriesRequest(input) 12123 req.SetContext(ctx) 12124 req.ApplyOptions(opts...) 12125 return out, req.Send() 12126 } 12127 12128 // ListRegistriesPages iterates over the pages of a ListRegistries operation, 12129 // calling the "fn" function with the response data for each page. To stop 12130 // iterating, return false from the fn function. 12131 // 12132 // See ListRegistries method for more information on how to use this operation. 12133 // 12134 // Note: This operation can generate multiple requests to a service. 12135 // 12136 // // Example iterating over at most 3 pages of a ListRegistries operation. 12137 // pageNum := 0 12138 // err := client.ListRegistriesPages(params, 12139 // func(page *glue.ListRegistriesOutput, lastPage bool) bool { 12140 // pageNum++ 12141 // fmt.Println(page) 12142 // return pageNum <= 3 12143 // }) 12144 // 12145 func (c *Glue) ListRegistriesPages(input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool) error { 12146 return c.ListRegistriesPagesWithContext(aws.BackgroundContext(), input, fn) 12147 } 12148 12149 // ListRegistriesPagesWithContext same as ListRegistriesPages except 12150 // it takes a Context and allows setting request options on the pages. 12151 // 12152 // The context must be non-nil and will be used for request cancellation. If 12153 // the context is nil a panic will occur. In the future the SDK may create 12154 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12155 // for more information on using Contexts. 12156 func (c *Glue) ListRegistriesPagesWithContext(ctx aws.Context, input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool, opts ...request.Option) error { 12157 p := request.Pagination{ 12158 NewRequest: func() (*request.Request, error) { 12159 var inCpy *ListRegistriesInput 12160 if input != nil { 12161 tmp := *input 12162 inCpy = &tmp 12163 } 12164 req, _ := c.ListRegistriesRequest(inCpy) 12165 req.SetContext(ctx) 12166 req.ApplyOptions(opts...) 12167 return req, nil 12168 }, 12169 } 12170 12171 for p.Next() { 12172 if !fn(p.Page().(*ListRegistriesOutput), !p.HasNextPage()) { 12173 break 12174 } 12175 } 12176 12177 return p.Err() 12178 } 12179 12180 const opListSchemaVersions = "ListSchemaVersions" 12181 12182 // ListSchemaVersionsRequest generates a "aws/request.Request" representing the 12183 // client's request for the ListSchemaVersions operation. The "output" return 12184 // value will be populated with the request's response once the request completes 12185 // successfully. 12186 // 12187 // Use "Send" method on the returned Request to send the API call to the service. 12188 // the "output" return value is not valid until after Send returns without error. 12189 // 12190 // See ListSchemaVersions for more information on using the ListSchemaVersions 12191 // API call, and error handling. 12192 // 12193 // This method is useful when you want to inject custom logic or configuration 12194 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12195 // 12196 // 12197 // // Example sending a request using the ListSchemaVersionsRequest method. 12198 // req, resp := client.ListSchemaVersionsRequest(params) 12199 // 12200 // err := req.Send() 12201 // if err == nil { // resp is now filled 12202 // fmt.Println(resp) 12203 // } 12204 // 12205 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions 12206 func (c *Glue) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *request.Request, output *ListSchemaVersionsOutput) { 12207 op := &request.Operation{ 12208 Name: opListSchemaVersions, 12209 HTTPMethod: "POST", 12210 HTTPPath: "/", 12211 Paginator: &request.Paginator{ 12212 InputTokens: []string{"NextToken"}, 12213 OutputTokens: []string{"NextToken"}, 12214 LimitToken: "MaxResults", 12215 TruncationToken: "", 12216 }, 12217 } 12218 12219 if input == nil { 12220 input = &ListSchemaVersionsInput{} 12221 } 12222 12223 output = &ListSchemaVersionsOutput{} 12224 req = c.newRequest(op, input, output) 12225 return 12226 } 12227 12228 // ListSchemaVersions API operation for AWS Glue. 12229 // 12230 // Returns a list of schema versions that you have created, with minimal information. 12231 // Schema versions in Deleted status will not be included in the results. Empty 12232 // results will be returned if there are no schema versions available. 12233 // 12234 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12235 // with awserr.Error's Code and Message methods to get detailed information about 12236 // the error. 12237 // 12238 // See the AWS API reference guide for AWS Glue's 12239 // API operation ListSchemaVersions for usage and error information. 12240 // 12241 // Returned Error Types: 12242 // * InvalidInputException 12243 // The input provided was not valid. 12244 // 12245 // * AccessDeniedException 12246 // Access to a resource was denied. 12247 // 12248 // * EntityNotFoundException 12249 // A specified entity does not exist 12250 // 12251 // * InternalServiceException 12252 // An internal service error occurred. 12253 // 12254 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions 12255 func (c *Glue) ListSchemaVersions(input *ListSchemaVersionsInput) (*ListSchemaVersionsOutput, error) { 12256 req, out := c.ListSchemaVersionsRequest(input) 12257 return out, req.Send() 12258 } 12259 12260 // ListSchemaVersionsWithContext is the same as ListSchemaVersions with the addition of 12261 // the ability to pass a context and additional request options. 12262 // 12263 // See ListSchemaVersions for details on how to use this API operation. 12264 // 12265 // The context must be non-nil and will be used for request cancellation. If 12266 // the context is nil a panic will occur. In the future the SDK may create 12267 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12268 // for more information on using Contexts. 12269 func (c *Glue) ListSchemaVersionsWithContext(ctx aws.Context, input *ListSchemaVersionsInput, opts ...request.Option) (*ListSchemaVersionsOutput, error) { 12270 req, out := c.ListSchemaVersionsRequest(input) 12271 req.SetContext(ctx) 12272 req.ApplyOptions(opts...) 12273 return out, req.Send() 12274 } 12275 12276 // ListSchemaVersionsPages iterates over the pages of a ListSchemaVersions operation, 12277 // calling the "fn" function with the response data for each page. To stop 12278 // iterating, return false from the fn function. 12279 // 12280 // See ListSchemaVersions method for more information on how to use this operation. 12281 // 12282 // Note: This operation can generate multiple requests to a service. 12283 // 12284 // // Example iterating over at most 3 pages of a ListSchemaVersions operation. 12285 // pageNum := 0 12286 // err := client.ListSchemaVersionsPages(params, 12287 // func(page *glue.ListSchemaVersionsOutput, lastPage bool) bool { 12288 // pageNum++ 12289 // fmt.Println(page) 12290 // return pageNum <= 3 12291 // }) 12292 // 12293 func (c *Glue) ListSchemaVersionsPages(input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool) error { 12294 return c.ListSchemaVersionsPagesWithContext(aws.BackgroundContext(), input, fn) 12295 } 12296 12297 // ListSchemaVersionsPagesWithContext same as ListSchemaVersionsPages except 12298 // it takes a Context and allows setting request options on the pages. 12299 // 12300 // The context must be non-nil and will be used for request cancellation. If 12301 // the context is nil a panic will occur. In the future the SDK may create 12302 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12303 // for more information on using Contexts. 12304 func (c *Glue) ListSchemaVersionsPagesWithContext(ctx aws.Context, input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool, opts ...request.Option) error { 12305 p := request.Pagination{ 12306 NewRequest: func() (*request.Request, error) { 12307 var inCpy *ListSchemaVersionsInput 12308 if input != nil { 12309 tmp := *input 12310 inCpy = &tmp 12311 } 12312 req, _ := c.ListSchemaVersionsRequest(inCpy) 12313 req.SetContext(ctx) 12314 req.ApplyOptions(opts...) 12315 return req, nil 12316 }, 12317 } 12318 12319 for p.Next() { 12320 if !fn(p.Page().(*ListSchemaVersionsOutput), !p.HasNextPage()) { 12321 break 12322 } 12323 } 12324 12325 return p.Err() 12326 } 12327 12328 const opListSchemas = "ListSchemas" 12329 12330 // ListSchemasRequest generates a "aws/request.Request" representing the 12331 // client's request for the ListSchemas operation. The "output" return 12332 // value will be populated with the request's response once the request completes 12333 // successfully. 12334 // 12335 // Use "Send" method on the returned Request to send the API call to the service. 12336 // the "output" return value is not valid until after Send returns without error. 12337 // 12338 // See ListSchemas for more information on using the ListSchemas 12339 // API call, and error handling. 12340 // 12341 // This method is useful when you want to inject custom logic or configuration 12342 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12343 // 12344 // 12345 // // Example sending a request using the ListSchemasRequest method. 12346 // req, resp := client.ListSchemasRequest(params) 12347 // 12348 // err := req.Send() 12349 // if err == nil { // resp is now filled 12350 // fmt.Println(resp) 12351 // } 12352 // 12353 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas 12354 func (c *Glue) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { 12355 op := &request.Operation{ 12356 Name: opListSchemas, 12357 HTTPMethod: "POST", 12358 HTTPPath: "/", 12359 Paginator: &request.Paginator{ 12360 InputTokens: []string{"NextToken"}, 12361 OutputTokens: []string{"NextToken"}, 12362 LimitToken: "MaxResults", 12363 TruncationToken: "", 12364 }, 12365 } 12366 12367 if input == nil { 12368 input = &ListSchemasInput{} 12369 } 12370 12371 output = &ListSchemasOutput{} 12372 req = c.newRequest(op, input, output) 12373 return 12374 } 12375 12376 // ListSchemas API operation for AWS Glue. 12377 // 12378 // Returns a list of schemas with minimal details. Schemas in Deleting status 12379 // will not be included in the results. Empty results will be returned if there 12380 // are no schemas available. 12381 // 12382 // When the RegistryId is not provided, all the schemas across registries will 12383 // be part of the API response. 12384 // 12385 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12386 // with awserr.Error's Code and Message methods to get detailed information about 12387 // the error. 12388 // 12389 // See the AWS API reference guide for AWS Glue's 12390 // API operation ListSchemas for usage and error information. 12391 // 12392 // Returned Error Types: 12393 // * InvalidInputException 12394 // The input provided was not valid. 12395 // 12396 // * AccessDeniedException 12397 // Access to a resource was denied. 12398 // 12399 // * EntityNotFoundException 12400 // A specified entity does not exist 12401 // 12402 // * InternalServiceException 12403 // An internal service error occurred. 12404 // 12405 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas 12406 func (c *Glue) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { 12407 req, out := c.ListSchemasRequest(input) 12408 return out, req.Send() 12409 } 12410 12411 // ListSchemasWithContext is the same as ListSchemas with the addition of 12412 // the ability to pass a context and additional request options. 12413 // 12414 // See ListSchemas for details on how to use this API operation. 12415 // 12416 // The context must be non-nil and will be used for request cancellation. If 12417 // the context is nil a panic will occur. In the future the SDK may create 12418 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12419 // for more information on using Contexts. 12420 func (c *Glue) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, opts ...request.Option) (*ListSchemasOutput, error) { 12421 req, out := c.ListSchemasRequest(input) 12422 req.SetContext(ctx) 12423 req.ApplyOptions(opts...) 12424 return out, req.Send() 12425 } 12426 12427 // ListSchemasPages iterates over the pages of a ListSchemas operation, 12428 // calling the "fn" function with the response data for each page. To stop 12429 // iterating, return false from the fn function. 12430 // 12431 // See ListSchemas method for more information on how to use this operation. 12432 // 12433 // Note: This operation can generate multiple requests to a service. 12434 // 12435 // // Example iterating over at most 3 pages of a ListSchemas operation. 12436 // pageNum := 0 12437 // err := client.ListSchemasPages(params, 12438 // func(page *glue.ListSchemasOutput, lastPage bool) bool { 12439 // pageNum++ 12440 // fmt.Println(page) 12441 // return pageNum <= 3 12442 // }) 12443 // 12444 func (c *Glue) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { 12445 return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) 12446 } 12447 12448 // ListSchemasPagesWithContext same as ListSchemasPages except 12449 // it takes a Context and allows setting request options on the pages. 12450 // 12451 // The context must be non-nil and will be used for request cancellation. If 12452 // the context is nil a panic will occur. In the future the SDK may create 12453 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12454 // for more information on using Contexts. 12455 func (c *Glue) ListSchemasPagesWithContext(ctx aws.Context, input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool, opts ...request.Option) error { 12456 p := request.Pagination{ 12457 NewRequest: func() (*request.Request, error) { 12458 var inCpy *ListSchemasInput 12459 if input != nil { 12460 tmp := *input 12461 inCpy = &tmp 12462 } 12463 req, _ := c.ListSchemasRequest(inCpy) 12464 req.SetContext(ctx) 12465 req.ApplyOptions(opts...) 12466 return req, nil 12467 }, 12468 } 12469 12470 for p.Next() { 12471 if !fn(p.Page().(*ListSchemasOutput), !p.HasNextPage()) { 12472 break 12473 } 12474 } 12475 12476 return p.Err() 12477 } 12478 12479 const opListTriggers = "ListTriggers" 12480 12481 // ListTriggersRequest generates a "aws/request.Request" representing the 12482 // client's request for the ListTriggers operation. The "output" return 12483 // value will be populated with the request's response once the request completes 12484 // successfully. 12485 // 12486 // Use "Send" method on the returned Request to send the API call to the service. 12487 // the "output" return value is not valid until after Send returns without error. 12488 // 12489 // See ListTriggers for more information on using the ListTriggers 12490 // API call, and error handling. 12491 // 12492 // This method is useful when you want to inject custom logic or configuration 12493 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12494 // 12495 // 12496 // // Example sending a request using the ListTriggersRequest method. 12497 // req, resp := client.ListTriggersRequest(params) 12498 // 12499 // err := req.Send() 12500 // if err == nil { // resp is now filled 12501 // fmt.Println(resp) 12502 // } 12503 // 12504 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers 12505 func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) { 12506 op := &request.Operation{ 12507 Name: opListTriggers, 12508 HTTPMethod: "POST", 12509 HTTPPath: "/", 12510 Paginator: &request.Paginator{ 12511 InputTokens: []string{"NextToken"}, 12512 OutputTokens: []string{"NextToken"}, 12513 LimitToken: "MaxResults", 12514 TruncationToken: "", 12515 }, 12516 } 12517 12518 if input == nil { 12519 input = &ListTriggersInput{} 12520 } 12521 12522 output = &ListTriggersOutput{} 12523 req = c.newRequest(op, input, output) 12524 return 12525 } 12526 12527 // ListTriggers API operation for AWS Glue. 12528 // 12529 // Retrieves the names of all trigger resources in this Amazon Web Services 12530 // account, or the resources with the specified tag. This operation allows you 12531 // to see which resources are available in your account, and their names. 12532 // 12533 // This operation takes the optional Tags field, which you can use as a filter 12534 // on the response so that tagged resources can be retrieved as a group. If 12535 // you choose to use tags filtering, only resources with the tag are retrieved. 12536 // 12537 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12538 // with awserr.Error's Code and Message methods to get detailed information about 12539 // the error. 12540 // 12541 // See the AWS API reference guide for AWS Glue's 12542 // API operation ListTriggers for usage and error information. 12543 // 12544 // Returned Error Types: 12545 // * EntityNotFoundException 12546 // A specified entity does not exist 12547 // 12548 // * InvalidInputException 12549 // The input provided was not valid. 12550 // 12551 // * InternalServiceException 12552 // An internal service error occurred. 12553 // 12554 // * OperationTimeoutException 12555 // The operation timed out. 12556 // 12557 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers 12558 func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) { 12559 req, out := c.ListTriggersRequest(input) 12560 return out, req.Send() 12561 } 12562 12563 // ListTriggersWithContext is the same as ListTriggers with the addition of 12564 // the ability to pass a context and additional request options. 12565 // 12566 // See ListTriggers for details on how to use this API operation. 12567 // 12568 // The context must be non-nil and will be used for request cancellation. If 12569 // the context is nil a panic will occur. In the future the SDK may create 12570 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12571 // for more information on using Contexts. 12572 func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput, opts ...request.Option) (*ListTriggersOutput, error) { 12573 req, out := c.ListTriggersRequest(input) 12574 req.SetContext(ctx) 12575 req.ApplyOptions(opts...) 12576 return out, req.Send() 12577 } 12578 12579 // ListTriggersPages iterates over the pages of a ListTriggers operation, 12580 // calling the "fn" function with the response data for each page. To stop 12581 // iterating, return false from the fn function. 12582 // 12583 // See ListTriggers method for more information on how to use this operation. 12584 // 12585 // Note: This operation can generate multiple requests to a service. 12586 // 12587 // // Example iterating over at most 3 pages of a ListTriggers operation. 12588 // pageNum := 0 12589 // err := client.ListTriggersPages(params, 12590 // func(page *glue.ListTriggersOutput, lastPage bool) bool { 12591 // pageNum++ 12592 // fmt.Println(page) 12593 // return pageNum <= 3 12594 // }) 12595 // 12596 func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error { 12597 return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn) 12598 } 12599 12600 // ListTriggersPagesWithContext same as ListTriggersPages except 12601 // it takes a Context and allows setting request options on the pages. 12602 // 12603 // The context must be non-nil and will be used for request cancellation. If 12604 // the context is nil a panic will occur. In the future the SDK may create 12605 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12606 // for more information on using Contexts. 12607 func (c *Glue) ListTriggersPagesWithContext(ctx aws.Context, input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool, opts ...request.Option) error { 12608 p := request.Pagination{ 12609 NewRequest: func() (*request.Request, error) { 12610 var inCpy *ListTriggersInput 12611 if input != nil { 12612 tmp := *input 12613 inCpy = &tmp 12614 } 12615 req, _ := c.ListTriggersRequest(inCpy) 12616 req.SetContext(ctx) 12617 req.ApplyOptions(opts...) 12618 return req, nil 12619 }, 12620 } 12621 12622 for p.Next() { 12623 if !fn(p.Page().(*ListTriggersOutput), !p.HasNextPage()) { 12624 break 12625 } 12626 } 12627 12628 return p.Err() 12629 } 12630 12631 const opListWorkflows = "ListWorkflows" 12632 12633 // ListWorkflowsRequest generates a "aws/request.Request" representing the 12634 // client's request for the ListWorkflows operation. The "output" return 12635 // value will be populated with the request's response once the request completes 12636 // successfully. 12637 // 12638 // Use "Send" method on the returned Request to send the API call to the service. 12639 // the "output" return value is not valid until after Send returns without error. 12640 // 12641 // See ListWorkflows for more information on using the ListWorkflows 12642 // API call, and error handling. 12643 // 12644 // This method is useful when you want to inject custom logic or configuration 12645 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12646 // 12647 // 12648 // // Example sending a request using the ListWorkflowsRequest method. 12649 // req, resp := client.ListWorkflowsRequest(params) 12650 // 12651 // err := req.Send() 12652 // if err == nil { // resp is now filled 12653 // fmt.Println(resp) 12654 // } 12655 // 12656 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows 12657 func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) { 12658 op := &request.Operation{ 12659 Name: opListWorkflows, 12660 HTTPMethod: "POST", 12661 HTTPPath: "/", 12662 Paginator: &request.Paginator{ 12663 InputTokens: []string{"NextToken"}, 12664 OutputTokens: []string{"NextToken"}, 12665 LimitToken: "MaxResults", 12666 TruncationToken: "", 12667 }, 12668 } 12669 12670 if input == nil { 12671 input = &ListWorkflowsInput{} 12672 } 12673 12674 output = &ListWorkflowsOutput{} 12675 req = c.newRequest(op, input, output) 12676 return 12677 } 12678 12679 // ListWorkflows API operation for AWS Glue. 12680 // 12681 // Lists names of workflows created in the account. 12682 // 12683 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12684 // with awserr.Error's Code and Message methods to get detailed information about 12685 // the error. 12686 // 12687 // See the AWS API reference guide for AWS Glue's 12688 // API operation ListWorkflows for usage and error information. 12689 // 12690 // Returned Error Types: 12691 // * InvalidInputException 12692 // The input provided was not valid. 12693 // 12694 // * InternalServiceException 12695 // An internal service error occurred. 12696 // 12697 // * OperationTimeoutException 12698 // The operation timed out. 12699 // 12700 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows 12701 func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { 12702 req, out := c.ListWorkflowsRequest(input) 12703 return out, req.Send() 12704 } 12705 12706 // ListWorkflowsWithContext is the same as ListWorkflows with the addition of 12707 // the ability to pass a context and additional request options. 12708 // 12709 // See ListWorkflows for details on how to use this API operation. 12710 // 12711 // The context must be non-nil and will be used for request cancellation. If 12712 // the context is nil a panic will occur. In the future the SDK may create 12713 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12714 // for more information on using Contexts. 12715 func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) { 12716 req, out := c.ListWorkflowsRequest(input) 12717 req.SetContext(ctx) 12718 req.ApplyOptions(opts...) 12719 return out, req.Send() 12720 } 12721 12722 // ListWorkflowsPages iterates over the pages of a ListWorkflows operation, 12723 // calling the "fn" function with the response data for each page. To stop 12724 // iterating, return false from the fn function. 12725 // 12726 // See ListWorkflows method for more information on how to use this operation. 12727 // 12728 // Note: This operation can generate multiple requests to a service. 12729 // 12730 // // Example iterating over at most 3 pages of a ListWorkflows operation. 12731 // pageNum := 0 12732 // err := client.ListWorkflowsPages(params, 12733 // func(page *glue.ListWorkflowsOutput, lastPage bool) bool { 12734 // pageNum++ 12735 // fmt.Println(page) 12736 // return pageNum <= 3 12737 // }) 12738 // 12739 func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error { 12740 return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) 12741 } 12742 12743 // ListWorkflowsPagesWithContext same as ListWorkflowsPages except 12744 // it takes a Context and allows setting request options on the pages. 12745 // 12746 // The context must be non-nil and will be used for request cancellation. If 12747 // the context is nil a panic will occur. In the future the SDK may create 12748 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12749 // for more information on using Contexts. 12750 func (c *Glue) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error { 12751 p := request.Pagination{ 12752 NewRequest: func() (*request.Request, error) { 12753 var inCpy *ListWorkflowsInput 12754 if input != nil { 12755 tmp := *input 12756 inCpy = &tmp 12757 } 12758 req, _ := c.ListWorkflowsRequest(inCpy) 12759 req.SetContext(ctx) 12760 req.ApplyOptions(opts...) 12761 return req, nil 12762 }, 12763 } 12764 12765 for p.Next() { 12766 if !fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage()) { 12767 break 12768 } 12769 } 12770 12771 return p.Err() 12772 } 12773 12774 const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings" 12775 12776 // PutDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the 12777 // client's request for the PutDataCatalogEncryptionSettings operation. The "output" return 12778 // value will be populated with the request's response once the request completes 12779 // successfully. 12780 // 12781 // Use "Send" method on the returned Request to send the API call to the service. 12782 // the "output" return value is not valid until after Send returns without error. 12783 // 12784 // See PutDataCatalogEncryptionSettings for more information on using the PutDataCatalogEncryptionSettings 12785 // API call, and error handling. 12786 // 12787 // This method is useful when you want to inject custom logic or configuration 12788 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12789 // 12790 // 12791 // // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method. 12792 // req, resp := client.PutDataCatalogEncryptionSettingsRequest(params) 12793 // 12794 // err := req.Send() 12795 // if err == nil { // resp is now filled 12796 // fmt.Println(resp) 12797 // } 12798 // 12799 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings 12800 func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) { 12801 op := &request.Operation{ 12802 Name: opPutDataCatalogEncryptionSettings, 12803 HTTPMethod: "POST", 12804 HTTPPath: "/", 12805 } 12806 12807 if input == nil { 12808 input = &PutDataCatalogEncryptionSettingsInput{} 12809 } 12810 12811 output = &PutDataCatalogEncryptionSettingsOutput{} 12812 req = c.newRequest(op, input, output) 12813 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 12814 return 12815 } 12816 12817 // PutDataCatalogEncryptionSettings API operation for AWS Glue. 12818 // 12819 // Sets the security configuration for a specified catalog. After the configuration 12820 // has been set, the specified encryption is applied to every catalog write 12821 // thereafter. 12822 // 12823 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12824 // with awserr.Error's Code and Message methods to get detailed information about 12825 // the error. 12826 // 12827 // See the AWS API reference guide for AWS Glue's 12828 // API operation PutDataCatalogEncryptionSettings for usage and error information. 12829 // 12830 // Returned Error Types: 12831 // * InternalServiceException 12832 // An internal service error occurred. 12833 // 12834 // * InvalidInputException 12835 // The input provided was not valid. 12836 // 12837 // * OperationTimeoutException 12838 // The operation timed out. 12839 // 12840 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings 12841 func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) { 12842 req, out := c.PutDataCatalogEncryptionSettingsRequest(input) 12843 return out, req.Send() 12844 } 12845 12846 // PutDataCatalogEncryptionSettingsWithContext is the same as PutDataCatalogEncryptionSettings with the addition of 12847 // the ability to pass a context and additional request options. 12848 // 12849 // See PutDataCatalogEncryptionSettings for details on how to use this API operation. 12850 // 12851 // The context must be non-nil and will be used for request cancellation. If 12852 // the context is nil a panic will occur. In the future the SDK may create 12853 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12854 // for more information on using Contexts. 12855 func (c *Glue) PutDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *PutDataCatalogEncryptionSettingsInput, opts ...request.Option) (*PutDataCatalogEncryptionSettingsOutput, error) { 12856 req, out := c.PutDataCatalogEncryptionSettingsRequest(input) 12857 req.SetContext(ctx) 12858 req.ApplyOptions(opts...) 12859 return out, req.Send() 12860 } 12861 12862 const opPutResourcePolicy = "PutResourcePolicy" 12863 12864 // PutResourcePolicyRequest generates a "aws/request.Request" representing the 12865 // client's request for the PutResourcePolicy operation. The "output" return 12866 // value will be populated with the request's response once the request completes 12867 // successfully. 12868 // 12869 // Use "Send" method on the returned Request to send the API call to the service. 12870 // the "output" return value is not valid until after Send returns without error. 12871 // 12872 // See PutResourcePolicy for more information on using the PutResourcePolicy 12873 // API call, and error handling. 12874 // 12875 // This method is useful when you want to inject custom logic or configuration 12876 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12877 // 12878 // 12879 // // Example sending a request using the PutResourcePolicyRequest method. 12880 // req, resp := client.PutResourcePolicyRequest(params) 12881 // 12882 // err := req.Send() 12883 // if err == nil { // resp is now filled 12884 // fmt.Println(resp) 12885 // } 12886 // 12887 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy 12888 func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { 12889 op := &request.Operation{ 12890 Name: opPutResourcePolicy, 12891 HTTPMethod: "POST", 12892 HTTPPath: "/", 12893 } 12894 12895 if input == nil { 12896 input = &PutResourcePolicyInput{} 12897 } 12898 12899 output = &PutResourcePolicyOutput{} 12900 req = c.newRequest(op, input, output) 12901 return 12902 } 12903 12904 // PutResourcePolicy API operation for AWS Glue. 12905 // 12906 // Sets the Data Catalog resource policy for access control. 12907 // 12908 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12909 // with awserr.Error's Code and Message methods to get detailed information about 12910 // the error. 12911 // 12912 // See the AWS API reference guide for AWS Glue's 12913 // API operation PutResourcePolicy for usage and error information. 12914 // 12915 // Returned Error Types: 12916 // * EntityNotFoundException 12917 // A specified entity does not exist 12918 // 12919 // * InternalServiceException 12920 // An internal service error occurred. 12921 // 12922 // * OperationTimeoutException 12923 // The operation timed out. 12924 // 12925 // * InvalidInputException 12926 // The input provided was not valid. 12927 // 12928 // * ConditionCheckFailureException 12929 // A specified condition was not satisfied. 12930 // 12931 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy 12932 func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { 12933 req, out := c.PutResourcePolicyRequest(input) 12934 return out, req.Send() 12935 } 12936 12937 // PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of 12938 // the ability to pass a context and additional request options. 12939 // 12940 // See PutResourcePolicy for details on how to use this API operation. 12941 // 12942 // The context must be non-nil and will be used for request cancellation. If 12943 // the context is nil a panic will occur. In the future the SDK may create 12944 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12945 // for more information on using Contexts. 12946 func (c *Glue) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) { 12947 req, out := c.PutResourcePolicyRequest(input) 12948 req.SetContext(ctx) 12949 req.ApplyOptions(opts...) 12950 return out, req.Send() 12951 } 12952 12953 const opPutSchemaVersionMetadata = "PutSchemaVersionMetadata" 12954 12955 // PutSchemaVersionMetadataRequest generates a "aws/request.Request" representing the 12956 // client's request for the PutSchemaVersionMetadata operation. The "output" return 12957 // value will be populated with the request's response once the request completes 12958 // successfully. 12959 // 12960 // Use "Send" method on the returned Request to send the API call to the service. 12961 // the "output" return value is not valid until after Send returns without error. 12962 // 12963 // See PutSchemaVersionMetadata for more information on using the PutSchemaVersionMetadata 12964 // API call, and error handling. 12965 // 12966 // This method is useful when you want to inject custom logic or configuration 12967 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12968 // 12969 // 12970 // // Example sending a request using the PutSchemaVersionMetadataRequest method. 12971 // req, resp := client.PutSchemaVersionMetadataRequest(params) 12972 // 12973 // err := req.Send() 12974 // if err == nil { // resp is now filled 12975 // fmt.Println(resp) 12976 // } 12977 // 12978 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata 12979 func (c *Glue) PutSchemaVersionMetadataRequest(input *PutSchemaVersionMetadataInput) (req *request.Request, output *PutSchemaVersionMetadataOutput) { 12980 op := &request.Operation{ 12981 Name: opPutSchemaVersionMetadata, 12982 HTTPMethod: "POST", 12983 HTTPPath: "/", 12984 } 12985 12986 if input == nil { 12987 input = &PutSchemaVersionMetadataInput{} 12988 } 12989 12990 output = &PutSchemaVersionMetadataOutput{} 12991 req = c.newRequest(op, input, output) 12992 return 12993 } 12994 12995 // PutSchemaVersionMetadata API operation for AWS Glue. 12996 // 12997 // Puts the metadata key value pair for a specified schema version ID. A maximum 12998 // of 10 key value pairs will be allowed per schema version. They can be added 12999 // over one or more calls. 13000 // 13001 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13002 // with awserr.Error's Code and Message methods to get detailed information about 13003 // the error. 13004 // 13005 // See the AWS API reference guide for AWS Glue's 13006 // API operation PutSchemaVersionMetadata for usage and error information. 13007 // 13008 // Returned Error Types: 13009 // * InvalidInputException 13010 // The input provided was not valid. 13011 // 13012 // * AccessDeniedException 13013 // Access to a resource was denied. 13014 // 13015 // * AlreadyExistsException 13016 // A resource to be created or added already exists. 13017 // 13018 // * EntityNotFoundException 13019 // A specified entity does not exist 13020 // 13021 // * ResourceNumberLimitExceededException 13022 // A resource numerical limit was exceeded. 13023 // 13024 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata 13025 func (c *Glue) PutSchemaVersionMetadata(input *PutSchemaVersionMetadataInput) (*PutSchemaVersionMetadataOutput, error) { 13026 req, out := c.PutSchemaVersionMetadataRequest(input) 13027 return out, req.Send() 13028 } 13029 13030 // PutSchemaVersionMetadataWithContext is the same as PutSchemaVersionMetadata with the addition of 13031 // the ability to pass a context and additional request options. 13032 // 13033 // See PutSchemaVersionMetadata for details on how to use this API operation. 13034 // 13035 // The context must be non-nil and will be used for request cancellation. If 13036 // the context is nil a panic will occur. In the future the SDK may create 13037 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13038 // for more information on using Contexts. 13039 func (c *Glue) PutSchemaVersionMetadataWithContext(ctx aws.Context, input *PutSchemaVersionMetadataInput, opts ...request.Option) (*PutSchemaVersionMetadataOutput, error) { 13040 req, out := c.PutSchemaVersionMetadataRequest(input) 13041 req.SetContext(ctx) 13042 req.ApplyOptions(opts...) 13043 return out, req.Send() 13044 } 13045 13046 const opPutWorkflowRunProperties = "PutWorkflowRunProperties" 13047 13048 // PutWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the 13049 // client's request for the PutWorkflowRunProperties operation. The "output" return 13050 // value will be populated with the request's response once the request completes 13051 // successfully. 13052 // 13053 // Use "Send" method on the returned Request to send the API call to the service. 13054 // the "output" return value is not valid until after Send returns without error. 13055 // 13056 // See PutWorkflowRunProperties for more information on using the PutWorkflowRunProperties 13057 // API call, and error handling. 13058 // 13059 // This method is useful when you want to inject custom logic or configuration 13060 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13061 // 13062 // 13063 // // Example sending a request using the PutWorkflowRunPropertiesRequest method. 13064 // req, resp := client.PutWorkflowRunPropertiesRequest(params) 13065 // 13066 // err := req.Send() 13067 // if err == nil { // resp is now filled 13068 // fmt.Println(resp) 13069 // } 13070 // 13071 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties 13072 func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) { 13073 op := &request.Operation{ 13074 Name: opPutWorkflowRunProperties, 13075 HTTPMethod: "POST", 13076 HTTPPath: "/", 13077 } 13078 13079 if input == nil { 13080 input = &PutWorkflowRunPropertiesInput{} 13081 } 13082 13083 output = &PutWorkflowRunPropertiesOutput{} 13084 req = c.newRequest(op, input, output) 13085 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 13086 return 13087 } 13088 13089 // PutWorkflowRunProperties API operation for AWS Glue. 13090 // 13091 // Puts the specified workflow run properties for the given workflow run. If 13092 // a property already exists for the specified run, then it overrides the value 13093 // otherwise adds the property to existing properties. 13094 // 13095 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13096 // with awserr.Error's Code and Message methods to get detailed information about 13097 // the error. 13098 // 13099 // See the AWS API reference guide for AWS Glue's 13100 // API operation PutWorkflowRunProperties for usage and error information. 13101 // 13102 // Returned Error Types: 13103 // * AlreadyExistsException 13104 // A resource to be created or added already exists. 13105 // 13106 // * EntityNotFoundException 13107 // A specified entity does not exist 13108 // 13109 // * InvalidInputException 13110 // The input provided was not valid. 13111 // 13112 // * InternalServiceException 13113 // An internal service error occurred. 13114 // 13115 // * OperationTimeoutException 13116 // The operation timed out. 13117 // 13118 // * ResourceNumberLimitExceededException 13119 // A resource numerical limit was exceeded. 13120 // 13121 // * ConcurrentModificationException 13122 // Two processes are trying to modify a resource simultaneously. 13123 // 13124 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties 13125 func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) { 13126 req, out := c.PutWorkflowRunPropertiesRequest(input) 13127 return out, req.Send() 13128 } 13129 13130 // PutWorkflowRunPropertiesWithContext is the same as PutWorkflowRunProperties with the addition of 13131 // the ability to pass a context and additional request options. 13132 // 13133 // See PutWorkflowRunProperties for details on how to use this API operation. 13134 // 13135 // The context must be non-nil and will be used for request cancellation. If 13136 // the context is nil a panic will occur. In the future the SDK may create 13137 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13138 // for more information on using Contexts. 13139 func (c *Glue) PutWorkflowRunPropertiesWithContext(ctx aws.Context, input *PutWorkflowRunPropertiesInput, opts ...request.Option) (*PutWorkflowRunPropertiesOutput, error) { 13140 req, out := c.PutWorkflowRunPropertiesRequest(input) 13141 req.SetContext(ctx) 13142 req.ApplyOptions(opts...) 13143 return out, req.Send() 13144 } 13145 13146 const opQuerySchemaVersionMetadata = "QuerySchemaVersionMetadata" 13147 13148 // QuerySchemaVersionMetadataRequest generates a "aws/request.Request" representing the 13149 // client's request for the QuerySchemaVersionMetadata operation. The "output" return 13150 // value will be populated with the request's response once the request completes 13151 // successfully. 13152 // 13153 // Use "Send" method on the returned Request to send the API call to the service. 13154 // the "output" return value is not valid until after Send returns without error. 13155 // 13156 // See QuerySchemaVersionMetadata for more information on using the QuerySchemaVersionMetadata 13157 // API call, and error handling. 13158 // 13159 // This method is useful when you want to inject custom logic or configuration 13160 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13161 // 13162 // 13163 // // Example sending a request using the QuerySchemaVersionMetadataRequest method. 13164 // req, resp := client.QuerySchemaVersionMetadataRequest(params) 13165 // 13166 // err := req.Send() 13167 // if err == nil { // resp is now filled 13168 // fmt.Println(resp) 13169 // } 13170 // 13171 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata 13172 func (c *Glue) QuerySchemaVersionMetadataRequest(input *QuerySchemaVersionMetadataInput) (req *request.Request, output *QuerySchemaVersionMetadataOutput) { 13173 op := &request.Operation{ 13174 Name: opQuerySchemaVersionMetadata, 13175 HTTPMethod: "POST", 13176 HTTPPath: "/", 13177 } 13178 13179 if input == nil { 13180 input = &QuerySchemaVersionMetadataInput{} 13181 } 13182 13183 output = &QuerySchemaVersionMetadataOutput{} 13184 req = c.newRequest(op, input, output) 13185 return 13186 } 13187 13188 // QuerySchemaVersionMetadata API operation for AWS Glue. 13189 // 13190 // Queries for the schema version metadata information. 13191 // 13192 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13193 // with awserr.Error's Code and Message methods to get detailed information about 13194 // the error. 13195 // 13196 // See the AWS API reference guide for AWS Glue's 13197 // API operation QuerySchemaVersionMetadata for usage and error information. 13198 // 13199 // Returned Error Types: 13200 // * InvalidInputException 13201 // The input provided was not valid. 13202 // 13203 // * AccessDeniedException 13204 // Access to a resource was denied. 13205 // 13206 // * EntityNotFoundException 13207 // A specified entity does not exist 13208 // 13209 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata 13210 func (c *Glue) QuerySchemaVersionMetadata(input *QuerySchemaVersionMetadataInput) (*QuerySchemaVersionMetadataOutput, error) { 13211 req, out := c.QuerySchemaVersionMetadataRequest(input) 13212 return out, req.Send() 13213 } 13214 13215 // QuerySchemaVersionMetadataWithContext is the same as QuerySchemaVersionMetadata with the addition of 13216 // the ability to pass a context and additional request options. 13217 // 13218 // See QuerySchemaVersionMetadata for details on how to use this API operation. 13219 // 13220 // The context must be non-nil and will be used for request cancellation. If 13221 // the context is nil a panic will occur. In the future the SDK may create 13222 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13223 // for more information on using Contexts. 13224 func (c *Glue) QuerySchemaVersionMetadataWithContext(ctx aws.Context, input *QuerySchemaVersionMetadataInput, opts ...request.Option) (*QuerySchemaVersionMetadataOutput, error) { 13225 req, out := c.QuerySchemaVersionMetadataRequest(input) 13226 req.SetContext(ctx) 13227 req.ApplyOptions(opts...) 13228 return out, req.Send() 13229 } 13230 13231 const opRegisterSchemaVersion = "RegisterSchemaVersion" 13232 13233 // RegisterSchemaVersionRequest generates a "aws/request.Request" representing the 13234 // client's request for the RegisterSchemaVersion operation. The "output" return 13235 // value will be populated with the request's response once the request completes 13236 // successfully. 13237 // 13238 // Use "Send" method on the returned Request to send the API call to the service. 13239 // the "output" return value is not valid until after Send returns without error. 13240 // 13241 // See RegisterSchemaVersion for more information on using the RegisterSchemaVersion 13242 // API call, and error handling. 13243 // 13244 // This method is useful when you want to inject custom logic or configuration 13245 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13246 // 13247 // 13248 // // Example sending a request using the RegisterSchemaVersionRequest method. 13249 // req, resp := client.RegisterSchemaVersionRequest(params) 13250 // 13251 // err := req.Send() 13252 // if err == nil { // resp is now filled 13253 // fmt.Println(resp) 13254 // } 13255 // 13256 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion 13257 func (c *Glue) RegisterSchemaVersionRequest(input *RegisterSchemaVersionInput) (req *request.Request, output *RegisterSchemaVersionOutput) { 13258 op := &request.Operation{ 13259 Name: opRegisterSchemaVersion, 13260 HTTPMethod: "POST", 13261 HTTPPath: "/", 13262 } 13263 13264 if input == nil { 13265 input = &RegisterSchemaVersionInput{} 13266 } 13267 13268 output = &RegisterSchemaVersionOutput{} 13269 req = c.newRequest(op, input, output) 13270 return 13271 } 13272 13273 // RegisterSchemaVersion API operation for AWS Glue. 13274 // 13275 // Adds a new version to the existing schema. Returns an error if new version 13276 // of schema does not meet the compatibility requirements of the schema set. 13277 // This API will not create a new schema set and will return a 404 error if 13278 // the schema set is not already present in the Schema Registry. 13279 // 13280 // If this is the first schema definition to be registered in the Schema Registry, 13281 // this API will store the schema version and return immediately. Otherwise, 13282 // this call has the potential to run longer than other operations due to compatibility 13283 // modes. You can call the GetSchemaVersion API with the SchemaVersionId to 13284 // check compatibility modes. 13285 // 13286 // If the same schema definition is already stored in Schema Registry as a version, 13287 // the schema ID of the existing schema is returned to the caller. 13288 // 13289 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13290 // with awserr.Error's Code and Message methods to get detailed information about 13291 // the error. 13292 // 13293 // See the AWS API reference guide for AWS Glue's 13294 // API operation RegisterSchemaVersion for usage and error information. 13295 // 13296 // Returned Error Types: 13297 // * InvalidInputException 13298 // The input provided was not valid. 13299 // 13300 // * AccessDeniedException 13301 // Access to a resource was denied. 13302 // 13303 // * EntityNotFoundException 13304 // A specified entity does not exist 13305 // 13306 // * ResourceNumberLimitExceededException 13307 // A resource numerical limit was exceeded. 13308 // 13309 // * ConcurrentModificationException 13310 // Two processes are trying to modify a resource simultaneously. 13311 // 13312 // * InternalServiceException 13313 // An internal service error occurred. 13314 // 13315 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion 13316 func (c *Glue) RegisterSchemaVersion(input *RegisterSchemaVersionInput) (*RegisterSchemaVersionOutput, error) { 13317 req, out := c.RegisterSchemaVersionRequest(input) 13318 return out, req.Send() 13319 } 13320 13321 // RegisterSchemaVersionWithContext is the same as RegisterSchemaVersion with the addition of 13322 // the ability to pass a context and additional request options. 13323 // 13324 // See RegisterSchemaVersion for details on how to use this API operation. 13325 // 13326 // The context must be non-nil and will be used for request cancellation. If 13327 // the context is nil a panic will occur. In the future the SDK may create 13328 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13329 // for more information on using Contexts. 13330 func (c *Glue) RegisterSchemaVersionWithContext(ctx aws.Context, input *RegisterSchemaVersionInput, opts ...request.Option) (*RegisterSchemaVersionOutput, error) { 13331 req, out := c.RegisterSchemaVersionRequest(input) 13332 req.SetContext(ctx) 13333 req.ApplyOptions(opts...) 13334 return out, req.Send() 13335 } 13336 13337 const opRemoveSchemaVersionMetadata = "RemoveSchemaVersionMetadata" 13338 13339 // RemoveSchemaVersionMetadataRequest generates a "aws/request.Request" representing the 13340 // client's request for the RemoveSchemaVersionMetadata operation. The "output" return 13341 // value will be populated with the request's response once the request completes 13342 // successfully. 13343 // 13344 // Use "Send" method on the returned Request to send the API call to the service. 13345 // the "output" return value is not valid until after Send returns without error. 13346 // 13347 // See RemoveSchemaVersionMetadata for more information on using the RemoveSchemaVersionMetadata 13348 // API call, and error handling. 13349 // 13350 // This method is useful when you want to inject custom logic or configuration 13351 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13352 // 13353 // 13354 // // Example sending a request using the RemoveSchemaVersionMetadataRequest method. 13355 // req, resp := client.RemoveSchemaVersionMetadataRequest(params) 13356 // 13357 // err := req.Send() 13358 // if err == nil { // resp is now filled 13359 // fmt.Println(resp) 13360 // } 13361 // 13362 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata 13363 func (c *Glue) RemoveSchemaVersionMetadataRequest(input *RemoveSchemaVersionMetadataInput) (req *request.Request, output *RemoveSchemaVersionMetadataOutput) { 13364 op := &request.Operation{ 13365 Name: opRemoveSchemaVersionMetadata, 13366 HTTPMethod: "POST", 13367 HTTPPath: "/", 13368 } 13369 13370 if input == nil { 13371 input = &RemoveSchemaVersionMetadataInput{} 13372 } 13373 13374 output = &RemoveSchemaVersionMetadataOutput{} 13375 req = c.newRequest(op, input, output) 13376 return 13377 } 13378 13379 // RemoveSchemaVersionMetadata API operation for AWS Glue. 13380 // 13381 // Removes a key value pair from the schema version metadata for the specified 13382 // schema version ID. 13383 // 13384 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13385 // with awserr.Error's Code and Message methods to get detailed information about 13386 // the error. 13387 // 13388 // See the AWS API reference guide for AWS Glue's 13389 // API operation RemoveSchemaVersionMetadata for usage and error information. 13390 // 13391 // Returned Error Types: 13392 // * InvalidInputException 13393 // The input provided was not valid. 13394 // 13395 // * AccessDeniedException 13396 // Access to a resource was denied. 13397 // 13398 // * EntityNotFoundException 13399 // A specified entity does not exist 13400 // 13401 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata 13402 func (c *Glue) RemoveSchemaVersionMetadata(input *RemoveSchemaVersionMetadataInput) (*RemoveSchemaVersionMetadataOutput, error) { 13403 req, out := c.RemoveSchemaVersionMetadataRequest(input) 13404 return out, req.Send() 13405 } 13406 13407 // RemoveSchemaVersionMetadataWithContext is the same as RemoveSchemaVersionMetadata with the addition of 13408 // the ability to pass a context and additional request options. 13409 // 13410 // See RemoveSchemaVersionMetadata for details on how to use this API operation. 13411 // 13412 // The context must be non-nil and will be used for request cancellation. If 13413 // the context is nil a panic will occur. In the future the SDK may create 13414 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13415 // for more information on using Contexts. 13416 func (c *Glue) RemoveSchemaVersionMetadataWithContext(ctx aws.Context, input *RemoveSchemaVersionMetadataInput, opts ...request.Option) (*RemoveSchemaVersionMetadataOutput, error) { 13417 req, out := c.RemoveSchemaVersionMetadataRequest(input) 13418 req.SetContext(ctx) 13419 req.ApplyOptions(opts...) 13420 return out, req.Send() 13421 } 13422 13423 const opResetJobBookmark = "ResetJobBookmark" 13424 13425 // ResetJobBookmarkRequest generates a "aws/request.Request" representing the 13426 // client's request for the ResetJobBookmark operation. The "output" return 13427 // value will be populated with the request's response once the request completes 13428 // successfully. 13429 // 13430 // Use "Send" method on the returned Request to send the API call to the service. 13431 // the "output" return value is not valid until after Send returns without error. 13432 // 13433 // See ResetJobBookmark for more information on using the ResetJobBookmark 13434 // API call, and error handling. 13435 // 13436 // This method is useful when you want to inject custom logic or configuration 13437 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13438 // 13439 // 13440 // // Example sending a request using the ResetJobBookmarkRequest method. 13441 // req, resp := client.ResetJobBookmarkRequest(params) 13442 // 13443 // err := req.Send() 13444 // if err == nil { // resp is now filled 13445 // fmt.Println(resp) 13446 // } 13447 // 13448 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark 13449 func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) { 13450 op := &request.Operation{ 13451 Name: opResetJobBookmark, 13452 HTTPMethod: "POST", 13453 HTTPPath: "/", 13454 } 13455 13456 if input == nil { 13457 input = &ResetJobBookmarkInput{} 13458 } 13459 13460 output = &ResetJobBookmarkOutput{} 13461 req = c.newRequest(op, input, output) 13462 return 13463 } 13464 13465 // ResetJobBookmark API operation for AWS Glue. 13466 // 13467 // Resets a bookmark entry. 13468 // 13469 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13470 // with awserr.Error's Code and Message methods to get detailed information about 13471 // the error. 13472 // 13473 // See the AWS API reference guide for AWS Glue's 13474 // API operation ResetJobBookmark for usage and error information. 13475 // 13476 // Returned Error Types: 13477 // * EntityNotFoundException 13478 // A specified entity does not exist 13479 // 13480 // * InvalidInputException 13481 // The input provided was not valid. 13482 // 13483 // * InternalServiceException 13484 // An internal service error occurred. 13485 // 13486 // * OperationTimeoutException 13487 // The operation timed out. 13488 // 13489 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark 13490 func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) { 13491 req, out := c.ResetJobBookmarkRequest(input) 13492 return out, req.Send() 13493 } 13494 13495 // ResetJobBookmarkWithContext is the same as ResetJobBookmark with the addition of 13496 // the ability to pass a context and additional request options. 13497 // 13498 // See ResetJobBookmark for details on how to use this API operation. 13499 // 13500 // The context must be non-nil and will be used for request cancellation. If 13501 // the context is nil a panic will occur. In the future the SDK may create 13502 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13503 // for more information on using Contexts. 13504 func (c *Glue) ResetJobBookmarkWithContext(ctx aws.Context, input *ResetJobBookmarkInput, opts ...request.Option) (*ResetJobBookmarkOutput, error) { 13505 req, out := c.ResetJobBookmarkRequest(input) 13506 req.SetContext(ctx) 13507 req.ApplyOptions(opts...) 13508 return out, req.Send() 13509 } 13510 13511 const opResumeWorkflowRun = "ResumeWorkflowRun" 13512 13513 // ResumeWorkflowRunRequest generates a "aws/request.Request" representing the 13514 // client's request for the ResumeWorkflowRun operation. The "output" return 13515 // value will be populated with the request's response once the request completes 13516 // successfully. 13517 // 13518 // Use "Send" method on the returned Request to send the API call to the service. 13519 // the "output" return value is not valid until after Send returns without error. 13520 // 13521 // See ResumeWorkflowRun for more information on using the ResumeWorkflowRun 13522 // API call, and error handling. 13523 // 13524 // This method is useful when you want to inject custom logic or configuration 13525 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13526 // 13527 // 13528 // // Example sending a request using the ResumeWorkflowRunRequest method. 13529 // req, resp := client.ResumeWorkflowRunRequest(params) 13530 // 13531 // err := req.Send() 13532 // if err == nil { // resp is now filled 13533 // fmt.Println(resp) 13534 // } 13535 // 13536 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun 13537 func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *request.Request, output *ResumeWorkflowRunOutput) { 13538 op := &request.Operation{ 13539 Name: opResumeWorkflowRun, 13540 HTTPMethod: "POST", 13541 HTTPPath: "/", 13542 } 13543 13544 if input == nil { 13545 input = &ResumeWorkflowRunInput{} 13546 } 13547 13548 output = &ResumeWorkflowRunOutput{} 13549 req = c.newRequest(op, input, output) 13550 return 13551 } 13552 13553 // ResumeWorkflowRun API operation for AWS Glue. 13554 // 13555 // Restarts selected nodes of a previous partially completed workflow run and 13556 // resumes the workflow run. The selected nodes and all nodes that are downstream 13557 // from the selected nodes are run. 13558 // 13559 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13560 // with awserr.Error's Code and Message methods to get detailed information about 13561 // the error. 13562 // 13563 // See the AWS API reference guide for AWS Glue's 13564 // API operation ResumeWorkflowRun for usage and error information. 13565 // 13566 // Returned Error Types: 13567 // * InvalidInputException 13568 // The input provided was not valid. 13569 // 13570 // * EntityNotFoundException 13571 // A specified entity does not exist 13572 // 13573 // * InternalServiceException 13574 // An internal service error occurred. 13575 // 13576 // * OperationTimeoutException 13577 // The operation timed out. 13578 // 13579 // * ConcurrentRunsExceededException 13580 // Too many jobs are being run concurrently. 13581 // 13582 // * IllegalWorkflowStateException 13583 // The workflow is in an invalid state to perform a requested operation. 13584 // 13585 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun 13586 func (c *Glue) ResumeWorkflowRun(input *ResumeWorkflowRunInput) (*ResumeWorkflowRunOutput, error) { 13587 req, out := c.ResumeWorkflowRunRequest(input) 13588 return out, req.Send() 13589 } 13590 13591 // ResumeWorkflowRunWithContext is the same as ResumeWorkflowRun with the addition of 13592 // the ability to pass a context and additional request options. 13593 // 13594 // See ResumeWorkflowRun for details on how to use this API operation. 13595 // 13596 // The context must be non-nil and will be used for request cancellation. If 13597 // the context is nil a panic will occur. In the future the SDK may create 13598 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13599 // for more information on using Contexts. 13600 func (c *Glue) ResumeWorkflowRunWithContext(ctx aws.Context, input *ResumeWorkflowRunInput, opts ...request.Option) (*ResumeWorkflowRunOutput, error) { 13601 req, out := c.ResumeWorkflowRunRequest(input) 13602 req.SetContext(ctx) 13603 req.ApplyOptions(opts...) 13604 return out, req.Send() 13605 } 13606 13607 const opSearchTables = "SearchTables" 13608 13609 // SearchTablesRequest generates a "aws/request.Request" representing the 13610 // client's request for the SearchTables operation. The "output" return 13611 // value will be populated with the request's response once the request completes 13612 // successfully. 13613 // 13614 // Use "Send" method on the returned Request to send the API call to the service. 13615 // the "output" return value is not valid until after Send returns without error. 13616 // 13617 // See SearchTables for more information on using the SearchTables 13618 // API call, and error handling. 13619 // 13620 // This method is useful when you want to inject custom logic or configuration 13621 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13622 // 13623 // 13624 // // Example sending a request using the SearchTablesRequest method. 13625 // req, resp := client.SearchTablesRequest(params) 13626 // 13627 // err := req.Send() 13628 // if err == nil { // resp is now filled 13629 // fmt.Println(resp) 13630 // } 13631 // 13632 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables 13633 func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) { 13634 op := &request.Operation{ 13635 Name: opSearchTables, 13636 HTTPMethod: "POST", 13637 HTTPPath: "/", 13638 Paginator: &request.Paginator{ 13639 InputTokens: []string{"NextToken"}, 13640 OutputTokens: []string{"NextToken"}, 13641 LimitToken: "MaxResults", 13642 TruncationToken: "", 13643 }, 13644 } 13645 13646 if input == nil { 13647 input = &SearchTablesInput{} 13648 } 13649 13650 output = &SearchTablesOutput{} 13651 req = c.newRequest(op, input, output) 13652 return 13653 } 13654 13655 // SearchTables API operation for AWS Glue. 13656 // 13657 // Searches a set of tables based on properties in the table metadata as well 13658 // as on the parent database. You can search against text or filter conditions. 13659 // 13660 // You can only get tables that you have access to based on the security policies 13661 // defined in Lake Formation. You need at least a read-only access to the table 13662 // for it to be returned. If you do not have access to all the columns in the 13663 // table, these columns will not be searched against when returning the list 13664 // of tables back to you. If you have access to the columns but not the data 13665 // in the columns, those columns and the associated metadata for those columns 13666 // will be included in the search. 13667 // 13668 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13669 // with awserr.Error's Code and Message methods to get detailed information about 13670 // the error. 13671 // 13672 // See the AWS API reference guide for AWS Glue's 13673 // API operation SearchTables for usage and error information. 13674 // 13675 // Returned Error Types: 13676 // * InternalServiceException 13677 // An internal service error occurred. 13678 // 13679 // * InvalidInputException 13680 // The input provided was not valid. 13681 // 13682 // * OperationTimeoutException 13683 // The operation timed out. 13684 // 13685 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables 13686 func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) { 13687 req, out := c.SearchTablesRequest(input) 13688 return out, req.Send() 13689 } 13690 13691 // SearchTablesWithContext is the same as SearchTables with the addition of 13692 // the ability to pass a context and additional request options. 13693 // 13694 // See SearchTables for details on how to use this API operation. 13695 // 13696 // The context must be non-nil and will be used for request cancellation. If 13697 // the context is nil a panic will occur. In the future the SDK may create 13698 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13699 // for more information on using Contexts. 13700 func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput, opts ...request.Option) (*SearchTablesOutput, error) { 13701 req, out := c.SearchTablesRequest(input) 13702 req.SetContext(ctx) 13703 req.ApplyOptions(opts...) 13704 return out, req.Send() 13705 } 13706 13707 // SearchTablesPages iterates over the pages of a SearchTables operation, 13708 // calling the "fn" function with the response data for each page. To stop 13709 // iterating, return false from the fn function. 13710 // 13711 // See SearchTables method for more information on how to use this operation. 13712 // 13713 // Note: This operation can generate multiple requests to a service. 13714 // 13715 // // Example iterating over at most 3 pages of a SearchTables operation. 13716 // pageNum := 0 13717 // err := client.SearchTablesPages(params, 13718 // func(page *glue.SearchTablesOutput, lastPage bool) bool { 13719 // pageNum++ 13720 // fmt.Println(page) 13721 // return pageNum <= 3 13722 // }) 13723 // 13724 func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error { 13725 return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn) 13726 } 13727 13728 // SearchTablesPagesWithContext same as SearchTablesPages except 13729 // it takes a Context and allows setting request options on the pages. 13730 // 13731 // The context must be non-nil and will be used for request cancellation. If 13732 // the context is nil a panic will occur. In the future the SDK may create 13733 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13734 // for more information on using Contexts. 13735 func (c *Glue) SearchTablesPagesWithContext(ctx aws.Context, input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool, opts ...request.Option) error { 13736 p := request.Pagination{ 13737 NewRequest: func() (*request.Request, error) { 13738 var inCpy *SearchTablesInput 13739 if input != nil { 13740 tmp := *input 13741 inCpy = &tmp 13742 } 13743 req, _ := c.SearchTablesRequest(inCpy) 13744 req.SetContext(ctx) 13745 req.ApplyOptions(opts...) 13746 return req, nil 13747 }, 13748 } 13749 13750 for p.Next() { 13751 if !fn(p.Page().(*SearchTablesOutput), !p.HasNextPage()) { 13752 break 13753 } 13754 } 13755 13756 return p.Err() 13757 } 13758 13759 const opStartBlueprintRun = "StartBlueprintRun" 13760 13761 // StartBlueprintRunRequest generates a "aws/request.Request" representing the 13762 // client's request for the StartBlueprintRun operation. The "output" return 13763 // value will be populated with the request's response once the request completes 13764 // successfully. 13765 // 13766 // Use "Send" method on the returned Request to send the API call to the service. 13767 // the "output" return value is not valid until after Send returns without error. 13768 // 13769 // See StartBlueprintRun for more information on using the StartBlueprintRun 13770 // API call, and error handling. 13771 // 13772 // This method is useful when you want to inject custom logic or configuration 13773 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13774 // 13775 // 13776 // // Example sending a request using the StartBlueprintRunRequest method. 13777 // req, resp := client.StartBlueprintRunRequest(params) 13778 // 13779 // err := req.Send() 13780 // if err == nil { // resp is now filled 13781 // fmt.Println(resp) 13782 // } 13783 // 13784 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartBlueprintRun 13785 func (c *Glue) StartBlueprintRunRequest(input *StartBlueprintRunInput) (req *request.Request, output *StartBlueprintRunOutput) { 13786 op := &request.Operation{ 13787 Name: opStartBlueprintRun, 13788 HTTPMethod: "POST", 13789 HTTPPath: "/", 13790 } 13791 13792 if input == nil { 13793 input = &StartBlueprintRunInput{} 13794 } 13795 13796 output = &StartBlueprintRunOutput{} 13797 req = c.newRequest(op, input, output) 13798 return 13799 } 13800 13801 // StartBlueprintRun API operation for AWS Glue. 13802 // 13803 // Starts a new run of the specified blueprint. 13804 // 13805 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13806 // with awserr.Error's Code and Message methods to get detailed information about 13807 // the error. 13808 // 13809 // See the AWS API reference guide for AWS Glue's 13810 // API operation StartBlueprintRun for usage and error information. 13811 // 13812 // Returned Error Types: 13813 // * InvalidInputException 13814 // The input provided was not valid. 13815 // 13816 // * OperationTimeoutException 13817 // The operation timed out. 13818 // 13819 // * InternalServiceException 13820 // An internal service error occurred. 13821 // 13822 // * ResourceNumberLimitExceededException 13823 // A resource numerical limit was exceeded. 13824 // 13825 // * EntityNotFoundException 13826 // A specified entity does not exist 13827 // 13828 // * IllegalBlueprintStateException 13829 // 13830 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartBlueprintRun 13831 func (c *Glue) StartBlueprintRun(input *StartBlueprintRunInput) (*StartBlueprintRunOutput, error) { 13832 req, out := c.StartBlueprintRunRequest(input) 13833 return out, req.Send() 13834 } 13835 13836 // StartBlueprintRunWithContext is the same as StartBlueprintRun with the addition of 13837 // the ability to pass a context and additional request options. 13838 // 13839 // See StartBlueprintRun for details on how to use this API operation. 13840 // 13841 // The context must be non-nil and will be used for request cancellation. If 13842 // the context is nil a panic will occur. In the future the SDK may create 13843 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13844 // for more information on using Contexts. 13845 func (c *Glue) StartBlueprintRunWithContext(ctx aws.Context, input *StartBlueprintRunInput, opts ...request.Option) (*StartBlueprintRunOutput, error) { 13846 req, out := c.StartBlueprintRunRequest(input) 13847 req.SetContext(ctx) 13848 req.ApplyOptions(opts...) 13849 return out, req.Send() 13850 } 13851 13852 const opStartCrawler = "StartCrawler" 13853 13854 // StartCrawlerRequest generates a "aws/request.Request" representing the 13855 // client's request for the StartCrawler operation. The "output" return 13856 // value will be populated with the request's response once the request completes 13857 // successfully. 13858 // 13859 // Use "Send" method on the returned Request to send the API call to the service. 13860 // the "output" return value is not valid until after Send returns without error. 13861 // 13862 // See StartCrawler for more information on using the StartCrawler 13863 // API call, and error handling. 13864 // 13865 // This method is useful when you want to inject custom logic or configuration 13866 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13867 // 13868 // 13869 // // Example sending a request using the StartCrawlerRequest method. 13870 // req, resp := client.StartCrawlerRequest(params) 13871 // 13872 // err := req.Send() 13873 // if err == nil { // resp is now filled 13874 // fmt.Println(resp) 13875 // } 13876 // 13877 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler 13878 func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) { 13879 op := &request.Operation{ 13880 Name: opStartCrawler, 13881 HTTPMethod: "POST", 13882 HTTPPath: "/", 13883 } 13884 13885 if input == nil { 13886 input = &StartCrawlerInput{} 13887 } 13888 13889 output = &StartCrawlerOutput{} 13890 req = c.newRequest(op, input, output) 13891 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 13892 return 13893 } 13894 13895 // StartCrawler API operation for AWS Glue. 13896 // 13897 // Starts a crawl using the specified crawler, regardless of what is scheduled. 13898 // If the crawler is already running, returns a CrawlerRunningException (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-exceptions.html#aws-glue-api-exceptions-CrawlerRunningException). 13899 // 13900 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13901 // with awserr.Error's Code and Message methods to get detailed information about 13902 // the error. 13903 // 13904 // See the AWS API reference guide for AWS Glue's 13905 // API operation StartCrawler for usage and error information. 13906 // 13907 // Returned Error Types: 13908 // * EntityNotFoundException 13909 // A specified entity does not exist 13910 // 13911 // * CrawlerRunningException 13912 // The operation cannot be performed because the crawler is already running. 13913 // 13914 // * OperationTimeoutException 13915 // The operation timed out. 13916 // 13917 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler 13918 func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) { 13919 req, out := c.StartCrawlerRequest(input) 13920 return out, req.Send() 13921 } 13922 13923 // StartCrawlerWithContext is the same as StartCrawler with the addition of 13924 // the ability to pass a context and additional request options. 13925 // 13926 // See StartCrawler for details on how to use this API operation. 13927 // 13928 // The context must be non-nil and will be used for request cancellation. If 13929 // the context is nil a panic will occur. In the future the SDK may create 13930 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13931 // for more information on using Contexts. 13932 func (c *Glue) StartCrawlerWithContext(ctx aws.Context, input *StartCrawlerInput, opts ...request.Option) (*StartCrawlerOutput, error) { 13933 req, out := c.StartCrawlerRequest(input) 13934 req.SetContext(ctx) 13935 req.ApplyOptions(opts...) 13936 return out, req.Send() 13937 } 13938 13939 const opStartCrawlerSchedule = "StartCrawlerSchedule" 13940 13941 // StartCrawlerScheduleRequest generates a "aws/request.Request" representing the 13942 // client's request for the StartCrawlerSchedule operation. The "output" return 13943 // value will be populated with the request's response once the request completes 13944 // successfully. 13945 // 13946 // Use "Send" method on the returned Request to send the API call to the service. 13947 // the "output" return value is not valid until after Send returns without error. 13948 // 13949 // See StartCrawlerSchedule for more information on using the StartCrawlerSchedule 13950 // API call, and error handling. 13951 // 13952 // This method is useful when you want to inject custom logic or configuration 13953 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13954 // 13955 // 13956 // // Example sending a request using the StartCrawlerScheduleRequest method. 13957 // req, resp := client.StartCrawlerScheduleRequest(params) 13958 // 13959 // err := req.Send() 13960 // if err == nil { // resp is now filled 13961 // fmt.Println(resp) 13962 // } 13963 // 13964 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule 13965 func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) { 13966 op := &request.Operation{ 13967 Name: opStartCrawlerSchedule, 13968 HTTPMethod: "POST", 13969 HTTPPath: "/", 13970 } 13971 13972 if input == nil { 13973 input = &StartCrawlerScheduleInput{} 13974 } 13975 13976 output = &StartCrawlerScheduleOutput{} 13977 req = c.newRequest(op, input, output) 13978 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 13979 return 13980 } 13981 13982 // StartCrawlerSchedule API operation for AWS Glue. 13983 // 13984 // Changes the schedule state of the specified crawler to SCHEDULED, unless 13985 // the crawler is already running or the schedule state is already SCHEDULED. 13986 // 13987 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13988 // with awserr.Error's Code and Message methods to get detailed information about 13989 // the error. 13990 // 13991 // See the AWS API reference guide for AWS Glue's 13992 // API operation StartCrawlerSchedule for usage and error information. 13993 // 13994 // Returned Error Types: 13995 // * EntityNotFoundException 13996 // A specified entity does not exist 13997 // 13998 // * SchedulerRunningException 13999 // The specified scheduler is already running. 14000 // 14001 // * SchedulerTransitioningException 14002 // The specified scheduler is transitioning. 14003 // 14004 // * NoScheduleException 14005 // There is no applicable schedule. 14006 // 14007 // * OperationTimeoutException 14008 // The operation timed out. 14009 // 14010 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule 14011 func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) { 14012 req, out := c.StartCrawlerScheduleRequest(input) 14013 return out, req.Send() 14014 } 14015 14016 // StartCrawlerScheduleWithContext is the same as StartCrawlerSchedule with the addition of 14017 // the ability to pass a context and additional request options. 14018 // 14019 // See StartCrawlerSchedule for details on how to use this API operation. 14020 // 14021 // The context must be non-nil and will be used for request cancellation. If 14022 // the context is nil a panic will occur. In the future the SDK may create 14023 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14024 // for more information on using Contexts. 14025 func (c *Glue) StartCrawlerScheduleWithContext(ctx aws.Context, input *StartCrawlerScheduleInput, opts ...request.Option) (*StartCrawlerScheduleOutput, error) { 14026 req, out := c.StartCrawlerScheduleRequest(input) 14027 req.SetContext(ctx) 14028 req.ApplyOptions(opts...) 14029 return out, req.Send() 14030 } 14031 14032 const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun" 14033 14034 // StartExportLabelsTaskRunRequest generates a "aws/request.Request" representing the 14035 // client's request for the StartExportLabelsTaskRun operation. The "output" return 14036 // value will be populated with the request's response once the request completes 14037 // successfully. 14038 // 14039 // Use "Send" method on the returned Request to send the API call to the service. 14040 // the "output" return value is not valid until after Send returns without error. 14041 // 14042 // See StartExportLabelsTaskRun for more information on using the StartExportLabelsTaskRun 14043 // API call, and error handling. 14044 // 14045 // This method is useful when you want to inject custom logic or configuration 14046 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14047 // 14048 // 14049 // // Example sending a request using the StartExportLabelsTaskRunRequest method. 14050 // req, resp := client.StartExportLabelsTaskRunRequest(params) 14051 // 14052 // err := req.Send() 14053 // if err == nil { // resp is now filled 14054 // fmt.Println(resp) 14055 // } 14056 // 14057 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun 14058 func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) { 14059 op := &request.Operation{ 14060 Name: opStartExportLabelsTaskRun, 14061 HTTPMethod: "POST", 14062 HTTPPath: "/", 14063 } 14064 14065 if input == nil { 14066 input = &StartExportLabelsTaskRunInput{} 14067 } 14068 14069 output = &StartExportLabelsTaskRunOutput{} 14070 req = c.newRequest(op, input, output) 14071 return 14072 } 14073 14074 // StartExportLabelsTaskRun API operation for AWS Glue. 14075 // 14076 // Begins an asynchronous task to export all labeled data for a particular transform. 14077 // This task is the only label-related API call that is not part of the typical 14078 // active learning workflow. You typically use StartExportLabelsTaskRun when 14079 // you want to work with all of your existing labels at the same time, such 14080 // as when you want to remove or change labels that were previously submitted 14081 // as truth. This API operation accepts the TransformId whose labels you want 14082 // to export and an Amazon Simple Storage Service (Amazon S3) path to export 14083 // the labels to. The operation returns a TaskRunId. You can check on the status 14084 // of your task run by calling the GetMLTaskRun API. 14085 // 14086 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14087 // with awserr.Error's Code and Message methods to get detailed information about 14088 // the error. 14089 // 14090 // See the AWS API reference guide for AWS Glue's 14091 // API operation StartExportLabelsTaskRun for usage and error information. 14092 // 14093 // Returned Error Types: 14094 // * EntityNotFoundException 14095 // A specified entity does not exist 14096 // 14097 // * InvalidInputException 14098 // The input provided was not valid. 14099 // 14100 // * OperationTimeoutException 14101 // The operation timed out. 14102 // 14103 // * InternalServiceException 14104 // An internal service error occurred. 14105 // 14106 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun 14107 func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) { 14108 req, out := c.StartExportLabelsTaskRunRequest(input) 14109 return out, req.Send() 14110 } 14111 14112 // StartExportLabelsTaskRunWithContext is the same as StartExportLabelsTaskRun with the addition of 14113 // the ability to pass a context and additional request options. 14114 // 14115 // See StartExportLabelsTaskRun for details on how to use this API operation. 14116 // 14117 // The context must be non-nil and will be used for request cancellation. If 14118 // the context is nil a panic will occur. In the future the SDK may create 14119 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14120 // for more information on using Contexts. 14121 func (c *Glue) StartExportLabelsTaskRunWithContext(ctx aws.Context, input *StartExportLabelsTaskRunInput, opts ...request.Option) (*StartExportLabelsTaskRunOutput, error) { 14122 req, out := c.StartExportLabelsTaskRunRequest(input) 14123 req.SetContext(ctx) 14124 req.ApplyOptions(opts...) 14125 return out, req.Send() 14126 } 14127 14128 const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun" 14129 14130 // StartImportLabelsTaskRunRequest generates a "aws/request.Request" representing the 14131 // client's request for the StartImportLabelsTaskRun operation. The "output" return 14132 // value will be populated with the request's response once the request completes 14133 // successfully. 14134 // 14135 // Use "Send" method on the returned Request to send the API call to the service. 14136 // the "output" return value is not valid until after Send returns without error. 14137 // 14138 // See StartImportLabelsTaskRun for more information on using the StartImportLabelsTaskRun 14139 // API call, and error handling. 14140 // 14141 // This method is useful when you want to inject custom logic or configuration 14142 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14143 // 14144 // 14145 // // Example sending a request using the StartImportLabelsTaskRunRequest method. 14146 // req, resp := client.StartImportLabelsTaskRunRequest(params) 14147 // 14148 // err := req.Send() 14149 // if err == nil { // resp is now filled 14150 // fmt.Println(resp) 14151 // } 14152 // 14153 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun 14154 func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) { 14155 op := &request.Operation{ 14156 Name: opStartImportLabelsTaskRun, 14157 HTTPMethod: "POST", 14158 HTTPPath: "/", 14159 } 14160 14161 if input == nil { 14162 input = &StartImportLabelsTaskRunInput{} 14163 } 14164 14165 output = &StartImportLabelsTaskRunOutput{} 14166 req = c.newRequest(op, input, output) 14167 return 14168 } 14169 14170 // StartImportLabelsTaskRun API operation for AWS Glue. 14171 // 14172 // Enables you to provide additional labels (examples of truth) to be used to 14173 // teach the machine learning transform and improve its quality. This API operation 14174 // is generally used as part of the active learning workflow that starts with 14175 // the StartMLLabelingSetGenerationTaskRun call and that ultimately results 14176 // in improving the quality of your machine learning transform. 14177 // 14178 // After the StartMLLabelingSetGenerationTaskRun finishes, Glue machine learning 14179 // will have generated a series of questions for humans to answer. (Answering 14180 // these questions is often called 'labeling' in the machine learning workflows). 14181 // In the case of the FindMatches transform, these questions are of the form, 14182 // “What is the correct way to group these rows together into groups composed 14183 // entirely of matching records?” After the labeling process is finished, 14184 // users upload their answers/labels with a call to StartImportLabelsTaskRun. 14185 // After StartImportLabelsTaskRun finishes, all future runs of the machine learning 14186 // transform use the new and improved labels and perform a higher-quality transformation. 14187 // 14188 // By default, StartMLLabelingSetGenerationTaskRun continually learns from and 14189 // combines all labels that you upload unless you set Replace to true. If you 14190 // set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously 14191 // uploaded labels and learns only from the exact set that you upload. Replacing 14192 // labels can be helpful if you realize that you previously uploaded incorrect 14193 // labels, and you believe that they are having a negative effect on your transform 14194 // quality. 14195 // 14196 // You can check on the status of your task run by calling the GetMLTaskRun 14197 // operation. 14198 // 14199 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14200 // with awserr.Error's Code and Message methods to get detailed information about 14201 // the error. 14202 // 14203 // See the AWS API reference guide for AWS Glue's 14204 // API operation StartImportLabelsTaskRun for usage and error information. 14205 // 14206 // Returned Error Types: 14207 // * EntityNotFoundException 14208 // A specified entity does not exist 14209 // 14210 // * InvalidInputException 14211 // The input provided was not valid. 14212 // 14213 // * OperationTimeoutException 14214 // The operation timed out. 14215 // 14216 // * ResourceNumberLimitExceededException 14217 // A resource numerical limit was exceeded. 14218 // 14219 // * InternalServiceException 14220 // An internal service error occurred. 14221 // 14222 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun 14223 func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) { 14224 req, out := c.StartImportLabelsTaskRunRequest(input) 14225 return out, req.Send() 14226 } 14227 14228 // StartImportLabelsTaskRunWithContext is the same as StartImportLabelsTaskRun with the addition of 14229 // the ability to pass a context and additional request options. 14230 // 14231 // See StartImportLabelsTaskRun for details on how to use this API operation. 14232 // 14233 // The context must be non-nil and will be used for request cancellation. If 14234 // the context is nil a panic will occur. In the future the SDK may create 14235 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14236 // for more information on using Contexts. 14237 func (c *Glue) StartImportLabelsTaskRunWithContext(ctx aws.Context, input *StartImportLabelsTaskRunInput, opts ...request.Option) (*StartImportLabelsTaskRunOutput, error) { 14238 req, out := c.StartImportLabelsTaskRunRequest(input) 14239 req.SetContext(ctx) 14240 req.ApplyOptions(opts...) 14241 return out, req.Send() 14242 } 14243 14244 const opStartJobRun = "StartJobRun" 14245 14246 // StartJobRunRequest generates a "aws/request.Request" representing the 14247 // client's request for the StartJobRun operation. The "output" return 14248 // value will be populated with the request's response once the request completes 14249 // successfully. 14250 // 14251 // Use "Send" method on the returned Request to send the API call to the service. 14252 // the "output" return value is not valid until after Send returns without error. 14253 // 14254 // See StartJobRun for more information on using the StartJobRun 14255 // API call, and error handling. 14256 // 14257 // This method is useful when you want to inject custom logic or configuration 14258 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14259 // 14260 // 14261 // // Example sending a request using the StartJobRunRequest method. 14262 // req, resp := client.StartJobRunRequest(params) 14263 // 14264 // err := req.Send() 14265 // if err == nil { // resp is now filled 14266 // fmt.Println(resp) 14267 // } 14268 // 14269 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun 14270 func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { 14271 op := &request.Operation{ 14272 Name: opStartJobRun, 14273 HTTPMethod: "POST", 14274 HTTPPath: "/", 14275 } 14276 14277 if input == nil { 14278 input = &StartJobRunInput{} 14279 } 14280 14281 output = &StartJobRunOutput{} 14282 req = c.newRequest(op, input, output) 14283 return 14284 } 14285 14286 // StartJobRun API operation for AWS Glue. 14287 // 14288 // Starts a job run using a job definition. 14289 // 14290 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14291 // with awserr.Error's Code and Message methods to get detailed information about 14292 // the error. 14293 // 14294 // See the AWS API reference guide for AWS Glue's 14295 // API operation StartJobRun for usage and error information. 14296 // 14297 // Returned Error Types: 14298 // * InvalidInputException 14299 // The input provided was not valid. 14300 // 14301 // * EntityNotFoundException 14302 // A specified entity does not exist 14303 // 14304 // * InternalServiceException 14305 // An internal service error occurred. 14306 // 14307 // * OperationTimeoutException 14308 // The operation timed out. 14309 // 14310 // * ResourceNumberLimitExceededException 14311 // A resource numerical limit was exceeded. 14312 // 14313 // * ConcurrentRunsExceededException 14314 // Too many jobs are being run concurrently. 14315 // 14316 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun 14317 func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { 14318 req, out := c.StartJobRunRequest(input) 14319 return out, req.Send() 14320 } 14321 14322 // StartJobRunWithContext is the same as StartJobRun with the addition of 14323 // the ability to pass a context and additional request options. 14324 // 14325 // See StartJobRun for details on how to use this API operation. 14326 // 14327 // The context must be non-nil and will be used for request cancellation. If 14328 // the context is nil a panic will occur. In the future the SDK may create 14329 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14330 // for more information on using Contexts. 14331 func (c *Glue) StartJobRunWithContext(ctx aws.Context, input *StartJobRunInput, opts ...request.Option) (*StartJobRunOutput, error) { 14332 req, out := c.StartJobRunRequest(input) 14333 req.SetContext(ctx) 14334 req.ApplyOptions(opts...) 14335 return out, req.Send() 14336 } 14337 14338 const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun" 14339 14340 // StartMLEvaluationTaskRunRequest generates a "aws/request.Request" representing the 14341 // client's request for the StartMLEvaluationTaskRun operation. The "output" return 14342 // value will be populated with the request's response once the request completes 14343 // successfully. 14344 // 14345 // Use "Send" method on the returned Request to send the API call to the service. 14346 // the "output" return value is not valid until after Send returns without error. 14347 // 14348 // See StartMLEvaluationTaskRun for more information on using the StartMLEvaluationTaskRun 14349 // API call, and error handling. 14350 // 14351 // This method is useful when you want to inject custom logic or configuration 14352 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14353 // 14354 // 14355 // // Example sending a request using the StartMLEvaluationTaskRunRequest method. 14356 // req, resp := client.StartMLEvaluationTaskRunRequest(params) 14357 // 14358 // err := req.Send() 14359 // if err == nil { // resp is now filled 14360 // fmt.Println(resp) 14361 // } 14362 // 14363 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun 14364 func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) { 14365 op := &request.Operation{ 14366 Name: opStartMLEvaluationTaskRun, 14367 HTTPMethod: "POST", 14368 HTTPPath: "/", 14369 } 14370 14371 if input == nil { 14372 input = &StartMLEvaluationTaskRunInput{} 14373 } 14374 14375 output = &StartMLEvaluationTaskRunOutput{} 14376 req = c.newRequest(op, input, output) 14377 return 14378 } 14379 14380 // StartMLEvaluationTaskRun API operation for AWS Glue. 14381 // 14382 // Starts a task to estimate the quality of the transform. 14383 // 14384 // When you provide label sets as examples of truth, Glue machine learning uses 14385 // some of those examples to learn from them. The rest of the labels are used 14386 // as a test to estimate quality. 14387 // 14388 // Returns a unique identifier for the run. You can call GetMLTaskRun to get 14389 // more information about the stats of the EvaluationTaskRun. 14390 // 14391 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14392 // with awserr.Error's Code and Message methods to get detailed information about 14393 // the error. 14394 // 14395 // See the AWS API reference guide for AWS Glue's 14396 // API operation StartMLEvaluationTaskRun for usage and error information. 14397 // 14398 // Returned Error Types: 14399 // * EntityNotFoundException 14400 // A specified entity does not exist 14401 // 14402 // * InvalidInputException 14403 // The input provided was not valid. 14404 // 14405 // * OperationTimeoutException 14406 // The operation timed out. 14407 // 14408 // * InternalServiceException 14409 // An internal service error occurred. 14410 // 14411 // * ConcurrentRunsExceededException 14412 // Too many jobs are being run concurrently. 14413 // 14414 // * MLTransformNotReadyException 14415 // The machine learning transform is not ready to run. 14416 // 14417 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun 14418 func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) { 14419 req, out := c.StartMLEvaluationTaskRunRequest(input) 14420 return out, req.Send() 14421 } 14422 14423 // StartMLEvaluationTaskRunWithContext is the same as StartMLEvaluationTaskRun with the addition of 14424 // the ability to pass a context and additional request options. 14425 // 14426 // See StartMLEvaluationTaskRun for details on how to use this API operation. 14427 // 14428 // The context must be non-nil and will be used for request cancellation. If 14429 // the context is nil a panic will occur. In the future the SDK may create 14430 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14431 // for more information on using Contexts. 14432 func (c *Glue) StartMLEvaluationTaskRunWithContext(ctx aws.Context, input *StartMLEvaluationTaskRunInput, opts ...request.Option) (*StartMLEvaluationTaskRunOutput, error) { 14433 req, out := c.StartMLEvaluationTaskRunRequest(input) 14434 req.SetContext(ctx) 14435 req.ApplyOptions(opts...) 14436 return out, req.Send() 14437 } 14438 14439 const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskRun" 14440 14441 // StartMLLabelingSetGenerationTaskRunRequest generates a "aws/request.Request" representing the 14442 // client's request for the StartMLLabelingSetGenerationTaskRun operation. The "output" return 14443 // value will be populated with the request's response once the request completes 14444 // successfully. 14445 // 14446 // Use "Send" method on the returned Request to send the API call to the service. 14447 // the "output" return value is not valid until after Send returns without error. 14448 // 14449 // See StartMLLabelingSetGenerationTaskRun for more information on using the StartMLLabelingSetGenerationTaskRun 14450 // API call, and error handling. 14451 // 14452 // This method is useful when you want to inject custom logic or configuration 14453 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14454 // 14455 // 14456 // // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method. 14457 // req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params) 14458 // 14459 // err := req.Send() 14460 // if err == nil { // resp is now filled 14461 // fmt.Println(resp) 14462 // } 14463 // 14464 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun 14465 func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) { 14466 op := &request.Operation{ 14467 Name: opStartMLLabelingSetGenerationTaskRun, 14468 HTTPMethod: "POST", 14469 HTTPPath: "/", 14470 } 14471 14472 if input == nil { 14473 input = &StartMLLabelingSetGenerationTaskRunInput{} 14474 } 14475 14476 output = &StartMLLabelingSetGenerationTaskRunOutput{} 14477 req = c.newRequest(op, input, output) 14478 return 14479 } 14480 14481 // StartMLLabelingSetGenerationTaskRun API operation for AWS Glue. 14482 // 14483 // Starts the active learning workflow for your machine learning transform to 14484 // improve the transform's quality by generating label sets and adding labels. 14485 // 14486 // When the StartMLLabelingSetGenerationTaskRun finishes, Glue will have generated 14487 // a "labeling set" or a set of questions for humans to answer. 14488 // 14489 // In the case of the FindMatches transform, these questions are of the form, 14490 // “What is the correct way to group these rows together into groups composed 14491 // entirely of matching records?” 14492 // 14493 // After the labeling process is finished, you can upload your labels with a 14494 // call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, 14495 // all future runs of the machine learning transform will use the new and improved 14496 // labels and perform a higher-quality transformation. 14497 // 14498 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14499 // with awserr.Error's Code and Message methods to get detailed information about 14500 // the error. 14501 // 14502 // See the AWS API reference guide for AWS Glue's 14503 // API operation StartMLLabelingSetGenerationTaskRun for usage and error information. 14504 // 14505 // Returned Error Types: 14506 // * EntityNotFoundException 14507 // A specified entity does not exist 14508 // 14509 // * InvalidInputException 14510 // The input provided was not valid. 14511 // 14512 // * OperationTimeoutException 14513 // The operation timed out. 14514 // 14515 // * InternalServiceException 14516 // An internal service error occurred. 14517 // 14518 // * ConcurrentRunsExceededException 14519 // Too many jobs are being run concurrently. 14520 // 14521 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun 14522 func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) { 14523 req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input) 14524 return out, req.Send() 14525 } 14526 14527 // StartMLLabelingSetGenerationTaskRunWithContext is the same as StartMLLabelingSetGenerationTaskRun with the addition of 14528 // the ability to pass a context and additional request options. 14529 // 14530 // See StartMLLabelingSetGenerationTaskRun for details on how to use this API operation. 14531 // 14532 // The context must be non-nil and will be used for request cancellation. If 14533 // the context is nil a panic will occur. In the future the SDK may create 14534 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14535 // for more information on using Contexts. 14536 func (c *Glue) StartMLLabelingSetGenerationTaskRunWithContext(ctx aws.Context, input *StartMLLabelingSetGenerationTaskRunInput, opts ...request.Option) (*StartMLLabelingSetGenerationTaskRunOutput, error) { 14537 req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input) 14538 req.SetContext(ctx) 14539 req.ApplyOptions(opts...) 14540 return out, req.Send() 14541 } 14542 14543 const opStartTrigger = "StartTrigger" 14544 14545 // StartTriggerRequest generates a "aws/request.Request" representing the 14546 // client's request for the StartTrigger operation. The "output" return 14547 // value will be populated with the request's response once the request completes 14548 // successfully. 14549 // 14550 // Use "Send" method on the returned Request to send the API call to the service. 14551 // the "output" return value is not valid until after Send returns without error. 14552 // 14553 // See StartTrigger for more information on using the StartTrigger 14554 // API call, and error handling. 14555 // 14556 // This method is useful when you want to inject custom logic or configuration 14557 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14558 // 14559 // 14560 // // Example sending a request using the StartTriggerRequest method. 14561 // req, resp := client.StartTriggerRequest(params) 14562 // 14563 // err := req.Send() 14564 // if err == nil { // resp is now filled 14565 // fmt.Println(resp) 14566 // } 14567 // 14568 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger 14569 func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) { 14570 op := &request.Operation{ 14571 Name: opStartTrigger, 14572 HTTPMethod: "POST", 14573 HTTPPath: "/", 14574 } 14575 14576 if input == nil { 14577 input = &StartTriggerInput{} 14578 } 14579 14580 output = &StartTriggerOutput{} 14581 req = c.newRequest(op, input, output) 14582 return 14583 } 14584 14585 // StartTrigger API operation for AWS Glue. 14586 // 14587 // Starts an existing trigger. See Triggering Jobs (https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html) 14588 // for information about how different types of trigger are started. 14589 // 14590 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14591 // with awserr.Error's Code and Message methods to get detailed information about 14592 // the error. 14593 // 14594 // See the AWS API reference guide for AWS Glue's 14595 // API operation StartTrigger for usage and error information. 14596 // 14597 // Returned Error Types: 14598 // * InvalidInputException 14599 // The input provided was not valid. 14600 // 14601 // * InternalServiceException 14602 // An internal service error occurred. 14603 // 14604 // * EntityNotFoundException 14605 // A specified entity does not exist 14606 // 14607 // * OperationTimeoutException 14608 // The operation timed out. 14609 // 14610 // * ResourceNumberLimitExceededException 14611 // A resource numerical limit was exceeded. 14612 // 14613 // * ConcurrentRunsExceededException 14614 // Too many jobs are being run concurrently. 14615 // 14616 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger 14617 func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) { 14618 req, out := c.StartTriggerRequest(input) 14619 return out, req.Send() 14620 } 14621 14622 // StartTriggerWithContext is the same as StartTrigger with the addition of 14623 // the ability to pass a context and additional request options. 14624 // 14625 // See StartTrigger for details on how to use this API operation. 14626 // 14627 // The context must be non-nil and will be used for request cancellation. If 14628 // the context is nil a panic will occur. In the future the SDK may create 14629 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14630 // for more information on using Contexts. 14631 func (c *Glue) StartTriggerWithContext(ctx aws.Context, input *StartTriggerInput, opts ...request.Option) (*StartTriggerOutput, error) { 14632 req, out := c.StartTriggerRequest(input) 14633 req.SetContext(ctx) 14634 req.ApplyOptions(opts...) 14635 return out, req.Send() 14636 } 14637 14638 const opStartWorkflowRun = "StartWorkflowRun" 14639 14640 // StartWorkflowRunRequest generates a "aws/request.Request" representing the 14641 // client's request for the StartWorkflowRun operation. The "output" return 14642 // value will be populated with the request's response once the request completes 14643 // successfully. 14644 // 14645 // Use "Send" method on the returned Request to send the API call to the service. 14646 // the "output" return value is not valid until after Send returns without error. 14647 // 14648 // See StartWorkflowRun for more information on using the StartWorkflowRun 14649 // API call, and error handling. 14650 // 14651 // This method is useful when you want to inject custom logic or configuration 14652 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14653 // 14654 // 14655 // // Example sending a request using the StartWorkflowRunRequest method. 14656 // req, resp := client.StartWorkflowRunRequest(params) 14657 // 14658 // err := req.Send() 14659 // if err == nil { // resp is now filled 14660 // fmt.Println(resp) 14661 // } 14662 // 14663 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun 14664 func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) { 14665 op := &request.Operation{ 14666 Name: opStartWorkflowRun, 14667 HTTPMethod: "POST", 14668 HTTPPath: "/", 14669 } 14670 14671 if input == nil { 14672 input = &StartWorkflowRunInput{} 14673 } 14674 14675 output = &StartWorkflowRunOutput{} 14676 req = c.newRequest(op, input, output) 14677 return 14678 } 14679 14680 // StartWorkflowRun API operation for AWS Glue. 14681 // 14682 // Starts a new run of the specified workflow. 14683 // 14684 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14685 // with awserr.Error's Code and Message methods to get detailed information about 14686 // the error. 14687 // 14688 // See the AWS API reference guide for AWS Glue's 14689 // API operation StartWorkflowRun for usage and error information. 14690 // 14691 // Returned Error Types: 14692 // * InvalidInputException 14693 // The input provided was not valid. 14694 // 14695 // * EntityNotFoundException 14696 // A specified entity does not exist 14697 // 14698 // * InternalServiceException 14699 // An internal service error occurred. 14700 // 14701 // * OperationTimeoutException 14702 // The operation timed out. 14703 // 14704 // * ResourceNumberLimitExceededException 14705 // A resource numerical limit was exceeded. 14706 // 14707 // * ConcurrentRunsExceededException 14708 // Too many jobs are being run concurrently. 14709 // 14710 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun 14711 func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) { 14712 req, out := c.StartWorkflowRunRequest(input) 14713 return out, req.Send() 14714 } 14715 14716 // StartWorkflowRunWithContext is the same as StartWorkflowRun with the addition of 14717 // the ability to pass a context and additional request options. 14718 // 14719 // See StartWorkflowRun for details on how to use this API operation. 14720 // 14721 // The context must be non-nil and will be used for request cancellation. If 14722 // the context is nil a panic will occur. In the future the SDK may create 14723 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14724 // for more information on using Contexts. 14725 func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflowRunInput, opts ...request.Option) (*StartWorkflowRunOutput, error) { 14726 req, out := c.StartWorkflowRunRequest(input) 14727 req.SetContext(ctx) 14728 req.ApplyOptions(opts...) 14729 return out, req.Send() 14730 } 14731 14732 const opStopCrawler = "StopCrawler" 14733 14734 // StopCrawlerRequest generates a "aws/request.Request" representing the 14735 // client's request for the StopCrawler operation. The "output" return 14736 // value will be populated with the request's response once the request completes 14737 // successfully. 14738 // 14739 // Use "Send" method on the returned Request to send the API call to the service. 14740 // the "output" return value is not valid until after Send returns without error. 14741 // 14742 // See StopCrawler for more information on using the StopCrawler 14743 // API call, and error handling. 14744 // 14745 // This method is useful when you want to inject custom logic or configuration 14746 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14747 // 14748 // 14749 // // Example sending a request using the StopCrawlerRequest method. 14750 // req, resp := client.StopCrawlerRequest(params) 14751 // 14752 // err := req.Send() 14753 // if err == nil { // resp is now filled 14754 // fmt.Println(resp) 14755 // } 14756 // 14757 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler 14758 func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) { 14759 op := &request.Operation{ 14760 Name: opStopCrawler, 14761 HTTPMethod: "POST", 14762 HTTPPath: "/", 14763 } 14764 14765 if input == nil { 14766 input = &StopCrawlerInput{} 14767 } 14768 14769 output = &StopCrawlerOutput{} 14770 req = c.newRequest(op, input, output) 14771 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 14772 return 14773 } 14774 14775 // StopCrawler API operation for AWS Glue. 14776 // 14777 // If the specified crawler is running, stops the crawl. 14778 // 14779 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14780 // with awserr.Error's Code and Message methods to get detailed information about 14781 // the error. 14782 // 14783 // See the AWS API reference guide for AWS Glue's 14784 // API operation StopCrawler for usage and error information. 14785 // 14786 // Returned Error Types: 14787 // * EntityNotFoundException 14788 // A specified entity does not exist 14789 // 14790 // * CrawlerNotRunningException 14791 // The specified crawler is not running. 14792 // 14793 // * CrawlerStoppingException 14794 // The specified crawler is stopping. 14795 // 14796 // * OperationTimeoutException 14797 // The operation timed out. 14798 // 14799 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler 14800 func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) { 14801 req, out := c.StopCrawlerRequest(input) 14802 return out, req.Send() 14803 } 14804 14805 // StopCrawlerWithContext is the same as StopCrawler with the addition of 14806 // the ability to pass a context and additional request options. 14807 // 14808 // See StopCrawler for details on how to use this API operation. 14809 // 14810 // The context must be non-nil and will be used for request cancellation. If 14811 // the context is nil a panic will occur. In the future the SDK may create 14812 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14813 // for more information on using Contexts. 14814 func (c *Glue) StopCrawlerWithContext(ctx aws.Context, input *StopCrawlerInput, opts ...request.Option) (*StopCrawlerOutput, error) { 14815 req, out := c.StopCrawlerRequest(input) 14816 req.SetContext(ctx) 14817 req.ApplyOptions(opts...) 14818 return out, req.Send() 14819 } 14820 14821 const opStopCrawlerSchedule = "StopCrawlerSchedule" 14822 14823 // StopCrawlerScheduleRequest generates a "aws/request.Request" representing the 14824 // client's request for the StopCrawlerSchedule operation. The "output" return 14825 // value will be populated with the request's response once the request completes 14826 // successfully. 14827 // 14828 // Use "Send" method on the returned Request to send the API call to the service. 14829 // the "output" return value is not valid until after Send returns without error. 14830 // 14831 // See StopCrawlerSchedule for more information on using the StopCrawlerSchedule 14832 // API call, and error handling. 14833 // 14834 // This method is useful when you want to inject custom logic or configuration 14835 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14836 // 14837 // 14838 // // Example sending a request using the StopCrawlerScheduleRequest method. 14839 // req, resp := client.StopCrawlerScheduleRequest(params) 14840 // 14841 // err := req.Send() 14842 // if err == nil { // resp is now filled 14843 // fmt.Println(resp) 14844 // } 14845 // 14846 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule 14847 func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) { 14848 op := &request.Operation{ 14849 Name: opStopCrawlerSchedule, 14850 HTTPMethod: "POST", 14851 HTTPPath: "/", 14852 } 14853 14854 if input == nil { 14855 input = &StopCrawlerScheduleInput{} 14856 } 14857 14858 output = &StopCrawlerScheduleOutput{} 14859 req = c.newRequest(op, input, output) 14860 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 14861 return 14862 } 14863 14864 // StopCrawlerSchedule API operation for AWS Glue. 14865 // 14866 // Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does 14867 // not stop the crawler if it is already running. 14868 // 14869 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14870 // with awserr.Error's Code and Message methods to get detailed information about 14871 // the error. 14872 // 14873 // See the AWS API reference guide for AWS Glue's 14874 // API operation StopCrawlerSchedule for usage and error information. 14875 // 14876 // Returned Error Types: 14877 // * EntityNotFoundException 14878 // A specified entity does not exist 14879 // 14880 // * SchedulerNotRunningException 14881 // The specified scheduler is not running. 14882 // 14883 // * SchedulerTransitioningException 14884 // The specified scheduler is transitioning. 14885 // 14886 // * OperationTimeoutException 14887 // The operation timed out. 14888 // 14889 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule 14890 func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) { 14891 req, out := c.StopCrawlerScheduleRequest(input) 14892 return out, req.Send() 14893 } 14894 14895 // StopCrawlerScheduleWithContext is the same as StopCrawlerSchedule with the addition of 14896 // the ability to pass a context and additional request options. 14897 // 14898 // See StopCrawlerSchedule for details on how to use this API operation. 14899 // 14900 // The context must be non-nil and will be used for request cancellation. If 14901 // the context is nil a panic will occur. In the future the SDK may create 14902 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14903 // for more information on using Contexts. 14904 func (c *Glue) StopCrawlerScheduleWithContext(ctx aws.Context, input *StopCrawlerScheduleInput, opts ...request.Option) (*StopCrawlerScheduleOutput, error) { 14905 req, out := c.StopCrawlerScheduleRequest(input) 14906 req.SetContext(ctx) 14907 req.ApplyOptions(opts...) 14908 return out, req.Send() 14909 } 14910 14911 const opStopTrigger = "StopTrigger" 14912 14913 // StopTriggerRequest generates a "aws/request.Request" representing the 14914 // client's request for the StopTrigger operation. The "output" return 14915 // value will be populated with the request's response once the request completes 14916 // successfully. 14917 // 14918 // Use "Send" method on the returned Request to send the API call to the service. 14919 // the "output" return value is not valid until after Send returns without error. 14920 // 14921 // See StopTrigger for more information on using the StopTrigger 14922 // API call, and error handling. 14923 // 14924 // This method is useful when you want to inject custom logic or configuration 14925 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14926 // 14927 // 14928 // // Example sending a request using the StopTriggerRequest method. 14929 // req, resp := client.StopTriggerRequest(params) 14930 // 14931 // err := req.Send() 14932 // if err == nil { // resp is now filled 14933 // fmt.Println(resp) 14934 // } 14935 // 14936 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger 14937 func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) { 14938 op := &request.Operation{ 14939 Name: opStopTrigger, 14940 HTTPMethod: "POST", 14941 HTTPPath: "/", 14942 } 14943 14944 if input == nil { 14945 input = &StopTriggerInput{} 14946 } 14947 14948 output = &StopTriggerOutput{} 14949 req = c.newRequest(op, input, output) 14950 return 14951 } 14952 14953 // StopTrigger API operation for AWS Glue. 14954 // 14955 // Stops a specified trigger. 14956 // 14957 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14958 // with awserr.Error's Code and Message methods to get detailed information about 14959 // the error. 14960 // 14961 // See the AWS API reference guide for AWS Glue's 14962 // API operation StopTrigger for usage and error information. 14963 // 14964 // Returned Error Types: 14965 // * InvalidInputException 14966 // The input provided was not valid. 14967 // 14968 // * InternalServiceException 14969 // An internal service error occurred. 14970 // 14971 // * EntityNotFoundException 14972 // A specified entity does not exist 14973 // 14974 // * OperationTimeoutException 14975 // The operation timed out. 14976 // 14977 // * ConcurrentModificationException 14978 // Two processes are trying to modify a resource simultaneously. 14979 // 14980 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger 14981 func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) { 14982 req, out := c.StopTriggerRequest(input) 14983 return out, req.Send() 14984 } 14985 14986 // StopTriggerWithContext is the same as StopTrigger with the addition of 14987 // the ability to pass a context and additional request options. 14988 // 14989 // See StopTrigger for details on how to use this API operation. 14990 // 14991 // The context must be non-nil and will be used for request cancellation. If 14992 // the context is nil a panic will occur. In the future the SDK may create 14993 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14994 // for more information on using Contexts. 14995 func (c *Glue) StopTriggerWithContext(ctx aws.Context, input *StopTriggerInput, opts ...request.Option) (*StopTriggerOutput, error) { 14996 req, out := c.StopTriggerRequest(input) 14997 req.SetContext(ctx) 14998 req.ApplyOptions(opts...) 14999 return out, req.Send() 15000 } 15001 15002 const opStopWorkflowRun = "StopWorkflowRun" 15003 15004 // StopWorkflowRunRequest generates a "aws/request.Request" representing the 15005 // client's request for the StopWorkflowRun operation. The "output" return 15006 // value will be populated with the request's response once the request completes 15007 // successfully. 15008 // 15009 // Use "Send" method on the returned Request to send the API call to the service. 15010 // the "output" return value is not valid until after Send returns without error. 15011 // 15012 // See StopWorkflowRun for more information on using the StopWorkflowRun 15013 // API call, and error handling. 15014 // 15015 // This method is useful when you want to inject custom logic or configuration 15016 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15017 // 15018 // 15019 // // Example sending a request using the StopWorkflowRunRequest method. 15020 // req, resp := client.StopWorkflowRunRequest(params) 15021 // 15022 // err := req.Send() 15023 // if err == nil { // resp is now filled 15024 // fmt.Println(resp) 15025 // } 15026 // 15027 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun 15028 func (c *Glue) StopWorkflowRunRequest(input *StopWorkflowRunInput) (req *request.Request, output *StopWorkflowRunOutput) { 15029 op := &request.Operation{ 15030 Name: opStopWorkflowRun, 15031 HTTPMethod: "POST", 15032 HTTPPath: "/", 15033 } 15034 15035 if input == nil { 15036 input = &StopWorkflowRunInput{} 15037 } 15038 15039 output = &StopWorkflowRunOutput{} 15040 req = c.newRequest(op, input, output) 15041 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15042 return 15043 } 15044 15045 // StopWorkflowRun API operation for AWS Glue. 15046 // 15047 // Stops the execution of the specified workflow run. 15048 // 15049 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15050 // with awserr.Error's Code and Message methods to get detailed information about 15051 // the error. 15052 // 15053 // See the AWS API reference guide for AWS Glue's 15054 // API operation StopWorkflowRun for usage and error information. 15055 // 15056 // Returned Error Types: 15057 // * InvalidInputException 15058 // The input provided was not valid. 15059 // 15060 // * EntityNotFoundException 15061 // A specified entity does not exist 15062 // 15063 // * InternalServiceException 15064 // An internal service error occurred. 15065 // 15066 // * OperationTimeoutException 15067 // The operation timed out. 15068 // 15069 // * IllegalWorkflowStateException 15070 // The workflow is in an invalid state to perform a requested operation. 15071 // 15072 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun 15073 func (c *Glue) StopWorkflowRun(input *StopWorkflowRunInput) (*StopWorkflowRunOutput, error) { 15074 req, out := c.StopWorkflowRunRequest(input) 15075 return out, req.Send() 15076 } 15077 15078 // StopWorkflowRunWithContext is the same as StopWorkflowRun with the addition of 15079 // the ability to pass a context and additional request options. 15080 // 15081 // See StopWorkflowRun for details on how to use this API operation. 15082 // 15083 // The context must be non-nil and will be used for request cancellation. If 15084 // the context is nil a panic will occur. In the future the SDK may create 15085 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15086 // for more information on using Contexts. 15087 func (c *Glue) StopWorkflowRunWithContext(ctx aws.Context, input *StopWorkflowRunInput, opts ...request.Option) (*StopWorkflowRunOutput, error) { 15088 req, out := c.StopWorkflowRunRequest(input) 15089 req.SetContext(ctx) 15090 req.ApplyOptions(opts...) 15091 return out, req.Send() 15092 } 15093 15094 const opTagResource = "TagResource" 15095 15096 // TagResourceRequest generates a "aws/request.Request" representing the 15097 // client's request for the TagResource operation. The "output" return 15098 // value will be populated with the request's response once the request completes 15099 // successfully. 15100 // 15101 // Use "Send" method on the returned Request to send the API call to the service. 15102 // the "output" return value is not valid until after Send returns without error. 15103 // 15104 // See TagResource for more information on using the TagResource 15105 // API call, and error handling. 15106 // 15107 // This method is useful when you want to inject custom logic or configuration 15108 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15109 // 15110 // 15111 // // Example sending a request using the TagResourceRequest method. 15112 // req, resp := client.TagResourceRequest(params) 15113 // 15114 // err := req.Send() 15115 // if err == nil { // resp is now filled 15116 // fmt.Println(resp) 15117 // } 15118 // 15119 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource 15120 func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { 15121 op := &request.Operation{ 15122 Name: opTagResource, 15123 HTTPMethod: "POST", 15124 HTTPPath: "/", 15125 } 15126 15127 if input == nil { 15128 input = &TagResourceInput{} 15129 } 15130 15131 output = &TagResourceOutput{} 15132 req = c.newRequest(op, input, output) 15133 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15134 return 15135 } 15136 15137 // TagResource API operation for AWS Glue. 15138 // 15139 // Adds tags to a resource. A tag is a label you can assign to an Amazon Web 15140 // Services resource. In Glue, you can tag only certain resources. For information 15141 // about what resources you can tag, see Amazon Web Services Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html). 15142 // 15143 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15144 // with awserr.Error's Code and Message methods to get detailed information about 15145 // the error. 15146 // 15147 // See the AWS API reference guide for AWS Glue's 15148 // API operation TagResource for usage and error information. 15149 // 15150 // Returned Error Types: 15151 // * InvalidInputException 15152 // The input provided was not valid. 15153 // 15154 // * InternalServiceException 15155 // An internal service error occurred. 15156 // 15157 // * OperationTimeoutException 15158 // The operation timed out. 15159 // 15160 // * EntityNotFoundException 15161 // A specified entity does not exist 15162 // 15163 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource 15164 func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { 15165 req, out := c.TagResourceRequest(input) 15166 return out, req.Send() 15167 } 15168 15169 // TagResourceWithContext is the same as TagResource with the addition of 15170 // the ability to pass a context and additional request options. 15171 // 15172 // See TagResource for details on how to use this API operation. 15173 // 15174 // The context must be non-nil and will be used for request cancellation. If 15175 // the context is nil a panic will occur. In the future the SDK may create 15176 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15177 // for more information on using Contexts. 15178 func (c *Glue) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { 15179 req, out := c.TagResourceRequest(input) 15180 req.SetContext(ctx) 15181 req.ApplyOptions(opts...) 15182 return out, req.Send() 15183 } 15184 15185 const opUntagResource = "UntagResource" 15186 15187 // UntagResourceRequest generates a "aws/request.Request" representing the 15188 // client's request for the UntagResource operation. The "output" return 15189 // value will be populated with the request's response once the request completes 15190 // successfully. 15191 // 15192 // Use "Send" method on the returned Request to send the API call to the service. 15193 // the "output" return value is not valid until after Send returns without error. 15194 // 15195 // See UntagResource for more information on using the UntagResource 15196 // API call, and error handling. 15197 // 15198 // This method is useful when you want to inject custom logic or configuration 15199 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15200 // 15201 // 15202 // // Example sending a request using the UntagResourceRequest method. 15203 // req, resp := client.UntagResourceRequest(params) 15204 // 15205 // err := req.Send() 15206 // if err == nil { // resp is now filled 15207 // fmt.Println(resp) 15208 // } 15209 // 15210 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource 15211 func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { 15212 op := &request.Operation{ 15213 Name: opUntagResource, 15214 HTTPMethod: "POST", 15215 HTTPPath: "/", 15216 } 15217 15218 if input == nil { 15219 input = &UntagResourceInput{} 15220 } 15221 15222 output = &UntagResourceOutput{} 15223 req = c.newRequest(op, input, output) 15224 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15225 return 15226 } 15227 15228 // UntagResource API operation for AWS Glue. 15229 // 15230 // Removes tags from a resource. 15231 // 15232 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15233 // with awserr.Error's Code and Message methods to get detailed information about 15234 // the error. 15235 // 15236 // See the AWS API reference guide for AWS Glue's 15237 // API operation UntagResource for usage and error information. 15238 // 15239 // Returned Error Types: 15240 // * InvalidInputException 15241 // The input provided was not valid. 15242 // 15243 // * InternalServiceException 15244 // An internal service error occurred. 15245 // 15246 // * OperationTimeoutException 15247 // The operation timed out. 15248 // 15249 // * EntityNotFoundException 15250 // A specified entity does not exist 15251 // 15252 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource 15253 func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { 15254 req, out := c.UntagResourceRequest(input) 15255 return out, req.Send() 15256 } 15257 15258 // UntagResourceWithContext is the same as UntagResource with the addition of 15259 // the ability to pass a context and additional request options. 15260 // 15261 // See UntagResource for details on how to use this API operation. 15262 // 15263 // The context must be non-nil and will be used for request cancellation. If 15264 // the context is nil a panic will occur. In the future the SDK may create 15265 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15266 // for more information on using Contexts. 15267 func (c *Glue) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { 15268 req, out := c.UntagResourceRequest(input) 15269 req.SetContext(ctx) 15270 req.ApplyOptions(opts...) 15271 return out, req.Send() 15272 } 15273 15274 const opUpdateBlueprint = "UpdateBlueprint" 15275 15276 // UpdateBlueprintRequest generates a "aws/request.Request" representing the 15277 // client's request for the UpdateBlueprint operation. The "output" return 15278 // value will be populated with the request's response once the request completes 15279 // successfully. 15280 // 15281 // Use "Send" method on the returned Request to send the API call to the service. 15282 // the "output" return value is not valid until after Send returns without error. 15283 // 15284 // See UpdateBlueprint for more information on using the UpdateBlueprint 15285 // API call, and error handling. 15286 // 15287 // This method is useful when you want to inject custom logic or configuration 15288 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15289 // 15290 // 15291 // // Example sending a request using the UpdateBlueprintRequest method. 15292 // req, resp := client.UpdateBlueprintRequest(params) 15293 // 15294 // err := req.Send() 15295 // if err == nil { // resp is now filled 15296 // fmt.Println(resp) 15297 // } 15298 // 15299 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateBlueprint 15300 func (c *Glue) UpdateBlueprintRequest(input *UpdateBlueprintInput) (req *request.Request, output *UpdateBlueprintOutput) { 15301 op := &request.Operation{ 15302 Name: opUpdateBlueprint, 15303 HTTPMethod: "POST", 15304 HTTPPath: "/", 15305 } 15306 15307 if input == nil { 15308 input = &UpdateBlueprintInput{} 15309 } 15310 15311 output = &UpdateBlueprintOutput{} 15312 req = c.newRequest(op, input, output) 15313 return 15314 } 15315 15316 // UpdateBlueprint API operation for AWS Glue. 15317 // 15318 // Updates a registered blueprint. 15319 // 15320 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15321 // with awserr.Error's Code and Message methods to get detailed information about 15322 // the error. 15323 // 15324 // See the AWS API reference guide for AWS Glue's 15325 // API operation UpdateBlueprint for usage and error information. 15326 // 15327 // Returned Error Types: 15328 // * EntityNotFoundException 15329 // A specified entity does not exist 15330 // 15331 // * ConcurrentModificationException 15332 // Two processes are trying to modify a resource simultaneously. 15333 // 15334 // * InvalidInputException 15335 // The input provided was not valid. 15336 // 15337 // * OperationTimeoutException 15338 // The operation timed out. 15339 // 15340 // * InternalServiceException 15341 // An internal service error occurred. 15342 // 15343 // * IllegalBlueprintStateException 15344 // 15345 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateBlueprint 15346 func (c *Glue) UpdateBlueprint(input *UpdateBlueprintInput) (*UpdateBlueprintOutput, error) { 15347 req, out := c.UpdateBlueprintRequest(input) 15348 return out, req.Send() 15349 } 15350 15351 // UpdateBlueprintWithContext is the same as UpdateBlueprint with the addition of 15352 // the ability to pass a context and additional request options. 15353 // 15354 // See UpdateBlueprint for details on how to use this API operation. 15355 // 15356 // The context must be non-nil and will be used for request cancellation. If 15357 // the context is nil a panic will occur. In the future the SDK may create 15358 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15359 // for more information on using Contexts. 15360 func (c *Glue) UpdateBlueprintWithContext(ctx aws.Context, input *UpdateBlueprintInput, opts ...request.Option) (*UpdateBlueprintOutput, error) { 15361 req, out := c.UpdateBlueprintRequest(input) 15362 req.SetContext(ctx) 15363 req.ApplyOptions(opts...) 15364 return out, req.Send() 15365 } 15366 15367 const opUpdateClassifier = "UpdateClassifier" 15368 15369 // UpdateClassifierRequest generates a "aws/request.Request" representing the 15370 // client's request for the UpdateClassifier operation. The "output" return 15371 // value will be populated with the request's response once the request completes 15372 // successfully. 15373 // 15374 // Use "Send" method on the returned Request to send the API call to the service. 15375 // the "output" return value is not valid until after Send returns without error. 15376 // 15377 // See UpdateClassifier for more information on using the UpdateClassifier 15378 // API call, and error handling. 15379 // 15380 // This method is useful when you want to inject custom logic or configuration 15381 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15382 // 15383 // 15384 // // Example sending a request using the UpdateClassifierRequest method. 15385 // req, resp := client.UpdateClassifierRequest(params) 15386 // 15387 // err := req.Send() 15388 // if err == nil { // resp is now filled 15389 // fmt.Println(resp) 15390 // } 15391 // 15392 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier 15393 func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) { 15394 op := &request.Operation{ 15395 Name: opUpdateClassifier, 15396 HTTPMethod: "POST", 15397 HTTPPath: "/", 15398 } 15399 15400 if input == nil { 15401 input = &UpdateClassifierInput{} 15402 } 15403 15404 output = &UpdateClassifierOutput{} 15405 req = c.newRequest(op, input, output) 15406 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15407 return 15408 } 15409 15410 // UpdateClassifier API operation for AWS Glue. 15411 // 15412 // Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, 15413 // or a CsvClassifier, depending on which field is present). 15414 // 15415 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15416 // with awserr.Error's Code and Message methods to get detailed information about 15417 // the error. 15418 // 15419 // See the AWS API reference guide for AWS Glue's 15420 // API operation UpdateClassifier for usage and error information. 15421 // 15422 // Returned Error Types: 15423 // * InvalidInputException 15424 // The input provided was not valid. 15425 // 15426 // * VersionMismatchException 15427 // There was a version conflict. 15428 // 15429 // * EntityNotFoundException 15430 // A specified entity does not exist 15431 // 15432 // * OperationTimeoutException 15433 // The operation timed out. 15434 // 15435 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier 15436 func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) { 15437 req, out := c.UpdateClassifierRequest(input) 15438 return out, req.Send() 15439 } 15440 15441 // UpdateClassifierWithContext is the same as UpdateClassifier with the addition of 15442 // the ability to pass a context and additional request options. 15443 // 15444 // See UpdateClassifier for details on how to use this API operation. 15445 // 15446 // The context must be non-nil and will be used for request cancellation. If 15447 // the context is nil a panic will occur. In the future the SDK may create 15448 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15449 // for more information on using Contexts. 15450 func (c *Glue) UpdateClassifierWithContext(ctx aws.Context, input *UpdateClassifierInput, opts ...request.Option) (*UpdateClassifierOutput, error) { 15451 req, out := c.UpdateClassifierRequest(input) 15452 req.SetContext(ctx) 15453 req.ApplyOptions(opts...) 15454 return out, req.Send() 15455 } 15456 15457 const opUpdateColumnStatisticsForPartition = "UpdateColumnStatisticsForPartition" 15458 15459 // UpdateColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the 15460 // client's request for the UpdateColumnStatisticsForPartition operation. The "output" return 15461 // value will be populated with the request's response once the request completes 15462 // successfully. 15463 // 15464 // Use "Send" method on the returned Request to send the API call to the service. 15465 // the "output" return value is not valid until after Send returns without error. 15466 // 15467 // See UpdateColumnStatisticsForPartition for more information on using the UpdateColumnStatisticsForPartition 15468 // API call, and error handling. 15469 // 15470 // This method is useful when you want to inject custom logic or configuration 15471 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15472 // 15473 // 15474 // // Example sending a request using the UpdateColumnStatisticsForPartitionRequest method. 15475 // req, resp := client.UpdateColumnStatisticsForPartitionRequest(params) 15476 // 15477 // err := req.Send() 15478 // if err == nil { // resp is now filled 15479 // fmt.Println(resp) 15480 // } 15481 // 15482 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition 15483 func (c *Glue) UpdateColumnStatisticsForPartitionRequest(input *UpdateColumnStatisticsForPartitionInput) (req *request.Request, output *UpdateColumnStatisticsForPartitionOutput) { 15484 op := &request.Operation{ 15485 Name: opUpdateColumnStatisticsForPartition, 15486 HTTPMethod: "POST", 15487 HTTPPath: "/", 15488 } 15489 15490 if input == nil { 15491 input = &UpdateColumnStatisticsForPartitionInput{} 15492 } 15493 15494 output = &UpdateColumnStatisticsForPartitionOutput{} 15495 req = c.newRequest(op, input, output) 15496 return 15497 } 15498 15499 // UpdateColumnStatisticsForPartition API operation for AWS Glue. 15500 // 15501 // Creates or updates partition statistics of columns. 15502 // 15503 // The Identity and Access Management (IAM) permission required for this operation 15504 // is UpdatePartition. 15505 // 15506 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15507 // with awserr.Error's Code and Message methods to get detailed information about 15508 // the error. 15509 // 15510 // See the AWS API reference guide for AWS Glue's 15511 // API operation UpdateColumnStatisticsForPartition for usage and error information. 15512 // 15513 // Returned Error Types: 15514 // * EntityNotFoundException 15515 // A specified entity does not exist 15516 // 15517 // * InvalidInputException 15518 // The input provided was not valid. 15519 // 15520 // * InternalServiceException 15521 // An internal service error occurred. 15522 // 15523 // * OperationTimeoutException 15524 // The operation timed out. 15525 // 15526 // * EncryptionException 15527 // An encryption operation failed. 15528 // 15529 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition 15530 func (c *Glue) UpdateColumnStatisticsForPartition(input *UpdateColumnStatisticsForPartitionInput) (*UpdateColumnStatisticsForPartitionOutput, error) { 15531 req, out := c.UpdateColumnStatisticsForPartitionRequest(input) 15532 return out, req.Send() 15533 } 15534 15535 // UpdateColumnStatisticsForPartitionWithContext is the same as UpdateColumnStatisticsForPartition with the addition of 15536 // the ability to pass a context and additional request options. 15537 // 15538 // See UpdateColumnStatisticsForPartition for details on how to use this API operation. 15539 // 15540 // The context must be non-nil and will be used for request cancellation. If 15541 // the context is nil a panic will occur. In the future the SDK may create 15542 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15543 // for more information on using Contexts. 15544 func (c *Glue) UpdateColumnStatisticsForPartitionWithContext(ctx aws.Context, input *UpdateColumnStatisticsForPartitionInput, opts ...request.Option) (*UpdateColumnStatisticsForPartitionOutput, error) { 15545 req, out := c.UpdateColumnStatisticsForPartitionRequest(input) 15546 req.SetContext(ctx) 15547 req.ApplyOptions(opts...) 15548 return out, req.Send() 15549 } 15550 15551 const opUpdateColumnStatisticsForTable = "UpdateColumnStatisticsForTable" 15552 15553 // UpdateColumnStatisticsForTableRequest generates a "aws/request.Request" representing the 15554 // client's request for the UpdateColumnStatisticsForTable operation. The "output" return 15555 // value will be populated with the request's response once the request completes 15556 // successfully. 15557 // 15558 // Use "Send" method on the returned Request to send the API call to the service. 15559 // the "output" return value is not valid until after Send returns without error. 15560 // 15561 // See UpdateColumnStatisticsForTable for more information on using the UpdateColumnStatisticsForTable 15562 // API call, and error handling. 15563 // 15564 // This method is useful when you want to inject custom logic or configuration 15565 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15566 // 15567 // 15568 // // Example sending a request using the UpdateColumnStatisticsForTableRequest method. 15569 // req, resp := client.UpdateColumnStatisticsForTableRequest(params) 15570 // 15571 // err := req.Send() 15572 // if err == nil { // resp is now filled 15573 // fmt.Println(resp) 15574 // } 15575 // 15576 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable 15577 func (c *Glue) UpdateColumnStatisticsForTableRequest(input *UpdateColumnStatisticsForTableInput) (req *request.Request, output *UpdateColumnStatisticsForTableOutput) { 15578 op := &request.Operation{ 15579 Name: opUpdateColumnStatisticsForTable, 15580 HTTPMethod: "POST", 15581 HTTPPath: "/", 15582 } 15583 15584 if input == nil { 15585 input = &UpdateColumnStatisticsForTableInput{} 15586 } 15587 15588 output = &UpdateColumnStatisticsForTableOutput{} 15589 req = c.newRequest(op, input, output) 15590 return 15591 } 15592 15593 // UpdateColumnStatisticsForTable API operation for AWS Glue. 15594 // 15595 // Creates or updates table statistics of columns. 15596 // 15597 // The Identity and Access Management (IAM) permission required for this operation 15598 // is UpdateTable. 15599 // 15600 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15601 // with awserr.Error's Code and Message methods to get detailed information about 15602 // the error. 15603 // 15604 // See the AWS API reference guide for AWS Glue's 15605 // API operation UpdateColumnStatisticsForTable for usage and error information. 15606 // 15607 // Returned Error Types: 15608 // * EntityNotFoundException 15609 // A specified entity does not exist 15610 // 15611 // * InvalidInputException 15612 // The input provided was not valid. 15613 // 15614 // * InternalServiceException 15615 // An internal service error occurred. 15616 // 15617 // * OperationTimeoutException 15618 // The operation timed out. 15619 // 15620 // * EncryptionException 15621 // An encryption operation failed. 15622 // 15623 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable 15624 func (c *Glue) UpdateColumnStatisticsForTable(input *UpdateColumnStatisticsForTableInput) (*UpdateColumnStatisticsForTableOutput, error) { 15625 req, out := c.UpdateColumnStatisticsForTableRequest(input) 15626 return out, req.Send() 15627 } 15628 15629 // UpdateColumnStatisticsForTableWithContext is the same as UpdateColumnStatisticsForTable with the addition of 15630 // the ability to pass a context and additional request options. 15631 // 15632 // See UpdateColumnStatisticsForTable for details on how to use this API operation. 15633 // 15634 // The context must be non-nil and will be used for request cancellation. If 15635 // the context is nil a panic will occur. In the future the SDK may create 15636 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15637 // for more information on using Contexts. 15638 func (c *Glue) UpdateColumnStatisticsForTableWithContext(ctx aws.Context, input *UpdateColumnStatisticsForTableInput, opts ...request.Option) (*UpdateColumnStatisticsForTableOutput, error) { 15639 req, out := c.UpdateColumnStatisticsForTableRequest(input) 15640 req.SetContext(ctx) 15641 req.ApplyOptions(opts...) 15642 return out, req.Send() 15643 } 15644 15645 const opUpdateConnection = "UpdateConnection" 15646 15647 // UpdateConnectionRequest generates a "aws/request.Request" representing the 15648 // client's request for the UpdateConnection operation. The "output" return 15649 // value will be populated with the request's response once the request completes 15650 // successfully. 15651 // 15652 // Use "Send" method on the returned Request to send the API call to the service. 15653 // the "output" return value is not valid until after Send returns without error. 15654 // 15655 // See UpdateConnection for more information on using the UpdateConnection 15656 // API call, and error handling. 15657 // 15658 // This method is useful when you want to inject custom logic or configuration 15659 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15660 // 15661 // 15662 // // Example sending a request using the UpdateConnectionRequest method. 15663 // req, resp := client.UpdateConnectionRequest(params) 15664 // 15665 // err := req.Send() 15666 // if err == nil { // resp is now filled 15667 // fmt.Println(resp) 15668 // } 15669 // 15670 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection 15671 func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { 15672 op := &request.Operation{ 15673 Name: opUpdateConnection, 15674 HTTPMethod: "POST", 15675 HTTPPath: "/", 15676 } 15677 15678 if input == nil { 15679 input = &UpdateConnectionInput{} 15680 } 15681 15682 output = &UpdateConnectionOutput{} 15683 req = c.newRequest(op, input, output) 15684 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15685 return 15686 } 15687 15688 // UpdateConnection API operation for AWS Glue. 15689 // 15690 // Updates a connection definition in the Data Catalog. 15691 // 15692 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15693 // with awserr.Error's Code and Message methods to get detailed information about 15694 // the error. 15695 // 15696 // See the AWS API reference guide for AWS Glue's 15697 // API operation UpdateConnection for usage and error information. 15698 // 15699 // Returned Error Types: 15700 // * InvalidInputException 15701 // The input provided was not valid. 15702 // 15703 // * EntityNotFoundException 15704 // A specified entity does not exist 15705 // 15706 // * OperationTimeoutException 15707 // The operation timed out. 15708 // 15709 // * InvalidInputException 15710 // The input provided was not valid. 15711 // 15712 // * EncryptionException 15713 // An encryption operation failed. 15714 // 15715 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection 15716 func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { 15717 req, out := c.UpdateConnectionRequest(input) 15718 return out, req.Send() 15719 } 15720 15721 // UpdateConnectionWithContext is the same as UpdateConnection with the addition of 15722 // the ability to pass a context and additional request options. 15723 // 15724 // See UpdateConnection for details on how to use this API operation. 15725 // 15726 // The context must be non-nil and will be used for request cancellation. If 15727 // the context is nil a panic will occur. In the future the SDK may create 15728 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15729 // for more information on using Contexts. 15730 func (c *Glue) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) { 15731 req, out := c.UpdateConnectionRequest(input) 15732 req.SetContext(ctx) 15733 req.ApplyOptions(opts...) 15734 return out, req.Send() 15735 } 15736 15737 const opUpdateCrawler = "UpdateCrawler" 15738 15739 // UpdateCrawlerRequest generates a "aws/request.Request" representing the 15740 // client's request for the UpdateCrawler operation. The "output" return 15741 // value will be populated with the request's response once the request completes 15742 // successfully. 15743 // 15744 // Use "Send" method on the returned Request to send the API call to the service. 15745 // the "output" return value is not valid until after Send returns without error. 15746 // 15747 // See UpdateCrawler for more information on using the UpdateCrawler 15748 // API call, and error handling. 15749 // 15750 // This method is useful when you want to inject custom logic or configuration 15751 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15752 // 15753 // 15754 // // Example sending a request using the UpdateCrawlerRequest method. 15755 // req, resp := client.UpdateCrawlerRequest(params) 15756 // 15757 // err := req.Send() 15758 // if err == nil { // resp is now filled 15759 // fmt.Println(resp) 15760 // } 15761 // 15762 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler 15763 func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) { 15764 op := &request.Operation{ 15765 Name: opUpdateCrawler, 15766 HTTPMethod: "POST", 15767 HTTPPath: "/", 15768 } 15769 15770 if input == nil { 15771 input = &UpdateCrawlerInput{} 15772 } 15773 15774 output = &UpdateCrawlerOutput{} 15775 req = c.newRequest(op, input, output) 15776 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15777 return 15778 } 15779 15780 // UpdateCrawler API operation for AWS Glue. 15781 // 15782 // Updates a crawler. If a crawler is running, you must stop it using StopCrawler 15783 // before updating it. 15784 // 15785 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15786 // with awserr.Error's Code and Message methods to get detailed information about 15787 // the error. 15788 // 15789 // See the AWS API reference guide for AWS Glue's 15790 // API operation UpdateCrawler for usage and error information. 15791 // 15792 // Returned Error Types: 15793 // * InvalidInputException 15794 // The input provided was not valid. 15795 // 15796 // * VersionMismatchException 15797 // There was a version conflict. 15798 // 15799 // * EntityNotFoundException 15800 // A specified entity does not exist 15801 // 15802 // * CrawlerRunningException 15803 // The operation cannot be performed because the crawler is already running. 15804 // 15805 // * OperationTimeoutException 15806 // The operation timed out. 15807 // 15808 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler 15809 func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) { 15810 req, out := c.UpdateCrawlerRequest(input) 15811 return out, req.Send() 15812 } 15813 15814 // UpdateCrawlerWithContext is the same as UpdateCrawler with the addition of 15815 // the ability to pass a context and additional request options. 15816 // 15817 // See UpdateCrawler for details on how to use this API operation. 15818 // 15819 // The context must be non-nil and will be used for request cancellation. If 15820 // the context is nil a panic will occur. In the future the SDK may create 15821 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15822 // for more information on using Contexts. 15823 func (c *Glue) UpdateCrawlerWithContext(ctx aws.Context, input *UpdateCrawlerInput, opts ...request.Option) (*UpdateCrawlerOutput, error) { 15824 req, out := c.UpdateCrawlerRequest(input) 15825 req.SetContext(ctx) 15826 req.ApplyOptions(opts...) 15827 return out, req.Send() 15828 } 15829 15830 const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule" 15831 15832 // UpdateCrawlerScheduleRequest generates a "aws/request.Request" representing the 15833 // client's request for the UpdateCrawlerSchedule operation. The "output" return 15834 // value will be populated with the request's response once the request completes 15835 // successfully. 15836 // 15837 // Use "Send" method on the returned Request to send the API call to the service. 15838 // the "output" return value is not valid until after Send returns without error. 15839 // 15840 // See UpdateCrawlerSchedule for more information on using the UpdateCrawlerSchedule 15841 // API call, and error handling. 15842 // 15843 // This method is useful when you want to inject custom logic or configuration 15844 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15845 // 15846 // 15847 // // Example sending a request using the UpdateCrawlerScheduleRequest method. 15848 // req, resp := client.UpdateCrawlerScheduleRequest(params) 15849 // 15850 // err := req.Send() 15851 // if err == nil { // resp is now filled 15852 // fmt.Println(resp) 15853 // } 15854 // 15855 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule 15856 func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) { 15857 op := &request.Operation{ 15858 Name: opUpdateCrawlerSchedule, 15859 HTTPMethod: "POST", 15860 HTTPPath: "/", 15861 } 15862 15863 if input == nil { 15864 input = &UpdateCrawlerScheduleInput{} 15865 } 15866 15867 output = &UpdateCrawlerScheduleOutput{} 15868 req = c.newRequest(op, input, output) 15869 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15870 return 15871 } 15872 15873 // UpdateCrawlerSchedule API operation for AWS Glue. 15874 // 15875 // Updates the schedule of a crawler using a cron expression. 15876 // 15877 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15878 // with awserr.Error's Code and Message methods to get detailed information about 15879 // the error. 15880 // 15881 // See the AWS API reference guide for AWS Glue's 15882 // API operation UpdateCrawlerSchedule for usage and error information. 15883 // 15884 // Returned Error Types: 15885 // * EntityNotFoundException 15886 // A specified entity does not exist 15887 // 15888 // * InvalidInputException 15889 // The input provided was not valid. 15890 // 15891 // * VersionMismatchException 15892 // There was a version conflict. 15893 // 15894 // * SchedulerTransitioningException 15895 // The specified scheduler is transitioning. 15896 // 15897 // * OperationTimeoutException 15898 // The operation timed out. 15899 // 15900 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule 15901 func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) { 15902 req, out := c.UpdateCrawlerScheduleRequest(input) 15903 return out, req.Send() 15904 } 15905 15906 // UpdateCrawlerScheduleWithContext is the same as UpdateCrawlerSchedule with the addition of 15907 // the ability to pass a context and additional request options. 15908 // 15909 // See UpdateCrawlerSchedule for details on how to use this API operation. 15910 // 15911 // The context must be non-nil and will be used for request cancellation. If 15912 // the context is nil a panic will occur. In the future the SDK may create 15913 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15914 // for more information on using Contexts. 15915 func (c *Glue) UpdateCrawlerScheduleWithContext(ctx aws.Context, input *UpdateCrawlerScheduleInput, opts ...request.Option) (*UpdateCrawlerScheduleOutput, error) { 15916 req, out := c.UpdateCrawlerScheduleRequest(input) 15917 req.SetContext(ctx) 15918 req.ApplyOptions(opts...) 15919 return out, req.Send() 15920 } 15921 15922 const opUpdateDatabase = "UpdateDatabase" 15923 15924 // UpdateDatabaseRequest generates a "aws/request.Request" representing the 15925 // client's request for the UpdateDatabase operation. The "output" return 15926 // value will be populated with the request's response once the request completes 15927 // successfully. 15928 // 15929 // Use "Send" method on the returned Request to send the API call to the service. 15930 // the "output" return value is not valid until after Send returns without error. 15931 // 15932 // See UpdateDatabase for more information on using the UpdateDatabase 15933 // API call, and error handling. 15934 // 15935 // This method is useful when you want to inject custom logic or configuration 15936 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15937 // 15938 // 15939 // // Example sending a request using the UpdateDatabaseRequest method. 15940 // req, resp := client.UpdateDatabaseRequest(params) 15941 // 15942 // err := req.Send() 15943 // if err == nil { // resp is now filled 15944 // fmt.Println(resp) 15945 // } 15946 // 15947 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase 15948 func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) { 15949 op := &request.Operation{ 15950 Name: opUpdateDatabase, 15951 HTTPMethod: "POST", 15952 HTTPPath: "/", 15953 } 15954 15955 if input == nil { 15956 input = &UpdateDatabaseInput{} 15957 } 15958 15959 output = &UpdateDatabaseOutput{} 15960 req = c.newRequest(op, input, output) 15961 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 15962 return 15963 } 15964 15965 // UpdateDatabase API operation for AWS Glue. 15966 // 15967 // Updates an existing database definition in a Data Catalog. 15968 // 15969 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15970 // with awserr.Error's Code and Message methods to get detailed information about 15971 // the error. 15972 // 15973 // See the AWS API reference guide for AWS Glue's 15974 // API operation UpdateDatabase for usage and error information. 15975 // 15976 // Returned Error Types: 15977 // * EntityNotFoundException 15978 // A specified entity does not exist 15979 // 15980 // * InvalidInputException 15981 // The input provided was not valid. 15982 // 15983 // * InternalServiceException 15984 // An internal service error occurred. 15985 // 15986 // * OperationTimeoutException 15987 // The operation timed out. 15988 // 15989 // * EncryptionException 15990 // An encryption operation failed. 15991 // 15992 // * ConcurrentModificationException 15993 // Two processes are trying to modify a resource simultaneously. 15994 // 15995 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase 15996 func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) { 15997 req, out := c.UpdateDatabaseRequest(input) 15998 return out, req.Send() 15999 } 16000 16001 // UpdateDatabaseWithContext is the same as UpdateDatabase with the addition of 16002 // the ability to pass a context and additional request options. 16003 // 16004 // See UpdateDatabase for details on how to use this API operation. 16005 // 16006 // The context must be non-nil and will be used for request cancellation. If 16007 // the context is nil a panic will occur. In the future the SDK may create 16008 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16009 // for more information on using Contexts. 16010 func (c *Glue) UpdateDatabaseWithContext(ctx aws.Context, input *UpdateDatabaseInput, opts ...request.Option) (*UpdateDatabaseOutput, error) { 16011 req, out := c.UpdateDatabaseRequest(input) 16012 req.SetContext(ctx) 16013 req.ApplyOptions(opts...) 16014 return out, req.Send() 16015 } 16016 16017 const opUpdateDevEndpoint = "UpdateDevEndpoint" 16018 16019 // UpdateDevEndpointRequest generates a "aws/request.Request" representing the 16020 // client's request for the UpdateDevEndpoint operation. The "output" return 16021 // value will be populated with the request's response once the request completes 16022 // successfully. 16023 // 16024 // Use "Send" method on the returned Request to send the API call to the service. 16025 // the "output" return value is not valid until after Send returns without error. 16026 // 16027 // See UpdateDevEndpoint for more information on using the UpdateDevEndpoint 16028 // API call, and error handling. 16029 // 16030 // This method is useful when you want to inject custom logic or configuration 16031 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16032 // 16033 // 16034 // // Example sending a request using the UpdateDevEndpointRequest method. 16035 // req, resp := client.UpdateDevEndpointRequest(params) 16036 // 16037 // err := req.Send() 16038 // if err == nil { // resp is now filled 16039 // fmt.Println(resp) 16040 // } 16041 // 16042 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint 16043 func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) { 16044 op := &request.Operation{ 16045 Name: opUpdateDevEndpoint, 16046 HTTPMethod: "POST", 16047 HTTPPath: "/", 16048 } 16049 16050 if input == nil { 16051 input = &UpdateDevEndpointInput{} 16052 } 16053 16054 output = &UpdateDevEndpointOutput{} 16055 req = c.newRequest(op, input, output) 16056 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 16057 return 16058 } 16059 16060 // UpdateDevEndpoint API operation for AWS Glue. 16061 // 16062 // Updates a specified development endpoint. 16063 // 16064 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16065 // with awserr.Error's Code and Message methods to get detailed information about 16066 // the error. 16067 // 16068 // See the AWS API reference guide for AWS Glue's 16069 // API operation UpdateDevEndpoint for usage and error information. 16070 // 16071 // Returned Error Types: 16072 // * EntityNotFoundException 16073 // A specified entity does not exist 16074 // 16075 // * InternalServiceException 16076 // An internal service error occurred. 16077 // 16078 // * OperationTimeoutException 16079 // The operation timed out. 16080 // 16081 // * InvalidInputException 16082 // The input provided was not valid. 16083 // 16084 // * ValidationException 16085 // A value could not be validated. 16086 // 16087 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint 16088 func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) { 16089 req, out := c.UpdateDevEndpointRequest(input) 16090 return out, req.Send() 16091 } 16092 16093 // UpdateDevEndpointWithContext is the same as UpdateDevEndpoint with the addition of 16094 // the ability to pass a context and additional request options. 16095 // 16096 // See UpdateDevEndpoint for details on how to use this API operation. 16097 // 16098 // The context must be non-nil and will be used for request cancellation. If 16099 // the context is nil a panic will occur. In the future the SDK may create 16100 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16101 // for more information on using Contexts. 16102 func (c *Glue) UpdateDevEndpointWithContext(ctx aws.Context, input *UpdateDevEndpointInput, opts ...request.Option) (*UpdateDevEndpointOutput, error) { 16103 req, out := c.UpdateDevEndpointRequest(input) 16104 req.SetContext(ctx) 16105 req.ApplyOptions(opts...) 16106 return out, req.Send() 16107 } 16108 16109 const opUpdateJob = "UpdateJob" 16110 16111 // UpdateJobRequest generates a "aws/request.Request" representing the 16112 // client's request for the UpdateJob operation. The "output" return 16113 // value will be populated with the request's response once the request completes 16114 // successfully. 16115 // 16116 // Use "Send" method on the returned Request to send the API call to the service. 16117 // the "output" return value is not valid until after Send returns without error. 16118 // 16119 // See UpdateJob for more information on using the UpdateJob 16120 // API call, and error handling. 16121 // 16122 // This method is useful when you want to inject custom logic or configuration 16123 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16124 // 16125 // 16126 // // Example sending a request using the UpdateJobRequest method. 16127 // req, resp := client.UpdateJobRequest(params) 16128 // 16129 // err := req.Send() 16130 // if err == nil { // resp is now filled 16131 // fmt.Println(resp) 16132 // } 16133 // 16134 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob 16135 func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) { 16136 op := &request.Operation{ 16137 Name: opUpdateJob, 16138 HTTPMethod: "POST", 16139 HTTPPath: "/", 16140 } 16141 16142 if input == nil { 16143 input = &UpdateJobInput{} 16144 } 16145 16146 output = &UpdateJobOutput{} 16147 req = c.newRequest(op, input, output) 16148 return 16149 } 16150 16151 // UpdateJob API operation for AWS Glue. 16152 // 16153 // Updates an existing job definition. 16154 // 16155 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16156 // with awserr.Error's Code and Message methods to get detailed information about 16157 // the error. 16158 // 16159 // See the AWS API reference guide for AWS Glue's 16160 // API operation UpdateJob for usage and error information. 16161 // 16162 // Returned Error Types: 16163 // * InvalidInputException 16164 // The input provided was not valid. 16165 // 16166 // * EntityNotFoundException 16167 // A specified entity does not exist 16168 // 16169 // * InternalServiceException 16170 // An internal service error occurred. 16171 // 16172 // * OperationTimeoutException 16173 // The operation timed out. 16174 // 16175 // * ConcurrentModificationException 16176 // Two processes are trying to modify a resource simultaneously. 16177 // 16178 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob 16179 func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) { 16180 req, out := c.UpdateJobRequest(input) 16181 return out, req.Send() 16182 } 16183 16184 // UpdateJobWithContext is the same as UpdateJob with the addition of 16185 // the ability to pass a context and additional request options. 16186 // 16187 // See UpdateJob for details on how to use this API operation. 16188 // 16189 // The context must be non-nil and will be used for request cancellation. If 16190 // the context is nil a panic will occur. In the future the SDK may create 16191 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16192 // for more information on using Contexts. 16193 func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts ...request.Option) (*UpdateJobOutput, error) { 16194 req, out := c.UpdateJobRequest(input) 16195 req.SetContext(ctx) 16196 req.ApplyOptions(opts...) 16197 return out, req.Send() 16198 } 16199 16200 const opUpdateMLTransform = "UpdateMLTransform" 16201 16202 // UpdateMLTransformRequest generates a "aws/request.Request" representing the 16203 // client's request for the UpdateMLTransform operation. The "output" return 16204 // value will be populated with the request's response once the request completes 16205 // successfully. 16206 // 16207 // Use "Send" method on the returned Request to send the API call to the service. 16208 // the "output" return value is not valid until after Send returns without error. 16209 // 16210 // See UpdateMLTransform for more information on using the UpdateMLTransform 16211 // API call, and error handling. 16212 // 16213 // This method is useful when you want to inject custom logic or configuration 16214 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16215 // 16216 // 16217 // // Example sending a request using the UpdateMLTransformRequest method. 16218 // req, resp := client.UpdateMLTransformRequest(params) 16219 // 16220 // err := req.Send() 16221 // if err == nil { // resp is now filled 16222 // fmt.Println(resp) 16223 // } 16224 // 16225 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform 16226 func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) { 16227 op := &request.Operation{ 16228 Name: opUpdateMLTransform, 16229 HTTPMethod: "POST", 16230 HTTPPath: "/", 16231 } 16232 16233 if input == nil { 16234 input = &UpdateMLTransformInput{} 16235 } 16236 16237 output = &UpdateMLTransformOutput{} 16238 req = c.newRequest(op, input, output) 16239 return 16240 } 16241 16242 // UpdateMLTransform API operation for AWS Glue. 16243 // 16244 // Updates an existing machine learning transform. Call this operation to tune 16245 // the algorithm parameters to achieve better results. 16246 // 16247 // After calling this operation, you can call the StartMLEvaluationTaskRun operation 16248 // to assess how well your new parameters achieved your goals (such as improving 16249 // the quality of your machine learning transform, or making it more cost-effective). 16250 // 16251 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16252 // with awserr.Error's Code and Message methods to get detailed information about 16253 // the error. 16254 // 16255 // See the AWS API reference guide for AWS Glue's 16256 // API operation UpdateMLTransform for usage and error information. 16257 // 16258 // Returned Error Types: 16259 // * EntityNotFoundException 16260 // A specified entity does not exist 16261 // 16262 // * InvalidInputException 16263 // The input provided was not valid. 16264 // 16265 // * OperationTimeoutException 16266 // The operation timed out. 16267 // 16268 // * InternalServiceException 16269 // An internal service error occurred. 16270 // 16271 // * AccessDeniedException 16272 // Access to a resource was denied. 16273 // 16274 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform 16275 func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) { 16276 req, out := c.UpdateMLTransformRequest(input) 16277 return out, req.Send() 16278 } 16279 16280 // UpdateMLTransformWithContext is the same as UpdateMLTransform with the addition of 16281 // the ability to pass a context and additional request options. 16282 // 16283 // See UpdateMLTransform for details on how to use this API operation. 16284 // 16285 // The context must be non-nil and will be used for request cancellation. If 16286 // the context is nil a panic will occur. In the future the SDK may create 16287 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16288 // for more information on using Contexts. 16289 func (c *Glue) UpdateMLTransformWithContext(ctx aws.Context, input *UpdateMLTransformInput, opts ...request.Option) (*UpdateMLTransformOutput, error) { 16290 req, out := c.UpdateMLTransformRequest(input) 16291 req.SetContext(ctx) 16292 req.ApplyOptions(opts...) 16293 return out, req.Send() 16294 } 16295 16296 const opUpdatePartition = "UpdatePartition" 16297 16298 // UpdatePartitionRequest generates a "aws/request.Request" representing the 16299 // client's request for the UpdatePartition operation. The "output" return 16300 // value will be populated with the request's response once the request completes 16301 // successfully. 16302 // 16303 // Use "Send" method on the returned Request to send the API call to the service. 16304 // the "output" return value is not valid until after Send returns without error. 16305 // 16306 // See UpdatePartition for more information on using the UpdatePartition 16307 // API call, and error handling. 16308 // 16309 // This method is useful when you want to inject custom logic or configuration 16310 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16311 // 16312 // 16313 // // Example sending a request using the UpdatePartitionRequest method. 16314 // req, resp := client.UpdatePartitionRequest(params) 16315 // 16316 // err := req.Send() 16317 // if err == nil { // resp is now filled 16318 // fmt.Println(resp) 16319 // } 16320 // 16321 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition 16322 func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) { 16323 op := &request.Operation{ 16324 Name: opUpdatePartition, 16325 HTTPMethod: "POST", 16326 HTTPPath: "/", 16327 } 16328 16329 if input == nil { 16330 input = &UpdatePartitionInput{} 16331 } 16332 16333 output = &UpdatePartitionOutput{} 16334 req = c.newRequest(op, input, output) 16335 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 16336 return 16337 } 16338 16339 // UpdatePartition API operation for AWS Glue. 16340 // 16341 // Updates a partition. 16342 // 16343 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16344 // with awserr.Error's Code and Message methods to get detailed information about 16345 // the error. 16346 // 16347 // See the AWS API reference guide for AWS Glue's 16348 // API operation UpdatePartition for usage and error information. 16349 // 16350 // Returned Error Types: 16351 // * EntityNotFoundException 16352 // A specified entity does not exist 16353 // 16354 // * InvalidInputException 16355 // The input provided was not valid. 16356 // 16357 // * InternalServiceException 16358 // An internal service error occurred. 16359 // 16360 // * OperationTimeoutException 16361 // The operation timed out. 16362 // 16363 // * EncryptionException 16364 // An encryption operation failed. 16365 // 16366 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition 16367 func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) { 16368 req, out := c.UpdatePartitionRequest(input) 16369 return out, req.Send() 16370 } 16371 16372 // UpdatePartitionWithContext is the same as UpdatePartition with the addition of 16373 // the ability to pass a context and additional request options. 16374 // 16375 // See UpdatePartition for details on how to use this API operation. 16376 // 16377 // The context must be non-nil and will be used for request cancellation. If 16378 // the context is nil a panic will occur. In the future the SDK may create 16379 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16380 // for more information on using Contexts. 16381 func (c *Glue) UpdatePartitionWithContext(ctx aws.Context, input *UpdatePartitionInput, opts ...request.Option) (*UpdatePartitionOutput, error) { 16382 req, out := c.UpdatePartitionRequest(input) 16383 req.SetContext(ctx) 16384 req.ApplyOptions(opts...) 16385 return out, req.Send() 16386 } 16387 16388 const opUpdateRegistry = "UpdateRegistry" 16389 16390 // UpdateRegistryRequest generates a "aws/request.Request" representing the 16391 // client's request for the UpdateRegistry operation. The "output" return 16392 // value will be populated with the request's response once the request completes 16393 // successfully. 16394 // 16395 // Use "Send" method on the returned Request to send the API call to the service. 16396 // the "output" return value is not valid until after Send returns without error. 16397 // 16398 // See UpdateRegistry for more information on using the UpdateRegistry 16399 // API call, and error handling. 16400 // 16401 // This method is useful when you want to inject custom logic or configuration 16402 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16403 // 16404 // 16405 // // Example sending a request using the UpdateRegistryRequest method. 16406 // req, resp := client.UpdateRegistryRequest(params) 16407 // 16408 // err := req.Send() 16409 // if err == nil { // resp is now filled 16410 // fmt.Println(resp) 16411 // } 16412 // 16413 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry 16414 func (c *Glue) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.Request, output *UpdateRegistryOutput) { 16415 op := &request.Operation{ 16416 Name: opUpdateRegistry, 16417 HTTPMethod: "POST", 16418 HTTPPath: "/", 16419 } 16420 16421 if input == nil { 16422 input = &UpdateRegistryInput{} 16423 } 16424 16425 output = &UpdateRegistryOutput{} 16426 req = c.newRequest(op, input, output) 16427 return 16428 } 16429 16430 // UpdateRegistry API operation for AWS Glue. 16431 // 16432 // Updates an existing registry which is used to hold a collection of schemas. 16433 // The updated properties relate to the registry, and do not modify any of the 16434 // schemas within the registry. 16435 // 16436 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16437 // with awserr.Error's Code and Message methods to get detailed information about 16438 // the error. 16439 // 16440 // See the AWS API reference guide for AWS Glue's 16441 // API operation UpdateRegistry for usage and error information. 16442 // 16443 // Returned Error Types: 16444 // * InvalidInputException 16445 // The input provided was not valid. 16446 // 16447 // * AccessDeniedException 16448 // Access to a resource was denied. 16449 // 16450 // * EntityNotFoundException 16451 // A specified entity does not exist 16452 // 16453 // * ConcurrentModificationException 16454 // Two processes are trying to modify a resource simultaneously. 16455 // 16456 // * InternalServiceException 16457 // An internal service error occurred. 16458 // 16459 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry 16460 func (c *Glue) UpdateRegistry(input *UpdateRegistryInput) (*UpdateRegistryOutput, error) { 16461 req, out := c.UpdateRegistryRequest(input) 16462 return out, req.Send() 16463 } 16464 16465 // UpdateRegistryWithContext is the same as UpdateRegistry with the addition of 16466 // the ability to pass a context and additional request options. 16467 // 16468 // See UpdateRegistry for details on how to use this API operation. 16469 // 16470 // The context must be non-nil and will be used for request cancellation. If 16471 // the context is nil a panic will occur. In the future the SDK may create 16472 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16473 // for more information on using Contexts. 16474 func (c *Glue) UpdateRegistryWithContext(ctx aws.Context, input *UpdateRegistryInput, opts ...request.Option) (*UpdateRegistryOutput, error) { 16475 req, out := c.UpdateRegistryRequest(input) 16476 req.SetContext(ctx) 16477 req.ApplyOptions(opts...) 16478 return out, req.Send() 16479 } 16480 16481 const opUpdateSchema = "UpdateSchema" 16482 16483 // UpdateSchemaRequest generates a "aws/request.Request" representing the 16484 // client's request for the UpdateSchema operation. The "output" return 16485 // value will be populated with the request's response once the request completes 16486 // successfully. 16487 // 16488 // Use "Send" method on the returned Request to send the API call to the service. 16489 // the "output" return value is not valid until after Send returns without error. 16490 // 16491 // See UpdateSchema for more information on using the UpdateSchema 16492 // API call, and error handling. 16493 // 16494 // This method is useful when you want to inject custom logic or configuration 16495 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16496 // 16497 // 16498 // // Example sending a request using the UpdateSchemaRequest method. 16499 // req, resp := client.UpdateSchemaRequest(params) 16500 // 16501 // err := req.Send() 16502 // if err == nil { // resp is now filled 16503 // fmt.Println(resp) 16504 // } 16505 // 16506 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema 16507 func (c *Glue) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput) { 16508 op := &request.Operation{ 16509 Name: opUpdateSchema, 16510 HTTPMethod: "POST", 16511 HTTPPath: "/", 16512 } 16513 16514 if input == nil { 16515 input = &UpdateSchemaInput{} 16516 } 16517 16518 output = &UpdateSchemaOutput{} 16519 req = c.newRequest(op, input, output) 16520 return 16521 } 16522 16523 // UpdateSchema API operation for AWS Glue. 16524 // 16525 // Updates the description, compatibility setting, or version checkpoint for 16526 // a schema set. 16527 // 16528 // For updating the compatibility setting, the call will not validate compatibility 16529 // for the entire set of schema versions with the new compatibility setting. 16530 // If the value for Compatibility is provided, the VersionNumber (a checkpoint) 16531 // is also required. The API will validate the checkpoint version number for 16532 // consistency. 16533 // 16534 // If the value for the VersionNumber (checkpoint) is provided, Compatibility 16535 // is optional and this can be used to set/reset a checkpoint for the schema. 16536 // 16537 // This update will happen only if the schema is in the AVAILABLE state. 16538 // 16539 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16540 // with awserr.Error's Code and Message methods to get detailed information about 16541 // the error. 16542 // 16543 // See the AWS API reference guide for AWS Glue's 16544 // API operation UpdateSchema for usage and error information. 16545 // 16546 // Returned Error Types: 16547 // * InvalidInputException 16548 // The input provided was not valid. 16549 // 16550 // * AccessDeniedException 16551 // Access to a resource was denied. 16552 // 16553 // * EntityNotFoundException 16554 // A specified entity does not exist 16555 // 16556 // * ConcurrentModificationException 16557 // Two processes are trying to modify a resource simultaneously. 16558 // 16559 // * InternalServiceException 16560 // An internal service error occurred. 16561 // 16562 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema 16563 func (c *Glue) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error) { 16564 req, out := c.UpdateSchemaRequest(input) 16565 return out, req.Send() 16566 } 16567 16568 // UpdateSchemaWithContext is the same as UpdateSchema with the addition of 16569 // the ability to pass a context and additional request options. 16570 // 16571 // See UpdateSchema for details on how to use this API operation. 16572 // 16573 // The context must be non-nil and will be used for request cancellation. If 16574 // the context is nil a panic will occur. In the future the SDK may create 16575 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16576 // for more information on using Contexts. 16577 func (c *Glue) UpdateSchemaWithContext(ctx aws.Context, input *UpdateSchemaInput, opts ...request.Option) (*UpdateSchemaOutput, error) { 16578 req, out := c.UpdateSchemaRequest(input) 16579 req.SetContext(ctx) 16580 req.ApplyOptions(opts...) 16581 return out, req.Send() 16582 } 16583 16584 const opUpdateTable = "UpdateTable" 16585 16586 // UpdateTableRequest generates a "aws/request.Request" representing the 16587 // client's request for the UpdateTable operation. The "output" return 16588 // value will be populated with the request's response once the request completes 16589 // successfully. 16590 // 16591 // Use "Send" method on the returned Request to send the API call to the service. 16592 // the "output" return value is not valid until after Send returns without error. 16593 // 16594 // See UpdateTable for more information on using the UpdateTable 16595 // API call, and error handling. 16596 // 16597 // This method is useful when you want to inject custom logic or configuration 16598 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16599 // 16600 // 16601 // // Example sending a request using the UpdateTableRequest method. 16602 // req, resp := client.UpdateTableRequest(params) 16603 // 16604 // err := req.Send() 16605 // if err == nil { // resp is now filled 16606 // fmt.Println(resp) 16607 // } 16608 // 16609 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable 16610 func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { 16611 op := &request.Operation{ 16612 Name: opUpdateTable, 16613 HTTPMethod: "POST", 16614 HTTPPath: "/", 16615 } 16616 16617 if input == nil { 16618 input = &UpdateTableInput{} 16619 } 16620 16621 output = &UpdateTableOutput{} 16622 req = c.newRequest(op, input, output) 16623 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 16624 return 16625 } 16626 16627 // UpdateTable API operation for AWS Glue. 16628 // 16629 // Updates a metadata table in the Data Catalog. 16630 // 16631 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16632 // with awserr.Error's Code and Message methods to get detailed information about 16633 // the error. 16634 // 16635 // See the AWS API reference guide for AWS Glue's 16636 // API operation UpdateTable for usage and error information. 16637 // 16638 // Returned Error Types: 16639 // * EntityNotFoundException 16640 // A specified entity does not exist 16641 // 16642 // * InvalidInputException 16643 // The input provided was not valid. 16644 // 16645 // * InternalServiceException 16646 // An internal service error occurred. 16647 // 16648 // * OperationTimeoutException 16649 // The operation timed out. 16650 // 16651 // * ConcurrentModificationException 16652 // Two processes are trying to modify a resource simultaneously. 16653 // 16654 // * ResourceNumberLimitExceededException 16655 // A resource numerical limit was exceeded. 16656 // 16657 // * EncryptionException 16658 // An encryption operation failed. 16659 // 16660 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable 16661 func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { 16662 req, out := c.UpdateTableRequest(input) 16663 return out, req.Send() 16664 } 16665 16666 // UpdateTableWithContext is the same as UpdateTable with the addition of 16667 // the ability to pass a context and additional request options. 16668 // 16669 // See UpdateTable for details on how to use this API operation. 16670 // 16671 // The context must be non-nil and will be used for request cancellation. If 16672 // the context is nil a panic will occur. In the future the SDK may create 16673 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16674 // for more information on using Contexts. 16675 func (c *Glue) UpdateTableWithContext(ctx aws.Context, input *UpdateTableInput, opts ...request.Option) (*UpdateTableOutput, error) { 16676 req, out := c.UpdateTableRequest(input) 16677 req.SetContext(ctx) 16678 req.ApplyOptions(opts...) 16679 return out, req.Send() 16680 } 16681 16682 const opUpdateTrigger = "UpdateTrigger" 16683 16684 // UpdateTriggerRequest generates a "aws/request.Request" representing the 16685 // client's request for the UpdateTrigger operation. The "output" return 16686 // value will be populated with the request's response once the request completes 16687 // successfully. 16688 // 16689 // Use "Send" method on the returned Request to send the API call to the service. 16690 // the "output" return value is not valid until after Send returns without error. 16691 // 16692 // See UpdateTrigger for more information on using the UpdateTrigger 16693 // API call, and error handling. 16694 // 16695 // This method is useful when you want to inject custom logic or configuration 16696 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16697 // 16698 // 16699 // // Example sending a request using the UpdateTriggerRequest method. 16700 // req, resp := client.UpdateTriggerRequest(params) 16701 // 16702 // err := req.Send() 16703 // if err == nil { // resp is now filled 16704 // fmt.Println(resp) 16705 // } 16706 // 16707 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger 16708 func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) { 16709 op := &request.Operation{ 16710 Name: opUpdateTrigger, 16711 HTTPMethod: "POST", 16712 HTTPPath: "/", 16713 } 16714 16715 if input == nil { 16716 input = &UpdateTriggerInput{} 16717 } 16718 16719 output = &UpdateTriggerOutput{} 16720 req = c.newRequest(op, input, output) 16721 return 16722 } 16723 16724 // UpdateTrigger API operation for AWS Glue. 16725 // 16726 // Updates a trigger definition. 16727 // 16728 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16729 // with awserr.Error's Code and Message methods to get detailed information about 16730 // the error. 16731 // 16732 // See the AWS API reference guide for AWS Glue's 16733 // API operation UpdateTrigger for usage and error information. 16734 // 16735 // Returned Error Types: 16736 // * InvalidInputException 16737 // The input provided was not valid. 16738 // 16739 // * InternalServiceException 16740 // An internal service error occurred. 16741 // 16742 // * EntityNotFoundException 16743 // A specified entity does not exist 16744 // 16745 // * OperationTimeoutException 16746 // The operation timed out. 16747 // 16748 // * ConcurrentModificationException 16749 // Two processes are trying to modify a resource simultaneously. 16750 // 16751 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger 16752 func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) { 16753 req, out := c.UpdateTriggerRequest(input) 16754 return out, req.Send() 16755 } 16756 16757 // UpdateTriggerWithContext is the same as UpdateTrigger with the addition of 16758 // the ability to pass a context and additional request options. 16759 // 16760 // See UpdateTrigger for details on how to use this API operation. 16761 // 16762 // The context must be non-nil and will be used for request cancellation. If 16763 // the context is nil a panic will occur. In the future the SDK may create 16764 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16765 // for more information on using Contexts. 16766 func (c *Glue) UpdateTriggerWithContext(ctx aws.Context, input *UpdateTriggerInput, opts ...request.Option) (*UpdateTriggerOutput, error) { 16767 req, out := c.UpdateTriggerRequest(input) 16768 req.SetContext(ctx) 16769 req.ApplyOptions(opts...) 16770 return out, req.Send() 16771 } 16772 16773 const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction" 16774 16775 // UpdateUserDefinedFunctionRequest generates a "aws/request.Request" representing the 16776 // client's request for the UpdateUserDefinedFunction operation. The "output" return 16777 // value will be populated with the request's response once the request completes 16778 // successfully. 16779 // 16780 // Use "Send" method on the returned Request to send the API call to the service. 16781 // the "output" return value is not valid until after Send returns without error. 16782 // 16783 // See UpdateUserDefinedFunction for more information on using the UpdateUserDefinedFunction 16784 // API call, and error handling. 16785 // 16786 // This method is useful when you want to inject custom logic or configuration 16787 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16788 // 16789 // 16790 // // Example sending a request using the UpdateUserDefinedFunctionRequest method. 16791 // req, resp := client.UpdateUserDefinedFunctionRequest(params) 16792 // 16793 // err := req.Send() 16794 // if err == nil { // resp is now filled 16795 // fmt.Println(resp) 16796 // } 16797 // 16798 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction 16799 func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) { 16800 op := &request.Operation{ 16801 Name: opUpdateUserDefinedFunction, 16802 HTTPMethod: "POST", 16803 HTTPPath: "/", 16804 } 16805 16806 if input == nil { 16807 input = &UpdateUserDefinedFunctionInput{} 16808 } 16809 16810 output = &UpdateUserDefinedFunctionOutput{} 16811 req = c.newRequest(op, input, output) 16812 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 16813 return 16814 } 16815 16816 // UpdateUserDefinedFunction API operation for AWS Glue. 16817 // 16818 // Updates an existing function definition in the Data Catalog. 16819 // 16820 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16821 // with awserr.Error's Code and Message methods to get detailed information about 16822 // the error. 16823 // 16824 // See the AWS API reference guide for AWS Glue's 16825 // API operation UpdateUserDefinedFunction for usage and error information. 16826 // 16827 // Returned Error Types: 16828 // * EntityNotFoundException 16829 // A specified entity does not exist 16830 // 16831 // * InvalidInputException 16832 // The input provided was not valid. 16833 // 16834 // * InternalServiceException 16835 // An internal service error occurred. 16836 // 16837 // * OperationTimeoutException 16838 // The operation timed out. 16839 // 16840 // * EncryptionException 16841 // An encryption operation failed. 16842 // 16843 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction 16844 func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) { 16845 req, out := c.UpdateUserDefinedFunctionRequest(input) 16846 return out, req.Send() 16847 } 16848 16849 // UpdateUserDefinedFunctionWithContext is the same as UpdateUserDefinedFunction with the addition of 16850 // the ability to pass a context and additional request options. 16851 // 16852 // See UpdateUserDefinedFunction for details on how to use this API operation. 16853 // 16854 // The context must be non-nil and will be used for request cancellation. If 16855 // the context is nil a panic will occur. In the future the SDK may create 16856 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16857 // for more information on using Contexts. 16858 func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *UpdateUserDefinedFunctionInput, opts ...request.Option) (*UpdateUserDefinedFunctionOutput, error) { 16859 req, out := c.UpdateUserDefinedFunctionRequest(input) 16860 req.SetContext(ctx) 16861 req.ApplyOptions(opts...) 16862 return out, req.Send() 16863 } 16864 16865 const opUpdateWorkflow = "UpdateWorkflow" 16866 16867 // UpdateWorkflowRequest generates a "aws/request.Request" representing the 16868 // client's request for the UpdateWorkflow operation. The "output" return 16869 // value will be populated with the request's response once the request completes 16870 // successfully. 16871 // 16872 // Use "Send" method on the returned Request to send the API call to the service. 16873 // the "output" return value is not valid until after Send returns without error. 16874 // 16875 // See UpdateWorkflow for more information on using the UpdateWorkflow 16876 // API call, and error handling. 16877 // 16878 // This method is useful when you want to inject custom logic or configuration 16879 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16880 // 16881 // 16882 // // Example sending a request using the UpdateWorkflowRequest method. 16883 // req, resp := client.UpdateWorkflowRequest(params) 16884 // 16885 // err := req.Send() 16886 // if err == nil { // resp is now filled 16887 // fmt.Println(resp) 16888 // } 16889 // 16890 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow 16891 func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) { 16892 op := &request.Operation{ 16893 Name: opUpdateWorkflow, 16894 HTTPMethod: "POST", 16895 HTTPPath: "/", 16896 } 16897 16898 if input == nil { 16899 input = &UpdateWorkflowInput{} 16900 } 16901 16902 output = &UpdateWorkflowOutput{} 16903 req = c.newRequest(op, input, output) 16904 return 16905 } 16906 16907 // UpdateWorkflow API operation for AWS Glue. 16908 // 16909 // Updates an existing workflow. 16910 // 16911 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16912 // with awserr.Error's Code and Message methods to get detailed information about 16913 // the error. 16914 // 16915 // See the AWS API reference guide for AWS Glue's 16916 // API operation UpdateWorkflow for usage and error information. 16917 // 16918 // Returned Error Types: 16919 // * InvalidInputException 16920 // The input provided was not valid. 16921 // 16922 // * EntityNotFoundException 16923 // A specified entity does not exist 16924 // 16925 // * InternalServiceException 16926 // An internal service error occurred. 16927 // 16928 // * OperationTimeoutException 16929 // The operation timed out. 16930 // 16931 // * ConcurrentModificationException 16932 // Two processes are trying to modify a resource simultaneously. 16933 // 16934 // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow 16935 func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) { 16936 req, out := c.UpdateWorkflowRequest(input) 16937 return out, req.Send() 16938 } 16939 16940 // UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of 16941 // the ability to pass a context and additional request options. 16942 // 16943 // See UpdateWorkflow for details on how to use this API operation. 16944 // 16945 // The context must be non-nil and will be used for request cancellation. If 16946 // the context is nil a panic will occur. In the future the SDK may create 16947 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16948 // for more information on using Contexts. 16949 func (c *Glue) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) { 16950 req, out := c.UpdateWorkflowRequest(input) 16951 req.SetContext(ctx) 16952 req.ApplyOptions(opts...) 16953 return out, req.Send() 16954 } 16955 16956 // Access to a resource was denied. 16957 type AccessDeniedException struct { 16958 _ struct{} `type:"structure"` 16959 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 16960 16961 // A message describing the problem. 16962 Message_ *string `locationName:"Message" type:"string"` 16963 } 16964 16965 // String returns the string representation. 16966 // 16967 // API parameter values that are decorated as "sensitive" in the API will not 16968 // be included in the string output. The member name will be present, but the 16969 // value will be replaced with "sensitive". 16970 func (s AccessDeniedException) String() string { 16971 return awsutil.Prettify(s) 16972 } 16973 16974 // GoString returns the string representation. 16975 // 16976 // API parameter values that are decorated as "sensitive" in the API will not 16977 // be included in the string output. The member name will be present, but the 16978 // value will be replaced with "sensitive". 16979 func (s AccessDeniedException) GoString() string { 16980 return s.String() 16981 } 16982 16983 func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { 16984 return &AccessDeniedException{ 16985 RespMetadata: v, 16986 } 16987 } 16988 16989 // Code returns the exception type name. 16990 func (s *AccessDeniedException) Code() string { 16991 return "AccessDeniedException" 16992 } 16993 16994 // Message returns the exception's message. 16995 func (s *AccessDeniedException) Message() string { 16996 if s.Message_ != nil { 16997 return *s.Message_ 16998 } 16999 return "" 17000 } 17001 17002 // OrigErr always returns nil, satisfies awserr.Error interface. 17003 func (s *AccessDeniedException) OrigErr() error { 17004 return nil 17005 } 17006 17007 func (s *AccessDeniedException) Error() string { 17008 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 17009 } 17010 17011 // Status code returns the HTTP status code for the request's response error. 17012 func (s *AccessDeniedException) StatusCode() int { 17013 return s.RespMetadata.StatusCode 17014 } 17015 17016 // RequestID returns the service's response RequestID for request. 17017 func (s *AccessDeniedException) RequestID() string { 17018 return s.RespMetadata.RequestID 17019 } 17020 17021 // Defines an action to be initiated by a trigger. 17022 type Action struct { 17023 _ struct{} `type:"structure"` 17024 17025 // The job arguments used when this trigger fires. For this job run, they replace 17026 // the default arguments set in the job definition itself. 17027 // 17028 // You can specify arguments here that your own job-execution script consumes, 17029 // as well as arguments that Glue itself consumes. 17030 // 17031 // For information about how to specify and consume your own Job arguments, 17032 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 17033 // topic in the developer guide. 17034 // 17035 // For information about the key-value pairs that Glue consumes to set up your 17036 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 17037 // topic in the developer guide. 17038 Arguments map[string]*string `type:"map"` 17039 17040 // The name of the crawler to be used with this action. 17041 CrawlerName *string `min:"1" type:"string"` 17042 17043 // The name of a job to be run. 17044 JobName *string `min:"1" type:"string"` 17045 17046 // Specifies configuration properties of a job run notification. 17047 NotificationProperty *NotificationProperty `type:"structure"` 17048 17049 // The name of the SecurityConfiguration structure to be used with this action. 17050 SecurityConfiguration *string `min:"1" type:"string"` 17051 17052 // The JobRun timeout in minutes. This is the maximum time that a job run can 17053 // consume resources before it is terminated and enters TIMEOUT status. The 17054 // default is 2,880 minutes (48 hours). This overrides the timeout value set 17055 // in the parent job. 17056 Timeout *int64 `min:"1" type:"integer"` 17057 } 17058 17059 // String returns the string representation. 17060 // 17061 // API parameter values that are decorated as "sensitive" in the API will not 17062 // be included in the string output. The member name will be present, but the 17063 // value will be replaced with "sensitive". 17064 func (s Action) String() string { 17065 return awsutil.Prettify(s) 17066 } 17067 17068 // GoString returns the string representation. 17069 // 17070 // API parameter values that are decorated as "sensitive" in the API will not 17071 // be included in the string output. The member name will be present, but the 17072 // value will be replaced with "sensitive". 17073 func (s Action) GoString() string { 17074 return s.String() 17075 } 17076 17077 // Validate inspects the fields of the type to determine if they are valid. 17078 func (s *Action) Validate() error { 17079 invalidParams := request.ErrInvalidParams{Context: "Action"} 17080 if s.CrawlerName != nil && len(*s.CrawlerName) < 1 { 17081 invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1)) 17082 } 17083 if s.JobName != nil && len(*s.JobName) < 1 { 17084 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 17085 } 17086 if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { 17087 invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) 17088 } 17089 if s.Timeout != nil && *s.Timeout < 1 { 17090 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 17091 } 17092 if s.NotificationProperty != nil { 17093 if err := s.NotificationProperty.Validate(); err != nil { 17094 invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) 17095 } 17096 } 17097 17098 if invalidParams.Len() > 0 { 17099 return invalidParams 17100 } 17101 return nil 17102 } 17103 17104 // SetArguments sets the Arguments field's value. 17105 func (s *Action) SetArguments(v map[string]*string) *Action { 17106 s.Arguments = v 17107 return s 17108 } 17109 17110 // SetCrawlerName sets the CrawlerName field's value. 17111 func (s *Action) SetCrawlerName(v string) *Action { 17112 s.CrawlerName = &v 17113 return s 17114 } 17115 17116 // SetJobName sets the JobName field's value. 17117 func (s *Action) SetJobName(v string) *Action { 17118 s.JobName = &v 17119 return s 17120 } 17121 17122 // SetNotificationProperty sets the NotificationProperty field's value. 17123 func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action { 17124 s.NotificationProperty = v 17125 return s 17126 } 17127 17128 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 17129 func (s *Action) SetSecurityConfiguration(v string) *Action { 17130 s.SecurityConfiguration = &v 17131 return s 17132 } 17133 17134 // SetTimeout sets the Timeout field's value. 17135 func (s *Action) SetTimeout(v int64) *Action { 17136 s.Timeout = &v 17137 return s 17138 } 17139 17140 // A resource to be created or added already exists. 17141 type AlreadyExistsException struct { 17142 _ struct{} `type:"structure"` 17143 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 17144 17145 // A message describing the problem. 17146 Message_ *string `locationName:"Message" type:"string"` 17147 } 17148 17149 // String returns the string representation. 17150 // 17151 // API parameter values that are decorated as "sensitive" in the API will not 17152 // be included in the string output. The member name will be present, but the 17153 // value will be replaced with "sensitive". 17154 func (s AlreadyExistsException) String() string { 17155 return awsutil.Prettify(s) 17156 } 17157 17158 // GoString returns the string representation. 17159 // 17160 // API parameter values that are decorated as "sensitive" in the API will not 17161 // be included in the string output. The member name will be present, but the 17162 // value will be replaced with "sensitive". 17163 func (s AlreadyExistsException) GoString() string { 17164 return s.String() 17165 } 17166 17167 func newErrorAlreadyExistsException(v protocol.ResponseMetadata) error { 17168 return &AlreadyExistsException{ 17169 RespMetadata: v, 17170 } 17171 } 17172 17173 // Code returns the exception type name. 17174 func (s *AlreadyExistsException) Code() string { 17175 return "AlreadyExistsException" 17176 } 17177 17178 // Message returns the exception's message. 17179 func (s *AlreadyExistsException) Message() string { 17180 if s.Message_ != nil { 17181 return *s.Message_ 17182 } 17183 return "" 17184 } 17185 17186 // OrigErr always returns nil, satisfies awserr.Error interface. 17187 func (s *AlreadyExistsException) OrigErr() error { 17188 return nil 17189 } 17190 17191 func (s *AlreadyExistsException) Error() string { 17192 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 17193 } 17194 17195 // Status code returns the HTTP status code for the request's response error. 17196 func (s *AlreadyExistsException) StatusCode() int { 17197 return s.RespMetadata.StatusCode 17198 } 17199 17200 // RequestID returns the service's response RequestID for request. 17201 func (s *AlreadyExistsException) RequestID() string { 17202 return s.RespMetadata.RequestID 17203 } 17204 17205 // A list of errors that can occur when registering partition indexes for an 17206 // existing table. 17207 // 17208 // These errors give the details about why an index registration failed and 17209 // provide a limited number of partitions in the response, so that you can fix 17210 // the partitions at fault and try registering the index again. The most common 17211 // set of errors that can occur are categorized as follows: 17212 // 17213 // * EncryptedPartitionError: The partitions are encrypted. 17214 // 17215 // * InvalidPartitionTypeDataError: The partition value doesn't match the 17216 // data type for that partition column. 17217 // 17218 // * MissingPartitionValueError: The partitions are encrypted. 17219 // 17220 // * UnsupportedPartitionCharacterError: Characters inside the partition 17221 // value are not supported. For example: U+0000 , U+0001, U+0002. 17222 // 17223 // * InternalError: Any error which does not belong to other error codes. 17224 type BackfillError struct { 17225 _ struct{} `type:"structure"` 17226 17227 // The error code for an error that occurred when registering partition indexes 17228 // for an existing table. 17229 Code *string `type:"string" enum:"BackfillErrorCode"` 17230 17231 // A list of a limited number of partitions in the response. 17232 Partitions []*PartitionValueList `type:"list"` 17233 } 17234 17235 // String returns the string representation. 17236 // 17237 // API parameter values that are decorated as "sensitive" in the API will not 17238 // be included in the string output. The member name will be present, but the 17239 // value will be replaced with "sensitive". 17240 func (s BackfillError) String() string { 17241 return awsutil.Prettify(s) 17242 } 17243 17244 // GoString returns the string representation. 17245 // 17246 // API parameter values that are decorated as "sensitive" in the API will not 17247 // be included in the string output. The member name will be present, but the 17248 // value will be replaced with "sensitive". 17249 func (s BackfillError) GoString() string { 17250 return s.String() 17251 } 17252 17253 // SetCode sets the Code field's value. 17254 func (s *BackfillError) SetCode(v string) *BackfillError { 17255 s.Code = &v 17256 return s 17257 } 17258 17259 // SetPartitions sets the Partitions field's value. 17260 func (s *BackfillError) SetPartitions(v []*PartitionValueList) *BackfillError { 17261 s.Partitions = v 17262 return s 17263 } 17264 17265 type BatchCreatePartitionInput struct { 17266 _ struct{} `type:"structure"` 17267 17268 // The ID of the catalog in which the partition is to be created. Currently, 17269 // this should be the Amazon Web Services account ID. 17270 CatalogId *string `min:"1" type:"string"` 17271 17272 // The name of the metadata database in which the partition is to be created. 17273 // 17274 // DatabaseName is a required field 17275 DatabaseName *string `min:"1" type:"string" required:"true"` 17276 17277 // A list of PartitionInput structures that define the partitions to be created. 17278 // 17279 // PartitionInputList is a required field 17280 PartitionInputList []*PartitionInput `type:"list" required:"true"` 17281 17282 // The name of the metadata table in which the partition is to be created. 17283 // 17284 // TableName is a required field 17285 TableName *string `min:"1" type:"string" required:"true"` 17286 } 17287 17288 // String returns the string representation. 17289 // 17290 // API parameter values that are decorated as "sensitive" in the API will not 17291 // be included in the string output. The member name will be present, but the 17292 // value will be replaced with "sensitive". 17293 func (s BatchCreatePartitionInput) String() string { 17294 return awsutil.Prettify(s) 17295 } 17296 17297 // GoString returns the string representation. 17298 // 17299 // API parameter values that are decorated as "sensitive" in the API will not 17300 // be included in the string output. The member name will be present, but the 17301 // value will be replaced with "sensitive". 17302 func (s BatchCreatePartitionInput) GoString() string { 17303 return s.String() 17304 } 17305 17306 // Validate inspects the fields of the type to determine if they are valid. 17307 func (s *BatchCreatePartitionInput) Validate() error { 17308 invalidParams := request.ErrInvalidParams{Context: "BatchCreatePartitionInput"} 17309 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 17310 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 17311 } 17312 if s.DatabaseName == nil { 17313 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 17314 } 17315 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 17316 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 17317 } 17318 if s.PartitionInputList == nil { 17319 invalidParams.Add(request.NewErrParamRequired("PartitionInputList")) 17320 } 17321 if s.TableName == nil { 17322 invalidParams.Add(request.NewErrParamRequired("TableName")) 17323 } 17324 if s.TableName != nil && len(*s.TableName) < 1 { 17325 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 17326 } 17327 if s.PartitionInputList != nil { 17328 for i, v := range s.PartitionInputList { 17329 if v == nil { 17330 continue 17331 } 17332 if err := v.Validate(); err != nil { 17333 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionInputList", i), err.(request.ErrInvalidParams)) 17334 } 17335 } 17336 } 17337 17338 if invalidParams.Len() > 0 { 17339 return invalidParams 17340 } 17341 return nil 17342 } 17343 17344 // SetCatalogId sets the CatalogId field's value. 17345 func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput { 17346 s.CatalogId = &v 17347 return s 17348 } 17349 17350 // SetDatabaseName sets the DatabaseName field's value. 17351 func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput { 17352 s.DatabaseName = &v 17353 return s 17354 } 17355 17356 // SetPartitionInputList sets the PartitionInputList field's value. 17357 func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput { 17358 s.PartitionInputList = v 17359 return s 17360 } 17361 17362 // SetTableName sets the TableName field's value. 17363 func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput { 17364 s.TableName = &v 17365 return s 17366 } 17367 17368 type BatchCreatePartitionOutput struct { 17369 _ struct{} `type:"structure"` 17370 17371 // The errors encountered when trying to create the requested partitions. 17372 Errors []*PartitionError `type:"list"` 17373 } 17374 17375 // String returns the string representation. 17376 // 17377 // API parameter values that are decorated as "sensitive" in the API will not 17378 // be included in the string output. The member name will be present, but the 17379 // value will be replaced with "sensitive". 17380 func (s BatchCreatePartitionOutput) String() string { 17381 return awsutil.Prettify(s) 17382 } 17383 17384 // GoString returns the string representation. 17385 // 17386 // API parameter values that are decorated as "sensitive" in the API will not 17387 // be included in the string output. The member name will be present, but the 17388 // value will be replaced with "sensitive". 17389 func (s BatchCreatePartitionOutput) GoString() string { 17390 return s.String() 17391 } 17392 17393 // SetErrors sets the Errors field's value. 17394 func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreatePartitionOutput { 17395 s.Errors = v 17396 return s 17397 } 17398 17399 type BatchDeleteConnectionInput struct { 17400 _ struct{} `type:"structure"` 17401 17402 // The ID of the Data Catalog in which the connections reside. If none is provided, 17403 // the Amazon Web Services account ID is used by default. 17404 CatalogId *string `min:"1" type:"string"` 17405 17406 // A list of names of the connections to delete. 17407 // 17408 // ConnectionNameList is a required field 17409 ConnectionNameList []*string `type:"list" required:"true"` 17410 } 17411 17412 // String returns the string representation. 17413 // 17414 // API parameter values that are decorated as "sensitive" in the API will not 17415 // be included in the string output. The member name will be present, but the 17416 // value will be replaced with "sensitive". 17417 func (s BatchDeleteConnectionInput) String() string { 17418 return awsutil.Prettify(s) 17419 } 17420 17421 // GoString returns the string representation. 17422 // 17423 // API parameter values that are decorated as "sensitive" in the API will not 17424 // be included in the string output. The member name will be present, but the 17425 // value will be replaced with "sensitive". 17426 func (s BatchDeleteConnectionInput) GoString() string { 17427 return s.String() 17428 } 17429 17430 // Validate inspects the fields of the type to determine if they are valid. 17431 func (s *BatchDeleteConnectionInput) Validate() error { 17432 invalidParams := request.ErrInvalidParams{Context: "BatchDeleteConnectionInput"} 17433 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 17434 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 17435 } 17436 if s.ConnectionNameList == nil { 17437 invalidParams.Add(request.NewErrParamRequired("ConnectionNameList")) 17438 } 17439 17440 if invalidParams.Len() > 0 { 17441 return invalidParams 17442 } 17443 return nil 17444 } 17445 17446 // SetCatalogId sets the CatalogId field's value. 17447 func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput { 17448 s.CatalogId = &v 17449 return s 17450 } 17451 17452 // SetConnectionNameList sets the ConnectionNameList field's value. 17453 func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDeleteConnectionInput { 17454 s.ConnectionNameList = v 17455 return s 17456 } 17457 17458 type BatchDeleteConnectionOutput struct { 17459 _ struct{} `type:"structure"` 17460 17461 // A map of the names of connections that were not successfully deleted to error 17462 // details. 17463 Errors map[string]*ErrorDetail `type:"map"` 17464 17465 // A list of names of the connection definitions that were successfully deleted. 17466 Succeeded []*string `type:"list"` 17467 } 17468 17469 // String returns the string representation. 17470 // 17471 // API parameter values that are decorated as "sensitive" in the API will not 17472 // be included in the string output. The member name will be present, but the 17473 // value will be replaced with "sensitive". 17474 func (s BatchDeleteConnectionOutput) String() string { 17475 return awsutil.Prettify(s) 17476 } 17477 17478 // GoString returns the string representation. 17479 // 17480 // API parameter values that are decorated as "sensitive" in the API will not 17481 // be included in the string output. The member name will be present, but the 17482 // value will be replaced with "sensitive". 17483 func (s BatchDeleteConnectionOutput) GoString() string { 17484 return s.String() 17485 } 17486 17487 // SetErrors sets the Errors field's value. 17488 func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]*ErrorDetail) *BatchDeleteConnectionOutput { 17489 s.Errors = v 17490 return s 17491 } 17492 17493 // SetSucceeded sets the Succeeded field's value. 17494 func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConnectionOutput { 17495 s.Succeeded = v 17496 return s 17497 } 17498 17499 type BatchDeletePartitionInput struct { 17500 _ struct{} `type:"structure"` 17501 17502 // The ID of the Data Catalog where the partition to be deleted resides. If 17503 // none is provided, the Amazon Web Services account ID is used by default. 17504 CatalogId *string `min:"1" type:"string"` 17505 17506 // The name of the catalog database in which the table in question resides. 17507 // 17508 // DatabaseName is a required field 17509 DatabaseName *string `min:"1" type:"string" required:"true"` 17510 17511 // A list of PartitionInput structures that define the partitions to be deleted. 17512 // 17513 // PartitionsToDelete is a required field 17514 PartitionsToDelete []*PartitionValueList `type:"list" required:"true"` 17515 17516 // The name of the table that contains the partitions to be deleted. 17517 // 17518 // TableName is a required field 17519 TableName *string `min:"1" type:"string" required:"true"` 17520 } 17521 17522 // String returns the string representation. 17523 // 17524 // API parameter values that are decorated as "sensitive" in the API will not 17525 // be included in the string output. The member name will be present, but the 17526 // value will be replaced with "sensitive". 17527 func (s BatchDeletePartitionInput) String() string { 17528 return awsutil.Prettify(s) 17529 } 17530 17531 // GoString returns the string representation. 17532 // 17533 // API parameter values that are decorated as "sensitive" in the API will not 17534 // be included in the string output. The member name will be present, but the 17535 // value will be replaced with "sensitive". 17536 func (s BatchDeletePartitionInput) GoString() string { 17537 return s.String() 17538 } 17539 17540 // Validate inspects the fields of the type to determine if they are valid. 17541 func (s *BatchDeletePartitionInput) Validate() error { 17542 invalidParams := request.ErrInvalidParams{Context: "BatchDeletePartitionInput"} 17543 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 17544 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 17545 } 17546 if s.DatabaseName == nil { 17547 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 17548 } 17549 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 17550 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 17551 } 17552 if s.PartitionsToDelete == nil { 17553 invalidParams.Add(request.NewErrParamRequired("PartitionsToDelete")) 17554 } 17555 if s.TableName == nil { 17556 invalidParams.Add(request.NewErrParamRequired("TableName")) 17557 } 17558 if s.TableName != nil && len(*s.TableName) < 1 { 17559 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 17560 } 17561 if s.PartitionsToDelete != nil { 17562 for i, v := range s.PartitionsToDelete { 17563 if v == nil { 17564 continue 17565 } 17566 if err := v.Validate(); err != nil { 17567 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToDelete", i), err.(request.ErrInvalidParams)) 17568 } 17569 } 17570 } 17571 17572 if invalidParams.Len() > 0 { 17573 return invalidParams 17574 } 17575 return nil 17576 } 17577 17578 // SetCatalogId sets the CatalogId field's value. 17579 func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput { 17580 s.CatalogId = &v 17581 return s 17582 } 17583 17584 // SetDatabaseName sets the DatabaseName field's value. 17585 func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput { 17586 s.DatabaseName = &v 17587 return s 17588 } 17589 17590 // SetPartitionsToDelete sets the PartitionsToDelete field's value. 17591 func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []*PartitionValueList) *BatchDeletePartitionInput { 17592 s.PartitionsToDelete = v 17593 return s 17594 } 17595 17596 // SetTableName sets the TableName field's value. 17597 func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput { 17598 s.TableName = &v 17599 return s 17600 } 17601 17602 type BatchDeletePartitionOutput struct { 17603 _ struct{} `type:"structure"` 17604 17605 // The errors encountered when trying to delete the requested partitions. 17606 Errors []*PartitionError `type:"list"` 17607 } 17608 17609 // String returns the string representation. 17610 // 17611 // API parameter values that are decorated as "sensitive" in the API will not 17612 // be included in the string output. The member name will be present, but the 17613 // value will be replaced with "sensitive". 17614 func (s BatchDeletePartitionOutput) String() string { 17615 return awsutil.Prettify(s) 17616 } 17617 17618 // GoString returns the string representation. 17619 // 17620 // API parameter values that are decorated as "sensitive" in the API will not 17621 // be included in the string output. The member name will be present, but the 17622 // value will be replaced with "sensitive". 17623 func (s BatchDeletePartitionOutput) GoString() string { 17624 return s.String() 17625 } 17626 17627 // SetErrors sets the Errors field's value. 17628 func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDeletePartitionOutput { 17629 s.Errors = v 17630 return s 17631 } 17632 17633 type BatchDeleteTableInput struct { 17634 _ struct{} `type:"structure"` 17635 17636 // The ID of the Data Catalog where the table resides. If none is provided, 17637 // the Amazon Web Services account ID is used by default. 17638 CatalogId *string `min:"1" type:"string"` 17639 17640 // The name of the catalog database in which the tables to delete reside. For 17641 // Hive compatibility, this name is entirely lowercase. 17642 // 17643 // DatabaseName is a required field 17644 DatabaseName *string `min:"1" type:"string" required:"true"` 17645 17646 // A list of the table to delete. 17647 // 17648 // TablesToDelete is a required field 17649 TablesToDelete []*string `type:"list" required:"true"` 17650 } 17651 17652 // String returns the string representation. 17653 // 17654 // API parameter values that are decorated as "sensitive" in the API will not 17655 // be included in the string output. The member name will be present, but the 17656 // value will be replaced with "sensitive". 17657 func (s BatchDeleteTableInput) String() string { 17658 return awsutil.Prettify(s) 17659 } 17660 17661 // GoString returns the string representation. 17662 // 17663 // API parameter values that are decorated as "sensitive" in the API will not 17664 // be included in the string output. The member name will be present, but the 17665 // value will be replaced with "sensitive". 17666 func (s BatchDeleteTableInput) GoString() string { 17667 return s.String() 17668 } 17669 17670 // Validate inspects the fields of the type to determine if they are valid. 17671 func (s *BatchDeleteTableInput) Validate() error { 17672 invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableInput"} 17673 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 17674 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 17675 } 17676 if s.DatabaseName == nil { 17677 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 17678 } 17679 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 17680 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 17681 } 17682 if s.TablesToDelete == nil { 17683 invalidParams.Add(request.NewErrParamRequired("TablesToDelete")) 17684 } 17685 17686 if invalidParams.Len() > 0 { 17687 return invalidParams 17688 } 17689 return nil 17690 } 17691 17692 // SetCatalogId sets the CatalogId field's value. 17693 func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput { 17694 s.CatalogId = &v 17695 return s 17696 } 17697 17698 // SetDatabaseName sets the DatabaseName field's value. 17699 func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput { 17700 s.DatabaseName = &v 17701 return s 17702 } 17703 17704 // SetTablesToDelete sets the TablesToDelete field's value. 17705 func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTableInput { 17706 s.TablesToDelete = v 17707 return s 17708 } 17709 17710 type BatchDeleteTableOutput struct { 17711 _ struct{} `type:"structure"` 17712 17713 // A list of errors encountered in attempting to delete the specified tables. 17714 Errors []*TableError `type:"list"` 17715 } 17716 17717 // String returns the string representation. 17718 // 17719 // API parameter values that are decorated as "sensitive" in the API will not 17720 // be included in the string output. The member name will be present, but the 17721 // value will be replaced with "sensitive". 17722 func (s BatchDeleteTableOutput) String() string { 17723 return awsutil.Prettify(s) 17724 } 17725 17726 // GoString returns the string representation. 17727 // 17728 // API parameter values that are decorated as "sensitive" in the API will not 17729 // be included in the string output. The member name will be present, but the 17730 // value will be replaced with "sensitive". 17731 func (s BatchDeleteTableOutput) GoString() string { 17732 return s.String() 17733 } 17734 17735 // SetErrors sets the Errors field's value. 17736 func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOutput { 17737 s.Errors = v 17738 return s 17739 } 17740 17741 type BatchDeleteTableVersionInput struct { 17742 _ struct{} `type:"structure"` 17743 17744 // The ID of the Data Catalog where the tables reside. If none is provided, 17745 // the Amazon Web Services account ID is used by default. 17746 CatalogId *string `min:"1" type:"string"` 17747 17748 // The database in the catalog in which the table resides. For Hive compatibility, 17749 // this name is entirely lowercase. 17750 // 17751 // DatabaseName is a required field 17752 DatabaseName *string `min:"1" type:"string" required:"true"` 17753 17754 // The name of the table. For Hive compatibility, this name is entirely lowercase. 17755 // 17756 // TableName is a required field 17757 TableName *string `min:"1" type:"string" required:"true"` 17758 17759 // A list of the IDs of versions to be deleted. A VersionId is a string representation 17760 // of an integer. Each version is incremented by 1. 17761 // 17762 // VersionIds is a required field 17763 VersionIds []*string `type:"list" required:"true"` 17764 } 17765 17766 // String returns the string representation. 17767 // 17768 // API parameter values that are decorated as "sensitive" in the API will not 17769 // be included in the string output. The member name will be present, but the 17770 // value will be replaced with "sensitive". 17771 func (s BatchDeleteTableVersionInput) String() string { 17772 return awsutil.Prettify(s) 17773 } 17774 17775 // GoString returns the string representation. 17776 // 17777 // API parameter values that are decorated as "sensitive" in the API will not 17778 // be included in the string output. The member name will be present, but the 17779 // value will be replaced with "sensitive". 17780 func (s BatchDeleteTableVersionInput) GoString() string { 17781 return s.String() 17782 } 17783 17784 // Validate inspects the fields of the type to determine if they are valid. 17785 func (s *BatchDeleteTableVersionInput) Validate() error { 17786 invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableVersionInput"} 17787 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 17788 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 17789 } 17790 if s.DatabaseName == nil { 17791 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 17792 } 17793 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 17794 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 17795 } 17796 if s.TableName == nil { 17797 invalidParams.Add(request.NewErrParamRequired("TableName")) 17798 } 17799 if s.TableName != nil && len(*s.TableName) < 1 { 17800 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 17801 } 17802 if s.VersionIds == nil { 17803 invalidParams.Add(request.NewErrParamRequired("VersionIds")) 17804 } 17805 17806 if invalidParams.Len() > 0 { 17807 return invalidParams 17808 } 17809 return nil 17810 } 17811 17812 // SetCatalogId sets the CatalogId field's value. 17813 func (s *BatchDeleteTableVersionInput) SetCatalogId(v string) *BatchDeleteTableVersionInput { 17814 s.CatalogId = &v 17815 return s 17816 } 17817 17818 // SetDatabaseName sets the DatabaseName field's value. 17819 func (s *BatchDeleteTableVersionInput) SetDatabaseName(v string) *BatchDeleteTableVersionInput { 17820 s.DatabaseName = &v 17821 return s 17822 } 17823 17824 // SetTableName sets the TableName field's value. 17825 func (s *BatchDeleteTableVersionInput) SetTableName(v string) *BatchDeleteTableVersionInput { 17826 s.TableName = &v 17827 return s 17828 } 17829 17830 // SetVersionIds sets the VersionIds field's value. 17831 func (s *BatchDeleteTableVersionInput) SetVersionIds(v []*string) *BatchDeleteTableVersionInput { 17832 s.VersionIds = v 17833 return s 17834 } 17835 17836 type BatchDeleteTableVersionOutput struct { 17837 _ struct{} `type:"structure"` 17838 17839 // A list of errors encountered while trying to delete the specified table versions. 17840 Errors []*TableVersionError `type:"list"` 17841 } 17842 17843 // String returns the string representation. 17844 // 17845 // API parameter values that are decorated as "sensitive" in the API will not 17846 // be included in the string output. The member name will be present, but the 17847 // value will be replaced with "sensitive". 17848 func (s BatchDeleteTableVersionOutput) String() string { 17849 return awsutil.Prettify(s) 17850 } 17851 17852 // GoString returns the string representation. 17853 // 17854 // API parameter values that are decorated as "sensitive" in the API will not 17855 // be included in the string output. The member name will be present, but the 17856 // value will be replaced with "sensitive". 17857 func (s BatchDeleteTableVersionOutput) GoString() string { 17858 return s.String() 17859 } 17860 17861 // SetErrors sets the Errors field's value. 17862 func (s *BatchDeleteTableVersionOutput) SetErrors(v []*TableVersionError) *BatchDeleteTableVersionOutput { 17863 s.Errors = v 17864 return s 17865 } 17866 17867 type BatchGetBlueprintsInput struct { 17868 _ struct{} `type:"structure"` 17869 17870 // Specifies whether or not to include the blueprint in the response. 17871 IncludeBlueprint *bool `type:"boolean"` 17872 17873 // Specifies whether or not to include the parameters, as a JSON string, for 17874 // the blueprint in the response. 17875 IncludeParameterSpec *bool `type:"boolean"` 17876 17877 // A list of blueprint names. 17878 // 17879 // Names is a required field 17880 Names []*string `min:"1" type:"list" required:"true"` 17881 } 17882 17883 // String returns the string representation. 17884 // 17885 // API parameter values that are decorated as "sensitive" in the API will not 17886 // be included in the string output. The member name will be present, but the 17887 // value will be replaced with "sensitive". 17888 func (s BatchGetBlueprintsInput) String() string { 17889 return awsutil.Prettify(s) 17890 } 17891 17892 // GoString returns the string representation. 17893 // 17894 // API parameter values that are decorated as "sensitive" in the API will not 17895 // be included in the string output. The member name will be present, but the 17896 // value will be replaced with "sensitive". 17897 func (s BatchGetBlueprintsInput) GoString() string { 17898 return s.String() 17899 } 17900 17901 // Validate inspects the fields of the type to determine if they are valid. 17902 func (s *BatchGetBlueprintsInput) Validate() error { 17903 invalidParams := request.ErrInvalidParams{Context: "BatchGetBlueprintsInput"} 17904 if s.Names == nil { 17905 invalidParams.Add(request.NewErrParamRequired("Names")) 17906 } 17907 if s.Names != nil && len(s.Names) < 1 { 17908 invalidParams.Add(request.NewErrParamMinLen("Names", 1)) 17909 } 17910 17911 if invalidParams.Len() > 0 { 17912 return invalidParams 17913 } 17914 return nil 17915 } 17916 17917 // SetIncludeBlueprint sets the IncludeBlueprint field's value. 17918 func (s *BatchGetBlueprintsInput) SetIncludeBlueprint(v bool) *BatchGetBlueprintsInput { 17919 s.IncludeBlueprint = &v 17920 return s 17921 } 17922 17923 // SetIncludeParameterSpec sets the IncludeParameterSpec field's value. 17924 func (s *BatchGetBlueprintsInput) SetIncludeParameterSpec(v bool) *BatchGetBlueprintsInput { 17925 s.IncludeParameterSpec = &v 17926 return s 17927 } 17928 17929 // SetNames sets the Names field's value. 17930 func (s *BatchGetBlueprintsInput) SetNames(v []*string) *BatchGetBlueprintsInput { 17931 s.Names = v 17932 return s 17933 } 17934 17935 type BatchGetBlueprintsOutput struct { 17936 _ struct{} `type:"structure"` 17937 17938 // Returns a list of blueprint as a Blueprints object. 17939 Blueprints []*Blueprint `type:"list"` 17940 17941 // Returns a list of BlueprintNames that were not found. 17942 MissingBlueprints []*string `type:"list"` 17943 } 17944 17945 // String returns the string representation. 17946 // 17947 // API parameter values that are decorated as "sensitive" in the API will not 17948 // be included in the string output. The member name will be present, but the 17949 // value will be replaced with "sensitive". 17950 func (s BatchGetBlueprintsOutput) String() string { 17951 return awsutil.Prettify(s) 17952 } 17953 17954 // GoString returns the string representation. 17955 // 17956 // API parameter values that are decorated as "sensitive" in the API will not 17957 // be included in the string output. The member name will be present, but the 17958 // value will be replaced with "sensitive". 17959 func (s BatchGetBlueprintsOutput) GoString() string { 17960 return s.String() 17961 } 17962 17963 // SetBlueprints sets the Blueprints field's value. 17964 func (s *BatchGetBlueprintsOutput) SetBlueprints(v []*Blueprint) *BatchGetBlueprintsOutput { 17965 s.Blueprints = v 17966 return s 17967 } 17968 17969 // SetMissingBlueprints sets the MissingBlueprints field's value. 17970 func (s *BatchGetBlueprintsOutput) SetMissingBlueprints(v []*string) *BatchGetBlueprintsOutput { 17971 s.MissingBlueprints = v 17972 return s 17973 } 17974 17975 type BatchGetCrawlersInput struct { 17976 _ struct{} `type:"structure"` 17977 17978 // A list of crawler names, which might be the names returned from the ListCrawlers 17979 // operation. 17980 // 17981 // CrawlerNames is a required field 17982 CrawlerNames []*string `type:"list" required:"true"` 17983 } 17984 17985 // String returns the string representation. 17986 // 17987 // API parameter values that are decorated as "sensitive" in the API will not 17988 // be included in the string output. The member name will be present, but the 17989 // value will be replaced with "sensitive". 17990 func (s BatchGetCrawlersInput) String() string { 17991 return awsutil.Prettify(s) 17992 } 17993 17994 // GoString returns the string representation. 17995 // 17996 // API parameter values that are decorated as "sensitive" in the API will not 17997 // be included in the string output. The member name will be present, but the 17998 // value will be replaced with "sensitive". 17999 func (s BatchGetCrawlersInput) GoString() string { 18000 return s.String() 18001 } 18002 18003 // Validate inspects the fields of the type to determine if they are valid. 18004 func (s *BatchGetCrawlersInput) Validate() error { 18005 invalidParams := request.ErrInvalidParams{Context: "BatchGetCrawlersInput"} 18006 if s.CrawlerNames == nil { 18007 invalidParams.Add(request.NewErrParamRequired("CrawlerNames")) 18008 } 18009 18010 if invalidParams.Len() > 0 { 18011 return invalidParams 18012 } 18013 return nil 18014 } 18015 18016 // SetCrawlerNames sets the CrawlerNames field's value. 18017 func (s *BatchGetCrawlersInput) SetCrawlerNames(v []*string) *BatchGetCrawlersInput { 18018 s.CrawlerNames = v 18019 return s 18020 } 18021 18022 type BatchGetCrawlersOutput struct { 18023 _ struct{} `type:"structure"` 18024 18025 // A list of crawler definitions. 18026 Crawlers []*Crawler `type:"list"` 18027 18028 // A list of names of crawlers that were not found. 18029 CrawlersNotFound []*string `type:"list"` 18030 } 18031 18032 // String returns the string representation. 18033 // 18034 // API parameter values that are decorated as "sensitive" in the API will not 18035 // be included in the string output. The member name will be present, but the 18036 // value will be replaced with "sensitive". 18037 func (s BatchGetCrawlersOutput) String() string { 18038 return awsutil.Prettify(s) 18039 } 18040 18041 // GoString returns the string representation. 18042 // 18043 // API parameter values that are decorated as "sensitive" in the API will not 18044 // be included in the string output. The member name will be present, but the 18045 // value will be replaced with "sensitive". 18046 func (s BatchGetCrawlersOutput) GoString() string { 18047 return s.String() 18048 } 18049 18050 // SetCrawlers sets the Crawlers field's value. 18051 func (s *BatchGetCrawlersOutput) SetCrawlers(v []*Crawler) *BatchGetCrawlersOutput { 18052 s.Crawlers = v 18053 return s 18054 } 18055 18056 // SetCrawlersNotFound sets the CrawlersNotFound field's value. 18057 func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawlersOutput { 18058 s.CrawlersNotFound = v 18059 return s 18060 } 18061 18062 type BatchGetDevEndpointsInput struct { 18063 _ struct{} `type:"structure"` 18064 18065 // The list of DevEndpoint names, which might be the names returned from the 18066 // ListDevEndpoint operation. 18067 // 18068 // DevEndpointNames is a required field 18069 DevEndpointNames []*string `min:"1" type:"list" required:"true"` 18070 } 18071 18072 // String returns the string representation. 18073 // 18074 // API parameter values that are decorated as "sensitive" in the API will not 18075 // be included in the string output. The member name will be present, but the 18076 // value will be replaced with "sensitive". 18077 func (s BatchGetDevEndpointsInput) String() string { 18078 return awsutil.Prettify(s) 18079 } 18080 18081 // GoString returns the string representation. 18082 // 18083 // API parameter values that are decorated as "sensitive" in the API will not 18084 // be included in the string output. The member name will be present, but the 18085 // value will be replaced with "sensitive". 18086 func (s BatchGetDevEndpointsInput) GoString() string { 18087 return s.String() 18088 } 18089 18090 // Validate inspects the fields of the type to determine if they are valid. 18091 func (s *BatchGetDevEndpointsInput) Validate() error { 18092 invalidParams := request.ErrInvalidParams{Context: "BatchGetDevEndpointsInput"} 18093 if s.DevEndpointNames == nil { 18094 invalidParams.Add(request.NewErrParamRequired("DevEndpointNames")) 18095 } 18096 if s.DevEndpointNames != nil && len(s.DevEndpointNames) < 1 { 18097 invalidParams.Add(request.NewErrParamMinLen("DevEndpointNames", 1)) 18098 } 18099 18100 if invalidParams.Len() > 0 { 18101 return invalidParams 18102 } 18103 return nil 18104 } 18105 18106 // SetDevEndpointNames sets the DevEndpointNames field's value. 18107 func (s *BatchGetDevEndpointsInput) SetDevEndpointNames(v []*string) *BatchGetDevEndpointsInput { 18108 s.DevEndpointNames = v 18109 return s 18110 } 18111 18112 type BatchGetDevEndpointsOutput struct { 18113 _ struct{} `type:"structure"` 18114 18115 // A list of DevEndpoint definitions. 18116 DevEndpoints []*DevEndpoint `type:"list"` 18117 18118 // A list of DevEndpoints not found. 18119 DevEndpointsNotFound []*string `min:"1" type:"list"` 18120 } 18121 18122 // String returns the string representation. 18123 // 18124 // API parameter values that are decorated as "sensitive" in the API will not 18125 // be included in the string output. The member name will be present, but the 18126 // value will be replaced with "sensitive". 18127 func (s BatchGetDevEndpointsOutput) String() string { 18128 return awsutil.Prettify(s) 18129 } 18130 18131 // GoString returns the string representation. 18132 // 18133 // API parameter values that are decorated as "sensitive" in the API will not 18134 // be included in the string output. The member name will be present, but the 18135 // value will be replaced with "sensitive". 18136 func (s BatchGetDevEndpointsOutput) GoString() string { 18137 return s.String() 18138 } 18139 18140 // SetDevEndpoints sets the DevEndpoints field's value. 18141 func (s *BatchGetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *BatchGetDevEndpointsOutput { 18142 s.DevEndpoints = v 18143 return s 18144 } 18145 18146 // SetDevEndpointsNotFound sets the DevEndpointsNotFound field's value. 18147 func (s *BatchGetDevEndpointsOutput) SetDevEndpointsNotFound(v []*string) *BatchGetDevEndpointsOutput { 18148 s.DevEndpointsNotFound = v 18149 return s 18150 } 18151 18152 type BatchGetJobsInput struct { 18153 _ struct{} `type:"structure"` 18154 18155 // A list of job names, which might be the names returned from the ListJobs 18156 // operation. 18157 // 18158 // JobNames is a required field 18159 JobNames []*string `type:"list" required:"true"` 18160 } 18161 18162 // String returns the string representation. 18163 // 18164 // API parameter values that are decorated as "sensitive" in the API will not 18165 // be included in the string output. The member name will be present, but the 18166 // value will be replaced with "sensitive". 18167 func (s BatchGetJobsInput) String() string { 18168 return awsutil.Prettify(s) 18169 } 18170 18171 // GoString returns the string representation. 18172 // 18173 // API parameter values that are decorated as "sensitive" in the API will not 18174 // be included in the string output. The member name will be present, but the 18175 // value will be replaced with "sensitive". 18176 func (s BatchGetJobsInput) GoString() string { 18177 return s.String() 18178 } 18179 18180 // Validate inspects the fields of the type to determine if they are valid. 18181 func (s *BatchGetJobsInput) Validate() error { 18182 invalidParams := request.ErrInvalidParams{Context: "BatchGetJobsInput"} 18183 if s.JobNames == nil { 18184 invalidParams.Add(request.NewErrParamRequired("JobNames")) 18185 } 18186 18187 if invalidParams.Len() > 0 { 18188 return invalidParams 18189 } 18190 return nil 18191 } 18192 18193 // SetJobNames sets the JobNames field's value. 18194 func (s *BatchGetJobsInput) SetJobNames(v []*string) *BatchGetJobsInput { 18195 s.JobNames = v 18196 return s 18197 } 18198 18199 type BatchGetJobsOutput struct { 18200 _ struct{} `type:"structure"` 18201 18202 // A list of job definitions. 18203 Jobs []*Job `type:"list"` 18204 18205 // A list of names of jobs not found. 18206 JobsNotFound []*string `type:"list"` 18207 } 18208 18209 // String returns the string representation. 18210 // 18211 // API parameter values that are decorated as "sensitive" in the API will not 18212 // be included in the string output. The member name will be present, but the 18213 // value will be replaced with "sensitive". 18214 func (s BatchGetJobsOutput) String() string { 18215 return awsutil.Prettify(s) 18216 } 18217 18218 // GoString returns the string representation. 18219 // 18220 // API parameter values that are decorated as "sensitive" in the API will not 18221 // be included in the string output. The member name will be present, but the 18222 // value will be replaced with "sensitive". 18223 func (s BatchGetJobsOutput) GoString() string { 18224 return s.String() 18225 } 18226 18227 // SetJobs sets the Jobs field's value. 18228 func (s *BatchGetJobsOutput) SetJobs(v []*Job) *BatchGetJobsOutput { 18229 s.Jobs = v 18230 return s 18231 } 18232 18233 // SetJobsNotFound sets the JobsNotFound field's value. 18234 func (s *BatchGetJobsOutput) SetJobsNotFound(v []*string) *BatchGetJobsOutput { 18235 s.JobsNotFound = v 18236 return s 18237 } 18238 18239 type BatchGetPartitionInput struct { 18240 _ struct{} `type:"structure"` 18241 18242 // The ID of the Data Catalog where the partitions in question reside. If none 18243 // is supplied, the Amazon Web Services account ID is used by default. 18244 CatalogId *string `min:"1" type:"string"` 18245 18246 // The name of the catalog database where the partitions reside. 18247 // 18248 // DatabaseName is a required field 18249 DatabaseName *string `min:"1" type:"string" required:"true"` 18250 18251 // A list of partition values identifying the partitions to retrieve. 18252 // 18253 // PartitionsToGet is a required field 18254 PartitionsToGet []*PartitionValueList `type:"list" required:"true"` 18255 18256 // The name of the partitions' table. 18257 // 18258 // TableName is a required field 18259 TableName *string `min:"1" type:"string" required:"true"` 18260 } 18261 18262 // String returns the string representation. 18263 // 18264 // API parameter values that are decorated as "sensitive" in the API will not 18265 // be included in the string output. The member name will be present, but the 18266 // value will be replaced with "sensitive". 18267 func (s BatchGetPartitionInput) String() string { 18268 return awsutil.Prettify(s) 18269 } 18270 18271 // GoString returns the string representation. 18272 // 18273 // API parameter values that are decorated as "sensitive" in the API will not 18274 // be included in the string output. The member name will be present, but the 18275 // value will be replaced with "sensitive". 18276 func (s BatchGetPartitionInput) GoString() string { 18277 return s.String() 18278 } 18279 18280 // Validate inspects the fields of the type to determine if they are valid. 18281 func (s *BatchGetPartitionInput) Validate() error { 18282 invalidParams := request.ErrInvalidParams{Context: "BatchGetPartitionInput"} 18283 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 18284 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 18285 } 18286 if s.DatabaseName == nil { 18287 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 18288 } 18289 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 18290 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 18291 } 18292 if s.PartitionsToGet == nil { 18293 invalidParams.Add(request.NewErrParamRequired("PartitionsToGet")) 18294 } 18295 if s.TableName == nil { 18296 invalidParams.Add(request.NewErrParamRequired("TableName")) 18297 } 18298 if s.TableName != nil && len(*s.TableName) < 1 { 18299 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 18300 } 18301 if s.PartitionsToGet != nil { 18302 for i, v := range s.PartitionsToGet { 18303 if v == nil { 18304 continue 18305 } 18306 if err := v.Validate(); err != nil { 18307 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToGet", i), err.(request.ErrInvalidParams)) 18308 } 18309 } 18310 } 18311 18312 if invalidParams.Len() > 0 { 18313 return invalidParams 18314 } 18315 return nil 18316 } 18317 18318 // SetCatalogId sets the CatalogId field's value. 18319 func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput { 18320 s.CatalogId = &v 18321 return s 18322 } 18323 18324 // SetDatabaseName sets the DatabaseName field's value. 18325 func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput { 18326 s.DatabaseName = &v 18327 return s 18328 } 18329 18330 // SetPartitionsToGet sets the PartitionsToGet field's value. 18331 func (s *BatchGetPartitionInput) SetPartitionsToGet(v []*PartitionValueList) *BatchGetPartitionInput { 18332 s.PartitionsToGet = v 18333 return s 18334 } 18335 18336 // SetTableName sets the TableName field's value. 18337 func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput { 18338 s.TableName = &v 18339 return s 18340 } 18341 18342 type BatchGetPartitionOutput struct { 18343 _ struct{} `type:"structure"` 18344 18345 // A list of the requested partitions. 18346 Partitions []*Partition `type:"list"` 18347 18348 // A list of the partition values in the request for which partitions were not 18349 // returned. 18350 UnprocessedKeys []*PartitionValueList `type:"list"` 18351 } 18352 18353 // String returns the string representation. 18354 // 18355 // API parameter values that are decorated as "sensitive" in the API will not 18356 // be included in the string output. The member name will be present, but the 18357 // value will be replaced with "sensitive". 18358 func (s BatchGetPartitionOutput) String() string { 18359 return awsutil.Prettify(s) 18360 } 18361 18362 // GoString returns the string representation. 18363 // 18364 // API parameter values that are decorated as "sensitive" in the API will not 18365 // be included in the string output. The member name will be present, but the 18366 // value will be replaced with "sensitive". 18367 func (s BatchGetPartitionOutput) GoString() string { 18368 return s.String() 18369 } 18370 18371 // SetPartitions sets the Partitions field's value. 18372 func (s *BatchGetPartitionOutput) SetPartitions(v []*Partition) *BatchGetPartitionOutput { 18373 s.Partitions = v 18374 return s 18375 } 18376 18377 // SetUnprocessedKeys sets the UnprocessedKeys field's value. 18378 func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *BatchGetPartitionOutput { 18379 s.UnprocessedKeys = v 18380 return s 18381 } 18382 18383 type BatchGetTriggersInput struct { 18384 _ struct{} `type:"structure"` 18385 18386 // A list of trigger names, which may be the names returned from the ListTriggers 18387 // operation. 18388 // 18389 // TriggerNames is a required field 18390 TriggerNames []*string `type:"list" required:"true"` 18391 } 18392 18393 // String returns the string representation. 18394 // 18395 // API parameter values that are decorated as "sensitive" in the API will not 18396 // be included in the string output. The member name will be present, but the 18397 // value will be replaced with "sensitive". 18398 func (s BatchGetTriggersInput) String() string { 18399 return awsutil.Prettify(s) 18400 } 18401 18402 // GoString returns the string representation. 18403 // 18404 // API parameter values that are decorated as "sensitive" in the API will not 18405 // be included in the string output. The member name will be present, but the 18406 // value will be replaced with "sensitive". 18407 func (s BatchGetTriggersInput) GoString() string { 18408 return s.String() 18409 } 18410 18411 // Validate inspects the fields of the type to determine if they are valid. 18412 func (s *BatchGetTriggersInput) Validate() error { 18413 invalidParams := request.ErrInvalidParams{Context: "BatchGetTriggersInput"} 18414 if s.TriggerNames == nil { 18415 invalidParams.Add(request.NewErrParamRequired("TriggerNames")) 18416 } 18417 18418 if invalidParams.Len() > 0 { 18419 return invalidParams 18420 } 18421 return nil 18422 } 18423 18424 // SetTriggerNames sets the TriggerNames field's value. 18425 func (s *BatchGetTriggersInput) SetTriggerNames(v []*string) *BatchGetTriggersInput { 18426 s.TriggerNames = v 18427 return s 18428 } 18429 18430 type BatchGetTriggersOutput struct { 18431 _ struct{} `type:"structure"` 18432 18433 // A list of trigger definitions. 18434 Triggers []*Trigger `type:"list"` 18435 18436 // A list of names of triggers not found. 18437 TriggersNotFound []*string `type:"list"` 18438 } 18439 18440 // String returns the string representation. 18441 // 18442 // API parameter values that are decorated as "sensitive" in the API will not 18443 // be included in the string output. The member name will be present, but the 18444 // value will be replaced with "sensitive". 18445 func (s BatchGetTriggersOutput) String() string { 18446 return awsutil.Prettify(s) 18447 } 18448 18449 // GoString returns the string representation. 18450 // 18451 // API parameter values that are decorated as "sensitive" in the API will not 18452 // be included in the string output. The member name will be present, but the 18453 // value will be replaced with "sensitive". 18454 func (s BatchGetTriggersOutput) GoString() string { 18455 return s.String() 18456 } 18457 18458 // SetTriggers sets the Triggers field's value. 18459 func (s *BatchGetTriggersOutput) SetTriggers(v []*Trigger) *BatchGetTriggersOutput { 18460 s.Triggers = v 18461 return s 18462 } 18463 18464 // SetTriggersNotFound sets the TriggersNotFound field's value. 18465 func (s *BatchGetTriggersOutput) SetTriggersNotFound(v []*string) *BatchGetTriggersOutput { 18466 s.TriggersNotFound = v 18467 return s 18468 } 18469 18470 type BatchGetWorkflowsInput struct { 18471 _ struct{} `type:"structure"` 18472 18473 // Specifies whether to include a graph when returning the workflow resource 18474 // metadata. 18475 IncludeGraph *bool `type:"boolean"` 18476 18477 // A list of workflow names, which may be the names returned from the ListWorkflows 18478 // operation. 18479 // 18480 // Names is a required field 18481 Names []*string `min:"1" type:"list" required:"true"` 18482 } 18483 18484 // String returns the string representation. 18485 // 18486 // API parameter values that are decorated as "sensitive" in the API will not 18487 // be included in the string output. The member name will be present, but the 18488 // value will be replaced with "sensitive". 18489 func (s BatchGetWorkflowsInput) String() string { 18490 return awsutil.Prettify(s) 18491 } 18492 18493 // GoString returns the string representation. 18494 // 18495 // API parameter values that are decorated as "sensitive" in the API will not 18496 // be included in the string output. The member name will be present, but the 18497 // value will be replaced with "sensitive". 18498 func (s BatchGetWorkflowsInput) GoString() string { 18499 return s.String() 18500 } 18501 18502 // Validate inspects the fields of the type to determine if they are valid. 18503 func (s *BatchGetWorkflowsInput) Validate() error { 18504 invalidParams := request.ErrInvalidParams{Context: "BatchGetWorkflowsInput"} 18505 if s.Names == nil { 18506 invalidParams.Add(request.NewErrParamRequired("Names")) 18507 } 18508 if s.Names != nil && len(s.Names) < 1 { 18509 invalidParams.Add(request.NewErrParamMinLen("Names", 1)) 18510 } 18511 18512 if invalidParams.Len() > 0 { 18513 return invalidParams 18514 } 18515 return nil 18516 } 18517 18518 // SetIncludeGraph sets the IncludeGraph field's value. 18519 func (s *BatchGetWorkflowsInput) SetIncludeGraph(v bool) *BatchGetWorkflowsInput { 18520 s.IncludeGraph = &v 18521 return s 18522 } 18523 18524 // SetNames sets the Names field's value. 18525 func (s *BatchGetWorkflowsInput) SetNames(v []*string) *BatchGetWorkflowsInput { 18526 s.Names = v 18527 return s 18528 } 18529 18530 type BatchGetWorkflowsOutput struct { 18531 _ struct{} `type:"structure"` 18532 18533 // A list of names of workflows not found. 18534 MissingWorkflows []*string `min:"1" type:"list"` 18535 18536 // A list of workflow resource metadata. 18537 Workflows []*Workflow `min:"1" type:"list"` 18538 } 18539 18540 // String returns the string representation. 18541 // 18542 // API parameter values that are decorated as "sensitive" in the API will not 18543 // be included in the string output. The member name will be present, but the 18544 // value will be replaced with "sensitive". 18545 func (s BatchGetWorkflowsOutput) String() string { 18546 return awsutil.Prettify(s) 18547 } 18548 18549 // GoString returns the string representation. 18550 // 18551 // API parameter values that are decorated as "sensitive" in the API will not 18552 // be included in the string output. The member name will be present, but the 18553 // value will be replaced with "sensitive". 18554 func (s BatchGetWorkflowsOutput) GoString() string { 18555 return s.String() 18556 } 18557 18558 // SetMissingWorkflows sets the MissingWorkflows field's value. 18559 func (s *BatchGetWorkflowsOutput) SetMissingWorkflows(v []*string) *BatchGetWorkflowsOutput { 18560 s.MissingWorkflows = v 18561 return s 18562 } 18563 18564 // SetWorkflows sets the Workflows field's value. 18565 func (s *BatchGetWorkflowsOutput) SetWorkflows(v []*Workflow) *BatchGetWorkflowsOutput { 18566 s.Workflows = v 18567 return s 18568 } 18569 18570 // Records an error that occurred when attempting to stop a specified job run. 18571 type BatchStopJobRunError struct { 18572 _ struct{} `type:"structure"` 18573 18574 // Specifies details about the error that was encountered. 18575 ErrorDetail *ErrorDetail `type:"structure"` 18576 18577 // The name of the job definition that is used in the job run in question. 18578 JobName *string `min:"1" type:"string"` 18579 18580 // The JobRunId of the job run in question. 18581 JobRunId *string `min:"1" type:"string"` 18582 } 18583 18584 // String returns the string representation. 18585 // 18586 // API parameter values that are decorated as "sensitive" in the API will not 18587 // be included in the string output. The member name will be present, but the 18588 // value will be replaced with "sensitive". 18589 func (s BatchStopJobRunError) String() string { 18590 return awsutil.Prettify(s) 18591 } 18592 18593 // GoString returns the string representation. 18594 // 18595 // API parameter values that are decorated as "sensitive" in the API will not 18596 // be included in the string output. The member name will be present, but the 18597 // value will be replaced with "sensitive". 18598 func (s BatchStopJobRunError) GoString() string { 18599 return s.String() 18600 } 18601 18602 // SetErrorDetail sets the ErrorDetail field's value. 18603 func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError { 18604 s.ErrorDetail = v 18605 return s 18606 } 18607 18608 // SetJobName sets the JobName field's value. 18609 func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError { 18610 s.JobName = &v 18611 return s 18612 } 18613 18614 // SetJobRunId sets the JobRunId field's value. 18615 func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError { 18616 s.JobRunId = &v 18617 return s 18618 } 18619 18620 type BatchStopJobRunInput struct { 18621 _ struct{} `type:"structure"` 18622 18623 // The name of the job definition for which to stop job runs. 18624 // 18625 // JobName is a required field 18626 JobName *string `min:"1" type:"string" required:"true"` 18627 18628 // A list of the JobRunIds that should be stopped for that job definition. 18629 // 18630 // JobRunIds is a required field 18631 JobRunIds []*string `min:"1" type:"list" required:"true"` 18632 } 18633 18634 // String returns the string representation. 18635 // 18636 // API parameter values that are decorated as "sensitive" in the API will not 18637 // be included in the string output. The member name will be present, but the 18638 // value will be replaced with "sensitive". 18639 func (s BatchStopJobRunInput) String() string { 18640 return awsutil.Prettify(s) 18641 } 18642 18643 // GoString returns the string representation. 18644 // 18645 // API parameter values that are decorated as "sensitive" in the API will not 18646 // be included in the string output. The member name will be present, but the 18647 // value will be replaced with "sensitive". 18648 func (s BatchStopJobRunInput) GoString() string { 18649 return s.String() 18650 } 18651 18652 // Validate inspects the fields of the type to determine if they are valid. 18653 func (s *BatchStopJobRunInput) Validate() error { 18654 invalidParams := request.ErrInvalidParams{Context: "BatchStopJobRunInput"} 18655 if s.JobName == nil { 18656 invalidParams.Add(request.NewErrParamRequired("JobName")) 18657 } 18658 if s.JobName != nil && len(*s.JobName) < 1 { 18659 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 18660 } 18661 if s.JobRunIds == nil { 18662 invalidParams.Add(request.NewErrParamRequired("JobRunIds")) 18663 } 18664 if s.JobRunIds != nil && len(s.JobRunIds) < 1 { 18665 invalidParams.Add(request.NewErrParamMinLen("JobRunIds", 1)) 18666 } 18667 18668 if invalidParams.Len() > 0 { 18669 return invalidParams 18670 } 18671 return nil 18672 } 18673 18674 // SetJobName sets the JobName field's value. 18675 func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput { 18676 s.JobName = &v 18677 return s 18678 } 18679 18680 // SetJobRunIds sets the JobRunIds field's value. 18681 func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput { 18682 s.JobRunIds = v 18683 return s 18684 } 18685 18686 type BatchStopJobRunOutput struct { 18687 _ struct{} `type:"structure"` 18688 18689 // A list of the errors that were encountered in trying to stop JobRuns, including 18690 // the JobRunId for which each error was encountered and details about the error. 18691 Errors []*BatchStopJobRunError `type:"list"` 18692 18693 // A list of the JobRuns that were successfully submitted for stopping. 18694 SuccessfulSubmissions []*BatchStopJobRunSuccessfulSubmission `type:"list"` 18695 } 18696 18697 // String returns the string representation. 18698 // 18699 // API parameter values that are decorated as "sensitive" in the API will not 18700 // be included in the string output. The member name will be present, but the 18701 // value will be replaced with "sensitive". 18702 func (s BatchStopJobRunOutput) String() string { 18703 return awsutil.Prettify(s) 18704 } 18705 18706 // GoString returns the string representation. 18707 // 18708 // API parameter values that are decorated as "sensitive" in the API will not 18709 // be included in the string output. The member name will be present, but the 18710 // value will be replaced with "sensitive". 18711 func (s BatchStopJobRunOutput) GoString() string { 18712 return s.String() 18713 } 18714 18715 // SetErrors sets the Errors field's value. 18716 func (s *BatchStopJobRunOutput) SetErrors(v []*BatchStopJobRunError) *BatchStopJobRunOutput { 18717 s.Errors = v 18718 return s 18719 } 18720 18721 // SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value. 18722 func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput { 18723 s.SuccessfulSubmissions = v 18724 return s 18725 } 18726 18727 // Records a successful request to stop a specified JobRun. 18728 type BatchStopJobRunSuccessfulSubmission struct { 18729 _ struct{} `type:"structure"` 18730 18731 // The name of the job definition used in the job run that was stopped. 18732 JobName *string `min:"1" type:"string"` 18733 18734 // The JobRunId of the job run that was stopped. 18735 JobRunId *string `min:"1" type:"string"` 18736 } 18737 18738 // String returns the string representation. 18739 // 18740 // API parameter values that are decorated as "sensitive" in the API will not 18741 // be included in the string output. The member name will be present, but the 18742 // value will be replaced with "sensitive". 18743 func (s BatchStopJobRunSuccessfulSubmission) String() string { 18744 return awsutil.Prettify(s) 18745 } 18746 18747 // GoString returns the string representation. 18748 // 18749 // API parameter values that are decorated as "sensitive" in the API will not 18750 // be included in the string output. The member name will be present, but the 18751 // value will be replaced with "sensitive". 18752 func (s BatchStopJobRunSuccessfulSubmission) GoString() string { 18753 return s.String() 18754 } 18755 18756 // SetJobName sets the JobName field's value. 18757 func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission { 18758 s.JobName = &v 18759 return s 18760 } 18761 18762 // SetJobRunId sets the JobRunId field's value. 18763 func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission { 18764 s.JobRunId = &v 18765 return s 18766 } 18767 18768 // Contains information about a batch update partition error. 18769 type BatchUpdatePartitionFailureEntry struct { 18770 _ struct{} `type:"structure"` 18771 18772 // The details about the batch update partition error. 18773 ErrorDetail *ErrorDetail `type:"structure"` 18774 18775 // A list of values defining the partitions. 18776 PartitionValueList []*string `type:"list"` 18777 } 18778 18779 // String returns the string representation. 18780 // 18781 // API parameter values that are decorated as "sensitive" in the API will not 18782 // be included in the string output. The member name will be present, but the 18783 // value will be replaced with "sensitive". 18784 func (s BatchUpdatePartitionFailureEntry) String() string { 18785 return awsutil.Prettify(s) 18786 } 18787 18788 // GoString returns the string representation. 18789 // 18790 // API parameter values that are decorated as "sensitive" in the API will not 18791 // be included in the string output. The member name will be present, but the 18792 // value will be replaced with "sensitive". 18793 func (s BatchUpdatePartitionFailureEntry) GoString() string { 18794 return s.String() 18795 } 18796 18797 // SetErrorDetail sets the ErrorDetail field's value. 18798 func (s *BatchUpdatePartitionFailureEntry) SetErrorDetail(v *ErrorDetail) *BatchUpdatePartitionFailureEntry { 18799 s.ErrorDetail = v 18800 return s 18801 } 18802 18803 // SetPartitionValueList sets the PartitionValueList field's value. 18804 func (s *BatchUpdatePartitionFailureEntry) SetPartitionValueList(v []*string) *BatchUpdatePartitionFailureEntry { 18805 s.PartitionValueList = v 18806 return s 18807 } 18808 18809 type BatchUpdatePartitionInput struct { 18810 _ struct{} `type:"structure"` 18811 18812 // The ID of the catalog in which the partition is to be updated. Currently, 18813 // this should be the Amazon Web Services account ID. 18814 CatalogId *string `min:"1" type:"string"` 18815 18816 // The name of the metadata database in which the partition is to be updated. 18817 // 18818 // DatabaseName is a required field 18819 DatabaseName *string `min:"1" type:"string" required:"true"` 18820 18821 // A list of up to 100 BatchUpdatePartitionRequestEntry objects to update. 18822 // 18823 // Entries is a required field 18824 Entries []*BatchUpdatePartitionRequestEntry `min:"1" type:"list" required:"true"` 18825 18826 // The name of the metadata table in which the partition is to be updated. 18827 // 18828 // TableName is a required field 18829 TableName *string `min:"1" type:"string" required:"true"` 18830 } 18831 18832 // String returns the string representation. 18833 // 18834 // API parameter values that are decorated as "sensitive" in the API will not 18835 // be included in the string output. The member name will be present, but the 18836 // value will be replaced with "sensitive". 18837 func (s BatchUpdatePartitionInput) String() string { 18838 return awsutil.Prettify(s) 18839 } 18840 18841 // GoString returns the string representation. 18842 // 18843 // API parameter values that are decorated as "sensitive" in the API will not 18844 // be included in the string output. The member name will be present, but the 18845 // value will be replaced with "sensitive". 18846 func (s BatchUpdatePartitionInput) GoString() string { 18847 return s.String() 18848 } 18849 18850 // Validate inspects the fields of the type to determine if they are valid. 18851 func (s *BatchUpdatePartitionInput) Validate() error { 18852 invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePartitionInput"} 18853 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 18854 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 18855 } 18856 if s.DatabaseName == nil { 18857 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 18858 } 18859 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 18860 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 18861 } 18862 if s.Entries == nil { 18863 invalidParams.Add(request.NewErrParamRequired("Entries")) 18864 } 18865 if s.Entries != nil && len(s.Entries) < 1 { 18866 invalidParams.Add(request.NewErrParamMinLen("Entries", 1)) 18867 } 18868 if s.TableName == nil { 18869 invalidParams.Add(request.NewErrParamRequired("TableName")) 18870 } 18871 if s.TableName != nil && len(*s.TableName) < 1 { 18872 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 18873 } 18874 if s.Entries != nil { 18875 for i, v := range s.Entries { 18876 if v == nil { 18877 continue 18878 } 18879 if err := v.Validate(); err != nil { 18880 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Entries", i), err.(request.ErrInvalidParams)) 18881 } 18882 } 18883 } 18884 18885 if invalidParams.Len() > 0 { 18886 return invalidParams 18887 } 18888 return nil 18889 } 18890 18891 // SetCatalogId sets the CatalogId field's value. 18892 func (s *BatchUpdatePartitionInput) SetCatalogId(v string) *BatchUpdatePartitionInput { 18893 s.CatalogId = &v 18894 return s 18895 } 18896 18897 // SetDatabaseName sets the DatabaseName field's value. 18898 func (s *BatchUpdatePartitionInput) SetDatabaseName(v string) *BatchUpdatePartitionInput { 18899 s.DatabaseName = &v 18900 return s 18901 } 18902 18903 // SetEntries sets the Entries field's value. 18904 func (s *BatchUpdatePartitionInput) SetEntries(v []*BatchUpdatePartitionRequestEntry) *BatchUpdatePartitionInput { 18905 s.Entries = v 18906 return s 18907 } 18908 18909 // SetTableName sets the TableName field's value. 18910 func (s *BatchUpdatePartitionInput) SetTableName(v string) *BatchUpdatePartitionInput { 18911 s.TableName = &v 18912 return s 18913 } 18914 18915 type BatchUpdatePartitionOutput struct { 18916 _ struct{} `type:"structure"` 18917 18918 // The errors encountered when trying to update the requested partitions. A 18919 // list of BatchUpdatePartitionFailureEntry objects. 18920 Errors []*BatchUpdatePartitionFailureEntry `type:"list"` 18921 } 18922 18923 // String returns the string representation. 18924 // 18925 // API parameter values that are decorated as "sensitive" in the API will not 18926 // be included in the string output. The member name will be present, but the 18927 // value will be replaced with "sensitive". 18928 func (s BatchUpdatePartitionOutput) String() string { 18929 return awsutil.Prettify(s) 18930 } 18931 18932 // GoString returns the string representation. 18933 // 18934 // API parameter values that are decorated as "sensitive" in the API will not 18935 // be included in the string output. The member name will be present, but the 18936 // value will be replaced with "sensitive". 18937 func (s BatchUpdatePartitionOutput) GoString() string { 18938 return s.String() 18939 } 18940 18941 // SetErrors sets the Errors field's value. 18942 func (s *BatchUpdatePartitionOutput) SetErrors(v []*BatchUpdatePartitionFailureEntry) *BatchUpdatePartitionOutput { 18943 s.Errors = v 18944 return s 18945 } 18946 18947 // A structure that contains the values and structure used to update a partition. 18948 type BatchUpdatePartitionRequestEntry struct { 18949 _ struct{} `type:"structure"` 18950 18951 // The structure used to update a partition. 18952 // 18953 // PartitionInput is a required field 18954 PartitionInput *PartitionInput `type:"structure" required:"true"` 18955 18956 // A list of values defining the partitions. 18957 // 18958 // PartitionValueList is a required field 18959 PartitionValueList []*string `type:"list" required:"true"` 18960 } 18961 18962 // String returns the string representation. 18963 // 18964 // API parameter values that are decorated as "sensitive" in the API will not 18965 // be included in the string output. The member name will be present, but the 18966 // value will be replaced with "sensitive". 18967 func (s BatchUpdatePartitionRequestEntry) String() string { 18968 return awsutil.Prettify(s) 18969 } 18970 18971 // GoString returns the string representation. 18972 // 18973 // API parameter values that are decorated as "sensitive" in the API will not 18974 // be included in the string output. The member name will be present, but the 18975 // value will be replaced with "sensitive". 18976 func (s BatchUpdatePartitionRequestEntry) GoString() string { 18977 return s.String() 18978 } 18979 18980 // Validate inspects the fields of the type to determine if they are valid. 18981 func (s *BatchUpdatePartitionRequestEntry) Validate() error { 18982 invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePartitionRequestEntry"} 18983 if s.PartitionInput == nil { 18984 invalidParams.Add(request.NewErrParamRequired("PartitionInput")) 18985 } 18986 if s.PartitionValueList == nil { 18987 invalidParams.Add(request.NewErrParamRequired("PartitionValueList")) 18988 } 18989 if s.PartitionInput != nil { 18990 if err := s.PartitionInput.Validate(); err != nil { 18991 invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams)) 18992 } 18993 } 18994 18995 if invalidParams.Len() > 0 { 18996 return invalidParams 18997 } 18998 return nil 18999 } 19000 19001 // SetPartitionInput sets the PartitionInput field's value. 19002 func (s *BatchUpdatePartitionRequestEntry) SetPartitionInput(v *PartitionInput) *BatchUpdatePartitionRequestEntry { 19003 s.PartitionInput = v 19004 return s 19005 } 19006 19007 // SetPartitionValueList sets the PartitionValueList field's value. 19008 func (s *BatchUpdatePartitionRequestEntry) SetPartitionValueList(v []*string) *BatchUpdatePartitionRequestEntry { 19009 s.PartitionValueList = v 19010 return s 19011 } 19012 19013 // Defines column statistics supported for bit sequence data values. 19014 type BinaryColumnStatisticsData struct { 19015 _ struct{} `type:"structure"` 19016 19017 // The average bit sequence length in the column. 19018 // 19019 // AverageLength is a required field 19020 AverageLength *float64 `type:"double" required:"true"` 19021 19022 // The size of the longest bit sequence in the column. 19023 // 19024 // MaximumLength is a required field 19025 MaximumLength *int64 `type:"long" required:"true"` 19026 19027 // The number of null values in the column. 19028 // 19029 // NumberOfNulls is a required field 19030 NumberOfNulls *int64 `type:"long" required:"true"` 19031 } 19032 19033 // String returns the string representation. 19034 // 19035 // API parameter values that are decorated as "sensitive" in the API will not 19036 // be included in the string output. The member name will be present, but the 19037 // value will be replaced with "sensitive". 19038 func (s BinaryColumnStatisticsData) String() string { 19039 return awsutil.Prettify(s) 19040 } 19041 19042 // GoString returns the string representation. 19043 // 19044 // API parameter values that are decorated as "sensitive" in the API will not 19045 // be included in the string output. The member name will be present, but the 19046 // value will be replaced with "sensitive". 19047 func (s BinaryColumnStatisticsData) GoString() string { 19048 return s.String() 19049 } 19050 19051 // Validate inspects the fields of the type to determine if they are valid. 19052 func (s *BinaryColumnStatisticsData) Validate() error { 19053 invalidParams := request.ErrInvalidParams{Context: "BinaryColumnStatisticsData"} 19054 if s.AverageLength == nil { 19055 invalidParams.Add(request.NewErrParamRequired("AverageLength")) 19056 } 19057 if s.MaximumLength == nil { 19058 invalidParams.Add(request.NewErrParamRequired("MaximumLength")) 19059 } 19060 if s.NumberOfNulls == nil { 19061 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 19062 } 19063 19064 if invalidParams.Len() > 0 { 19065 return invalidParams 19066 } 19067 return nil 19068 } 19069 19070 // SetAverageLength sets the AverageLength field's value. 19071 func (s *BinaryColumnStatisticsData) SetAverageLength(v float64) *BinaryColumnStatisticsData { 19072 s.AverageLength = &v 19073 return s 19074 } 19075 19076 // SetMaximumLength sets the MaximumLength field's value. 19077 func (s *BinaryColumnStatisticsData) SetMaximumLength(v int64) *BinaryColumnStatisticsData { 19078 s.MaximumLength = &v 19079 return s 19080 } 19081 19082 // SetNumberOfNulls sets the NumberOfNulls field's value. 19083 func (s *BinaryColumnStatisticsData) SetNumberOfNulls(v int64) *BinaryColumnStatisticsData { 19084 s.NumberOfNulls = &v 19085 return s 19086 } 19087 19088 // The details of a blueprint. 19089 type Blueprint struct { 19090 _ struct{} `type:"structure"` 19091 19092 // Specifies the path in Amazon S3 where the blueprint is published. 19093 BlueprintLocation *string `type:"string"` 19094 19095 // Specifies a path in Amazon S3 where the blueprint is copied when you call 19096 // CreateBlueprint/UpdateBlueprint to register the blueprint in Glue. 19097 BlueprintServiceLocation *string `type:"string"` 19098 19099 // The date and time the blueprint was registered. 19100 CreatedOn *time.Time `type:"timestamp"` 19101 19102 // The description of the blueprint. 19103 Description *string `min:"1" type:"string"` 19104 19105 // An error message. 19106 ErrorMessage *string `type:"string"` 19107 19108 // When there are multiple versions of a blueprint and the latest version has 19109 // some errors, this attribute indicates the last successful blueprint definition 19110 // that is available with the service. 19111 LastActiveDefinition *LastActiveDefinition `type:"structure"` 19112 19113 // The date and time the blueprint was last modified. 19114 LastModifiedOn *time.Time `type:"timestamp"` 19115 19116 // The name of the blueprint. 19117 Name *string `min:"1" type:"string"` 19118 19119 // A JSON string that indicates the list of parameter specifications for the 19120 // blueprint. 19121 ParameterSpec *string `min:"1" type:"string"` 19122 19123 // The status of the blueprint registration. 19124 // 19125 // * Creating — The blueprint registration is in progress. 19126 // 19127 // * Active — The blueprint has been successfully registered. 19128 // 19129 // * Updating — An update to the blueprint registration is in progress. 19130 // 19131 // * Failed — The blueprint registration failed. 19132 Status *string `type:"string" enum:"BlueprintStatus"` 19133 } 19134 19135 // String returns the string representation. 19136 // 19137 // API parameter values that are decorated as "sensitive" in the API will not 19138 // be included in the string output. The member name will be present, but the 19139 // value will be replaced with "sensitive". 19140 func (s Blueprint) String() string { 19141 return awsutil.Prettify(s) 19142 } 19143 19144 // GoString returns the string representation. 19145 // 19146 // API parameter values that are decorated as "sensitive" in the API will not 19147 // be included in the string output. The member name will be present, but the 19148 // value will be replaced with "sensitive". 19149 func (s Blueprint) GoString() string { 19150 return s.String() 19151 } 19152 19153 // SetBlueprintLocation sets the BlueprintLocation field's value. 19154 func (s *Blueprint) SetBlueprintLocation(v string) *Blueprint { 19155 s.BlueprintLocation = &v 19156 return s 19157 } 19158 19159 // SetBlueprintServiceLocation sets the BlueprintServiceLocation field's value. 19160 func (s *Blueprint) SetBlueprintServiceLocation(v string) *Blueprint { 19161 s.BlueprintServiceLocation = &v 19162 return s 19163 } 19164 19165 // SetCreatedOn sets the CreatedOn field's value. 19166 func (s *Blueprint) SetCreatedOn(v time.Time) *Blueprint { 19167 s.CreatedOn = &v 19168 return s 19169 } 19170 19171 // SetDescription sets the Description field's value. 19172 func (s *Blueprint) SetDescription(v string) *Blueprint { 19173 s.Description = &v 19174 return s 19175 } 19176 19177 // SetErrorMessage sets the ErrorMessage field's value. 19178 func (s *Blueprint) SetErrorMessage(v string) *Blueprint { 19179 s.ErrorMessage = &v 19180 return s 19181 } 19182 19183 // SetLastActiveDefinition sets the LastActiveDefinition field's value. 19184 func (s *Blueprint) SetLastActiveDefinition(v *LastActiveDefinition) *Blueprint { 19185 s.LastActiveDefinition = v 19186 return s 19187 } 19188 19189 // SetLastModifiedOn sets the LastModifiedOn field's value. 19190 func (s *Blueprint) SetLastModifiedOn(v time.Time) *Blueprint { 19191 s.LastModifiedOn = &v 19192 return s 19193 } 19194 19195 // SetName sets the Name field's value. 19196 func (s *Blueprint) SetName(v string) *Blueprint { 19197 s.Name = &v 19198 return s 19199 } 19200 19201 // SetParameterSpec sets the ParameterSpec field's value. 19202 func (s *Blueprint) SetParameterSpec(v string) *Blueprint { 19203 s.ParameterSpec = &v 19204 return s 19205 } 19206 19207 // SetStatus sets the Status field's value. 19208 func (s *Blueprint) SetStatus(v string) *Blueprint { 19209 s.Status = &v 19210 return s 19211 } 19212 19213 // The details of a blueprint. 19214 type BlueprintDetails struct { 19215 _ struct{} `type:"structure"` 19216 19217 // The name of the blueprint. 19218 BlueprintName *string `min:"1" type:"string"` 19219 19220 // The run ID for this blueprint. 19221 RunId *string `min:"1" type:"string"` 19222 } 19223 19224 // String returns the string representation. 19225 // 19226 // API parameter values that are decorated as "sensitive" in the API will not 19227 // be included in the string output. The member name will be present, but the 19228 // value will be replaced with "sensitive". 19229 func (s BlueprintDetails) String() string { 19230 return awsutil.Prettify(s) 19231 } 19232 19233 // GoString returns the string representation. 19234 // 19235 // API parameter values that are decorated as "sensitive" in the API will not 19236 // be included in the string output. The member name will be present, but the 19237 // value will be replaced with "sensitive". 19238 func (s BlueprintDetails) GoString() string { 19239 return s.String() 19240 } 19241 19242 // SetBlueprintName sets the BlueprintName field's value. 19243 func (s *BlueprintDetails) SetBlueprintName(v string) *BlueprintDetails { 19244 s.BlueprintName = &v 19245 return s 19246 } 19247 19248 // SetRunId sets the RunId field's value. 19249 func (s *BlueprintDetails) SetRunId(v string) *BlueprintDetails { 19250 s.RunId = &v 19251 return s 19252 } 19253 19254 // The details of a blueprint run. 19255 type BlueprintRun struct { 19256 _ struct{} `type:"structure"` 19257 19258 // The name of the blueprint. 19259 BlueprintName *string `min:"1" type:"string"` 19260 19261 // The date and time that the blueprint run completed. 19262 CompletedOn *time.Time `type:"timestamp"` 19263 19264 // Indicates any errors that are seen while running the blueprint. 19265 ErrorMessage *string `type:"string"` 19266 19267 // The blueprint parameters as a string. You will have to provide a value for 19268 // each key that is required from the parameter spec that is defined in the 19269 // Blueprint$ParameterSpec. 19270 Parameters *string `min:"1" type:"string"` 19271 19272 // The role ARN. This role will be assumed by the Glue service and will be used 19273 // to create the workflow and other entities of a workflow. 19274 RoleArn *string `min:"1" type:"string"` 19275 19276 // If there are any errors while creating the entities of a workflow, we try 19277 // to roll back the created entities until that point and delete them. This 19278 // attribute indicates the errors seen while trying to delete the entities that 19279 // are created. 19280 RollbackErrorMessage *string `type:"string"` 19281 19282 // The run ID for this blueprint run. 19283 RunId *string `min:"1" type:"string"` 19284 19285 // The date and time that the blueprint run started. 19286 StartedOn *time.Time `type:"timestamp"` 19287 19288 // The state of the blueprint run. Possible values are: 19289 // 19290 // * Running — The blueprint run is in progress. 19291 // 19292 // * Succeeded — The blueprint run completed successfully. 19293 // 19294 // * Failed — The blueprint run failed and rollback is complete. 19295 // 19296 // * Rolling Back — The blueprint run failed and rollback is in progress. 19297 State *string `type:"string" enum:"BlueprintRunState"` 19298 19299 // The name of a workflow that is created as a result of a successful blueprint 19300 // run. If a blueprint run has an error, there will not be a workflow created. 19301 WorkflowName *string `min:"1" type:"string"` 19302 } 19303 19304 // String returns the string representation. 19305 // 19306 // API parameter values that are decorated as "sensitive" in the API will not 19307 // be included in the string output. The member name will be present, but the 19308 // value will be replaced with "sensitive". 19309 func (s BlueprintRun) String() string { 19310 return awsutil.Prettify(s) 19311 } 19312 19313 // GoString returns the string representation. 19314 // 19315 // API parameter values that are decorated as "sensitive" in the API will not 19316 // be included in the string output. The member name will be present, but the 19317 // value will be replaced with "sensitive". 19318 func (s BlueprintRun) GoString() string { 19319 return s.String() 19320 } 19321 19322 // SetBlueprintName sets the BlueprintName field's value. 19323 func (s *BlueprintRun) SetBlueprintName(v string) *BlueprintRun { 19324 s.BlueprintName = &v 19325 return s 19326 } 19327 19328 // SetCompletedOn sets the CompletedOn field's value. 19329 func (s *BlueprintRun) SetCompletedOn(v time.Time) *BlueprintRun { 19330 s.CompletedOn = &v 19331 return s 19332 } 19333 19334 // SetErrorMessage sets the ErrorMessage field's value. 19335 func (s *BlueprintRun) SetErrorMessage(v string) *BlueprintRun { 19336 s.ErrorMessage = &v 19337 return s 19338 } 19339 19340 // SetParameters sets the Parameters field's value. 19341 func (s *BlueprintRun) SetParameters(v string) *BlueprintRun { 19342 s.Parameters = &v 19343 return s 19344 } 19345 19346 // SetRoleArn sets the RoleArn field's value. 19347 func (s *BlueprintRun) SetRoleArn(v string) *BlueprintRun { 19348 s.RoleArn = &v 19349 return s 19350 } 19351 19352 // SetRollbackErrorMessage sets the RollbackErrorMessage field's value. 19353 func (s *BlueprintRun) SetRollbackErrorMessage(v string) *BlueprintRun { 19354 s.RollbackErrorMessage = &v 19355 return s 19356 } 19357 19358 // SetRunId sets the RunId field's value. 19359 func (s *BlueprintRun) SetRunId(v string) *BlueprintRun { 19360 s.RunId = &v 19361 return s 19362 } 19363 19364 // SetStartedOn sets the StartedOn field's value. 19365 func (s *BlueprintRun) SetStartedOn(v time.Time) *BlueprintRun { 19366 s.StartedOn = &v 19367 return s 19368 } 19369 19370 // SetState sets the State field's value. 19371 func (s *BlueprintRun) SetState(v string) *BlueprintRun { 19372 s.State = &v 19373 return s 19374 } 19375 19376 // SetWorkflowName sets the WorkflowName field's value. 19377 func (s *BlueprintRun) SetWorkflowName(v string) *BlueprintRun { 19378 s.WorkflowName = &v 19379 return s 19380 } 19381 19382 // Defines column statistics supported for Boolean data columns. 19383 type BooleanColumnStatisticsData struct { 19384 _ struct{} `type:"structure"` 19385 19386 // The number of false values in the column. 19387 // 19388 // NumberOfFalses is a required field 19389 NumberOfFalses *int64 `type:"long" required:"true"` 19390 19391 // The number of null values in the column. 19392 // 19393 // NumberOfNulls is a required field 19394 NumberOfNulls *int64 `type:"long" required:"true"` 19395 19396 // The number of true values in the column. 19397 // 19398 // NumberOfTrues is a required field 19399 NumberOfTrues *int64 `type:"long" required:"true"` 19400 } 19401 19402 // String returns the string representation. 19403 // 19404 // API parameter values that are decorated as "sensitive" in the API will not 19405 // be included in the string output. The member name will be present, but the 19406 // value will be replaced with "sensitive". 19407 func (s BooleanColumnStatisticsData) String() string { 19408 return awsutil.Prettify(s) 19409 } 19410 19411 // GoString returns the string representation. 19412 // 19413 // API parameter values that are decorated as "sensitive" in the API will not 19414 // be included in the string output. The member name will be present, but the 19415 // value will be replaced with "sensitive". 19416 func (s BooleanColumnStatisticsData) GoString() string { 19417 return s.String() 19418 } 19419 19420 // Validate inspects the fields of the type to determine if they are valid. 19421 func (s *BooleanColumnStatisticsData) Validate() error { 19422 invalidParams := request.ErrInvalidParams{Context: "BooleanColumnStatisticsData"} 19423 if s.NumberOfFalses == nil { 19424 invalidParams.Add(request.NewErrParamRequired("NumberOfFalses")) 19425 } 19426 if s.NumberOfNulls == nil { 19427 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 19428 } 19429 if s.NumberOfTrues == nil { 19430 invalidParams.Add(request.NewErrParamRequired("NumberOfTrues")) 19431 } 19432 19433 if invalidParams.Len() > 0 { 19434 return invalidParams 19435 } 19436 return nil 19437 } 19438 19439 // SetNumberOfFalses sets the NumberOfFalses field's value. 19440 func (s *BooleanColumnStatisticsData) SetNumberOfFalses(v int64) *BooleanColumnStatisticsData { 19441 s.NumberOfFalses = &v 19442 return s 19443 } 19444 19445 // SetNumberOfNulls sets the NumberOfNulls field's value. 19446 func (s *BooleanColumnStatisticsData) SetNumberOfNulls(v int64) *BooleanColumnStatisticsData { 19447 s.NumberOfNulls = &v 19448 return s 19449 } 19450 19451 // SetNumberOfTrues sets the NumberOfTrues field's value. 19452 func (s *BooleanColumnStatisticsData) SetNumberOfTrues(v int64) *BooleanColumnStatisticsData { 19453 s.NumberOfTrues = &v 19454 return s 19455 } 19456 19457 type CancelMLTaskRunInput struct { 19458 _ struct{} `type:"structure"` 19459 19460 // A unique identifier for the task run. 19461 // 19462 // TaskRunId is a required field 19463 TaskRunId *string `min:"1" type:"string" required:"true"` 19464 19465 // The unique identifier of the machine learning transform. 19466 // 19467 // TransformId is a required field 19468 TransformId *string `min:"1" type:"string" required:"true"` 19469 } 19470 19471 // String returns the string representation. 19472 // 19473 // API parameter values that are decorated as "sensitive" in the API will not 19474 // be included in the string output. The member name will be present, but the 19475 // value will be replaced with "sensitive". 19476 func (s CancelMLTaskRunInput) String() string { 19477 return awsutil.Prettify(s) 19478 } 19479 19480 // GoString returns the string representation. 19481 // 19482 // API parameter values that are decorated as "sensitive" in the API will not 19483 // be included in the string output. The member name will be present, but the 19484 // value will be replaced with "sensitive". 19485 func (s CancelMLTaskRunInput) GoString() string { 19486 return s.String() 19487 } 19488 19489 // Validate inspects the fields of the type to determine if they are valid. 19490 func (s *CancelMLTaskRunInput) Validate() error { 19491 invalidParams := request.ErrInvalidParams{Context: "CancelMLTaskRunInput"} 19492 if s.TaskRunId == nil { 19493 invalidParams.Add(request.NewErrParamRequired("TaskRunId")) 19494 } 19495 if s.TaskRunId != nil && len(*s.TaskRunId) < 1 { 19496 invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1)) 19497 } 19498 if s.TransformId == nil { 19499 invalidParams.Add(request.NewErrParamRequired("TransformId")) 19500 } 19501 if s.TransformId != nil && len(*s.TransformId) < 1 { 19502 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 19503 } 19504 19505 if invalidParams.Len() > 0 { 19506 return invalidParams 19507 } 19508 return nil 19509 } 19510 19511 // SetTaskRunId sets the TaskRunId field's value. 19512 func (s *CancelMLTaskRunInput) SetTaskRunId(v string) *CancelMLTaskRunInput { 19513 s.TaskRunId = &v 19514 return s 19515 } 19516 19517 // SetTransformId sets the TransformId field's value. 19518 func (s *CancelMLTaskRunInput) SetTransformId(v string) *CancelMLTaskRunInput { 19519 s.TransformId = &v 19520 return s 19521 } 19522 19523 type CancelMLTaskRunOutput struct { 19524 _ struct{} `type:"structure"` 19525 19526 // The status for this run. 19527 Status *string `type:"string" enum:"TaskStatusType"` 19528 19529 // The unique identifier for the task run. 19530 TaskRunId *string `min:"1" type:"string"` 19531 19532 // The unique identifier of the machine learning transform. 19533 TransformId *string `min:"1" type:"string"` 19534 } 19535 19536 // String returns the string representation. 19537 // 19538 // API parameter values that are decorated as "sensitive" in the API will not 19539 // be included in the string output. The member name will be present, but the 19540 // value will be replaced with "sensitive". 19541 func (s CancelMLTaskRunOutput) String() string { 19542 return awsutil.Prettify(s) 19543 } 19544 19545 // GoString returns the string representation. 19546 // 19547 // API parameter values that are decorated as "sensitive" in the API will not 19548 // be included in the string output. The member name will be present, but the 19549 // value will be replaced with "sensitive". 19550 func (s CancelMLTaskRunOutput) GoString() string { 19551 return s.String() 19552 } 19553 19554 // SetStatus sets the Status field's value. 19555 func (s *CancelMLTaskRunOutput) SetStatus(v string) *CancelMLTaskRunOutput { 19556 s.Status = &v 19557 return s 19558 } 19559 19560 // SetTaskRunId sets the TaskRunId field's value. 19561 func (s *CancelMLTaskRunOutput) SetTaskRunId(v string) *CancelMLTaskRunOutput { 19562 s.TaskRunId = &v 19563 return s 19564 } 19565 19566 // SetTransformId sets the TransformId field's value. 19567 func (s *CancelMLTaskRunOutput) SetTransformId(v string) *CancelMLTaskRunOutput { 19568 s.TransformId = &v 19569 return s 19570 } 19571 19572 // Specifies a table definition in the Glue Data Catalog. 19573 type CatalogEntry struct { 19574 _ struct{} `type:"structure"` 19575 19576 // The database in which the table metadata resides. 19577 // 19578 // DatabaseName is a required field 19579 DatabaseName *string `min:"1" type:"string" required:"true"` 19580 19581 // The name of the table in question. 19582 // 19583 // TableName is a required field 19584 TableName *string `min:"1" type:"string" required:"true"` 19585 } 19586 19587 // String returns the string representation. 19588 // 19589 // API parameter values that are decorated as "sensitive" in the API will not 19590 // be included in the string output. The member name will be present, but the 19591 // value will be replaced with "sensitive". 19592 func (s CatalogEntry) String() string { 19593 return awsutil.Prettify(s) 19594 } 19595 19596 // GoString returns the string representation. 19597 // 19598 // API parameter values that are decorated as "sensitive" in the API will not 19599 // be included in the string output. The member name will be present, but the 19600 // value will be replaced with "sensitive". 19601 func (s CatalogEntry) GoString() string { 19602 return s.String() 19603 } 19604 19605 // Validate inspects the fields of the type to determine if they are valid. 19606 func (s *CatalogEntry) Validate() error { 19607 invalidParams := request.ErrInvalidParams{Context: "CatalogEntry"} 19608 if s.DatabaseName == nil { 19609 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 19610 } 19611 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 19612 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 19613 } 19614 if s.TableName == nil { 19615 invalidParams.Add(request.NewErrParamRequired("TableName")) 19616 } 19617 if s.TableName != nil && len(*s.TableName) < 1 { 19618 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 19619 } 19620 19621 if invalidParams.Len() > 0 { 19622 return invalidParams 19623 } 19624 return nil 19625 } 19626 19627 // SetDatabaseName sets the DatabaseName field's value. 19628 func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry { 19629 s.DatabaseName = &v 19630 return s 19631 } 19632 19633 // SetTableName sets the TableName field's value. 19634 func (s *CatalogEntry) SetTableName(v string) *CatalogEntry { 19635 s.TableName = &v 19636 return s 19637 } 19638 19639 // A structure containing migration status information. 19640 type CatalogImportStatus struct { 19641 _ struct{} `type:"structure"` 19642 19643 // True if the migration has completed, or False otherwise. 19644 ImportCompleted *bool `type:"boolean"` 19645 19646 // The time that the migration was started. 19647 ImportTime *time.Time `type:"timestamp"` 19648 19649 // The name of the person who initiated the migration. 19650 ImportedBy *string `min:"1" type:"string"` 19651 } 19652 19653 // String returns the string representation. 19654 // 19655 // API parameter values that are decorated as "sensitive" in the API will not 19656 // be included in the string output. The member name will be present, but the 19657 // value will be replaced with "sensitive". 19658 func (s CatalogImportStatus) String() string { 19659 return awsutil.Prettify(s) 19660 } 19661 19662 // GoString returns the string representation. 19663 // 19664 // API parameter values that are decorated as "sensitive" in the API will not 19665 // be included in the string output. The member name will be present, but the 19666 // value will be replaced with "sensitive". 19667 func (s CatalogImportStatus) GoString() string { 19668 return s.String() 19669 } 19670 19671 // SetImportCompleted sets the ImportCompleted field's value. 19672 func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus { 19673 s.ImportCompleted = &v 19674 return s 19675 } 19676 19677 // SetImportTime sets the ImportTime field's value. 19678 func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus { 19679 s.ImportTime = &v 19680 return s 19681 } 19682 19683 // SetImportedBy sets the ImportedBy field's value. 19684 func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus { 19685 s.ImportedBy = &v 19686 return s 19687 } 19688 19689 // Specifies an Glue Data Catalog target. 19690 type CatalogTarget struct { 19691 _ struct{} `type:"structure"` 19692 19693 // The name of the database to be synchronized. 19694 // 19695 // DatabaseName is a required field 19696 DatabaseName *string `min:"1" type:"string" required:"true"` 19697 19698 // A list of the tables to be synchronized. 19699 // 19700 // Tables is a required field 19701 Tables []*string `min:"1" type:"list" required:"true"` 19702 } 19703 19704 // String returns the string representation. 19705 // 19706 // API parameter values that are decorated as "sensitive" in the API will not 19707 // be included in the string output. The member name will be present, but the 19708 // value will be replaced with "sensitive". 19709 func (s CatalogTarget) String() string { 19710 return awsutil.Prettify(s) 19711 } 19712 19713 // GoString returns the string representation. 19714 // 19715 // API parameter values that are decorated as "sensitive" in the API will not 19716 // be included in the string output. The member name will be present, but the 19717 // value will be replaced with "sensitive". 19718 func (s CatalogTarget) GoString() string { 19719 return s.String() 19720 } 19721 19722 // Validate inspects the fields of the type to determine if they are valid. 19723 func (s *CatalogTarget) Validate() error { 19724 invalidParams := request.ErrInvalidParams{Context: "CatalogTarget"} 19725 if s.DatabaseName == nil { 19726 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 19727 } 19728 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 19729 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 19730 } 19731 if s.Tables == nil { 19732 invalidParams.Add(request.NewErrParamRequired("Tables")) 19733 } 19734 if s.Tables != nil && len(s.Tables) < 1 { 19735 invalidParams.Add(request.NewErrParamMinLen("Tables", 1)) 19736 } 19737 19738 if invalidParams.Len() > 0 { 19739 return invalidParams 19740 } 19741 return nil 19742 } 19743 19744 // SetDatabaseName sets the DatabaseName field's value. 19745 func (s *CatalogTarget) SetDatabaseName(v string) *CatalogTarget { 19746 s.DatabaseName = &v 19747 return s 19748 } 19749 19750 // SetTables sets the Tables field's value. 19751 func (s *CatalogTarget) SetTables(v []*string) *CatalogTarget { 19752 s.Tables = v 19753 return s 19754 } 19755 19756 type CheckSchemaVersionValidityInput struct { 19757 _ struct{} `type:"structure"` 19758 19759 // The data format of the schema definition. Currently AVRO and JSON are supported. 19760 // 19761 // DataFormat is a required field 19762 DataFormat *string `type:"string" required:"true" enum:"DataFormat"` 19763 19764 // The definition of the schema that has to be validated. 19765 // 19766 // SchemaDefinition is a required field 19767 SchemaDefinition *string `min:"1" type:"string" required:"true"` 19768 } 19769 19770 // String returns the string representation. 19771 // 19772 // API parameter values that are decorated as "sensitive" in the API will not 19773 // be included in the string output. The member name will be present, but the 19774 // value will be replaced with "sensitive". 19775 func (s CheckSchemaVersionValidityInput) String() string { 19776 return awsutil.Prettify(s) 19777 } 19778 19779 // GoString returns the string representation. 19780 // 19781 // API parameter values that are decorated as "sensitive" in the API will not 19782 // be included in the string output. The member name will be present, but the 19783 // value will be replaced with "sensitive". 19784 func (s CheckSchemaVersionValidityInput) GoString() string { 19785 return s.String() 19786 } 19787 19788 // Validate inspects the fields of the type to determine if they are valid. 19789 func (s *CheckSchemaVersionValidityInput) Validate() error { 19790 invalidParams := request.ErrInvalidParams{Context: "CheckSchemaVersionValidityInput"} 19791 if s.DataFormat == nil { 19792 invalidParams.Add(request.NewErrParamRequired("DataFormat")) 19793 } 19794 if s.SchemaDefinition == nil { 19795 invalidParams.Add(request.NewErrParamRequired("SchemaDefinition")) 19796 } 19797 if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 { 19798 invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1)) 19799 } 19800 19801 if invalidParams.Len() > 0 { 19802 return invalidParams 19803 } 19804 return nil 19805 } 19806 19807 // SetDataFormat sets the DataFormat field's value. 19808 func (s *CheckSchemaVersionValidityInput) SetDataFormat(v string) *CheckSchemaVersionValidityInput { 19809 s.DataFormat = &v 19810 return s 19811 } 19812 19813 // SetSchemaDefinition sets the SchemaDefinition field's value. 19814 func (s *CheckSchemaVersionValidityInput) SetSchemaDefinition(v string) *CheckSchemaVersionValidityInput { 19815 s.SchemaDefinition = &v 19816 return s 19817 } 19818 19819 type CheckSchemaVersionValidityOutput struct { 19820 _ struct{} `type:"structure"` 19821 19822 // A validation failure error message. 19823 Error *string `min:"1" type:"string"` 19824 19825 // Return true, if the schema is valid and false otherwise. 19826 Valid *bool `type:"boolean"` 19827 } 19828 19829 // String returns the string representation. 19830 // 19831 // API parameter values that are decorated as "sensitive" in the API will not 19832 // be included in the string output. The member name will be present, but the 19833 // value will be replaced with "sensitive". 19834 func (s CheckSchemaVersionValidityOutput) String() string { 19835 return awsutil.Prettify(s) 19836 } 19837 19838 // GoString returns the string representation. 19839 // 19840 // API parameter values that are decorated as "sensitive" in the API will not 19841 // be included in the string output. The member name will be present, but the 19842 // value will be replaced with "sensitive". 19843 func (s CheckSchemaVersionValidityOutput) GoString() string { 19844 return s.String() 19845 } 19846 19847 // SetError sets the Error field's value. 19848 func (s *CheckSchemaVersionValidityOutput) SetError(v string) *CheckSchemaVersionValidityOutput { 19849 s.Error = &v 19850 return s 19851 } 19852 19853 // SetValid sets the Valid field's value. 19854 func (s *CheckSchemaVersionValidityOutput) SetValid(v bool) *CheckSchemaVersionValidityOutput { 19855 s.Valid = &v 19856 return s 19857 } 19858 19859 // Classifiers are triggered during a crawl task. A classifier checks whether 19860 // a given file is in a format it can handle. If it is, the classifier creates 19861 // a schema in the form of a StructType object that matches that data format. 19862 // 19863 // You can use the standard classifiers that Glue provides, or you can write 19864 // your own classifiers to best categorize your data sources and specify the 19865 // appropriate schemas to use for them. A classifier can be a grok classifier, 19866 // an XML classifier, a JSON classifier, or a custom CSV classifier, as specified 19867 // in one of the fields in the Classifier object. 19868 type Classifier struct { 19869 _ struct{} `type:"structure"` 19870 19871 // A classifier for comma-separated values (CSV). 19872 CsvClassifier *CsvClassifier `type:"structure"` 19873 19874 // A classifier that uses grok. 19875 GrokClassifier *GrokClassifier `type:"structure"` 19876 19877 // A classifier for JSON content. 19878 JsonClassifier *JsonClassifier `type:"structure"` 19879 19880 // A classifier for XML content. 19881 XMLClassifier *XMLClassifier `type:"structure"` 19882 } 19883 19884 // String returns the string representation. 19885 // 19886 // API parameter values that are decorated as "sensitive" in the API will not 19887 // be included in the string output. The member name will be present, but the 19888 // value will be replaced with "sensitive". 19889 func (s Classifier) String() string { 19890 return awsutil.Prettify(s) 19891 } 19892 19893 // GoString returns the string representation. 19894 // 19895 // API parameter values that are decorated as "sensitive" in the API will not 19896 // be included in the string output. The member name will be present, but the 19897 // value will be replaced with "sensitive". 19898 func (s Classifier) GoString() string { 19899 return s.String() 19900 } 19901 19902 // SetCsvClassifier sets the CsvClassifier field's value. 19903 func (s *Classifier) SetCsvClassifier(v *CsvClassifier) *Classifier { 19904 s.CsvClassifier = v 19905 return s 19906 } 19907 19908 // SetGrokClassifier sets the GrokClassifier field's value. 19909 func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier { 19910 s.GrokClassifier = v 19911 return s 19912 } 19913 19914 // SetJsonClassifier sets the JsonClassifier field's value. 19915 func (s *Classifier) SetJsonClassifier(v *JsonClassifier) *Classifier { 19916 s.JsonClassifier = v 19917 return s 19918 } 19919 19920 // SetXMLClassifier sets the XMLClassifier field's value. 19921 func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier { 19922 s.XMLClassifier = v 19923 return s 19924 } 19925 19926 // Specifies how Amazon CloudWatch data should be encrypted. 19927 type CloudWatchEncryption struct { 19928 _ struct{} `type:"structure"` 19929 19930 // The encryption mode to use for CloudWatch data. 19931 CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"` 19932 19933 // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. 19934 KmsKeyArn *string `type:"string"` 19935 } 19936 19937 // String returns the string representation. 19938 // 19939 // API parameter values that are decorated as "sensitive" in the API will not 19940 // be included in the string output. The member name will be present, but the 19941 // value will be replaced with "sensitive". 19942 func (s CloudWatchEncryption) String() string { 19943 return awsutil.Prettify(s) 19944 } 19945 19946 // GoString returns the string representation. 19947 // 19948 // API parameter values that are decorated as "sensitive" in the API will not 19949 // be included in the string output. The member name will be present, but the 19950 // value will be replaced with "sensitive". 19951 func (s CloudWatchEncryption) GoString() string { 19952 return s.String() 19953 } 19954 19955 // SetCloudWatchEncryptionMode sets the CloudWatchEncryptionMode field's value. 19956 func (s *CloudWatchEncryption) SetCloudWatchEncryptionMode(v string) *CloudWatchEncryption { 19957 s.CloudWatchEncryptionMode = &v 19958 return s 19959 } 19960 19961 // SetKmsKeyArn sets the KmsKeyArn field's value. 19962 func (s *CloudWatchEncryption) SetKmsKeyArn(v string) *CloudWatchEncryption { 19963 s.KmsKeyArn = &v 19964 return s 19965 } 19966 19967 // Represents a directional edge in a directed acyclic graph (DAG). 19968 type CodeGenEdge struct { 19969 _ struct{} `type:"structure"` 19970 19971 // The ID of the node at which the edge starts. 19972 // 19973 // Source is a required field 19974 Source *string `min:"1" type:"string" required:"true"` 19975 19976 // The ID of the node at which the edge ends. 19977 // 19978 // Target is a required field 19979 Target *string `min:"1" type:"string" required:"true"` 19980 19981 // The target of the edge. 19982 TargetParameter *string `type:"string"` 19983 } 19984 19985 // String returns the string representation. 19986 // 19987 // API parameter values that are decorated as "sensitive" in the API will not 19988 // be included in the string output. The member name will be present, but the 19989 // value will be replaced with "sensitive". 19990 func (s CodeGenEdge) String() string { 19991 return awsutil.Prettify(s) 19992 } 19993 19994 // GoString returns the string representation. 19995 // 19996 // API parameter values that are decorated as "sensitive" in the API will not 19997 // be included in the string output. The member name will be present, but the 19998 // value will be replaced with "sensitive". 19999 func (s CodeGenEdge) GoString() string { 20000 return s.String() 20001 } 20002 20003 // Validate inspects the fields of the type to determine if they are valid. 20004 func (s *CodeGenEdge) Validate() error { 20005 invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"} 20006 if s.Source == nil { 20007 invalidParams.Add(request.NewErrParamRequired("Source")) 20008 } 20009 if s.Source != nil && len(*s.Source) < 1 { 20010 invalidParams.Add(request.NewErrParamMinLen("Source", 1)) 20011 } 20012 if s.Target == nil { 20013 invalidParams.Add(request.NewErrParamRequired("Target")) 20014 } 20015 if s.Target != nil && len(*s.Target) < 1 { 20016 invalidParams.Add(request.NewErrParamMinLen("Target", 1)) 20017 } 20018 20019 if invalidParams.Len() > 0 { 20020 return invalidParams 20021 } 20022 return nil 20023 } 20024 20025 // SetSource sets the Source field's value. 20026 func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge { 20027 s.Source = &v 20028 return s 20029 } 20030 20031 // SetTarget sets the Target field's value. 20032 func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge { 20033 s.Target = &v 20034 return s 20035 } 20036 20037 // SetTargetParameter sets the TargetParameter field's value. 20038 func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge { 20039 s.TargetParameter = &v 20040 return s 20041 } 20042 20043 // Represents a node in a directed acyclic graph (DAG) 20044 type CodeGenNode struct { 20045 _ struct{} `type:"structure"` 20046 20047 // Properties of the node, in the form of name-value pairs. 20048 // 20049 // Args is a required field 20050 Args []*CodeGenNodeArg `type:"list" required:"true"` 20051 20052 // A node identifier that is unique within the node's graph. 20053 // 20054 // Id is a required field 20055 Id *string `min:"1" type:"string" required:"true"` 20056 20057 // The line number of the node. 20058 LineNumber *int64 `type:"integer"` 20059 20060 // The type of node that this is. 20061 // 20062 // NodeType is a required field 20063 NodeType *string `type:"string" required:"true"` 20064 } 20065 20066 // String returns the string representation. 20067 // 20068 // API parameter values that are decorated as "sensitive" in the API will not 20069 // be included in the string output. The member name will be present, but the 20070 // value will be replaced with "sensitive". 20071 func (s CodeGenNode) String() string { 20072 return awsutil.Prettify(s) 20073 } 20074 20075 // GoString returns the string representation. 20076 // 20077 // API parameter values that are decorated as "sensitive" in the API will not 20078 // be included in the string output. The member name will be present, but the 20079 // value will be replaced with "sensitive". 20080 func (s CodeGenNode) GoString() string { 20081 return s.String() 20082 } 20083 20084 // Validate inspects the fields of the type to determine if they are valid. 20085 func (s *CodeGenNode) Validate() error { 20086 invalidParams := request.ErrInvalidParams{Context: "CodeGenNode"} 20087 if s.Args == nil { 20088 invalidParams.Add(request.NewErrParamRequired("Args")) 20089 } 20090 if s.Id == nil { 20091 invalidParams.Add(request.NewErrParamRequired("Id")) 20092 } 20093 if s.Id != nil && len(*s.Id) < 1 { 20094 invalidParams.Add(request.NewErrParamMinLen("Id", 1)) 20095 } 20096 if s.NodeType == nil { 20097 invalidParams.Add(request.NewErrParamRequired("NodeType")) 20098 } 20099 if s.Args != nil { 20100 for i, v := range s.Args { 20101 if v == nil { 20102 continue 20103 } 20104 if err := v.Validate(); err != nil { 20105 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Args", i), err.(request.ErrInvalidParams)) 20106 } 20107 } 20108 } 20109 20110 if invalidParams.Len() > 0 { 20111 return invalidParams 20112 } 20113 return nil 20114 } 20115 20116 // SetArgs sets the Args field's value. 20117 func (s *CodeGenNode) SetArgs(v []*CodeGenNodeArg) *CodeGenNode { 20118 s.Args = v 20119 return s 20120 } 20121 20122 // SetId sets the Id field's value. 20123 func (s *CodeGenNode) SetId(v string) *CodeGenNode { 20124 s.Id = &v 20125 return s 20126 } 20127 20128 // SetLineNumber sets the LineNumber field's value. 20129 func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode { 20130 s.LineNumber = &v 20131 return s 20132 } 20133 20134 // SetNodeType sets the NodeType field's value. 20135 func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode { 20136 s.NodeType = &v 20137 return s 20138 } 20139 20140 // An argument or property of a node. 20141 type CodeGenNodeArg struct { 20142 _ struct{} `type:"structure"` 20143 20144 // The name of the argument or property. 20145 // 20146 // Name is a required field 20147 Name *string `type:"string" required:"true"` 20148 20149 // True if the value is used as a parameter. 20150 Param *bool `type:"boolean"` 20151 20152 // The value of the argument or property. 20153 // 20154 // Value is a required field 20155 Value *string `type:"string" required:"true"` 20156 } 20157 20158 // String returns the string representation. 20159 // 20160 // API parameter values that are decorated as "sensitive" in the API will not 20161 // be included in the string output. The member name will be present, but the 20162 // value will be replaced with "sensitive". 20163 func (s CodeGenNodeArg) String() string { 20164 return awsutil.Prettify(s) 20165 } 20166 20167 // GoString returns the string representation. 20168 // 20169 // API parameter values that are decorated as "sensitive" in the API will not 20170 // be included in the string output. The member name will be present, but the 20171 // value will be replaced with "sensitive". 20172 func (s CodeGenNodeArg) GoString() string { 20173 return s.String() 20174 } 20175 20176 // Validate inspects the fields of the type to determine if they are valid. 20177 func (s *CodeGenNodeArg) Validate() error { 20178 invalidParams := request.ErrInvalidParams{Context: "CodeGenNodeArg"} 20179 if s.Name == nil { 20180 invalidParams.Add(request.NewErrParamRequired("Name")) 20181 } 20182 if s.Value == nil { 20183 invalidParams.Add(request.NewErrParamRequired("Value")) 20184 } 20185 20186 if invalidParams.Len() > 0 { 20187 return invalidParams 20188 } 20189 return nil 20190 } 20191 20192 // SetName sets the Name field's value. 20193 func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg { 20194 s.Name = &v 20195 return s 20196 } 20197 20198 // SetParam sets the Param field's value. 20199 func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg { 20200 s.Param = &v 20201 return s 20202 } 20203 20204 // SetValue sets the Value field's value. 20205 func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg { 20206 s.Value = &v 20207 return s 20208 } 20209 20210 // A column in a Table. 20211 type Column struct { 20212 _ struct{} `type:"structure"` 20213 20214 // A free-form text comment. 20215 Comment *string `type:"string"` 20216 20217 // The name of the Column. 20218 // 20219 // Name is a required field 20220 Name *string `min:"1" type:"string" required:"true"` 20221 20222 // These key-value pairs define properties associated with the column. 20223 Parameters map[string]*string `type:"map"` 20224 20225 // The data type of the Column. 20226 Type *string `type:"string"` 20227 } 20228 20229 // String returns the string representation. 20230 // 20231 // API parameter values that are decorated as "sensitive" in the API will not 20232 // be included in the string output. The member name will be present, but the 20233 // value will be replaced with "sensitive". 20234 func (s Column) String() string { 20235 return awsutil.Prettify(s) 20236 } 20237 20238 // GoString returns the string representation. 20239 // 20240 // API parameter values that are decorated as "sensitive" in the API will not 20241 // be included in the string output. The member name will be present, but the 20242 // value will be replaced with "sensitive". 20243 func (s Column) GoString() string { 20244 return s.String() 20245 } 20246 20247 // Validate inspects the fields of the type to determine if they are valid. 20248 func (s *Column) Validate() error { 20249 invalidParams := request.ErrInvalidParams{Context: "Column"} 20250 if s.Name == nil { 20251 invalidParams.Add(request.NewErrParamRequired("Name")) 20252 } 20253 if s.Name != nil && len(*s.Name) < 1 { 20254 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 20255 } 20256 20257 if invalidParams.Len() > 0 { 20258 return invalidParams 20259 } 20260 return nil 20261 } 20262 20263 // SetComment sets the Comment field's value. 20264 func (s *Column) SetComment(v string) *Column { 20265 s.Comment = &v 20266 return s 20267 } 20268 20269 // SetName sets the Name field's value. 20270 func (s *Column) SetName(v string) *Column { 20271 s.Name = &v 20272 return s 20273 } 20274 20275 // SetParameters sets the Parameters field's value. 20276 func (s *Column) SetParameters(v map[string]*string) *Column { 20277 s.Parameters = v 20278 return s 20279 } 20280 20281 // SetType sets the Type field's value. 20282 func (s *Column) SetType(v string) *Column { 20283 s.Type = &v 20284 return s 20285 } 20286 20287 // Encapsulates a column name that failed and the reason for failure. 20288 type ColumnError struct { 20289 _ struct{} `type:"structure"` 20290 20291 // The name of the column that failed. 20292 ColumnName *string `min:"1" type:"string"` 20293 20294 // An error message with the reason for the failure of an operation. 20295 Error *ErrorDetail `type:"structure"` 20296 } 20297 20298 // String returns the string representation. 20299 // 20300 // API parameter values that are decorated as "sensitive" in the API will not 20301 // be included in the string output. The member name will be present, but the 20302 // value will be replaced with "sensitive". 20303 func (s ColumnError) String() string { 20304 return awsutil.Prettify(s) 20305 } 20306 20307 // GoString returns the string representation. 20308 // 20309 // API parameter values that are decorated as "sensitive" in the API will not 20310 // be included in the string output. The member name will be present, but the 20311 // value will be replaced with "sensitive". 20312 func (s ColumnError) GoString() string { 20313 return s.String() 20314 } 20315 20316 // SetColumnName sets the ColumnName field's value. 20317 func (s *ColumnError) SetColumnName(v string) *ColumnError { 20318 s.ColumnName = &v 20319 return s 20320 } 20321 20322 // SetError sets the Error field's value. 20323 func (s *ColumnError) SetError(v *ErrorDetail) *ColumnError { 20324 s.Error = v 20325 return s 20326 } 20327 20328 // A structure containing the column name and column importance score for a 20329 // column. 20330 // 20331 // Column importance helps you understand how columns contribute to your model, 20332 // by identifying which columns in your records are more important than others. 20333 type ColumnImportance struct { 20334 _ struct{} `type:"structure"` 20335 20336 // The name of a column. 20337 ColumnName *string `min:"1" type:"string"` 20338 20339 // The column importance score for the column, as a decimal. 20340 Importance *float64 `type:"double"` 20341 } 20342 20343 // String returns the string representation. 20344 // 20345 // API parameter values that are decorated as "sensitive" in the API will not 20346 // be included in the string output. The member name will be present, but the 20347 // value will be replaced with "sensitive". 20348 func (s ColumnImportance) String() string { 20349 return awsutil.Prettify(s) 20350 } 20351 20352 // GoString returns the string representation. 20353 // 20354 // API parameter values that are decorated as "sensitive" in the API will not 20355 // be included in the string output. The member name will be present, but the 20356 // value will be replaced with "sensitive". 20357 func (s ColumnImportance) GoString() string { 20358 return s.String() 20359 } 20360 20361 // SetColumnName sets the ColumnName field's value. 20362 func (s *ColumnImportance) SetColumnName(v string) *ColumnImportance { 20363 s.ColumnName = &v 20364 return s 20365 } 20366 20367 // SetImportance sets the Importance field's value. 20368 func (s *ColumnImportance) SetImportance(v float64) *ColumnImportance { 20369 s.Importance = &v 20370 return s 20371 } 20372 20373 // Represents the generated column-level statistics for a table or partition. 20374 type ColumnStatistics struct { 20375 _ struct{} `type:"structure"` 20376 20377 // The timestamp of when column statistics were generated. 20378 // 20379 // AnalyzedTime is a required field 20380 AnalyzedTime *time.Time `type:"timestamp" required:"true"` 20381 20382 // Name of column which statistics belong to. 20383 // 20384 // ColumnName is a required field 20385 ColumnName *string `min:"1" type:"string" required:"true"` 20386 20387 // The data type of the column. 20388 // 20389 // ColumnType is a required field 20390 ColumnType *string `type:"string" required:"true"` 20391 20392 // A ColumnStatisticData object that contains the statistics data values. 20393 // 20394 // StatisticsData is a required field 20395 StatisticsData *ColumnStatisticsData `type:"structure" required:"true"` 20396 } 20397 20398 // String returns the string representation. 20399 // 20400 // API parameter values that are decorated as "sensitive" in the API will not 20401 // be included in the string output. The member name will be present, but the 20402 // value will be replaced with "sensitive". 20403 func (s ColumnStatistics) String() string { 20404 return awsutil.Prettify(s) 20405 } 20406 20407 // GoString returns the string representation. 20408 // 20409 // API parameter values that are decorated as "sensitive" in the API will not 20410 // be included in the string output. The member name will be present, but the 20411 // value will be replaced with "sensitive". 20412 func (s ColumnStatistics) GoString() string { 20413 return s.String() 20414 } 20415 20416 // Validate inspects the fields of the type to determine if they are valid. 20417 func (s *ColumnStatistics) Validate() error { 20418 invalidParams := request.ErrInvalidParams{Context: "ColumnStatistics"} 20419 if s.AnalyzedTime == nil { 20420 invalidParams.Add(request.NewErrParamRequired("AnalyzedTime")) 20421 } 20422 if s.ColumnName == nil { 20423 invalidParams.Add(request.NewErrParamRequired("ColumnName")) 20424 } 20425 if s.ColumnName != nil && len(*s.ColumnName) < 1 { 20426 invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) 20427 } 20428 if s.ColumnType == nil { 20429 invalidParams.Add(request.NewErrParamRequired("ColumnType")) 20430 } 20431 if s.StatisticsData == nil { 20432 invalidParams.Add(request.NewErrParamRequired("StatisticsData")) 20433 } 20434 if s.StatisticsData != nil { 20435 if err := s.StatisticsData.Validate(); err != nil { 20436 invalidParams.AddNested("StatisticsData", err.(request.ErrInvalidParams)) 20437 } 20438 } 20439 20440 if invalidParams.Len() > 0 { 20441 return invalidParams 20442 } 20443 return nil 20444 } 20445 20446 // SetAnalyzedTime sets the AnalyzedTime field's value. 20447 func (s *ColumnStatistics) SetAnalyzedTime(v time.Time) *ColumnStatistics { 20448 s.AnalyzedTime = &v 20449 return s 20450 } 20451 20452 // SetColumnName sets the ColumnName field's value. 20453 func (s *ColumnStatistics) SetColumnName(v string) *ColumnStatistics { 20454 s.ColumnName = &v 20455 return s 20456 } 20457 20458 // SetColumnType sets the ColumnType field's value. 20459 func (s *ColumnStatistics) SetColumnType(v string) *ColumnStatistics { 20460 s.ColumnType = &v 20461 return s 20462 } 20463 20464 // SetStatisticsData sets the StatisticsData field's value. 20465 func (s *ColumnStatistics) SetStatisticsData(v *ColumnStatisticsData) *ColumnStatistics { 20466 s.StatisticsData = v 20467 return s 20468 } 20469 20470 // Contains the individual types of column statistics data. Only one data object 20471 // should be set and indicated by the Type attribute. 20472 type ColumnStatisticsData struct { 20473 _ struct{} `type:"structure"` 20474 20475 // Binary column statistics data. 20476 BinaryColumnStatisticsData *BinaryColumnStatisticsData `type:"structure"` 20477 20478 // Boolean column statistics data. 20479 BooleanColumnStatisticsData *BooleanColumnStatisticsData `type:"structure"` 20480 20481 // Date column statistics data. 20482 DateColumnStatisticsData *DateColumnStatisticsData `type:"structure"` 20483 20484 // Decimal column statistics data. 20485 DecimalColumnStatisticsData *DecimalColumnStatisticsData `type:"structure"` 20486 20487 // Double column statistics data. 20488 DoubleColumnStatisticsData *DoubleColumnStatisticsData `type:"structure"` 20489 20490 // Long column statistics data. 20491 LongColumnStatisticsData *LongColumnStatisticsData `type:"structure"` 20492 20493 // String column statistics data. 20494 StringColumnStatisticsData *StringColumnStatisticsData `type:"structure"` 20495 20496 // The type of column statistics data. 20497 // 20498 // Type is a required field 20499 Type *string `type:"string" required:"true" enum:"ColumnStatisticsType"` 20500 } 20501 20502 // String returns the string representation. 20503 // 20504 // API parameter values that are decorated as "sensitive" in the API will not 20505 // be included in the string output. The member name will be present, but the 20506 // value will be replaced with "sensitive". 20507 func (s ColumnStatisticsData) String() string { 20508 return awsutil.Prettify(s) 20509 } 20510 20511 // GoString returns the string representation. 20512 // 20513 // API parameter values that are decorated as "sensitive" in the API will not 20514 // be included in the string output. The member name will be present, but the 20515 // value will be replaced with "sensitive". 20516 func (s ColumnStatisticsData) GoString() string { 20517 return s.String() 20518 } 20519 20520 // Validate inspects the fields of the type to determine if they are valid. 20521 func (s *ColumnStatisticsData) Validate() error { 20522 invalidParams := request.ErrInvalidParams{Context: "ColumnStatisticsData"} 20523 if s.Type == nil { 20524 invalidParams.Add(request.NewErrParamRequired("Type")) 20525 } 20526 if s.BinaryColumnStatisticsData != nil { 20527 if err := s.BinaryColumnStatisticsData.Validate(); err != nil { 20528 invalidParams.AddNested("BinaryColumnStatisticsData", err.(request.ErrInvalidParams)) 20529 } 20530 } 20531 if s.BooleanColumnStatisticsData != nil { 20532 if err := s.BooleanColumnStatisticsData.Validate(); err != nil { 20533 invalidParams.AddNested("BooleanColumnStatisticsData", err.(request.ErrInvalidParams)) 20534 } 20535 } 20536 if s.DateColumnStatisticsData != nil { 20537 if err := s.DateColumnStatisticsData.Validate(); err != nil { 20538 invalidParams.AddNested("DateColumnStatisticsData", err.(request.ErrInvalidParams)) 20539 } 20540 } 20541 if s.DecimalColumnStatisticsData != nil { 20542 if err := s.DecimalColumnStatisticsData.Validate(); err != nil { 20543 invalidParams.AddNested("DecimalColumnStatisticsData", err.(request.ErrInvalidParams)) 20544 } 20545 } 20546 if s.DoubleColumnStatisticsData != nil { 20547 if err := s.DoubleColumnStatisticsData.Validate(); err != nil { 20548 invalidParams.AddNested("DoubleColumnStatisticsData", err.(request.ErrInvalidParams)) 20549 } 20550 } 20551 if s.LongColumnStatisticsData != nil { 20552 if err := s.LongColumnStatisticsData.Validate(); err != nil { 20553 invalidParams.AddNested("LongColumnStatisticsData", err.(request.ErrInvalidParams)) 20554 } 20555 } 20556 if s.StringColumnStatisticsData != nil { 20557 if err := s.StringColumnStatisticsData.Validate(); err != nil { 20558 invalidParams.AddNested("StringColumnStatisticsData", err.(request.ErrInvalidParams)) 20559 } 20560 } 20561 20562 if invalidParams.Len() > 0 { 20563 return invalidParams 20564 } 20565 return nil 20566 } 20567 20568 // SetBinaryColumnStatisticsData sets the BinaryColumnStatisticsData field's value. 20569 func (s *ColumnStatisticsData) SetBinaryColumnStatisticsData(v *BinaryColumnStatisticsData) *ColumnStatisticsData { 20570 s.BinaryColumnStatisticsData = v 20571 return s 20572 } 20573 20574 // SetBooleanColumnStatisticsData sets the BooleanColumnStatisticsData field's value. 20575 func (s *ColumnStatisticsData) SetBooleanColumnStatisticsData(v *BooleanColumnStatisticsData) *ColumnStatisticsData { 20576 s.BooleanColumnStatisticsData = v 20577 return s 20578 } 20579 20580 // SetDateColumnStatisticsData sets the DateColumnStatisticsData field's value. 20581 func (s *ColumnStatisticsData) SetDateColumnStatisticsData(v *DateColumnStatisticsData) *ColumnStatisticsData { 20582 s.DateColumnStatisticsData = v 20583 return s 20584 } 20585 20586 // SetDecimalColumnStatisticsData sets the DecimalColumnStatisticsData field's value. 20587 func (s *ColumnStatisticsData) SetDecimalColumnStatisticsData(v *DecimalColumnStatisticsData) *ColumnStatisticsData { 20588 s.DecimalColumnStatisticsData = v 20589 return s 20590 } 20591 20592 // SetDoubleColumnStatisticsData sets the DoubleColumnStatisticsData field's value. 20593 func (s *ColumnStatisticsData) SetDoubleColumnStatisticsData(v *DoubleColumnStatisticsData) *ColumnStatisticsData { 20594 s.DoubleColumnStatisticsData = v 20595 return s 20596 } 20597 20598 // SetLongColumnStatisticsData sets the LongColumnStatisticsData field's value. 20599 func (s *ColumnStatisticsData) SetLongColumnStatisticsData(v *LongColumnStatisticsData) *ColumnStatisticsData { 20600 s.LongColumnStatisticsData = v 20601 return s 20602 } 20603 20604 // SetStringColumnStatisticsData sets the StringColumnStatisticsData field's value. 20605 func (s *ColumnStatisticsData) SetStringColumnStatisticsData(v *StringColumnStatisticsData) *ColumnStatisticsData { 20606 s.StringColumnStatisticsData = v 20607 return s 20608 } 20609 20610 // SetType sets the Type field's value. 20611 func (s *ColumnStatisticsData) SetType(v string) *ColumnStatisticsData { 20612 s.Type = &v 20613 return s 20614 } 20615 20616 // Encapsulates a ColumnStatistics object that failed and the reason for failure. 20617 type ColumnStatisticsError struct { 20618 _ struct{} `type:"structure"` 20619 20620 // The ColumnStatistics of the column. 20621 ColumnStatistics *ColumnStatistics `type:"structure"` 20622 20623 // An error message with the reason for the failure of an operation. 20624 Error *ErrorDetail `type:"structure"` 20625 } 20626 20627 // String returns the string representation. 20628 // 20629 // API parameter values that are decorated as "sensitive" in the API will not 20630 // be included in the string output. The member name will be present, but the 20631 // value will be replaced with "sensitive". 20632 func (s ColumnStatisticsError) String() string { 20633 return awsutil.Prettify(s) 20634 } 20635 20636 // GoString returns the string representation. 20637 // 20638 // API parameter values that are decorated as "sensitive" in the API will not 20639 // be included in the string output. The member name will be present, but the 20640 // value will be replaced with "sensitive". 20641 func (s ColumnStatisticsError) GoString() string { 20642 return s.String() 20643 } 20644 20645 // SetColumnStatistics sets the ColumnStatistics field's value. 20646 func (s *ColumnStatisticsError) SetColumnStatistics(v *ColumnStatistics) *ColumnStatisticsError { 20647 s.ColumnStatistics = v 20648 return s 20649 } 20650 20651 // SetError sets the Error field's value. 20652 func (s *ColumnStatisticsError) SetError(v *ErrorDetail) *ColumnStatisticsError { 20653 s.Error = v 20654 return s 20655 } 20656 20657 // Two processes are trying to modify a resource simultaneously. 20658 type ConcurrentModificationException struct { 20659 _ struct{} `type:"structure"` 20660 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 20661 20662 // A message describing the problem. 20663 Message_ *string `locationName:"Message" type:"string"` 20664 } 20665 20666 // String returns the string representation. 20667 // 20668 // API parameter values that are decorated as "sensitive" in the API will not 20669 // be included in the string output. The member name will be present, but the 20670 // value will be replaced with "sensitive". 20671 func (s ConcurrentModificationException) String() string { 20672 return awsutil.Prettify(s) 20673 } 20674 20675 // GoString returns the string representation. 20676 // 20677 // API parameter values that are decorated as "sensitive" in the API will not 20678 // be included in the string output. The member name will be present, but the 20679 // value will be replaced with "sensitive". 20680 func (s ConcurrentModificationException) GoString() string { 20681 return s.String() 20682 } 20683 20684 func newErrorConcurrentModificationException(v protocol.ResponseMetadata) error { 20685 return &ConcurrentModificationException{ 20686 RespMetadata: v, 20687 } 20688 } 20689 20690 // Code returns the exception type name. 20691 func (s *ConcurrentModificationException) Code() string { 20692 return "ConcurrentModificationException" 20693 } 20694 20695 // Message returns the exception's message. 20696 func (s *ConcurrentModificationException) Message() string { 20697 if s.Message_ != nil { 20698 return *s.Message_ 20699 } 20700 return "" 20701 } 20702 20703 // OrigErr always returns nil, satisfies awserr.Error interface. 20704 func (s *ConcurrentModificationException) OrigErr() error { 20705 return nil 20706 } 20707 20708 func (s *ConcurrentModificationException) Error() string { 20709 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 20710 } 20711 20712 // Status code returns the HTTP status code for the request's response error. 20713 func (s *ConcurrentModificationException) StatusCode() int { 20714 return s.RespMetadata.StatusCode 20715 } 20716 20717 // RequestID returns the service's response RequestID for request. 20718 func (s *ConcurrentModificationException) RequestID() string { 20719 return s.RespMetadata.RequestID 20720 } 20721 20722 // Too many jobs are being run concurrently. 20723 type ConcurrentRunsExceededException struct { 20724 _ struct{} `type:"structure"` 20725 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 20726 20727 // A message describing the problem. 20728 Message_ *string `locationName:"Message" type:"string"` 20729 } 20730 20731 // String returns the string representation. 20732 // 20733 // API parameter values that are decorated as "sensitive" in the API will not 20734 // be included in the string output. The member name will be present, but the 20735 // value will be replaced with "sensitive". 20736 func (s ConcurrentRunsExceededException) String() string { 20737 return awsutil.Prettify(s) 20738 } 20739 20740 // GoString returns the string representation. 20741 // 20742 // API parameter values that are decorated as "sensitive" in the API will not 20743 // be included in the string output. The member name will be present, but the 20744 // value will be replaced with "sensitive". 20745 func (s ConcurrentRunsExceededException) GoString() string { 20746 return s.String() 20747 } 20748 20749 func newErrorConcurrentRunsExceededException(v protocol.ResponseMetadata) error { 20750 return &ConcurrentRunsExceededException{ 20751 RespMetadata: v, 20752 } 20753 } 20754 20755 // Code returns the exception type name. 20756 func (s *ConcurrentRunsExceededException) Code() string { 20757 return "ConcurrentRunsExceededException" 20758 } 20759 20760 // Message returns the exception's message. 20761 func (s *ConcurrentRunsExceededException) Message() string { 20762 if s.Message_ != nil { 20763 return *s.Message_ 20764 } 20765 return "" 20766 } 20767 20768 // OrigErr always returns nil, satisfies awserr.Error interface. 20769 func (s *ConcurrentRunsExceededException) OrigErr() error { 20770 return nil 20771 } 20772 20773 func (s *ConcurrentRunsExceededException) Error() string { 20774 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 20775 } 20776 20777 // Status code returns the HTTP status code for the request's response error. 20778 func (s *ConcurrentRunsExceededException) StatusCode() int { 20779 return s.RespMetadata.StatusCode 20780 } 20781 20782 // RequestID returns the service's response RequestID for request. 20783 func (s *ConcurrentRunsExceededException) RequestID() string { 20784 return s.RespMetadata.RequestID 20785 } 20786 20787 // Defines a condition under which a trigger fires. 20788 type Condition struct { 20789 _ struct{} `type:"structure"` 20790 20791 // The state of the crawler to which this condition applies. 20792 CrawlState *string `type:"string" enum:"CrawlState"` 20793 20794 // The name of the crawler to which this condition applies. 20795 CrawlerName *string `min:"1" type:"string"` 20796 20797 // The name of the job whose JobRuns this condition applies to, and on which 20798 // this trigger waits. 20799 JobName *string `min:"1" type:"string"` 20800 20801 // A logical operator. 20802 LogicalOperator *string `type:"string" enum:"LogicalOperator"` 20803 20804 // The condition state. Currently, the only job states that a trigger can listen 20805 // for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states 20806 // that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED. 20807 State *string `type:"string" enum:"JobRunState"` 20808 } 20809 20810 // String returns the string representation. 20811 // 20812 // API parameter values that are decorated as "sensitive" in the API will not 20813 // be included in the string output. The member name will be present, but the 20814 // value will be replaced with "sensitive". 20815 func (s Condition) String() string { 20816 return awsutil.Prettify(s) 20817 } 20818 20819 // GoString returns the string representation. 20820 // 20821 // API parameter values that are decorated as "sensitive" in the API will not 20822 // be included in the string output. The member name will be present, but the 20823 // value will be replaced with "sensitive". 20824 func (s Condition) GoString() string { 20825 return s.String() 20826 } 20827 20828 // Validate inspects the fields of the type to determine if they are valid. 20829 func (s *Condition) Validate() error { 20830 invalidParams := request.ErrInvalidParams{Context: "Condition"} 20831 if s.CrawlerName != nil && len(*s.CrawlerName) < 1 { 20832 invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1)) 20833 } 20834 if s.JobName != nil && len(*s.JobName) < 1 { 20835 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 20836 } 20837 20838 if invalidParams.Len() > 0 { 20839 return invalidParams 20840 } 20841 return nil 20842 } 20843 20844 // SetCrawlState sets the CrawlState field's value. 20845 func (s *Condition) SetCrawlState(v string) *Condition { 20846 s.CrawlState = &v 20847 return s 20848 } 20849 20850 // SetCrawlerName sets the CrawlerName field's value. 20851 func (s *Condition) SetCrawlerName(v string) *Condition { 20852 s.CrawlerName = &v 20853 return s 20854 } 20855 20856 // SetJobName sets the JobName field's value. 20857 func (s *Condition) SetJobName(v string) *Condition { 20858 s.JobName = &v 20859 return s 20860 } 20861 20862 // SetLogicalOperator sets the LogicalOperator field's value. 20863 func (s *Condition) SetLogicalOperator(v string) *Condition { 20864 s.LogicalOperator = &v 20865 return s 20866 } 20867 20868 // SetState sets the State field's value. 20869 func (s *Condition) SetState(v string) *Condition { 20870 s.State = &v 20871 return s 20872 } 20873 20874 // A specified condition was not satisfied. 20875 type ConditionCheckFailureException struct { 20876 _ struct{} `type:"structure"` 20877 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 20878 20879 // A message describing the problem. 20880 Message_ *string `locationName:"Message" type:"string"` 20881 } 20882 20883 // String returns the string representation. 20884 // 20885 // API parameter values that are decorated as "sensitive" in the API will not 20886 // be included in the string output. The member name will be present, but the 20887 // value will be replaced with "sensitive". 20888 func (s ConditionCheckFailureException) String() string { 20889 return awsutil.Prettify(s) 20890 } 20891 20892 // GoString returns the string representation. 20893 // 20894 // API parameter values that are decorated as "sensitive" in the API will not 20895 // be included in the string output. The member name will be present, but the 20896 // value will be replaced with "sensitive". 20897 func (s ConditionCheckFailureException) GoString() string { 20898 return s.String() 20899 } 20900 20901 func newErrorConditionCheckFailureException(v protocol.ResponseMetadata) error { 20902 return &ConditionCheckFailureException{ 20903 RespMetadata: v, 20904 } 20905 } 20906 20907 // Code returns the exception type name. 20908 func (s *ConditionCheckFailureException) Code() string { 20909 return "ConditionCheckFailureException" 20910 } 20911 20912 // Message returns the exception's message. 20913 func (s *ConditionCheckFailureException) Message() string { 20914 if s.Message_ != nil { 20915 return *s.Message_ 20916 } 20917 return "" 20918 } 20919 20920 // OrigErr always returns nil, satisfies awserr.Error interface. 20921 func (s *ConditionCheckFailureException) OrigErr() error { 20922 return nil 20923 } 20924 20925 func (s *ConditionCheckFailureException) Error() string { 20926 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 20927 } 20928 20929 // Status code returns the HTTP status code for the request's response error. 20930 func (s *ConditionCheckFailureException) StatusCode() int { 20931 return s.RespMetadata.StatusCode 20932 } 20933 20934 // RequestID returns the service's response RequestID for request. 20935 func (s *ConditionCheckFailureException) RequestID() string { 20936 return s.RespMetadata.RequestID 20937 } 20938 20939 // The CreatePartitions API was called on a table that has indexes enabled. 20940 type ConflictException struct { 20941 _ struct{} `type:"structure"` 20942 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 20943 20944 // A message describing the problem. 20945 Message_ *string `locationName:"Message" type:"string"` 20946 } 20947 20948 // String returns the string representation. 20949 // 20950 // API parameter values that are decorated as "sensitive" in the API will not 20951 // be included in the string output. The member name will be present, but the 20952 // value will be replaced with "sensitive". 20953 func (s ConflictException) String() string { 20954 return awsutil.Prettify(s) 20955 } 20956 20957 // GoString returns the string representation. 20958 // 20959 // API parameter values that are decorated as "sensitive" in the API will not 20960 // be included in the string output. The member name will be present, but the 20961 // value will be replaced with "sensitive". 20962 func (s ConflictException) GoString() string { 20963 return s.String() 20964 } 20965 20966 func newErrorConflictException(v protocol.ResponseMetadata) error { 20967 return &ConflictException{ 20968 RespMetadata: v, 20969 } 20970 } 20971 20972 // Code returns the exception type name. 20973 func (s *ConflictException) Code() string { 20974 return "ConflictException" 20975 } 20976 20977 // Message returns the exception's message. 20978 func (s *ConflictException) Message() string { 20979 if s.Message_ != nil { 20980 return *s.Message_ 20981 } 20982 return "" 20983 } 20984 20985 // OrigErr always returns nil, satisfies awserr.Error interface. 20986 func (s *ConflictException) OrigErr() error { 20987 return nil 20988 } 20989 20990 func (s *ConflictException) Error() string { 20991 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 20992 } 20993 20994 // Status code returns the HTTP status code for the request's response error. 20995 func (s *ConflictException) StatusCode() int { 20996 return s.RespMetadata.StatusCode 20997 } 20998 20999 // RequestID returns the service's response RequestID for request. 21000 func (s *ConflictException) RequestID() string { 21001 return s.RespMetadata.RequestID 21002 } 21003 21004 // The confusion matrix shows you what your transform is predicting accurately 21005 // and what types of errors it is making. 21006 // 21007 // For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix) 21008 // in Wikipedia. 21009 type ConfusionMatrix struct { 21010 _ struct{} `type:"structure"` 21011 21012 // The number of matches in the data that the transform didn't find, in the 21013 // confusion matrix for your transform. 21014 NumFalseNegatives *int64 `type:"long"` 21015 21016 // The number of nonmatches in the data that the transform incorrectly classified 21017 // as a match, in the confusion matrix for your transform. 21018 NumFalsePositives *int64 `type:"long"` 21019 21020 // The number of nonmatches in the data that the transform correctly rejected, 21021 // in the confusion matrix for your transform. 21022 NumTrueNegatives *int64 `type:"long"` 21023 21024 // The number of matches in the data that the transform correctly found, in 21025 // the confusion matrix for your transform. 21026 NumTruePositives *int64 `type:"long"` 21027 } 21028 21029 // String returns the string representation. 21030 // 21031 // API parameter values that are decorated as "sensitive" in the API will not 21032 // be included in the string output. The member name will be present, but the 21033 // value will be replaced with "sensitive". 21034 func (s ConfusionMatrix) String() string { 21035 return awsutil.Prettify(s) 21036 } 21037 21038 // GoString returns the string representation. 21039 // 21040 // API parameter values that are decorated as "sensitive" in the API will not 21041 // be included in the string output. The member name will be present, but the 21042 // value will be replaced with "sensitive". 21043 func (s ConfusionMatrix) GoString() string { 21044 return s.String() 21045 } 21046 21047 // SetNumFalseNegatives sets the NumFalseNegatives field's value. 21048 func (s *ConfusionMatrix) SetNumFalseNegatives(v int64) *ConfusionMatrix { 21049 s.NumFalseNegatives = &v 21050 return s 21051 } 21052 21053 // SetNumFalsePositives sets the NumFalsePositives field's value. 21054 func (s *ConfusionMatrix) SetNumFalsePositives(v int64) *ConfusionMatrix { 21055 s.NumFalsePositives = &v 21056 return s 21057 } 21058 21059 // SetNumTrueNegatives sets the NumTrueNegatives field's value. 21060 func (s *ConfusionMatrix) SetNumTrueNegatives(v int64) *ConfusionMatrix { 21061 s.NumTrueNegatives = &v 21062 return s 21063 } 21064 21065 // SetNumTruePositives sets the NumTruePositives field's value. 21066 func (s *ConfusionMatrix) SetNumTruePositives(v int64) *ConfusionMatrix { 21067 s.NumTruePositives = &v 21068 return s 21069 } 21070 21071 // Defines a connection to a data source. 21072 type Connection struct { 21073 _ struct{} `type:"structure"` 21074 21075 // These key-value pairs define parameters for the connection: 21076 // 21077 // * HOST - The host URI: either the fully qualified domain name (FQDN) or 21078 // the IPv4 address of the database host. 21079 // 21080 // * PORT - The port number, between 1024 and 65535, of the port on which 21081 // the database host is listening for database connections. 21082 // 21083 // * USER_NAME - The name under which to log in to the database. The value 21084 // string for USER_NAME is "USERNAME". 21085 // 21086 // * PASSWORD - A password, if one is used, for the user name. 21087 // 21088 // * ENCRYPTED_PASSWORD - When you enable connection password protection 21089 // by setting ConnectionPasswordEncryption in the Data Catalog encryption 21090 // settings, this field stores the encrypted password. 21091 // 21092 // * JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) 21093 // path of the JAR file that contains the JDBC driver to use. 21094 // 21095 // * JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use. 21096 // 21097 // * JDBC_ENGINE - The name of the JDBC engine to use. 21098 // 21099 // * JDBC_ENGINE_VERSION - The version of the JDBC engine to use. 21100 // 21101 // * CONFIG_FILES - (Reserved for future use.) 21102 // 21103 // * INSTANCE_ID - The instance ID to use. 21104 // 21105 // * JDBC_CONNECTION_URL - The URL for connecting to a JDBC data source. 21106 // 21107 // * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether 21108 // Secure Sockets Layer (SSL) with hostname matching is enforced for the 21109 // JDBC connection on the client. The default is false. 21110 // 21111 // * CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root 21112 // certificate. Glue uses this root certificate to validate the customer’s 21113 // certificate when connecting to the customer database. Glue only handles 21114 // X.509 certificates. The certificate provided must be DER-encoded and supplied 21115 // in Base64 encoding PEM format. 21116 // 21117 // * SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. Glue validates 21118 // the Signature algorithm and Subject Public Key Algorithm for the customer 21119 // certificate. The only permitted algorithms for the Signature algorithm 21120 // are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public 21121 // Key Algorithm, the key length must be at least 2048. You can set the value 21122 // of this property to true to skip Glue’s validation of the customer certificate. 21123 // 21124 // * CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is 21125 // used for domain match or distinguished name match to prevent a man-in-the-middle 21126 // attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in 21127 // Microsoft SQL Server, this is used as the hostNameInCertificate. 21128 // 21129 // * CONNECTION_URL - The URL for connecting to a general (non-JDBC) data 21130 // source. 21131 // 21132 // * KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs 21133 // that are the addresses of the Apache Kafka brokers in a Kafka cluster 21134 // to which a Kafka client will connect to and bootstrap itself. 21135 // 21136 // * KAFKA_SSL_ENABLED - Whether to enable or disable SSL on an Apache Kafka 21137 // connection. Default value is "true". 21138 // 21139 // * KAFKA_CUSTOM_CERT - The Amazon S3 URL for the private CA cert file (.pem 21140 // format). The default is an empty string. 21141 // 21142 // * KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip the validation of 21143 // the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, 21144 // SHA384withRSA and SHA512withRSA. Default value is "false". 21145 // 21146 // * SECRET_ID - The secret ID used for the secret manager of credentials. 21147 // 21148 // * CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection. 21149 // 21150 // * CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection. 21151 // 21152 // * CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or 21153 // CUSTOM connection. 21154 // 21155 // * KAFKA_CLIENT_KEYSTORE - The Amazon S3 location of the client keystore 21156 // file for Kafka client side authentication (Optional). 21157 // 21158 // * KAFKA_CLIENT_KEYSTORE_PASSWORD - The password to access the provided 21159 // keystore (Optional). 21160 // 21161 // * KAFKA_CLIENT_KEY_PASSWORD - A keystore can consist of multiple keys, 21162 // so this is the password to access the client key to be used with the Kafka 21163 // server side key (Optional). 21164 // 21165 // * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD - The encrypted version of 21166 // the Kafka client keystore password (if the user has the Glue encrypt passwords 21167 // setting selected). 21168 // 21169 // * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD - The encrypted version of the Kafka 21170 // client key password (if the user has the Glue encrypt passwords setting 21171 // selected). 21172 ConnectionProperties map[string]*string `type:"map"` 21173 21174 // The type of the connection. Currently, SFTP is not supported. 21175 ConnectionType *string `type:"string" enum:"ConnectionType"` 21176 21177 // The time that this connection definition was created. 21178 CreationTime *time.Time `type:"timestamp"` 21179 21180 // The description of the connection. 21181 Description *string `type:"string"` 21182 21183 // The user, group, or role that last updated this connection definition. 21184 LastUpdatedBy *string `min:"1" type:"string"` 21185 21186 // The last time that this connection definition was updated. 21187 LastUpdatedTime *time.Time `type:"timestamp"` 21188 21189 // A list of criteria that can be used in selecting this connection. 21190 MatchCriteria []*string `type:"list"` 21191 21192 // The name of the connection definition. 21193 Name *string `min:"1" type:"string"` 21194 21195 // A map of physical connection requirements, such as virtual private cloud 21196 // (VPC) and SecurityGroup, that are needed to make this connection successfully. 21197 PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"` 21198 } 21199 21200 // String returns the string representation. 21201 // 21202 // API parameter values that are decorated as "sensitive" in the API will not 21203 // be included in the string output. The member name will be present, but the 21204 // value will be replaced with "sensitive". 21205 func (s Connection) String() string { 21206 return awsutil.Prettify(s) 21207 } 21208 21209 // GoString returns the string representation. 21210 // 21211 // API parameter values that are decorated as "sensitive" in the API will not 21212 // be included in the string output. The member name will be present, but the 21213 // value will be replaced with "sensitive". 21214 func (s Connection) GoString() string { 21215 return s.String() 21216 } 21217 21218 // SetConnectionProperties sets the ConnectionProperties field's value. 21219 func (s *Connection) SetConnectionProperties(v map[string]*string) *Connection { 21220 s.ConnectionProperties = v 21221 return s 21222 } 21223 21224 // SetConnectionType sets the ConnectionType field's value. 21225 func (s *Connection) SetConnectionType(v string) *Connection { 21226 s.ConnectionType = &v 21227 return s 21228 } 21229 21230 // SetCreationTime sets the CreationTime field's value. 21231 func (s *Connection) SetCreationTime(v time.Time) *Connection { 21232 s.CreationTime = &v 21233 return s 21234 } 21235 21236 // SetDescription sets the Description field's value. 21237 func (s *Connection) SetDescription(v string) *Connection { 21238 s.Description = &v 21239 return s 21240 } 21241 21242 // SetLastUpdatedBy sets the LastUpdatedBy field's value. 21243 func (s *Connection) SetLastUpdatedBy(v string) *Connection { 21244 s.LastUpdatedBy = &v 21245 return s 21246 } 21247 21248 // SetLastUpdatedTime sets the LastUpdatedTime field's value. 21249 func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection { 21250 s.LastUpdatedTime = &v 21251 return s 21252 } 21253 21254 // SetMatchCriteria sets the MatchCriteria field's value. 21255 func (s *Connection) SetMatchCriteria(v []*string) *Connection { 21256 s.MatchCriteria = v 21257 return s 21258 } 21259 21260 // SetName sets the Name field's value. 21261 func (s *Connection) SetName(v string) *Connection { 21262 s.Name = &v 21263 return s 21264 } 21265 21266 // SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value. 21267 func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection { 21268 s.PhysicalConnectionRequirements = v 21269 return s 21270 } 21271 21272 // A structure that is used to specify a connection to create or update. 21273 type ConnectionInput struct { 21274 _ struct{} `type:"structure"` 21275 21276 // These key-value pairs define parameters for the connection. 21277 // 21278 // ConnectionProperties is a required field 21279 ConnectionProperties map[string]*string `type:"map" required:"true"` 21280 21281 // The type of the connection. Currently, these types are supported: 21282 // 21283 // * JDBC - Designates a connection to a database through Java Database Connectivity 21284 // (JDBC). 21285 // 21286 // * KAFKA - Designates a connection to an Apache Kafka streaming platform. 21287 // 21288 // * MONGODB - Designates a connection to a MongoDB document database. 21289 // 21290 // * NETWORK - Designates a network connection to a data source within an 21291 // Amazon Virtual Private Cloud environment (Amazon VPC). 21292 // 21293 // * MARKETPLACE - Uses configuration settings contained in a connector purchased 21294 // from Amazon Web Services Marketplace to read from and write to data stores 21295 // that are not natively supported by Glue. 21296 // 21297 // * CUSTOM - Uses configuration settings contained in a custom connector 21298 // to read from and write to data stores that are not natively supported 21299 // by Glue. 21300 // 21301 // SFTP is not supported. 21302 // 21303 // ConnectionType is a required field 21304 ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"` 21305 21306 // The description of the connection. 21307 Description *string `type:"string"` 21308 21309 // A list of criteria that can be used in selecting this connection. 21310 MatchCriteria []*string `type:"list"` 21311 21312 // The name of the connection. 21313 // 21314 // Name is a required field 21315 Name *string `min:"1" type:"string" required:"true"` 21316 21317 // A map of physical connection requirements, such as virtual private cloud 21318 // (VPC) and SecurityGroup, that are needed to successfully make this connection. 21319 PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"` 21320 } 21321 21322 // String returns the string representation. 21323 // 21324 // API parameter values that are decorated as "sensitive" in the API will not 21325 // be included in the string output. The member name will be present, but the 21326 // value will be replaced with "sensitive". 21327 func (s ConnectionInput) String() string { 21328 return awsutil.Prettify(s) 21329 } 21330 21331 // GoString returns the string representation. 21332 // 21333 // API parameter values that are decorated as "sensitive" in the API will not 21334 // be included in the string output. The member name will be present, but the 21335 // value will be replaced with "sensitive". 21336 func (s ConnectionInput) GoString() string { 21337 return s.String() 21338 } 21339 21340 // Validate inspects the fields of the type to determine if they are valid. 21341 func (s *ConnectionInput) Validate() error { 21342 invalidParams := request.ErrInvalidParams{Context: "ConnectionInput"} 21343 if s.ConnectionProperties == nil { 21344 invalidParams.Add(request.NewErrParamRequired("ConnectionProperties")) 21345 } 21346 if s.ConnectionType == nil { 21347 invalidParams.Add(request.NewErrParamRequired("ConnectionType")) 21348 } 21349 if s.Name == nil { 21350 invalidParams.Add(request.NewErrParamRequired("Name")) 21351 } 21352 if s.Name != nil && len(*s.Name) < 1 { 21353 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 21354 } 21355 if s.PhysicalConnectionRequirements != nil { 21356 if err := s.PhysicalConnectionRequirements.Validate(); err != nil { 21357 invalidParams.AddNested("PhysicalConnectionRequirements", err.(request.ErrInvalidParams)) 21358 } 21359 } 21360 21361 if invalidParams.Len() > 0 { 21362 return invalidParams 21363 } 21364 return nil 21365 } 21366 21367 // SetConnectionProperties sets the ConnectionProperties field's value. 21368 func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput { 21369 s.ConnectionProperties = v 21370 return s 21371 } 21372 21373 // SetConnectionType sets the ConnectionType field's value. 21374 func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput { 21375 s.ConnectionType = &v 21376 return s 21377 } 21378 21379 // SetDescription sets the Description field's value. 21380 func (s *ConnectionInput) SetDescription(v string) *ConnectionInput { 21381 s.Description = &v 21382 return s 21383 } 21384 21385 // SetMatchCriteria sets the MatchCriteria field's value. 21386 func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput { 21387 s.MatchCriteria = v 21388 return s 21389 } 21390 21391 // SetName sets the Name field's value. 21392 func (s *ConnectionInput) SetName(v string) *ConnectionInput { 21393 s.Name = &v 21394 return s 21395 } 21396 21397 // SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value. 21398 func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput { 21399 s.PhysicalConnectionRequirements = v 21400 return s 21401 } 21402 21403 // The data structure used by the Data Catalog to encrypt the password as part 21404 // of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD 21405 // field in the connection properties. You can enable catalog encryption or 21406 // only password encryption. 21407 // 21408 // When a CreationConnection request arrives containing a password, the Data 21409 // Catalog first encrypts the password using your KMS key. It then encrypts 21410 // the whole connection object again if catalog encryption is also enabled. 21411 // 21412 // This encryption requires that you set KMS key permissions to enable or restrict 21413 // access on the password key according to your security requirements. For example, 21414 // you might want only administrators to have decrypt permission on the password 21415 // key. 21416 type ConnectionPasswordEncryption struct { 21417 _ struct{} `type:"structure"` 21418 21419 // An KMS key that is used to encrypt the connection password. 21420 // 21421 // If connection password protection is enabled, the caller of CreateConnection 21422 // and UpdateConnection needs at least kms:Encrypt permission on the specified 21423 // KMS key, to encrypt passwords before storing them in the Data Catalog. 21424 // 21425 // You can set the decrypt permission to enable or restrict access on the password 21426 // key according to your security requirements. 21427 AwsKmsKeyId *string `min:"1" type:"string"` 21428 21429 // When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords 21430 // remain encrypted in the responses of GetConnection and GetConnections. This 21431 // encryption takes effect independently from catalog encryption. 21432 // 21433 // ReturnConnectionPasswordEncrypted is a required field 21434 ReturnConnectionPasswordEncrypted *bool `type:"boolean" required:"true"` 21435 } 21436 21437 // String returns the string representation. 21438 // 21439 // API parameter values that are decorated as "sensitive" in the API will not 21440 // be included in the string output. The member name will be present, but the 21441 // value will be replaced with "sensitive". 21442 func (s ConnectionPasswordEncryption) String() string { 21443 return awsutil.Prettify(s) 21444 } 21445 21446 // GoString returns the string representation. 21447 // 21448 // API parameter values that are decorated as "sensitive" in the API will not 21449 // be included in the string output. The member name will be present, but the 21450 // value will be replaced with "sensitive". 21451 func (s ConnectionPasswordEncryption) GoString() string { 21452 return s.String() 21453 } 21454 21455 // Validate inspects the fields of the type to determine if they are valid. 21456 func (s *ConnectionPasswordEncryption) Validate() error { 21457 invalidParams := request.ErrInvalidParams{Context: "ConnectionPasswordEncryption"} 21458 if s.AwsKmsKeyId != nil && len(*s.AwsKmsKeyId) < 1 { 21459 invalidParams.Add(request.NewErrParamMinLen("AwsKmsKeyId", 1)) 21460 } 21461 if s.ReturnConnectionPasswordEncrypted == nil { 21462 invalidParams.Add(request.NewErrParamRequired("ReturnConnectionPasswordEncrypted")) 21463 } 21464 21465 if invalidParams.Len() > 0 { 21466 return invalidParams 21467 } 21468 return nil 21469 } 21470 21471 // SetAwsKmsKeyId sets the AwsKmsKeyId field's value. 21472 func (s *ConnectionPasswordEncryption) SetAwsKmsKeyId(v string) *ConnectionPasswordEncryption { 21473 s.AwsKmsKeyId = &v 21474 return s 21475 } 21476 21477 // SetReturnConnectionPasswordEncrypted sets the ReturnConnectionPasswordEncrypted field's value. 21478 func (s *ConnectionPasswordEncryption) SetReturnConnectionPasswordEncrypted(v bool) *ConnectionPasswordEncryption { 21479 s.ReturnConnectionPasswordEncrypted = &v 21480 return s 21481 } 21482 21483 // Specifies the connections used by a job. 21484 type ConnectionsList struct { 21485 _ struct{} `type:"structure"` 21486 21487 // A list of connections used by the job. 21488 Connections []*string `type:"list"` 21489 } 21490 21491 // String returns the string representation. 21492 // 21493 // API parameter values that are decorated as "sensitive" in the API will not 21494 // be included in the string output. The member name will be present, but the 21495 // value will be replaced with "sensitive". 21496 func (s ConnectionsList) String() string { 21497 return awsutil.Prettify(s) 21498 } 21499 21500 // GoString returns the string representation. 21501 // 21502 // API parameter values that are decorated as "sensitive" in the API will not 21503 // be included in the string output. The member name will be present, but the 21504 // value will be replaced with "sensitive". 21505 func (s ConnectionsList) GoString() string { 21506 return s.String() 21507 } 21508 21509 // SetConnections sets the Connections field's value. 21510 func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList { 21511 s.Connections = v 21512 return s 21513 } 21514 21515 // The details of a crawl in the workflow. 21516 type Crawl struct { 21517 _ struct{} `type:"structure"` 21518 21519 // The date and time on which the crawl completed. 21520 CompletedOn *time.Time `type:"timestamp"` 21521 21522 // The error message associated with the crawl. 21523 ErrorMessage *string `type:"string"` 21524 21525 // The log group associated with the crawl. 21526 LogGroup *string `min:"1" type:"string"` 21527 21528 // The log stream associated with the crawl. 21529 LogStream *string `min:"1" type:"string"` 21530 21531 // The date and time on which the crawl started. 21532 StartedOn *time.Time `type:"timestamp"` 21533 21534 // The state of the crawler. 21535 State *string `type:"string" enum:"CrawlState"` 21536 } 21537 21538 // String returns the string representation. 21539 // 21540 // API parameter values that are decorated as "sensitive" in the API will not 21541 // be included in the string output. The member name will be present, but the 21542 // value will be replaced with "sensitive". 21543 func (s Crawl) String() string { 21544 return awsutil.Prettify(s) 21545 } 21546 21547 // GoString returns the string representation. 21548 // 21549 // API parameter values that are decorated as "sensitive" in the API will not 21550 // be included in the string output. The member name will be present, but the 21551 // value will be replaced with "sensitive". 21552 func (s Crawl) GoString() string { 21553 return s.String() 21554 } 21555 21556 // SetCompletedOn sets the CompletedOn field's value. 21557 func (s *Crawl) SetCompletedOn(v time.Time) *Crawl { 21558 s.CompletedOn = &v 21559 return s 21560 } 21561 21562 // SetErrorMessage sets the ErrorMessage field's value. 21563 func (s *Crawl) SetErrorMessage(v string) *Crawl { 21564 s.ErrorMessage = &v 21565 return s 21566 } 21567 21568 // SetLogGroup sets the LogGroup field's value. 21569 func (s *Crawl) SetLogGroup(v string) *Crawl { 21570 s.LogGroup = &v 21571 return s 21572 } 21573 21574 // SetLogStream sets the LogStream field's value. 21575 func (s *Crawl) SetLogStream(v string) *Crawl { 21576 s.LogStream = &v 21577 return s 21578 } 21579 21580 // SetStartedOn sets the StartedOn field's value. 21581 func (s *Crawl) SetStartedOn(v time.Time) *Crawl { 21582 s.StartedOn = &v 21583 return s 21584 } 21585 21586 // SetState sets the State field's value. 21587 func (s *Crawl) SetState(v string) *Crawl { 21588 s.State = &v 21589 return s 21590 } 21591 21592 // Specifies a crawler program that examines a data source and uses classifiers 21593 // to try to determine its schema. If successful, the crawler records metadata 21594 // concerning the data source in the Glue Data Catalog. 21595 type Crawler struct { 21596 _ struct{} `type:"structure"` 21597 21598 // A list of UTF-8 strings that specify the custom classifiers that are associated 21599 // with the crawler. 21600 Classifiers []*string `type:"list"` 21601 21602 // Crawler configuration information. This versioned JSON string allows users 21603 // to specify aspects of a crawler's behavior. For more information, see Include 21604 // and Exclude Patterns (https://docs.aws.amazon.com/glue/latest/dg/define-crawler.html#crawler-data-stores-exclude). 21605 Configuration *string `type:"string"` 21606 21607 // If the crawler is running, contains the total time elapsed since the last 21608 // crawl began. 21609 CrawlElapsedTime *int64 `type:"long"` 21610 21611 // The name of the SecurityConfiguration structure to be used by this crawler. 21612 CrawlerSecurityConfiguration *string `type:"string"` 21613 21614 // The time that the crawler was created. 21615 CreationTime *time.Time `type:"timestamp"` 21616 21617 // The name of the database in which the crawler's output is stored. 21618 DatabaseName *string `type:"string"` 21619 21620 // A description of the crawler. 21621 Description *string `type:"string"` 21622 21623 // The status of the last crawl, and potentially error information if an error 21624 // occurred. 21625 LastCrawl *LastCrawlInfo `type:"structure"` 21626 21627 // The time that the crawler was last updated. 21628 LastUpdated *time.Time `type:"timestamp"` 21629 21630 // A configuration that specifies whether data lineage is enabled for the crawler. 21631 LineageConfiguration *LineageConfiguration `type:"structure"` 21632 21633 // The name of the crawler. 21634 Name *string `min:"1" type:"string"` 21635 21636 // A policy that specifies whether to crawl the entire dataset again, or to 21637 // crawl only folders that were added since the last crawler run. 21638 RecrawlPolicy *RecrawlPolicy `type:"structure"` 21639 21640 // The Amazon Resource Name (ARN) of an IAM role that's used to access customer 21641 // resources, such as Amazon Simple Storage Service (Amazon S3) data. 21642 Role *string `type:"string"` 21643 21644 // For scheduled crawlers, the schedule when the crawler runs. 21645 Schedule *Schedule `type:"structure"` 21646 21647 // The policy that specifies update and delete behaviors for the crawler. 21648 SchemaChangePolicy *SchemaChangePolicy `type:"structure"` 21649 21650 // Indicates whether the crawler is running, or whether a run is pending. 21651 State *string `type:"string" enum:"CrawlerState"` 21652 21653 // The prefix added to the names of tables that are created. 21654 TablePrefix *string `type:"string"` 21655 21656 // A collection of targets to crawl. 21657 Targets *CrawlerTargets `type:"structure"` 21658 21659 // The version of the crawler. 21660 Version *int64 `type:"long"` 21661 } 21662 21663 // String returns the string representation. 21664 // 21665 // API parameter values that are decorated as "sensitive" in the API will not 21666 // be included in the string output. The member name will be present, but the 21667 // value will be replaced with "sensitive". 21668 func (s Crawler) String() string { 21669 return awsutil.Prettify(s) 21670 } 21671 21672 // GoString returns the string representation. 21673 // 21674 // API parameter values that are decorated as "sensitive" in the API will not 21675 // be included in the string output. The member name will be present, but the 21676 // value will be replaced with "sensitive". 21677 func (s Crawler) GoString() string { 21678 return s.String() 21679 } 21680 21681 // SetClassifiers sets the Classifiers field's value. 21682 func (s *Crawler) SetClassifiers(v []*string) *Crawler { 21683 s.Classifiers = v 21684 return s 21685 } 21686 21687 // SetConfiguration sets the Configuration field's value. 21688 func (s *Crawler) SetConfiguration(v string) *Crawler { 21689 s.Configuration = &v 21690 return s 21691 } 21692 21693 // SetCrawlElapsedTime sets the CrawlElapsedTime field's value. 21694 func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler { 21695 s.CrawlElapsedTime = &v 21696 return s 21697 } 21698 21699 // SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value. 21700 func (s *Crawler) SetCrawlerSecurityConfiguration(v string) *Crawler { 21701 s.CrawlerSecurityConfiguration = &v 21702 return s 21703 } 21704 21705 // SetCreationTime sets the CreationTime field's value. 21706 func (s *Crawler) SetCreationTime(v time.Time) *Crawler { 21707 s.CreationTime = &v 21708 return s 21709 } 21710 21711 // SetDatabaseName sets the DatabaseName field's value. 21712 func (s *Crawler) SetDatabaseName(v string) *Crawler { 21713 s.DatabaseName = &v 21714 return s 21715 } 21716 21717 // SetDescription sets the Description field's value. 21718 func (s *Crawler) SetDescription(v string) *Crawler { 21719 s.Description = &v 21720 return s 21721 } 21722 21723 // SetLastCrawl sets the LastCrawl field's value. 21724 func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler { 21725 s.LastCrawl = v 21726 return s 21727 } 21728 21729 // SetLastUpdated sets the LastUpdated field's value. 21730 func (s *Crawler) SetLastUpdated(v time.Time) *Crawler { 21731 s.LastUpdated = &v 21732 return s 21733 } 21734 21735 // SetLineageConfiguration sets the LineageConfiguration field's value. 21736 func (s *Crawler) SetLineageConfiguration(v *LineageConfiguration) *Crawler { 21737 s.LineageConfiguration = v 21738 return s 21739 } 21740 21741 // SetName sets the Name field's value. 21742 func (s *Crawler) SetName(v string) *Crawler { 21743 s.Name = &v 21744 return s 21745 } 21746 21747 // SetRecrawlPolicy sets the RecrawlPolicy field's value. 21748 func (s *Crawler) SetRecrawlPolicy(v *RecrawlPolicy) *Crawler { 21749 s.RecrawlPolicy = v 21750 return s 21751 } 21752 21753 // SetRole sets the Role field's value. 21754 func (s *Crawler) SetRole(v string) *Crawler { 21755 s.Role = &v 21756 return s 21757 } 21758 21759 // SetSchedule sets the Schedule field's value. 21760 func (s *Crawler) SetSchedule(v *Schedule) *Crawler { 21761 s.Schedule = v 21762 return s 21763 } 21764 21765 // SetSchemaChangePolicy sets the SchemaChangePolicy field's value. 21766 func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler { 21767 s.SchemaChangePolicy = v 21768 return s 21769 } 21770 21771 // SetState sets the State field's value. 21772 func (s *Crawler) SetState(v string) *Crawler { 21773 s.State = &v 21774 return s 21775 } 21776 21777 // SetTablePrefix sets the TablePrefix field's value. 21778 func (s *Crawler) SetTablePrefix(v string) *Crawler { 21779 s.TablePrefix = &v 21780 return s 21781 } 21782 21783 // SetTargets sets the Targets field's value. 21784 func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler { 21785 s.Targets = v 21786 return s 21787 } 21788 21789 // SetVersion sets the Version field's value. 21790 func (s *Crawler) SetVersion(v int64) *Crawler { 21791 s.Version = &v 21792 return s 21793 } 21794 21795 // Metrics for a specified crawler. 21796 type CrawlerMetrics struct { 21797 _ struct{} `type:"structure"` 21798 21799 // The name of the crawler. 21800 CrawlerName *string `min:"1" type:"string"` 21801 21802 // The duration of the crawler's most recent run, in seconds. 21803 LastRuntimeSeconds *float64 `type:"double"` 21804 21805 // The median duration of this crawler's runs, in seconds. 21806 MedianRuntimeSeconds *float64 `type:"double"` 21807 21808 // True if the crawler is still estimating how long it will take to complete 21809 // this run. 21810 StillEstimating *bool `type:"boolean"` 21811 21812 // The number of tables created by this crawler. 21813 TablesCreated *int64 `type:"integer"` 21814 21815 // The number of tables deleted by this crawler. 21816 TablesDeleted *int64 `type:"integer"` 21817 21818 // The number of tables updated by this crawler. 21819 TablesUpdated *int64 `type:"integer"` 21820 21821 // The estimated time left to complete a running crawl. 21822 TimeLeftSeconds *float64 `type:"double"` 21823 } 21824 21825 // String returns the string representation. 21826 // 21827 // API parameter values that are decorated as "sensitive" in the API will not 21828 // be included in the string output. The member name will be present, but the 21829 // value will be replaced with "sensitive". 21830 func (s CrawlerMetrics) String() string { 21831 return awsutil.Prettify(s) 21832 } 21833 21834 // GoString returns the string representation. 21835 // 21836 // API parameter values that are decorated as "sensitive" in the API will not 21837 // be included in the string output. The member name will be present, but the 21838 // value will be replaced with "sensitive". 21839 func (s CrawlerMetrics) GoString() string { 21840 return s.String() 21841 } 21842 21843 // SetCrawlerName sets the CrawlerName field's value. 21844 func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics { 21845 s.CrawlerName = &v 21846 return s 21847 } 21848 21849 // SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value. 21850 func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics { 21851 s.LastRuntimeSeconds = &v 21852 return s 21853 } 21854 21855 // SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value. 21856 func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics { 21857 s.MedianRuntimeSeconds = &v 21858 return s 21859 } 21860 21861 // SetStillEstimating sets the StillEstimating field's value. 21862 func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics { 21863 s.StillEstimating = &v 21864 return s 21865 } 21866 21867 // SetTablesCreated sets the TablesCreated field's value. 21868 func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics { 21869 s.TablesCreated = &v 21870 return s 21871 } 21872 21873 // SetTablesDeleted sets the TablesDeleted field's value. 21874 func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics { 21875 s.TablesDeleted = &v 21876 return s 21877 } 21878 21879 // SetTablesUpdated sets the TablesUpdated field's value. 21880 func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics { 21881 s.TablesUpdated = &v 21882 return s 21883 } 21884 21885 // SetTimeLeftSeconds sets the TimeLeftSeconds field's value. 21886 func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics { 21887 s.TimeLeftSeconds = &v 21888 return s 21889 } 21890 21891 // The details of a Crawler node present in the workflow. 21892 type CrawlerNodeDetails struct { 21893 _ struct{} `type:"structure"` 21894 21895 // A list of crawls represented by the crawl node. 21896 Crawls []*Crawl `type:"list"` 21897 } 21898 21899 // String returns the string representation. 21900 // 21901 // API parameter values that are decorated as "sensitive" in the API will not 21902 // be included in the string output. The member name will be present, but the 21903 // value will be replaced with "sensitive". 21904 func (s CrawlerNodeDetails) String() string { 21905 return awsutil.Prettify(s) 21906 } 21907 21908 // GoString returns the string representation. 21909 // 21910 // API parameter values that are decorated as "sensitive" in the API will not 21911 // be included in the string output. The member name will be present, but the 21912 // value will be replaced with "sensitive". 21913 func (s CrawlerNodeDetails) GoString() string { 21914 return s.String() 21915 } 21916 21917 // SetCrawls sets the Crawls field's value. 21918 func (s *CrawlerNodeDetails) SetCrawls(v []*Crawl) *CrawlerNodeDetails { 21919 s.Crawls = v 21920 return s 21921 } 21922 21923 // The specified crawler is not running. 21924 type CrawlerNotRunningException struct { 21925 _ struct{} `type:"structure"` 21926 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 21927 21928 // A message describing the problem. 21929 Message_ *string `locationName:"Message" type:"string"` 21930 } 21931 21932 // String returns the string representation. 21933 // 21934 // API parameter values that are decorated as "sensitive" in the API will not 21935 // be included in the string output. The member name will be present, but the 21936 // value will be replaced with "sensitive". 21937 func (s CrawlerNotRunningException) String() string { 21938 return awsutil.Prettify(s) 21939 } 21940 21941 // GoString returns the string representation. 21942 // 21943 // API parameter values that are decorated as "sensitive" in the API will not 21944 // be included in the string output. The member name will be present, but the 21945 // value will be replaced with "sensitive". 21946 func (s CrawlerNotRunningException) GoString() string { 21947 return s.String() 21948 } 21949 21950 func newErrorCrawlerNotRunningException(v protocol.ResponseMetadata) error { 21951 return &CrawlerNotRunningException{ 21952 RespMetadata: v, 21953 } 21954 } 21955 21956 // Code returns the exception type name. 21957 func (s *CrawlerNotRunningException) Code() string { 21958 return "CrawlerNotRunningException" 21959 } 21960 21961 // Message returns the exception's message. 21962 func (s *CrawlerNotRunningException) Message() string { 21963 if s.Message_ != nil { 21964 return *s.Message_ 21965 } 21966 return "" 21967 } 21968 21969 // OrigErr always returns nil, satisfies awserr.Error interface. 21970 func (s *CrawlerNotRunningException) OrigErr() error { 21971 return nil 21972 } 21973 21974 func (s *CrawlerNotRunningException) Error() string { 21975 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 21976 } 21977 21978 // Status code returns the HTTP status code for the request's response error. 21979 func (s *CrawlerNotRunningException) StatusCode() int { 21980 return s.RespMetadata.StatusCode 21981 } 21982 21983 // RequestID returns the service's response RequestID for request. 21984 func (s *CrawlerNotRunningException) RequestID() string { 21985 return s.RespMetadata.RequestID 21986 } 21987 21988 // The operation cannot be performed because the crawler is already running. 21989 type CrawlerRunningException struct { 21990 _ struct{} `type:"structure"` 21991 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 21992 21993 // A message describing the problem. 21994 Message_ *string `locationName:"Message" type:"string"` 21995 } 21996 21997 // String returns the string representation. 21998 // 21999 // API parameter values that are decorated as "sensitive" in the API will not 22000 // be included in the string output. The member name will be present, but the 22001 // value will be replaced with "sensitive". 22002 func (s CrawlerRunningException) String() string { 22003 return awsutil.Prettify(s) 22004 } 22005 22006 // GoString returns the string representation. 22007 // 22008 // API parameter values that are decorated as "sensitive" in the API will not 22009 // be included in the string output. The member name will be present, but the 22010 // value will be replaced with "sensitive". 22011 func (s CrawlerRunningException) GoString() string { 22012 return s.String() 22013 } 22014 22015 func newErrorCrawlerRunningException(v protocol.ResponseMetadata) error { 22016 return &CrawlerRunningException{ 22017 RespMetadata: v, 22018 } 22019 } 22020 22021 // Code returns the exception type name. 22022 func (s *CrawlerRunningException) Code() string { 22023 return "CrawlerRunningException" 22024 } 22025 22026 // Message returns the exception's message. 22027 func (s *CrawlerRunningException) Message() string { 22028 if s.Message_ != nil { 22029 return *s.Message_ 22030 } 22031 return "" 22032 } 22033 22034 // OrigErr always returns nil, satisfies awserr.Error interface. 22035 func (s *CrawlerRunningException) OrigErr() error { 22036 return nil 22037 } 22038 22039 func (s *CrawlerRunningException) Error() string { 22040 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 22041 } 22042 22043 // Status code returns the HTTP status code for the request's response error. 22044 func (s *CrawlerRunningException) StatusCode() int { 22045 return s.RespMetadata.StatusCode 22046 } 22047 22048 // RequestID returns the service's response RequestID for request. 22049 func (s *CrawlerRunningException) RequestID() string { 22050 return s.RespMetadata.RequestID 22051 } 22052 22053 // The specified crawler is stopping. 22054 type CrawlerStoppingException struct { 22055 _ struct{} `type:"structure"` 22056 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 22057 22058 // A message describing the problem. 22059 Message_ *string `locationName:"Message" type:"string"` 22060 } 22061 22062 // String returns the string representation. 22063 // 22064 // API parameter values that are decorated as "sensitive" in the API will not 22065 // be included in the string output. The member name will be present, but the 22066 // value will be replaced with "sensitive". 22067 func (s CrawlerStoppingException) String() string { 22068 return awsutil.Prettify(s) 22069 } 22070 22071 // GoString returns the string representation. 22072 // 22073 // API parameter values that are decorated as "sensitive" in the API will not 22074 // be included in the string output. The member name will be present, but the 22075 // value will be replaced with "sensitive". 22076 func (s CrawlerStoppingException) GoString() string { 22077 return s.String() 22078 } 22079 22080 func newErrorCrawlerStoppingException(v protocol.ResponseMetadata) error { 22081 return &CrawlerStoppingException{ 22082 RespMetadata: v, 22083 } 22084 } 22085 22086 // Code returns the exception type name. 22087 func (s *CrawlerStoppingException) Code() string { 22088 return "CrawlerStoppingException" 22089 } 22090 22091 // Message returns the exception's message. 22092 func (s *CrawlerStoppingException) Message() string { 22093 if s.Message_ != nil { 22094 return *s.Message_ 22095 } 22096 return "" 22097 } 22098 22099 // OrigErr always returns nil, satisfies awserr.Error interface. 22100 func (s *CrawlerStoppingException) OrigErr() error { 22101 return nil 22102 } 22103 22104 func (s *CrawlerStoppingException) Error() string { 22105 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 22106 } 22107 22108 // Status code returns the HTTP status code for the request's response error. 22109 func (s *CrawlerStoppingException) StatusCode() int { 22110 return s.RespMetadata.StatusCode 22111 } 22112 22113 // RequestID returns the service's response RequestID for request. 22114 func (s *CrawlerStoppingException) RequestID() string { 22115 return s.RespMetadata.RequestID 22116 } 22117 22118 // Specifies data stores to crawl. 22119 type CrawlerTargets struct { 22120 _ struct{} `type:"structure"` 22121 22122 // Specifies Glue Data Catalog targets. 22123 CatalogTargets []*CatalogTarget `type:"list"` 22124 22125 // Specifies Amazon DynamoDB targets. 22126 DynamoDBTargets []*DynamoDBTarget `type:"list"` 22127 22128 // Specifies JDBC targets. 22129 JdbcTargets []*JdbcTarget `type:"list"` 22130 22131 // Specifies Amazon DocumentDB or MongoDB targets. 22132 MongoDBTargets []*MongoDBTarget `type:"list"` 22133 22134 // Specifies Amazon Simple Storage Service (Amazon S3) targets. 22135 S3Targets []*S3Target `type:"list"` 22136 } 22137 22138 // String returns the string representation. 22139 // 22140 // API parameter values that are decorated as "sensitive" in the API will not 22141 // be included in the string output. The member name will be present, but the 22142 // value will be replaced with "sensitive". 22143 func (s CrawlerTargets) String() string { 22144 return awsutil.Prettify(s) 22145 } 22146 22147 // GoString returns the string representation. 22148 // 22149 // API parameter values that are decorated as "sensitive" in the API will not 22150 // be included in the string output. The member name will be present, but the 22151 // value will be replaced with "sensitive". 22152 func (s CrawlerTargets) GoString() string { 22153 return s.String() 22154 } 22155 22156 // Validate inspects the fields of the type to determine if they are valid. 22157 func (s *CrawlerTargets) Validate() error { 22158 invalidParams := request.ErrInvalidParams{Context: "CrawlerTargets"} 22159 if s.CatalogTargets != nil { 22160 for i, v := range s.CatalogTargets { 22161 if v == nil { 22162 continue 22163 } 22164 if err := v.Validate(); err != nil { 22165 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CatalogTargets", i), err.(request.ErrInvalidParams)) 22166 } 22167 } 22168 } 22169 22170 if invalidParams.Len() > 0 { 22171 return invalidParams 22172 } 22173 return nil 22174 } 22175 22176 // SetCatalogTargets sets the CatalogTargets field's value. 22177 func (s *CrawlerTargets) SetCatalogTargets(v []*CatalogTarget) *CrawlerTargets { 22178 s.CatalogTargets = v 22179 return s 22180 } 22181 22182 // SetDynamoDBTargets sets the DynamoDBTargets field's value. 22183 func (s *CrawlerTargets) SetDynamoDBTargets(v []*DynamoDBTarget) *CrawlerTargets { 22184 s.DynamoDBTargets = v 22185 return s 22186 } 22187 22188 // SetJdbcTargets sets the JdbcTargets field's value. 22189 func (s *CrawlerTargets) SetJdbcTargets(v []*JdbcTarget) *CrawlerTargets { 22190 s.JdbcTargets = v 22191 return s 22192 } 22193 22194 // SetMongoDBTargets sets the MongoDBTargets field's value. 22195 func (s *CrawlerTargets) SetMongoDBTargets(v []*MongoDBTarget) *CrawlerTargets { 22196 s.MongoDBTargets = v 22197 return s 22198 } 22199 22200 // SetS3Targets sets the S3Targets field's value. 22201 func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets { 22202 s.S3Targets = v 22203 return s 22204 } 22205 22206 type CreateBlueprintInput struct { 22207 _ struct{} `type:"structure"` 22208 22209 // Specifies a path in Amazon S3 where the blueprint is published. 22210 // 22211 // BlueprintLocation is a required field 22212 BlueprintLocation *string `min:"1" type:"string" required:"true"` 22213 22214 // A description of the blueprint. 22215 Description *string `min:"1" type:"string"` 22216 22217 // The name of the blueprint. 22218 // 22219 // Name is a required field 22220 Name *string `min:"1" type:"string" required:"true"` 22221 22222 // The tags to be applied to this blueprint. 22223 Tags map[string]*string `type:"map"` 22224 } 22225 22226 // String returns the string representation. 22227 // 22228 // API parameter values that are decorated as "sensitive" in the API will not 22229 // be included in the string output. The member name will be present, but the 22230 // value will be replaced with "sensitive". 22231 func (s CreateBlueprintInput) String() string { 22232 return awsutil.Prettify(s) 22233 } 22234 22235 // GoString returns the string representation. 22236 // 22237 // API parameter values that are decorated as "sensitive" in the API will not 22238 // be included in the string output. The member name will be present, but the 22239 // value will be replaced with "sensitive". 22240 func (s CreateBlueprintInput) GoString() string { 22241 return s.String() 22242 } 22243 22244 // Validate inspects the fields of the type to determine if they are valid. 22245 func (s *CreateBlueprintInput) Validate() error { 22246 invalidParams := request.ErrInvalidParams{Context: "CreateBlueprintInput"} 22247 if s.BlueprintLocation == nil { 22248 invalidParams.Add(request.NewErrParamRequired("BlueprintLocation")) 22249 } 22250 if s.BlueprintLocation != nil && len(*s.BlueprintLocation) < 1 { 22251 invalidParams.Add(request.NewErrParamMinLen("BlueprintLocation", 1)) 22252 } 22253 if s.Description != nil && len(*s.Description) < 1 { 22254 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 22255 } 22256 if s.Name == nil { 22257 invalidParams.Add(request.NewErrParamRequired("Name")) 22258 } 22259 if s.Name != nil && len(*s.Name) < 1 { 22260 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 22261 } 22262 22263 if invalidParams.Len() > 0 { 22264 return invalidParams 22265 } 22266 return nil 22267 } 22268 22269 // SetBlueprintLocation sets the BlueprintLocation field's value. 22270 func (s *CreateBlueprintInput) SetBlueprintLocation(v string) *CreateBlueprintInput { 22271 s.BlueprintLocation = &v 22272 return s 22273 } 22274 22275 // SetDescription sets the Description field's value. 22276 func (s *CreateBlueprintInput) SetDescription(v string) *CreateBlueprintInput { 22277 s.Description = &v 22278 return s 22279 } 22280 22281 // SetName sets the Name field's value. 22282 func (s *CreateBlueprintInput) SetName(v string) *CreateBlueprintInput { 22283 s.Name = &v 22284 return s 22285 } 22286 22287 // SetTags sets the Tags field's value. 22288 func (s *CreateBlueprintInput) SetTags(v map[string]*string) *CreateBlueprintInput { 22289 s.Tags = v 22290 return s 22291 } 22292 22293 type CreateBlueprintOutput struct { 22294 _ struct{} `type:"structure"` 22295 22296 // Returns the name of the blueprint that was registered. 22297 Name *string `min:"1" type:"string"` 22298 } 22299 22300 // String returns the string representation. 22301 // 22302 // API parameter values that are decorated as "sensitive" in the API will not 22303 // be included in the string output. The member name will be present, but the 22304 // value will be replaced with "sensitive". 22305 func (s CreateBlueprintOutput) String() string { 22306 return awsutil.Prettify(s) 22307 } 22308 22309 // GoString returns the string representation. 22310 // 22311 // API parameter values that are decorated as "sensitive" in the API will not 22312 // be included in the string output. The member name will be present, but the 22313 // value will be replaced with "sensitive". 22314 func (s CreateBlueprintOutput) GoString() string { 22315 return s.String() 22316 } 22317 22318 // SetName sets the Name field's value. 22319 func (s *CreateBlueprintOutput) SetName(v string) *CreateBlueprintOutput { 22320 s.Name = &v 22321 return s 22322 } 22323 22324 type CreateClassifierInput struct { 22325 _ struct{} `type:"structure"` 22326 22327 // A CsvClassifier object specifying the classifier to create. 22328 CsvClassifier *CreateCsvClassifierRequest `type:"structure"` 22329 22330 // A GrokClassifier object specifying the classifier to create. 22331 GrokClassifier *CreateGrokClassifierRequest `type:"structure"` 22332 22333 // A JsonClassifier object specifying the classifier to create. 22334 JsonClassifier *CreateJsonClassifierRequest `type:"structure"` 22335 22336 // An XMLClassifier object specifying the classifier to create. 22337 XMLClassifier *CreateXMLClassifierRequest `type:"structure"` 22338 } 22339 22340 // String returns the string representation. 22341 // 22342 // API parameter values that are decorated as "sensitive" in the API will not 22343 // be included in the string output. The member name will be present, but the 22344 // value will be replaced with "sensitive". 22345 func (s CreateClassifierInput) String() string { 22346 return awsutil.Prettify(s) 22347 } 22348 22349 // GoString returns the string representation. 22350 // 22351 // API parameter values that are decorated as "sensitive" in the API will not 22352 // be included in the string output. The member name will be present, but the 22353 // value will be replaced with "sensitive". 22354 func (s CreateClassifierInput) GoString() string { 22355 return s.String() 22356 } 22357 22358 // Validate inspects the fields of the type to determine if they are valid. 22359 func (s *CreateClassifierInput) Validate() error { 22360 invalidParams := request.ErrInvalidParams{Context: "CreateClassifierInput"} 22361 if s.CsvClassifier != nil { 22362 if err := s.CsvClassifier.Validate(); err != nil { 22363 invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams)) 22364 } 22365 } 22366 if s.GrokClassifier != nil { 22367 if err := s.GrokClassifier.Validate(); err != nil { 22368 invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams)) 22369 } 22370 } 22371 if s.JsonClassifier != nil { 22372 if err := s.JsonClassifier.Validate(); err != nil { 22373 invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams)) 22374 } 22375 } 22376 if s.XMLClassifier != nil { 22377 if err := s.XMLClassifier.Validate(); err != nil { 22378 invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams)) 22379 } 22380 } 22381 22382 if invalidParams.Len() > 0 { 22383 return invalidParams 22384 } 22385 return nil 22386 } 22387 22388 // SetCsvClassifier sets the CsvClassifier field's value. 22389 func (s *CreateClassifierInput) SetCsvClassifier(v *CreateCsvClassifierRequest) *CreateClassifierInput { 22390 s.CsvClassifier = v 22391 return s 22392 } 22393 22394 // SetGrokClassifier sets the GrokClassifier field's value. 22395 func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput { 22396 s.GrokClassifier = v 22397 return s 22398 } 22399 22400 // SetJsonClassifier sets the JsonClassifier field's value. 22401 func (s *CreateClassifierInput) SetJsonClassifier(v *CreateJsonClassifierRequest) *CreateClassifierInput { 22402 s.JsonClassifier = v 22403 return s 22404 } 22405 22406 // SetXMLClassifier sets the XMLClassifier field's value. 22407 func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput { 22408 s.XMLClassifier = v 22409 return s 22410 } 22411 22412 type CreateClassifierOutput struct { 22413 _ struct{} `type:"structure"` 22414 } 22415 22416 // String returns the string representation. 22417 // 22418 // API parameter values that are decorated as "sensitive" in the API will not 22419 // be included in the string output. The member name will be present, but the 22420 // value will be replaced with "sensitive". 22421 func (s CreateClassifierOutput) String() string { 22422 return awsutil.Prettify(s) 22423 } 22424 22425 // GoString returns the string representation. 22426 // 22427 // API parameter values that are decorated as "sensitive" in the API will not 22428 // be included in the string output. The member name will be present, but the 22429 // value will be replaced with "sensitive". 22430 func (s CreateClassifierOutput) GoString() string { 22431 return s.String() 22432 } 22433 22434 type CreateConnectionInput struct { 22435 _ struct{} `type:"structure"` 22436 22437 // The ID of the Data Catalog in which to create the connection. If none is 22438 // provided, the Amazon Web Services account ID is used by default. 22439 CatalogId *string `min:"1" type:"string"` 22440 22441 // A ConnectionInput object defining the connection to create. 22442 // 22443 // ConnectionInput is a required field 22444 ConnectionInput *ConnectionInput `type:"structure" required:"true"` 22445 22446 // The tags you assign to the connection. 22447 Tags map[string]*string `type:"map"` 22448 } 22449 22450 // String returns the string representation. 22451 // 22452 // API parameter values that are decorated as "sensitive" in the API will not 22453 // be included in the string output. The member name will be present, but the 22454 // value will be replaced with "sensitive". 22455 func (s CreateConnectionInput) String() string { 22456 return awsutil.Prettify(s) 22457 } 22458 22459 // GoString returns the string representation. 22460 // 22461 // API parameter values that are decorated as "sensitive" in the API will not 22462 // be included in the string output. The member name will be present, but the 22463 // value will be replaced with "sensitive". 22464 func (s CreateConnectionInput) GoString() string { 22465 return s.String() 22466 } 22467 22468 // Validate inspects the fields of the type to determine if they are valid. 22469 func (s *CreateConnectionInput) Validate() error { 22470 invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"} 22471 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 22472 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 22473 } 22474 if s.ConnectionInput == nil { 22475 invalidParams.Add(request.NewErrParamRequired("ConnectionInput")) 22476 } 22477 if s.ConnectionInput != nil { 22478 if err := s.ConnectionInput.Validate(); err != nil { 22479 invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams)) 22480 } 22481 } 22482 22483 if invalidParams.Len() > 0 { 22484 return invalidParams 22485 } 22486 return nil 22487 } 22488 22489 // SetCatalogId sets the CatalogId field's value. 22490 func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput { 22491 s.CatalogId = &v 22492 return s 22493 } 22494 22495 // SetConnectionInput sets the ConnectionInput field's value. 22496 func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput { 22497 s.ConnectionInput = v 22498 return s 22499 } 22500 22501 // SetTags sets the Tags field's value. 22502 func (s *CreateConnectionInput) SetTags(v map[string]*string) *CreateConnectionInput { 22503 s.Tags = v 22504 return s 22505 } 22506 22507 type CreateConnectionOutput struct { 22508 _ struct{} `type:"structure"` 22509 } 22510 22511 // String returns the string representation. 22512 // 22513 // API parameter values that are decorated as "sensitive" in the API will not 22514 // be included in the string output. The member name will be present, but the 22515 // value will be replaced with "sensitive". 22516 func (s CreateConnectionOutput) String() string { 22517 return awsutil.Prettify(s) 22518 } 22519 22520 // GoString returns the string representation. 22521 // 22522 // API parameter values that are decorated as "sensitive" in the API will not 22523 // be included in the string output. The member name will be present, but the 22524 // value will be replaced with "sensitive". 22525 func (s CreateConnectionOutput) GoString() string { 22526 return s.String() 22527 } 22528 22529 type CreateCrawlerInput struct { 22530 _ struct{} `type:"structure"` 22531 22532 // A list of custom classifiers that the user has registered. By default, all 22533 // built-in classifiers are included in a crawl, but these custom classifiers 22534 // always override the default classifiers for a given classification. 22535 Classifiers []*string `type:"list"` 22536 22537 // Crawler configuration information. This versioned JSON string allows users 22538 // to specify aspects of a crawler's behavior. For more information, see Configuring 22539 // a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html). 22540 Configuration *string `type:"string"` 22541 22542 // The name of the SecurityConfiguration structure to be used by this crawler. 22543 CrawlerSecurityConfiguration *string `type:"string"` 22544 22545 // The Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*. 22546 DatabaseName *string `type:"string"` 22547 22548 // A description of the new crawler. 22549 Description *string `type:"string"` 22550 22551 // Specifies data lineage configuration settings for the crawler. 22552 LineageConfiguration *LineageConfiguration `type:"structure"` 22553 22554 // Name of the new crawler. 22555 // 22556 // Name is a required field 22557 Name *string `min:"1" type:"string" required:"true"` 22558 22559 // A policy that specifies whether to crawl the entire dataset again, or to 22560 // crawl only folders that were added since the last crawler run. 22561 RecrawlPolicy *RecrawlPolicy `type:"structure"` 22562 22563 // The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new 22564 // crawler to access customer resources. 22565 // 22566 // Role is a required field 22567 Role *string `type:"string" required:"true"` 22568 22569 // A cron expression used to specify the schedule (see Time-Based Schedules 22570 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 22571 // For example, to run something every day at 12:15 UTC, you would specify: 22572 // cron(15 12 * * ? *). 22573 Schedule *string `type:"string"` 22574 22575 // The policy for the crawler's update and deletion behavior. 22576 SchemaChangePolicy *SchemaChangePolicy `type:"structure"` 22577 22578 // The table prefix used for catalog tables that are created. 22579 TablePrefix *string `type:"string"` 22580 22581 // The tags to use with this crawler request. You may use tags to limit access 22582 // to the crawler. For more information about tags in Glue, see Amazon Web Services 22583 // Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) 22584 // in the developer guide. 22585 Tags map[string]*string `type:"map"` 22586 22587 // A list of collection of targets to crawl. 22588 // 22589 // Targets is a required field 22590 Targets *CrawlerTargets `type:"structure" required:"true"` 22591 } 22592 22593 // String returns the string representation. 22594 // 22595 // API parameter values that are decorated as "sensitive" in the API will not 22596 // be included in the string output. The member name will be present, but the 22597 // value will be replaced with "sensitive". 22598 func (s CreateCrawlerInput) String() string { 22599 return awsutil.Prettify(s) 22600 } 22601 22602 // GoString returns the string representation. 22603 // 22604 // API parameter values that are decorated as "sensitive" in the API will not 22605 // be included in the string output. The member name will be present, but the 22606 // value will be replaced with "sensitive". 22607 func (s CreateCrawlerInput) GoString() string { 22608 return s.String() 22609 } 22610 22611 // Validate inspects the fields of the type to determine if they are valid. 22612 func (s *CreateCrawlerInput) Validate() error { 22613 invalidParams := request.ErrInvalidParams{Context: "CreateCrawlerInput"} 22614 if s.Name == nil { 22615 invalidParams.Add(request.NewErrParamRequired("Name")) 22616 } 22617 if s.Name != nil && len(*s.Name) < 1 { 22618 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 22619 } 22620 if s.Role == nil { 22621 invalidParams.Add(request.NewErrParamRequired("Role")) 22622 } 22623 if s.Targets == nil { 22624 invalidParams.Add(request.NewErrParamRequired("Targets")) 22625 } 22626 if s.Targets != nil { 22627 if err := s.Targets.Validate(); err != nil { 22628 invalidParams.AddNested("Targets", err.(request.ErrInvalidParams)) 22629 } 22630 } 22631 22632 if invalidParams.Len() > 0 { 22633 return invalidParams 22634 } 22635 return nil 22636 } 22637 22638 // SetClassifiers sets the Classifiers field's value. 22639 func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput { 22640 s.Classifiers = v 22641 return s 22642 } 22643 22644 // SetConfiguration sets the Configuration field's value. 22645 func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput { 22646 s.Configuration = &v 22647 return s 22648 } 22649 22650 // SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value. 22651 func (s *CreateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *CreateCrawlerInput { 22652 s.CrawlerSecurityConfiguration = &v 22653 return s 22654 } 22655 22656 // SetDatabaseName sets the DatabaseName field's value. 22657 func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput { 22658 s.DatabaseName = &v 22659 return s 22660 } 22661 22662 // SetDescription sets the Description field's value. 22663 func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput { 22664 s.Description = &v 22665 return s 22666 } 22667 22668 // SetLineageConfiguration sets the LineageConfiguration field's value. 22669 func (s *CreateCrawlerInput) SetLineageConfiguration(v *LineageConfiguration) *CreateCrawlerInput { 22670 s.LineageConfiguration = v 22671 return s 22672 } 22673 22674 // SetName sets the Name field's value. 22675 func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput { 22676 s.Name = &v 22677 return s 22678 } 22679 22680 // SetRecrawlPolicy sets the RecrawlPolicy field's value. 22681 func (s *CreateCrawlerInput) SetRecrawlPolicy(v *RecrawlPolicy) *CreateCrawlerInput { 22682 s.RecrawlPolicy = v 22683 return s 22684 } 22685 22686 // SetRole sets the Role field's value. 22687 func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput { 22688 s.Role = &v 22689 return s 22690 } 22691 22692 // SetSchedule sets the Schedule field's value. 22693 func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput { 22694 s.Schedule = &v 22695 return s 22696 } 22697 22698 // SetSchemaChangePolicy sets the SchemaChangePolicy field's value. 22699 func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput { 22700 s.SchemaChangePolicy = v 22701 return s 22702 } 22703 22704 // SetTablePrefix sets the TablePrefix field's value. 22705 func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput { 22706 s.TablePrefix = &v 22707 return s 22708 } 22709 22710 // SetTags sets the Tags field's value. 22711 func (s *CreateCrawlerInput) SetTags(v map[string]*string) *CreateCrawlerInput { 22712 s.Tags = v 22713 return s 22714 } 22715 22716 // SetTargets sets the Targets field's value. 22717 func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput { 22718 s.Targets = v 22719 return s 22720 } 22721 22722 type CreateCrawlerOutput struct { 22723 _ struct{} `type:"structure"` 22724 } 22725 22726 // String returns the string representation. 22727 // 22728 // API parameter values that are decorated as "sensitive" in the API will not 22729 // be included in the string output. The member name will be present, but the 22730 // value will be replaced with "sensitive". 22731 func (s CreateCrawlerOutput) String() string { 22732 return awsutil.Prettify(s) 22733 } 22734 22735 // GoString returns the string representation. 22736 // 22737 // API parameter values that are decorated as "sensitive" in the API will not 22738 // be included in the string output. The member name will be present, but the 22739 // value will be replaced with "sensitive". 22740 func (s CreateCrawlerOutput) GoString() string { 22741 return s.String() 22742 } 22743 22744 // Specifies a custom CSV classifier for CreateClassifier to create. 22745 type CreateCsvClassifierRequest struct { 22746 _ struct{} `type:"structure"` 22747 22748 // Enables the processing of files that contain only one column. 22749 AllowSingleColumn *bool `type:"boolean"` 22750 22751 // Indicates whether the CSV file contains a header. 22752 ContainsHeader *string `type:"string" enum:"CsvHeaderOption"` 22753 22754 // A custom symbol to denote what separates each column entry in the row. 22755 Delimiter *string `min:"1" type:"string"` 22756 22757 // Specifies not to trim values before identifying the type of column values. 22758 // The default value is true. 22759 DisableValueTrimming *bool `type:"boolean"` 22760 22761 // A list of strings representing column names. 22762 Header []*string `type:"list"` 22763 22764 // The name of the classifier. 22765 // 22766 // Name is a required field 22767 Name *string `min:"1" type:"string" required:"true"` 22768 22769 // A custom symbol to denote what combines content into a single column value. 22770 // Must be different from the column delimiter. 22771 QuoteSymbol *string `min:"1" type:"string"` 22772 } 22773 22774 // String returns the string representation. 22775 // 22776 // API parameter values that are decorated as "sensitive" in the API will not 22777 // be included in the string output. The member name will be present, but the 22778 // value will be replaced with "sensitive". 22779 func (s CreateCsvClassifierRequest) String() string { 22780 return awsutil.Prettify(s) 22781 } 22782 22783 // GoString returns the string representation. 22784 // 22785 // API parameter values that are decorated as "sensitive" in the API will not 22786 // be included in the string output. The member name will be present, but the 22787 // value will be replaced with "sensitive". 22788 func (s CreateCsvClassifierRequest) GoString() string { 22789 return s.String() 22790 } 22791 22792 // Validate inspects the fields of the type to determine if they are valid. 22793 func (s *CreateCsvClassifierRequest) Validate() error { 22794 invalidParams := request.ErrInvalidParams{Context: "CreateCsvClassifierRequest"} 22795 if s.Delimiter != nil && len(*s.Delimiter) < 1 { 22796 invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) 22797 } 22798 if s.Name == nil { 22799 invalidParams.Add(request.NewErrParamRequired("Name")) 22800 } 22801 if s.Name != nil && len(*s.Name) < 1 { 22802 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 22803 } 22804 if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 { 22805 invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1)) 22806 } 22807 22808 if invalidParams.Len() > 0 { 22809 return invalidParams 22810 } 22811 return nil 22812 } 22813 22814 // SetAllowSingleColumn sets the AllowSingleColumn field's value. 22815 func (s *CreateCsvClassifierRequest) SetAllowSingleColumn(v bool) *CreateCsvClassifierRequest { 22816 s.AllowSingleColumn = &v 22817 return s 22818 } 22819 22820 // SetContainsHeader sets the ContainsHeader field's value. 22821 func (s *CreateCsvClassifierRequest) SetContainsHeader(v string) *CreateCsvClassifierRequest { 22822 s.ContainsHeader = &v 22823 return s 22824 } 22825 22826 // SetDelimiter sets the Delimiter field's value. 22827 func (s *CreateCsvClassifierRequest) SetDelimiter(v string) *CreateCsvClassifierRequest { 22828 s.Delimiter = &v 22829 return s 22830 } 22831 22832 // SetDisableValueTrimming sets the DisableValueTrimming field's value. 22833 func (s *CreateCsvClassifierRequest) SetDisableValueTrimming(v bool) *CreateCsvClassifierRequest { 22834 s.DisableValueTrimming = &v 22835 return s 22836 } 22837 22838 // SetHeader sets the Header field's value. 22839 func (s *CreateCsvClassifierRequest) SetHeader(v []*string) *CreateCsvClassifierRequest { 22840 s.Header = v 22841 return s 22842 } 22843 22844 // SetName sets the Name field's value. 22845 func (s *CreateCsvClassifierRequest) SetName(v string) *CreateCsvClassifierRequest { 22846 s.Name = &v 22847 return s 22848 } 22849 22850 // SetQuoteSymbol sets the QuoteSymbol field's value. 22851 func (s *CreateCsvClassifierRequest) SetQuoteSymbol(v string) *CreateCsvClassifierRequest { 22852 s.QuoteSymbol = &v 22853 return s 22854 } 22855 22856 type CreateDatabaseInput struct { 22857 _ struct{} `type:"structure"` 22858 22859 // The ID of the Data Catalog in which to create the database. If none is provided, 22860 // the Amazon Web Services account ID is used by default. 22861 CatalogId *string `min:"1" type:"string"` 22862 22863 // The metadata for the database. 22864 // 22865 // DatabaseInput is a required field 22866 DatabaseInput *DatabaseInput `type:"structure" required:"true"` 22867 } 22868 22869 // String returns the string representation. 22870 // 22871 // API parameter values that are decorated as "sensitive" in the API will not 22872 // be included in the string output. The member name will be present, but the 22873 // value will be replaced with "sensitive". 22874 func (s CreateDatabaseInput) String() string { 22875 return awsutil.Prettify(s) 22876 } 22877 22878 // GoString returns the string representation. 22879 // 22880 // API parameter values that are decorated as "sensitive" in the API will not 22881 // be included in the string output. The member name will be present, but the 22882 // value will be replaced with "sensitive". 22883 func (s CreateDatabaseInput) GoString() string { 22884 return s.String() 22885 } 22886 22887 // Validate inspects the fields of the type to determine if they are valid. 22888 func (s *CreateDatabaseInput) Validate() error { 22889 invalidParams := request.ErrInvalidParams{Context: "CreateDatabaseInput"} 22890 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 22891 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 22892 } 22893 if s.DatabaseInput == nil { 22894 invalidParams.Add(request.NewErrParamRequired("DatabaseInput")) 22895 } 22896 if s.DatabaseInput != nil { 22897 if err := s.DatabaseInput.Validate(); err != nil { 22898 invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams)) 22899 } 22900 } 22901 22902 if invalidParams.Len() > 0 { 22903 return invalidParams 22904 } 22905 return nil 22906 } 22907 22908 // SetCatalogId sets the CatalogId field's value. 22909 func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput { 22910 s.CatalogId = &v 22911 return s 22912 } 22913 22914 // SetDatabaseInput sets the DatabaseInput field's value. 22915 func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput { 22916 s.DatabaseInput = v 22917 return s 22918 } 22919 22920 type CreateDatabaseOutput struct { 22921 _ struct{} `type:"structure"` 22922 } 22923 22924 // String returns the string representation. 22925 // 22926 // API parameter values that are decorated as "sensitive" in the API will not 22927 // be included in the string output. The member name will be present, but the 22928 // value will be replaced with "sensitive". 22929 func (s CreateDatabaseOutput) String() string { 22930 return awsutil.Prettify(s) 22931 } 22932 22933 // GoString returns the string representation. 22934 // 22935 // API parameter values that are decorated as "sensitive" in the API will not 22936 // be included in the string output. The member name will be present, but the 22937 // value will be replaced with "sensitive". 22938 func (s CreateDatabaseOutput) GoString() string { 22939 return s.String() 22940 } 22941 22942 type CreateDevEndpointInput struct { 22943 _ struct{} `type:"structure"` 22944 22945 // A map of arguments used to configure the DevEndpoint. 22946 Arguments map[string]*string `type:"map"` 22947 22948 // The name to be assigned to the new DevEndpoint. 22949 // 22950 // EndpointName is a required field 22951 EndpointName *string `type:"string" required:"true"` 22952 22953 // The path to one or more Java .jar files in an S3 bucket that should be loaded 22954 // in your DevEndpoint. 22955 ExtraJarsS3Path *string `type:"string"` 22956 22957 // The paths to one or more Python libraries in an Amazon S3 bucket that should 22958 // be loaded in your DevEndpoint. Multiple values must be complete paths separated 22959 // by a comma. 22960 // 22961 // You can only use pure Python libraries with a DevEndpoint. Libraries that 22962 // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python 22963 // data analysis library, are not yet supported. 22964 ExtraPythonLibsS3Path *string `type:"string"` 22965 22966 // Glue version determines the versions of Apache Spark and Python that Glue 22967 // supports. The Python version indicates the version supported for running 22968 // your ETL scripts on development endpoints. 22969 // 22970 // For more information about the available Glue versions and corresponding 22971 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 22972 // in the developer guide. 22973 // 22974 // Development endpoints that are created without specifying a Glue version 22975 // default to Glue 0.9. 22976 // 22977 // You can specify a version of Python support for development endpoints by 22978 // using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint 22979 // APIs. If no arguments are provided, the version defaults to Python 2. 22980 GlueVersion *string `min:"1" type:"string"` 22981 22982 // The number of Glue Data Processing Units (DPUs) to allocate to this DevEndpoint. 22983 NumberOfNodes *int64 `type:"integer"` 22984 22985 // The number of workers of a defined workerType that are allocated to the development 22986 // endpoint. 22987 // 22988 // The maximum number of workers you can define are 299 for G.1X, and 149 for 22989 // G.2X. 22990 NumberOfWorkers *int64 `type:"integer"` 22991 22992 // The public key to be used by this DevEndpoint for authentication. This attribute 22993 // is provided for backward compatibility because the recommended attribute 22994 // to use is public keys. 22995 PublicKey *string `type:"string"` 22996 22997 // A list of public keys to be used by the development endpoints for authentication. 22998 // The use of this attribute is preferred over a single public key because the 22999 // public keys allow you to have a different private key per client. 23000 // 23001 // If you previously created an endpoint with a public key, you must remove 23002 // that key to be able to set a list of public keys. Call the UpdateDevEndpoint 23003 // API with the public key content in the deletePublicKeys attribute, and the 23004 // list of new keys in the addPublicKeys attribute. 23005 PublicKeys []*string `type:"list"` 23006 23007 // The IAM role for the DevEndpoint. 23008 // 23009 // RoleArn is a required field 23010 RoleArn *string `type:"string" required:"true"` 23011 23012 // The name of the SecurityConfiguration structure to be used with this DevEndpoint. 23013 SecurityConfiguration *string `min:"1" type:"string"` 23014 23015 // Security group IDs for the security groups to be used by the new DevEndpoint. 23016 SecurityGroupIds []*string `type:"list"` 23017 23018 // The subnet ID for the new DevEndpoint to use. 23019 SubnetId *string `type:"string"` 23020 23021 // The tags to use with this DevEndpoint. You may use tags to limit access to 23022 // the DevEndpoint. For more information about tags in Glue, see Amazon Web 23023 // Services Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) 23024 // in the developer guide. 23025 Tags map[string]*string `type:"map"` 23026 23027 // The type of predefined worker that is allocated to the development endpoint. 23028 // Accepts a value of Standard, G.1X, or G.2X. 23029 // 23030 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 23031 // memory and a 50GB disk, and 2 executors per worker. 23032 // 23033 // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of 23034 // memory, 64 GB disk), and provides 1 executor per worker. We recommend 23035 // this worker type for memory-intensive jobs. 23036 // 23037 // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of 23038 // memory, 128 GB disk), and provides 1 executor per worker. We recommend 23039 // this worker type for memory-intensive jobs. 23040 // 23041 // Known issue: when a development endpoint is created with the G.2X WorkerType 23042 // configuration, the Spark drivers for the development endpoint will run on 23043 // 4 vCPU, 16 GB of memory, and a 64 GB disk. 23044 WorkerType *string `type:"string" enum:"WorkerType"` 23045 } 23046 23047 // String returns the string representation. 23048 // 23049 // API parameter values that are decorated as "sensitive" in the API will not 23050 // be included in the string output. The member name will be present, but the 23051 // value will be replaced with "sensitive". 23052 func (s CreateDevEndpointInput) String() string { 23053 return awsutil.Prettify(s) 23054 } 23055 23056 // GoString returns the string representation. 23057 // 23058 // API parameter values that are decorated as "sensitive" in the API will not 23059 // be included in the string output. The member name will be present, but the 23060 // value will be replaced with "sensitive". 23061 func (s CreateDevEndpointInput) GoString() string { 23062 return s.String() 23063 } 23064 23065 // Validate inspects the fields of the type to determine if they are valid. 23066 func (s *CreateDevEndpointInput) Validate() error { 23067 invalidParams := request.ErrInvalidParams{Context: "CreateDevEndpointInput"} 23068 if s.EndpointName == nil { 23069 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 23070 } 23071 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 23072 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 23073 } 23074 if s.RoleArn == nil { 23075 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 23076 } 23077 if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { 23078 invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) 23079 } 23080 23081 if invalidParams.Len() > 0 { 23082 return invalidParams 23083 } 23084 return nil 23085 } 23086 23087 // SetArguments sets the Arguments field's value. 23088 func (s *CreateDevEndpointInput) SetArguments(v map[string]*string) *CreateDevEndpointInput { 23089 s.Arguments = v 23090 return s 23091 } 23092 23093 // SetEndpointName sets the EndpointName field's value. 23094 func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput { 23095 s.EndpointName = &v 23096 return s 23097 } 23098 23099 // SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. 23100 func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput { 23101 s.ExtraJarsS3Path = &v 23102 return s 23103 } 23104 23105 // SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. 23106 func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput { 23107 s.ExtraPythonLibsS3Path = &v 23108 return s 23109 } 23110 23111 // SetGlueVersion sets the GlueVersion field's value. 23112 func (s *CreateDevEndpointInput) SetGlueVersion(v string) *CreateDevEndpointInput { 23113 s.GlueVersion = &v 23114 return s 23115 } 23116 23117 // SetNumberOfNodes sets the NumberOfNodes field's value. 23118 func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput { 23119 s.NumberOfNodes = &v 23120 return s 23121 } 23122 23123 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 23124 func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput { 23125 s.NumberOfWorkers = &v 23126 return s 23127 } 23128 23129 // SetPublicKey sets the PublicKey field's value. 23130 func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput { 23131 s.PublicKey = &v 23132 return s 23133 } 23134 23135 // SetPublicKeys sets the PublicKeys field's value. 23136 func (s *CreateDevEndpointInput) SetPublicKeys(v []*string) *CreateDevEndpointInput { 23137 s.PublicKeys = v 23138 return s 23139 } 23140 23141 // SetRoleArn sets the RoleArn field's value. 23142 func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput { 23143 s.RoleArn = &v 23144 return s 23145 } 23146 23147 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 23148 func (s *CreateDevEndpointInput) SetSecurityConfiguration(v string) *CreateDevEndpointInput { 23149 s.SecurityConfiguration = &v 23150 return s 23151 } 23152 23153 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 23154 func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []*string) *CreateDevEndpointInput { 23155 s.SecurityGroupIds = v 23156 return s 23157 } 23158 23159 // SetSubnetId sets the SubnetId field's value. 23160 func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput { 23161 s.SubnetId = &v 23162 return s 23163 } 23164 23165 // SetTags sets the Tags field's value. 23166 func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpointInput { 23167 s.Tags = v 23168 return s 23169 } 23170 23171 // SetWorkerType sets the WorkerType field's value. 23172 func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput { 23173 s.WorkerType = &v 23174 return s 23175 } 23176 23177 type CreateDevEndpointOutput struct { 23178 _ struct{} `type:"structure"` 23179 23180 // The map of arguments used to configure this DevEndpoint. 23181 // 23182 // Valid arguments are: 23183 // 23184 // * "--enable-glue-datacatalog": "" 23185 // 23186 // You can specify a version of Python support for development endpoints by 23187 // using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint 23188 // APIs. If no arguments are provided, the version defaults to Python 2. 23189 Arguments map[string]*string `type:"map"` 23190 23191 // The AWS Availability Zone where this DevEndpoint is located. 23192 AvailabilityZone *string `type:"string"` 23193 23194 // The point in time at which this DevEndpoint was created. 23195 CreatedTimestamp *time.Time `type:"timestamp"` 23196 23197 // The name assigned to the new DevEndpoint. 23198 EndpointName *string `type:"string"` 23199 23200 // Path to one or more Java .jar files in an S3 bucket that will be loaded in 23201 // your DevEndpoint. 23202 ExtraJarsS3Path *string `type:"string"` 23203 23204 // The paths to one or more Python libraries in an S3 bucket that will be loaded 23205 // in your DevEndpoint. 23206 ExtraPythonLibsS3Path *string `type:"string"` 23207 23208 // The reason for a current failure in this DevEndpoint. 23209 FailureReason *string `type:"string"` 23210 23211 // Glue version determines the versions of Apache Spark and Python that Glue 23212 // supports. The Python version indicates the version supported for running 23213 // your ETL scripts on development endpoints. 23214 // 23215 // For more information about the available Glue versions and corresponding 23216 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 23217 // in the developer guide. 23218 GlueVersion *string `min:"1" type:"string"` 23219 23220 // The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint. 23221 NumberOfNodes *int64 `type:"integer"` 23222 23223 // The number of workers of a defined workerType that are allocated to the development 23224 // endpoint. 23225 NumberOfWorkers *int64 `type:"integer"` 23226 23227 // The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint. 23228 RoleArn *string `type:"string"` 23229 23230 // The name of the SecurityConfiguration structure being used with this DevEndpoint. 23231 SecurityConfiguration *string `min:"1" type:"string"` 23232 23233 // The security groups assigned to the new DevEndpoint. 23234 SecurityGroupIds []*string `type:"list"` 23235 23236 // The current status of the new DevEndpoint. 23237 Status *string `type:"string"` 23238 23239 // The subnet ID assigned to the new DevEndpoint. 23240 SubnetId *string `type:"string"` 23241 23242 // The ID of the virtual private cloud (VPC) used by this DevEndpoint. 23243 VpcId *string `type:"string"` 23244 23245 // The type of predefined worker that is allocated to the development endpoint. 23246 // May be a value of Standard, G.1X, or G.2X. 23247 WorkerType *string `type:"string" enum:"WorkerType"` 23248 23249 // The address of the YARN endpoint used by this DevEndpoint. 23250 YarnEndpointAddress *string `type:"string"` 23251 23252 // The Apache Zeppelin port for the remote Apache Spark interpreter. 23253 ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"` 23254 } 23255 23256 // String returns the string representation. 23257 // 23258 // API parameter values that are decorated as "sensitive" in the API will not 23259 // be included in the string output. The member name will be present, but the 23260 // value will be replaced with "sensitive". 23261 func (s CreateDevEndpointOutput) String() string { 23262 return awsutil.Prettify(s) 23263 } 23264 23265 // GoString returns the string representation. 23266 // 23267 // API parameter values that are decorated as "sensitive" in the API will not 23268 // be included in the string output. The member name will be present, but the 23269 // value will be replaced with "sensitive". 23270 func (s CreateDevEndpointOutput) GoString() string { 23271 return s.String() 23272 } 23273 23274 // SetArguments sets the Arguments field's value. 23275 func (s *CreateDevEndpointOutput) SetArguments(v map[string]*string) *CreateDevEndpointOutput { 23276 s.Arguments = v 23277 return s 23278 } 23279 23280 // SetAvailabilityZone sets the AvailabilityZone field's value. 23281 func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput { 23282 s.AvailabilityZone = &v 23283 return s 23284 } 23285 23286 // SetCreatedTimestamp sets the CreatedTimestamp field's value. 23287 func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput { 23288 s.CreatedTimestamp = &v 23289 return s 23290 } 23291 23292 // SetEndpointName sets the EndpointName field's value. 23293 func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput { 23294 s.EndpointName = &v 23295 return s 23296 } 23297 23298 // SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. 23299 func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput { 23300 s.ExtraJarsS3Path = &v 23301 return s 23302 } 23303 23304 // SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. 23305 func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput { 23306 s.ExtraPythonLibsS3Path = &v 23307 return s 23308 } 23309 23310 // SetFailureReason sets the FailureReason field's value. 23311 func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput { 23312 s.FailureReason = &v 23313 return s 23314 } 23315 23316 // SetGlueVersion sets the GlueVersion field's value. 23317 func (s *CreateDevEndpointOutput) SetGlueVersion(v string) *CreateDevEndpointOutput { 23318 s.GlueVersion = &v 23319 return s 23320 } 23321 23322 // SetNumberOfNodes sets the NumberOfNodes field's value. 23323 func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput { 23324 s.NumberOfNodes = &v 23325 return s 23326 } 23327 23328 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 23329 func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput { 23330 s.NumberOfWorkers = &v 23331 return s 23332 } 23333 23334 // SetRoleArn sets the RoleArn field's value. 23335 func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput { 23336 s.RoleArn = &v 23337 return s 23338 } 23339 23340 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 23341 func (s *CreateDevEndpointOutput) SetSecurityConfiguration(v string) *CreateDevEndpointOutput { 23342 s.SecurityConfiguration = &v 23343 return s 23344 } 23345 23346 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 23347 func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []*string) *CreateDevEndpointOutput { 23348 s.SecurityGroupIds = v 23349 return s 23350 } 23351 23352 // SetStatus sets the Status field's value. 23353 func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput { 23354 s.Status = &v 23355 return s 23356 } 23357 23358 // SetSubnetId sets the SubnetId field's value. 23359 func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput { 23360 s.SubnetId = &v 23361 return s 23362 } 23363 23364 // SetVpcId sets the VpcId field's value. 23365 func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput { 23366 s.VpcId = &v 23367 return s 23368 } 23369 23370 // SetWorkerType sets the WorkerType field's value. 23371 func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput { 23372 s.WorkerType = &v 23373 return s 23374 } 23375 23376 // SetYarnEndpointAddress sets the YarnEndpointAddress field's value. 23377 func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput { 23378 s.YarnEndpointAddress = &v 23379 return s 23380 } 23381 23382 // SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value. 23383 func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput { 23384 s.ZeppelinRemoteSparkInterpreterPort = &v 23385 return s 23386 } 23387 23388 // Specifies a grok classifier for CreateClassifier to create. 23389 type CreateGrokClassifierRequest struct { 23390 _ struct{} `type:"structure"` 23391 23392 // An identifier of the data format that the classifier matches, such as Twitter, 23393 // JSON, Omniture logs, Amazon CloudWatch Logs, and so on. 23394 // 23395 // Classification is a required field 23396 Classification *string `type:"string" required:"true"` 23397 23398 // Optional custom grok patterns used by this classifier. 23399 CustomPatterns *string `type:"string"` 23400 23401 // The grok pattern used by this classifier. 23402 // 23403 // GrokPattern is a required field 23404 GrokPattern *string `min:"1" type:"string" required:"true"` 23405 23406 // The name of the new classifier. 23407 // 23408 // Name is a required field 23409 Name *string `min:"1" type:"string" required:"true"` 23410 } 23411 23412 // String returns the string representation. 23413 // 23414 // API parameter values that are decorated as "sensitive" in the API will not 23415 // be included in the string output. The member name will be present, but the 23416 // value will be replaced with "sensitive". 23417 func (s CreateGrokClassifierRequest) String() string { 23418 return awsutil.Prettify(s) 23419 } 23420 23421 // GoString returns the string representation. 23422 // 23423 // API parameter values that are decorated as "sensitive" in the API will not 23424 // be included in the string output. The member name will be present, but the 23425 // value will be replaced with "sensitive". 23426 func (s CreateGrokClassifierRequest) GoString() string { 23427 return s.String() 23428 } 23429 23430 // Validate inspects the fields of the type to determine if they are valid. 23431 func (s *CreateGrokClassifierRequest) Validate() error { 23432 invalidParams := request.ErrInvalidParams{Context: "CreateGrokClassifierRequest"} 23433 if s.Classification == nil { 23434 invalidParams.Add(request.NewErrParamRequired("Classification")) 23435 } 23436 if s.GrokPattern == nil { 23437 invalidParams.Add(request.NewErrParamRequired("GrokPattern")) 23438 } 23439 if s.GrokPattern != nil && len(*s.GrokPattern) < 1 { 23440 invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1)) 23441 } 23442 if s.Name == nil { 23443 invalidParams.Add(request.NewErrParamRequired("Name")) 23444 } 23445 if s.Name != nil && len(*s.Name) < 1 { 23446 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 23447 } 23448 23449 if invalidParams.Len() > 0 { 23450 return invalidParams 23451 } 23452 return nil 23453 } 23454 23455 // SetClassification sets the Classification field's value. 23456 func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest { 23457 s.Classification = &v 23458 return s 23459 } 23460 23461 // SetCustomPatterns sets the CustomPatterns field's value. 23462 func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest { 23463 s.CustomPatterns = &v 23464 return s 23465 } 23466 23467 // SetGrokPattern sets the GrokPattern field's value. 23468 func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest { 23469 s.GrokPattern = &v 23470 return s 23471 } 23472 23473 // SetName sets the Name field's value. 23474 func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest { 23475 s.Name = &v 23476 return s 23477 } 23478 23479 type CreateJobInput struct { 23480 _ struct{} `type:"structure"` 23481 23482 // This parameter is deprecated. Use MaxCapacity instead. 23483 // 23484 // The number of Glue data processing units (DPUs) to allocate to this Job. 23485 // You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative 23486 // measure of processing power that consists of 4 vCPUs of compute capacity 23487 // and 16 GB of memory. For more information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 23488 // 23489 // Deprecated: This property is deprecated, use MaxCapacity instead. 23490 AllocatedCapacity *int64 `deprecated:"true" type:"integer"` 23491 23492 // The JobCommand that runs this job. 23493 // 23494 // Command is a required field 23495 Command *JobCommand `type:"structure" required:"true"` 23496 23497 // The connections used for this job. 23498 Connections *ConnectionsList `type:"structure"` 23499 23500 // The default arguments for this job. 23501 // 23502 // You can specify arguments here that your own job-execution script consumes, 23503 // as well as arguments that Glue itself consumes. 23504 // 23505 // For information about how to specify and consume your own Job arguments, 23506 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 23507 // topic in the developer guide. 23508 // 23509 // For information about the key-value pairs that Glue consumes to set up your 23510 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 23511 // topic in the developer guide. 23512 DefaultArguments map[string]*string `type:"map"` 23513 23514 // Description of the job being defined. 23515 Description *string `type:"string"` 23516 23517 // An ExecutionProperty specifying the maximum number of concurrent runs allowed 23518 // for this job. 23519 ExecutionProperty *ExecutionProperty `type:"structure"` 23520 23521 // Glue version determines the versions of Apache Spark and Python that Glue 23522 // supports. The Python version indicates the version supported for jobs of 23523 // type Spark. 23524 // 23525 // For more information about the available Glue versions and corresponding 23526 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 23527 // in the developer guide. 23528 // 23529 // Jobs that are created without specifying a Glue version default to Glue 0.9. 23530 GlueVersion *string `min:"1" type:"string"` 23531 23532 // This field is reserved for future use. 23533 LogUri *string `type:"string"` 23534 23535 // For Glue version 1.0 or earlier jobs, using the standard worker type, the 23536 // number of Glue data processing units (DPUs) that can be allocated when this 23537 // job runs. A DPU is a relative measure of processing power that consists of 23538 // 4 vCPUs of compute capacity and 16 GB of memory. For more information, see 23539 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 23540 // 23541 // Do not set Max Capacity if using WorkerType and NumberOfWorkers. 23542 // 23543 // The value that can be allocated for MaxCapacity depends on whether you are 23544 // running a Python shell job or an Apache Spark ETL job: 23545 // 23546 // * When you specify a Python shell job (JobCommand.Name="pythonshell"), 23547 // you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. 23548 // 23549 // * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl") 23550 // or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you 23551 // can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type 23552 // cannot have a fractional DPU allocation. 23553 // 23554 // For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity. 23555 // Instead, you should specify a Worker type and the Number of workers. 23556 MaxCapacity *float64 `type:"double"` 23557 23558 // The maximum number of times to retry this job if it fails. 23559 MaxRetries *int64 `type:"integer"` 23560 23561 // The name you assign to this job definition. It must be unique in your account. 23562 // 23563 // Name is a required field 23564 Name *string `min:"1" type:"string" required:"true"` 23565 23566 // Non-overridable arguments for this job, specified as name-value pairs. 23567 NonOverridableArguments map[string]*string `type:"map"` 23568 23569 // Specifies configuration properties of a job notification. 23570 NotificationProperty *NotificationProperty `type:"structure"` 23571 23572 // The number of workers of a defined workerType that are allocated when a job 23573 // runs. 23574 // 23575 // The maximum number of workers you can define are 299 for G.1X, and 149 for 23576 // G.2X. 23577 NumberOfWorkers *int64 `type:"integer"` 23578 23579 // The name or Amazon Resource Name (ARN) of the IAM role associated with this 23580 // job. 23581 // 23582 // Role is a required field 23583 Role *string `type:"string" required:"true"` 23584 23585 // The name of the SecurityConfiguration structure to be used with this job. 23586 SecurityConfiguration *string `min:"1" type:"string"` 23587 23588 // The tags to use with this job. You may use tags to limit access to the job. 23589 // For more information about tags in Glue, see Amazon Web Services Tags in 23590 // Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the 23591 // developer guide. 23592 Tags map[string]*string `type:"map"` 23593 23594 // The job timeout in minutes. This is the maximum time that a job run can consume 23595 // resources before it is terminated and enters TIMEOUT status. The default 23596 // is 2,880 minutes (48 hours). 23597 Timeout *int64 `min:"1" type:"integer"` 23598 23599 // The type of predefined worker that is allocated when a job runs. Accepts 23600 // a value of Standard, G.1X, or G.2X. 23601 // 23602 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 23603 // memory and a 50GB disk, and 2 executors per worker. 23604 // 23605 // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of 23606 // memory, 64 GB disk), and provides 1 executor per worker. We recommend 23607 // this worker type for memory-intensive jobs. 23608 // 23609 // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of 23610 // memory, 128 GB disk), and provides 1 executor per worker. We recommend 23611 // this worker type for memory-intensive jobs. 23612 WorkerType *string `type:"string" enum:"WorkerType"` 23613 } 23614 23615 // String returns the string representation. 23616 // 23617 // API parameter values that are decorated as "sensitive" in the API will not 23618 // be included in the string output. The member name will be present, but the 23619 // value will be replaced with "sensitive". 23620 func (s CreateJobInput) String() string { 23621 return awsutil.Prettify(s) 23622 } 23623 23624 // GoString returns the string representation. 23625 // 23626 // API parameter values that are decorated as "sensitive" in the API will not 23627 // be included in the string output. The member name will be present, but the 23628 // value will be replaced with "sensitive". 23629 func (s CreateJobInput) GoString() string { 23630 return s.String() 23631 } 23632 23633 // Validate inspects the fields of the type to determine if they are valid. 23634 func (s *CreateJobInput) Validate() error { 23635 invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"} 23636 if s.Command == nil { 23637 invalidParams.Add(request.NewErrParamRequired("Command")) 23638 } 23639 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 23640 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 23641 } 23642 if s.Name == nil { 23643 invalidParams.Add(request.NewErrParamRequired("Name")) 23644 } 23645 if s.Name != nil && len(*s.Name) < 1 { 23646 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 23647 } 23648 if s.Role == nil { 23649 invalidParams.Add(request.NewErrParamRequired("Role")) 23650 } 23651 if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { 23652 invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) 23653 } 23654 if s.Timeout != nil && *s.Timeout < 1 { 23655 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 23656 } 23657 if s.NotificationProperty != nil { 23658 if err := s.NotificationProperty.Validate(); err != nil { 23659 invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) 23660 } 23661 } 23662 23663 if invalidParams.Len() > 0 { 23664 return invalidParams 23665 } 23666 return nil 23667 } 23668 23669 // SetAllocatedCapacity sets the AllocatedCapacity field's value. 23670 func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput { 23671 s.AllocatedCapacity = &v 23672 return s 23673 } 23674 23675 // SetCommand sets the Command field's value. 23676 func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput { 23677 s.Command = v 23678 return s 23679 } 23680 23681 // SetConnections sets the Connections field's value. 23682 func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput { 23683 s.Connections = v 23684 return s 23685 } 23686 23687 // SetDefaultArguments sets the DefaultArguments field's value. 23688 func (s *CreateJobInput) SetDefaultArguments(v map[string]*string) *CreateJobInput { 23689 s.DefaultArguments = v 23690 return s 23691 } 23692 23693 // SetDescription sets the Description field's value. 23694 func (s *CreateJobInput) SetDescription(v string) *CreateJobInput { 23695 s.Description = &v 23696 return s 23697 } 23698 23699 // SetExecutionProperty sets the ExecutionProperty field's value. 23700 func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput { 23701 s.ExecutionProperty = v 23702 return s 23703 } 23704 23705 // SetGlueVersion sets the GlueVersion field's value. 23706 func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput { 23707 s.GlueVersion = &v 23708 return s 23709 } 23710 23711 // SetLogUri sets the LogUri field's value. 23712 func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput { 23713 s.LogUri = &v 23714 return s 23715 } 23716 23717 // SetMaxCapacity sets the MaxCapacity field's value. 23718 func (s *CreateJobInput) SetMaxCapacity(v float64) *CreateJobInput { 23719 s.MaxCapacity = &v 23720 return s 23721 } 23722 23723 // SetMaxRetries sets the MaxRetries field's value. 23724 func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput { 23725 s.MaxRetries = &v 23726 return s 23727 } 23728 23729 // SetName sets the Name field's value. 23730 func (s *CreateJobInput) SetName(v string) *CreateJobInput { 23731 s.Name = &v 23732 return s 23733 } 23734 23735 // SetNonOverridableArguments sets the NonOverridableArguments field's value. 23736 func (s *CreateJobInput) SetNonOverridableArguments(v map[string]*string) *CreateJobInput { 23737 s.NonOverridableArguments = v 23738 return s 23739 } 23740 23741 // SetNotificationProperty sets the NotificationProperty field's value. 23742 func (s *CreateJobInput) SetNotificationProperty(v *NotificationProperty) *CreateJobInput { 23743 s.NotificationProperty = v 23744 return s 23745 } 23746 23747 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 23748 func (s *CreateJobInput) SetNumberOfWorkers(v int64) *CreateJobInput { 23749 s.NumberOfWorkers = &v 23750 return s 23751 } 23752 23753 // SetRole sets the Role field's value. 23754 func (s *CreateJobInput) SetRole(v string) *CreateJobInput { 23755 s.Role = &v 23756 return s 23757 } 23758 23759 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 23760 func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput { 23761 s.SecurityConfiguration = &v 23762 return s 23763 } 23764 23765 // SetTags sets the Tags field's value. 23766 func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput { 23767 s.Tags = v 23768 return s 23769 } 23770 23771 // SetTimeout sets the Timeout field's value. 23772 func (s *CreateJobInput) SetTimeout(v int64) *CreateJobInput { 23773 s.Timeout = &v 23774 return s 23775 } 23776 23777 // SetWorkerType sets the WorkerType field's value. 23778 func (s *CreateJobInput) SetWorkerType(v string) *CreateJobInput { 23779 s.WorkerType = &v 23780 return s 23781 } 23782 23783 type CreateJobOutput struct { 23784 _ struct{} `type:"structure"` 23785 23786 // The unique name that was provided for this job definition. 23787 Name *string `min:"1" type:"string"` 23788 } 23789 23790 // String returns the string representation. 23791 // 23792 // API parameter values that are decorated as "sensitive" in the API will not 23793 // be included in the string output. The member name will be present, but the 23794 // value will be replaced with "sensitive". 23795 func (s CreateJobOutput) String() string { 23796 return awsutil.Prettify(s) 23797 } 23798 23799 // GoString returns the string representation. 23800 // 23801 // API parameter values that are decorated as "sensitive" in the API will not 23802 // be included in the string output. The member name will be present, but the 23803 // value will be replaced with "sensitive". 23804 func (s CreateJobOutput) GoString() string { 23805 return s.String() 23806 } 23807 23808 // SetName sets the Name field's value. 23809 func (s *CreateJobOutput) SetName(v string) *CreateJobOutput { 23810 s.Name = &v 23811 return s 23812 } 23813 23814 // Specifies a JSON classifier for CreateClassifier to create. 23815 type CreateJsonClassifierRequest struct { 23816 _ struct{} `type:"structure"` 23817 23818 // A JsonPath string defining the JSON data for the classifier to classify. 23819 // Glue supports a subset of JsonPath, as described in Writing JsonPath Custom 23820 // Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json). 23821 // 23822 // JsonPath is a required field 23823 JsonPath *string `type:"string" required:"true"` 23824 23825 // The name of the classifier. 23826 // 23827 // Name is a required field 23828 Name *string `min:"1" type:"string" required:"true"` 23829 } 23830 23831 // String returns the string representation. 23832 // 23833 // API parameter values that are decorated as "sensitive" in the API will not 23834 // be included in the string output. The member name will be present, but the 23835 // value will be replaced with "sensitive". 23836 func (s CreateJsonClassifierRequest) String() string { 23837 return awsutil.Prettify(s) 23838 } 23839 23840 // GoString returns the string representation. 23841 // 23842 // API parameter values that are decorated as "sensitive" in the API will not 23843 // be included in the string output. The member name will be present, but the 23844 // value will be replaced with "sensitive". 23845 func (s CreateJsonClassifierRequest) GoString() string { 23846 return s.String() 23847 } 23848 23849 // Validate inspects the fields of the type to determine if they are valid. 23850 func (s *CreateJsonClassifierRequest) Validate() error { 23851 invalidParams := request.ErrInvalidParams{Context: "CreateJsonClassifierRequest"} 23852 if s.JsonPath == nil { 23853 invalidParams.Add(request.NewErrParamRequired("JsonPath")) 23854 } 23855 if s.Name == nil { 23856 invalidParams.Add(request.NewErrParamRequired("Name")) 23857 } 23858 if s.Name != nil && len(*s.Name) < 1 { 23859 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 23860 } 23861 23862 if invalidParams.Len() > 0 { 23863 return invalidParams 23864 } 23865 return nil 23866 } 23867 23868 // SetJsonPath sets the JsonPath field's value. 23869 func (s *CreateJsonClassifierRequest) SetJsonPath(v string) *CreateJsonClassifierRequest { 23870 s.JsonPath = &v 23871 return s 23872 } 23873 23874 // SetName sets the Name field's value. 23875 func (s *CreateJsonClassifierRequest) SetName(v string) *CreateJsonClassifierRequest { 23876 s.Name = &v 23877 return s 23878 } 23879 23880 type CreateMLTransformInput struct { 23881 _ struct{} `type:"structure"` 23882 23883 // A description of the machine learning transform that is being defined. The 23884 // default is an empty string. 23885 Description *string `type:"string"` 23886 23887 // This value determines which version of Glue this machine learning transform 23888 // is compatible with. Glue 1.0 is recommended for most customers. If the value 23889 // is not set, the Glue compatibility defaults to Glue 0.9. For more information, 23890 // see Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions) 23891 // in the developer guide. 23892 GlueVersion *string `min:"1" type:"string"` 23893 23894 // A list of Glue table definitions used by the transform. 23895 // 23896 // InputRecordTables is a required field 23897 InputRecordTables []*Table `type:"list" required:"true"` 23898 23899 // The number of Glue data processing units (DPUs) that are allocated to task 23900 // runs for this transform. You can allocate from 2 to 100 DPUs; the default 23901 // is 10. A DPU is a relative measure of processing power that consists of 4 23902 // vCPUs of compute capacity and 16 GB of memory. For more information, see 23903 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 23904 // 23905 // MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType. 23906 // 23907 // * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot 23908 // be set. 23909 // 23910 // * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can 23911 // be set. 23912 // 23913 // * If WorkerType is set, then NumberOfWorkers is required (and vice versa). 23914 // 23915 // * MaxCapacity and NumberOfWorkers must both be at least 1. 23916 // 23917 // When the WorkerType field is set to a value other than Standard, the MaxCapacity 23918 // field is set automatically and becomes read-only. 23919 // 23920 // When the WorkerType field is set to a value other than Standard, the MaxCapacity 23921 // field is set automatically and becomes read-only. 23922 MaxCapacity *float64 `type:"double"` 23923 23924 // The maximum number of times to retry a task for this transform after a task 23925 // run fails. 23926 MaxRetries *int64 `type:"integer"` 23927 23928 // The unique name that you give the transform when you create it. 23929 // 23930 // Name is a required field 23931 Name *string `min:"1" type:"string" required:"true"` 23932 23933 // The number of workers of a defined workerType that are allocated when this 23934 // task runs. 23935 // 23936 // If WorkerType is set, then NumberOfWorkers is required (and vice versa). 23937 NumberOfWorkers *int64 `type:"integer"` 23938 23939 // The algorithmic parameters that are specific to the transform type used. 23940 // Conditionally dependent on the transform type. 23941 // 23942 // Parameters is a required field 23943 Parameters *TransformParameters `type:"structure" required:"true"` 23944 23945 // The name or Amazon Resource Name (ARN) of the IAM role with the required 23946 // permissions. The required permissions include both Glue service role permissions 23947 // to Glue resources, and Amazon S3 permissions required by the transform. 23948 // 23949 // * This role needs Glue service role permissions to allow access to resources 23950 // in Glue. See Attach a Policy to IAM Users That Access Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html). 23951 // 23952 // * This role needs permission to your Amazon Simple Storage Service (Amazon 23953 // S3) sources, targets, temporary directory, scripts, and any libraries 23954 // used by the task run for this transform. 23955 // 23956 // Role is a required field 23957 Role *string `type:"string" required:"true"` 23958 23959 // The tags to use with this machine learning transform. You may use tags to 23960 // limit access to the machine learning transform. For more information about 23961 // tags in Glue, see Amazon Web Services Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) 23962 // in the developer guide. 23963 Tags map[string]*string `type:"map"` 23964 23965 // The timeout of the task run for this transform in minutes. This is the maximum 23966 // time that a task run for this transform can consume resources before it is 23967 // terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). 23968 Timeout *int64 `min:"1" type:"integer"` 23969 23970 // The encryption-at-rest settings of the transform that apply to accessing 23971 // user data. Machine learning transforms can access user data encrypted in 23972 // Amazon S3 using KMS. 23973 TransformEncryption *TransformEncryption `type:"structure"` 23974 23975 // The type of predefined worker that is allocated when this task runs. Accepts 23976 // a value of Standard, G.1X, or G.2X. 23977 // 23978 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 23979 // memory and a 50GB disk, and 2 executors per worker. 23980 // 23981 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 23982 // and a 64GB disk, and 1 executor per worker. 23983 // 23984 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 23985 // and a 128GB disk, and 1 executor per worker. 23986 // 23987 // MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType. 23988 // 23989 // * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot 23990 // be set. 23991 // 23992 // * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can 23993 // be set. 23994 // 23995 // * If WorkerType is set, then NumberOfWorkers is required (and vice versa). 23996 // 23997 // * MaxCapacity and NumberOfWorkers must both be at least 1. 23998 WorkerType *string `type:"string" enum:"WorkerType"` 23999 } 24000 24001 // String returns the string representation. 24002 // 24003 // API parameter values that are decorated as "sensitive" in the API will not 24004 // be included in the string output. The member name will be present, but the 24005 // value will be replaced with "sensitive". 24006 func (s CreateMLTransformInput) String() string { 24007 return awsutil.Prettify(s) 24008 } 24009 24010 // GoString returns the string representation. 24011 // 24012 // API parameter values that are decorated as "sensitive" in the API will not 24013 // be included in the string output. The member name will be present, but the 24014 // value will be replaced with "sensitive". 24015 func (s CreateMLTransformInput) GoString() string { 24016 return s.String() 24017 } 24018 24019 // Validate inspects the fields of the type to determine if they are valid. 24020 func (s *CreateMLTransformInput) Validate() error { 24021 invalidParams := request.ErrInvalidParams{Context: "CreateMLTransformInput"} 24022 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 24023 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 24024 } 24025 if s.InputRecordTables == nil { 24026 invalidParams.Add(request.NewErrParamRequired("InputRecordTables")) 24027 } 24028 if s.Name == nil { 24029 invalidParams.Add(request.NewErrParamRequired("Name")) 24030 } 24031 if s.Name != nil && len(*s.Name) < 1 { 24032 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 24033 } 24034 if s.Parameters == nil { 24035 invalidParams.Add(request.NewErrParamRequired("Parameters")) 24036 } 24037 if s.Role == nil { 24038 invalidParams.Add(request.NewErrParamRequired("Role")) 24039 } 24040 if s.Timeout != nil && *s.Timeout < 1 { 24041 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 24042 } 24043 if s.InputRecordTables != nil { 24044 for i, v := range s.InputRecordTables { 24045 if v == nil { 24046 continue 24047 } 24048 if err := v.Validate(); err != nil { 24049 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputRecordTables", i), err.(request.ErrInvalidParams)) 24050 } 24051 } 24052 } 24053 if s.Parameters != nil { 24054 if err := s.Parameters.Validate(); err != nil { 24055 invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) 24056 } 24057 } 24058 if s.TransformEncryption != nil { 24059 if err := s.TransformEncryption.Validate(); err != nil { 24060 invalidParams.AddNested("TransformEncryption", err.(request.ErrInvalidParams)) 24061 } 24062 } 24063 24064 if invalidParams.Len() > 0 { 24065 return invalidParams 24066 } 24067 return nil 24068 } 24069 24070 // SetDescription sets the Description field's value. 24071 func (s *CreateMLTransformInput) SetDescription(v string) *CreateMLTransformInput { 24072 s.Description = &v 24073 return s 24074 } 24075 24076 // SetGlueVersion sets the GlueVersion field's value. 24077 func (s *CreateMLTransformInput) SetGlueVersion(v string) *CreateMLTransformInput { 24078 s.GlueVersion = &v 24079 return s 24080 } 24081 24082 // SetInputRecordTables sets the InputRecordTables field's value. 24083 func (s *CreateMLTransformInput) SetInputRecordTables(v []*Table) *CreateMLTransformInput { 24084 s.InputRecordTables = v 24085 return s 24086 } 24087 24088 // SetMaxCapacity sets the MaxCapacity field's value. 24089 func (s *CreateMLTransformInput) SetMaxCapacity(v float64) *CreateMLTransformInput { 24090 s.MaxCapacity = &v 24091 return s 24092 } 24093 24094 // SetMaxRetries sets the MaxRetries field's value. 24095 func (s *CreateMLTransformInput) SetMaxRetries(v int64) *CreateMLTransformInput { 24096 s.MaxRetries = &v 24097 return s 24098 } 24099 24100 // SetName sets the Name field's value. 24101 func (s *CreateMLTransformInput) SetName(v string) *CreateMLTransformInput { 24102 s.Name = &v 24103 return s 24104 } 24105 24106 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 24107 func (s *CreateMLTransformInput) SetNumberOfWorkers(v int64) *CreateMLTransformInput { 24108 s.NumberOfWorkers = &v 24109 return s 24110 } 24111 24112 // SetParameters sets the Parameters field's value. 24113 func (s *CreateMLTransformInput) SetParameters(v *TransformParameters) *CreateMLTransformInput { 24114 s.Parameters = v 24115 return s 24116 } 24117 24118 // SetRole sets the Role field's value. 24119 func (s *CreateMLTransformInput) SetRole(v string) *CreateMLTransformInput { 24120 s.Role = &v 24121 return s 24122 } 24123 24124 // SetTags sets the Tags field's value. 24125 func (s *CreateMLTransformInput) SetTags(v map[string]*string) *CreateMLTransformInput { 24126 s.Tags = v 24127 return s 24128 } 24129 24130 // SetTimeout sets the Timeout field's value. 24131 func (s *CreateMLTransformInput) SetTimeout(v int64) *CreateMLTransformInput { 24132 s.Timeout = &v 24133 return s 24134 } 24135 24136 // SetTransformEncryption sets the TransformEncryption field's value. 24137 func (s *CreateMLTransformInput) SetTransformEncryption(v *TransformEncryption) *CreateMLTransformInput { 24138 s.TransformEncryption = v 24139 return s 24140 } 24141 24142 // SetWorkerType sets the WorkerType field's value. 24143 func (s *CreateMLTransformInput) SetWorkerType(v string) *CreateMLTransformInput { 24144 s.WorkerType = &v 24145 return s 24146 } 24147 24148 type CreateMLTransformOutput struct { 24149 _ struct{} `type:"structure"` 24150 24151 // A unique identifier that is generated for the transform. 24152 TransformId *string `min:"1" type:"string"` 24153 } 24154 24155 // String returns the string representation. 24156 // 24157 // API parameter values that are decorated as "sensitive" in the API will not 24158 // be included in the string output. The member name will be present, but the 24159 // value will be replaced with "sensitive". 24160 func (s CreateMLTransformOutput) String() string { 24161 return awsutil.Prettify(s) 24162 } 24163 24164 // GoString returns the string representation. 24165 // 24166 // API parameter values that are decorated as "sensitive" in the API will not 24167 // be included in the string output. The member name will be present, but the 24168 // value will be replaced with "sensitive". 24169 func (s CreateMLTransformOutput) GoString() string { 24170 return s.String() 24171 } 24172 24173 // SetTransformId sets the TransformId field's value. 24174 func (s *CreateMLTransformOutput) SetTransformId(v string) *CreateMLTransformOutput { 24175 s.TransformId = &v 24176 return s 24177 } 24178 24179 type CreatePartitionIndexInput struct { 24180 _ struct{} `type:"structure"` 24181 24182 // The catalog ID where the table resides. 24183 CatalogId *string `min:"1" type:"string"` 24184 24185 // Specifies the name of a database in which you want to create a partition 24186 // index. 24187 // 24188 // DatabaseName is a required field 24189 DatabaseName *string `min:"1" type:"string" required:"true"` 24190 24191 // Specifies a PartitionIndex structure to create a partition index in an existing 24192 // table. 24193 // 24194 // PartitionIndex is a required field 24195 PartitionIndex *PartitionIndex `type:"structure" required:"true"` 24196 24197 // Specifies the name of a table in which you want to create a partition index. 24198 // 24199 // TableName is a required field 24200 TableName *string `min:"1" type:"string" required:"true"` 24201 } 24202 24203 // String returns the string representation. 24204 // 24205 // API parameter values that are decorated as "sensitive" in the API will not 24206 // be included in the string output. The member name will be present, but the 24207 // value will be replaced with "sensitive". 24208 func (s CreatePartitionIndexInput) String() string { 24209 return awsutil.Prettify(s) 24210 } 24211 24212 // GoString returns the string representation. 24213 // 24214 // API parameter values that are decorated as "sensitive" in the API will not 24215 // be included in the string output. The member name will be present, but the 24216 // value will be replaced with "sensitive". 24217 func (s CreatePartitionIndexInput) GoString() string { 24218 return s.String() 24219 } 24220 24221 // Validate inspects the fields of the type to determine if they are valid. 24222 func (s *CreatePartitionIndexInput) Validate() error { 24223 invalidParams := request.ErrInvalidParams{Context: "CreatePartitionIndexInput"} 24224 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 24225 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 24226 } 24227 if s.DatabaseName == nil { 24228 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 24229 } 24230 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 24231 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 24232 } 24233 if s.PartitionIndex == nil { 24234 invalidParams.Add(request.NewErrParamRequired("PartitionIndex")) 24235 } 24236 if s.TableName == nil { 24237 invalidParams.Add(request.NewErrParamRequired("TableName")) 24238 } 24239 if s.TableName != nil && len(*s.TableName) < 1 { 24240 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 24241 } 24242 if s.PartitionIndex != nil { 24243 if err := s.PartitionIndex.Validate(); err != nil { 24244 invalidParams.AddNested("PartitionIndex", err.(request.ErrInvalidParams)) 24245 } 24246 } 24247 24248 if invalidParams.Len() > 0 { 24249 return invalidParams 24250 } 24251 return nil 24252 } 24253 24254 // SetCatalogId sets the CatalogId field's value. 24255 func (s *CreatePartitionIndexInput) SetCatalogId(v string) *CreatePartitionIndexInput { 24256 s.CatalogId = &v 24257 return s 24258 } 24259 24260 // SetDatabaseName sets the DatabaseName field's value. 24261 func (s *CreatePartitionIndexInput) SetDatabaseName(v string) *CreatePartitionIndexInput { 24262 s.DatabaseName = &v 24263 return s 24264 } 24265 24266 // SetPartitionIndex sets the PartitionIndex field's value. 24267 func (s *CreatePartitionIndexInput) SetPartitionIndex(v *PartitionIndex) *CreatePartitionIndexInput { 24268 s.PartitionIndex = v 24269 return s 24270 } 24271 24272 // SetTableName sets the TableName field's value. 24273 func (s *CreatePartitionIndexInput) SetTableName(v string) *CreatePartitionIndexInput { 24274 s.TableName = &v 24275 return s 24276 } 24277 24278 type CreatePartitionIndexOutput struct { 24279 _ struct{} `type:"structure"` 24280 } 24281 24282 // String returns the string representation. 24283 // 24284 // API parameter values that are decorated as "sensitive" in the API will not 24285 // be included in the string output. The member name will be present, but the 24286 // value will be replaced with "sensitive". 24287 func (s CreatePartitionIndexOutput) String() string { 24288 return awsutil.Prettify(s) 24289 } 24290 24291 // GoString returns the string representation. 24292 // 24293 // API parameter values that are decorated as "sensitive" in the API will not 24294 // be included in the string output. The member name will be present, but the 24295 // value will be replaced with "sensitive". 24296 func (s CreatePartitionIndexOutput) GoString() string { 24297 return s.String() 24298 } 24299 24300 type CreatePartitionInput struct { 24301 _ struct{} `type:"structure"` 24302 24303 // The Amazon Web Services account ID of the catalog in which the partition 24304 // is to be created. 24305 CatalogId *string `min:"1" type:"string"` 24306 24307 // The name of the metadata database in which the partition is to be created. 24308 // 24309 // DatabaseName is a required field 24310 DatabaseName *string `min:"1" type:"string" required:"true"` 24311 24312 // A PartitionInput structure defining the partition to be created. 24313 // 24314 // PartitionInput is a required field 24315 PartitionInput *PartitionInput `type:"structure" required:"true"` 24316 24317 // The name of the metadata table in which the partition is to be created. 24318 // 24319 // TableName is a required field 24320 TableName *string `min:"1" type:"string" required:"true"` 24321 } 24322 24323 // String returns the string representation. 24324 // 24325 // API parameter values that are decorated as "sensitive" in the API will not 24326 // be included in the string output. The member name will be present, but the 24327 // value will be replaced with "sensitive". 24328 func (s CreatePartitionInput) String() string { 24329 return awsutil.Prettify(s) 24330 } 24331 24332 // GoString returns the string representation. 24333 // 24334 // API parameter values that are decorated as "sensitive" in the API will not 24335 // be included in the string output. The member name will be present, but the 24336 // value will be replaced with "sensitive". 24337 func (s CreatePartitionInput) GoString() string { 24338 return s.String() 24339 } 24340 24341 // Validate inspects the fields of the type to determine if they are valid. 24342 func (s *CreatePartitionInput) Validate() error { 24343 invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"} 24344 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 24345 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 24346 } 24347 if s.DatabaseName == nil { 24348 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 24349 } 24350 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 24351 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 24352 } 24353 if s.PartitionInput == nil { 24354 invalidParams.Add(request.NewErrParamRequired("PartitionInput")) 24355 } 24356 if s.TableName == nil { 24357 invalidParams.Add(request.NewErrParamRequired("TableName")) 24358 } 24359 if s.TableName != nil && len(*s.TableName) < 1 { 24360 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 24361 } 24362 if s.PartitionInput != nil { 24363 if err := s.PartitionInput.Validate(); err != nil { 24364 invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams)) 24365 } 24366 } 24367 24368 if invalidParams.Len() > 0 { 24369 return invalidParams 24370 } 24371 return nil 24372 } 24373 24374 // SetCatalogId sets the CatalogId field's value. 24375 func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput { 24376 s.CatalogId = &v 24377 return s 24378 } 24379 24380 // SetDatabaseName sets the DatabaseName field's value. 24381 func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput { 24382 s.DatabaseName = &v 24383 return s 24384 } 24385 24386 // SetPartitionInput sets the PartitionInput field's value. 24387 func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput { 24388 s.PartitionInput = v 24389 return s 24390 } 24391 24392 // SetTableName sets the TableName field's value. 24393 func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput { 24394 s.TableName = &v 24395 return s 24396 } 24397 24398 type CreatePartitionOutput struct { 24399 _ struct{} `type:"structure"` 24400 } 24401 24402 // String returns the string representation. 24403 // 24404 // API parameter values that are decorated as "sensitive" in the API will not 24405 // be included in the string output. The member name will be present, but the 24406 // value will be replaced with "sensitive". 24407 func (s CreatePartitionOutput) String() string { 24408 return awsutil.Prettify(s) 24409 } 24410 24411 // GoString returns the string representation. 24412 // 24413 // API parameter values that are decorated as "sensitive" in the API will not 24414 // be included in the string output. The member name will be present, but the 24415 // value will be replaced with "sensitive". 24416 func (s CreatePartitionOutput) GoString() string { 24417 return s.String() 24418 } 24419 24420 type CreateRegistryInput struct { 24421 _ struct{} `type:"structure"` 24422 24423 // A description of the registry. If description is not provided, there will 24424 // not be any default value for this. 24425 Description *string `type:"string"` 24426 24427 // Name of the registry to be created of max length of 255, and may only contain 24428 // letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace. 24429 // 24430 // RegistryName is a required field 24431 RegistryName *string `min:"1" type:"string" required:"true"` 24432 24433 // Amazon Web Services tags that contain a key value pair and may be searched 24434 // by console, command line, or API. 24435 Tags map[string]*string `type:"map"` 24436 } 24437 24438 // String returns the string representation. 24439 // 24440 // API parameter values that are decorated as "sensitive" in the API will not 24441 // be included in the string output. The member name will be present, but the 24442 // value will be replaced with "sensitive". 24443 func (s CreateRegistryInput) String() string { 24444 return awsutil.Prettify(s) 24445 } 24446 24447 // GoString returns the string representation. 24448 // 24449 // API parameter values that are decorated as "sensitive" in the API will not 24450 // be included in the string output. The member name will be present, but the 24451 // value will be replaced with "sensitive". 24452 func (s CreateRegistryInput) GoString() string { 24453 return s.String() 24454 } 24455 24456 // Validate inspects the fields of the type to determine if they are valid. 24457 func (s *CreateRegistryInput) Validate() error { 24458 invalidParams := request.ErrInvalidParams{Context: "CreateRegistryInput"} 24459 if s.RegistryName == nil { 24460 invalidParams.Add(request.NewErrParamRequired("RegistryName")) 24461 } 24462 if s.RegistryName != nil && len(*s.RegistryName) < 1 { 24463 invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1)) 24464 } 24465 24466 if invalidParams.Len() > 0 { 24467 return invalidParams 24468 } 24469 return nil 24470 } 24471 24472 // SetDescription sets the Description field's value. 24473 func (s *CreateRegistryInput) SetDescription(v string) *CreateRegistryInput { 24474 s.Description = &v 24475 return s 24476 } 24477 24478 // SetRegistryName sets the RegistryName field's value. 24479 func (s *CreateRegistryInput) SetRegistryName(v string) *CreateRegistryInput { 24480 s.RegistryName = &v 24481 return s 24482 } 24483 24484 // SetTags sets the Tags field's value. 24485 func (s *CreateRegistryInput) SetTags(v map[string]*string) *CreateRegistryInput { 24486 s.Tags = v 24487 return s 24488 } 24489 24490 type CreateRegistryOutput struct { 24491 _ struct{} `type:"structure"` 24492 24493 // A description of the registry. 24494 Description *string `type:"string"` 24495 24496 // The Amazon Resource Name (ARN) of the newly created registry. 24497 RegistryArn *string `min:"1" type:"string"` 24498 24499 // The name of the registry. 24500 RegistryName *string `min:"1" type:"string"` 24501 24502 // The tags for the registry. 24503 Tags map[string]*string `type:"map"` 24504 } 24505 24506 // String returns the string representation. 24507 // 24508 // API parameter values that are decorated as "sensitive" in the API will not 24509 // be included in the string output. The member name will be present, but the 24510 // value will be replaced with "sensitive". 24511 func (s CreateRegistryOutput) String() string { 24512 return awsutil.Prettify(s) 24513 } 24514 24515 // GoString returns the string representation. 24516 // 24517 // API parameter values that are decorated as "sensitive" in the API will not 24518 // be included in the string output. The member name will be present, but the 24519 // value will be replaced with "sensitive". 24520 func (s CreateRegistryOutput) GoString() string { 24521 return s.String() 24522 } 24523 24524 // SetDescription sets the Description field's value. 24525 func (s *CreateRegistryOutput) SetDescription(v string) *CreateRegistryOutput { 24526 s.Description = &v 24527 return s 24528 } 24529 24530 // SetRegistryArn sets the RegistryArn field's value. 24531 func (s *CreateRegistryOutput) SetRegistryArn(v string) *CreateRegistryOutput { 24532 s.RegistryArn = &v 24533 return s 24534 } 24535 24536 // SetRegistryName sets the RegistryName field's value. 24537 func (s *CreateRegistryOutput) SetRegistryName(v string) *CreateRegistryOutput { 24538 s.RegistryName = &v 24539 return s 24540 } 24541 24542 // SetTags sets the Tags field's value. 24543 func (s *CreateRegistryOutput) SetTags(v map[string]*string) *CreateRegistryOutput { 24544 s.Tags = v 24545 return s 24546 } 24547 24548 type CreateSchemaInput struct { 24549 _ struct{} `type:"structure"` 24550 24551 // The compatibility mode of the schema. The possible values are: 24552 // 24553 // * NONE: No compatibility mode applies. You can use this choice in development 24554 // scenarios or if you do not know the compatibility mode that you want to 24555 // apply to schemas. Any new version added will be accepted without undergoing 24556 // a compatibility check. 24557 // 24558 // * DISABLED: This compatibility choice prevents versioning for a particular 24559 // schema. You can use this choice to prevent future versioning of a schema. 24560 // 24561 // * BACKWARD: This compatibility choice is recommended as it allows data 24562 // receivers to read both the current and one previous schema version. This 24563 // means that for instance, a new schema version cannot drop data fields 24564 // or change the type of these fields, so they can't be read by readers using 24565 // the previous version. 24566 // 24567 // * BACKWARD_ALL: This compatibility choice allows data receivers to read 24568 // both the current and all previous schema versions. You can use this choice 24569 // when you need to delete fields or add optional fields, and check compatibility 24570 // against all previous schema versions. 24571 // 24572 // * FORWARD: This compatibility choice allows data receivers to read both 24573 // the current and one next schema version, but not necessarily later versions. 24574 // You can use this choice when you need to add fields or delete optional 24575 // fields, but only check compatibility against the last schema version. 24576 // 24577 // * FORWARD_ALL: This compatibility choice allows data receivers to read 24578 // written by producers of any new registered schema. You can use this choice 24579 // when you need to add fields or delete optional fields, and check compatibility 24580 // against all previous schema versions. 24581 // 24582 // * FULL: This compatibility choice allows data receivers to read data written 24583 // by producers using the previous or next version of the schema, but not 24584 // necessarily earlier or later versions. You can use this choice when you 24585 // need to add or remove optional fields, but only check compatibility against 24586 // the last schema version. 24587 // 24588 // * FULL_ALL: This compatibility choice allows data receivers to read data 24589 // written by producers using all previous schema versions. You can use this 24590 // choice when you need to add or remove optional fields, and check compatibility 24591 // against all previous schema versions. 24592 Compatibility *string `type:"string" enum:"Compatibility"` 24593 24594 // The data format of the schema definition. Currently AVRO and JSON are supported. 24595 // 24596 // DataFormat is a required field 24597 DataFormat *string `type:"string" required:"true" enum:"DataFormat"` 24598 24599 // An optional description of the schema. If description is not provided, there 24600 // will not be any automatic default value for this. 24601 Description *string `type:"string"` 24602 24603 // This is a wrapper shape to contain the registry identity fields. If this 24604 // is not provided, the default registry will be used. The ARN format for the 24605 // same will be: arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id. 24606 RegistryId *RegistryId `type:"structure"` 24607 24608 // The schema definition using the DataFormat setting for SchemaName. 24609 SchemaDefinition *string `min:"1" type:"string"` 24610 24611 // Name of the schema to be created of max length of 255, and may only contain 24612 // letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace. 24613 // 24614 // SchemaName is a required field 24615 SchemaName *string `min:"1" type:"string" required:"true"` 24616 24617 // Amazon Web Services tags that contain a key value pair and may be searched 24618 // by console, command line, or API. If specified, follows the Amazon Web Services 24619 // tags-on-create pattern. 24620 Tags map[string]*string `type:"map"` 24621 } 24622 24623 // String returns the string representation. 24624 // 24625 // API parameter values that are decorated as "sensitive" in the API will not 24626 // be included in the string output. The member name will be present, but the 24627 // value will be replaced with "sensitive". 24628 func (s CreateSchemaInput) String() string { 24629 return awsutil.Prettify(s) 24630 } 24631 24632 // GoString returns the string representation. 24633 // 24634 // API parameter values that are decorated as "sensitive" in the API will not 24635 // be included in the string output. The member name will be present, but the 24636 // value will be replaced with "sensitive". 24637 func (s CreateSchemaInput) GoString() string { 24638 return s.String() 24639 } 24640 24641 // Validate inspects the fields of the type to determine if they are valid. 24642 func (s *CreateSchemaInput) Validate() error { 24643 invalidParams := request.ErrInvalidParams{Context: "CreateSchemaInput"} 24644 if s.DataFormat == nil { 24645 invalidParams.Add(request.NewErrParamRequired("DataFormat")) 24646 } 24647 if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 { 24648 invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1)) 24649 } 24650 if s.SchemaName == nil { 24651 invalidParams.Add(request.NewErrParamRequired("SchemaName")) 24652 } 24653 if s.SchemaName != nil && len(*s.SchemaName) < 1 { 24654 invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) 24655 } 24656 if s.RegistryId != nil { 24657 if err := s.RegistryId.Validate(); err != nil { 24658 invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams)) 24659 } 24660 } 24661 24662 if invalidParams.Len() > 0 { 24663 return invalidParams 24664 } 24665 return nil 24666 } 24667 24668 // SetCompatibility sets the Compatibility field's value. 24669 func (s *CreateSchemaInput) SetCompatibility(v string) *CreateSchemaInput { 24670 s.Compatibility = &v 24671 return s 24672 } 24673 24674 // SetDataFormat sets the DataFormat field's value. 24675 func (s *CreateSchemaInput) SetDataFormat(v string) *CreateSchemaInput { 24676 s.DataFormat = &v 24677 return s 24678 } 24679 24680 // SetDescription sets the Description field's value. 24681 func (s *CreateSchemaInput) SetDescription(v string) *CreateSchemaInput { 24682 s.Description = &v 24683 return s 24684 } 24685 24686 // SetRegistryId sets the RegistryId field's value. 24687 func (s *CreateSchemaInput) SetRegistryId(v *RegistryId) *CreateSchemaInput { 24688 s.RegistryId = v 24689 return s 24690 } 24691 24692 // SetSchemaDefinition sets the SchemaDefinition field's value. 24693 func (s *CreateSchemaInput) SetSchemaDefinition(v string) *CreateSchemaInput { 24694 s.SchemaDefinition = &v 24695 return s 24696 } 24697 24698 // SetSchemaName sets the SchemaName field's value. 24699 func (s *CreateSchemaInput) SetSchemaName(v string) *CreateSchemaInput { 24700 s.SchemaName = &v 24701 return s 24702 } 24703 24704 // SetTags sets the Tags field's value. 24705 func (s *CreateSchemaInput) SetTags(v map[string]*string) *CreateSchemaInput { 24706 s.Tags = v 24707 return s 24708 } 24709 24710 type CreateSchemaOutput struct { 24711 _ struct{} `type:"structure"` 24712 24713 // The schema compatibility mode. 24714 Compatibility *string `type:"string" enum:"Compatibility"` 24715 24716 // The data format of the schema definition. Currently AVRO and JSON are supported. 24717 DataFormat *string `type:"string" enum:"DataFormat"` 24718 24719 // A description of the schema if specified when created. 24720 Description *string `type:"string"` 24721 24722 // The latest version of the schema associated with the returned schema definition. 24723 LatestSchemaVersion *int64 `min:"1" type:"long"` 24724 24725 // The next version of the schema associated with the returned schema definition. 24726 NextSchemaVersion *int64 `min:"1" type:"long"` 24727 24728 // The Amazon Resource Name (ARN) of the registry. 24729 RegistryArn *string `min:"1" type:"string"` 24730 24731 // The name of the registry. 24732 RegistryName *string `min:"1" type:"string"` 24733 24734 // The Amazon Resource Name (ARN) of the schema. 24735 SchemaArn *string `min:"1" type:"string"` 24736 24737 // The version number of the checkpoint (the last time the compatibility mode 24738 // was changed). 24739 SchemaCheckpoint *int64 `min:"1" type:"long"` 24740 24741 // The name of the schema. 24742 SchemaName *string `min:"1" type:"string"` 24743 24744 // The status of the schema. 24745 SchemaStatus *string `type:"string" enum:"SchemaStatus"` 24746 24747 // The unique identifier of the first schema version. 24748 SchemaVersionId *string `min:"36" type:"string"` 24749 24750 // The status of the first schema version created. 24751 SchemaVersionStatus *string `type:"string" enum:"SchemaVersionStatus"` 24752 24753 // The tags for the schema. 24754 Tags map[string]*string `type:"map"` 24755 } 24756 24757 // String returns the string representation. 24758 // 24759 // API parameter values that are decorated as "sensitive" in the API will not 24760 // be included in the string output. The member name will be present, but the 24761 // value will be replaced with "sensitive". 24762 func (s CreateSchemaOutput) String() string { 24763 return awsutil.Prettify(s) 24764 } 24765 24766 // GoString returns the string representation. 24767 // 24768 // API parameter values that are decorated as "sensitive" in the API will not 24769 // be included in the string output. The member name will be present, but the 24770 // value will be replaced with "sensitive". 24771 func (s CreateSchemaOutput) GoString() string { 24772 return s.String() 24773 } 24774 24775 // SetCompatibility sets the Compatibility field's value. 24776 func (s *CreateSchemaOutput) SetCompatibility(v string) *CreateSchemaOutput { 24777 s.Compatibility = &v 24778 return s 24779 } 24780 24781 // SetDataFormat sets the DataFormat field's value. 24782 func (s *CreateSchemaOutput) SetDataFormat(v string) *CreateSchemaOutput { 24783 s.DataFormat = &v 24784 return s 24785 } 24786 24787 // SetDescription sets the Description field's value. 24788 func (s *CreateSchemaOutput) SetDescription(v string) *CreateSchemaOutput { 24789 s.Description = &v 24790 return s 24791 } 24792 24793 // SetLatestSchemaVersion sets the LatestSchemaVersion field's value. 24794 func (s *CreateSchemaOutput) SetLatestSchemaVersion(v int64) *CreateSchemaOutput { 24795 s.LatestSchemaVersion = &v 24796 return s 24797 } 24798 24799 // SetNextSchemaVersion sets the NextSchemaVersion field's value. 24800 func (s *CreateSchemaOutput) SetNextSchemaVersion(v int64) *CreateSchemaOutput { 24801 s.NextSchemaVersion = &v 24802 return s 24803 } 24804 24805 // SetRegistryArn sets the RegistryArn field's value. 24806 func (s *CreateSchemaOutput) SetRegistryArn(v string) *CreateSchemaOutput { 24807 s.RegistryArn = &v 24808 return s 24809 } 24810 24811 // SetRegistryName sets the RegistryName field's value. 24812 func (s *CreateSchemaOutput) SetRegistryName(v string) *CreateSchemaOutput { 24813 s.RegistryName = &v 24814 return s 24815 } 24816 24817 // SetSchemaArn sets the SchemaArn field's value. 24818 func (s *CreateSchemaOutput) SetSchemaArn(v string) *CreateSchemaOutput { 24819 s.SchemaArn = &v 24820 return s 24821 } 24822 24823 // SetSchemaCheckpoint sets the SchemaCheckpoint field's value. 24824 func (s *CreateSchemaOutput) SetSchemaCheckpoint(v int64) *CreateSchemaOutput { 24825 s.SchemaCheckpoint = &v 24826 return s 24827 } 24828 24829 // SetSchemaName sets the SchemaName field's value. 24830 func (s *CreateSchemaOutput) SetSchemaName(v string) *CreateSchemaOutput { 24831 s.SchemaName = &v 24832 return s 24833 } 24834 24835 // SetSchemaStatus sets the SchemaStatus field's value. 24836 func (s *CreateSchemaOutput) SetSchemaStatus(v string) *CreateSchemaOutput { 24837 s.SchemaStatus = &v 24838 return s 24839 } 24840 24841 // SetSchemaVersionId sets the SchemaVersionId field's value. 24842 func (s *CreateSchemaOutput) SetSchemaVersionId(v string) *CreateSchemaOutput { 24843 s.SchemaVersionId = &v 24844 return s 24845 } 24846 24847 // SetSchemaVersionStatus sets the SchemaVersionStatus field's value. 24848 func (s *CreateSchemaOutput) SetSchemaVersionStatus(v string) *CreateSchemaOutput { 24849 s.SchemaVersionStatus = &v 24850 return s 24851 } 24852 24853 // SetTags sets the Tags field's value. 24854 func (s *CreateSchemaOutput) SetTags(v map[string]*string) *CreateSchemaOutput { 24855 s.Tags = v 24856 return s 24857 } 24858 24859 type CreateScriptInput struct { 24860 _ struct{} `type:"structure"` 24861 24862 // A list of the edges in the DAG. 24863 DagEdges []*CodeGenEdge `type:"list"` 24864 24865 // A list of the nodes in the DAG. 24866 DagNodes []*CodeGenNode `type:"list"` 24867 24868 // The programming language of the resulting code from the DAG. 24869 Language *string `type:"string" enum:"Language"` 24870 } 24871 24872 // String returns the string representation. 24873 // 24874 // API parameter values that are decorated as "sensitive" in the API will not 24875 // be included in the string output. The member name will be present, but the 24876 // value will be replaced with "sensitive". 24877 func (s CreateScriptInput) String() string { 24878 return awsutil.Prettify(s) 24879 } 24880 24881 // GoString returns the string representation. 24882 // 24883 // API parameter values that are decorated as "sensitive" in the API will not 24884 // be included in the string output. The member name will be present, but the 24885 // value will be replaced with "sensitive". 24886 func (s CreateScriptInput) GoString() string { 24887 return s.String() 24888 } 24889 24890 // Validate inspects the fields of the type to determine if they are valid. 24891 func (s *CreateScriptInput) Validate() error { 24892 invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"} 24893 if s.DagEdges != nil { 24894 for i, v := range s.DagEdges { 24895 if v == nil { 24896 continue 24897 } 24898 if err := v.Validate(); err != nil { 24899 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams)) 24900 } 24901 } 24902 } 24903 if s.DagNodes != nil { 24904 for i, v := range s.DagNodes { 24905 if v == nil { 24906 continue 24907 } 24908 if err := v.Validate(); err != nil { 24909 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams)) 24910 } 24911 } 24912 } 24913 24914 if invalidParams.Len() > 0 { 24915 return invalidParams 24916 } 24917 return nil 24918 } 24919 24920 // SetDagEdges sets the DagEdges field's value. 24921 func (s *CreateScriptInput) SetDagEdges(v []*CodeGenEdge) *CreateScriptInput { 24922 s.DagEdges = v 24923 return s 24924 } 24925 24926 // SetDagNodes sets the DagNodes field's value. 24927 func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput { 24928 s.DagNodes = v 24929 return s 24930 } 24931 24932 // SetLanguage sets the Language field's value. 24933 func (s *CreateScriptInput) SetLanguage(v string) *CreateScriptInput { 24934 s.Language = &v 24935 return s 24936 } 24937 24938 type CreateScriptOutput struct { 24939 _ struct{} `type:"structure"` 24940 24941 // The Python script generated from the DAG. 24942 PythonScript *string `type:"string"` 24943 24944 // The Scala code generated from the DAG. 24945 ScalaCode *string `type:"string"` 24946 } 24947 24948 // String returns the string representation. 24949 // 24950 // API parameter values that are decorated as "sensitive" in the API will not 24951 // be included in the string output. The member name will be present, but the 24952 // value will be replaced with "sensitive". 24953 func (s CreateScriptOutput) String() string { 24954 return awsutil.Prettify(s) 24955 } 24956 24957 // GoString returns the string representation. 24958 // 24959 // API parameter values that are decorated as "sensitive" in the API will not 24960 // be included in the string output. The member name will be present, but the 24961 // value will be replaced with "sensitive". 24962 func (s CreateScriptOutput) GoString() string { 24963 return s.String() 24964 } 24965 24966 // SetPythonScript sets the PythonScript field's value. 24967 func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput { 24968 s.PythonScript = &v 24969 return s 24970 } 24971 24972 // SetScalaCode sets the ScalaCode field's value. 24973 func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput { 24974 s.ScalaCode = &v 24975 return s 24976 } 24977 24978 type CreateSecurityConfigurationInput struct { 24979 _ struct{} `type:"structure"` 24980 24981 // The encryption configuration for the new security configuration. 24982 // 24983 // EncryptionConfiguration is a required field 24984 EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"` 24985 24986 // The name for the new security configuration. 24987 // 24988 // Name is a required field 24989 Name *string `min:"1" type:"string" required:"true"` 24990 } 24991 24992 // String returns the string representation. 24993 // 24994 // API parameter values that are decorated as "sensitive" in the API will not 24995 // be included in the string output. The member name will be present, but the 24996 // value will be replaced with "sensitive". 24997 func (s CreateSecurityConfigurationInput) String() string { 24998 return awsutil.Prettify(s) 24999 } 25000 25001 // GoString returns the string representation. 25002 // 25003 // API parameter values that are decorated as "sensitive" in the API will not 25004 // be included in the string output. The member name will be present, but the 25005 // value will be replaced with "sensitive". 25006 func (s CreateSecurityConfigurationInput) GoString() string { 25007 return s.String() 25008 } 25009 25010 // Validate inspects the fields of the type to determine if they are valid. 25011 func (s *CreateSecurityConfigurationInput) Validate() error { 25012 invalidParams := request.ErrInvalidParams{Context: "CreateSecurityConfigurationInput"} 25013 if s.EncryptionConfiguration == nil { 25014 invalidParams.Add(request.NewErrParamRequired("EncryptionConfiguration")) 25015 } 25016 if s.Name == nil { 25017 invalidParams.Add(request.NewErrParamRequired("Name")) 25018 } 25019 if s.Name != nil && len(*s.Name) < 1 { 25020 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 25021 } 25022 25023 if invalidParams.Len() > 0 { 25024 return invalidParams 25025 } 25026 return nil 25027 } 25028 25029 // SetEncryptionConfiguration sets the EncryptionConfiguration field's value. 25030 func (s *CreateSecurityConfigurationInput) SetEncryptionConfiguration(v *EncryptionConfiguration) *CreateSecurityConfigurationInput { 25031 s.EncryptionConfiguration = v 25032 return s 25033 } 25034 25035 // SetName sets the Name field's value. 25036 func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput { 25037 s.Name = &v 25038 return s 25039 } 25040 25041 type CreateSecurityConfigurationOutput struct { 25042 _ struct{} `type:"structure"` 25043 25044 // The time at which the new security configuration was created. 25045 CreatedTimestamp *time.Time `type:"timestamp"` 25046 25047 // The name assigned to the new security configuration. 25048 Name *string `min:"1" type:"string"` 25049 } 25050 25051 // String returns the string representation. 25052 // 25053 // API parameter values that are decorated as "sensitive" in the API will not 25054 // be included in the string output. The member name will be present, but the 25055 // value will be replaced with "sensitive". 25056 func (s CreateSecurityConfigurationOutput) String() string { 25057 return awsutil.Prettify(s) 25058 } 25059 25060 // GoString returns the string representation. 25061 // 25062 // API parameter values that are decorated as "sensitive" in the API will not 25063 // be included in the string output. The member name will be present, but the 25064 // value will be replaced with "sensitive". 25065 func (s CreateSecurityConfigurationOutput) GoString() string { 25066 return s.String() 25067 } 25068 25069 // SetCreatedTimestamp sets the CreatedTimestamp field's value. 25070 func (s *CreateSecurityConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateSecurityConfigurationOutput { 25071 s.CreatedTimestamp = &v 25072 return s 25073 } 25074 25075 // SetName sets the Name field's value. 25076 func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput { 25077 s.Name = &v 25078 return s 25079 } 25080 25081 type CreateTableInput struct { 25082 _ struct{} `type:"structure"` 25083 25084 // The ID of the Data Catalog in which to create the Table. If none is supplied, 25085 // the Amazon Web Services account ID is used by default. 25086 CatalogId *string `min:"1" type:"string"` 25087 25088 // The catalog database in which to create the new table. For Hive compatibility, 25089 // this name is entirely lowercase. 25090 // 25091 // DatabaseName is a required field 25092 DatabaseName *string `min:"1" type:"string" required:"true"` 25093 25094 // A list of partition indexes, PartitionIndex structures, to create in the 25095 // table. 25096 PartitionIndexes []*PartitionIndex `type:"list"` 25097 25098 // The TableInput object that defines the metadata table to create in the catalog. 25099 // 25100 // TableInput is a required field 25101 TableInput *TableInput `type:"structure" required:"true"` 25102 } 25103 25104 // String returns the string representation. 25105 // 25106 // API parameter values that are decorated as "sensitive" in the API will not 25107 // be included in the string output. The member name will be present, but the 25108 // value will be replaced with "sensitive". 25109 func (s CreateTableInput) String() string { 25110 return awsutil.Prettify(s) 25111 } 25112 25113 // GoString returns the string representation. 25114 // 25115 // API parameter values that are decorated as "sensitive" in the API will not 25116 // be included in the string output. The member name will be present, but the 25117 // value will be replaced with "sensitive". 25118 func (s CreateTableInput) GoString() string { 25119 return s.String() 25120 } 25121 25122 // Validate inspects the fields of the type to determine if they are valid. 25123 func (s *CreateTableInput) Validate() error { 25124 invalidParams := request.ErrInvalidParams{Context: "CreateTableInput"} 25125 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 25126 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 25127 } 25128 if s.DatabaseName == nil { 25129 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 25130 } 25131 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 25132 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 25133 } 25134 if s.TableInput == nil { 25135 invalidParams.Add(request.NewErrParamRequired("TableInput")) 25136 } 25137 if s.PartitionIndexes != nil { 25138 for i, v := range s.PartitionIndexes { 25139 if v == nil { 25140 continue 25141 } 25142 if err := v.Validate(); err != nil { 25143 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionIndexes", i), err.(request.ErrInvalidParams)) 25144 } 25145 } 25146 } 25147 if s.TableInput != nil { 25148 if err := s.TableInput.Validate(); err != nil { 25149 invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams)) 25150 } 25151 } 25152 25153 if invalidParams.Len() > 0 { 25154 return invalidParams 25155 } 25156 return nil 25157 } 25158 25159 // SetCatalogId sets the CatalogId field's value. 25160 func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput { 25161 s.CatalogId = &v 25162 return s 25163 } 25164 25165 // SetDatabaseName sets the DatabaseName field's value. 25166 func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput { 25167 s.DatabaseName = &v 25168 return s 25169 } 25170 25171 // SetPartitionIndexes sets the PartitionIndexes field's value. 25172 func (s *CreateTableInput) SetPartitionIndexes(v []*PartitionIndex) *CreateTableInput { 25173 s.PartitionIndexes = v 25174 return s 25175 } 25176 25177 // SetTableInput sets the TableInput field's value. 25178 func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput { 25179 s.TableInput = v 25180 return s 25181 } 25182 25183 type CreateTableOutput struct { 25184 _ struct{} `type:"structure"` 25185 } 25186 25187 // String returns the string representation. 25188 // 25189 // API parameter values that are decorated as "sensitive" in the API will not 25190 // be included in the string output. The member name will be present, but the 25191 // value will be replaced with "sensitive". 25192 func (s CreateTableOutput) String() string { 25193 return awsutil.Prettify(s) 25194 } 25195 25196 // GoString returns the string representation. 25197 // 25198 // API parameter values that are decorated as "sensitive" in the API will not 25199 // be included in the string output. The member name will be present, but the 25200 // value will be replaced with "sensitive". 25201 func (s CreateTableOutput) GoString() string { 25202 return s.String() 25203 } 25204 25205 type CreateTriggerInput struct { 25206 _ struct{} `type:"structure"` 25207 25208 // The actions initiated by this trigger when it fires. 25209 // 25210 // Actions is a required field 25211 Actions []*Action `type:"list" required:"true"` 25212 25213 // A description of the new trigger. 25214 Description *string `type:"string"` 25215 25216 // Batch condition that must be met (specified number of events received or 25217 // batch time window expired) before EventBridge event trigger fires. 25218 EventBatchingCondition *EventBatchingCondition `type:"structure"` 25219 25220 // The name of the trigger. 25221 // 25222 // Name is a required field 25223 Name *string `min:"1" type:"string" required:"true"` 25224 25225 // A predicate to specify when the new trigger should fire. 25226 // 25227 // This field is required when the trigger type is CONDITIONAL. 25228 Predicate *Predicate `type:"structure"` 25229 25230 // A cron expression used to specify the schedule (see Time-Based Schedules 25231 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 25232 // For example, to run something every day at 12:15 UTC, you would specify: 25233 // cron(15 12 * * ? *). 25234 // 25235 // This field is required when the trigger type is SCHEDULED. 25236 Schedule *string `type:"string"` 25237 25238 // Set to true to start SCHEDULED and CONDITIONAL triggers when created. True 25239 // is not supported for ON_DEMAND triggers. 25240 StartOnCreation *bool `type:"boolean"` 25241 25242 // The tags to use with this trigger. You may use tags to limit access to the 25243 // trigger. For more information about tags in Glue, see Amazon Web Services 25244 // Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) 25245 // in the developer guide. 25246 Tags map[string]*string `type:"map"` 25247 25248 // The type of the new trigger. 25249 // 25250 // Type is a required field 25251 Type *string `type:"string" required:"true" enum:"TriggerType"` 25252 25253 // The name of the workflow associated with the trigger. 25254 WorkflowName *string `min:"1" type:"string"` 25255 } 25256 25257 // String returns the string representation. 25258 // 25259 // API parameter values that are decorated as "sensitive" in the API will not 25260 // be included in the string output. The member name will be present, but the 25261 // value will be replaced with "sensitive". 25262 func (s CreateTriggerInput) String() string { 25263 return awsutil.Prettify(s) 25264 } 25265 25266 // GoString returns the string representation. 25267 // 25268 // API parameter values that are decorated as "sensitive" in the API will not 25269 // be included in the string output. The member name will be present, but the 25270 // value will be replaced with "sensitive". 25271 func (s CreateTriggerInput) GoString() string { 25272 return s.String() 25273 } 25274 25275 // Validate inspects the fields of the type to determine if they are valid. 25276 func (s *CreateTriggerInput) Validate() error { 25277 invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"} 25278 if s.Actions == nil { 25279 invalidParams.Add(request.NewErrParamRequired("Actions")) 25280 } 25281 if s.Name == nil { 25282 invalidParams.Add(request.NewErrParamRequired("Name")) 25283 } 25284 if s.Name != nil && len(*s.Name) < 1 { 25285 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 25286 } 25287 if s.Type == nil { 25288 invalidParams.Add(request.NewErrParamRequired("Type")) 25289 } 25290 if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { 25291 invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) 25292 } 25293 if s.Actions != nil { 25294 for i, v := range s.Actions { 25295 if v == nil { 25296 continue 25297 } 25298 if err := v.Validate(); err != nil { 25299 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) 25300 } 25301 } 25302 } 25303 if s.EventBatchingCondition != nil { 25304 if err := s.EventBatchingCondition.Validate(); err != nil { 25305 invalidParams.AddNested("EventBatchingCondition", err.(request.ErrInvalidParams)) 25306 } 25307 } 25308 if s.Predicate != nil { 25309 if err := s.Predicate.Validate(); err != nil { 25310 invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams)) 25311 } 25312 } 25313 25314 if invalidParams.Len() > 0 { 25315 return invalidParams 25316 } 25317 return nil 25318 } 25319 25320 // SetActions sets the Actions field's value. 25321 func (s *CreateTriggerInput) SetActions(v []*Action) *CreateTriggerInput { 25322 s.Actions = v 25323 return s 25324 } 25325 25326 // SetDescription sets the Description field's value. 25327 func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput { 25328 s.Description = &v 25329 return s 25330 } 25331 25332 // SetEventBatchingCondition sets the EventBatchingCondition field's value. 25333 func (s *CreateTriggerInput) SetEventBatchingCondition(v *EventBatchingCondition) *CreateTriggerInput { 25334 s.EventBatchingCondition = v 25335 return s 25336 } 25337 25338 // SetName sets the Name field's value. 25339 func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput { 25340 s.Name = &v 25341 return s 25342 } 25343 25344 // SetPredicate sets the Predicate field's value. 25345 func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput { 25346 s.Predicate = v 25347 return s 25348 } 25349 25350 // SetSchedule sets the Schedule field's value. 25351 func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput { 25352 s.Schedule = &v 25353 return s 25354 } 25355 25356 // SetStartOnCreation sets the StartOnCreation field's value. 25357 func (s *CreateTriggerInput) SetStartOnCreation(v bool) *CreateTriggerInput { 25358 s.StartOnCreation = &v 25359 return s 25360 } 25361 25362 // SetTags sets the Tags field's value. 25363 func (s *CreateTriggerInput) SetTags(v map[string]*string) *CreateTriggerInput { 25364 s.Tags = v 25365 return s 25366 } 25367 25368 // SetType sets the Type field's value. 25369 func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput { 25370 s.Type = &v 25371 return s 25372 } 25373 25374 // SetWorkflowName sets the WorkflowName field's value. 25375 func (s *CreateTriggerInput) SetWorkflowName(v string) *CreateTriggerInput { 25376 s.WorkflowName = &v 25377 return s 25378 } 25379 25380 type CreateTriggerOutput struct { 25381 _ struct{} `type:"structure"` 25382 25383 // The name of the trigger. 25384 Name *string `min:"1" type:"string"` 25385 } 25386 25387 // String returns the string representation. 25388 // 25389 // API parameter values that are decorated as "sensitive" in the API will not 25390 // be included in the string output. The member name will be present, but the 25391 // value will be replaced with "sensitive". 25392 func (s CreateTriggerOutput) String() string { 25393 return awsutil.Prettify(s) 25394 } 25395 25396 // GoString returns the string representation. 25397 // 25398 // API parameter values that are decorated as "sensitive" in the API will not 25399 // be included in the string output. The member name will be present, but the 25400 // value will be replaced with "sensitive". 25401 func (s CreateTriggerOutput) GoString() string { 25402 return s.String() 25403 } 25404 25405 // SetName sets the Name field's value. 25406 func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput { 25407 s.Name = &v 25408 return s 25409 } 25410 25411 type CreateUserDefinedFunctionInput struct { 25412 _ struct{} `type:"structure"` 25413 25414 // The ID of the Data Catalog in which to create the function. If none is provided, 25415 // the Amazon Web Services account ID is used by default. 25416 CatalogId *string `min:"1" type:"string"` 25417 25418 // The name of the catalog database in which to create the function. 25419 // 25420 // DatabaseName is a required field 25421 DatabaseName *string `min:"1" type:"string" required:"true"` 25422 25423 // A FunctionInput object that defines the function to create in the Data Catalog. 25424 // 25425 // FunctionInput is a required field 25426 FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"` 25427 } 25428 25429 // String returns the string representation. 25430 // 25431 // API parameter values that are decorated as "sensitive" in the API will not 25432 // be included in the string output. The member name will be present, but the 25433 // value will be replaced with "sensitive". 25434 func (s CreateUserDefinedFunctionInput) String() string { 25435 return awsutil.Prettify(s) 25436 } 25437 25438 // GoString returns the string representation. 25439 // 25440 // API parameter values that are decorated as "sensitive" in the API will not 25441 // be included in the string output. The member name will be present, but the 25442 // value will be replaced with "sensitive". 25443 func (s CreateUserDefinedFunctionInput) GoString() string { 25444 return s.String() 25445 } 25446 25447 // Validate inspects the fields of the type to determine if they are valid. 25448 func (s *CreateUserDefinedFunctionInput) Validate() error { 25449 invalidParams := request.ErrInvalidParams{Context: "CreateUserDefinedFunctionInput"} 25450 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 25451 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 25452 } 25453 if s.DatabaseName == nil { 25454 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 25455 } 25456 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 25457 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 25458 } 25459 if s.FunctionInput == nil { 25460 invalidParams.Add(request.NewErrParamRequired("FunctionInput")) 25461 } 25462 if s.FunctionInput != nil { 25463 if err := s.FunctionInput.Validate(); err != nil { 25464 invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams)) 25465 } 25466 } 25467 25468 if invalidParams.Len() > 0 { 25469 return invalidParams 25470 } 25471 return nil 25472 } 25473 25474 // SetCatalogId sets the CatalogId field's value. 25475 func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput { 25476 s.CatalogId = &v 25477 return s 25478 } 25479 25480 // SetDatabaseName sets the DatabaseName field's value. 25481 func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput { 25482 s.DatabaseName = &v 25483 return s 25484 } 25485 25486 // SetFunctionInput sets the FunctionInput field's value. 25487 func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput { 25488 s.FunctionInput = v 25489 return s 25490 } 25491 25492 type CreateUserDefinedFunctionOutput struct { 25493 _ struct{} `type:"structure"` 25494 } 25495 25496 // String returns the string representation. 25497 // 25498 // API parameter values that are decorated as "sensitive" in the API will not 25499 // be included in the string output. The member name will be present, but the 25500 // value will be replaced with "sensitive". 25501 func (s CreateUserDefinedFunctionOutput) String() string { 25502 return awsutil.Prettify(s) 25503 } 25504 25505 // GoString returns the string representation. 25506 // 25507 // API parameter values that are decorated as "sensitive" in the API will not 25508 // be included in the string output. The member name will be present, but the 25509 // value will be replaced with "sensitive". 25510 func (s CreateUserDefinedFunctionOutput) GoString() string { 25511 return s.String() 25512 } 25513 25514 type CreateWorkflowInput struct { 25515 _ struct{} `type:"structure"` 25516 25517 // A collection of properties to be used as part of each execution of the workflow. 25518 DefaultRunProperties map[string]*string `type:"map"` 25519 25520 // A description of the workflow. 25521 Description *string `type:"string"` 25522 25523 // You can use this parameter to prevent unwanted multiple updates to data, 25524 // to control costs, or in some cases, to prevent exceeding the maximum number 25525 // of concurrent runs of any of the component jobs. If you leave this parameter 25526 // blank, there is no limit to the number of concurrent workflow runs. 25527 MaxConcurrentRuns *int64 `type:"integer"` 25528 25529 // The name to be assigned to the workflow. It should be unique within your 25530 // account. 25531 // 25532 // Name is a required field 25533 Name *string `min:"1" type:"string" required:"true"` 25534 25535 // The tags to be used with this workflow. 25536 Tags map[string]*string `type:"map"` 25537 } 25538 25539 // String returns the string representation. 25540 // 25541 // API parameter values that are decorated as "sensitive" in the API will not 25542 // be included in the string output. The member name will be present, but the 25543 // value will be replaced with "sensitive". 25544 func (s CreateWorkflowInput) String() string { 25545 return awsutil.Prettify(s) 25546 } 25547 25548 // GoString returns the string representation. 25549 // 25550 // API parameter values that are decorated as "sensitive" in the API will not 25551 // be included in the string output. The member name will be present, but the 25552 // value will be replaced with "sensitive". 25553 func (s CreateWorkflowInput) GoString() string { 25554 return s.String() 25555 } 25556 25557 // Validate inspects the fields of the type to determine if they are valid. 25558 func (s *CreateWorkflowInput) Validate() error { 25559 invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"} 25560 if s.Name == nil { 25561 invalidParams.Add(request.NewErrParamRequired("Name")) 25562 } 25563 if s.Name != nil && len(*s.Name) < 1 { 25564 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 25565 } 25566 25567 if invalidParams.Len() > 0 { 25568 return invalidParams 25569 } 25570 return nil 25571 } 25572 25573 // SetDefaultRunProperties sets the DefaultRunProperties field's value. 25574 func (s *CreateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *CreateWorkflowInput { 25575 s.DefaultRunProperties = v 25576 return s 25577 } 25578 25579 // SetDescription sets the Description field's value. 25580 func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput { 25581 s.Description = &v 25582 return s 25583 } 25584 25585 // SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. 25586 func (s *CreateWorkflowInput) SetMaxConcurrentRuns(v int64) *CreateWorkflowInput { 25587 s.MaxConcurrentRuns = &v 25588 return s 25589 } 25590 25591 // SetName sets the Name field's value. 25592 func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput { 25593 s.Name = &v 25594 return s 25595 } 25596 25597 // SetTags sets the Tags field's value. 25598 func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput { 25599 s.Tags = v 25600 return s 25601 } 25602 25603 type CreateWorkflowOutput struct { 25604 _ struct{} `type:"structure"` 25605 25606 // The name of the workflow which was provided as part of the request. 25607 Name *string `min:"1" type:"string"` 25608 } 25609 25610 // String returns the string representation. 25611 // 25612 // API parameter values that are decorated as "sensitive" in the API will not 25613 // be included in the string output. The member name will be present, but the 25614 // value will be replaced with "sensitive". 25615 func (s CreateWorkflowOutput) String() string { 25616 return awsutil.Prettify(s) 25617 } 25618 25619 // GoString returns the string representation. 25620 // 25621 // API parameter values that are decorated as "sensitive" in the API will not 25622 // be included in the string output. The member name will be present, but the 25623 // value will be replaced with "sensitive". 25624 func (s CreateWorkflowOutput) GoString() string { 25625 return s.String() 25626 } 25627 25628 // SetName sets the Name field's value. 25629 func (s *CreateWorkflowOutput) SetName(v string) *CreateWorkflowOutput { 25630 s.Name = &v 25631 return s 25632 } 25633 25634 // Specifies an XML classifier for CreateClassifier to create. 25635 type CreateXMLClassifierRequest struct { 25636 _ struct{} `type:"structure"` 25637 25638 // An identifier of the data format that the classifier matches. 25639 // 25640 // Classification is a required field 25641 Classification *string `type:"string" required:"true"` 25642 25643 // The name of the classifier. 25644 // 25645 // Name is a required field 25646 Name *string `min:"1" type:"string" required:"true"` 25647 25648 // The XML tag designating the element that contains each record in an XML document 25649 // being parsed. This can't identify a self-closing element (closed by />). 25650 // An empty row element that contains only attributes can be parsed as long 25651 // as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> 25652 // is okay, but <row item_a="A" item_b="B" /> is not). 25653 RowTag *string `type:"string"` 25654 } 25655 25656 // String returns the string representation. 25657 // 25658 // API parameter values that are decorated as "sensitive" in the API will not 25659 // be included in the string output. The member name will be present, but the 25660 // value will be replaced with "sensitive". 25661 func (s CreateXMLClassifierRequest) String() string { 25662 return awsutil.Prettify(s) 25663 } 25664 25665 // GoString returns the string representation. 25666 // 25667 // API parameter values that are decorated as "sensitive" in the API will not 25668 // be included in the string output. The member name will be present, but the 25669 // value will be replaced with "sensitive". 25670 func (s CreateXMLClassifierRequest) GoString() string { 25671 return s.String() 25672 } 25673 25674 // Validate inspects the fields of the type to determine if they are valid. 25675 func (s *CreateXMLClassifierRequest) Validate() error { 25676 invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"} 25677 if s.Classification == nil { 25678 invalidParams.Add(request.NewErrParamRequired("Classification")) 25679 } 25680 if s.Name == nil { 25681 invalidParams.Add(request.NewErrParamRequired("Name")) 25682 } 25683 if s.Name != nil && len(*s.Name) < 1 { 25684 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 25685 } 25686 25687 if invalidParams.Len() > 0 { 25688 return invalidParams 25689 } 25690 return nil 25691 } 25692 25693 // SetClassification sets the Classification field's value. 25694 func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest { 25695 s.Classification = &v 25696 return s 25697 } 25698 25699 // SetName sets the Name field's value. 25700 func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest { 25701 s.Name = &v 25702 return s 25703 } 25704 25705 // SetRowTag sets the RowTag field's value. 25706 func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest { 25707 s.RowTag = &v 25708 return s 25709 } 25710 25711 // A classifier for custom CSV content. 25712 type CsvClassifier struct { 25713 _ struct{} `type:"structure"` 25714 25715 // Enables the processing of files that contain only one column. 25716 AllowSingleColumn *bool `type:"boolean"` 25717 25718 // Indicates whether the CSV file contains a header. 25719 ContainsHeader *string `type:"string" enum:"CsvHeaderOption"` 25720 25721 // The time that this classifier was registered. 25722 CreationTime *time.Time `type:"timestamp"` 25723 25724 // A custom symbol to denote what separates each column entry in the row. 25725 Delimiter *string `min:"1" type:"string"` 25726 25727 // Specifies not to trim values before identifying the type of column values. 25728 // The default value is true. 25729 DisableValueTrimming *bool `type:"boolean"` 25730 25731 // A list of strings representing column names. 25732 Header []*string `type:"list"` 25733 25734 // The time that this classifier was last updated. 25735 LastUpdated *time.Time `type:"timestamp"` 25736 25737 // The name of the classifier. 25738 // 25739 // Name is a required field 25740 Name *string `min:"1" type:"string" required:"true"` 25741 25742 // A custom symbol to denote what combines content into a single column value. 25743 // It must be different from the column delimiter. 25744 QuoteSymbol *string `min:"1" type:"string"` 25745 25746 // The version of this classifier. 25747 Version *int64 `type:"long"` 25748 } 25749 25750 // String returns the string representation. 25751 // 25752 // API parameter values that are decorated as "sensitive" in the API will not 25753 // be included in the string output. The member name will be present, but the 25754 // value will be replaced with "sensitive". 25755 func (s CsvClassifier) String() string { 25756 return awsutil.Prettify(s) 25757 } 25758 25759 // GoString returns the string representation. 25760 // 25761 // API parameter values that are decorated as "sensitive" in the API will not 25762 // be included in the string output. The member name will be present, but the 25763 // value will be replaced with "sensitive". 25764 func (s CsvClassifier) GoString() string { 25765 return s.String() 25766 } 25767 25768 // SetAllowSingleColumn sets the AllowSingleColumn field's value. 25769 func (s *CsvClassifier) SetAllowSingleColumn(v bool) *CsvClassifier { 25770 s.AllowSingleColumn = &v 25771 return s 25772 } 25773 25774 // SetContainsHeader sets the ContainsHeader field's value. 25775 func (s *CsvClassifier) SetContainsHeader(v string) *CsvClassifier { 25776 s.ContainsHeader = &v 25777 return s 25778 } 25779 25780 // SetCreationTime sets the CreationTime field's value. 25781 func (s *CsvClassifier) SetCreationTime(v time.Time) *CsvClassifier { 25782 s.CreationTime = &v 25783 return s 25784 } 25785 25786 // SetDelimiter sets the Delimiter field's value. 25787 func (s *CsvClassifier) SetDelimiter(v string) *CsvClassifier { 25788 s.Delimiter = &v 25789 return s 25790 } 25791 25792 // SetDisableValueTrimming sets the DisableValueTrimming field's value. 25793 func (s *CsvClassifier) SetDisableValueTrimming(v bool) *CsvClassifier { 25794 s.DisableValueTrimming = &v 25795 return s 25796 } 25797 25798 // SetHeader sets the Header field's value. 25799 func (s *CsvClassifier) SetHeader(v []*string) *CsvClassifier { 25800 s.Header = v 25801 return s 25802 } 25803 25804 // SetLastUpdated sets the LastUpdated field's value. 25805 func (s *CsvClassifier) SetLastUpdated(v time.Time) *CsvClassifier { 25806 s.LastUpdated = &v 25807 return s 25808 } 25809 25810 // SetName sets the Name field's value. 25811 func (s *CsvClassifier) SetName(v string) *CsvClassifier { 25812 s.Name = &v 25813 return s 25814 } 25815 25816 // SetQuoteSymbol sets the QuoteSymbol field's value. 25817 func (s *CsvClassifier) SetQuoteSymbol(v string) *CsvClassifier { 25818 s.QuoteSymbol = &v 25819 return s 25820 } 25821 25822 // SetVersion sets the Version field's value. 25823 func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier { 25824 s.Version = &v 25825 return s 25826 } 25827 25828 // Contains configuration information for maintaining Data Catalog security. 25829 type DataCatalogEncryptionSettings struct { 25830 _ struct{} `type:"structure"` 25831 25832 // When connection password protection is enabled, the Data Catalog uses a customer-provided 25833 // key to encrypt the password as part of CreateConnection or UpdateConnection 25834 // and store it in the ENCRYPTED_PASSWORD field in the connection properties. 25835 // You can enable catalog encryption or only password encryption. 25836 ConnectionPasswordEncryption *ConnectionPasswordEncryption `type:"structure"` 25837 25838 // Specifies the encryption-at-rest configuration for the Data Catalog. 25839 EncryptionAtRest *EncryptionAtRest `type:"structure"` 25840 } 25841 25842 // String returns the string representation. 25843 // 25844 // API parameter values that are decorated as "sensitive" in the API will not 25845 // be included in the string output. The member name will be present, but the 25846 // value will be replaced with "sensitive". 25847 func (s DataCatalogEncryptionSettings) String() string { 25848 return awsutil.Prettify(s) 25849 } 25850 25851 // GoString returns the string representation. 25852 // 25853 // API parameter values that are decorated as "sensitive" in the API will not 25854 // be included in the string output. The member name will be present, but the 25855 // value will be replaced with "sensitive". 25856 func (s DataCatalogEncryptionSettings) GoString() string { 25857 return s.String() 25858 } 25859 25860 // Validate inspects the fields of the type to determine if they are valid. 25861 func (s *DataCatalogEncryptionSettings) Validate() error { 25862 invalidParams := request.ErrInvalidParams{Context: "DataCatalogEncryptionSettings"} 25863 if s.ConnectionPasswordEncryption != nil { 25864 if err := s.ConnectionPasswordEncryption.Validate(); err != nil { 25865 invalidParams.AddNested("ConnectionPasswordEncryption", err.(request.ErrInvalidParams)) 25866 } 25867 } 25868 if s.EncryptionAtRest != nil { 25869 if err := s.EncryptionAtRest.Validate(); err != nil { 25870 invalidParams.AddNested("EncryptionAtRest", err.(request.ErrInvalidParams)) 25871 } 25872 } 25873 25874 if invalidParams.Len() > 0 { 25875 return invalidParams 25876 } 25877 return nil 25878 } 25879 25880 // SetConnectionPasswordEncryption sets the ConnectionPasswordEncryption field's value. 25881 func (s *DataCatalogEncryptionSettings) SetConnectionPasswordEncryption(v *ConnectionPasswordEncryption) *DataCatalogEncryptionSettings { 25882 s.ConnectionPasswordEncryption = v 25883 return s 25884 } 25885 25886 // SetEncryptionAtRest sets the EncryptionAtRest field's value. 25887 func (s *DataCatalogEncryptionSettings) SetEncryptionAtRest(v *EncryptionAtRest) *DataCatalogEncryptionSettings { 25888 s.EncryptionAtRest = v 25889 return s 25890 } 25891 25892 // The Lake Formation principal. 25893 type DataLakePrincipal struct { 25894 _ struct{} `type:"structure"` 25895 25896 // An identifier for the Lake Formation principal. 25897 DataLakePrincipalIdentifier *string `min:"1" type:"string"` 25898 } 25899 25900 // String returns the string representation. 25901 // 25902 // API parameter values that are decorated as "sensitive" in the API will not 25903 // be included in the string output. The member name will be present, but the 25904 // value will be replaced with "sensitive". 25905 func (s DataLakePrincipal) String() string { 25906 return awsutil.Prettify(s) 25907 } 25908 25909 // GoString returns the string representation. 25910 // 25911 // API parameter values that are decorated as "sensitive" in the API will not 25912 // be included in the string output. The member name will be present, but the 25913 // value will be replaced with "sensitive". 25914 func (s DataLakePrincipal) GoString() string { 25915 return s.String() 25916 } 25917 25918 // Validate inspects the fields of the type to determine if they are valid. 25919 func (s *DataLakePrincipal) Validate() error { 25920 invalidParams := request.ErrInvalidParams{Context: "DataLakePrincipal"} 25921 if s.DataLakePrincipalIdentifier != nil && len(*s.DataLakePrincipalIdentifier) < 1 { 25922 invalidParams.Add(request.NewErrParamMinLen("DataLakePrincipalIdentifier", 1)) 25923 } 25924 25925 if invalidParams.Len() > 0 { 25926 return invalidParams 25927 } 25928 return nil 25929 } 25930 25931 // SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value. 25932 func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal { 25933 s.DataLakePrincipalIdentifier = &v 25934 return s 25935 } 25936 25937 // The Database object represents a logical grouping of tables that might reside 25938 // in a Hive metastore or an RDBMS. 25939 type Database struct { 25940 _ struct{} `type:"structure"` 25941 25942 // The ID of the Data Catalog in which the database resides. 25943 CatalogId *string `min:"1" type:"string"` 25944 25945 // Creates a set of default permissions on the table for principals. 25946 CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"` 25947 25948 // The time at which the metadata database was created in the catalog. 25949 CreateTime *time.Time `type:"timestamp"` 25950 25951 // A description of the database. 25952 Description *string `type:"string"` 25953 25954 // The location of the database (for example, an HDFS path). 25955 LocationUri *string `min:"1" type:"string"` 25956 25957 // The name of the database. For Hive compatibility, this is folded to lowercase 25958 // when it is stored. 25959 // 25960 // Name is a required field 25961 Name *string `min:"1" type:"string" required:"true"` 25962 25963 // These key-value pairs define parameters and properties of the database. 25964 Parameters map[string]*string `type:"map"` 25965 25966 // A DatabaseIdentifier structure that describes a target database for resource 25967 // linking. 25968 TargetDatabase *DatabaseIdentifier `type:"structure"` 25969 } 25970 25971 // String returns the string representation. 25972 // 25973 // API parameter values that are decorated as "sensitive" in the API will not 25974 // be included in the string output. The member name will be present, but the 25975 // value will be replaced with "sensitive". 25976 func (s Database) String() string { 25977 return awsutil.Prettify(s) 25978 } 25979 25980 // GoString returns the string representation. 25981 // 25982 // API parameter values that are decorated as "sensitive" in the API will not 25983 // be included in the string output. The member name will be present, but the 25984 // value will be replaced with "sensitive". 25985 func (s Database) GoString() string { 25986 return s.String() 25987 } 25988 25989 // SetCatalogId sets the CatalogId field's value. 25990 func (s *Database) SetCatalogId(v string) *Database { 25991 s.CatalogId = &v 25992 return s 25993 } 25994 25995 // SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value. 25996 func (s *Database) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *Database { 25997 s.CreateTableDefaultPermissions = v 25998 return s 25999 } 26000 26001 // SetCreateTime sets the CreateTime field's value. 26002 func (s *Database) SetCreateTime(v time.Time) *Database { 26003 s.CreateTime = &v 26004 return s 26005 } 26006 26007 // SetDescription sets the Description field's value. 26008 func (s *Database) SetDescription(v string) *Database { 26009 s.Description = &v 26010 return s 26011 } 26012 26013 // SetLocationUri sets the LocationUri field's value. 26014 func (s *Database) SetLocationUri(v string) *Database { 26015 s.LocationUri = &v 26016 return s 26017 } 26018 26019 // SetName sets the Name field's value. 26020 func (s *Database) SetName(v string) *Database { 26021 s.Name = &v 26022 return s 26023 } 26024 26025 // SetParameters sets the Parameters field's value. 26026 func (s *Database) SetParameters(v map[string]*string) *Database { 26027 s.Parameters = v 26028 return s 26029 } 26030 26031 // SetTargetDatabase sets the TargetDatabase field's value. 26032 func (s *Database) SetTargetDatabase(v *DatabaseIdentifier) *Database { 26033 s.TargetDatabase = v 26034 return s 26035 } 26036 26037 // A structure that describes a target database for resource linking. 26038 type DatabaseIdentifier struct { 26039 _ struct{} `type:"structure"` 26040 26041 // The ID of the Data Catalog in which the database resides. 26042 CatalogId *string `min:"1" type:"string"` 26043 26044 // The name of the catalog database. 26045 DatabaseName *string `min:"1" type:"string"` 26046 } 26047 26048 // String returns the string representation. 26049 // 26050 // API parameter values that are decorated as "sensitive" in the API will not 26051 // be included in the string output. The member name will be present, but the 26052 // value will be replaced with "sensitive". 26053 func (s DatabaseIdentifier) String() string { 26054 return awsutil.Prettify(s) 26055 } 26056 26057 // GoString returns the string representation. 26058 // 26059 // API parameter values that are decorated as "sensitive" in the API will not 26060 // be included in the string output. The member name will be present, but the 26061 // value will be replaced with "sensitive". 26062 func (s DatabaseIdentifier) GoString() string { 26063 return s.String() 26064 } 26065 26066 // Validate inspects the fields of the type to determine if they are valid. 26067 func (s *DatabaseIdentifier) Validate() error { 26068 invalidParams := request.ErrInvalidParams{Context: "DatabaseIdentifier"} 26069 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 26070 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 26071 } 26072 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 26073 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 26074 } 26075 26076 if invalidParams.Len() > 0 { 26077 return invalidParams 26078 } 26079 return nil 26080 } 26081 26082 // SetCatalogId sets the CatalogId field's value. 26083 func (s *DatabaseIdentifier) SetCatalogId(v string) *DatabaseIdentifier { 26084 s.CatalogId = &v 26085 return s 26086 } 26087 26088 // SetDatabaseName sets the DatabaseName field's value. 26089 func (s *DatabaseIdentifier) SetDatabaseName(v string) *DatabaseIdentifier { 26090 s.DatabaseName = &v 26091 return s 26092 } 26093 26094 // The structure used to create or update a database. 26095 type DatabaseInput struct { 26096 _ struct{} `type:"structure"` 26097 26098 // Creates a set of default permissions on the table for principals. 26099 CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"` 26100 26101 // A description of the database. 26102 Description *string `type:"string"` 26103 26104 // The location of the database (for example, an HDFS path). 26105 LocationUri *string `min:"1" type:"string"` 26106 26107 // The name of the database. For Hive compatibility, this is folded to lowercase 26108 // when it is stored. 26109 // 26110 // Name is a required field 26111 Name *string `min:"1" type:"string" required:"true"` 26112 26113 // These key-value pairs define parameters and properties of the database. 26114 // 26115 // These key-value pairs define parameters and properties of the database. 26116 Parameters map[string]*string `type:"map"` 26117 26118 // A DatabaseIdentifier structure that describes a target database for resource 26119 // linking. 26120 TargetDatabase *DatabaseIdentifier `type:"structure"` 26121 } 26122 26123 // String returns the string representation. 26124 // 26125 // API parameter values that are decorated as "sensitive" in the API will not 26126 // be included in the string output. The member name will be present, but the 26127 // value will be replaced with "sensitive". 26128 func (s DatabaseInput) String() string { 26129 return awsutil.Prettify(s) 26130 } 26131 26132 // GoString returns the string representation. 26133 // 26134 // API parameter values that are decorated as "sensitive" in the API will not 26135 // be included in the string output. The member name will be present, but the 26136 // value will be replaced with "sensitive". 26137 func (s DatabaseInput) GoString() string { 26138 return s.String() 26139 } 26140 26141 // Validate inspects the fields of the type to determine if they are valid. 26142 func (s *DatabaseInput) Validate() error { 26143 invalidParams := request.ErrInvalidParams{Context: "DatabaseInput"} 26144 if s.LocationUri != nil && len(*s.LocationUri) < 1 { 26145 invalidParams.Add(request.NewErrParamMinLen("LocationUri", 1)) 26146 } 26147 if s.Name == nil { 26148 invalidParams.Add(request.NewErrParamRequired("Name")) 26149 } 26150 if s.Name != nil && len(*s.Name) < 1 { 26151 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 26152 } 26153 if s.CreateTableDefaultPermissions != nil { 26154 for i, v := range s.CreateTableDefaultPermissions { 26155 if v == nil { 26156 continue 26157 } 26158 if err := v.Validate(); err != nil { 26159 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CreateTableDefaultPermissions", i), err.(request.ErrInvalidParams)) 26160 } 26161 } 26162 } 26163 if s.TargetDatabase != nil { 26164 if err := s.TargetDatabase.Validate(); err != nil { 26165 invalidParams.AddNested("TargetDatabase", err.(request.ErrInvalidParams)) 26166 } 26167 } 26168 26169 if invalidParams.Len() > 0 { 26170 return invalidParams 26171 } 26172 return nil 26173 } 26174 26175 // SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value. 26176 func (s *DatabaseInput) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DatabaseInput { 26177 s.CreateTableDefaultPermissions = v 26178 return s 26179 } 26180 26181 // SetDescription sets the Description field's value. 26182 func (s *DatabaseInput) SetDescription(v string) *DatabaseInput { 26183 s.Description = &v 26184 return s 26185 } 26186 26187 // SetLocationUri sets the LocationUri field's value. 26188 func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput { 26189 s.LocationUri = &v 26190 return s 26191 } 26192 26193 // SetName sets the Name field's value. 26194 func (s *DatabaseInput) SetName(v string) *DatabaseInput { 26195 s.Name = &v 26196 return s 26197 } 26198 26199 // SetParameters sets the Parameters field's value. 26200 func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput { 26201 s.Parameters = v 26202 return s 26203 } 26204 26205 // SetTargetDatabase sets the TargetDatabase field's value. 26206 func (s *DatabaseInput) SetTargetDatabase(v *DatabaseIdentifier) *DatabaseInput { 26207 s.TargetDatabase = v 26208 return s 26209 } 26210 26211 // Defines column statistics supported for timestamp data columns. 26212 type DateColumnStatisticsData struct { 26213 _ struct{} `type:"structure"` 26214 26215 // The highest value in the column. 26216 MaximumValue *time.Time `type:"timestamp"` 26217 26218 // The lowest value in the column. 26219 MinimumValue *time.Time `type:"timestamp"` 26220 26221 // The number of distinct values in a column. 26222 // 26223 // NumberOfDistinctValues is a required field 26224 NumberOfDistinctValues *int64 `type:"long" required:"true"` 26225 26226 // The number of null values in the column. 26227 // 26228 // NumberOfNulls is a required field 26229 NumberOfNulls *int64 `type:"long" required:"true"` 26230 } 26231 26232 // String returns the string representation. 26233 // 26234 // API parameter values that are decorated as "sensitive" in the API will not 26235 // be included in the string output. The member name will be present, but the 26236 // value will be replaced with "sensitive". 26237 func (s DateColumnStatisticsData) String() string { 26238 return awsutil.Prettify(s) 26239 } 26240 26241 // GoString returns the string representation. 26242 // 26243 // API parameter values that are decorated as "sensitive" in the API will not 26244 // be included in the string output. The member name will be present, but the 26245 // value will be replaced with "sensitive". 26246 func (s DateColumnStatisticsData) GoString() string { 26247 return s.String() 26248 } 26249 26250 // Validate inspects the fields of the type to determine if they are valid. 26251 func (s *DateColumnStatisticsData) Validate() error { 26252 invalidParams := request.ErrInvalidParams{Context: "DateColumnStatisticsData"} 26253 if s.NumberOfDistinctValues == nil { 26254 invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues")) 26255 } 26256 if s.NumberOfNulls == nil { 26257 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 26258 } 26259 26260 if invalidParams.Len() > 0 { 26261 return invalidParams 26262 } 26263 return nil 26264 } 26265 26266 // SetMaximumValue sets the MaximumValue field's value. 26267 func (s *DateColumnStatisticsData) SetMaximumValue(v time.Time) *DateColumnStatisticsData { 26268 s.MaximumValue = &v 26269 return s 26270 } 26271 26272 // SetMinimumValue sets the MinimumValue field's value. 26273 func (s *DateColumnStatisticsData) SetMinimumValue(v time.Time) *DateColumnStatisticsData { 26274 s.MinimumValue = &v 26275 return s 26276 } 26277 26278 // SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value. 26279 func (s *DateColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DateColumnStatisticsData { 26280 s.NumberOfDistinctValues = &v 26281 return s 26282 } 26283 26284 // SetNumberOfNulls sets the NumberOfNulls field's value. 26285 func (s *DateColumnStatisticsData) SetNumberOfNulls(v int64) *DateColumnStatisticsData { 26286 s.NumberOfNulls = &v 26287 return s 26288 } 26289 26290 // Defines column statistics supported for fixed-point number data columns. 26291 type DecimalColumnStatisticsData struct { 26292 _ struct{} `type:"structure"` 26293 26294 // The highest value in the column. 26295 MaximumValue *DecimalNumber `type:"structure"` 26296 26297 // The lowest value in the column. 26298 MinimumValue *DecimalNumber `type:"structure"` 26299 26300 // The number of distinct values in a column. 26301 // 26302 // NumberOfDistinctValues is a required field 26303 NumberOfDistinctValues *int64 `type:"long" required:"true"` 26304 26305 // The number of null values in the column. 26306 // 26307 // NumberOfNulls is a required field 26308 NumberOfNulls *int64 `type:"long" required:"true"` 26309 } 26310 26311 // String returns the string representation. 26312 // 26313 // API parameter values that are decorated as "sensitive" in the API will not 26314 // be included in the string output. The member name will be present, but the 26315 // value will be replaced with "sensitive". 26316 func (s DecimalColumnStatisticsData) String() string { 26317 return awsutil.Prettify(s) 26318 } 26319 26320 // GoString returns the string representation. 26321 // 26322 // API parameter values that are decorated as "sensitive" in the API will not 26323 // be included in the string output. The member name will be present, but the 26324 // value will be replaced with "sensitive". 26325 func (s DecimalColumnStatisticsData) GoString() string { 26326 return s.String() 26327 } 26328 26329 // Validate inspects the fields of the type to determine if they are valid. 26330 func (s *DecimalColumnStatisticsData) Validate() error { 26331 invalidParams := request.ErrInvalidParams{Context: "DecimalColumnStatisticsData"} 26332 if s.NumberOfDistinctValues == nil { 26333 invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues")) 26334 } 26335 if s.NumberOfNulls == nil { 26336 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 26337 } 26338 if s.MaximumValue != nil { 26339 if err := s.MaximumValue.Validate(); err != nil { 26340 invalidParams.AddNested("MaximumValue", err.(request.ErrInvalidParams)) 26341 } 26342 } 26343 if s.MinimumValue != nil { 26344 if err := s.MinimumValue.Validate(); err != nil { 26345 invalidParams.AddNested("MinimumValue", err.(request.ErrInvalidParams)) 26346 } 26347 } 26348 26349 if invalidParams.Len() > 0 { 26350 return invalidParams 26351 } 26352 return nil 26353 } 26354 26355 // SetMaximumValue sets the MaximumValue field's value. 26356 func (s *DecimalColumnStatisticsData) SetMaximumValue(v *DecimalNumber) *DecimalColumnStatisticsData { 26357 s.MaximumValue = v 26358 return s 26359 } 26360 26361 // SetMinimumValue sets the MinimumValue field's value. 26362 func (s *DecimalColumnStatisticsData) SetMinimumValue(v *DecimalNumber) *DecimalColumnStatisticsData { 26363 s.MinimumValue = v 26364 return s 26365 } 26366 26367 // SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value. 26368 func (s *DecimalColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DecimalColumnStatisticsData { 26369 s.NumberOfDistinctValues = &v 26370 return s 26371 } 26372 26373 // SetNumberOfNulls sets the NumberOfNulls field's value. 26374 func (s *DecimalColumnStatisticsData) SetNumberOfNulls(v int64) *DecimalColumnStatisticsData { 26375 s.NumberOfNulls = &v 26376 return s 26377 } 26378 26379 // Contains a numeric value in decimal format. 26380 type DecimalNumber struct { 26381 _ struct{} `type:"structure"` 26382 26383 // The scale that determines where the decimal point falls in the unscaled value. 26384 // 26385 // Scale is a required field 26386 Scale *int64 `type:"integer" required:"true"` 26387 26388 // The unscaled numeric value. 26389 // UnscaledValue is automatically base64 encoded/decoded by the SDK. 26390 // 26391 // UnscaledValue is a required field 26392 UnscaledValue []byte `type:"blob" required:"true"` 26393 } 26394 26395 // String returns the string representation. 26396 // 26397 // API parameter values that are decorated as "sensitive" in the API will not 26398 // be included in the string output. The member name will be present, but the 26399 // value will be replaced with "sensitive". 26400 func (s DecimalNumber) String() string { 26401 return awsutil.Prettify(s) 26402 } 26403 26404 // GoString returns the string representation. 26405 // 26406 // API parameter values that are decorated as "sensitive" in the API will not 26407 // be included in the string output. The member name will be present, but the 26408 // value will be replaced with "sensitive". 26409 func (s DecimalNumber) GoString() string { 26410 return s.String() 26411 } 26412 26413 // Validate inspects the fields of the type to determine if they are valid. 26414 func (s *DecimalNumber) Validate() error { 26415 invalidParams := request.ErrInvalidParams{Context: "DecimalNumber"} 26416 if s.Scale == nil { 26417 invalidParams.Add(request.NewErrParamRequired("Scale")) 26418 } 26419 if s.UnscaledValue == nil { 26420 invalidParams.Add(request.NewErrParamRequired("UnscaledValue")) 26421 } 26422 26423 if invalidParams.Len() > 0 { 26424 return invalidParams 26425 } 26426 return nil 26427 } 26428 26429 // SetScale sets the Scale field's value. 26430 func (s *DecimalNumber) SetScale(v int64) *DecimalNumber { 26431 s.Scale = &v 26432 return s 26433 } 26434 26435 // SetUnscaledValue sets the UnscaledValue field's value. 26436 func (s *DecimalNumber) SetUnscaledValue(v []byte) *DecimalNumber { 26437 s.UnscaledValue = v 26438 return s 26439 } 26440 26441 type DeleteBlueprintInput struct { 26442 _ struct{} `type:"structure"` 26443 26444 // The name of the blueprint to delete. 26445 // 26446 // Name is a required field 26447 Name *string `min:"1" type:"string" required:"true"` 26448 } 26449 26450 // String returns the string representation. 26451 // 26452 // API parameter values that are decorated as "sensitive" in the API will not 26453 // be included in the string output. The member name will be present, but the 26454 // value will be replaced with "sensitive". 26455 func (s DeleteBlueprintInput) String() string { 26456 return awsutil.Prettify(s) 26457 } 26458 26459 // GoString returns the string representation. 26460 // 26461 // API parameter values that are decorated as "sensitive" in the API will not 26462 // be included in the string output. The member name will be present, but the 26463 // value will be replaced with "sensitive". 26464 func (s DeleteBlueprintInput) GoString() string { 26465 return s.String() 26466 } 26467 26468 // Validate inspects the fields of the type to determine if they are valid. 26469 func (s *DeleteBlueprintInput) Validate() error { 26470 invalidParams := request.ErrInvalidParams{Context: "DeleteBlueprintInput"} 26471 if s.Name == nil { 26472 invalidParams.Add(request.NewErrParamRequired("Name")) 26473 } 26474 if s.Name != nil && len(*s.Name) < 1 { 26475 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 26476 } 26477 26478 if invalidParams.Len() > 0 { 26479 return invalidParams 26480 } 26481 return nil 26482 } 26483 26484 // SetName sets the Name field's value. 26485 func (s *DeleteBlueprintInput) SetName(v string) *DeleteBlueprintInput { 26486 s.Name = &v 26487 return s 26488 } 26489 26490 type DeleteBlueprintOutput struct { 26491 _ struct{} `type:"structure"` 26492 26493 // Returns the name of the blueprint that was deleted. 26494 Name *string `min:"1" type:"string"` 26495 } 26496 26497 // String returns the string representation. 26498 // 26499 // API parameter values that are decorated as "sensitive" in the API will not 26500 // be included in the string output. The member name will be present, but the 26501 // value will be replaced with "sensitive". 26502 func (s DeleteBlueprintOutput) String() string { 26503 return awsutil.Prettify(s) 26504 } 26505 26506 // GoString returns the string representation. 26507 // 26508 // API parameter values that are decorated as "sensitive" in the API will not 26509 // be included in the string output. The member name will be present, but the 26510 // value will be replaced with "sensitive". 26511 func (s DeleteBlueprintOutput) GoString() string { 26512 return s.String() 26513 } 26514 26515 // SetName sets the Name field's value. 26516 func (s *DeleteBlueprintOutput) SetName(v string) *DeleteBlueprintOutput { 26517 s.Name = &v 26518 return s 26519 } 26520 26521 type DeleteClassifierInput struct { 26522 _ struct{} `type:"structure"` 26523 26524 // Name of the classifier to remove. 26525 // 26526 // Name is a required field 26527 Name *string `min:"1" type:"string" required:"true"` 26528 } 26529 26530 // String returns the string representation. 26531 // 26532 // API parameter values that are decorated as "sensitive" in the API will not 26533 // be included in the string output. The member name will be present, but the 26534 // value will be replaced with "sensitive". 26535 func (s DeleteClassifierInput) String() string { 26536 return awsutil.Prettify(s) 26537 } 26538 26539 // GoString returns the string representation. 26540 // 26541 // API parameter values that are decorated as "sensitive" in the API will not 26542 // be included in the string output. The member name will be present, but the 26543 // value will be replaced with "sensitive". 26544 func (s DeleteClassifierInput) GoString() string { 26545 return s.String() 26546 } 26547 26548 // Validate inspects the fields of the type to determine if they are valid. 26549 func (s *DeleteClassifierInput) Validate() error { 26550 invalidParams := request.ErrInvalidParams{Context: "DeleteClassifierInput"} 26551 if s.Name == nil { 26552 invalidParams.Add(request.NewErrParamRequired("Name")) 26553 } 26554 if s.Name != nil && len(*s.Name) < 1 { 26555 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 26556 } 26557 26558 if invalidParams.Len() > 0 { 26559 return invalidParams 26560 } 26561 return nil 26562 } 26563 26564 // SetName sets the Name field's value. 26565 func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput { 26566 s.Name = &v 26567 return s 26568 } 26569 26570 type DeleteClassifierOutput struct { 26571 _ struct{} `type:"structure"` 26572 } 26573 26574 // String returns the string representation. 26575 // 26576 // API parameter values that are decorated as "sensitive" in the API will not 26577 // be included in the string output. The member name will be present, but the 26578 // value will be replaced with "sensitive". 26579 func (s DeleteClassifierOutput) String() string { 26580 return awsutil.Prettify(s) 26581 } 26582 26583 // GoString returns the string representation. 26584 // 26585 // API parameter values that are decorated as "sensitive" in the API will not 26586 // be included in the string output. The member name will be present, but the 26587 // value will be replaced with "sensitive". 26588 func (s DeleteClassifierOutput) GoString() string { 26589 return s.String() 26590 } 26591 26592 type DeleteColumnStatisticsForPartitionInput struct { 26593 _ struct{} `type:"structure"` 26594 26595 // The ID of the Data Catalog where the partitions in question reside. If none 26596 // is supplied, the Amazon Web Services account ID is used by default. 26597 CatalogId *string `min:"1" type:"string"` 26598 26599 // Name of the column. 26600 // 26601 // ColumnName is a required field 26602 ColumnName *string `min:"1" type:"string" required:"true"` 26603 26604 // The name of the catalog database where the partitions reside. 26605 // 26606 // DatabaseName is a required field 26607 DatabaseName *string `min:"1" type:"string" required:"true"` 26608 26609 // A list of partition values identifying the partition. 26610 // 26611 // PartitionValues is a required field 26612 PartitionValues []*string `type:"list" required:"true"` 26613 26614 // The name of the partitions' table. 26615 // 26616 // TableName is a required field 26617 TableName *string `min:"1" type:"string" required:"true"` 26618 } 26619 26620 // String returns the string representation. 26621 // 26622 // API parameter values that are decorated as "sensitive" in the API will not 26623 // be included in the string output. The member name will be present, but the 26624 // value will be replaced with "sensitive". 26625 func (s DeleteColumnStatisticsForPartitionInput) String() string { 26626 return awsutil.Prettify(s) 26627 } 26628 26629 // GoString returns the string representation. 26630 // 26631 // API parameter values that are decorated as "sensitive" in the API will not 26632 // be included in the string output. The member name will be present, but the 26633 // value will be replaced with "sensitive". 26634 func (s DeleteColumnStatisticsForPartitionInput) GoString() string { 26635 return s.String() 26636 } 26637 26638 // Validate inspects the fields of the type to determine if they are valid. 26639 func (s *DeleteColumnStatisticsForPartitionInput) Validate() error { 26640 invalidParams := request.ErrInvalidParams{Context: "DeleteColumnStatisticsForPartitionInput"} 26641 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 26642 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 26643 } 26644 if s.ColumnName == nil { 26645 invalidParams.Add(request.NewErrParamRequired("ColumnName")) 26646 } 26647 if s.ColumnName != nil && len(*s.ColumnName) < 1 { 26648 invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) 26649 } 26650 if s.DatabaseName == nil { 26651 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 26652 } 26653 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 26654 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 26655 } 26656 if s.PartitionValues == nil { 26657 invalidParams.Add(request.NewErrParamRequired("PartitionValues")) 26658 } 26659 if s.TableName == nil { 26660 invalidParams.Add(request.NewErrParamRequired("TableName")) 26661 } 26662 if s.TableName != nil && len(*s.TableName) < 1 { 26663 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 26664 } 26665 26666 if invalidParams.Len() > 0 { 26667 return invalidParams 26668 } 26669 return nil 26670 } 26671 26672 // SetCatalogId sets the CatalogId field's value. 26673 func (s *DeleteColumnStatisticsForPartitionInput) SetCatalogId(v string) *DeleteColumnStatisticsForPartitionInput { 26674 s.CatalogId = &v 26675 return s 26676 } 26677 26678 // SetColumnName sets the ColumnName field's value. 26679 func (s *DeleteColumnStatisticsForPartitionInput) SetColumnName(v string) *DeleteColumnStatisticsForPartitionInput { 26680 s.ColumnName = &v 26681 return s 26682 } 26683 26684 // SetDatabaseName sets the DatabaseName field's value. 26685 func (s *DeleteColumnStatisticsForPartitionInput) SetDatabaseName(v string) *DeleteColumnStatisticsForPartitionInput { 26686 s.DatabaseName = &v 26687 return s 26688 } 26689 26690 // SetPartitionValues sets the PartitionValues field's value. 26691 func (s *DeleteColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *DeleteColumnStatisticsForPartitionInput { 26692 s.PartitionValues = v 26693 return s 26694 } 26695 26696 // SetTableName sets the TableName field's value. 26697 func (s *DeleteColumnStatisticsForPartitionInput) SetTableName(v string) *DeleteColumnStatisticsForPartitionInput { 26698 s.TableName = &v 26699 return s 26700 } 26701 26702 type DeleteColumnStatisticsForPartitionOutput struct { 26703 _ struct{} `type:"structure"` 26704 } 26705 26706 // String returns the string representation. 26707 // 26708 // API parameter values that are decorated as "sensitive" in the API will not 26709 // be included in the string output. The member name will be present, but the 26710 // value will be replaced with "sensitive". 26711 func (s DeleteColumnStatisticsForPartitionOutput) String() string { 26712 return awsutil.Prettify(s) 26713 } 26714 26715 // GoString returns the string representation. 26716 // 26717 // API parameter values that are decorated as "sensitive" in the API will not 26718 // be included in the string output. The member name will be present, but the 26719 // value will be replaced with "sensitive". 26720 func (s DeleteColumnStatisticsForPartitionOutput) GoString() string { 26721 return s.String() 26722 } 26723 26724 type DeleteColumnStatisticsForTableInput struct { 26725 _ struct{} `type:"structure"` 26726 26727 // The ID of the Data Catalog where the partitions in question reside. If none 26728 // is supplied, the Amazon Web Services account ID is used by default. 26729 CatalogId *string `min:"1" type:"string"` 26730 26731 // The name of the column. 26732 // 26733 // ColumnName is a required field 26734 ColumnName *string `min:"1" type:"string" required:"true"` 26735 26736 // The name of the catalog database where the partitions reside. 26737 // 26738 // DatabaseName is a required field 26739 DatabaseName *string `min:"1" type:"string" required:"true"` 26740 26741 // The name of the partitions' table. 26742 // 26743 // TableName is a required field 26744 TableName *string `min:"1" type:"string" required:"true"` 26745 } 26746 26747 // String returns the string representation. 26748 // 26749 // API parameter values that are decorated as "sensitive" in the API will not 26750 // be included in the string output. The member name will be present, but the 26751 // value will be replaced with "sensitive". 26752 func (s DeleteColumnStatisticsForTableInput) String() string { 26753 return awsutil.Prettify(s) 26754 } 26755 26756 // GoString returns the string representation. 26757 // 26758 // API parameter values that are decorated as "sensitive" in the API will not 26759 // be included in the string output. The member name will be present, but the 26760 // value will be replaced with "sensitive". 26761 func (s DeleteColumnStatisticsForTableInput) GoString() string { 26762 return s.String() 26763 } 26764 26765 // Validate inspects the fields of the type to determine if they are valid. 26766 func (s *DeleteColumnStatisticsForTableInput) Validate() error { 26767 invalidParams := request.ErrInvalidParams{Context: "DeleteColumnStatisticsForTableInput"} 26768 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 26769 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 26770 } 26771 if s.ColumnName == nil { 26772 invalidParams.Add(request.NewErrParamRequired("ColumnName")) 26773 } 26774 if s.ColumnName != nil && len(*s.ColumnName) < 1 { 26775 invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) 26776 } 26777 if s.DatabaseName == nil { 26778 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 26779 } 26780 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 26781 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 26782 } 26783 if s.TableName == nil { 26784 invalidParams.Add(request.NewErrParamRequired("TableName")) 26785 } 26786 if s.TableName != nil && len(*s.TableName) < 1 { 26787 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 26788 } 26789 26790 if invalidParams.Len() > 0 { 26791 return invalidParams 26792 } 26793 return nil 26794 } 26795 26796 // SetCatalogId sets the CatalogId field's value. 26797 func (s *DeleteColumnStatisticsForTableInput) SetCatalogId(v string) *DeleteColumnStatisticsForTableInput { 26798 s.CatalogId = &v 26799 return s 26800 } 26801 26802 // SetColumnName sets the ColumnName field's value. 26803 func (s *DeleteColumnStatisticsForTableInput) SetColumnName(v string) *DeleteColumnStatisticsForTableInput { 26804 s.ColumnName = &v 26805 return s 26806 } 26807 26808 // SetDatabaseName sets the DatabaseName field's value. 26809 func (s *DeleteColumnStatisticsForTableInput) SetDatabaseName(v string) *DeleteColumnStatisticsForTableInput { 26810 s.DatabaseName = &v 26811 return s 26812 } 26813 26814 // SetTableName sets the TableName field's value. 26815 func (s *DeleteColumnStatisticsForTableInput) SetTableName(v string) *DeleteColumnStatisticsForTableInput { 26816 s.TableName = &v 26817 return s 26818 } 26819 26820 type DeleteColumnStatisticsForTableOutput struct { 26821 _ struct{} `type:"structure"` 26822 } 26823 26824 // String returns the string representation. 26825 // 26826 // API parameter values that are decorated as "sensitive" in the API will not 26827 // be included in the string output. The member name will be present, but the 26828 // value will be replaced with "sensitive". 26829 func (s DeleteColumnStatisticsForTableOutput) String() string { 26830 return awsutil.Prettify(s) 26831 } 26832 26833 // GoString returns the string representation. 26834 // 26835 // API parameter values that are decorated as "sensitive" in the API will not 26836 // be included in the string output. The member name will be present, but the 26837 // value will be replaced with "sensitive". 26838 func (s DeleteColumnStatisticsForTableOutput) GoString() string { 26839 return s.String() 26840 } 26841 26842 type DeleteConnectionInput struct { 26843 _ struct{} `type:"structure"` 26844 26845 // The ID of the Data Catalog in which the connection resides. If none is provided, 26846 // the Amazon Web Services account ID is used by default. 26847 CatalogId *string `min:"1" type:"string"` 26848 26849 // The name of the connection to delete. 26850 // 26851 // ConnectionName is a required field 26852 ConnectionName *string `min:"1" type:"string" required:"true"` 26853 } 26854 26855 // String returns the string representation. 26856 // 26857 // API parameter values that are decorated as "sensitive" in the API will not 26858 // be included in the string output. The member name will be present, but the 26859 // value will be replaced with "sensitive". 26860 func (s DeleteConnectionInput) String() string { 26861 return awsutil.Prettify(s) 26862 } 26863 26864 // GoString returns the string representation. 26865 // 26866 // API parameter values that are decorated as "sensitive" in the API will not 26867 // be included in the string output. The member name will be present, but the 26868 // value will be replaced with "sensitive". 26869 func (s DeleteConnectionInput) GoString() string { 26870 return s.String() 26871 } 26872 26873 // Validate inspects the fields of the type to determine if they are valid. 26874 func (s *DeleteConnectionInput) Validate() error { 26875 invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"} 26876 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 26877 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 26878 } 26879 if s.ConnectionName == nil { 26880 invalidParams.Add(request.NewErrParamRequired("ConnectionName")) 26881 } 26882 if s.ConnectionName != nil && len(*s.ConnectionName) < 1 { 26883 invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1)) 26884 } 26885 26886 if invalidParams.Len() > 0 { 26887 return invalidParams 26888 } 26889 return nil 26890 } 26891 26892 // SetCatalogId sets the CatalogId field's value. 26893 func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput { 26894 s.CatalogId = &v 26895 return s 26896 } 26897 26898 // SetConnectionName sets the ConnectionName field's value. 26899 func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput { 26900 s.ConnectionName = &v 26901 return s 26902 } 26903 26904 type DeleteConnectionOutput struct { 26905 _ struct{} `type:"structure"` 26906 } 26907 26908 // String returns the string representation. 26909 // 26910 // API parameter values that are decorated as "sensitive" in the API will not 26911 // be included in the string output. The member name will be present, but the 26912 // value will be replaced with "sensitive". 26913 func (s DeleteConnectionOutput) String() string { 26914 return awsutil.Prettify(s) 26915 } 26916 26917 // GoString returns the string representation. 26918 // 26919 // API parameter values that are decorated as "sensitive" in the API will not 26920 // be included in the string output. The member name will be present, but the 26921 // value will be replaced with "sensitive". 26922 func (s DeleteConnectionOutput) GoString() string { 26923 return s.String() 26924 } 26925 26926 type DeleteCrawlerInput struct { 26927 _ struct{} `type:"structure"` 26928 26929 // The name of the crawler to remove. 26930 // 26931 // Name is a required field 26932 Name *string `min:"1" type:"string" required:"true"` 26933 } 26934 26935 // String returns the string representation. 26936 // 26937 // API parameter values that are decorated as "sensitive" in the API will not 26938 // be included in the string output. The member name will be present, but the 26939 // value will be replaced with "sensitive". 26940 func (s DeleteCrawlerInput) String() string { 26941 return awsutil.Prettify(s) 26942 } 26943 26944 // GoString returns the string representation. 26945 // 26946 // API parameter values that are decorated as "sensitive" in the API will not 26947 // be included in the string output. The member name will be present, but the 26948 // value will be replaced with "sensitive". 26949 func (s DeleteCrawlerInput) GoString() string { 26950 return s.String() 26951 } 26952 26953 // Validate inspects the fields of the type to determine if they are valid. 26954 func (s *DeleteCrawlerInput) Validate() error { 26955 invalidParams := request.ErrInvalidParams{Context: "DeleteCrawlerInput"} 26956 if s.Name == nil { 26957 invalidParams.Add(request.NewErrParamRequired("Name")) 26958 } 26959 if s.Name != nil && len(*s.Name) < 1 { 26960 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 26961 } 26962 26963 if invalidParams.Len() > 0 { 26964 return invalidParams 26965 } 26966 return nil 26967 } 26968 26969 // SetName sets the Name field's value. 26970 func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput { 26971 s.Name = &v 26972 return s 26973 } 26974 26975 type DeleteCrawlerOutput struct { 26976 _ struct{} `type:"structure"` 26977 } 26978 26979 // String returns the string representation. 26980 // 26981 // API parameter values that are decorated as "sensitive" in the API will not 26982 // be included in the string output. The member name will be present, but the 26983 // value will be replaced with "sensitive". 26984 func (s DeleteCrawlerOutput) String() string { 26985 return awsutil.Prettify(s) 26986 } 26987 26988 // GoString returns the string representation. 26989 // 26990 // API parameter values that are decorated as "sensitive" in the API will not 26991 // be included in the string output. The member name will be present, but the 26992 // value will be replaced with "sensitive". 26993 func (s DeleteCrawlerOutput) GoString() string { 26994 return s.String() 26995 } 26996 26997 type DeleteDatabaseInput struct { 26998 _ struct{} `type:"structure"` 26999 27000 // The ID of the Data Catalog in which the database resides. If none is provided, 27001 // the Amazon Web Services account ID is used by default. 27002 CatalogId *string `min:"1" type:"string"` 27003 27004 // The name of the database to delete. For Hive compatibility, this must be 27005 // all lowercase. 27006 // 27007 // Name is a required field 27008 Name *string `min:"1" type:"string" required:"true"` 27009 } 27010 27011 // String returns the string representation. 27012 // 27013 // API parameter values that are decorated as "sensitive" in the API will not 27014 // be included in the string output. The member name will be present, but the 27015 // value will be replaced with "sensitive". 27016 func (s DeleteDatabaseInput) String() string { 27017 return awsutil.Prettify(s) 27018 } 27019 27020 // GoString returns the string representation. 27021 // 27022 // API parameter values that are decorated as "sensitive" in the API will not 27023 // be included in the string output. The member name will be present, but the 27024 // value will be replaced with "sensitive". 27025 func (s DeleteDatabaseInput) GoString() string { 27026 return s.String() 27027 } 27028 27029 // Validate inspects the fields of the type to determine if they are valid. 27030 func (s *DeleteDatabaseInput) Validate() error { 27031 invalidParams := request.ErrInvalidParams{Context: "DeleteDatabaseInput"} 27032 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 27033 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 27034 } 27035 if s.Name == nil { 27036 invalidParams.Add(request.NewErrParamRequired("Name")) 27037 } 27038 if s.Name != nil && len(*s.Name) < 1 { 27039 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 27040 } 27041 27042 if invalidParams.Len() > 0 { 27043 return invalidParams 27044 } 27045 return nil 27046 } 27047 27048 // SetCatalogId sets the CatalogId field's value. 27049 func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput { 27050 s.CatalogId = &v 27051 return s 27052 } 27053 27054 // SetName sets the Name field's value. 27055 func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput { 27056 s.Name = &v 27057 return s 27058 } 27059 27060 type DeleteDatabaseOutput struct { 27061 _ struct{} `type:"structure"` 27062 } 27063 27064 // String returns the string representation. 27065 // 27066 // API parameter values that are decorated as "sensitive" in the API will not 27067 // be included in the string output. The member name will be present, but the 27068 // value will be replaced with "sensitive". 27069 func (s DeleteDatabaseOutput) String() string { 27070 return awsutil.Prettify(s) 27071 } 27072 27073 // GoString returns the string representation. 27074 // 27075 // API parameter values that are decorated as "sensitive" in the API will not 27076 // be included in the string output. The member name will be present, but the 27077 // value will be replaced with "sensitive". 27078 func (s DeleteDatabaseOutput) GoString() string { 27079 return s.String() 27080 } 27081 27082 type DeleteDevEndpointInput struct { 27083 _ struct{} `type:"structure"` 27084 27085 // The name of the DevEndpoint. 27086 // 27087 // EndpointName is a required field 27088 EndpointName *string `type:"string" required:"true"` 27089 } 27090 27091 // String returns the string representation. 27092 // 27093 // API parameter values that are decorated as "sensitive" in the API will not 27094 // be included in the string output. The member name will be present, but the 27095 // value will be replaced with "sensitive". 27096 func (s DeleteDevEndpointInput) String() string { 27097 return awsutil.Prettify(s) 27098 } 27099 27100 // GoString returns the string representation. 27101 // 27102 // API parameter values that are decorated as "sensitive" in the API will not 27103 // be included in the string output. The member name will be present, but the 27104 // value will be replaced with "sensitive". 27105 func (s DeleteDevEndpointInput) GoString() string { 27106 return s.String() 27107 } 27108 27109 // Validate inspects the fields of the type to determine if they are valid. 27110 func (s *DeleteDevEndpointInput) Validate() error { 27111 invalidParams := request.ErrInvalidParams{Context: "DeleteDevEndpointInput"} 27112 if s.EndpointName == nil { 27113 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 27114 } 27115 27116 if invalidParams.Len() > 0 { 27117 return invalidParams 27118 } 27119 return nil 27120 } 27121 27122 // SetEndpointName sets the EndpointName field's value. 27123 func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput { 27124 s.EndpointName = &v 27125 return s 27126 } 27127 27128 type DeleteDevEndpointOutput struct { 27129 _ struct{} `type:"structure"` 27130 } 27131 27132 // String returns the string representation. 27133 // 27134 // API parameter values that are decorated as "sensitive" in the API will not 27135 // be included in the string output. The member name will be present, but the 27136 // value will be replaced with "sensitive". 27137 func (s DeleteDevEndpointOutput) String() string { 27138 return awsutil.Prettify(s) 27139 } 27140 27141 // GoString returns the string representation. 27142 // 27143 // API parameter values that are decorated as "sensitive" in the API will not 27144 // be included in the string output. The member name will be present, but the 27145 // value will be replaced with "sensitive". 27146 func (s DeleteDevEndpointOutput) GoString() string { 27147 return s.String() 27148 } 27149 27150 type DeleteJobInput struct { 27151 _ struct{} `type:"structure"` 27152 27153 // The name of the job definition to delete. 27154 // 27155 // JobName is a required field 27156 JobName *string `min:"1" type:"string" required:"true"` 27157 } 27158 27159 // String returns the string representation. 27160 // 27161 // API parameter values that are decorated as "sensitive" in the API will not 27162 // be included in the string output. The member name will be present, but the 27163 // value will be replaced with "sensitive". 27164 func (s DeleteJobInput) String() string { 27165 return awsutil.Prettify(s) 27166 } 27167 27168 // GoString returns the string representation. 27169 // 27170 // API parameter values that are decorated as "sensitive" in the API will not 27171 // be included in the string output. The member name will be present, but the 27172 // value will be replaced with "sensitive". 27173 func (s DeleteJobInput) GoString() string { 27174 return s.String() 27175 } 27176 27177 // Validate inspects the fields of the type to determine if they are valid. 27178 func (s *DeleteJobInput) Validate() error { 27179 invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"} 27180 if s.JobName == nil { 27181 invalidParams.Add(request.NewErrParamRequired("JobName")) 27182 } 27183 if s.JobName != nil && len(*s.JobName) < 1 { 27184 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 27185 } 27186 27187 if invalidParams.Len() > 0 { 27188 return invalidParams 27189 } 27190 return nil 27191 } 27192 27193 // SetJobName sets the JobName field's value. 27194 func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput { 27195 s.JobName = &v 27196 return s 27197 } 27198 27199 type DeleteJobOutput struct { 27200 _ struct{} `type:"structure"` 27201 27202 // The name of the job definition that was deleted. 27203 JobName *string `min:"1" type:"string"` 27204 } 27205 27206 // String returns the string representation. 27207 // 27208 // API parameter values that are decorated as "sensitive" in the API will not 27209 // be included in the string output. The member name will be present, but the 27210 // value will be replaced with "sensitive". 27211 func (s DeleteJobOutput) String() string { 27212 return awsutil.Prettify(s) 27213 } 27214 27215 // GoString returns the string representation. 27216 // 27217 // API parameter values that are decorated as "sensitive" in the API will not 27218 // be included in the string output. The member name will be present, but the 27219 // value will be replaced with "sensitive". 27220 func (s DeleteJobOutput) GoString() string { 27221 return s.String() 27222 } 27223 27224 // SetJobName sets the JobName field's value. 27225 func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput { 27226 s.JobName = &v 27227 return s 27228 } 27229 27230 type DeleteMLTransformInput struct { 27231 _ struct{} `type:"structure"` 27232 27233 // The unique identifier of the transform to delete. 27234 // 27235 // TransformId is a required field 27236 TransformId *string `min:"1" type:"string" required:"true"` 27237 } 27238 27239 // String returns the string representation. 27240 // 27241 // API parameter values that are decorated as "sensitive" in the API will not 27242 // be included in the string output. The member name will be present, but the 27243 // value will be replaced with "sensitive". 27244 func (s DeleteMLTransformInput) String() string { 27245 return awsutil.Prettify(s) 27246 } 27247 27248 // GoString returns the string representation. 27249 // 27250 // API parameter values that are decorated as "sensitive" in the API will not 27251 // be included in the string output. The member name will be present, but the 27252 // value will be replaced with "sensitive". 27253 func (s DeleteMLTransformInput) GoString() string { 27254 return s.String() 27255 } 27256 27257 // Validate inspects the fields of the type to determine if they are valid. 27258 func (s *DeleteMLTransformInput) Validate() error { 27259 invalidParams := request.ErrInvalidParams{Context: "DeleteMLTransformInput"} 27260 if s.TransformId == nil { 27261 invalidParams.Add(request.NewErrParamRequired("TransformId")) 27262 } 27263 if s.TransformId != nil && len(*s.TransformId) < 1 { 27264 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 27265 } 27266 27267 if invalidParams.Len() > 0 { 27268 return invalidParams 27269 } 27270 return nil 27271 } 27272 27273 // SetTransformId sets the TransformId field's value. 27274 func (s *DeleteMLTransformInput) SetTransformId(v string) *DeleteMLTransformInput { 27275 s.TransformId = &v 27276 return s 27277 } 27278 27279 type DeleteMLTransformOutput struct { 27280 _ struct{} `type:"structure"` 27281 27282 // The unique identifier of the transform that was deleted. 27283 TransformId *string `min:"1" type:"string"` 27284 } 27285 27286 // String returns the string representation. 27287 // 27288 // API parameter values that are decorated as "sensitive" in the API will not 27289 // be included in the string output. The member name will be present, but the 27290 // value will be replaced with "sensitive". 27291 func (s DeleteMLTransformOutput) String() string { 27292 return awsutil.Prettify(s) 27293 } 27294 27295 // GoString returns the string representation. 27296 // 27297 // API parameter values that are decorated as "sensitive" in the API will not 27298 // be included in the string output. The member name will be present, but the 27299 // value will be replaced with "sensitive". 27300 func (s DeleteMLTransformOutput) GoString() string { 27301 return s.String() 27302 } 27303 27304 // SetTransformId sets the TransformId field's value. 27305 func (s *DeleteMLTransformOutput) SetTransformId(v string) *DeleteMLTransformOutput { 27306 s.TransformId = &v 27307 return s 27308 } 27309 27310 type DeletePartitionIndexInput struct { 27311 _ struct{} `type:"structure"` 27312 27313 // The catalog ID where the table resides. 27314 CatalogId *string `min:"1" type:"string"` 27315 27316 // Specifies the name of a database from which you want to delete a partition 27317 // index. 27318 // 27319 // DatabaseName is a required field 27320 DatabaseName *string `min:"1" type:"string" required:"true"` 27321 27322 // The name of the partition index to be deleted. 27323 // 27324 // IndexName is a required field 27325 IndexName *string `min:"1" type:"string" required:"true"` 27326 27327 // Specifies the name of a table from which you want to delete a partition index. 27328 // 27329 // TableName is a required field 27330 TableName *string `min:"1" type:"string" required:"true"` 27331 } 27332 27333 // String returns the string representation. 27334 // 27335 // API parameter values that are decorated as "sensitive" in the API will not 27336 // be included in the string output. The member name will be present, but the 27337 // value will be replaced with "sensitive". 27338 func (s DeletePartitionIndexInput) String() string { 27339 return awsutil.Prettify(s) 27340 } 27341 27342 // GoString returns the string representation. 27343 // 27344 // API parameter values that are decorated as "sensitive" in the API will not 27345 // be included in the string output. The member name will be present, but the 27346 // value will be replaced with "sensitive". 27347 func (s DeletePartitionIndexInput) GoString() string { 27348 return s.String() 27349 } 27350 27351 // Validate inspects the fields of the type to determine if they are valid. 27352 func (s *DeletePartitionIndexInput) Validate() error { 27353 invalidParams := request.ErrInvalidParams{Context: "DeletePartitionIndexInput"} 27354 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 27355 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 27356 } 27357 if s.DatabaseName == nil { 27358 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 27359 } 27360 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 27361 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 27362 } 27363 if s.IndexName == nil { 27364 invalidParams.Add(request.NewErrParamRequired("IndexName")) 27365 } 27366 if s.IndexName != nil && len(*s.IndexName) < 1 { 27367 invalidParams.Add(request.NewErrParamMinLen("IndexName", 1)) 27368 } 27369 if s.TableName == nil { 27370 invalidParams.Add(request.NewErrParamRequired("TableName")) 27371 } 27372 if s.TableName != nil && len(*s.TableName) < 1 { 27373 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 27374 } 27375 27376 if invalidParams.Len() > 0 { 27377 return invalidParams 27378 } 27379 return nil 27380 } 27381 27382 // SetCatalogId sets the CatalogId field's value. 27383 func (s *DeletePartitionIndexInput) SetCatalogId(v string) *DeletePartitionIndexInput { 27384 s.CatalogId = &v 27385 return s 27386 } 27387 27388 // SetDatabaseName sets the DatabaseName field's value. 27389 func (s *DeletePartitionIndexInput) SetDatabaseName(v string) *DeletePartitionIndexInput { 27390 s.DatabaseName = &v 27391 return s 27392 } 27393 27394 // SetIndexName sets the IndexName field's value. 27395 func (s *DeletePartitionIndexInput) SetIndexName(v string) *DeletePartitionIndexInput { 27396 s.IndexName = &v 27397 return s 27398 } 27399 27400 // SetTableName sets the TableName field's value. 27401 func (s *DeletePartitionIndexInput) SetTableName(v string) *DeletePartitionIndexInput { 27402 s.TableName = &v 27403 return s 27404 } 27405 27406 type DeletePartitionIndexOutput struct { 27407 _ struct{} `type:"structure"` 27408 } 27409 27410 // String returns the string representation. 27411 // 27412 // API parameter values that are decorated as "sensitive" in the API will not 27413 // be included in the string output. The member name will be present, but the 27414 // value will be replaced with "sensitive". 27415 func (s DeletePartitionIndexOutput) String() string { 27416 return awsutil.Prettify(s) 27417 } 27418 27419 // GoString returns the string representation. 27420 // 27421 // API parameter values that are decorated as "sensitive" in the API will not 27422 // be included in the string output. The member name will be present, but the 27423 // value will be replaced with "sensitive". 27424 func (s DeletePartitionIndexOutput) GoString() string { 27425 return s.String() 27426 } 27427 27428 type DeletePartitionInput struct { 27429 _ struct{} `type:"structure"` 27430 27431 // The ID of the Data Catalog where the partition to be deleted resides. If 27432 // none is provided, the Amazon Web Services account ID is used by default. 27433 CatalogId *string `min:"1" type:"string"` 27434 27435 // The name of the catalog database in which the table in question resides. 27436 // 27437 // DatabaseName is a required field 27438 DatabaseName *string `min:"1" type:"string" required:"true"` 27439 27440 // The values that define the partition. 27441 // 27442 // PartitionValues is a required field 27443 PartitionValues []*string `type:"list" required:"true"` 27444 27445 // The name of the table that contains the partition to be deleted. 27446 // 27447 // TableName is a required field 27448 TableName *string `min:"1" type:"string" required:"true"` 27449 } 27450 27451 // String returns the string representation. 27452 // 27453 // API parameter values that are decorated as "sensitive" in the API will not 27454 // be included in the string output. The member name will be present, but the 27455 // value will be replaced with "sensitive". 27456 func (s DeletePartitionInput) String() string { 27457 return awsutil.Prettify(s) 27458 } 27459 27460 // GoString returns the string representation. 27461 // 27462 // API parameter values that are decorated as "sensitive" in the API will not 27463 // be included in the string output. The member name will be present, but the 27464 // value will be replaced with "sensitive". 27465 func (s DeletePartitionInput) GoString() string { 27466 return s.String() 27467 } 27468 27469 // Validate inspects the fields of the type to determine if they are valid. 27470 func (s *DeletePartitionInput) Validate() error { 27471 invalidParams := request.ErrInvalidParams{Context: "DeletePartitionInput"} 27472 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 27473 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 27474 } 27475 if s.DatabaseName == nil { 27476 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 27477 } 27478 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 27479 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 27480 } 27481 if s.PartitionValues == nil { 27482 invalidParams.Add(request.NewErrParamRequired("PartitionValues")) 27483 } 27484 if s.TableName == nil { 27485 invalidParams.Add(request.NewErrParamRequired("TableName")) 27486 } 27487 if s.TableName != nil && len(*s.TableName) < 1 { 27488 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 27489 } 27490 27491 if invalidParams.Len() > 0 { 27492 return invalidParams 27493 } 27494 return nil 27495 } 27496 27497 // SetCatalogId sets the CatalogId field's value. 27498 func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput { 27499 s.CatalogId = &v 27500 return s 27501 } 27502 27503 // SetDatabaseName sets the DatabaseName field's value. 27504 func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput { 27505 s.DatabaseName = &v 27506 return s 27507 } 27508 27509 // SetPartitionValues sets the PartitionValues field's value. 27510 func (s *DeletePartitionInput) SetPartitionValues(v []*string) *DeletePartitionInput { 27511 s.PartitionValues = v 27512 return s 27513 } 27514 27515 // SetTableName sets the TableName field's value. 27516 func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput { 27517 s.TableName = &v 27518 return s 27519 } 27520 27521 type DeletePartitionOutput struct { 27522 _ struct{} `type:"structure"` 27523 } 27524 27525 // String returns the string representation. 27526 // 27527 // API parameter values that are decorated as "sensitive" in the API will not 27528 // be included in the string output. The member name will be present, but the 27529 // value will be replaced with "sensitive". 27530 func (s DeletePartitionOutput) String() string { 27531 return awsutil.Prettify(s) 27532 } 27533 27534 // GoString returns the string representation. 27535 // 27536 // API parameter values that are decorated as "sensitive" in the API will not 27537 // be included in the string output. The member name will be present, but the 27538 // value will be replaced with "sensitive". 27539 func (s DeletePartitionOutput) GoString() string { 27540 return s.String() 27541 } 27542 27543 type DeleteRegistryInput struct { 27544 _ struct{} `type:"structure"` 27545 27546 // This is a wrapper structure that may contain the registry name and Amazon 27547 // Resource Name (ARN). 27548 // 27549 // RegistryId is a required field 27550 RegistryId *RegistryId `type:"structure" required:"true"` 27551 } 27552 27553 // String returns the string representation. 27554 // 27555 // API parameter values that are decorated as "sensitive" in the API will not 27556 // be included in the string output. The member name will be present, but the 27557 // value will be replaced with "sensitive". 27558 func (s DeleteRegistryInput) String() string { 27559 return awsutil.Prettify(s) 27560 } 27561 27562 // GoString returns the string representation. 27563 // 27564 // API parameter values that are decorated as "sensitive" in the API will not 27565 // be included in the string output. The member name will be present, but the 27566 // value will be replaced with "sensitive". 27567 func (s DeleteRegistryInput) GoString() string { 27568 return s.String() 27569 } 27570 27571 // Validate inspects the fields of the type to determine if they are valid. 27572 func (s *DeleteRegistryInput) Validate() error { 27573 invalidParams := request.ErrInvalidParams{Context: "DeleteRegistryInput"} 27574 if s.RegistryId == nil { 27575 invalidParams.Add(request.NewErrParamRequired("RegistryId")) 27576 } 27577 if s.RegistryId != nil { 27578 if err := s.RegistryId.Validate(); err != nil { 27579 invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams)) 27580 } 27581 } 27582 27583 if invalidParams.Len() > 0 { 27584 return invalidParams 27585 } 27586 return nil 27587 } 27588 27589 // SetRegistryId sets the RegistryId field's value. 27590 func (s *DeleteRegistryInput) SetRegistryId(v *RegistryId) *DeleteRegistryInput { 27591 s.RegistryId = v 27592 return s 27593 } 27594 27595 type DeleteRegistryOutput struct { 27596 _ struct{} `type:"structure"` 27597 27598 // The Amazon Resource Name (ARN) of the registry being deleted. 27599 RegistryArn *string `min:"1" type:"string"` 27600 27601 // The name of the registry being deleted. 27602 RegistryName *string `min:"1" type:"string"` 27603 27604 // The status of the registry. A successful operation will return the Deleting 27605 // status. 27606 Status *string `type:"string" enum:"RegistryStatus"` 27607 } 27608 27609 // String returns the string representation. 27610 // 27611 // API parameter values that are decorated as "sensitive" in the API will not 27612 // be included in the string output. The member name will be present, but the 27613 // value will be replaced with "sensitive". 27614 func (s DeleteRegistryOutput) String() string { 27615 return awsutil.Prettify(s) 27616 } 27617 27618 // GoString returns the string representation. 27619 // 27620 // API parameter values that are decorated as "sensitive" in the API will not 27621 // be included in the string output. The member name will be present, but the 27622 // value will be replaced with "sensitive". 27623 func (s DeleteRegistryOutput) GoString() string { 27624 return s.String() 27625 } 27626 27627 // SetRegistryArn sets the RegistryArn field's value. 27628 func (s *DeleteRegistryOutput) SetRegistryArn(v string) *DeleteRegistryOutput { 27629 s.RegistryArn = &v 27630 return s 27631 } 27632 27633 // SetRegistryName sets the RegistryName field's value. 27634 func (s *DeleteRegistryOutput) SetRegistryName(v string) *DeleteRegistryOutput { 27635 s.RegistryName = &v 27636 return s 27637 } 27638 27639 // SetStatus sets the Status field's value. 27640 func (s *DeleteRegistryOutput) SetStatus(v string) *DeleteRegistryOutput { 27641 s.Status = &v 27642 return s 27643 } 27644 27645 type DeleteResourcePolicyInput struct { 27646 _ struct{} `type:"structure"` 27647 27648 // The hash value returned when this policy was set. 27649 PolicyHashCondition *string `min:"1" type:"string"` 27650 27651 // The ARN of the Glue resource for the resource policy to be deleted. 27652 ResourceArn *string `min:"1" type:"string"` 27653 } 27654 27655 // String returns the string representation. 27656 // 27657 // API parameter values that are decorated as "sensitive" in the API will not 27658 // be included in the string output. The member name will be present, but the 27659 // value will be replaced with "sensitive". 27660 func (s DeleteResourcePolicyInput) String() string { 27661 return awsutil.Prettify(s) 27662 } 27663 27664 // GoString returns the string representation. 27665 // 27666 // API parameter values that are decorated as "sensitive" in the API will not 27667 // be included in the string output. The member name will be present, but the 27668 // value will be replaced with "sensitive". 27669 func (s DeleteResourcePolicyInput) GoString() string { 27670 return s.String() 27671 } 27672 27673 // Validate inspects the fields of the type to determine if they are valid. 27674 func (s *DeleteResourcePolicyInput) Validate() error { 27675 invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"} 27676 if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 { 27677 invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1)) 27678 } 27679 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 27680 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 27681 } 27682 27683 if invalidParams.Len() > 0 { 27684 return invalidParams 27685 } 27686 return nil 27687 } 27688 27689 // SetPolicyHashCondition sets the PolicyHashCondition field's value. 27690 func (s *DeleteResourcePolicyInput) SetPolicyHashCondition(v string) *DeleteResourcePolicyInput { 27691 s.PolicyHashCondition = &v 27692 return s 27693 } 27694 27695 // SetResourceArn sets the ResourceArn field's value. 27696 func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput { 27697 s.ResourceArn = &v 27698 return s 27699 } 27700 27701 type DeleteResourcePolicyOutput struct { 27702 _ struct{} `type:"structure"` 27703 } 27704 27705 // String returns the string representation. 27706 // 27707 // API parameter values that are decorated as "sensitive" in the API will not 27708 // be included in the string output. The member name will be present, but the 27709 // value will be replaced with "sensitive". 27710 func (s DeleteResourcePolicyOutput) String() string { 27711 return awsutil.Prettify(s) 27712 } 27713 27714 // GoString returns the string representation. 27715 // 27716 // API parameter values that are decorated as "sensitive" in the API will not 27717 // be included in the string output. The member name will be present, but the 27718 // value will be replaced with "sensitive". 27719 func (s DeleteResourcePolicyOutput) GoString() string { 27720 return s.String() 27721 } 27722 27723 type DeleteSchemaInput struct { 27724 _ struct{} `type:"structure"` 27725 27726 // This is a wrapper structure that may contain the schema name and Amazon Resource 27727 // Name (ARN). 27728 // 27729 // SchemaId is a required field 27730 SchemaId *SchemaId `type:"structure" required:"true"` 27731 } 27732 27733 // String returns the string representation. 27734 // 27735 // API parameter values that are decorated as "sensitive" in the API will not 27736 // be included in the string output. The member name will be present, but the 27737 // value will be replaced with "sensitive". 27738 func (s DeleteSchemaInput) String() string { 27739 return awsutil.Prettify(s) 27740 } 27741 27742 // GoString returns the string representation. 27743 // 27744 // API parameter values that are decorated as "sensitive" in the API will not 27745 // be included in the string output. The member name will be present, but the 27746 // value will be replaced with "sensitive". 27747 func (s DeleteSchemaInput) GoString() string { 27748 return s.String() 27749 } 27750 27751 // Validate inspects the fields of the type to determine if they are valid. 27752 func (s *DeleteSchemaInput) Validate() error { 27753 invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaInput"} 27754 if s.SchemaId == nil { 27755 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 27756 } 27757 if s.SchemaId != nil { 27758 if err := s.SchemaId.Validate(); err != nil { 27759 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 27760 } 27761 } 27762 27763 if invalidParams.Len() > 0 { 27764 return invalidParams 27765 } 27766 return nil 27767 } 27768 27769 // SetSchemaId sets the SchemaId field's value. 27770 func (s *DeleteSchemaInput) SetSchemaId(v *SchemaId) *DeleteSchemaInput { 27771 s.SchemaId = v 27772 return s 27773 } 27774 27775 type DeleteSchemaOutput struct { 27776 _ struct{} `type:"structure"` 27777 27778 // The Amazon Resource Name (ARN) of the schema being deleted. 27779 SchemaArn *string `min:"1" type:"string"` 27780 27781 // The name of the schema being deleted. 27782 SchemaName *string `min:"1" type:"string"` 27783 27784 // The status of the schema. 27785 Status *string `type:"string" enum:"SchemaStatus"` 27786 } 27787 27788 // String returns the string representation. 27789 // 27790 // API parameter values that are decorated as "sensitive" in the API will not 27791 // be included in the string output. The member name will be present, but the 27792 // value will be replaced with "sensitive". 27793 func (s DeleteSchemaOutput) String() string { 27794 return awsutil.Prettify(s) 27795 } 27796 27797 // GoString returns the string representation. 27798 // 27799 // API parameter values that are decorated as "sensitive" in the API will not 27800 // be included in the string output. The member name will be present, but the 27801 // value will be replaced with "sensitive". 27802 func (s DeleteSchemaOutput) GoString() string { 27803 return s.String() 27804 } 27805 27806 // SetSchemaArn sets the SchemaArn field's value. 27807 func (s *DeleteSchemaOutput) SetSchemaArn(v string) *DeleteSchemaOutput { 27808 s.SchemaArn = &v 27809 return s 27810 } 27811 27812 // SetSchemaName sets the SchemaName field's value. 27813 func (s *DeleteSchemaOutput) SetSchemaName(v string) *DeleteSchemaOutput { 27814 s.SchemaName = &v 27815 return s 27816 } 27817 27818 // SetStatus sets the Status field's value. 27819 func (s *DeleteSchemaOutput) SetStatus(v string) *DeleteSchemaOutput { 27820 s.Status = &v 27821 return s 27822 } 27823 27824 type DeleteSchemaVersionsInput struct { 27825 _ struct{} `type:"structure"` 27826 27827 // This is a wrapper structure that may contain the schema name and Amazon Resource 27828 // Name (ARN). 27829 // 27830 // SchemaId is a required field 27831 SchemaId *SchemaId `type:"structure" required:"true"` 27832 27833 // A version range may be supplied which may be of the format: 27834 // 27835 // * a single version number, 5 27836 // 27837 // * a range, 5-8 : deletes versions 5, 6, 7, 8 27838 // 27839 // Versions is a required field 27840 Versions *string `min:"1" type:"string" required:"true"` 27841 } 27842 27843 // String returns the string representation. 27844 // 27845 // API parameter values that are decorated as "sensitive" in the API will not 27846 // be included in the string output. The member name will be present, but the 27847 // value will be replaced with "sensitive". 27848 func (s DeleteSchemaVersionsInput) String() string { 27849 return awsutil.Prettify(s) 27850 } 27851 27852 // GoString returns the string representation. 27853 // 27854 // API parameter values that are decorated as "sensitive" in the API will not 27855 // be included in the string output. The member name will be present, but the 27856 // value will be replaced with "sensitive". 27857 func (s DeleteSchemaVersionsInput) GoString() string { 27858 return s.String() 27859 } 27860 27861 // Validate inspects the fields of the type to determine if they are valid. 27862 func (s *DeleteSchemaVersionsInput) Validate() error { 27863 invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaVersionsInput"} 27864 if s.SchemaId == nil { 27865 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 27866 } 27867 if s.Versions == nil { 27868 invalidParams.Add(request.NewErrParamRequired("Versions")) 27869 } 27870 if s.Versions != nil && len(*s.Versions) < 1 { 27871 invalidParams.Add(request.NewErrParamMinLen("Versions", 1)) 27872 } 27873 if s.SchemaId != nil { 27874 if err := s.SchemaId.Validate(); err != nil { 27875 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 27876 } 27877 } 27878 27879 if invalidParams.Len() > 0 { 27880 return invalidParams 27881 } 27882 return nil 27883 } 27884 27885 // SetSchemaId sets the SchemaId field's value. 27886 func (s *DeleteSchemaVersionsInput) SetSchemaId(v *SchemaId) *DeleteSchemaVersionsInput { 27887 s.SchemaId = v 27888 return s 27889 } 27890 27891 // SetVersions sets the Versions field's value. 27892 func (s *DeleteSchemaVersionsInput) SetVersions(v string) *DeleteSchemaVersionsInput { 27893 s.Versions = &v 27894 return s 27895 } 27896 27897 type DeleteSchemaVersionsOutput struct { 27898 _ struct{} `type:"structure"` 27899 27900 // A list of SchemaVersionErrorItem objects, each containing an error and schema 27901 // version. 27902 SchemaVersionErrors []*SchemaVersionErrorItem `type:"list"` 27903 } 27904 27905 // String returns the string representation. 27906 // 27907 // API parameter values that are decorated as "sensitive" in the API will not 27908 // be included in the string output. The member name will be present, but the 27909 // value will be replaced with "sensitive". 27910 func (s DeleteSchemaVersionsOutput) String() string { 27911 return awsutil.Prettify(s) 27912 } 27913 27914 // GoString returns the string representation. 27915 // 27916 // API parameter values that are decorated as "sensitive" in the API will not 27917 // be included in the string output. The member name will be present, but the 27918 // value will be replaced with "sensitive". 27919 func (s DeleteSchemaVersionsOutput) GoString() string { 27920 return s.String() 27921 } 27922 27923 // SetSchemaVersionErrors sets the SchemaVersionErrors field's value. 27924 func (s *DeleteSchemaVersionsOutput) SetSchemaVersionErrors(v []*SchemaVersionErrorItem) *DeleteSchemaVersionsOutput { 27925 s.SchemaVersionErrors = v 27926 return s 27927 } 27928 27929 type DeleteSecurityConfigurationInput struct { 27930 _ struct{} `type:"structure"` 27931 27932 // The name of the security configuration to delete. 27933 // 27934 // Name is a required field 27935 Name *string `min:"1" type:"string" required:"true"` 27936 } 27937 27938 // String returns the string representation. 27939 // 27940 // API parameter values that are decorated as "sensitive" in the API will not 27941 // be included in the string output. The member name will be present, but the 27942 // value will be replaced with "sensitive". 27943 func (s DeleteSecurityConfigurationInput) String() string { 27944 return awsutil.Prettify(s) 27945 } 27946 27947 // GoString returns the string representation. 27948 // 27949 // API parameter values that are decorated as "sensitive" in the API will not 27950 // be included in the string output. The member name will be present, but the 27951 // value will be replaced with "sensitive". 27952 func (s DeleteSecurityConfigurationInput) GoString() string { 27953 return s.String() 27954 } 27955 27956 // Validate inspects the fields of the type to determine if they are valid. 27957 func (s *DeleteSecurityConfigurationInput) Validate() error { 27958 invalidParams := request.ErrInvalidParams{Context: "DeleteSecurityConfigurationInput"} 27959 if s.Name == nil { 27960 invalidParams.Add(request.NewErrParamRequired("Name")) 27961 } 27962 if s.Name != nil && len(*s.Name) < 1 { 27963 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 27964 } 27965 27966 if invalidParams.Len() > 0 { 27967 return invalidParams 27968 } 27969 return nil 27970 } 27971 27972 // SetName sets the Name field's value. 27973 func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput { 27974 s.Name = &v 27975 return s 27976 } 27977 27978 type DeleteSecurityConfigurationOutput struct { 27979 _ struct{} `type:"structure"` 27980 } 27981 27982 // String returns the string representation. 27983 // 27984 // API parameter values that are decorated as "sensitive" in the API will not 27985 // be included in the string output. The member name will be present, but the 27986 // value will be replaced with "sensitive". 27987 func (s DeleteSecurityConfigurationOutput) String() string { 27988 return awsutil.Prettify(s) 27989 } 27990 27991 // GoString returns the string representation. 27992 // 27993 // API parameter values that are decorated as "sensitive" in the API will not 27994 // be included in the string output. The member name will be present, but the 27995 // value will be replaced with "sensitive". 27996 func (s DeleteSecurityConfigurationOutput) GoString() string { 27997 return s.String() 27998 } 27999 28000 type DeleteTableInput struct { 28001 _ struct{} `type:"structure"` 28002 28003 // The ID of the Data Catalog where the table resides. If none is provided, 28004 // the Amazon Web Services account ID is used by default. 28005 CatalogId *string `min:"1" type:"string"` 28006 28007 // The name of the catalog database in which the table resides. For Hive compatibility, 28008 // this name is entirely lowercase. 28009 // 28010 // DatabaseName is a required field 28011 DatabaseName *string `min:"1" type:"string" required:"true"` 28012 28013 // The name of the table to be deleted. For Hive compatibility, this name is 28014 // entirely lowercase. 28015 // 28016 // Name is a required field 28017 Name *string `min:"1" type:"string" required:"true"` 28018 } 28019 28020 // String returns the string representation. 28021 // 28022 // API parameter values that are decorated as "sensitive" in the API will not 28023 // be included in the string output. The member name will be present, but the 28024 // value will be replaced with "sensitive". 28025 func (s DeleteTableInput) String() string { 28026 return awsutil.Prettify(s) 28027 } 28028 28029 // GoString returns the string representation. 28030 // 28031 // API parameter values that are decorated as "sensitive" in the API will not 28032 // be included in the string output. The member name will be present, but the 28033 // value will be replaced with "sensitive". 28034 func (s DeleteTableInput) GoString() string { 28035 return s.String() 28036 } 28037 28038 // Validate inspects the fields of the type to determine if they are valid. 28039 func (s *DeleteTableInput) Validate() error { 28040 invalidParams := request.ErrInvalidParams{Context: "DeleteTableInput"} 28041 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 28042 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 28043 } 28044 if s.DatabaseName == nil { 28045 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 28046 } 28047 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 28048 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 28049 } 28050 if s.Name == nil { 28051 invalidParams.Add(request.NewErrParamRequired("Name")) 28052 } 28053 if s.Name != nil && len(*s.Name) < 1 { 28054 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 28055 } 28056 28057 if invalidParams.Len() > 0 { 28058 return invalidParams 28059 } 28060 return nil 28061 } 28062 28063 // SetCatalogId sets the CatalogId field's value. 28064 func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput { 28065 s.CatalogId = &v 28066 return s 28067 } 28068 28069 // SetDatabaseName sets the DatabaseName field's value. 28070 func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput { 28071 s.DatabaseName = &v 28072 return s 28073 } 28074 28075 // SetName sets the Name field's value. 28076 func (s *DeleteTableInput) SetName(v string) *DeleteTableInput { 28077 s.Name = &v 28078 return s 28079 } 28080 28081 type DeleteTableOutput struct { 28082 _ struct{} `type:"structure"` 28083 } 28084 28085 // String returns the string representation. 28086 // 28087 // API parameter values that are decorated as "sensitive" in the API will not 28088 // be included in the string output. The member name will be present, but the 28089 // value will be replaced with "sensitive". 28090 func (s DeleteTableOutput) String() string { 28091 return awsutil.Prettify(s) 28092 } 28093 28094 // GoString returns the string representation. 28095 // 28096 // API parameter values that are decorated as "sensitive" in the API will not 28097 // be included in the string output. The member name will be present, but the 28098 // value will be replaced with "sensitive". 28099 func (s DeleteTableOutput) GoString() string { 28100 return s.String() 28101 } 28102 28103 type DeleteTableVersionInput struct { 28104 _ struct{} `type:"structure"` 28105 28106 // The ID of the Data Catalog where the tables reside. If none is provided, 28107 // the Amazon Web Services account ID is used by default. 28108 CatalogId *string `min:"1" type:"string"` 28109 28110 // The database in the catalog in which the table resides. For Hive compatibility, 28111 // this name is entirely lowercase. 28112 // 28113 // DatabaseName is a required field 28114 DatabaseName *string `min:"1" type:"string" required:"true"` 28115 28116 // The name of the table. For Hive compatibility, this name is entirely lowercase. 28117 // 28118 // TableName is a required field 28119 TableName *string `min:"1" type:"string" required:"true"` 28120 28121 // The ID of the table version to be deleted. A VersionID is a string representation 28122 // of an integer. Each version is incremented by 1. 28123 // 28124 // VersionId is a required field 28125 VersionId *string `min:"1" type:"string" required:"true"` 28126 } 28127 28128 // String returns the string representation. 28129 // 28130 // API parameter values that are decorated as "sensitive" in the API will not 28131 // be included in the string output. The member name will be present, but the 28132 // value will be replaced with "sensitive". 28133 func (s DeleteTableVersionInput) String() string { 28134 return awsutil.Prettify(s) 28135 } 28136 28137 // GoString returns the string representation. 28138 // 28139 // API parameter values that are decorated as "sensitive" in the API will not 28140 // be included in the string output. The member name will be present, but the 28141 // value will be replaced with "sensitive". 28142 func (s DeleteTableVersionInput) GoString() string { 28143 return s.String() 28144 } 28145 28146 // Validate inspects the fields of the type to determine if they are valid. 28147 func (s *DeleteTableVersionInput) Validate() error { 28148 invalidParams := request.ErrInvalidParams{Context: "DeleteTableVersionInput"} 28149 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 28150 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 28151 } 28152 if s.DatabaseName == nil { 28153 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 28154 } 28155 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 28156 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 28157 } 28158 if s.TableName == nil { 28159 invalidParams.Add(request.NewErrParamRequired("TableName")) 28160 } 28161 if s.TableName != nil && len(*s.TableName) < 1 { 28162 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 28163 } 28164 if s.VersionId == nil { 28165 invalidParams.Add(request.NewErrParamRequired("VersionId")) 28166 } 28167 if s.VersionId != nil && len(*s.VersionId) < 1 { 28168 invalidParams.Add(request.NewErrParamMinLen("VersionId", 1)) 28169 } 28170 28171 if invalidParams.Len() > 0 { 28172 return invalidParams 28173 } 28174 return nil 28175 } 28176 28177 // SetCatalogId sets the CatalogId field's value. 28178 func (s *DeleteTableVersionInput) SetCatalogId(v string) *DeleteTableVersionInput { 28179 s.CatalogId = &v 28180 return s 28181 } 28182 28183 // SetDatabaseName sets the DatabaseName field's value. 28184 func (s *DeleteTableVersionInput) SetDatabaseName(v string) *DeleteTableVersionInput { 28185 s.DatabaseName = &v 28186 return s 28187 } 28188 28189 // SetTableName sets the TableName field's value. 28190 func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput { 28191 s.TableName = &v 28192 return s 28193 } 28194 28195 // SetVersionId sets the VersionId field's value. 28196 func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput { 28197 s.VersionId = &v 28198 return s 28199 } 28200 28201 type DeleteTableVersionOutput struct { 28202 _ struct{} `type:"structure"` 28203 } 28204 28205 // String returns the string representation. 28206 // 28207 // API parameter values that are decorated as "sensitive" in the API will not 28208 // be included in the string output. The member name will be present, but the 28209 // value will be replaced with "sensitive". 28210 func (s DeleteTableVersionOutput) String() string { 28211 return awsutil.Prettify(s) 28212 } 28213 28214 // GoString returns the string representation. 28215 // 28216 // API parameter values that are decorated as "sensitive" in the API will not 28217 // be included in the string output. The member name will be present, but the 28218 // value will be replaced with "sensitive". 28219 func (s DeleteTableVersionOutput) GoString() string { 28220 return s.String() 28221 } 28222 28223 type DeleteTriggerInput struct { 28224 _ struct{} `type:"structure"` 28225 28226 // The name of the trigger to delete. 28227 // 28228 // Name is a required field 28229 Name *string `min:"1" type:"string" required:"true"` 28230 } 28231 28232 // String returns the string representation. 28233 // 28234 // API parameter values that are decorated as "sensitive" in the API will not 28235 // be included in the string output. The member name will be present, but the 28236 // value will be replaced with "sensitive". 28237 func (s DeleteTriggerInput) String() string { 28238 return awsutil.Prettify(s) 28239 } 28240 28241 // GoString returns the string representation. 28242 // 28243 // API parameter values that are decorated as "sensitive" in the API will not 28244 // be included in the string output. The member name will be present, but the 28245 // value will be replaced with "sensitive". 28246 func (s DeleteTriggerInput) GoString() string { 28247 return s.String() 28248 } 28249 28250 // Validate inspects the fields of the type to determine if they are valid. 28251 func (s *DeleteTriggerInput) Validate() error { 28252 invalidParams := request.ErrInvalidParams{Context: "DeleteTriggerInput"} 28253 if s.Name == nil { 28254 invalidParams.Add(request.NewErrParamRequired("Name")) 28255 } 28256 if s.Name != nil && len(*s.Name) < 1 { 28257 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 28258 } 28259 28260 if invalidParams.Len() > 0 { 28261 return invalidParams 28262 } 28263 return nil 28264 } 28265 28266 // SetName sets the Name field's value. 28267 func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput { 28268 s.Name = &v 28269 return s 28270 } 28271 28272 type DeleteTriggerOutput struct { 28273 _ struct{} `type:"structure"` 28274 28275 // The name of the trigger that was deleted. 28276 Name *string `min:"1" type:"string"` 28277 } 28278 28279 // String returns the string representation. 28280 // 28281 // API parameter values that are decorated as "sensitive" in the API will not 28282 // be included in the string output. The member name will be present, but the 28283 // value will be replaced with "sensitive". 28284 func (s DeleteTriggerOutput) String() string { 28285 return awsutil.Prettify(s) 28286 } 28287 28288 // GoString returns the string representation. 28289 // 28290 // API parameter values that are decorated as "sensitive" in the API will not 28291 // be included in the string output. The member name will be present, but the 28292 // value will be replaced with "sensitive". 28293 func (s DeleteTriggerOutput) GoString() string { 28294 return s.String() 28295 } 28296 28297 // SetName sets the Name field's value. 28298 func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput { 28299 s.Name = &v 28300 return s 28301 } 28302 28303 type DeleteUserDefinedFunctionInput struct { 28304 _ struct{} `type:"structure"` 28305 28306 // The ID of the Data Catalog where the function to be deleted is located. If 28307 // none is supplied, the Amazon Web Services account ID is used by default. 28308 CatalogId *string `min:"1" type:"string"` 28309 28310 // The name of the catalog database where the function is located. 28311 // 28312 // DatabaseName is a required field 28313 DatabaseName *string `min:"1" type:"string" required:"true"` 28314 28315 // The name of the function definition to be deleted. 28316 // 28317 // FunctionName is a required field 28318 FunctionName *string `min:"1" type:"string" required:"true"` 28319 } 28320 28321 // String returns the string representation. 28322 // 28323 // API parameter values that are decorated as "sensitive" in the API will not 28324 // be included in the string output. The member name will be present, but the 28325 // value will be replaced with "sensitive". 28326 func (s DeleteUserDefinedFunctionInput) String() string { 28327 return awsutil.Prettify(s) 28328 } 28329 28330 // GoString returns the string representation. 28331 // 28332 // API parameter values that are decorated as "sensitive" in the API will not 28333 // be included in the string output. The member name will be present, but the 28334 // value will be replaced with "sensitive". 28335 func (s DeleteUserDefinedFunctionInput) GoString() string { 28336 return s.String() 28337 } 28338 28339 // Validate inspects the fields of the type to determine if they are valid. 28340 func (s *DeleteUserDefinedFunctionInput) Validate() error { 28341 invalidParams := request.ErrInvalidParams{Context: "DeleteUserDefinedFunctionInput"} 28342 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 28343 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 28344 } 28345 if s.DatabaseName == nil { 28346 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 28347 } 28348 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 28349 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 28350 } 28351 if s.FunctionName == nil { 28352 invalidParams.Add(request.NewErrParamRequired("FunctionName")) 28353 } 28354 if s.FunctionName != nil && len(*s.FunctionName) < 1 { 28355 invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) 28356 } 28357 28358 if invalidParams.Len() > 0 { 28359 return invalidParams 28360 } 28361 return nil 28362 } 28363 28364 // SetCatalogId sets the CatalogId field's value. 28365 func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput { 28366 s.CatalogId = &v 28367 return s 28368 } 28369 28370 // SetDatabaseName sets the DatabaseName field's value. 28371 func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput { 28372 s.DatabaseName = &v 28373 return s 28374 } 28375 28376 // SetFunctionName sets the FunctionName field's value. 28377 func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput { 28378 s.FunctionName = &v 28379 return s 28380 } 28381 28382 type DeleteUserDefinedFunctionOutput struct { 28383 _ struct{} `type:"structure"` 28384 } 28385 28386 // String returns the string representation. 28387 // 28388 // API parameter values that are decorated as "sensitive" in the API will not 28389 // be included in the string output. The member name will be present, but the 28390 // value will be replaced with "sensitive". 28391 func (s DeleteUserDefinedFunctionOutput) String() string { 28392 return awsutil.Prettify(s) 28393 } 28394 28395 // GoString returns the string representation. 28396 // 28397 // API parameter values that are decorated as "sensitive" in the API will not 28398 // be included in the string output. The member name will be present, but the 28399 // value will be replaced with "sensitive". 28400 func (s DeleteUserDefinedFunctionOutput) GoString() string { 28401 return s.String() 28402 } 28403 28404 type DeleteWorkflowInput struct { 28405 _ struct{} `type:"structure"` 28406 28407 // Name of the workflow to be deleted. 28408 // 28409 // Name is a required field 28410 Name *string `min:"1" type:"string" required:"true"` 28411 } 28412 28413 // String returns the string representation. 28414 // 28415 // API parameter values that are decorated as "sensitive" in the API will not 28416 // be included in the string output. The member name will be present, but the 28417 // value will be replaced with "sensitive". 28418 func (s DeleteWorkflowInput) String() string { 28419 return awsutil.Prettify(s) 28420 } 28421 28422 // GoString returns the string representation. 28423 // 28424 // API parameter values that are decorated as "sensitive" in the API will not 28425 // be included in the string output. The member name will be present, but the 28426 // value will be replaced with "sensitive". 28427 func (s DeleteWorkflowInput) GoString() string { 28428 return s.String() 28429 } 28430 28431 // Validate inspects the fields of the type to determine if they are valid. 28432 func (s *DeleteWorkflowInput) Validate() error { 28433 invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"} 28434 if s.Name == nil { 28435 invalidParams.Add(request.NewErrParamRequired("Name")) 28436 } 28437 if s.Name != nil && len(*s.Name) < 1 { 28438 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 28439 } 28440 28441 if invalidParams.Len() > 0 { 28442 return invalidParams 28443 } 28444 return nil 28445 } 28446 28447 // SetName sets the Name field's value. 28448 func (s *DeleteWorkflowInput) SetName(v string) *DeleteWorkflowInput { 28449 s.Name = &v 28450 return s 28451 } 28452 28453 type DeleteWorkflowOutput struct { 28454 _ struct{} `type:"structure"` 28455 28456 // Name of the workflow specified in input. 28457 Name *string `min:"1" type:"string"` 28458 } 28459 28460 // String returns the string representation. 28461 // 28462 // API parameter values that are decorated as "sensitive" in the API will not 28463 // be included in the string output. The member name will be present, but the 28464 // value will be replaced with "sensitive". 28465 func (s DeleteWorkflowOutput) String() string { 28466 return awsutil.Prettify(s) 28467 } 28468 28469 // GoString returns the string representation. 28470 // 28471 // API parameter values that are decorated as "sensitive" in the API will not 28472 // be included in the string output. The member name will be present, but the 28473 // value will be replaced with "sensitive". 28474 func (s DeleteWorkflowOutput) GoString() string { 28475 return s.String() 28476 } 28477 28478 // SetName sets the Name field's value. 28479 func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput { 28480 s.Name = &v 28481 return s 28482 } 28483 28484 // A development endpoint where a developer can remotely debug extract, transform, 28485 // and load (ETL) scripts. 28486 type DevEndpoint struct { 28487 _ struct{} `type:"structure"` 28488 28489 // A map of arguments used to configure the DevEndpoint. 28490 // 28491 // Valid arguments are: 28492 // 28493 // * "--enable-glue-datacatalog": "" 28494 // 28495 // You can specify a version of Python support for development endpoints by 28496 // using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint 28497 // APIs. If no arguments are provided, the version defaults to Python 2. 28498 Arguments map[string]*string `type:"map"` 28499 28500 // The AWS Availability Zone where this DevEndpoint is located. 28501 AvailabilityZone *string `type:"string"` 28502 28503 // The point in time at which this DevEndpoint was created. 28504 CreatedTimestamp *time.Time `type:"timestamp"` 28505 28506 // The name of the DevEndpoint. 28507 EndpointName *string `type:"string"` 28508 28509 // The path to one or more Java .jar files in an S3 bucket that should be loaded 28510 // in your DevEndpoint. 28511 // 28512 // You can only use pure Java/Scala libraries with a DevEndpoint. 28513 ExtraJarsS3Path *string `type:"string"` 28514 28515 // The paths to one or more Python libraries in an Amazon S3 bucket that should 28516 // be loaded in your DevEndpoint. Multiple values must be complete paths separated 28517 // by a comma. 28518 // 28519 // You can only use pure Python libraries with a DevEndpoint. Libraries that 28520 // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python 28521 // data analysis library, are not currently supported. 28522 ExtraPythonLibsS3Path *string `type:"string"` 28523 28524 // The reason for a current failure in this DevEndpoint. 28525 FailureReason *string `type:"string"` 28526 28527 // Glue version determines the versions of Apache Spark and Python that Glue 28528 // supports. The Python version indicates the version supported for running 28529 // your ETL scripts on development endpoints. 28530 // 28531 // For more information about the available Glue versions and corresponding 28532 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 28533 // in the developer guide. 28534 // 28535 // Development endpoints that are created without specifying a Glue version 28536 // default to Glue 0.9. 28537 // 28538 // You can specify a version of Python support for development endpoints by 28539 // using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint 28540 // APIs. If no arguments are provided, the version defaults to Python 2. 28541 GlueVersion *string `min:"1" type:"string"` 28542 28543 // The point in time at which this DevEndpoint was last modified. 28544 LastModifiedTimestamp *time.Time `type:"timestamp"` 28545 28546 // The status of the last update. 28547 LastUpdateStatus *string `type:"string"` 28548 28549 // The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint. 28550 NumberOfNodes *int64 `type:"integer"` 28551 28552 // The number of workers of a defined workerType that are allocated to the development 28553 // endpoint. 28554 // 28555 // The maximum number of workers you can define are 299 for G.1X, and 149 for 28556 // G.2X. 28557 NumberOfWorkers *int64 `type:"integer"` 28558 28559 // A private IP address to access the DevEndpoint within a VPC if the DevEndpoint 28560 // is created within one. The PrivateAddress field is present only when you 28561 // create the DevEndpoint within your VPC. 28562 PrivateAddress *string `type:"string"` 28563 28564 // The public IP address used by this DevEndpoint. The PublicAddress field is 28565 // present only when you create a non-virtual private cloud (VPC) DevEndpoint. 28566 PublicAddress *string `type:"string"` 28567 28568 // The public key to be used by this DevEndpoint for authentication. This attribute 28569 // is provided for backward compatibility because the recommended attribute 28570 // to use is public keys. 28571 PublicKey *string `type:"string"` 28572 28573 // A list of public keys to be used by the DevEndpoints for authentication. 28574 // Using this attribute is preferred over a single public key because the public 28575 // keys allow you to have a different private key per client. 28576 // 28577 // If you previously created an endpoint with a public key, you must remove 28578 // that key to be able to set a list of public keys. Call the UpdateDevEndpoint 28579 // API operation with the public key content in the deletePublicKeys attribute, 28580 // and the list of new keys in the addPublicKeys attribute. 28581 PublicKeys []*string `type:"list"` 28582 28583 // The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint. 28584 RoleArn *string `type:"string"` 28585 28586 // The name of the SecurityConfiguration structure to be used with this DevEndpoint. 28587 SecurityConfiguration *string `min:"1" type:"string"` 28588 28589 // A list of security group identifiers used in this DevEndpoint. 28590 SecurityGroupIds []*string `type:"list"` 28591 28592 // The current status of this DevEndpoint. 28593 Status *string `type:"string"` 28594 28595 // The subnet ID for this DevEndpoint. 28596 SubnetId *string `type:"string"` 28597 28598 // The ID of the virtual private cloud (VPC) used by this DevEndpoint. 28599 VpcId *string `type:"string"` 28600 28601 // The type of predefined worker that is allocated to the development endpoint. 28602 // Accepts a value of Standard, G.1X, or G.2X. 28603 // 28604 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 28605 // memory and a 50GB disk, and 2 executors per worker. 28606 // 28607 // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of 28608 // memory, 64 GB disk), and provides 1 executor per worker. We recommend 28609 // this worker type for memory-intensive jobs. 28610 // 28611 // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of 28612 // memory, 128 GB disk), and provides 1 executor per worker. We recommend 28613 // this worker type for memory-intensive jobs. 28614 // 28615 // Known issue: when a development endpoint is created with the G.2X WorkerType 28616 // configuration, the Spark drivers for the development endpoint will run on 28617 // 4 vCPU, 16 GB of memory, and a 64 GB disk. 28618 WorkerType *string `type:"string" enum:"WorkerType"` 28619 28620 // The YARN endpoint address used by this DevEndpoint. 28621 YarnEndpointAddress *string `type:"string"` 28622 28623 // The Apache Zeppelin port for the remote Apache Spark interpreter. 28624 ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"` 28625 } 28626 28627 // String returns the string representation. 28628 // 28629 // API parameter values that are decorated as "sensitive" in the API will not 28630 // be included in the string output. The member name will be present, but the 28631 // value will be replaced with "sensitive". 28632 func (s DevEndpoint) String() string { 28633 return awsutil.Prettify(s) 28634 } 28635 28636 // GoString returns the string representation. 28637 // 28638 // API parameter values that are decorated as "sensitive" in the API will not 28639 // be included in the string output. The member name will be present, but the 28640 // value will be replaced with "sensitive". 28641 func (s DevEndpoint) GoString() string { 28642 return s.String() 28643 } 28644 28645 // SetArguments sets the Arguments field's value. 28646 func (s *DevEndpoint) SetArguments(v map[string]*string) *DevEndpoint { 28647 s.Arguments = v 28648 return s 28649 } 28650 28651 // SetAvailabilityZone sets the AvailabilityZone field's value. 28652 func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint { 28653 s.AvailabilityZone = &v 28654 return s 28655 } 28656 28657 // SetCreatedTimestamp sets the CreatedTimestamp field's value. 28658 func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint { 28659 s.CreatedTimestamp = &v 28660 return s 28661 } 28662 28663 // SetEndpointName sets the EndpointName field's value. 28664 func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint { 28665 s.EndpointName = &v 28666 return s 28667 } 28668 28669 // SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. 28670 func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint { 28671 s.ExtraJarsS3Path = &v 28672 return s 28673 } 28674 28675 // SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. 28676 func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint { 28677 s.ExtraPythonLibsS3Path = &v 28678 return s 28679 } 28680 28681 // SetFailureReason sets the FailureReason field's value. 28682 func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint { 28683 s.FailureReason = &v 28684 return s 28685 } 28686 28687 // SetGlueVersion sets the GlueVersion field's value. 28688 func (s *DevEndpoint) SetGlueVersion(v string) *DevEndpoint { 28689 s.GlueVersion = &v 28690 return s 28691 } 28692 28693 // SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. 28694 func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint { 28695 s.LastModifiedTimestamp = &v 28696 return s 28697 } 28698 28699 // SetLastUpdateStatus sets the LastUpdateStatus field's value. 28700 func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint { 28701 s.LastUpdateStatus = &v 28702 return s 28703 } 28704 28705 // SetNumberOfNodes sets the NumberOfNodes field's value. 28706 func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint { 28707 s.NumberOfNodes = &v 28708 return s 28709 } 28710 28711 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 28712 func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint { 28713 s.NumberOfWorkers = &v 28714 return s 28715 } 28716 28717 // SetPrivateAddress sets the PrivateAddress field's value. 28718 func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint { 28719 s.PrivateAddress = &v 28720 return s 28721 } 28722 28723 // SetPublicAddress sets the PublicAddress field's value. 28724 func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint { 28725 s.PublicAddress = &v 28726 return s 28727 } 28728 28729 // SetPublicKey sets the PublicKey field's value. 28730 func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint { 28731 s.PublicKey = &v 28732 return s 28733 } 28734 28735 // SetPublicKeys sets the PublicKeys field's value. 28736 func (s *DevEndpoint) SetPublicKeys(v []*string) *DevEndpoint { 28737 s.PublicKeys = v 28738 return s 28739 } 28740 28741 // SetRoleArn sets the RoleArn field's value. 28742 func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint { 28743 s.RoleArn = &v 28744 return s 28745 } 28746 28747 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 28748 func (s *DevEndpoint) SetSecurityConfiguration(v string) *DevEndpoint { 28749 s.SecurityConfiguration = &v 28750 return s 28751 } 28752 28753 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 28754 func (s *DevEndpoint) SetSecurityGroupIds(v []*string) *DevEndpoint { 28755 s.SecurityGroupIds = v 28756 return s 28757 } 28758 28759 // SetStatus sets the Status field's value. 28760 func (s *DevEndpoint) SetStatus(v string) *DevEndpoint { 28761 s.Status = &v 28762 return s 28763 } 28764 28765 // SetSubnetId sets the SubnetId field's value. 28766 func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint { 28767 s.SubnetId = &v 28768 return s 28769 } 28770 28771 // SetVpcId sets the VpcId field's value. 28772 func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint { 28773 s.VpcId = &v 28774 return s 28775 } 28776 28777 // SetWorkerType sets the WorkerType field's value. 28778 func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint { 28779 s.WorkerType = &v 28780 return s 28781 } 28782 28783 // SetYarnEndpointAddress sets the YarnEndpointAddress field's value. 28784 func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint { 28785 s.YarnEndpointAddress = &v 28786 return s 28787 } 28788 28789 // SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value. 28790 func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint { 28791 s.ZeppelinRemoteSparkInterpreterPort = &v 28792 return s 28793 } 28794 28795 // Custom libraries to be loaded into a development endpoint. 28796 type DevEndpointCustomLibraries struct { 28797 _ struct{} `type:"structure"` 28798 28799 // The path to one or more Java .jar files in an S3 bucket that should be loaded 28800 // in your DevEndpoint. 28801 // 28802 // You can only use pure Java/Scala libraries with a DevEndpoint. 28803 ExtraJarsS3Path *string `type:"string"` 28804 28805 // The paths to one or more Python libraries in an Amazon Simple Storage Service 28806 // (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values 28807 // must be complete paths separated by a comma. 28808 // 28809 // You can only use pure Python libraries with a DevEndpoint. Libraries that 28810 // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python 28811 // data analysis library, are not currently supported. 28812 ExtraPythonLibsS3Path *string `type:"string"` 28813 } 28814 28815 // String returns the string representation. 28816 // 28817 // API parameter values that are decorated as "sensitive" in the API will not 28818 // be included in the string output. The member name will be present, but the 28819 // value will be replaced with "sensitive". 28820 func (s DevEndpointCustomLibraries) String() string { 28821 return awsutil.Prettify(s) 28822 } 28823 28824 // GoString returns the string representation. 28825 // 28826 // API parameter values that are decorated as "sensitive" in the API will not 28827 // be included in the string output. The member name will be present, but the 28828 // value will be replaced with "sensitive". 28829 func (s DevEndpointCustomLibraries) GoString() string { 28830 return s.String() 28831 } 28832 28833 // SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. 28834 func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries { 28835 s.ExtraJarsS3Path = &v 28836 return s 28837 } 28838 28839 // SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. 28840 func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries { 28841 s.ExtraPythonLibsS3Path = &v 28842 return s 28843 } 28844 28845 // Defines column statistics supported for floating-point number data columns. 28846 type DoubleColumnStatisticsData struct { 28847 _ struct{} `type:"structure"` 28848 28849 // The highest value in the column. 28850 MaximumValue *float64 `type:"double"` 28851 28852 // The lowest value in the column. 28853 MinimumValue *float64 `type:"double"` 28854 28855 // The number of distinct values in a column. 28856 // 28857 // NumberOfDistinctValues is a required field 28858 NumberOfDistinctValues *int64 `type:"long" required:"true"` 28859 28860 // The number of null values in the column. 28861 // 28862 // NumberOfNulls is a required field 28863 NumberOfNulls *int64 `type:"long" required:"true"` 28864 } 28865 28866 // String returns the string representation. 28867 // 28868 // API parameter values that are decorated as "sensitive" in the API will not 28869 // be included in the string output. The member name will be present, but the 28870 // value will be replaced with "sensitive". 28871 func (s DoubleColumnStatisticsData) String() string { 28872 return awsutil.Prettify(s) 28873 } 28874 28875 // GoString returns the string representation. 28876 // 28877 // API parameter values that are decorated as "sensitive" in the API will not 28878 // be included in the string output. The member name will be present, but the 28879 // value will be replaced with "sensitive". 28880 func (s DoubleColumnStatisticsData) GoString() string { 28881 return s.String() 28882 } 28883 28884 // Validate inspects the fields of the type to determine if they are valid. 28885 func (s *DoubleColumnStatisticsData) Validate() error { 28886 invalidParams := request.ErrInvalidParams{Context: "DoubleColumnStatisticsData"} 28887 if s.NumberOfDistinctValues == nil { 28888 invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues")) 28889 } 28890 if s.NumberOfNulls == nil { 28891 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 28892 } 28893 28894 if invalidParams.Len() > 0 { 28895 return invalidParams 28896 } 28897 return nil 28898 } 28899 28900 // SetMaximumValue sets the MaximumValue field's value. 28901 func (s *DoubleColumnStatisticsData) SetMaximumValue(v float64) *DoubleColumnStatisticsData { 28902 s.MaximumValue = &v 28903 return s 28904 } 28905 28906 // SetMinimumValue sets the MinimumValue field's value. 28907 func (s *DoubleColumnStatisticsData) SetMinimumValue(v float64) *DoubleColumnStatisticsData { 28908 s.MinimumValue = &v 28909 return s 28910 } 28911 28912 // SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value. 28913 func (s *DoubleColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DoubleColumnStatisticsData { 28914 s.NumberOfDistinctValues = &v 28915 return s 28916 } 28917 28918 // SetNumberOfNulls sets the NumberOfNulls field's value. 28919 func (s *DoubleColumnStatisticsData) SetNumberOfNulls(v int64) *DoubleColumnStatisticsData { 28920 s.NumberOfNulls = &v 28921 return s 28922 } 28923 28924 // Specifies an Amazon DynamoDB table to crawl. 28925 type DynamoDBTarget struct { 28926 _ struct{} `type:"structure"` 28927 28928 // The name of the DynamoDB table to crawl. 28929 Path *string `type:"string"` 28930 28931 // Indicates whether to scan all the records, or to sample rows from the table. 28932 // Scanning all the records can take a long time when the table is not a high 28933 // throughput table. 28934 // 28935 // A value of true means to scan all records, while a value of false means to 28936 // sample the records. If no value is specified, the value defaults to true. 28937 ScanAll *bool `locationName:"scanAll" type:"boolean"` 28938 28939 // The percentage of the configured read capacity units to use by the Glue crawler. 28940 // Read capacity units is a term defined by DynamoDB, and is a numeric value 28941 // that acts as rate limiter for the number of reads that can be performed on 28942 // that table per second. 28943 // 28944 // The valid values are null or a value between 0.1 to 1.5. A null value is 28945 // used when user does not provide a value, and defaults to 0.5 of the configured 28946 // Read Capacity Unit (for provisioned tables), or 0.25 of the max configured 28947 // Read Capacity Unit (for tables using on-demand mode). 28948 ScanRate *float64 `locationName:"scanRate" type:"double"` 28949 } 28950 28951 // String returns the string representation. 28952 // 28953 // API parameter values that are decorated as "sensitive" in the API will not 28954 // be included in the string output. The member name will be present, but the 28955 // value will be replaced with "sensitive". 28956 func (s DynamoDBTarget) String() string { 28957 return awsutil.Prettify(s) 28958 } 28959 28960 // GoString returns the string representation. 28961 // 28962 // API parameter values that are decorated as "sensitive" in the API will not 28963 // be included in the string output. The member name will be present, but the 28964 // value will be replaced with "sensitive". 28965 func (s DynamoDBTarget) GoString() string { 28966 return s.String() 28967 } 28968 28969 // SetPath sets the Path field's value. 28970 func (s *DynamoDBTarget) SetPath(v string) *DynamoDBTarget { 28971 s.Path = &v 28972 return s 28973 } 28974 28975 // SetScanAll sets the ScanAll field's value. 28976 func (s *DynamoDBTarget) SetScanAll(v bool) *DynamoDBTarget { 28977 s.ScanAll = &v 28978 return s 28979 } 28980 28981 // SetScanRate sets the ScanRate field's value. 28982 func (s *DynamoDBTarget) SetScanRate(v float64) *DynamoDBTarget { 28983 s.ScanRate = &v 28984 return s 28985 } 28986 28987 // An edge represents a directed connection between two components on a workflow 28988 // graph. 28989 type Edge struct { 28990 _ struct{} `type:"structure"` 28991 28992 // The unique of the node within the workflow where the edge ends. 28993 DestinationId *string `min:"1" type:"string"` 28994 28995 // The unique of the node within the workflow where the edge starts. 28996 SourceId *string `min:"1" type:"string"` 28997 } 28998 28999 // String returns the string representation. 29000 // 29001 // API parameter values that are decorated as "sensitive" in the API will not 29002 // be included in the string output. The member name will be present, but the 29003 // value will be replaced with "sensitive". 29004 func (s Edge) String() string { 29005 return awsutil.Prettify(s) 29006 } 29007 29008 // GoString returns the string representation. 29009 // 29010 // API parameter values that are decorated as "sensitive" in the API will not 29011 // be included in the string output. The member name will be present, but the 29012 // value will be replaced with "sensitive". 29013 func (s Edge) GoString() string { 29014 return s.String() 29015 } 29016 29017 // SetDestinationId sets the DestinationId field's value. 29018 func (s *Edge) SetDestinationId(v string) *Edge { 29019 s.DestinationId = &v 29020 return s 29021 } 29022 29023 // SetSourceId sets the SourceId field's value. 29024 func (s *Edge) SetSourceId(v string) *Edge { 29025 s.SourceId = &v 29026 return s 29027 } 29028 29029 // Specifies the encryption-at-rest configuration for the Data Catalog. 29030 type EncryptionAtRest struct { 29031 _ struct{} `type:"structure"` 29032 29033 // The encryption-at-rest mode for encrypting Data Catalog data. 29034 // 29035 // CatalogEncryptionMode is a required field 29036 CatalogEncryptionMode *string `type:"string" required:"true" enum:"CatalogEncryptionMode"` 29037 29038 // The ID of the KMS key to use for encryption at rest. 29039 SseAwsKmsKeyId *string `min:"1" type:"string"` 29040 } 29041 29042 // String returns the string representation. 29043 // 29044 // API parameter values that are decorated as "sensitive" in the API will not 29045 // be included in the string output. The member name will be present, but the 29046 // value will be replaced with "sensitive". 29047 func (s EncryptionAtRest) String() string { 29048 return awsutil.Prettify(s) 29049 } 29050 29051 // GoString returns the string representation. 29052 // 29053 // API parameter values that are decorated as "sensitive" in the API will not 29054 // be included in the string output. The member name will be present, but the 29055 // value will be replaced with "sensitive". 29056 func (s EncryptionAtRest) GoString() string { 29057 return s.String() 29058 } 29059 29060 // Validate inspects the fields of the type to determine if they are valid. 29061 func (s *EncryptionAtRest) Validate() error { 29062 invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRest"} 29063 if s.CatalogEncryptionMode == nil { 29064 invalidParams.Add(request.NewErrParamRequired("CatalogEncryptionMode")) 29065 } 29066 if s.SseAwsKmsKeyId != nil && len(*s.SseAwsKmsKeyId) < 1 { 29067 invalidParams.Add(request.NewErrParamMinLen("SseAwsKmsKeyId", 1)) 29068 } 29069 29070 if invalidParams.Len() > 0 { 29071 return invalidParams 29072 } 29073 return nil 29074 } 29075 29076 // SetCatalogEncryptionMode sets the CatalogEncryptionMode field's value. 29077 func (s *EncryptionAtRest) SetCatalogEncryptionMode(v string) *EncryptionAtRest { 29078 s.CatalogEncryptionMode = &v 29079 return s 29080 } 29081 29082 // SetSseAwsKmsKeyId sets the SseAwsKmsKeyId field's value. 29083 func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest { 29084 s.SseAwsKmsKeyId = &v 29085 return s 29086 } 29087 29088 // Specifies an encryption configuration. 29089 type EncryptionConfiguration struct { 29090 _ struct{} `type:"structure"` 29091 29092 // The encryption configuration for Amazon CloudWatch. 29093 CloudWatchEncryption *CloudWatchEncryption `type:"structure"` 29094 29095 // The encryption configuration for job bookmarks. 29096 JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"` 29097 29098 // The encryption configuration for Amazon Simple Storage Service (Amazon S3) 29099 // data. 29100 S3Encryption []*S3Encryption `type:"list"` 29101 } 29102 29103 // String returns the string representation. 29104 // 29105 // API parameter values that are decorated as "sensitive" in the API will not 29106 // be included in the string output. The member name will be present, but the 29107 // value will be replaced with "sensitive". 29108 func (s EncryptionConfiguration) String() string { 29109 return awsutil.Prettify(s) 29110 } 29111 29112 // GoString returns the string representation. 29113 // 29114 // API parameter values that are decorated as "sensitive" in the API will not 29115 // be included in the string output. The member name will be present, but the 29116 // value will be replaced with "sensitive". 29117 func (s EncryptionConfiguration) GoString() string { 29118 return s.String() 29119 } 29120 29121 // SetCloudWatchEncryption sets the CloudWatchEncryption field's value. 29122 func (s *EncryptionConfiguration) SetCloudWatchEncryption(v *CloudWatchEncryption) *EncryptionConfiguration { 29123 s.CloudWatchEncryption = v 29124 return s 29125 } 29126 29127 // SetJobBookmarksEncryption sets the JobBookmarksEncryption field's value. 29128 func (s *EncryptionConfiguration) SetJobBookmarksEncryption(v *JobBookmarksEncryption) *EncryptionConfiguration { 29129 s.JobBookmarksEncryption = v 29130 return s 29131 } 29132 29133 // SetS3Encryption sets the S3Encryption field's value. 29134 func (s *EncryptionConfiguration) SetS3Encryption(v []*S3Encryption) *EncryptionConfiguration { 29135 s.S3Encryption = v 29136 return s 29137 } 29138 29139 // An encryption operation failed. 29140 type EncryptionException struct { 29141 _ struct{} `type:"structure"` 29142 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 29143 29144 // A message describing the problem. 29145 Message_ *string `locationName:"Message" type:"string"` 29146 } 29147 29148 // String returns the string representation. 29149 // 29150 // API parameter values that are decorated as "sensitive" in the API will not 29151 // be included in the string output. The member name will be present, but the 29152 // value will be replaced with "sensitive". 29153 func (s EncryptionException) String() string { 29154 return awsutil.Prettify(s) 29155 } 29156 29157 // GoString returns the string representation. 29158 // 29159 // API parameter values that are decorated as "sensitive" in the API will not 29160 // be included in the string output. The member name will be present, but the 29161 // value will be replaced with "sensitive". 29162 func (s EncryptionException) GoString() string { 29163 return s.String() 29164 } 29165 29166 func newErrorEncryptionException(v protocol.ResponseMetadata) error { 29167 return &EncryptionException{ 29168 RespMetadata: v, 29169 } 29170 } 29171 29172 // Code returns the exception type name. 29173 func (s *EncryptionException) Code() string { 29174 return "GlueEncryptionException" 29175 } 29176 29177 // Message returns the exception's message. 29178 func (s *EncryptionException) Message() string { 29179 if s.Message_ != nil { 29180 return *s.Message_ 29181 } 29182 return "" 29183 } 29184 29185 // OrigErr always returns nil, satisfies awserr.Error interface. 29186 func (s *EncryptionException) OrigErr() error { 29187 return nil 29188 } 29189 29190 func (s *EncryptionException) Error() string { 29191 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 29192 } 29193 29194 // Status code returns the HTTP status code for the request's response error. 29195 func (s *EncryptionException) StatusCode() int { 29196 return s.RespMetadata.StatusCode 29197 } 29198 29199 // RequestID returns the service's response RequestID for request. 29200 func (s *EncryptionException) RequestID() string { 29201 return s.RespMetadata.RequestID 29202 } 29203 29204 // A specified entity does not exist 29205 type EntityNotFoundException struct { 29206 _ struct{} `type:"structure"` 29207 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 29208 29209 // A message describing the problem. 29210 Message_ *string `locationName:"Message" type:"string"` 29211 } 29212 29213 // String returns the string representation. 29214 // 29215 // API parameter values that are decorated as "sensitive" in the API will not 29216 // be included in the string output. The member name will be present, but the 29217 // value will be replaced with "sensitive". 29218 func (s EntityNotFoundException) String() string { 29219 return awsutil.Prettify(s) 29220 } 29221 29222 // GoString returns the string representation. 29223 // 29224 // API parameter values that are decorated as "sensitive" in the API will not 29225 // be included in the string output. The member name will be present, but the 29226 // value will be replaced with "sensitive". 29227 func (s EntityNotFoundException) GoString() string { 29228 return s.String() 29229 } 29230 29231 func newErrorEntityNotFoundException(v protocol.ResponseMetadata) error { 29232 return &EntityNotFoundException{ 29233 RespMetadata: v, 29234 } 29235 } 29236 29237 // Code returns the exception type name. 29238 func (s *EntityNotFoundException) Code() string { 29239 return "EntityNotFoundException" 29240 } 29241 29242 // Message returns the exception's message. 29243 func (s *EntityNotFoundException) Message() string { 29244 if s.Message_ != nil { 29245 return *s.Message_ 29246 } 29247 return "" 29248 } 29249 29250 // OrigErr always returns nil, satisfies awserr.Error interface. 29251 func (s *EntityNotFoundException) OrigErr() error { 29252 return nil 29253 } 29254 29255 func (s *EntityNotFoundException) Error() string { 29256 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 29257 } 29258 29259 // Status code returns the HTTP status code for the request's response error. 29260 func (s *EntityNotFoundException) StatusCode() int { 29261 return s.RespMetadata.StatusCode 29262 } 29263 29264 // RequestID returns the service's response RequestID for request. 29265 func (s *EntityNotFoundException) RequestID() string { 29266 return s.RespMetadata.RequestID 29267 } 29268 29269 // Contains details about an error. 29270 type ErrorDetail struct { 29271 _ struct{} `type:"structure"` 29272 29273 // The code associated with this error. 29274 ErrorCode *string `min:"1" type:"string"` 29275 29276 // A message describing the error. 29277 ErrorMessage *string `type:"string"` 29278 } 29279 29280 // String returns the string representation. 29281 // 29282 // API parameter values that are decorated as "sensitive" in the API will not 29283 // be included in the string output. The member name will be present, but the 29284 // value will be replaced with "sensitive". 29285 func (s ErrorDetail) String() string { 29286 return awsutil.Prettify(s) 29287 } 29288 29289 // GoString returns the string representation. 29290 // 29291 // API parameter values that are decorated as "sensitive" in the API will not 29292 // be included in the string output. The member name will be present, but the 29293 // value will be replaced with "sensitive". 29294 func (s ErrorDetail) GoString() string { 29295 return s.String() 29296 } 29297 29298 // SetErrorCode sets the ErrorCode field's value. 29299 func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail { 29300 s.ErrorCode = &v 29301 return s 29302 } 29303 29304 // SetErrorMessage sets the ErrorMessage field's value. 29305 func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail { 29306 s.ErrorMessage = &v 29307 return s 29308 } 29309 29310 // An object containing error details. 29311 type ErrorDetails struct { 29312 _ struct{} `type:"structure"` 29313 29314 // The error code for an error. 29315 ErrorCode *string `type:"string"` 29316 29317 // The error message for an error. 29318 ErrorMessage *string `type:"string"` 29319 } 29320 29321 // String returns the string representation. 29322 // 29323 // API parameter values that are decorated as "sensitive" in the API will not 29324 // be included in the string output. The member name will be present, but the 29325 // value will be replaced with "sensitive". 29326 func (s ErrorDetails) String() string { 29327 return awsutil.Prettify(s) 29328 } 29329 29330 // GoString returns the string representation. 29331 // 29332 // API parameter values that are decorated as "sensitive" in the API will not 29333 // be included in the string output. The member name will be present, but the 29334 // value will be replaced with "sensitive". 29335 func (s ErrorDetails) GoString() string { 29336 return s.String() 29337 } 29338 29339 // SetErrorCode sets the ErrorCode field's value. 29340 func (s *ErrorDetails) SetErrorCode(v string) *ErrorDetails { 29341 s.ErrorCode = &v 29342 return s 29343 } 29344 29345 // SetErrorMessage sets the ErrorMessage field's value. 29346 func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails { 29347 s.ErrorMessage = &v 29348 return s 29349 } 29350 29351 // Evaluation metrics provide an estimate of the quality of your machine learning 29352 // transform. 29353 type EvaluationMetrics struct { 29354 _ struct{} `type:"structure"` 29355 29356 // The evaluation metrics for the find matches algorithm. 29357 FindMatchesMetrics *FindMatchesMetrics `type:"structure"` 29358 29359 // The type of machine learning transform. 29360 // 29361 // TransformType is a required field 29362 TransformType *string `type:"string" required:"true" enum:"TransformType"` 29363 } 29364 29365 // String returns the string representation. 29366 // 29367 // API parameter values that are decorated as "sensitive" in the API will not 29368 // be included in the string output. The member name will be present, but the 29369 // value will be replaced with "sensitive". 29370 func (s EvaluationMetrics) String() string { 29371 return awsutil.Prettify(s) 29372 } 29373 29374 // GoString returns the string representation. 29375 // 29376 // API parameter values that are decorated as "sensitive" in the API will not 29377 // be included in the string output. The member name will be present, but the 29378 // value will be replaced with "sensitive". 29379 func (s EvaluationMetrics) GoString() string { 29380 return s.String() 29381 } 29382 29383 // SetFindMatchesMetrics sets the FindMatchesMetrics field's value. 29384 func (s *EvaluationMetrics) SetFindMatchesMetrics(v *FindMatchesMetrics) *EvaluationMetrics { 29385 s.FindMatchesMetrics = v 29386 return s 29387 } 29388 29389 // SetTransformType sets the TransformType field's value. 29390 func (s *EvaluationMetrics) SetTransformType(v string) *EvaluationMetrics { 29391 s.TransformType = &v 29392 return s 29393 } 29394 29395 // Batch condition that must be met (specified number of events received or 29396 // batch time window expired) before EventBridge event trigger fires. 29397 type EventBatchingCondition struct { 29398 _ struct{} `type:"structure"` 29399 29400 // Number of events that must be received from Amazon EventBridge before EventBridge 29401 // event trigger fires. 29402 // 29403 // BatchSize is a required field 29404 BatchSize *int64 `min:"1" type:"integer" required:"true"` 29405 29406 // Window of time in seconds after which EventBridge event trigger fires. Window 29407 // starts when first event is received. 29408 BatchWindow *int64 `min:"1" type:"integer"` 29409 } 29410 29411 // String returns the string representation. 29412 // 29413 // API parameter values that are decorated as "sensitive" in the API will not 29414 // be included in the string output. The member name will be present, but the 29415 // value will be replaced with "sensitive". 29416 func (s EventBatchingCondition) String() string { 29417 return awsutil.Prettify(s) 29418 } 29419 29420 // GoString returns the string representation. 29421 // 29422 // API parameter values that are decorated as "sensitive" in the API will not 29423 // be included in the string output. The member name will be present, but the 29424 // value will be replaced with "sensitive". 29425 func (s EventBatchingCondition) GoString() string { 29426 return s.String() 29427 } 29428 29429 // Validate inspects the fields of the type to determine if they are valid. 29430 func (s *EventBatchingCondition) Validate() error { 29431 invalidParams := request.ErrInvalidParams{Context: "EventBatchingCondition"} 29432 if s.BatchSize == nil { 29433 invalidParams.Add(request.NewErrParamRequired("BatchSize")) 29434 } 29435 if s.BatchSize != nil && *s.BatchSize < 1 { 29436 invalidParams.Add(request.NewErrParamMinValue("BatchSize", 1)) 29437 } 29438 if s.BatchWindow != nil && *s.BatchWindow < 1 { 29439 invalidParams.Add(request.NewErrParamMinValue("BatchWindow", 1)) 29440 } 29441 29442 if invalidParams.Len() > 0 { 29443 return invalidParams 29444 } 29445 return nil 29446 } 29447 29448 // SetBatchSize sets the BatchSize field's value. 29449 func (s *EventBatchingCondition) SetBatchSize(v int64) *EventBatchingCondition { 29450 s.BatchSize = &v 29451 return s 29452 } 29453 29454 // SetBatchWindow sets the BatchWindow field's value. 29455 func (s *EventBatchingCondition) SetBatchWindow(v int64) *EventBatchingCondition { 29456 s.BatchWindow = &v 29457 return s 29458 } 29459 29460 // An execution property of a job. 29461 type ExecutionProperty struct { 29462 _ struct{} `type:"structure"` 29463 29464 // The maximum number of concurrent runs allowed for the job. The default is 29465 // 1. An error is returned when this threshold is reached. The maximum value 29466 // you can specify is controlled by a service limit. 29467 MaxConcurrentRuns *int64 `type:"integer"` 29468 } 29469 29470 // String returns the string representation. 29471 // 29472 // API parameter values that are decorated as "sensitive" in the API will not 29473 // be included in the string output. The member name will be present, but the 29474 // value will be replaced with "sensitive". 29475 func (s ExecutionProperty) String() string { 29476 return awsutil.Prettify(s) 29477 } 29478 29479 // GoString returns the string representation. 29480 // 29481 // API parameter values that are decorated as "sensitive" in the API will not 29482 // be included in the string output. The member name will be present, but the 29483 // value will be replaced with "sensitive". 29484 func (s ExecutionProperty) GoString() string { 29485 return s.String() 29486 } 29487 29488 // SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. 29489 func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty { 29490 s.MaxConcurrentRuns = &v 29491 return s 29492 } 29493 29494 // Specifies configuration properties for an exporting labels task run. 29495 type ExportLabelsTaskRunProperties struct { 29496 _ struct{} `type:"structure"` 29497 29498 // The Amazon Simple Storage Service (Amazon S3) path where you will export 29499 // the labels. 29500 OutputS3Path *string `type:"string"` 29501 } 29502 29503 // String returns the string representation. 29504 // 29505 // API parameter values that are decorated as "sensitive" in the API will not 29506 // be included in the string output. The member name will be present, but the 29507 // value will be replaced with "sensitive". 29508 func (s ExportLabelsTaskRunProperties) String() string { 29509 return awsutil.Prettify(s) 29510 } 29511 29512 // GoString returns the string representation. 29513 // 29514 // API parameter values that are decorated as "sensitive" in the API will not 29515 // be included in the string output. The member name will be present, but the 29516 // value will be replaced with "sensitive". 29517 func (s ExportLabelsTaskRunProperties) GoString() string { 29518 return s.String() 29519 } 29520 29521 // SetOutputS3Path sets the OutputS3Path field's value. 29522 func (s *ExportLabelsTaskRunProperties) SetOutputS3Path(v string) *ExportLabelsTaskRunProperties { 29523 s.OutputS3Path = &v 29524 return s 29525 } 29526 29527 // The evaluation metrics for the find matches algorithm. The quality of your 29528 // machine learning transform is measured by getting your transform to predict 29529 // some matches and comparing the results to known matches from the same dataset. 29530 // The quality metrics are based on a subset of your data, so they are not precise. 29531 type FindMatchesMetrics struct { 29532 _ struct{} `type:"structure"` 29533 29534 // The area under the precision/recall curve (AUPRC) is a single number measuring 29535 // the overall quality of the transform, that is independent of the choice made 29536 // for precision vs. recall. Higher values indicate that you have a more attractive 29537 // precision vs. recall tradeoff. 29538 // 29539 // For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall) 29540 // in Wikipedia. 29541 AreaUnderPRCurve *float64 `type:"double"` 29542 29543 // A list of ColumnImportance structures containing column importance metrics, 29544 // sorted in order of descending importance. 29545 ColumnImportances []*ColumnImportance `type:"list"` 29546 29547 // The confusion matrix shows you what your transform is predicting accurately 29548 // and what types of errors it is making. 29549 // 29550 // For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix) 29551 // in Wikipedia. 29552 ConfusionMatrix *ConfusionMatrix `type:"structure"` 29553 29554 // The maximum F1 metric indicates the transform's accuracy between 0 and 1, 29555 // where 1 is the best accuracy. 29556 // 29557 // For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score) 29558 // in Wikipedia. 29559 F1 *float64 `type:"double"` 29560 29561 // The precision metric indicates when often your transform is correct when 29562 // it predicts a match. Specifically, it measures how well the transform finds 29563 // true positives from the total true positives possible. 29564 // 29565 // For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall) 29566 // in Wikipedia. 29567 Precision *float64 `type:"double"` 29568 29569 // The recall metric indicates that for an actual match, how often your transform 29570 // predicts the match. Specifically, it measures how well the transform finds 29571 // true positives from the total records in the source data. 29572 // 29573 // For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall) 29574 // in Wikipedia. 29575 Recall *float64 `type:"double"` 29576 } 29577 29578 // String returns the string representation. 29579 // 29580 // API parameter values that are decorated as "sensitive" in the API will not 29581 // be included in the string output. The member name will be present, but the 29582 // value will be replaced with "sensitive". 29583 func (s FindMatchesMetrics) String() string { 29584 return awsutil.Prettify(s) 29585 } 29586 29587 // GoString returns the string representation. 29588 // 29589 // API parameter values that are decorated as "sensitive" in the API will not 29590 // be included in the string output. The member name will be present, but the 29591 // value will be replaced with "sensitive". 29592 func (s FindMatchesMetrics) GoString() string { 29593 return s.String() 29594 } 29595 29596 // SetAreaUnderPRCurve sets the AreaUnderPRCurve field's value. 29597 func (s *FindMatchesMetrics) SetAreaUnderPRCurve(v float64) *FindMatchesMetrics { 29598 s.AreaUnderPRCurve = &v 29599 return s 29600 } 29601 29602 // SetColumnImportances sets the ColumnImportances field's value. 29603 func (s *FindMatchesMetrics) SetColumnImportances(v []*ColumnImportance) *FindMatchesMetrics { 29604 s.ColumnImportances = v 29605 return s 29606 } 29607 29608 // SetConfusionMatrix sets the ConfusionMatrix field's value. 29609 func (s *FindMatchesMetrics) SetConfusionMatrix(v *ConfusionMatrix) *FindMatchesMetrics { 29610 s.ConfusionMatrix = v 29611 return s 29612 } 29613 29614 // SetF1 sets the F1 field's value. 29615 func (s *FindMatchesMetrics) SetF1(v float64) *FindMatchesMetrics { 29616 s.F1 = &v 29617 return s 29618 } 29619 29620 // SetPrecision sets the Precision field's value. 29621 func (s *FindMatchesMetrics) SetPrecision(v float64) *FindMatchesMetrics { 29622 s.Precision = &v 29623 return s 29624 } 29625 29626 // SetRecall sets the Recall field's value. 29627 func (s *FindMatchesMetrics) SetRecall(v float64) *FindMatchesMetrics { 29628 s.Recall = &v 29629 return s 29630 } 29631 29632 // The parameters to configure the find matches transform. 29633 type FindMatchesParameters struct { 29634 _ struct{} `type:"structure"` 29635 29636 // The value that is selected when tuning your transform for a balance between 29637 // accuracy and cost. A value of 0.5 means that the system balances accuracy 29638 // and cost concerns. A value of 1.0 means a bias purely for accuracy, which 29639 // typically results in a higher cost, sometimes substantially higher. A value 29640 // of 0.0 means a bias purely for cost, which results in a less accurate FindMatches 29641 // transform, sometimes with unacceptable accuracy. 29642 // 29643 // Accuracy measures how well the transform finds true positives and true negatives. 29644 // Increasing accuracy requires more machine resources and cost. But it also 29645 // results in increased recall. 29646 // 29647 // Cost measures how many compute resources, and thus money, are consumed to 29648 // run the transform. 29649 AccuracyCostTradeoff *float64 `type:"double"` 29650 29651 // The value to switch on or off to force the output to match the provided labels 29652 // from users. If the value is True, the find matches transform forces the output 29653 // to match the provided labels. The results override the normal conflation 29654 // results. If the value is False, the find matches transform does not ensure 29655 // all the labels provided are respected, and the results rely on the trained 29656 // model. 29657 // 29658 // Note that setting this value to true may increase the conflation execution 29659 // time. 29660 EnforceProvidedLabels *bool `type:"boolean"` 29661 29662 // The value selected when tuning your transform for a balance between precision 29663 // and recall. A value of 0.5 means no preference; a value of 1.0 means a bias 29664 // purely for precision, and a value of 0.0 means a bias for recall. Because 29665 // this is a tradeoff, choosing values close to 1.0 means very low recall, and 29666 // choosing values close to 0.0 results in very low precision. 29667 // 29668 // The precision metric indicates how often your model is correct when it predicts 29669 // a match. 29670 // 29671 // The recall metric indicates that for an actual match, how often your model 29672 // predicts the match. 29673 PrecisionRecallTradeoff *float64 `type:"double"` 29674 29675 // The name of a column that uniquely identifies rows in the source table. Used 29676 // to help identify matching records. 29677 PrimaryKeyColumnName *string `min:"1" type:"string"` 29678 } 29679 29680 // String returns the string representation. 29681 // 29682 // API parameter values that are decorated as "sensitive" in the API will not 29683 // be included in the string output. The member name will be present, but the 29684 // value will be replaced with "sensitive". 29685 func (s FindMatchesParameters) String() string { 29686 return awsutil.Prettify(s) 29687 } 29688 29689 // GoString returns the string representation. 29690 // 29691 // API parameter values that are decorated as "sensitive" in the API will not 29692 // be included in the string output. The member name will be present, but the 29693 // value will be replaced with "sensitive". 29694 func (s FindMatchesParameters) GoString() string { 29695 return s.String() 29696 } 29697 29698 // Validate inspects the fields of the type to determine if they are valid. 29699 func (s *FindMatchesParameters) Validate() error { 29700 invalidParams := request.ErrInvalidParams{Context: "FindMatchesParameters"} 29701 if s.PrimaryKeyColumnName != nil && len(*s.PrimaryKeyColumnName) < 1 { 29702 invalidParams.Add(request.NewErrParamMinLen("PrimaryKeyColumnName", 1)) 29703 } 29704 29705 if invalidParams.Len() > 0 { 29706 return invalidParams 29707 } 29708 return nil 29709 } 29710 29711 // SetAccuracyCostTradeoff sets the AccuracyCostTradeoff field's value. 29712 func (s *FindMatchesParameters) SetAccuracyCostTradeoff(v float64) *FindMatchesParameters { 29713 s.AccuracyCostTradeoff = &v 29714 return s 29715 } 29716 29717 // SetEnforceProvidedLabels sets the EnforceProvidedLabels field's value. 29718 func (s *FindMatchesParameters) SetEnforceProvidedLabels(v bool) *FindMatchesParameters { 29719 s.EnforceProvidedLabels = &v 29720 return s 29721 } 29722 29723 // SetPrecisionRecallTradeoff sets the PrecisionRecallTradeoff field's value. 29724 func (s *FindMatchesParameters) SetPrecisionRecallTradeoff(v float64) *FindMatchesParameters { 29725 s.PrecisionRecallTradeoff = &v 29726 return s 29727 } 29728 29729 // SetPrimaryKeyColumnName sets the PrimaryKeyColumnName field's value. 29730 func (s *FindMatchesParameters) SetPrimaryKeyColumnName(v string) *FindMatchesParameters { 29731 s.PrimaryKeyColumnName = &v 29732 return s 29733 } 29734 29735 // Specifies configuration properties for a Find Matches task run. 29736 type FindMatchesTaskRunProperties struct { 29737 _ struct{} `type:"structure"` 29738 29739 // The job ID for the Find Matches task run. 29740 JobId *string `min:"1" type:"string"` 29741 29742 // The name assigned to the job for the Find Matches task run. 29743 JobName *string `min:"1" type:"string"` 29744 29745 // The job run ID for the Find Matches task run. 29746 JobRunId *string `min:"1" type:"string"` 29747 } 29748 29749 // String returns the string representation. 29750 // 29751 // API parameter values that are decorated as "sensitive" in the API will not 29752 // be included in the string output. The member name will be present, but the 29753 // value will be replaced with "sensitive". 29754 func (s FindMatchesTaskRunProperties) String() string { 29755 return awsutil.Prettify(s) 29756 } 29757 29758 // GoString returns the string representation. 29759 // 29760 // API parameter values that are decorated as "sensitive" in the API will not 29761 // be included in the string output. The member name will be present, but the 29762 // value will be replaced with "sensitive". 29763 func (s FindMatchesTaskRunProperties) GoString() string { 29764 return s.String() 29765 } 29766 29767 // SetJobId sets the JobId field's value. 29768 func (s *FindMatchesTaskRunProperties) SetJobId(v string) *FindMatchesTaskRunProperties { 29769 s.JobId = &v 29770 return s 29771 } 29772 29773 // SetJobName sets the JobName field's value. 29774 func (s *FindMatchesTaskRunProperties) SetJobName(v string) *FindMatchesTaskRunProperties { 29775 s.JobName = &v 29776 return s 29777 } 29778 29779 // SetJobRunId sets the JobRunId field's value. 29780 func (s *FindMatchesTaskRunProperties) SetJobRunId(v string) *FindMatchesTaskRunProperties { 29781 s.JobRunId = &v 29782 return s 29783 } 29784 29785 type GetBlueprintInput struct { 29786 _ struct{} `type:"structure"` 29787 29788 // Specifies whether or not to include the blueprint in the response. 29789 IncludeBlueprint *bool `type:"boolean"` 29790 29791 // Specifies whether or not to include the parameter specification. 29792 IncludeParameterSpec *bool `type:"boolean"` 29793 29794 // The name of the blueprint. 29795 // 29796 // Name is a required field 29797 Name *string `min:"1" type:"string" required:"true"` 29798 } 29799 29800 // String returns the string representation. 29801 // 29802 // API parameter values that are decorated as "sensitive" in the API will not 29803 // be included in the string output. The member name will be present, but the 29804 // value will be replaced with "sensitive". 29805 func (s GetBlueprintInput) String() string { 29806 return awsutil.Prettify(s) 29807 } 29808 29809 // GoString returns the string representation. 29810 // 29811 // API parameter values that are decorated as "sensitive" in the API will not 29812 // be included in the string output. The member name will be present, but the 29813 // value will be replaced with "sensitive". 29814 func (s GetBlueprintInput) GoString() string { 29815 return s.String() 29816 } 29817 29818 // Validate inspects the fields of the type to determine if they are valid. 29819 func (s *GetBlueprintInput) Validate() error { 29820 invalidParams := request.ErrInvalidParams{Context: "GetBlueprintInput"} 29821 if s.Name == nil { 29822 invalidParams.Add(request.NewErrParamRequired("Name")) 29823 } 29824 if s.Name != nil && len(*s.Name) < 1 { 29825 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 29826 } 29827 29828 if invalidParams.Len() > 0 { 29829 return invalidParams 29830 } 29831 return nil 29832 } 29833 29834 // SetIncludeBlueprint sets the IncludeBlueprint field's value. 29835 func (s *GetBlueprintInput) SetIncludeBlueprint(v bool) *GetBlueprintInput { 29836 s.IncludeBlueprint = &v 29837 return s 29838 } 29839 29840 // SetIncludeParameterSpec sets the IncludeParameterSpec field's value. 29841 func (s *GetBlueprintInput) SetIncludeParameterSpec(v bool) *GetBlueprintInput { 29842 s.IncludeParameterSpec = &v 29843 return s 29844 } 29845 29846 // SetName sets the Name field's value. 29847 func (s *GetBlueprintInput) SetName(v string) *GetBlueprintInput { 29848 s.Name = &v 29849 return s 29850 } 29851 29852 type GetBlueprintOutput struct { 29853 _ struct{} `type:"structure"` 29854 29855 // Returns a Blueprint object. 29856 Blueprint *Blueprint `type:"structure"` 29857 } 29858 29859 // String returns the string representation. 29860 // 29861 // API parameter values that are decorated as "sensitive" in the API will not 29862 // be included in the string output. The member name will be present, but the 29863 // value will be replaced with "sensitive". 29864 func (s GetBlueprintOutput) String() string { 29865 return awsutil.Prettify(s) 29866 } 29867 29868 // GoString returns the string representation. 29869 // 29870 // API parameter values that are decorated as "sensitive" in the API will not 29871 // be included in the string output. The member name will be present, but the 29872 // value will be replaced with "sensitive". 29873 func (s GetBlueprintOutput) GoString() string { 29874 return s.String() 29875 } 29876 29877 // SetBlueprint sets the Blueprint field's value. 29878 func (s *GetBlueprintOutput) SetBlueprint(v *Blueprint) *GetBlueprintOutput { 29879 s.Blueprint = v 29880 return s 29881 } 29882 29883 type GetBlueprintRunInput struct { 29884 _ struct{} `type:"structure"` 29885 29886 // The name of the blueprint. 29887 // 29888 // BlueprintName is a required field 29889 BlueprintName *string `min:"1" type:"string" required:"true"` 29890 29891 // The run ID for the blueprint run you want to retrieve. 29892 // 29893 // RunId is a required field 29894 RunId *string `min:"1" type:"string" required:"true"` 29895 } 29896 29897 // String returns the string representation. 29898 // 29899 // API parameter values that are decorated as "sensitive" in the API will not 29900 // be included in the string output. The member name will be present, but the 29901 // value will be replaced with "sensitive". 29902 func (s GetBlueprintRunInput) String() string { 29903 return awsutil.Prettify(s) 29904 } 29905 29906 // GoString returns the string representation. 29907 // 29908 // API parameter values that are decorated as "sensitive" in the API will not 29909 // be included in the string output. The member name will be present, but the 29910 // value will be replaced with "sensitive". 29911 func (s GetBlueprintRunInput) GoString() string { 29912 return s.String() 29913 } 29914 29915 // Validate inspects the fields of the type to determine if they are valid. 29916 func (s *GetBlueprintRunInput) Validate() error { 29917 invalidParams := request.ErrInvalidParams{Context: "GetBlueprintRunInput"} 29918 if s.BlueprintName == nil { 29919 invalidParams.Add(request.NewErrParamRequired("BlueprintName")) 29920 } 29921 if s.BlueprintName != nil && len(*s.BlueprintName) < 1 { 29922 invalidParams.Add(request.NewErrParamMinLen("BlueprintName", 1)) 29923 } 29924 if s.RunId == nil { 29925 invalidParams.Add(request.NewErrParamRequired("RunId")) 29926 } 29927 if s.RunId != nil && len(*s.RunId) < 1 { 29928 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 29929 } 29930 29931 if invalidParams.Len() > 0 { 29932 return invalidParams 29933 } 29934 return nil 29935 } 29936 29937 // SetBlueprintName sets the BlueprintName field's value. 29938 func (s *GetBlueprintRunInput) SetBlueprintName(v string) *GetBlueprintRunInput { 29939 s.BlueprintName = &v 29940 return s 29941 } 29942 29943 // SetRunId sets the RunId field's value. 29944 func (s *GetBlueprintRunInput) SetRunId(v string) *GetBlueprintRunInput { 29945 s.RunId = &v 29946 return s 29947 } 29948 29949 type GetBlueprintRunOutput struct { 29950 _ struct{} `type:"structure"` 29951 29952 // Returns a BlueprintRun object. 29953 BlueprintRun *BlueprintRun `type:"structure"` 29954 } 29955 29956 // String returns the string representation. 29957 // 29958 // API parameter values that are decorated as "sensitive" in the API will not 29959 // be included in the string output. The member name will be present, but the 29960 // value will be replaced with "sensitive". 29961 func (s GetBlueprintRunOutput) String() string { 29962 return awsutil.Prettify(s) 29963 } 29964 29965 // GoString returns the string representation. 29966 // 29967 // API parameter values that are decorated as "sensitive" in the API will not 29968 // be included in the string output. The member name will be present, but the 29969 // value will be replaced with "sensitive". 29970 func (s GetBlueprintRunOutput) GoString() string { 29971 return s.String() 29972 } 29973 29974 // SetBlueprintRun sets the BlueprintRun field's value. 29975 func (s *GetBlueprintRunOutput) SetBlueprintRun(v *BlueprintRun) *GetBlueprintRunOutput { 29976 s.BlueprintRun = v 29977 return s 29978 } 29979 29980 type GetBlueprintRunsInput struct { 29981 _ struct{} `type:"structure"` 29982 29983 // The name of the blueprint. 29984 // 29985 // BlueprintName is a required field 29986 BlueprintName *string `min:"1" type:"string" required:"true"` 29987 29988 // The maximum size of a list to return. 29989 MaxResults *int64 `min:"1" type:"integer"` 29990 29991 // A continuation token, if this is a continuation request. 29992 NextToken *string `type:"string"` 29993 } 29994 29995 // String returns the string representation. 29996 // 29997 // API parameter values that are decorated as "sensitive" in the API will not 29998 // be included in the string output. The member name will be present, but the 29999 // value will be replaced with "sensitive". 30000 func (s GetBlueprintRunsInput) String() string { 30001 return awsutil.Prettify(s) 30002 } 30003 30004 // GoString returns the string representation. 30005 // 30006 // API parameter values that are decorated as "sensitive" in the API will not 30007 // be included in the string output. The member name will be present, but the 30008 // value will be replaced with "sensitive". 30009 func (s GetBlueprintRunsInput) GoString() string { 30010 return s.String() 30011 } 30012 30013 // Validate inspects the fields of the type to determine if they are valid. 30014 func (s *GetBlueprintRunsInput) Validate() error { 30015 invalidParams := request.ErrInvalidParams{Context: "GetBlueprintRunsInput"} 30016 if s.BlueprintName == nil { 30017 invalidParams.Add(request.NewErrParamRequired("BlueprintName")) 30018 } 30019 if s.BlueprintName != nil && len(*s.BlueprintName) < 1 { 30020 invalidParams.Add(request.NewErrParamMinLen("BlueprintName", 1)) 30021 } 30022 if s.MaxResults != nil && *s.MaxResults < 1 { 30023 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 30024 } 30025 30026 if invalidParams.Len() > 0 { 30027 return invalidParams 30028 } 30029 return nil 30030 } 30031 30032 // SetBlueprintName sets the BlueprintName field's value. 30033 func (s *GetBlueprintRunsInput) SetBlueprintName(v string) *GetBlueprintRunsInput { 30034 s.BlueprintName = &v 30035 return s 30036 } 30037 30038 // SetMaxResults sets the MaxResults field's value. 30039 func (s *GetBlueprintRunsInput) SetMaxResults(v int64) *GetBlueprintRunsInput { 30040 s.MaxResults = &v 30041 return s 30042 } 30043 30044 // SetNextToken sets the NextToken field's value. 30045 func (s *GetBlueprintRunsInput) SetNextToken(v string) *GetBlueprintRunsInput { 30046 s.NextToken = &v 30047 return s 30048 } 30049 30050 type GetBlueprintRunsOutput struct { 30051 _ struct{} `type:"structure"` 30052 30053 // Returns a list of BlueprintRun objects. 30054 BlueprintRuns []*BlueprintRun `type:"list"` 30055 30056 // A continuation token, if not all blueprint runs have been returned. 30057 NextToken *string `type:"string"` 30058 } 30059 30060 // String returns the string representation. 30061 // 30062 // API parameter values that are decorated as "sensitive" in the API will not 30063 // be included in the string output. The member name will be present, but the 30064 // value will be replaced with "sensitive". 30065 func (s GetBlueprintRunsOutput) String() string { 30066 return awsutil.Prettify(s) 30067 } 30068 30069 // GoString returns the string representation. 30070 // 30071 // API parameter values that are decorated as "sensitive" in the API will not 30072 // be included in the string output. The member name will be present, but the 30073 // value will be replaced with "sensitive". 30074 func (s GetBlueprintRunsOutput) GoString() string { 30075 return s.String() 30076 } 30077 30078 // SetBlueprintRuns sets the BlueprintRuns field's value. 30079 func (s *GetBlueprintRunsOutput) SetBlueprintRuns(v []*BlueprintRun) *GetBlueprintRunsOutput { 30080 s.BlueprintRuns = v 30081 return s 30082 } 30083 30084 // SetNextToken sets the NextToken field's value. 30085 func (s *GetBlueprintRunsOutput) SetNextToken(v string) *GetBlueprintRunsOutput { 30086 s.NextToken = &v 30087 return s 30088 } 30089 30090 type GetCatalogImportStatusInput struct { 30091 _ struct{} `type:"structure"` 30092 30093 // The ID of the catalog to migrate. Currently, this should be the Amazon Web 30094 // Services account ID. 30095 CatalogId *string `min:"1" type:"string"` 30096 } 30097 30098 // String returns the string representation. 30099 // 30100 // API parameter values that are decorated as "sensitive" in the API will not 30101 // be included in the string output. The member name will be present, but the 30102 // value will be replaced with "sensitive". 30103 func (s GetCatalogImportStatusInput) String() string { 30104 return awsutil.Prettify(s) 30105 } 30106 30107 // GoString returns the string representation. 30108 // 30109 // API parameter values that are decorated as "sensitive" in the API will not 30110 // be included in the string output. The member name will be present, but the 30111 // value will be replaced with "sensitive". 30112 func (s GetCatalogImportStatusInput) GoString() string { 30113 return s.String() 30114 } 30115 30116 // Validate inspects the fields of the type to determine if they are valid. 30117 func (s *GetCatalogImportStatusInput) Validate() error { 30118 invalidParams := request.ErrInvalidParams{Context: "GetCatalogImportStatusInput"} 30119 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 30120 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 30121 } 30122 30123 if invalidParams.Len() > 0 { 30124 return invalidParams 30125 } 30126 return nil 30127 } 30128 30129 // SetCatalogId sets the CatalogId field's value. 30130 func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput { 30131 s.CatalogId = &v 30132 return s 30133 } 30134 30135 type GetCatalogImportStatusOutput struct { 30136 _ struct{} `type:"structure"` 30137 30138 // The status of the specified catalog migration. 30139 ImportStatus *CatalogImportStatus `type:"structure"` 30140 } 30141 30142 // String returns the string representation. 30143 // 30144 // API parameter values that are decorated as "sensitive" in the API will not 30145 // be included in the string output. The member name will be present, but the 30146 // value will be replaced with "sensitive". 30147 func (s GetCatalogImportStatusOutput) String() string { 30148 return awsutil.Prettify(s) 30149 } 30150 30151 // GoString returns the string representation. 30152 // 30153 // API parameter values that are decorated as "sensitive" in the API will not 30154 // be included in the string output. The member name will be present, but the 30155 // value will be replaced with "sensitive". 30156 func (s GetCatalogImportStatusOutput) GoString() string { 30157 return s.String() 30158 } 30159 30160 // SetImportStatus sets the ImportStatus field's value. 30161 func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput { 30162 s.ImportStatus = v 30163 return s 30164 } 30165 30166 type GetClassifierInput struct { 30167 _ struct{} `type:"structure"` 30168 30169 // Name of the classifier to retrieve. 30170 // 30171 // Name is a required field 30172 Name *string `min:"1" type:"string" required:"true"` 30173 } 30174 30175 // String returns the string representation. 30176 // 30177 // API parameter values that are decorated as "sensitive" in the API will not 30178 // be included in the string output. The member name will be present, but the 30179 // value will be replaced with "sensitive". 30180 func (s GetClassifierInput) String() string { 30181 return awsutil.Prettify(s) 30182 } 30183 30184 // GoString returns the string representation. 30185 // 30186 // API parameter values that are decorated as "sensitive" in the API will not 30187 // be included in the string output. The member name will be present, but the 30188 // value will be replaced with "sensitive". 30189 func (s GetClassifierInput) GoString() string { 30190 return s.String() 30191 } 30192 30193 // Validate inspects the fields of the type to determine if they are valid. 30194 func (s *GetClassifierInput) Validate() error { 30195 invalidParams := request.ErrInvalidParams{Context: "GetClassifierInput"} 30196 if s.Name == nil { 30197 invalidParams.Add(request.NewErrParamRequired("Name")) 30198 } 30199 if s.Name != nil && len(*s.Name) < 1 { 30200 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 30201 } 30202 30203 if invalidParams.Len() > 0 { 30204 return invalidParams 30205 } 30206 return nil 30207 } 30208 30209 // SetName sets the Name field's value. 30210 func (s *GetClassifierInput) SetName(v string) *GetClassifierInput { 30211 s.Name = &v 30212 return s 30213 } 30214 30215 type GetClassifierOutput struct { 30216 _ struct{} `type:"structure"` 30217 30218 // The requested classifier. 30219 Classifier *Classifier `type:"structure"` 30220 } 30221 30222 // String returns the string representation. 30223 // 30224 // API parameter values that are decorated as "sensitive" in the API will not 30225 // be included in the string output. The member name will be present, but the 30226 // value will be replaced with "sensitive". 30227 func (s GetClassifierOutput) String() string { 30228 return awsutil.Prettify(s) 30229 } 30230 30231 // GoString returns the string representation. 30232 // 30233 // API parameter values that are decorated as "sensitive" in the API will not 30234 // be included in the string output. The member name will be present, but the 30235 // value will be replaced with "sensitive". 30236 func (s GetClassifierOutput) GoString() string { 30237 return s.String() 30238 } 30239 30240 // SetClassifier sets the Classifier field's value. 30241 func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput { 30242 s.Classifier = v 30243 return s 30244 } 30245 30246 type GetClassifiersInput struct { 30247 _ struct{} `type:"structure"` 30248 30249 // The size of the list to return (optional). 30250 MaxResults *int64 `min:"1" type:"integer"` 30251 30252 // An optional continuation token. 30253 NextToken *string `type:"string"` 30254 } 30255 30256 // String returns the string representation. 30257 // 30258 // API parameter values that are decorated as "sensitive" in the API will not 30259 // be included in the string output. The member name will be present, but the 30260 // value will be replaced with "sensitive". 30261 func (s GetClassifiersInput) String() string { 30262 return awsutil.Prettify(s) 30263 } 30264 30265 // GoString returns the string representation. 30266 // 30267 // API parameter values that are decorated as "sensitive" in the API will not 30268 // be included in the string output. The member name will be present, but the 30269 // value will be replaced with "sensitive". 30270 func (s GetClassifiersInput) GoString() string { 30271 return s.String() 30272 } 30273 30274 // Validate inspects the fields of the type to determine if they are valid. 30275 func (s *GetClassifiersInput) Validate() error { 30276 invalidParams := request.ErrInvalidParams{Context: "GetClassifiersInput"} 30277 if s.MaxResults != nil && *s.MaxResults < 1 { 30278 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 30279 } 30280 30281 if invalidParams.Len() > 0 { 30282 return invalidParams 30283 } 30284 return nil 30285 } 30286 30287 // SetMaxResults sets the MaxResults field's value. 30288 func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput { 30289 s.MaxResults = &v 30290 return s 30291 } 30292 30293 // SetNextToken sets the NextToken field's value. 30294 func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput { 30295 s.NextToken = &v 30296 return s 30297 } 30298 30299 type GetClassifiersOutput struct { 30300 _ struct{} `type:"structure"` 30301 30302 // The requested list of classifier objects. 30303 Classifiers []*Classifier `type:"list"` 30304 30305 // A continuation token. 30306 NextToken *string `type:"string"` 30307 } 30308 30309 // String returns the string representation. 30310 // 30311 // API parameter values that are decorated as "sensitive" in the API will not 30312 // be included in the string output. The member name will be present, but the 30313 // value will be replaced with "sensitive". 30314 func (s GetClassifiersOutput) String() string { 30315 return awsutil.Prettify(s) 30316 } 30317 30318 // GoString returns the string representation. 30319 // 30320 // API parameter values that are decorated as "sensitive" in the API will not 30321 // be included in the string output. The member name will be present, but the 30322 // value will be replaced with "sensitive". 30323 func (s GetClassifiersOutput) GoString() string { 30324 return s.String() 30325 } 30326 30327 // SetClassifiers sets the Classifiers field's value. 30328 func (s *GetClassifiersOutput) SetClassifiers(v []*Classifier) *GetClassifiersOutput { 30329 s.Classifiers = v 30330 return s 30331 } 30332 30333 // SetNextToken sets the NextToken field's value. 30334 func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput { 30335 s.NextToken = &v 30336 return s 30337 } 30338 30339 type GetColumnStatisticsForPartitionInput struct { 30340 _ struct{} `type:"structure"` 30341 30342 // The ID of the Data Catalog where the partitions in question reside. If none 30343 // is supplied, the Amazon Web Services account ID is used by default. 30344 CatalogId *string `min:"1" type:"string"` 30345 30346 // A list of the column names. 30347 // 30348 // ColumnNames is a required field 30349 ColumnNames []*string `type:"list" required:"true"` 30350 30351 // The name of the catalog database where the partitions reside. 30352 // 30353 // DatabaseName is a required field 30354 DatabaseName *string `min:"1" type:"string" required:"true"` 30355 30356 // A list of partition values identifying the partition. 30357 // 30358 // PartitionValues is a required field 30359 PartitionValues []*string `type:"list" required:"true"` 30360 30361 // The name of the partitions' table. 30362 // 30363 // TableName is a required field 30364 TableName *string `min:"1" type:"string" required:"true"` 30365 } 30366 30367 // String returns the string representation. 30368 // 30369 // API parameter values that are decorated as "sensitive" in the API will not 30370 // be included in the string output. The member name will be present, but the 30371 // value will be replaced with "sensitive". 30372 func (s GetColumnStatisticsForPartitionInput) String() string { 30373 return awsutil.Prettify(s) 30374 } 30375 30376 // GoString returns the string representation. 30377 // 30378 // API parameter values that are decorated as "sensitive" in the API will not 30379 // be included in the string output. The member name will be present, but the 30380 // value will be replaced with "sensitive". 30381 func (s GetColumnStatisticsForPartitionInput) GoString() string { 30382 return s.String() 30383 } 30384 30385 // Validate inspects the fields of the type to determine if they are valid. 30386 func (s *GetColumnStatisticsForPartitionInput) Validate() error { 30387 invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsForPartitionInput"} 30388 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 30389 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 30390 } 30391 if s.ColumnNames == nil { 30392 invalidParams.Add(request.NewErrParamRequired("ColumnNames")) 30393 } 30394 if s.DatabaseName == nil { 30395 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 30396 } 30397 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 30398 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 30399 } 30400 if s.PartitionValues == nil { 30401 invalidParams.Add(request.NewErrParamRequired("PartitionValues")) 30402 } 30403 if s.TableName == nil { 30404 invalidParams.Add(request.NewErrParamRequired("TableName")) 30405 } 30406 if s.TableName != nil && len(*s.TableName) < 1 { 30407 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 30408 } 30409 30410 if invalidParams.Len() > 0 { 30411 return invalidParams 30412 } 30413 return nil 30414 } 30415 30416 // SetCatalogId sets the CatalogId field's value. 30417 func (s *GetColumnStatisticsForPartitionInput) SetCatalogId(v string) *GetColumnStatisticsForPartitionInput { 30418 s.CatalogId = &v 30419 return s 30420 } 30421 30422 // SetColumnNames sets the ColumnNames field's value. 30423 func (s *GetColumnStatisticsForPartitionInput) SetColumnNames(v []*string) *GetColumnStatisticsForPartitionInput { 30424 s.ColumnNames = v 30425 return s 30426 } 30427 30428 // SetDatabaseName sets the DatabaseName field's value. 30429 func (s *GetColumnStatisticsForPartitionInput) SetDatabaseName(v string) *GetColumnStatisticsForPartitionInput { 30430 s.DatabaseName = &v 30431 return s 30432 } 30433 30434 // SetPartitionValues sets the PartitionValues field's value. 30435 func (s *GetColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *GetColumnStatisticsForPartitionInput { 30436 s.PartitionValues = v 30437 return s 30438 } 30439 30440 // SetTableName sets the TableName field's value. 30441 func (s *GetColumnStatisticsForPartitionInput) SetTableName(v string) *GetColumnStatisticsForPartitionInput { 30442 s.TableName = &v 30443 return s 30444 } 30445 30446 type GetColumnStatisticsForPartitionOutput struct { 30447 _ struct{} `type:"structure"` 30448 30449 // List of ColumnStatistics that failed to be retrieved. 30450 ColumnStatisticsList []*ColumnStatistics `type:"list"` 30451 30452 // Error occurred during retrieving column statistics data. 30453 Errors []*ColumnError `type:"list"` 30454 } 30455 30456 // String returns the string representation. 30457 // 30458 // API parameter values that are decorated as "sensitive" in the API will not 30459 // be included in the string output. The member name will be present, but the 30460 // value will be replaced with "sensitive". 30461 func (s GetColumnStatisticsForPartitionOutput) String() string { 30462 return awsutil.Prettify(s) 30463 } 30464 30465 // GoString returns the string representation. 30466 // 30467 // API parameter values that are decorated as "sensitive" in the API will not 30468 // be included in the string output. The member name will be present, but the 30469 // value will be replaced with "sensitive". 30470 func (s GetColumnStatisticsForPartitionOutput) GoString() string { 30471 return s.String() 30472 } 30473 30474 // SetColumnStatisticsList sets the ColumnStatisticsList field's value. 30475 func (s *GetColumnStatisticsForPartitionOutput) SetColumnStatisticsList(v []*ColumnStatistics) *GetColumnStatisticsForPartitionOutput { 30476 s.ColumnStatisticsList = v 30477 return s 30478 } 30479 30480 // SetErrors sets the Errors field's value. 30481 func (s *GetColumnStatisticsForPartitionOutput) SetErrors(v []*ColumnError) *GetColumnStatisticsForPartitionOutput { 30482 s.Errors = v 30483 return s 30484 } 30485 30486 type GetColumnStatisticsForTableInput struct { 30487 _ struct{} `type:"structure"` 30488 30489 // The ID of the Data Catalog where the partitions in question reside. If none 30490 // is supplied, the Amazon Web Services account ID is used by default. 30491 CatalogId *string `min:"1" type:"string"` 30492 30493 // A list of the column names. 30494 // 30495 // ColumnNames is a required field 30496 ColumnNames []*string `type:"list" required:"true"` 30497 30498 // The name of the catalog database where the partitions reside. 30499 // 30500 // DatabaseName is a required field 30501 DatabaseName *string `min:"1" type:"string" required:"true"` 30502 30503 // The name of the partitions' table. 30504 // 30505 // TableName is a required field 30506 TableName *string `min:"1" type:"string" required:"true"` 30507 } 30508 30509 // String returns the string representation. 30510 // 30511 // API parameter values that are decorated as "sensitive" in the API will not 30512 // be included in the string output. The member name will be present, but the 30513 // value will be replaced with "sensitive". 30514 func (s GetColumnStatisticsForTableInput) String() string { 30515 return awsutil.Prettify(s) 30516 } 30517 30518 // GoString returns the string representation. 30519 // 30520 // API parameter values that are decorated as "sensitive" in the API will not 30521 // be included in the string output. The member name will be present, but the 30522 // value will be replaced with "sensitive". 30523 func (s GetColumnStatisticsForTableInput) GoString() string { 30524 return s.String() 30525 } 30526 30527 // Validate inspects the fields of the type to determine if they are valid. 30528 func (s *GetColumnStatisticsForTableInput) Validate() error { 30529 invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsForTableInput"} 30530 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 30531 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 30532 } 30533 if s.ColumnNames == nil { 30534 invalidParams.Add(request.NewErrParamRequired("ColumnNames")) 30535 } 30536 if s.DatabaseName == nil { 30537 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 30538 } 30539 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 30540 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 30541 } 30542 if s.TableName == nil { 30543 invalidParams.Add(request.NewErrParamRequired("TableName")) 30544 } 30545 if s.TableName != nil && len(*s.TableName) < 1 { 30546 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 30547 } 30548 30549 if invalidParams.Len() > 0 { 30550 return invalidParams 30551 } 30552 return nil 30553 } 30554 30555 // SetCatalogId sets the CatalogId field's value. 30556 func (s *GetColumnStatisticsForTableInput) SetCatalogId(v string) *GetColumnStatisticsForTableInput { 30557 s.CatalogId = &v 30558 return s 30559 } 30560 30561 // SetColumnNames sets the ColumnNames field's value. 30562 func (s *GetColumnStatisticsForTableInput) SetColumnNames(v []*string) *GetColumnStatisticsForTableInput { 30563 s.ColumnNames = v 30564 return s 30565 } 30566 30567 // SetDatabaseName sets the DatabaseName field's value. 30568 func (s *GetColumnStatisticsForTableInput) SetDatabaseName(v string) *GetColumnStatisticsForTableInput { 30569 s.DatabaseName = &v 30570 return s 30571 } 30572 30573 // SetTableName sets the TableName field's value. 30574 func (s *GetColumnStatisticsForTableInput) SetTableName(v string) *GetColumnStatisticsForTableInput { 30575 s.TableName = &v 30576 return s 30577 } 30578 30579 type GetColumnStatisticsForTableOutput struct { 30580 _ struct{} `type:"structure"` 30581 30582 // List of ColumnStatistics that failed to be retrieved. 30583 ColumnStatisticsList []*ColumnStatistics `type:"list"` 30584 30585 // List of ColumnStatistics that failed to be retrieved. 30586 Errors []*ColumnError `type:"list"` 30587 } 30588 30589 // String returns the string representation. 30590 // 30591 // API parameter values that are decorated as "sensitive" in the API will not 30592 // be included in the string output. The member name will be present, but the 30593 // value will be replaced with "sensitive". 30594 func (s GetColumnStatisticsForTableOutput) String() string { 30595 return awsutil.Prettify(s) 30596 } 30597 30598 // GoString returns the string representation. 30599 // 30600 // API parameter values that are decorated as "sensitive" in the API will not 30601 // be included in the string output. The member name will be present, but the 30602 // value will be replaced with "sensitive". 30603 func (s GetColumnStatisticsForTableOutput) GoString() string { 30604 return s.String() 30605 } 30606 30607 // SetColumnStatisticsList sets the ColumnStatisticsList field's value. 30608 func (s *GetColumnStatisticsForTableOutput) SetColumnStatisticsList(v []*ColumnStatistics) *GetColumnStatisticsForTableOutput { 30609 s.ColumnStatisticsList = v 30610 return s 30611 } 30612 30613 // SetErrors sets the Errors field's value. 30614 func (s *GetColumnStatisticsForTableOutput) SetErrors(v []*ColumnError) *GetColumnStatisticsForTableOutput { 30615 s.Errors = v 30616 return s 30617 } 30618 30619 type GetConnectionInput struct { 30620 _ struct{} `type:"structure"` 30621 30622 // The ID of the Data Catalog in which the connection resides. If none is provided, 30623 // the Amazon Web Services account ID is used by default. 30624 CatalogId *string `min:"1" type:"string"` 30625 30626 // Allows you to retrieve the connection metadata without returning the password. 30627 // For instance, the AWS Glue console uses this flag to retrieve the connection, 30628 // and does not display the password. Set this parameter when the caller might 30629 // not have permission to use the KMS key to decrypt the password, but it does 30630 // have permission to access the rest of the connection properties. 30631 HidePassword *bool `type:"boolean"` 30632 30633 // The name of the connection definition to retrieve. 30634 // 30635 // Name is a required field 30636 Name *string `min:"1" type:"string" required:"true"` 30637 } 30638 30639 // String returns the string representation. 30640 // 30641 // API parameter values that are decorated as "sensitive" in the API will not 30642 // be included in the string output. The member name will be present, but the 30643 // value will be replaced with "sensitive". 30644 func (s GetConnectionInput) String() string { 30645 return awsutil.Prettify(s) 30646 } 30647 30648 // GoString returns the string representation. 30649 // 30650 // API parameter values that are decorated as "sensitive" in the API will not 30651 // be included in the string output. The member name will be present, but the 30652 // value will be replaced with "sensitive". 30653 func (s GetConnectionInput) GoString() string { 30654 return s.String() 30655 } 30656 30657 // Validate inspects the fields of the type to determine if they are valid. 30658 func (s *GetConnectionInput) Validate() error { 30659 invalidParams := request.ErrInvalidParams{Context: "GetConnectionInput"} 30660 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 30661 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 30662 } 30663 if s.Name == nil { 30664 invalidParams.Add(request.NewErrParamRequired("Name")) 30665 } 30666 if s.Name != nil && len(*s.Name) < 1 { 30667 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 30668 } 30669 30670 if invalidParams.Len() > 0 { 30671 return invalidParams 30672 } 30673 return nil 30674 } 30675 30676 // SetCatalogId sets the CatalogId field's value. 30677 func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput { 30678 s.CatalogId = &v 30679 return s 30680 } 30681 30682 // SetHidePassword sets the HidePassword field's value. 30683 func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput { 30684 s.HidePassword = &v 30685 return s 30686 } 30687 30688 // SetName sets the Name field's value. 30689 func (s *GetConnectionInput) SetName(v string) *GetConnectionInput { 30690 s.Name = &v 30691 return s 30692 } 30693 30694 type GetConnectionOutput struct { 30695 _ struct{} `type:"structure"` 30696 30697 // The requested connection definition. 30698 Connection *Connection `type:"structure"` 30699 } 30700 30701 // String returns the string representation. 30702 // 30703 // API parameter values that are decorated as "sensitive" in the API will not 30704 // be included in the string output. The member name will be present, but the 30705 // value will be replaced with "sensitive". 30706 func (s GetConnectionOutput) String() string { 30707 return awsutil.Prettify(s) 30708 } 30709 30710 // GoString returns the string representation. 30711 // 30712 // API parameter values that are decorated as "sensitive" in the API will not 30713 // be included in the string output. The member name will be present, but the 30714 // value will be replaced with "sensitive". 30715 func (s GetConnectionOutput) GoString() string { 30716 return s.String() 30717 } 30718 30719 // SetConnection sets the Connection field's value. 30720 func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput { 30721 s.Connection = v 30722 return s 30723 } 30724 30725 // Filters the connection definitions that are returned by the GetConnections 30726 // API operation. 30727 type GetConnectionsFilter struct { 30728 _ struct{} `type:"structure"` 30729 30730 // The type of connections to return. Currently, SFTP is not supported. 30731 ConnectionType *string `type:"string" enum:"ConnectionType"` 30732 30733 // A criteria string that must match the criteria recorded in the connection 30734 // definition for that connection definition to be returned. 30735 MatchCriteria []*string `type:"list"` 30736 } 30737 30738 // String returns the string representation. 30739 // 30740 // API parameter values that are decorated as "sensitive" in the API will not 30741 // be included in the string output. The member name will be present, but the 30742 // value will be replaced with "sensitive". 30743 func (s GetConnectionsFilter) String() string { 30744 return awsutil.Prettify(s) 30745 } 30746 30747 // GoString returns the string representation. 30748 // 30749 // API parameter values that are decorated as "sensitive" in the API will not 30750 // be included in the string output. The member name will be present, but the 30751 // value will be replaced with "sensitive". 30752 func (s GetConnectionsFilter) GoString() string { 30753 return s.String() 30754 } 30755 30756 // SetConnectionType sets the ConnectionType field's value. 30757 func (s *GetConnectionsFilter) SetConnectionType(v string) *GetConnectionsFilter { 30758 s.ConnectionType = &v 30759 return s 30760 } 30761 30762 // SetMatchCriteria sets the MatchCriteria field's value. 30763 func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilter { 30764 s.MatchCriteria = v 30765 return s 30766 } 30767 30768 type GetConnectionsInput struct { 30769 _ struct{} `type:"structure"` 30770 30771 // The ID of the Data Catalog in which the connections reside. If none is provided, 30772 // the Amazon Web Services account ID is used by default. 30773 CatalogId *string `min:"1" type:"string"` 30774 30775 // A filter that controls which connections are returned. 30776 Filter *GetConnectionsFilter `type:"structure"` 30777 30778 // Allows you to retrieve the connection metadata without returning the password. 30779 // For instance, the AWS Glue console uses this flag to retrieve the connection, 30780 // and does not display the password. Set this parameter when the caller might 30781 // not have permission to use the KMS key to decrypt the password, but it does 30782 // have permission to access the rest of the connection properties. 30783 HidePassword *bool `type:"boolean"` 30784 30785 // The maximum number of connections to return in one response. 30786 MaxResults *int64 `min:"1" type:"integer"` 30787 30788 // A continuation token, if this is a continuation call. 30789 NextToken *string `type:"string"` 30790 } 30791 30792 // String returns the string representation. 30793 // 30794 // API parameter values that are decorated as "sensitive" in the API will not 30795 // be included in the string output. The member name will be present, but the 30796 // value will be replaced with "sensitive". 30797 func (s GetConnectionsInput) String() string { 30798 return awsutil.Prettify(s) 30799 } 30800 30801 // GoString returns the string representation. 30802 // 30803 // API parameter values that are decorated as "sensitive" in the API will not 30804 // be included in the string output. The member name will be present, but the 30805 // value will be replaced with "sensitive". 30806 func (s GetConnectionsInput) GoString() string { 30807 return s.String() 30808 } 30809 30810 // Validate inspects the fields of the type to determine if they are valid. 30811 func (s *GetConnectionsInput) Validate() error { 30812 invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"} 30813 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 30814 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 30815 } 30816 if s.MaxResults != nil && *s.MaxResults < 1 { 30817 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 30818 } 30819 30820 if invalidParams.Len() > 0 { 30821 return invalidParams 30822 } 30823 return nil 30824 } 30825 30826 // SetCatalogId sets the CatalogId field's value. 30827 func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput { 30828 s.CatalogId = &v 30829 return s 30830 } 30831 30832 // SetFilter sets the Filter field's value. 30833 func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput { 30834 s.Filter = v 30835 return s 30836 } 30837 30838 // SetHidePassword sets the HidePassword field's value. 30839 func (s *GetConnectionsInput) SetHidePassword(v bool) *GetConnectionsInput { 30840 s.HidePassword = &v 30841 return s 30842 } 30843 30844 // SetMaxResults sets the MaxResults field's value. 30845 func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput { 30846 s.MaxResults = &v 30847 return s 30848 } 30849 30850 // SetNextToken sets the NextToken field's value. 30851 func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput { 30852 s.NextToken = &v 30853 return s 30854 } 30855 30856 type GetConnectionsOutput struct { 30857 _ struct{} `type:"structure"` 30858 30859 // A list of requested connection definitions. 30860 ConnectionList []*Connection `type:"list"` 30861 30862 // A continuation token, if the list of connections returned does not include 30863 // the last of the filtered connections. 30864 NextToken *string `type:"string"` 30865 } 30866 30867 // String returns the string representation. 30868 // 30869 // API parameter values that are decorated as "sensitive" in the API will not 30870 // be included in the string output. The member name will be present, but the 30871 // value will be replaced with "sensitive". 30872 func (s GetConnectionsOutput) String() string { 30873 return awsutil.Prettify(s) 30874 } 30875 30876 // GoString returns the string representation. 30877 // 30878 // API parameter values that are decorated as "sensitive" in the API will not 30879 // be included in the string output. The member name will be present, but the 30880 // value will be replaced with "sensitive". 30881 func (s GetConnectionsOutput) GoString() string { 30882 return s.String() 30883 } 30884 30885 // SetConnectionList sets the ConnectionList field's value. 30886 func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput { 30887 s.ConnectionList = v 30888 return s 30889 } 30890 30891 // SetNextToken sets the NextToken field's value. 30892 func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput { 30893 s.NextToken = &v 30894 return s 30895 } 30896 30897 type GetCrawlerInput struct { 30898 _ struct{} `type:"structure"` 30899 30900 // The name of the crawler to retrieve metadata for. 30901 // 30902 // Name is a required field 30903 Name *string `min:"1" type:"string" required:"true"` 30904 } 30905 30906 // String returns the string representation. 30907 // 30908 // API parameter values that are decorated as "sensitive" in the API will not 30909 // be included in the string output. The member name will be present, but the 30910 // value will be replaced with "sensitive". 30911 func (s GetCrawlerInput) String() string { 30912 return awsutil.Prettify(s) 30913 } 30914 30915 // GoString returns the string representation. 30916 // 30917 // API parameter values that are decorated as "sensitive" in the API will not 30918 // be included in the string output. The member name will be present, but the 30919 // value will be replaced with "sensitive". 30920 func (s GetCrawlerInput) GoString() string { 30921 return s.String() 30922 } 30923 30924 // Validate inspects the fields of the type to determine if they are valid. 30925 func (s *GetCrawlerInput) Validate() error { 30926 invalidParams := request.ErrInvalidParams{Context: "GetCrawlerInput"} 30927 if s.Name == nil { 30928 invalidParams.Add(request.NewErrParamRequired("Name")) 30929 } 30930 if s.Name != nil && len(*s.Name) < 1 { 30931 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 30932 } 30933 30934 if invalidParams.Len() > 0 { 30935 return invalidParams 30936 } 30937 return nil 30938 } 30939 30940 // SetName sets the Name field's value. 30941 func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput { 30942 s.Name = &v 30943 return s 30944 } 30945 30946 type GetCrawlerMetricsInput struct { 30947 _ struct{} `type:"structure"` 30948 30949 // A list of the names of crawlers about which to retrieve metrics. 30950 CrawlerNameList []*string `type:"list"` 30951 30952 // The maximum size of a list to return. 30953 MaxResults *int64 `min:"1" type:"integer"` 30954 30955 // A continuation token, if this is a continuation call. 30956 NextToken *string `type:"string"` 30957 } 30958 30959 // String returns the string representation. 30960 // 30961 // API parameter values that are decorated as "sensitive" in the API will not 30962 // be included in the string output. The member name will be present, but the 30963 // value will be replaced with "sensitive". 30964 func (s GetCrawlerMetricsInput) String() string { 30965 return awsutil.Prettify(s) 30966 } 30967 30968 // GoString returns the string representation. 30969 // 30970 // API parameter values that are decorated as "sensitive" in the API will not 30971 // be included in the string output. The member name will be present, but the 30972 // value will be replaced with "sensitive". 30973 func (s GetCrawlerMetricsInput) GoString() string { 30974 return s.String() 30975 } 30976 30977 // Validate inspects the fields of the type to determine if they are valid. 30978 func (s *GetCrawlerMetricsInput) Validate() error { 30979 invalidParams := request.ErrInvalidParams{Context: "GetCrawlerMetricsInput"} 30980 if s.MaxResults != nil && *s.MaxResults < 1 { 30981 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 30982 } 30983 30984 if invalidParams.Len() > 0 { 30985 return invalidParams 30986 } 30987 return nil 30988 } 30989 30990 // SetCrawlerNameList sets the CrawlerNameList field's value. 30991 func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []*string) *GetCrawlerMetricsInput { 30992 s.CrawlerNameList = v 30993 return s 30994 } 30995 30996 // SetMaxResults sets the MaxResults field's value. 30997 func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput { 30998 s.MaxResults = &v 30999 return s 31000 } 31001 31002 // SetNextToken sets the NextToken field's value. 31003 func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput { 31004 s.NextToken = &v 31005 return s 31006 } 31007 31008 type GetCrawlerMetricsOutput struct { 31009 _ struct{} `type:"structure"` 31010 31011 // A list of metrics for the specified crawler. 31012 CrawlerMetricsList []*CrawlerMetrics `type:"list"` 31013 31014 // A continuation token, if the returned list does not contain the last metric 31015 // available. 31016 NextToken *string `type:"string"` 31017 } 31018 31019 // String returns the string representation. 31020 // 31021 // API parameter values that are decorated as "sensitive" in the API will not 31022 // be included in the string output. The member name will be present, but the 31023 // value will be replaced with "sensitive". 31024 func (s GetCrawlerMetricsOutput) String() string { 31025 return awsutil.Prettify(s) 31026 } 31027 31028 // GoString returns the string representation. 31029 // 31030 // API parameter values that are decorated as "sensitive" in the API will not 31031 // be included in the string output. The member name will be present, but the 31032 // value will be replaced with "sensitive". 31033 func (s GetCrawlerMetricsOutput) GoString() string { 31034 return s.String() 31035 } 31036 31037 // SetCrawlerMetricsList sets the CrawlerMetricsList field's value. 31038 func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []*CrawlerMetrics) *GetCrawlerMetricsOutput { 31039 s.CrawlerMetricsList = v 31040 return s 31041 } 31042 31043 // SetNextToken sets the NextToken field's value. 31044 func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput { 31045 s.NextToken = &v 31046 return s 31047 } 31048 31049 type GetCrawlerOutput struct { 31050 _ struct{} `type:"structure"` 31051 31052 // The metadata for the specified crawler. 31053 Crawler *Crawler `type:"structure"` 31054 } 31055 31056 // String returns the string representation. 31057 // 31058 // API parameter values that are decorated as "sensitive" in the API will not 31059 // be included in the string output. The member name will be present, but the 31060 // value will be replaced with "sensitive". 31061 func (s GetCrawlerOutput) String() string { 31062 return awsutil.Prettify(s) 31063 } 31064 31065 // GoString returns the string representation. 31066 // 31067 // API parameter values that are decorated as "sensitive" in the API will not 31068 // be included in the string output. The member name will be present, but the 31069 // value will be replaced with "sensitive". 31070 func (s GetCrawlerOutput) GoString() string { 31071 return s.String() 31072 } 31073 31074 // SetCrawler sets the Crawler field's value. 31075 func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput { 31076 s.Crawler = v 31077 return s 31078 } 31079 31080 type GetCrawlersInput struct { 31081 _ struct{} `type:"structure"` 31082 31083 // The number of crawlers to return on each call. 31084 MaxResults *int64 `min:"1" type:"integer"` 31085 31086 // A continuation token, if this is a continuation request. 31087 NextToken *string `type:"string"` 31088 } 31089 31090 // String returns the string representation. 31091 // 31092 // API parameter values that are decorated as "sensitive" in the API will not 31093 // be included in the string output. The member name will be present, but the 31094 // value will be replaced with "sensitive". 31095 func (s GetCrawlersInput) String() string { 31096 return awsutil.Prettify(s) 31097 } 31098 31099 // GoString returns the string representation. 31100 // 31101 // API parameter values that are decorated as "sensitive" in the API will not 31102 // be included in the string output. The member name will be present, but the 31103 // value will be replaced with "sensitive". 31104 func (s GetCrawlersInput) GoString() string { 31105 return s.String() 31106 } 31107 31108 // Validate inspects the fields of the type to determine if they are valid. 31109 func (s *GetCrawlersInput) Validate() error { 31110 invalidParams := request.ErrInvalidParams{Context: "GetCrawlersInput"} 31111 if s.MaxResults != nil && *s.MaxResults < 1 { 31112 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 31113 } 31114 31115 if invalidParams.Len() > 0 { 31116 return invalidParams 31117 } 31118 return nil 31119 } 31120 31121 // SetMaxResults sets the MaxResults field's value. 31122 func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput { 31123 s.MaxResults = &v 31124 return s 31125 } 31126 31127 // SetNextToken sets the NextToken field's value. 31128 func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput { 31129 s.NextToken = &v 31130 return s 31131 } 31132 31133 type GetCrawlersOutput struct { 31134 _ struct{} `type:"structure"` 31135 31136 // A list of crawler metadata. 31137 Crawlers []*Crawler `type:"list"` 31138 31139 // A continuation token, if the returned list has not reached the end of those 31140 // defined in this customer account. 31141 NextToken *string `type:"string"` 31142 } 31143 31144 // String returns the string representation. 31145 // 31146 // API parameter values that are decorated as "sensitive" in the API will not 31147 // be included in the string output. The member name will be present, but the 31148 // value will be replaced with "sensitive". 31149 func (s GetCrawlersOutput) String() string { 31150 return awsutil.Prettify(s) 31151 } 31152 31153 // GoString returns the string representation. 31154 // 31155 // API parameter values that are decorated as "sensitive" in the API will not 31156 // be included in the string output. The member name will be present, but the 31157 // value will be replaced with "sensitive". 31158 func (s GetCrawlersOutput) GoString() string { 31159 return s.String() 31160 } 31161 31162 // SetCrawlers sets the Crawlers field's value. 31163 func (s *GetCrawlersOutput) SetCrawlers(v []*Crawler) *GetCrawlersOutput { 31164 s.Crawlers = v 31165 return s 31166 } 31167 31168 // SetNextToken sets the NextToken field's value. 31169 func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput { 31170 s.NextToken = &v 31171 return s 31172 } 31173 31174 type GetDataCatalogEncryptionSettingsInput struct { 31175 _ struct{} `type:"structure"` 31176 31177 // The ID of the Data Catalog to retrieve the security configuration for. If 31178 // none is provided, the Amazon Web Services account ID is used by default. 31179 CatalogId *string `min:"1" type:"string"` 31180 } 31181 31182 // String returns the string representation. 31183 // 31184 // API parameter values that are decorated as "sensitive" in the API will not 31185 // be included in the string output. The member name will be present, but the 31186 // value will be replaced with "sensitive". 31187 func (s GetDataCatalogEncryptionSettingsInput) String() string { 31188 return awsutil.Prettify(s) 31189 } 31190 31191 // GoString returns the string representation. 31192 // 31193 // API parameter values that are decorated as "sensitive" in the API will not 31194 // be included in the string output. The member name will be present, but the 31195 // value will be replaced with "sensitive". 31196 func (s GetDataCatalogEncryptionSettingsInput) GoString() string { 31197 return s.String() 31198 } 31199 31200 // Validate inspects the fields of the type to determine if they are valid. 31201 func (s *GetDataCatalogEncryptionSettingsInput) Validate() error { 31202 invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"} 31203 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 31204 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 31205 } 31206 31207 if invalidParams.Len() > 0 { 31208 return invalidParams 31209 } 31210 return nil 31211 } 31212 31213 // SetCatalogId sets the CatalogId field's value. 31214 func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput { 31215 s.CatalogId = &v 31216 return s 31217 } 31218 31219 type GetDataCatalogEncryptionSettingsOutput struct { 31220 _ struct{} `type:"structure"` 31221 31222 // The requested security configuration. 31223 DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"` 31224 } 31225 31226 // String returns the string representation. 31227 // 31228 // API parameter values that are decorated as "sensitive" in the API will not 31229 // be included in the string output. The member name will be present, but the 31230 // value will be replaced with "sensitive". 31231 func (s GetDataCatalogEncryptionSettingsOutput) String() string { 31232 return awsutil.Prettify(s) 31233 } 31234 31235 // GoString returns the string representation. 31236 // 31237 // API parameter values that are decorated as "sensitive" in the API will not 31238 // be included in the string output. The member name will be present, but the 31239 // value will be replaced with "sensitive". 31240 func (s GetDataCatalogEncryptionSettingsOutput) GoString() string { 31241 return s.String() 31242 } 31243 31244 // SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value. 31245 func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput { 31246 s.DataCatalogEncryptionSettings = v 31247 return s 31248 } 31249 31250 type GetDatabaseInput struct { 31251 _ struct{} `type:"structure"` 31252 31253 // The ID of the Data Catalog in which the database resides. If none is provided, 31254 // the Amazon Web Services account ID is used by default. 31255 CatalogId *string `min:"1" type:"string"` 31256 31257 // The name of the database to retrieve. For Hive compatibility, this should 31258 // be all lowercase. 31259 // 31260 // Name is a required field 31261 Name *string `min:"1" type:"string" required:"true"` 31262 } 31263 31264 // String returns the string representation. 31265 // 31266 // API parameter values that are decorated as "sensitive" in the API will not 31267 // be included in the string output. The member name will be present, but the 31268 // value will be replaced with "sensitive". 31269 func (s GetDatabaseInput) String() string { 31270 return awsutil.Prettify(s) 31271 } 31272 31273 // GoString returns the string representation. 31274 // 31275 // API parameter values that are decorated as "sensitive" in the API will not 31276 // be included in the string output. The member name will be present, but the 31277 // value will be replaced with "sensitive". 31278 func (s GetDatabaseInput) GoString() string { 31279 return s.String() 31280 } 31281 31282 // Validate inspects the fields of the type to determine if they are valid. 31283 func (s *GetDatabaseInput) Validate() error { 31284 invalidParams := request.ErrInvalidParams{Context: "GetDatabaseInput"} 31285 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 31286 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 31287 } 31288 if s.Name == nil { 31289 invalidParams.Add(request.NewErrParamRequired("Name")) 31290 } 31291 if s.Name != nil && len(*s.Name) < 1 { 31292 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 31293 } 31294 31295 if invalidParams.Len() > 0 { 31296 return invalidParams 31297 } 31298 return nil 31299 } 31300 31301 // SetCatalogId sets the CatalogId field's value. 31302 func (s *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput { 31303 s.CatalogId = &v 31304 return s 31305 } 31306 31307 // SetName sets the Name field's value. 31308 func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput { 31309 s.Name = &v 31310 return s 31311 } 31312 31313 type GetDatabaseOutput struct { 31314 _ struct{} `type:"structure"` 31315 31316 // The definition of the specified database in the Data Catalog. 31317 Database *Database `type:"structure"` 31318 } 31319 31320 // String returns the string representation. 31321 // 31322 // API parameter values that are decorated as "sensitive" in the API will not 31323 // be included in the string output. The member name will be present, but the 31324 // value will be replaced with "sensitive". 31325 func (s GetDatabaseOutput) String() string { 31326 return awsutil.Prettify(s) 31327 } 31328 31329 // GoString returns the string representation. 31330 // 31331 // API parameter values that are decorated as "sensitive" in the API will not 31332 // be included in the string output. The member name will be present, but the 31333 // value will be replaced with "sensitive". 31334 func (s GetDatabaseOutput) GoString() string { 31335 return s.String() 31336 } 31337 31338 // SetDatabase sets the Database field's value. 31339 func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput { 31340 s.Database = v 31341 return s 31342 } 31343 31344 type GetDatabasesInput struct { 31345 _ struct{} `type:"structure"` 31346 31347 // The ID of the Data Catalog from which to retrieve Databases. If none is provided, 31348 // the Amazon Web Services account ID is used by default. 31349 CatalogId *string `min:"1" type:"string"` 31350 31351 // The maximum number of databases to return in one response. 31352 MaxResults *int64 `min:"1" type:"integer"` 31353 31354 // A continuation token, if this is a continuation call. 31355 NextToken *string `type:"string"` 31356 31357 // Allows you to specify that you want to list the databases shared with your 31358 // account. The allowable values are FOREIGN or ALL. 31359 // 31360 // * If set to FOREIGN, will list the databases shared with your account. 31361 // 31362 // * If set to ALL, will list the databases shared with your account, as 31363 // well as the databases in yor local account. 31364 ResourceShareType *string `type:"string" enum:"ResourceShareType"` 31365 } 31366 31367 // String returns the string representation. 31368 // 31369 // API parameter values that are decorated as "sensitive" in the API will not 31370 // be included in the string output. The member name will be present, but the 31371 // value will be replaced with "sensitive". 31372 func (s GetDatabasesInput) String() string { 31373 return awsutil.Prettify(s) 31374 } 31375 31376 // GoString returns the string representation. 31377 // 31378 // API parameter values that are decorated as "sensitive" in the API will not 31379 // be included in the string output. The member name will be present, but the 31380 // value will be replaced with "sensitive". 31381 func (s GetDatabasesInput) GoString() string { 31382 return s.String() 31383 } 31384 31385 // Validate inspects the fields of the type to determine if they are valid. 31386 func (s *GetDatabasesInput) Validate() error { 31387 invalidParams := request.ErrInvalidParams{Context: "GetDatabasesInput"} 31388 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 31389 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 31390 } 31391 if s.MaxResults != nil && *s.MaxResults < 1 { 31392 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 31393 } 31394 31395 if invalidParams.Len() > 0 { 31396 return invalidParams 31397 } 31398 return nil 31399 } 31400 31401 // SetCatalogId sets the CatalogId field's value. 31402 func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput { 31403 s.CatalogId = &v 31404 return s 31405 } 31406 31407 // SetMaxResults sets the MaxResults field's value. 31408 func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput { 31409 s.MaxResults = &v 31410 return s 31411 } 31412 31413 // SetNextToken sets the NextToken field's value. 31414 func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput { 31415 s.NextToken = &v 31416 return s 31417 } 31418 31419 // SetResourceShareType sets the ResourceShareType field's value. 31420 func (s *GetDatabasesInput) SetResourceShareType(v string) *GetDatabasesInput { 31421 s.ResourceShareType = &v 31422 return s 31423 } 31424 31425 type GetDatabasesOutput struct { 31426 _ struct{} `type:"structure"` 31427 31428 // A list of Database objects from the specified catalog. 31429 // 31430 // DatabaseList is a required field 31431 DatabaseList []*Database `type:"list" required:"true"` 31432 31433 // A continuation token for paginating the returned list of tokens, returned 31434 // if the current segment of the list is not the last. 31435 NextToken *string `type:"string"` 31436 } 31437 31438 // String returns the string representation. 31439 // 31440 // API parameter values that are decorated as "sensitive" in the API will not 31441 // be included in the string output. The member name will be present, but the 31442 // value will be replaced with "sensitive". 31443 func (s GetDatabasesOutput) String() string { 31444 return awsutil.Prettify(s) 31445 } 31446 31447 // GoString returns the string representation. 31448 // 31449 // API parameter values that are decorated as "sensitive" in the API will not 31450 // be included in the string output. The member name will be present, but the 31451 // value will be replaced with "sensitive". 31452 func (s GetDatabasesOutput) GoString() string { 31453 return s.String() 31454 } 31455 31456 // SetDatabaseList sets the DatabaseList field's value. 31457 func (s *GetDatabasesOutput) SetDatabaseList(v []*Database) *GetDatabasesOutput { 31458 s.DatabaseList = v 31459 return s 31460 } 31461 31462 // SetNextToken sets the NextToken field's value. 31463 func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput { 31464 s.NextToken = &v 31465 return s 31466 } 31467 31468 type GetDataflowGraphInput struct { 31469 _ struct{} `type:"structure"` 31470 31471 // The Python script to transform. 31472 PythonScript *string `type:"string"` 31473 } 31474 31475 // String returns the string representation. 31476 // 31477 // API parameter values that are decorated as "sensitive" in the API will not 31478 // be included in the string output. The member name will be present, but the 31479 // value will be replaced with "sensitive". 31480 func (s GetDataflowGraphInput) String() string { 31481 return awsutil.Prettify(s) 31482 } 31483 31484 // GoString returns the string representation. 31485 // 31486 // API parameter values that are decorated as "sensitive" in the API will not 31487 // be included in the string output. The member name will be present, but the 31488 // value will be replaced with "sensitive". 31489 func (s GetDataflowGraphInput) GoString() string { 31490 return s.String() 31491 } 31492 31493 // SetPythonScript sets the PythonScript field's value. 31494 func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput { 31495 s.PythonScript = &v 31496 return s 31497 } 31498 31499 type GetDataflowGraphOutput struct { 31500 _ struct{} `type:"structure"` 31501 31502 // A list of the edges in the resulting DAG. 31503 DagEdges []*CodeGenEdge `type:"list"` 31504 31505 // A list of the nodes in the resulting DAG. 31506 DagNodes []*CodeGenNode `type:"list"` 31507 } 31508 31509 // String returns the string representation. 31510 // 31511 // API parameter values that are decorated as "sensitive" in the API will not 31512 // be included in the string output. The member name will be present, but the 31513 // value will be replaced with "sensitive". 31514 func (s GetDataflowGraphOutput) String() string { 31515 return awsutil.Prettify(s) 31516 } 31517 31518 // GoString returns the string representation. 31519 // 31520 // API parameter values that are decorated as "sensitive" in the API will not 31521 // be included in the string output. The member name will be present, but the 31522 // value will be replaced with "sensitive". 31523 func (s GetDataflowGraphOutput) GoString() string { 31524 return s.String() 31525 } 31526 31527 // SetDagEdges sets the DagEdges field's value. 31528 func (s *GetDataflowGraphOutput) SetDagEdges(v []*CodeGenEdge) *GetDataflowGraphOutput { 31529 s.DagEdges = v 31530 return s 31531 } 31532 31533 // SetDagNodes sets the DagNodes field's value. 31534 func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraphOutput { 31535 s.DagNodes = v 31536 return s 31537 } 31538 31539 type GetDevEndpointInput struct { 31540 _ struct{} `type:"structure"` 31541 31542 // Name of the DevEndpoint to retrieve information for. 31543 // 31544 // EndpointName is a required field 31545 EndpointName *string `type:"string" required:"true"` 31546 } 31547 31548 // String returns the string representation. 31549 // 31550 // API parameter values that are decorated as "sensitive" in the API will not 31551 // be included in the string output. The member name will be present, but the 31552 // value will be replaced with "sensitive". 31553 func (s GetDevEndpointInput) String() string { 31554 return awsutil.Prettify(s) 31555 } 31556 31557 // GoString returns the string representation. 31558 // 31559 // API parameter values that are decorated as "sensitive" in the API will not 31560 // be included in the string output. The member name will be present, but the 31561 // value will be replaced with "sensitive". 31562 func (s GetDevEndpointInput) GoString() string { 31563 return s.String() 31564 } 31565 31566 // Validate inspects the fields of the type to determine if they are valid. 31567 func (s *GetDevEndpointInput) Validate() error { 31568 invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointInput"} 31569 if s.EndpointName == nil { 31570 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 31571 } 31572 31573 if invalidParams.Len() > 0 { 31574 return invalidParams 31575 } 31576 return nil 31577 } 31578 31579 // SetEndpointName sets the EndpointName field's value. 31580 func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput { 31581 s.EndpointName = &v 31582 return s 31583 } 31584 31585 type GetDevEndpointOutput struct { 31586 _ struct{} `type:"structure"` 31587 31588 // A DevEndpoint definition. 31589 DevEndpoint *DevEndpoint `type:"structure"` 31590 } 31591 31592 // String returns the string representation. 31593 // 31594 // API parameter values that are decorated as "sensitive" in the API will not 31595 // be included in the string output. The member name will be present, but the 31596 // value will be replaced with "sensitive". 31597 func (s GetDevEndpointOutput) String() string { 31598 return awsutil.Prettify(s) 31599 } 31600 31601 // GoString returns the string representation. 31602 // 31603 // API parameter values that are decorated as "sensitive" in the API will not 31604 // be included in the string output. The member name will be present, but the 31605 // value will be replaced with "sensitive". 31606 func (s GetDevEndpointOutput) GoString() string { 31607 return s.String() 31608 } 31609 31610 // SetDevEndpoint sets the DevEndpoint field's value. 31611 func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput { 31612 s.DevEndpoint = v 31613 return s 31614 } 31615 31616 type GetDevEndpointsInput struct { 31617 _ struct{} `type:"structure"` 31618 31619 // The maximum size of information to return. 31620 MaxResults *int64 `min:"1" type:"integer"` 31621 31622 // A continuation token, if this is a continuation call. 31623 NextToken *string `type:"string"` 31624 } 31625 31626 // String returns the string representation. 31627 // 31628 // API parameter values that are decorated as "sensitive" in the API will not 31629 // be included in the string output. The member name will be present, but the 31630 // value will be replaced with "sensitive". 31631 func (s GetDevEndpointsInput) String() string { 31632 return awsutil.Prettify(s) 31633 } 31634 31635 // GoString returns the string representation. 31636 // 31637 // API parameter values that are decorated as "sensitive" in the API will not 31638 // be included in the string output. The member name will be present, but the 31639 // value will be replaced with "sensitive". 31640 func (s GetDevEndpointsInput) GoString() string { 31641 return s.String() 31642 } 31643 31644 // Validate inspects the fields of the type to determine if they are valid. 31645 func (s *GetDevEndpointsInput) Validate() error { 31646 invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointsInput"} 31647 if s.MaxResults != nil && *s.MaxResults < 1 { 31648 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 31649 } 31650 31651 if invalidParams.Len() > 0 { 31652 return invalidParams 31653 } 31654 return nil 31655 } 31656 31657 // SetMaxResults sets the MaxResults field's value. 31658 func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput { 31659 s.MaxResults = &v 31660 return s 31661 } 31662 31663 // SetNextToken sets the NextToken field's value. 31664 func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput { 31665 s.NextToken = &v 31666 return s 31667 } 31668 31669 type GetDevEndpointsOutput struct { 31670 _ struct{} `type:"structure"` 31671 31672 // A list of DevEndpoint definitions. 31673 DevEndpoints []*DevEndpoint `type:"list"` 31674 31675 // A continuation token, if not all DevEndpoint definitions have yet been returned. 31676 NextToken *string `type:"string"` 31677 } 31678 31679 // String returns the string representation. 31680 // 31681 // API parameter values that are decorated as "sensitive" in the API will not 31682 // be included in the string output. The member name will be present, but the 31683 // value will be replaced with "sensitive". 31684 func (s GetDevEndpointsOutput) String() string { 31685 return awsutil.Prettify(s) 31686 } 31687 31688 // GoString returns the string representation. 31689 // 31690 // API parameter values that are decorated as "sensitive" in the API will not 31691 // be included in the string output. The member name will be present, but the 31692 // value will be replaced with "sensitive". 31693 func (s GetDevEndpointsOutput) GoString() string { 31694 return s.String() 31695 } 31696 31697 // SetDevEndpoints sets the DevEndpoints field's value. 31698 func (s *GetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *GetDevEndpointsOutput { 31699 s.DevEndpoints = v 31700 return s 31701 } 31702 31703 // SetNextToken sets the NextToken field's value. 31704 func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput { 31705 s.NextToken = &v 31706 return s 31707 } 31708 31709 type GetJobBookmarkInput struct { 31710 _ struct{} `type:"structure"` 31711 31712 // The name of the job in question. 31713 // 31714 // JobName is a required field 31715 JobName *string `type:"string" required:"true"` 31716 31717 // The unique run identifier associated with this job run. 31718 RunId *string `type:"string"` 31719 } 31720 31721 // String returns the string representation. 31722 // 31723 // API parameter values that are decorated as "sensitive" in the API will not 31724 // be included in the string output. The member name will be present, but the 31725 // value will be replaced with "sensitive". 31726 func (s GetJobBookmarkInput) String() string { 31727 return awsutil.Prettify(s) 31728 } 31729 31730 // GoString returns the string representation. 31731 // 31732 // API parameter values that are decorated as "sensitive" in the API will not 31733 // be included in the string output. The member name will be present, but the 31734 // value will be replaced with "sensitive". 31735 func (s GetJobBookmarkInput) GoString() string { 31736 return s.String() 31737 } 31738 31739 // Validate inspects the fields of the type to determine if they are valid. 31740 func (s *GetJobBookmarkInput) Validate() error { 31741 invalidParams := request.ErrInvalidParams{Context: "GetJobBookmarkInput"} 31742 if s.JobName == nil { 31743 invalidParams.Add(request.NewErrParamRequired("JobName")) 31744 } 31745 31746 if invalidParams.Len() > 0 { 31747 return invalidParams 31748 } 31749 return nil 31750 } 31751 31752 // SetJobName sets the JobName field's value. 31753 func (s *GetJobBookmarkInput) SetJobName(v string) *GetJobBookmarkInput { 31754 s.JobName = &v 31755 return s 31756 } 31757 31758 // SetRunId sets the RunId field's value. 31759 func (s *GetJobBookmarkInput) SetRunId(v string) *GetJobBookmarkInput { 31760 s.RunId = &v 31761 return s 31762 } 31763 31764 type GetJobBookmarkOutput struct { 31765 _ struct{} `type:"structure"` 31766 31767 // A structure that defines a point that a job can resume processing. 31768 JobBookmarkEntry *JobBookmarkEntry `type:"structure"` 31769 } 31770 31771 // String returns the string representation. 31772 // 31773 // API parameter values that are decorated as "sensitive" in the API will not 31774 // be included in the string output. The member name will be present, but the 31775 // value will be replaced with "sensitive". 31776 func (s GetJobBookmarkOutput) String() string { 31777 return awsutil.Prettify(s) 31778 } 31779 31780 // GoString returns the string representation. 31781 // 31782 // API parameter values that are decorated as "sensitive" in the API will not 31783 // be included in the string output. The member name will be present, but the 31784 // value will be replaced with "sensitive". 31785 func (s GetJobBookmarkOutput) GoString() string { 31786 return s.String() 31787 } 31788 31789 // SetJobBookmarkEntry sets the JobBookmarkEntry field's value. 31790 func (s *GetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *GetJobBookmarkOutput { 31791 s.JobBookmarkEntry = v 31792 return s 31793 } 31794 31795 type GetJobInput struct { 31796 _ struct{} `type:"structure"` 31797 31798 // The name of the job definition to retrieve. 31799 // 31800 // JobName is a required field 31801 JobName *string `min:"1" type:"string" required:"true"` 31802 } 31803 31804 // String returns the string representation. 31805 // 31806 // API parameter values that are decorated as "sensitive" in the API will not 31807 // be included in the string output. The member name will be present, but the 31808 // value will be replaced with "sensitive". 31809 func (s GetJobInput) String() string { 31810 return awsutil.Prettify(s) 31811 } 31812 31813 // GoString returns the string representation. 31814 // 31815 // API parameter values that are decorated as "sensitive" in the API will not 31816 // be included in the string output. The member name will be present, but the 31817 // value will be replaced with "sensitive". 31818 func (s GetJobInput) GoString() string { 31819 return s.String() 31820 } 31821 31822 // Validate inspects the fields of the type to determine if they are valid. 31823 func (s *GetJobInput) Validate() error { 31824 invalidParams := request.ErrInvalidParams{Context: "GetJobInput"} 31825 if s.JobName == nil { 31826 invalidParams.Add(request.NewErrParamRequired("JobName")) 31827 } 31828 if s.JobName != nil && len(*s.JobName) < 1 { 31829 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 31830 } 31831 31832 if invalidParams.Len() > 0 { 31833 return invalidParams 31834 } 31835 return nil 31836 } 31837 31838 // SetJobName sets the JobName field's value. 31839 func (s *GetJobInput) SetJobName(v string) *GetJobInput { 31840 s.JobName = &v 31841 return s 31842 } 31843 31844 type GetJobOutput struct { 31845 _ struct{} `type:"structure"` 31846 31847 // The requested job definition. 31848 Job *Job `type:"structure"` 31849 } 31850 31851 // String returns the string representation. 31852 // 31853 // API parameter values that are decorated as "sensitive" in the API will not 31854 // be included in the string output. The member name will be present, but the 31855 // value will be replaced with "sensitive". 31856 func (s GetJobOutput) String() string { 31857 return awsutil.Prettify(s) 31858 } 31859 31860 // GoString returns the string representation. 31861 // 31862 // API parameter values that are decorated as "sensitive" in the API will not 31863 // be included in the string output. The member name will be present, but the 31864 // value will be replaced with "sensitive". 31865 func (s GetJobOutput) GoString() string { 31866 return s.String() 31867 } 31868 31869 // SetJob sets the Job field's value. 31870 func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { 31871 s.Job = v 31872 return s 31873 } 31874 31875 type GetJobRunInput struct { 31876 _ struct{} `type:"structure"` 31877 31878 // Name of the job definition being run. 31879 // 31880 // JobName is a required field 31881 JobName *string `min:"1" type:"string" required:"true"` 31882 31883 // True if a list of predecessor runs should be returned. 31884 PredecessorsIncluded *bool `type:"boolean"` 31885 31886 // The ID of the job run. 31887 // 31888 // RunId is a required field 31889 RunId *string `min:"1" type:"string" required:"true"` 31890 } 31891 31892 // String returns the string representation. 31893 // 31894 // API parameter values that are decorated as "sensitive" in the API will not 31895 // be included in the string output. The member name will be present, but the 31896 // value will be replaced with "sensitive". 31897 func (s GetJobRunInput) String() string { 31898 return awsutil.Prettify(s) 31899 } 31900 31901 // GoString returns the string representation. 31902 // 31903 // API parameter values that are decorated as "sensitive" in the API will not 31904 // be included in the string output. The member name will be present, but the 31905 // value will be replaced with "sensitive". 31906 func (s GetJobRunInput) GoString() string { 31907 return s.String() 31908 } 31909 31910 // Validate inspects the fields of the type to determine if they are valid. 31911 func (s *GetJobRunInput) Validate() error { 31912 invalidParams := request.ErrInvalidParams{Context: "GetJobRunInput"} 31913 if s.JobName == nil { 31914 invalidParams.Add(request.NewErrParamRequired("JobName")) 31915 } 31916 if s.JobName != nil && len(*s.JobName) < 1 { 31917 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 31918 } 31919 if s.RunId == nil { 31920 invalidParams.Add(request.NewErrParamRequired("RunId")) 31921 } 31922 if s.RunId != nil && len(*s.RunId) < 1 { 31923 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 31924 } 31925 31926 if invalidParams.Len() > 0 { 31927 return invalidParams 31928 } 31929 return nil 31930 } 31931 31932 // SetJobName sets the JobName field's value. 31933 func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput { 31934 s.JobName = &v 31935 return s 31936 } 31937 31938 // SetPredecessorsIncluded sets the PredecessorsIncluded field's value. 31939 func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput { 31940 s.PredecessorsIncluded = &v 31941 return s 31942 } 31943 31944 // SetRunId sets the RunId field's value. 31945 func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput { 31946 s.RunId = &v 31947 return s 31948 } 31949 31950 type GetJobRunOutput struct { 31951 _ struct{} `type:"structure"` 31952 31953 // The requested job-run metadata. 31954 JobRun *JobRun `type:"structure"` 31955 } 31956 31957 // String returns the string representation. 31958 // 31959 // API parameter values that are decorated as "sensitive" in the API will not 31960 // be included in the string output. The member name will be present, but the 31961 // value will be replaced with "sensitive". 31962 func (s GetJobRunOutput) String() string { 31963 return awsutil.Prettify(s) 31964 } 31965 31966 // GoString returns the string representation. 31967 // 31968 // API parameter values that are decorated as "sensitive" in the API will not 31969 // be included in the string output. The member name will be present, but the 31970 // value will be replaced with "sensitive". 31971 func (s GetJobRunOutput) GoString() string { 31972 return s.String() 31973 } 31974 31975 // SetJobRun sets the JobRun field's value. 31976 func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput { 31977 s.JobRun = v 31978 return s 31979 } 31980 31981 type GetJobRunsInput struct { 31982 _ struct{} `type:"structure"` 31983 31984 // The name of the job definition for which to retrieve all job runs. 31985 // 31986 // JobName is a required field 31987 JobName *string `min:"1" type:"string" required:"true"` 31988 31989 // The maximum size of the response. 31990 MaxResults *int64 `min:"1" type:"integer"` 31991 31992 // A continuation token, if this is a continuation call. 31993 NextToken *string `type:"string"` 31994 } 31995 31996 // String returns the string representation. 31997 // 31998 // API parameter values that are decorated as "sensitive" in the API will not 31999 // be included in the string output. The member name will be present, but the 32000 // value will be replaced with "sensitive". 32001 func (s GetJobRunsInput) String() string { 32002 return awsutil.Prettify(s) 32003 } 32004 32005 // GoString returns the string representation. 32006 // 32007 // API parameter values that are decorated as "sensitive" in the API will not 32008 // be included in the string output. The member name will be present, but the 32009 // value will be replaced with "sensitive". 32010 func (s GetJobRunsInput) GoString() string { 32011 return s.String() 32012 } 32013 32014 // Validate inspects the fields of the type to determine if they are valid. 32015 func (s *GetJobRunsInput) Validate() error { 32016 invalidParams := request.ErrInvalidParams{Context: "GetJobRunsInput"} 32017 if s.JobName == nil { 32018 invalidParams.Add(request.NewErrParamRequired("JobName")) 32019 } 32020 if s.JobName != nil && len(*s.JobName) < 1 { 32021 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 32022 } 32023 if s.MaxResults != nil && *s.MaxResults < 1 { 32024 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 32025 } 32026 32027 if invalidParams.Len() > 0 { 32028 return invalidParams 32029 } 32030 return nil 32031 } 32032 32033 // SetJobName sets the JobName field's value. 32034 func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput { 32035 s.JobName = &v 32036 return s 32037 } 32038 32039 // SetMaxResults sets the MaxResults field's value. 32040 func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput { 32041 s.MaxResults = &v 32042 return s 32043 } 32044 32045 // SetNextToken sets the NextToken field's value. 32046 func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput { 32047 s.NextToken = &v 32048 return s 32049 } 32050 32051 type GetJobRunsOutput struct { 32052 _ struct{} `type:"structure"` 32053 32054 // A list of job-run metadata objects. 32055 JobRuns []*JobRun `type:"list"` 32056 32057 // A continuation token, if not all requested job runs have been returned. 32058 NextToken *string `type:"string"` 32059 } 32060 32061 // String returns the string representation. 32062 // 32063 // API parameter values that are decorated as "sensitive" in the API will not 32064 // be included in the string output. The member name will be present, but the 32065 // value will be replaced with "sensitive". 32066 func (s GetJobRunsOutput) String() string { 32067 return awsutil.Prettify(s) 32068 } 32069 32070 // GoString returns the string representation. 32071 // 32072 // API parameter values that are decorated as "sensitive" in the API will not 32073 // be included in the string output. The member name will be present, but the 32074 // value will be replaced with "sensitive". 32075 func (s GetJobRunsOutput) GoString() string { 32076 return s.String() 32077 } 32078 32079 // SetJobRuns sets the JobRuns field's value. 32080 func (s *GetJobRunsOutput) SetJobRuns(v []*JobRun) *GetJobRunsOutput { 32081 s.JobRuns = v 32082 return s 32083 } 32084 32085 // SetNextToken sets the NextToken field's value. 32086 func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput { 32087 s.NextToken = &v 32088 return s 32089 } 32090 32091 type GetJobsInput struct { 32092 _ struct{} `type:"structure"` 32093 32094 // The maximum size of the response. 32095 MaxResults *int64 `min:"1" type:"integer"` 32096 32097 // A continuation token, if this is a continuation call. 32098 NextToken *string `type:"string"` 32099 } 32100 32101 // String returns the string representation. 32102 // 32103 // API parameter values that are decorated as "sensitive" in the API will not 32104 // be included in the string output. The member name will be present, but the 32105 // value will be replaced with "sensitive". 32106 func (s GetJobsInput) String() string { 32107 return awsutil.Prettify(s) 32108 } 32109 32110 // GoString returns the string representation. 32111 // 32112 // API parameter values that are decorated as "sensitive" in the API will not 32113 // be included in the string output. The member name will be present, but the 32114 // value will be replaced with "sensitive". 32115 func (s GetJobsInput) GoString() string { 32116 return s.String() 32117 } 32118 32119 // Validate inspects the fields of the type to determine if they are valid. 32120 func (s *GetJobsInput) Validate() error { 32121 invalidParams := request.ErrInvalidParams{Context: "GetJobsInput"} 32122 if s.MaxResults != nil && *s.MaxResults < 1 { 32123 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 32124 } 32125 32126 if invalidParams.Len() > 0 { 32127 return invalidParams 32128 } 32129 return nil 32130 } 32131 32132 // SetMaxResults sets the MaxResults field's value. 32133 func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput { 32134 s.MaxResults = &v 32135 return s 32136 } 32137 32138 // SetNextToken sets the NextToken field's value. 32139 func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput { 32140 s.NextToken = &v 32141 return s 32142 } 32143 32144 type GetJobsOutput struct { 32145 _ struct{} `type:"structure"` 32146 32147 // A list of job definitions. 32148 Jobs []*Job `type:"list"` 32149 32150 // A continuation token, if not all job definitions have yet been returned. 32151 NextToken *string `type:"string"` 32152 } 32153 32154 // String returns the string representation. 32155 // 32156 // API parameter values that are decorated as "sensitive" in the API will not 32157 // be included in the string output. The member name will be present, but the 32158 // value will be replaced with "sensitive". 32159 func (s GetJobsOutput) String() string { 32160 return awsutil.Prettify(s) 32161 } 32162 32163 // GoString returns the string representation. 32164 // 32165 // API parameter values that are decorated as "sensitive" in the API will not 32166 // be included in the string output. The member name will be present, but the 32167 // value will be replaced with "sensitive". 32168 func (s GetJobsOutput) GoString() string { 32169 return s.String() 32170 } 32171 32172 // SetJobs sets the Jobs field's value. 32173 func (s *GetJobsOutput) SetJobs(v []*Job) *GetJobsOutput { 32174 s.Jobs = v 32175 return s 32176 } 32177 32178 // SetNextToken sets the NextToken field's value. 32179 func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput { 32180 s.NextToken = &v 32181 return s 32182 } 32183 32184 type GetMLTaskRunInput struct { 32185 _ struct{} `type:"structure"` 32186 32187 // The unique identifier of the task run. 32188 // 32189 // TaskRunId is a required field 32190 TaskRunId *string `min:"1" type:"string" required:"true"` 32191 32192 // The unique identifier of the machine learning transform. 32193 // 32194 // TransformId is a required field 32195 TransformId *string `min:"1" type:"string" required:"true"` 32196 } 32197 32198 // String returns the string representation. 32199 // 32200 // API parameter values that are decorated as "sensitive" in the API will not 32201 // be included in the string output. The member name will be present, but the 32202 // value will be replaced with "sensitive". 32203 func (s GetMLTaskRunInput) String() string { 32204 return awsutil.Prettify(s) 32205 } 32206 32207 // GoString returns the string representation. 32208 // 32209 // API parameter values that are decorated as "sensitive" in the API will not 32210 // be included in the string output. The member name will be present, but the 32211 // value will be replaced with "sensitive". 32212 func (s GetMLTaskRunInput) GoString() string { 32213 return s.String() 32214 } 32215 32216 // Validate inspects the fields of the type to determine if they are valid. 32217 func (s *GetMLTaskRunInput) Validate() error { 32218 invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunInput"} 32219 if s.TaskRunId == nil { 32220 invalidParams.Add(request.NewErrParamRequired("TaskRunId")) 32221 } 32222 if s.TaskRunId != nil && len(*s.TaskRunId) < 1 { 32223 invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1)) 32224 } 32225 if s.TransformId == nil { 32226 invalidParams.Add(request.NewErrParamRequired("TransformId")) 32227 } 32228 if s.TransformId != nil && len(*s.TransformId) < 1 { 32229 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 32230 } 32231 32232 if invalidParams.Len() > 0 { 32233 return invalidParams 32234 } 32235 return nil 32236 } 32237 32238 // SetTaskRunId sets the TaskRunId field's value. 32239 func (s *GetMLTaskRunInput) SetTaskRunId(v string) *GetMLTaskRunInput { 32240 s.TaskRunId = &v 32241 return s 32242 } 32243 32244 // SetTransformId sets the TransformId field's value. 32245 func (s *GetMLTaskRunInput) SetTransformId(v string) *GetMLTaskRunInput { 32246 s.TransformId = &v 32247 return s 32248 } 32249 32250 type GetMLTaskRunOutput struct { 32251 _ struct{} `type:"structure"` 32252 32253 // The date and time when this task run was completed. 32254 CompletedOn *time.Time `type:"timestamp"` 32255 32256 // The error strings that are associated with the task run. 32257 ErrorString *string `type:"string"` 32258 32259 // The amount of time (in seconds) that the task run consumed resources. 32260 ExecutionTime *int64 `type:"integer"` 32261 32262 // The date and time when this task run was last modified. 32263 LastModifiedOn *time.Time `type:"timestamp"` 32264 32265 // The names of the log groups that are associated with the task run. 32266 LogGroupName *string `type:"string"` 32267 32268 // The list of properties that are associated with the task run. 32269 Properties *TaskRunProperties `type:"structure"` 32270 32271 // The date and time when this task run started. 32272 StartedOn *time.Time `type:"timestamp"` 32273 32274 // The status for this task run. 32275 Status *string `type:"string" enum:"TaskStatusType"` 32276 32277 // The unique run identifier associated with this run. 32278 TaskRunId *string `min:"1" type:"string"` 32279 32280 // The unique identifier of the task run. 32281 TransformId *string `min:"1" type:"string"` 32282 } 32283 32284 // String returns the string representation. 32285 // 32286 // API parameter values that are decorated as "sensitive" in the API will not 32287 // be included in the string output. The member name will be present, but the 32288 // value will be replaced with "sensitive". 32289 func (s GetMLTaskRunOutput) String() string { 32290 return awsutil.Prettify(s) 32291 } 32292 32293 // GoString returns the string representation. 32294 // 32295 // API parameter values that are decorated as "sensitive" in the API will not 32296 // be included in the string output. The member name will be present, but the 32297 // value will be replaced with "sensitive". 32298 func (s GetMLTaskRunOutput) GoString() string { 32299 return s.String() 32300 } 32301 32302 // SetCompletedOn sets the CompletedOn field's value. 32303 func (s *GetMLTaskRunOutput) SetCompletedOn(v time.Time) *GetMLTaskRunOutput { 32304 s.CompletedOn = &v 32305 return s 32306 } 32307 32308 // SetErrorString sets the ErrorString field's value. 32309 func (s *GetMLTaskRunOutput) SetErrorString(v string) *GetMLTaskRunOutput { 32310 s.ErrorString = &v 32311 return s 32312 } 32313 32314 // SetExecutionTime sets the ExecutionTime field's value. 32315 func (s *GetMLTaskRunOutput) SetExecutionTime(v int64) *GetMLTaskRunOutput { 32316 s.ExecutionTime = &v 32317 return s 32318 } 32319 32320 // SetLastModifiedOn sets the LastModifiedOn field's value. 32321 func (s *GetMLTaskRunOutput) SetLastModifiedOn(v time.Time) *GetMLTaskRunOutput { 32322 s.LastModifiedOn = &v 32323 return s 32324 } 32325 32326 // SetLogGroupName sets the LogGroupName field's value. 32327 func (s *GetMLTaskRunOutput) SetLogGroupName(v string) *GetMLTaskRunOutput { 32328 s.LogGroupName = &v 32329 return s 32330 } 32331 32332 // SetProperties sets the Properties field's value. 32333 func (s *GetMLTaskRunOutput) SetProperties(v *TaskRunProperties) *GetMLTaskRunOutput { 32334 s.Properties = v 32335 return s 32336 } 32337 32338 // SetStartedOn sets the StartedOn field's value. 32339 func (s *GetMLTaskRunOutput) SetStartedOn(v time.Time) *GetMLTaskRunOutput { 32340 s.StartedOn = &v 32341 return s 32342 } 32343 32344 // SetStatus sets the Status field's value. 32345 func (s *GetMLTaskRunOutput) SetStatus(v string) *GetMLTaskRunOutput { 32346 s.Status = &v 32347 return s 32348 } 32349 32350 // SetTaskRunId sets the TaskRunId field's value. 32351 func (s *GetMLTaskRunOutput) SetTaskRunId(v string) *GetMLTaskRunOutput { 32352 s.TaskRunId = &v 32353 return s 32354 } 32355 32356 // SetTransformId sets the TransformId field's value. 32357 func (s *GetMLTaskRunOutput) SetTransformId(v string) *GetMLTaskRunOutput { 32358 s.TransformId = &v 32359 return s 32360 } 32361 32362 type GetMLTaskRunsInput struct { 32363 _ struct{} `type:"structure"` 32364 32365 // The filter criteria, in the TaskRunFilterCriteria structure, for the task 32366 // run. 32367 Filter *TaskRunFilterCriteria `type:"structure"` 32368 32369 // The maximum number of results to return. 32370 MaxResults *int64 `min:"1" type:"integer"` 32371 32372 // A token for pagination of the results. The default is empty. 32373 NextToken *string `type:"string"` 32374 32375 // The sorting criteria, in the TaskRunSortCriteria structure, for the task 32376 // run. 32377 Sort *TaskRunSortCriteria `type:"structure"` 32378 32379 // The unique identifier of the machine learning transform. 32380 // 32381 // TransformId is a required field 32382 TransformId *string `min:"1" type:"string" required:"true"` 32383 } 32384 32385 // String returns the string representation. 32386 // 32387 // API parameter values that are decorated as "sensitive" in the API will not 32388 // be included in the string output. The member name will be present, but the 32389 // value will be replaced with "sensitive". 32390 func (s GetMLTaskRunsInput) String() string { 32391 return awsutil.Prettify(s) 32392 } 32393 32394 // GoString returns the string representation. 32395 // 32396 // API parameter values that are decorated as "sensitive" in the API will not 32397 // be included in the string output. The member name will be present, but the 32398 // value will be replaced with "sensitive". 32399 func (s GetMLTaskRunsInput) GoString() string { 32400 return s.String() 32401 } 32402 32403 // Validate inspects the fields of the type to determine if they are valid. 32404 func (s *GetMLTaskRunsInput) Validate() error { 32405 invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunsInput"} 32406 if s.MaxResults != nil && *s.MaxResults < 1 { 32407 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 32408 } 32409 if s.TransformId == nil { 32410 invalidParams.Add(request.NewErrParamRequired("TransformId")) 32411 } 32412 if s.TransformId != nil && len(*s.TransformId) < 1 { 32413 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 32414 } 32415 if s.Sort != nil { 32416 if err := s.Sort.Validate(); err != nil { 32417 invalidParams.AddNested("Sort", err.(request.ErrInvalidParams)) 32418 } 32419 } 32420 32421 if invalidParams.Len() > 0 { 32422 return invalidParams 32423 } 32424 return nil 32425 } 32426 32427 // SetFilter sets the Filter field's value. 32428 func (s *GetMLTaskRunsInput) SetFilter(v *TaskRunFilterCriteria) *GetMLTaskRunsInput { 32429 s.Filter = v 32430 return s 32431 } 32432 32433 // SetMaxResults sets the MaxResults field's value. 32434 func (s *GetMLTaskRunsInput) SetMaxResults(v int64) *GetMLTaskRunsInput { 32435 s.MaxResults = &v 32436 return s 32437 } 32438 32439 // SetNextToken sets the NextToken field's value. 32440 func (s *GetMLTaskRunsInput) SetNextToken(v string) *GetMLTaskRunsInput { 32441 s.NextToken = &v 32442 return s 32443 } 32444 32445 // SetSort sets the Sort field's value. 32446 func (s *GetMLTaskRunsInput) SetSort(v *TaskRunSortCriteria) *GetMLTaskRunsInput { 32447 s.Sort = v 32448 return s 32449 } 32450 32451 // SetTransformId sets the TransformId field's value. 32452 func (s *GetMLTaskRunsInput) SetTransformId(v string) *GetMLTaskRunsInput { 32453 s.TransformId = &v 32454 return s 32455 } 32456 32457 type GetMLTaskRunsOutput struct { 32458 _ struct{} `type:"structure"` 32459 32460 // A pagination token, if more results are available. 32461 NextToken *string `type:"string"` 32462 32463 // A list of task runs that are associated with the transform. 32464 TaskRuns []*TaskRun `type:"list"` 32465 } 32466 32467 // String returns the string representation. 32468 // 32469 // API parameter values that are decorated as "sensitive" in the API will not 32470 // be included in the string output. The member name will be present, but the 32471 // value will be replaced with "sensitive". 32472 func (s GetMLTaskRunsOutput) String() string { 32473 return awsutil.Prettify(s) 32474 } 32475 32476 // GoString returns the string representation. 32477 // 32478 // API parameter values that are decorated as "sensitive" in the API will not 32479 // be included in the string output. The member name will be present, but the 32480 // value will be replaced with "sensitive". 32481 func (s GetMLTaskRunsOutput) GoString() string { 32482 return s.String() 32483 } 32484 32485 // SetNextToken sets the NextToken field's value. 32486 func (s *GetMLTaskRunsOutput) SetNextToken(v string) *GetMLTaskRunsOutput { 32487 s.NextToken = &v 32488 return s 32489 } 32490 32491 // SetTaskRuns sets the TaskRuns field's value. 32492 func (s *GetMLTaskRunsOutput) SetTaskRuns(v []*TaskRun) *GetMLTaskRunsOutput { 32493 s.TaskRuns = v 32494 return s 32495 } 32496 32497 type GetMLTransformInput struct { 32498 _ struct{} `type:"structure"` 32499 32500 // The unique identifier of the transform, generated at the time that the transform 32501 // was created. 32502 // 32503 // TransformId is a required field 32504 TransformId *string `min:"1" type:"string" required:"true"` 32505 } 32506 32507 // String returns the string representation. 32508 // 32509 // API parameter values that are decorated as "sensitive" in the API will not 32510 // be included in the string output. The member name will be present, but the 32511 // value will be replaced with "sensitive". 32512 func (s GetMLTransformInput) String() string { 32513 return awsutil.Prettify(s) 32514 } 32515 32516 // GoString returns the string representation. 32517 // 32518 // API parameter values that are decorated as "sensitive" in the API will not 32519 // be included in the string output. The member name will be present, but the 32520 // value will be replaced with "sensitive". 32521 func (s GetMLTransformInput) GoString() string { 32522 return s.String() 32523 } 32524 32525 // Validate inspects the fields of the type to determine if they are valid. 32526 func (s *GetMLTransformInput) Validate() error { 32527 invalidParams := request.ErrInvalidParams{Context: "GetMLTransformInput"} 32528 if s.TransformId == nil { 32529 invalidParams.Add(request.NewErrParamRequired("TransformId")) 32530 } 32531 if s.TransformId != nil && len(*s.TransformId) < 1 { 32532 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 32533 } 32534 32535 if invalidParams.Len() > 0 { 32536 return invalidParams 32537 } 32538 return nil 32539 } 32540 32541 // SetTransformId sets the TransformId field's value. 32542 func (s *GetMLTransformInput) SetTransformId(v string) *GetMLTransformInput { 32543 s.TransformId = &v 32544 return s 32545 } 32546 32547 type GetMLTransformOutput struct { 32548 _ struct{} `type:"structure"` 32549 32550 // The date and time when the transform was created. 32551 CreatedOn *time.Time `type:"timestamp"` 32552 32553 // A description of the transform. 32554 Description *string `type:"string"` 32555 32556 // The latest evaluation metrics. 32557 EvaluationMetrics *EvaluationMetrics `type:"structure"` 32558 32559 // This value determines which version of Glue this machine learning transform 32560 // is compatible with. Glue 1.0 is recommended for most customers. If the value 32561 // is not set, the Glue compatibility defaults to Glue 0.9. For more information, 32562 // see Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions) 32563 // in the developer guide. 32564 GlueVersion *string `min:"1" type:"string"` 32565 32566 // A list of Glue table definitions used by the transform. 32567 InputRecordTables []*Table `type:"list"` 32568 32569 // The number of labels available for this transform. 32570 LabelCount *int64 `type:"integer"` 32571 32572 // The date and time when the transform was last modified. 32573 LastModifiedOn *time.Time `type:"timestamp"` 32574 32575 // The number of Glue data processing units (DPUs) that are allocated to task 32576 // runs for this transform. You can allocate from 2 to 100 DPUs; the default 32577 // is 10. A DPU is a relative measure of processing power that consists of 4 32578 // vCPUs of compute capacity and 16 GB of memory. For more information, see 32579 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 32580 // 32581 // When the WorkerType field is set to a value other than Standard, the MaxCapacity 32582 // field is set automatically and becomes read-only. 32583 MaxCapacity *float64 `type:"double"` 32584 32585 // The maximum number of times to retry a task for this transform after a task 32586 // run fails. 32587 MaxRetries *int64 `type:"integer"` 32588 32589 // The unique name given to the transform when it was created. 32590 Name *string `min:"1" type:"string"` 32591 32592 // The number of workers of a defined workerType that are allocated when this 32593 // task runs. 32594 NumberOfWorkers *int64 `type:"integer"` 32595 32596 // The configuration parameters that are specific to the algorithm used. 32597 Parameters *TransformParameters `type:"structure"` 32598 32599 // The name or Amazon Resource Name (ARN) of the IAM role with the required 32600 // permissions. 32601 Role *string `type:"string"` 32602 32603 // The Map<Column, Type> object that represents the schema that this transform 32604 // accepts. Has an upper bound of 100 columns. 32605 Schema []*SchemaColumn `type:"list"` 32606 32607 // The last known status of the transform (to indicate whether it can be used 32608 // or not). One of "NOT_READY", "READY", or "DELETING". 32609 Status *string `type:"string" enum:"TransformStatusType"` 32610 32611 // The timeout for a task run for this transform in minutes. This is the maximum 32612 // time that a task run for this transform can consume resources before it is 32613 // terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). 32614 Timeout *int64 `min:"1" type:"integer"` 32615 32616 // The encryption-at-rest settings of the transform that apply to accessing 32617 // user data. Machine learning transforms can access user data encrypted in 32618 // Amazon S3 using KMS. 32619 TransformEncryption *TransformEncryption `type:"structure"` 32620 32621 // The unique identifier of the transform, generated at the time that the transform 32622 // was created. 32623 TransformId *string `min:"1" type:"string"` 32624 32625 // The type of predefined worker that is allocated when this task runs. Accepts 32626 // a value of Standard, G.1X, or G.2X. 32627 // 32628 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 32629 // memory and a 50GB disk, and 2 executors per worker. 32630 // 32631 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 32632 // and a 64GB disk, and 1 executor per worker. 32633 // 32634 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 32635 // and a 128GB disk, and 1 executor per worker. 32636 WorkerType *string `type:"string" enum:"WorkerType"` 32637 } 32638 32639 // String returns the string representation. 32640 // 32641 // API parameter values that are decorated as "sensitive" in the API will not 32642 // be included in the string output. The member name will be present, but the 32643 // value will be replaced with "sensitive". 32644 func (s GetMLTransformOutput) String() string { 32645 return awsutil.Prettify(s) 32646 } 32647 32648 // GoString returns the string representation. 32649 // 32650 // API parameter values that are decorated as "sensitive" in the API will not 32651 // be included in the string output. The member name will be present, but the 32652 // value will be replaced with "sensitive". 32653 func (s GetMLTransformOutput) GoString() string { 32654 return s.String() 32655 } 32656 32657 // SetCreatedOn sets the CreatedOn field's value. 32658 func (s *GetMLTransformOutput) SetCreatedOn(v time.Time) *GetMLTransformOutput { 32659 s.CreatedOn = &v 32660 return s 32661 } 32662 32663 // SetDescription sets the Description field's value. 32664 func (s *GetMLTransformOutput) SetDescription(v string) *GetMLTransformOutput { 32665 s.Description = &v 32666 return s 32667 } 32668 32669 // SetEvaluationMetrics sets the EvaluationMetrics field's value. 32670 func (s *GetMLTransformOutput) SetEvaluationMetrics(v *EvaluationMetrics) *GetMLTransformOutput { 32671 s.EvaluationMetrics = v 32672 return s 32673 } 32674 32675 // SetGlueVersion sets the GlueVersion field's value. 32676 func (s *GetMLTransformOutput) SetGlueVersion(v string) *GetMLTransformOutput { 32677 s.GlueVersion = &v 32678 return s 32679 } 32680 32681 // SetInputRecordTables sets the InputRecordTables field's value. 32682 func (s *GetMLTransformOutput) SetInputRecordTables(v []*Table) *GetMLTransformOutput { 32683 s.InputRecordTables = v 32684 return s 32685 } 32686 32687 // SetLabelCount sets the LabelCount field's value. 32688 func (s *GetMLTransformOutput) SetLabelCount(v int64) *GetMLTransformOutput { 32689 s.LabelCount = &v 32690 return s 32691 } 32692 32693 // SetLastModifiedOn sets the LastModifiedOn field's value. 32694 func (s *GetMLTransformOutput) SetLastModifiedOn(v time.Time) *GetMLTransformOutput { 32695 s.LastModifiedOn = &v 32696 return s 32697 } 32698 32699 // SetMaxCapacity sets the MaxCapacity field's value. 32700 func (s *GetMLTransformOutput) SetMaxCapacity(v float64) *GetMLTransformOutput { 32701 s.MaxCapacity = &v 32702 return s 32703 } 32704 32705 // SetMaxRetries sets the MaxRetries field's value. 32706 func (s *GetMLTransformOutput) SetMaxRetries(v int64) *GetMLTransformOutput { 32707 s.MaxRetries = &v 32708 return s 32709 } 32710 32711 // SetName sets the Name field's value. 32712 func (s *GetMLTransformOutput) SetName(v string) *GetMLTransformOutput { 32713 s.Name = &v 32714 return s 32715 } 32716 32717 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 32718 func (s *GetMLTransformOutput) SetNumberOfWorkers(v int64) *GetMLTransformOutput { 32719 s.NumberOfWorkers = &v 32720 return s 32721 } 32722 32723 // SetParameters sets the Parameters field's value. 32724 func (s *GetMLTransformOutput) SetParameters(v *TransformParameters) *GetMLTransformOutput { 32725 s.Parameters = v 32726 return s 32727 } 32728 32729 // SetRole sets the Role field's value. 32730 func (s *GetMLTransformOutput) SetRole(v string) *GetMLTransformOutput { 32731 s.Role = &v 32732 return s 32733 } 32734 32735 // SetSchema sets the Schema field's value. 32736 func (s *GetMLTransformOutput) SetSchema(v []*SchemaColumn) *GetMLTransformOutput { 32737 s.Schema = v 32738 return s 32739 } 32740 32741 // SetStatus sets the Status field's value. 32742 func (s *GetMLTransformOutput) SetStatus(v string) *GetMLTransformOutput { 32743 s.Status = &v 32744 return s 32745 } 32746 32747 // SetTimeout sets the Timeout field's value. 32748 func (s *GetMLTransformOutput) SetTimeout(v int64) *GetMLTransformOutput { 32749 s.Timeout = &v 32750 return s 32751 } 32752 32753 // SetTransformEncryption sets the TransformEncryption field's value. 32754 func (s *GetMLTransformOutput) SetTransformEncryption(v *TransformEncryption) *GetMLTransformOutput { 32755 s.TransformEncryption = v 32756 return s 32757 } 32758 32759 // SetTransformId sets the TransformId field's value. 32760 func (s *GetMLTransformOutput) SetTransformId(v string) *GetMLTransformOutput { 32761 s.TransformId = &v 32762 return s 32763 } 32764 32765 // SetWorkerType sets the WorkerType field's value. 32766 func (s *GetMLTransformOutput) SetWorkerType(v string) *GetMLTransformOutput { 32767 s.WorkerType = &v 32768 return s 32769 } 32770 32771 type GetMLTransformsInput struct { 32772 _ struct{} `type:"structure"` 32773 32774 // The filter transformation criteria. 32775 Filter *TransformFilterCriteria `type:"structure"` 32776 32777 // The maximum number of results to return. 32778 MaxResults *int64 `min:"1" type:"integer"` 32779 32780 // A paginated token to offset the results. 32781 NextToken *string `type:"string"` 32782 32783 // The sorting criteria. 32784 Sort *TransformSortCriteria `type:"structure"` 32785 } 32786 32787 // String returns the string representation. 32788 // 32789 // API parameter values that are decorated as "sensitive" in the API will not 32790 // be included in the string output. The member name will be present, but the 32791 // value will be replaced with "sensitive". 32792 func (s GetMLTransformsInput) String() string { 32793 return awsutil.Prettify(s) 32794 } 32795 32796 // GoString returns the string representation. 32797 // 32798 // API parameter values that are decorated as "sensitive" in the API will not 32799 // be included in the string output. The member name will be present, but the 32800 // value will be replaced with "sensitive". 32801 func (s GetMLTransformsInput) GoString() string { 32802 return s.String() 32803 } 32804 32805 // Validate inspects the fields of the type to determine if they are valid. 32806 func (s *GetMLTransformsInput) Validate() error { 32807 invalidParams := request.ErrInvalidParams{Context: "GetMLTransformsInput"} 32808 if s.MaxResults != nil && *s.MaxResults < 1 { 32809 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 32810 } 32811 if s.Filter != nil { 32812 if err := s.Filter.Validate(); err != nil { 32813 invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) 32814 } 32815 } 32816 if s.Sort != nil { 32817 if err := s.Sort.Validate(); err != nil { 32818 invalidParams.AddNested("Sort", err.(request.ErrInvalidParams)) 32819 } 32820 } 32821 32822 if invalidParams.Len() > 0 { 32823 return invalidParams 32824 } 32825 return nil 32826 } 32827 32828 // SetFilter sets the Filter field's value. 32829 func (s *GetMLTransformsInput) SetFilter(v *TransformFilterCriteria) *GetMLTransformsInput { 32830 s.Filter = v 32831 return s 32832 } 32833 32834 // SetMaxResults sets the MaxResults field's value. 32835 func (s *GetMLTransformsInput) SetMaxResults(v int64) *GetMLTransformsInput { 32836 s.MaxResults = &v 32837 return s 32838 } 32839 32840 // SetNextToken sets the NextToken field's value. 32841 func (s *GetMLTransformsInput) SetNextToken(v string) *GetMLTransformsInput { 32842 s.NextToken = &v 32843 return s 32844 } 32845 32846 // SetSort sets the Sort field's value. 32847 func (s *GetMLTransformsInput) SetSort(v *TransformSortCriteria) *GetMLTransformsInput { 32848 s.Sort = v 32849 return s 32850 } 32851 32852 type GetMLTransformsOutput struct { 32853 _ struct{} `type:"structure"` 32854 32855 // A pagination token, if more results are available. 32856 NextToken *string `type:"string"` 32857 32858 // A list of machine learning transforms. 32859 // 32860 // Transforms is a required field 32861 Transforms []*MLTransform `type:"list" required:"true"` 32862 } 32863 32864 // String returns the string representation. 32865 // 32866 // API parameter values that are decorated as "sensitive" in the API will not 32867 // be included in the string output. The member name will be present, but the 32868 // value will be replaced with "sensitive". 32869 func (s GetMLTransformsOutput) String() string { 32870 return awsutil.Prettify(s) 32871 } 32872 32873 // GoString returns the string representation. 32874 // 32875 // API parameter values that are decorated as "sensitive" in the API will not 32876 // be included in the string output. The member name will be present, but the 32877 // value will be replaced with "sensitive". 32878 func (s GetMLTransformsOutput) GoString() string { 32879 return s.String() 32880 } 32881 32882 // SetNextToken sets the NextToken field's value. 32883 func (s *GetMLTransformsOutput) SetNextToken(v string) *GetMLTransformsOutput { 32884 s.NextToken = &v 32885 return s 32886 } 32887 32888 // SetTransforms sets the Transforms field's value. 32889 func (s *GetMLTransformsOutput) SetTransforms(v []*MLTransform) *GetMLTransformsOutput { 32890 s.Transforms = v 32891 return s 32892 } 32893 32894 type GetMappingInput struct { 32895 _ struct{} `type:"structure"` 32896 32897 // Parameters for the mapping. 32898 Location *Location `type:"structure"` 32899 32900 // A list of target tables. 32901 Sinks []*CatalogEntry `type:"list"` 32902 32903 // Specifies the source table. 32904 // 32905 // Source is a required field 32906 Source *CatalogEntry `type:"structure" required:"true"` 32907 } 32908 32909 // String returns the string representation. 32910 // 32911 // API parameter values that are decorated as "sensitive" in the API will not 32912 // be included in the string output. The member name will be present, but the 32913 // value will be replaced with "sensitive". 32914 func (s GetMappingInput) String() string { 32915 return awsutil.Prettify(s) 32916 } 32917 32918 // GoString returns the string representation. 32919 // 32920 // API parameter values that are decorated as "sensitive" in the API will not 32921 // be included in the string output. The member name will be present, but the 32922 // value will be replaced with "sensitive". 32923 func (s GetMappingInput) GoString() string { 32924 return s.String() 32925 } 32926 32927 // Validate inspects the fields of the type to determine if they are valid. 32928 func (s *GetMappingInput) Validate() error { 32929 invalidParams := request.ErrInvalidParams{Context: "GetMappingInput"} 32930 if s.Source == nil { 32931 invalidParams.Add(request.NewErrParamRequired("Source")) 32932 } 32933 if s.Location != nil { 32934 if err := s.Location.Validate(); err != nil { 32935 invalidParams.AddNested("Location", err.(request.ErrInvalidParams)) 32936 } 32937 } 32938 if s.Sinks != nil { 32939 for i, v := range s.Sinks { 32940 if v == nil { 32941 continue 32942 } 32943 if err := v.Validate(); err != nil { 32944 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams)) 32945 } 32946 } 32947 } 32948 if s.Source != nil { 32949 if err := s.Source.Validate(); err != nil { 32950 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 32951 } 32952 } 32953 32954 if invalidParams.Len() > 0 { 32955 return invalidParams 32956 } 32957 return nil 32958 } 32959 32960 // SetLocation sets the Location field's value. 32961 func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput { 32962 s.Location = v 32963 return s 32964 } 32965 32966 // SetSinks sets the Sinks field's value. 32967 func (s *GetMappingInput) SetSinks(v []*CatalogEntry) *GetMappingInput { 32968 s.Sinks = v 32969 return s 32970 } 32971 32972 // SetSource sets the Source field's value. 32973 func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput { 32974 s.Source = v 32975 return s 32976 } 32977 32978 type GetMappingOutput struct { 32979 _ struct{} `type:"structure"` 32980 32981 // A list of mappings to the specified targets. 32982 // 32983 // Mapping is a required field 32984 Mapping []*MappingEntry `type:"list" required:"true"` 32985 } 32986 32987 // String returns the string representation. 32988 // 32989 // API parameter values that are decorated as "sensitive" in the API will not 32990 // be included in the string output. The member name will be present, but the 32991 // value will be replaced with "sensitive". 32992 func (s GetMappingOutput) String() string { 32993 return awsutil.Prettify(s) 32994 } 32995 32996 // GoString returns the string representation. 32997 // 32998 // API parameter values that are decorated as "sensitive" in the API will not 32999 // be included in the string output. The member name will be present, but the 33000 // value will be replaced with "sensitive". 33001 func (s GetMappingOutput) GoString() string { 33002 return s.String() 33003 } 33004 33005 // SetMapping sets the Mapping field's value. 33006 func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput { 33007 s.Mapping = v 33008 return s 33009 } 33010 33011 type GetPartitionIndexesInput struct { 33012 _ struct{} `type:"structure"` 33013 33014 // The catalog ID where the table resides. 33015 CatalogId *string `min:"1" type:"string"` 33016 33017 // Specifies the name of a database from which you want to retrieve partition 33018 // indexes. 33019 // 33020 // DatabaseName is a required field 33021 DatabaseName *string `min:"1" type:"string" required:"true"` 33022 33023 // A continuation token, included if this is a continuation call. 33024 NextToken *string `type:"string"` 33025 33026 // Specifies the name of a table for which you want to retrieve the partition 33027 // indexes. 33028 // 33029 // TableName is a required field 33030 TableName *string `min:"1" type:"string" required:"true"` 33031 } 33032 33033 // String returns the string representation. 33034 // 33035 // API parameter values that are decorated as "sensitive" in the API will not 33036 // be included in the string output. The member name will be present, but the 33037 // value will be replaced with "sensitive". 33038 func (s GetPartitionIndexesInput) String() string { 33039 return awsutil.Prettify(s) 33040 } 33041 33042 // GoString returns the string representation. 33043 // 33044 // API parameter values that are decorated as "sensitive" in the API will not 33045 // be included in the string output. The member name will be present, but the 33046 // value will be replaced with "sensitive". 33047 func (s GetPartitionIndexesInput) GoString() string { 33048 return s.String() 33049 } 33050 33051 // Validate inspects the fields of the type to determine if they are valid. 33052 func (s *GetPartitionIndexesInput) Validate() error { 33053 invalidParams := request.ErrInvalidParams{Context: "GetPartitionIndexesInput"} 33054 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 33055 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 33056 } 33057 if s.DatabaseName == nil { 33058 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 33059 } 33060 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 33061 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 33062 } 33063 if s.TableName == nil { 33064 invalidParams.Add(request.NewErrParamRequired("TableName")) 33065 } 33066 if s.TableName != nil && len(*s.TableName) < 1 { 33067 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 33068 } 33069 33070 if invalidParams.Len() > 0 { 33071 return invalidParams 33072 } 33073 return nil 33074 } 33075 33076 // SetCatalogId sets the CatalogId field's value. 33077 func (s *GetPartitionIndexesInput) SetCatalogId(v string) *GetPartitionIndexesInput { 33078 s.CatalogId = &v 33079 return s 33080 } 33081 33082 // SetDatabaseName sets the DatabaseName field's value. 33083 func (s *GetPartitionIndexesInput) SetDatabaseName(v string) *GetPartitionIndexesInput { 33084 s.DatabaseName = &v 33085 return s 33086 } 33087 33088 // SetNextToken sets the NextToken field's value. 33089 func (s *GetPartitionIndexesInput) SetNextToken(v string) *GetPartitionIndexesInput { 33090 s.NextToken = &v 33091 return s 33092 } 33093 33094 // SetTableName sets the TableName field's value. 33095 func (s *GetPartitionIndexesInput) SetTableName(v string) *GetPartitionIndexesInput { 33096 s.TableName = &v 33097 return s 33098 } 33099 33100 type GetPartitionIndexesOutput struct { 33101 _ struct{} `type:"structure"` 33102 33103 // A continuation token, present if the current list segment is not the last. 33104 NextToken *string `type:"string"` 33105 33106 // A list of index descriptors. 33107 PartitionIndexDescriptorList []*PartitionIndexDescriptor `type:"list"` 33108 } 33109 33110 // String returns the string representation. 33111 // 33112 // API parameter values that are decorated as "sensitive" in the API will not 33113 // be included in the string output. The member name will be present, but the 33114 // value will be replaced with "sensitive". 33115 func (s GetPartitionIndexesOutput) String() string { 33116 return awsutil.Prettify(s) 33117 } 33118 33119 // GoString returns the string representation. 33120 // 33121 // API parameter values that are decorated as "sensitive" in the API will not 33122 // be included in the string output. The member name will be present, but the 33123 // value will be replaced with "sensitive". 33124 func (s GetPartitionIndexesOutput) GoString() string { 33125 return s.String() 33126 } 33127 33128 // SetNextToken sets the NextToken field's value. 33129 func (s *GetPartitionIndexesOutput) SetNextToken(v string) *GetPartitionIndexesOutput { 33130 s.NextToken = &v 33131 return s 33132 } 33133 33134 // SetPartitionIndexDescriptorList sets the PartitionIndexDescriptorList field's value. 33135 func (s *GetPartitionIndexesOutput) SetPartitionIndexDescriptorList(v []*PartitionIndexDescriptor) *GetPartitionIndexesOutput { 33136 s.PartitionIndexDescriptorList = v 33137 return s 33138 } 33139 33140 type GetPartitionInput struct { 33141 _ struct{} `type:"structure"` 33142 33143 // The ID of the Data Catalog where the partition in question resides. If none 33144 // is provided, the Amazon Web Services account ID is used by default. 33145 CatalogId *string `min:"1" type:"string"` 33146 33147 // The name of the catalog database where the partition resides. 33148 // 33149 // DatabaseName is a required field 33150 DatabaseName *string `min:"1" type:"string" required:"true"` 33151 33152 // The values that define the partition. 33153 // 33154 // PartitionValues is a required field 33155 PartitionValues []*string `type:"list" required:"true"` 33156 33157 // The name of the partition's table. 33158 // 33159 // TableName is a required field 33160 TableName *string `min:"1" type:"string" required:"true"` 33161 } 33162 33163 // String returns the string representation. 33164 // 33165 // API parameter values that are decorated as "sensitive" in the API will not 33166 // be included in the string output. The member name will be present, but the 33167 // value will be replaced with "sensitive". 33168 func (s GetPartitionInput) String() string { 33169 return awsutil.Prettify(s) 33170 } 33171 33172 // GoString returns the string representation. 33173 // 33174 // API parameter values that are decorated as "sensitive" in the API will not 33175 // be included in the string output. The member name will be present, but the 33176 // value will be replaced with "sensitive". 33177 func (s GetPartitionInput) GoString() string { 33178 return s.String() 33179 } 33180 33181 // Validate inspects the fields of the type to determine if they are valid. 33182 func (s *GetPartitionInput) Validate() error { 33183 invalidParams := request.ErrInvalidParams{Context: "GetPartitionInput"} 33184 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 33185 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 33186 } 33187 if s.DatabaseName == nil { 33188 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 33189 } 33190 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 33191 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 33192 } 33193 if s.PartitionValues == nil { 33194 invalidParams.Add(request.NewErrParamRequired("PartitionValues")) 33195 } 33196 if s.TableName == nil { 33197 invalidParams.Add(request.NewErrParamRequired("TableName")) 33198 } 33199 if s.TableName != nil && len(*s.TableName) < 1 { 33200 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 33201 } 33202 33203 if invalidParams.Len() > 0 { 33204 return invalidParams 33205 } 33206 return nil 33207 } 33208 33209 // SetCatalogId sets the CatalogId field's value. 33210 func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput { 33211 s.CatalogId = &v 33212 return s 33213 } 33214 33215 // SetDatabaseName sets the DatabaseName field's value. 33216 func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput { 33217 s.DatabaseName = &v 33218 return s 33219 } 33220 33221 // SetPartitionValues sets the PartitionValues field's value. 33222 func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput { 33223 s.PartitionValues = v 33224 return s 33225 } 33226 33227 // SetTableName sets the TableName field's value. 33228 func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput { 33229 s.TableName = &v 33230 return s 33231 } 33232 33233 type GetPartitionOutput struct { 33234 _ struct{} `type:"structure"` 33235 33236 // The requested information, in the form of a Partition object. 33237 Partition *Partition `type:"structure"` 33238 } 33239 33240 // String returns the string representation. 33241 // 33242 // API parameter values that are decorated as "sensitive" in the API will not 33243 // be included in the string output. The member name will be present, but the 33244 // value will be replaced with "sensitive". 33245 func (s GetPartitionOutput) String() string { 33246 return awsutil.Prettify(s) 33247 } 33248 33249 // GoString returns the string representation. 33250 // 33251 // API parameter values that are decorated as "sensitive" in the API will not 33252 // be included in the string output. The member name will be present, but the 33253 // value will be replaced with "sensitive". 33254 func (s GetPartitionOutput) GoString() string { 33255 return s.String() 33256 } 33257 33258 // SetPartition sets the Partition field's value. 33259 func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput { 33260 s.Partition = v 33261 return s 33262 } 33263 33264 type GetPartitionsInput struct { 33265 _ struct{} `type:"structure"` 33266 33267 // The ID of the Data Catalog where the partitions in question reside. If none 33268 // is provided, the Amazon Web Services account ID is used by default. 33269 CatalogId *string `min:"1" type:"string"` 33270 33271 // The name of the catalog database where the partitions reside. 33272 // 33273 // DatabaseName is a required field 33274 DatabaseName *string `min:"1" type:"string" required:"true"` 33275 33276 // When true, specifies not returning the partition column schema. Useful when 33277 // you are interested only in other partition attributes such as partition values 33278 // or location. This approach avoids the problem of a large response by not 33279 // returning duplicate data. 33280 ExcludeColumnSchema *bool `type:"boolean"` 33281 33282 // An expression that filters the partitions to be returned. 33283 // 33284 // The expression uses SQL syntax similar to the SQL WHERE filter clause. The 33285 // SQL statement parser JSQLParser (http://jsqlparser.sourceforge.net/home.php) 33286 // parses the expression. 33287 // 33288 // Operators: The following are the operators that you can use in the Expression 33289 // API call: 33290 // 33291 // = 33292 // 33293 // Checks whether the values of the two operands are equal; if yes, then the 33294 // condition becomes true. 33295 // 33296 // Example: Assume 'variable a' holds 10 and 'variable b' holds 20. 33297 // 33298 // (a = b) is not true. 33299 // 33300 // < > 33301 // 33302 // Checks whether the values of two operands are equal; if the values are not 33303 // equal, then the condition becomes true. 33304 // 33305 // Example: (a < > b) is true. 33306 // 33307 // > 33308 // 33309 // Checks whether the value of the left operand is greater than the value of 33310 // the right operand; if yes, then the condition becomes true. 33311 // 33312 // Example: (a > b) is not true. 33313 // 33314 // < 33315 // 33316 // Checks whether the value of the left operand is less than the value of the 33317 // right operand; if yes, then the condition becomes true. 33318 // 33319 // Example: (a < b) is true. 33320 // 33321 // >= 33322 // 33323 // Checks whether the value of the left operand is greater than or equal to 33324 // the value of the right operand; if yes, then the condition becomes true. 33325 // 33326 // Example: (a >= b) is not true. 33327 // 33328 // <= 33329 // 33330 // Checks whether the value of the left operand is less than or equal to the 33331 // value of the right operand; if yes, then the condition becomes true. 33332 // 33333 // Example: (a <= b) is true. 33334 // 33335 // AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL 33336 // 33337 // Logical operators. 33338 // 33339 // Supported Partition Key Types: The following are the supported partition 33340 // keys. 33341 // 33342 // * string 33343 // 33344 // * date 33345 // 33346 // * timestamp 33347 // 33348 // * int 33349 // 33350 // * bigint 33351 // 33352 // * long 33353 // 33354 // * tinyint 33355 // 33356 // * smallint 33357 // 33358 // * decimal 33359 // 33360 // If an type is encountered that is not valid, an exception is thrown. 33361 // 33362 // The following list shows the valid operators on each type. When you define 33363 // a crawler, the partitionKey type is created as a STRING, to be compatible 33364 // with the catalog partitions. 33365 // 33366 // Sample API Call: 33367 Expression *string `type:"string"` 33368 33369 // The maximum number of partitions to return in a single response. 33370 MaxResults *int64 `min:"1" type:"integer"` 33371 33372 // A continuation token, if this is not the first call to retrieve these partitions. 33373 NextToken *string `type:"string"` 33374 33375 // The segment of the table's partitions to scan in this request. 33376 Segment *Segment `type:"structure"` 33377 33378 // The name of the partitions' table. 33379 // 33380 // TableName is a required field 33381 TableName *string `min:"1" type:"string" required:"true"` 33382 } 33383 33384 // String returns the string representation. 33385 // 33386 // API parameter values that are decorated as "sensitive" in the API will not 33387 // be included in the string output. The member name will be present, but the 33388 // value will be replaced with "sensitive". 33389 func (s GetPartitionsInput) String() string { 33390 return awsutil.Prettify(s) 33391 } 33392 33393 // GoString returns the string representation. 33394 // 33395 // API parameter values that are decorated as "sensitive" in the API will not 33396 // be included in the string output. The member name will be present, but the 33397 // value will be replaced with "sensitive". 33398 func (s GetPartitionsInput) GoString() string { 33399 return s.String() 33400 } 33401 33402 // Validate inspects the fields of the type to determine if they are valid. 33403 func (s *GetPartitionsInput) Validate() error { 33404 invalidParams := request.ErrInvalidParams{Context: "GetPartitionsInput"} 33405 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 33406 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 33407 } 33408 if s.DatabaseName == nil { 33409 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 33410 } 33411 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 33412 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 33413 } 33414 if s.MaxResults != nil && *s.MaxResults < 1 { 33415 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 33416 } 33417 if s.TableName == nil { 33418 invalidParams.Add(request.NewErrParamRequired("TableName")) 33419 } 33420 if s.TableName != nil && len(*s.TableName) < 1 { 33421 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 33422 } 33423 if s.Segment != nil { 33424 if err := s.Segment.Validate(); err != nil { 33425 invalidParams.AddNested("Segment", err.(request.ErrInvalidParams)) 33426 } 33427 } 33428 33429 if invalidParams.Len() > 0 { 33430 return invalidParams 33431 } 33432 return nil 33433 } 33434 33435 // SetCatalogId sets the CatalogId field's value. 33436 func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput { 33437 s.CatalogId = &v 33438 return s 33439 } 33440 33441 // SetDatabaseName sets the DatabaseName field's value. 33442 func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput { 33443 s.DatabaseName = &v 33444 return s 33445 } 33446 33447 // SetExcludeColumnSchema sets the ExcludeColumnSchema field's value. 33448 func (s *GetPartitionsInput) SetExcludeColumnSchema(v bool) *GetPartitionsInput { 33449 s.ExcludeColumnSchema = &v 33450 return s 33451 } 33452 33453 // SetExpression sets the Expression field's value. 33454 func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput { 33455 s.Expression = &v 33456 return s 33457 } 33458 33459 // SetMaxResults sets the MaxResults field's value. 33460 func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput { 33461 s.MaxResults = &v 33462 return s 33463 } 33464 33465 // SetNextToken sets the NextToken field's value. 33466 func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput { 33467 s.NextToken = &v 33468 return s 33469 } 33470 33471 // SetSegment sets the Segment field's value. 33472 func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput { 33473 s.Segment = v 33474 return s 33475 } 33476 33477 // SetTableName sets the TableName field's value. 33478 func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput { 33479 s.TableName = &v 33480 return s 33481 } 33482 33483 type GetPartitionsOutput struct { 33484 _ struct{} `type:"structure"` 33485 33486 // A continuation token, if the returned list of partitions does not include 33487 // the last one. 33488 NextToken *string `type:"string"` 33489 33490 // A list of requested partitions. 33491 Partitions []*Partition `type:"list"` 33492 } 33493 33494 // String returns the string representation. 33495 // 33496 // API parameter values that are decorated as "sensitive" in the API will not 33497 // be included in the string output. The member name will be present, but the 33498 // value will be replaced with "sensitive". 33499 func (s GetPartitionsOutput) String() string { 33500 return awsutil.Prettify(s) 33501 } 33502 33503 // GoString returns the string representation. 33504 // 33505 // API parameter values that are decorated as "sensitive" in the API will not 33506 // be included in the string output. The member name will be present, but the 33507 // value will be replaced with "sensitive". 33508 func (s GetPartitionsOutput) GoString() string { 33509 return s.String() 33510 } 33511 33512 // SetNextToken sets the NextToken field's value. 33513 func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput { 33514 s.NextToken = &v 33515 return s 33516 } 33517 33518 // SetPartitions sets the Partitions field's value. 33519 func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput { 33520 s.Partitions = v 33521 return s 33522 } 33523 33524 type GetPlanInput struct { 33525 _ struct{} `type:"structure"` 33526 33527 // A map to hold additional optional key-value parameters. 33528 // 33529 // Currently, these key-value pairs are supported: 33530 // 33531 // * inferSchema — Specifies whether to set inferSchema to true or false 33532 // for the default script generated by an Glue job. For example, to set inferSchema 33533 // to true, pass the following key value pair: --additional-plan-options-map 33534 // '{"inferSchema":"true"}' 33535 AdditionalPlanOptionsMap map[string]*string `type:"map"` 33536 33537 // The programming language of the code to perform the mapping. 33538 Language *string `type:"string" enum:"Language"` 33539 33540 // The parameters for the mapping. 33541 Location *Location `type:"structure"` 33542 33543 // The list of mappings from a source table to target tables. 33544 // 33545 // Mapping is a required field 33546 Mapping []*MappingEntry `type:"list" required:"true"` 33547 33548 // The target tables. 33549 Sinks []*CatalogEntry `type:"list"` 33550 33551 // The source table. 33552 // 33553 // Source is a required field 33554 Source *CatalogEntry `type:"structure" required:"true"` 33555 } 33556 33557 // String returns the string representation. 33558 // 33559 // API parameter values that are decorated as "sensitive" in the API will not 33560 // be included in the string output. The member name will be present, but the 33561 // value will be replaced with "sensitive". 33562 func (s GetPlanInput) String() string { 33563 return awsutil.Prettify(s) 33564 } 33565 33566 // GoString returns the string representation. 33567 // 33568 // API parameter values that are decorated as "sensitive" in the API will not 33569 // be included in the string output. The member name will be present, but the 33570 // value will be replaced with "sensitive". 33571 func (s GetPlanInput) GoString() string { 33572 return s.String() 33573 } 33574 33575 // Validate inspects the fields of the type to determine if they are valid. 33576 func (s *GetPlanInput) Validate() error { 33577 invalidParams := request.ErrInvalidParams{Context: "GetPlanInput"} 33578 if s.Mapping == nil { 33579 invalidParams.Add(request.NewErrParamRequired("Mapping")) 33580 } 33581 if s.Source == nil { 33582 invalidParams.Add(request.NewErrParamRequired("Source")) 33583 } 33584 if s.Location != nil { 33585 if err := s.Location.Validate(); err != nil { 33586 invalidParams.AddNested("Location", err.(request.ErrInvalidParams)) 33587 } 33588 } 33589 if s.Sinks != nil { 33590 for i, v := range s.Sinks { 33591 if v == nil { 33592 continue 33593 } 33594 if err := v.Validate(); err != nil { 33595 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams)) 33596 } 33597 } 33598 } 33599 if s.Source != nil { 33600 if err := s.Source.Validate(); err != nil { 33601 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 33602 } 33603 } 33604 33605 if invalidParams.Len() > 0 { 33606 return invalidParams 33607 } 33608 return nil 33609 } 33610 33611 // SetAdditionalPlanOptionsMap sets the AdditionalPlanOptionsMap field's value. 33612 func (s *GetPlanInput) SetAdditionalPlanOptionsMap(v map[string]*string) *GetPlanInput { 33613 s.AdditionalPlanOptionsMap = v 33614 return s 33615 } 33616 33617 // SetLanguage sets the Language field's value. 33618 func (s *GetPlanInput) SetLanguage(v string) *GetPlanInput { 33619 s.Language = &v 33620 return s 33621 } 33622 33623 // SetLocation sets the Location field's value. 33624 func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput { 33625 s.Location = v 33626 return s 33627 } 33628 33629 // SetMapping sets the Mapping field's value. 33630 func (s *GetPlanInput) SetMapping(v []*MappingEntry) *GetPlanInput { 33631 s.Mapping = v 33632 return s 33633 } 33634 33635 // SetSinks sets the Sinks field's value. 33636 func (s *GetPlanInput) SetSinks(v []*CatalogEntry) *GetPlanInput { 33637 s.Sinks = v 33638 return s 33639 } 33640 33641 // SetSource sets the Source field's value. 33642 func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput { 33643 s.Source = v 33644 return s 33645 } 33646 33647 type GetPlanOutput struct { 33648 _ struct{} `type:"structure"` 33649 33650 // A Python script to perform the mapping. 33651 PythonScript *string `type:"string"` 33652 33653 // The Scala code to perform the mapping. 33654 ScalaCode *string `type:"string"` 33655 } 33656 33657 // String returns the string representation. 33658 // 33659 // API parameter values that are decorated as "sensitive" in the API will not 33660 // be included in the string output. The member name will be present, but the 33661 // value will be replaced with "sensitive". 33662 func (s GetPlanOutput) String() string { 33663 return awsutil.Prettify(s) 33664 } 33665 33666 // GoString returns the string representation. 33667 // 33668 // API parameter values that are decorated as "sensitive" in the API will not 33669 // be included in the string output. The member name will be present, but the 33670 // value will be replaced with "sensitive". 33671 func (s GetPlanOutput) GoString() string { 33672 return s.String() 33673 } 33674 33675 // SetPythonScript sets the PythonScript field's value. 33676 func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput { 33677 s.PythonScript = &v 33678 return s 33679 } 33680 33681 // SetScalaCode sets the ScalaCode field's value. 33682 func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput { 33683 s.ScalaCode = &v 33684 return s 33685 } 33686 33687 type GetRegistryInput struct { 33688 _ struct{} `type:"structure"` 33689 33690 // This is a wrapper structure that may contain the registry name and Amazon 33691 // Resource Name (ARN). 33692 // 33693 // RegistryId is a required field 33694 RegistryId *RegistryId `type:"structure" required:"true"` 33695 } 33696 33697 // String returns the string representation. 33698 // 33699 // API parameter values that are decorated as "sensitive" in the API will not 33700 // be included in the string output. The member name will be present, but the 33701 // value will be replaced with "sensitive". 33702 func (s GetRegistryInput) String() string { 33703 return awsutil.Prettify(s) 33704 } 33705 33706 // GoString returns the string representation. 33707 // 33708 // API parameter values that are decorated as "sensitive" in the API will not 33709 // be included in the string output. The member name will be present, but the 33710 // value will be replaced with "sensitive". 33711 func (s GetRegistryInput) GoString() string { 33712 return s.String() 33713 } 33714 33715 // Validate inspects the fields of the type to determine if they are valid. 33716 func (s *GetRegistryInput) Validate() error { 33717 invalidParams := request.ErrInvalidParams{Context: "GetRegistryInput"} 33718 if s.RegistryId == nil { 33719 invalidParams.Add(request.NewErrParamRequired("RegistryId")) 33720 } 33721 if s.RegistryId != nil { 33722 if err := s.RegistryId.Validate(); err != nil { 33723 invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams)) 33724 } 33725 } 33726 33727 if invalidParams.Len() > 0 { 33728 return invalidParams 33729 } 33730 return nil 33731 } 33732 33733 // SetRegistryId sets the RegistryId field's value. 33734 func (s *GetRegistryInput) SetRegistryId(v *RegistryId) *GetRegistryInput { 33735 s.RegistryId = v 33736 return s 33737 } 33738 33739 type GetRegistryOutput struct { 33740 _ struct{} `type:"structure"` 33741 33742 // The date and time the registry was created. 33743 CreatedTime *string `type:"string"` 33744 33745 // A description of the registry. 33746 Description *string `type:"string"` 33747 33748 // The Amazon Resource Name (ARN) of the registry. 33749 RegistryArn *string `min:"1" type:"string"` 33750 33751 // The name of the registry. 33752 RegistryName *string `min:"1" type:"string"` 33753 33754 // The status of the registry. 33755 Status *string `type:"string" enum:"RegistryStatus"` 33756 33757 // The date and time the registry was updated. 33758 UpdatedTime *string `type:"string"` 33759 } 33760 33761 // String returns the string representation. 33762 // 33763 // API parameter values that are decorated as "sensitive" in the API will not 33764 // be included in the string output. The member name will be present, but the 33765 // value will be replaced with "sensitive". 33766 func (s GetRegistryOutput) String() string { 33767 return awsutil.Prettify(s) 33768 } 33769 33770 // GoString returns the string representation. 33771 // 33772 // API parameter values that are decorated as "sensitive" in the API will not 33773 // be included in the string output. The member name will be present, but the 33774 // value will be replaced with "sensitive". 33775 func (s GetRegistryOutput) GoString() string { 33776 return s.String() 33777 } 33778 33779 // SetCreatedTime sets the CreatedTime field's value. 33780 func (s *GetRegistryOutput) SetCreatedTime(v string) *GetRegistryOutput { 33781 s.CreatedTime = &v 33782 return s 33783 } 33784 33785 // SetDescription sets the Description field's value. 33786 func (s *GetRegistryOutput) SetDescription(v string) *GetRegistryOutput { 33787 s.Description = &v 33788 return s 33789 } 33790 33791 // SetRegistryArn sets the RegistryArn field's value. 33792 func (s *GetRegistryOutput) SetRegistryArn(v string) *GetRegistryOutput { 33793 s.RegistryArn = &v 33794 return s 33795 } 33796 33797 // SetRegistryName sets the RegistryName field's value. 33798 func (s *GetRegistryOutput) SetRegistryName(v string) *GetRegistryOutput { 33799 s.RegistryName = &v 33800 return s 33801 } 33802 33803 // SetStatus sets the Status field's value. 33804 func (s *GetRegistryOutput) SetStatus(v string) *GetRegistryOutput { 33805 s.Status = &v 33806 return s 33807 } 33808 33809 // SetUpdatedTime sets the UpdatedTime field's value. 33810 func (s *GetRegistryOutput) SetUpdatedTime(v string) *GetRegistryOutput { 33811 s.UpdatedTime = &v 33812 return s 33813 } 33814 33815 type GetResourcePoliciesInput struct { 33816 _ struct{} `type:"structure"` 33817 33818 // The maximum size of a list to return. 33819 MaxResults *int64 `min:"1" type:"integer"` 33820 33821 // A continuation token, if this is a continuation request. 33822 NextToken *string `type:"string"` 33823 } 33824 33825 // String returns the string representation. 33826 // 33827 // API parameter values that are decorated as "sensitive" in the API will not 33828 // be included in the string output. The member name will be present, but the 33829 // value will be replaced with "sensitive". 33830 func (s GetResourcePoliciesInput) String() string { 33831 return awsutil.Prettify(s) 33832 } 33833 33834 // GoString returns the string representation. 33835 // 33836 // API parameter values that are decorated as "sensitive" in the API will not 33837 // be included in the string output. The member name will be present, but the 33838 // value will be replaced with "sensitive". 33839 func (s GetResourcePoliciesInput) GoString() string { 33840 return s.String() 33841 } 33842 33843 // Validate inspects the fields of the type to determine if they are valid. 33844 func (s *GetResourcePoliciesInput) Validate() error { 33845 invalidParams := request.ErrInvalidParams{Context: "GetResourcePoliciesInput"} 33846 if s.MaxResults != nil && *s.MaxResults < 1 { 33847 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 33848 } 33849 33850 if invalidParams.Len() > 0 { 33851 return invalidParams 33852 } 33853 return nil 33854 } 33855 33856 // SetMaxResults sets the MaxResults field's value. 33857 func (s *GetResourcePoliciesInput) SetMaxResults(v int64) *GetResourcePoliciesInput { 33858 s.MaxResults = &v 33859 return s 33860 } 33861 33862 // SetNextToken sets the NextToken field's value. 33863 func (s *GetResourcePoliciesInput) SetNextToken(v string) *GetResourcePoliciesInput { 33864 s.NextToken = &v 33865 return s 33866 } 33867 33868 type GetResourcePoliciesOutput struct { 33869 _ struct{} `type:"structure"` 33870 33871 // A list of the individual resource policies and the account-level resource 33872 // policy. 33873 GetResourcePoliciesResponseList []*GluePolicy `type:"list"` 33874 33875 // A continuation token, if the returned list does not contain the last resource 33876 // policy available. 33877 NextToken *string `type:"string"` 33878 } 33879 33880 // String returns the string representation. 33881 // 33882 // API parameter values that are decorated as "sensitive" in the API will not 33883 // be included in the string output. The member name will be present, but the 33884 // value will be replaced with "sensitive". 33885 func (s GetResourcePoliciesOutput) String() string { 33886 return awsutil.Prettify(s) 33887 } 33888 33889 // GoString returns the string representation. 33890 // 33891 // API parameter values that are decorated as "sensitive" in the API will not 33892 // be included in the string output. The member name will be present, but the 33893 // value will be replaced with "sensitive". 33894 func (s GetResourcePoliciesOutput) GoString() string { 33895 return s.String() 33896 } 33897 33898 // SetGetResourcePoliciesResponseList sets the GetResourcePoliciesResponseList field's value. 33899 func (s *GetResourcePoliciesOutput) SetGetResourcePoliciesResponseList(v []*GluePolicy) *GetResourcePoliciesOutput { 33900 s.GetResourcePoliciesResponseList = v 33901 return s 33902 } 33903 33904 // SetNextToken sets the NextToken field's value. 33905 func (s *GetResourcePoliciesOutput) SetNextToken(v string) *GetResourcePoliciesOutput { 33906 s.NextToken = &v 33907 return s 33908 } 33909 33910 type GetResourcePolicyInput struct { 33911 _ struct{} `type:"structure"` 33912 33913 // The ARN of the Glue resource for which to retrieve the resource policy. If 33914 // not supplied, the Data Catalog resource policy is returned. Use GetResourcePolicies 33915 // to view all existing resource policies. For more information see Specifying 33916 // Glue Resource ARNs (https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html). 33917 ResourceArn *string `min:"1" type:"string"` 33918 } 33919 33920 // String returns the string representation. 33921 // 33922 // API parameter values that are decorated as "sensitive" in the API will not 33923 // be included in the string output. The member name will be present, but the 33924 // value will be replaced with "sensitive". 33925 func (s GetResourcePolicyInput) String() string { 33926 return awsutil.Prettify(s) 33927 } 33928 33929 // GoString returns the string representation. 33930 // 33931 // API parameter values that are decorated as "sensitive" in the API will not 33932 // be included in the string output. The member name will be present, but the 33933 // value will be replaced with "sensitive". 33934 func (s GetResourcePolicyInput) GoString() string { 33935 return s.String() 33936 } 33937 33938 // Validate inspects the fields of the type to determine if they are valid. 33939 func (s *GetResourcePolicyInput) Validate() error { 33940 invalidParams := request.ErrInvalidParams{Context: "GetResourcePolicyInput"} 33941 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 33942 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 33943 } 33944 33945 if invalidParams.Len() > 0 { 33946 return invalidParams 33947 } 33948 return nil 33949 } 33950 33951 // SetResourceArn sets the ResourceArn field's value. 33952 func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput { 33953 s.ResourceArn = &v 33954 return s 33955 } 33956 33957 type GetResourcePolicyOutput struct { 33958 _ struct{} `type:"structure"` 33959 33960 // The date and time at which the policy was created. 33961 CreateTime *time.Time `type:"timestamp"` 33962 33963 // Contains the hash value associated with this policy. 33964 PolicyHash *string `min:"1" type:"string"` 33965 33966 // Contains the requested policy document, in JSON format. 33967 PolicyInJson *string `min:"2" type:"string"` 33968 33969 // The date and time at which the policy was last updated. 33970 UpdateTime *time.Time `type:"timestamp"` 33971 } 33972 33973 // String returns the string representation. 33974 // 33975 // API parameter values that are decorated as "sensitive" in the API will not 33976 // be included in the string output. The member name will be present, but the 33977 // value will be replaced with "sensitive". 33978 func (s GetResourcePolicyOutput) String() string { 33979 return awsutil.Prettify(s) 33980 } 33981 33982 // GoString returns the string representation. 33983 // 33984 // API parameter values that are decorated as "sensitive" in the API will not 33985 // be included in the string output. The member name will be present, but the 33986 // value will be replaced with "sensitive". 33987 func (s GetResourcePolicyOutput) GoString() string { 33988 return s.String() 33989 } 33990 33991 // SetCreateTime sets the CreateTime field's value. 33992 func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput { 33993 s.CreateTime = &v 33994 return s 33995 } 33996 33997 // SetPolicyHash sets the PolicyHash field's value. 33998 func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput { 33999 s.PolicyHash = &v 34000 return s 34001 } 34002 34003 // SetPolicyInJson sets the PolicyInJson field's value. 34004 func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput { 34005 s.PolicyInJson = &v 34006 return s 34007 } 34008 34009 // SetUpdateTime sets the UpdateTime field's value. 34010 func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput { 34011 s.UpdateTime = &v 34012 return s 34013 } 34014 34015 type GetSchemaByDefinitionInput struct { 34016 _ struct{} `type:"structure"` 34017 34018 // The definition of the schema for which schema details are required. 34019 // 34020 // SchemaDefinition is a required field 34021 SchemaDefinition *string `min:"1" type:"string" required:"true"` 34022 34023 // This is a wrapper structure to contain schema identity fields. The structure 34024 // contains: 34025 // 34026 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One 34027 // of SchemaArn or SchemaName has to be provided. 34028 // 34029 // * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName 34030 // has to be provided. 34031 // 34032 // SchemaId is a required field 34033 SchemaId *SchemaId `type:"structure" required:"true"` 34034 } 34035 34036 // String returns the string representation. 34037 // 34038 // API parameter values that are decorated as "sensitive" in the API will not 34039 // be included in the string output. The member name will be present, but the 34040 // value will be replaced with "sensitive". 34041 func (s GetSchemaByDefinitionInput) String() string { 34042 return awsutil.Prettify(s) 34043 } 34044 34045 // GoString returns the string representation. 34046 // 34047 // API parameter values that are decorated as "sensitive" in the API will not 34048 // be included in the string output. The member name will be present, but the 34049 // value will be replaced with "sensitive". 34050 func (s GetSchemaByDefinitionInput) GoString() string { 34051 return s.String() 34052 } 34053 34054 // Validate inspects the fields of the type to determine if they are valid. 34055 func (s *GetSchemaByDefinitionInput) Validate() error { 34056 invalidParams := request.ErrInvalidParams{Context: "GetSchemaByDefinitionInput"} 34057 if s.SchemaDefinition == nil { 34058 invalidParams.Add(request.NewErrParamRequired("SchemaDefinition")) 34059 } 34060 if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 { 34061 invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1)) 34062 } 34063 if s.SchemaId == nil { 34064 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 34065 } 34066 if s.SchemaId != nil { 34067 if err := s.SchemaId.Validate(); err != nil { 34068 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 34069 } 34070 } 34071 34072 if invalidParams.Len() > 0 { 34073 return invalidParams 34074 } 34075 return nil 34076 } 34077 34078 // SetSchemaDefinition sets the SchemaDefinition field's value. 34079 func (s *GetSchemaByDefinitionInput) SetSchemaDefinition(v string) *GetSchemaByDefinitionInput { 34080 s.SchemaDefinition = &v 34081 return s 34082 } 34083 34084 // SetSchemaId sets the SchemaId field's value. 34085 func (s *GetSchemaByDefinitionInput) SetSchemaId(v *SchemaId) *GetSchemaByDefinitionInput { 34086 s.SchemaId = v 34087 return s 34088 } 34089 34090 type GetSchemaByDefinitionOutput struct { 34091 _ struct{} `type:"structure"` 34092 34093 // The date and time the schema was created. 34094 CreatedTime *string `type:"string"` 34095 34096 // The data format of the schema definition. Currently only AVRO and JSON are 34097 // supported. 34098 DataFormat *string `type:"string" enum:"DataFormat"` 34099 34100 // The Amazon Resource Name (ARN) of the schema. 34101 SchemaArn *string `min:"1" type:"string"` 34102 34103 // The schema ID of the schema version. 34104 SchemaVersionId *string `min:"36" type:"string"` 34105 34106 // The status of the schema version. 34107 Status *string `type:"string" enum:"SchemaVersionStatus"` 34108 } 34109 34110 // String returns the string representation. 34111 // 34112 // API parameter values that are decorated as "sensitive" in the API will not 34113 // be included in the string output. The member name will be present, but the 34114 // value will be replaced with "sensitive". 34115 func (s GetSchemaByDefinitionOutput) String() string { 34116 return awsutil.Prettify(s) 34117 } 34118 34119 // GoString returns the string representation. 34120 // 34121 // API parameter values that are decorated as "sensitive" in the API will not 34122 // be included in the string output. The member name will be present, but the 34123 // value will be replaced with "sensitive". 34124 func (s GetSchemaByDefinitionOutput) GoString() string { 34125 return s.String() 34126 } 34127 34128 // SetCreatedTime sets the CreatedTime field's value. 34129 func (s *GetSchemaByDefinitionOutput) SetCreatedTime(v string) *GetSchemaByDefinitionOutput { 34130 s.CreatedTime = &v 34131 return s 34132 } 34133 34134 // SetDataFormat sets the DataFormat field's value. 34135 func (s *GetSchemaByDefinitionOutput) SetDataFormat(v string) *GetSchemaByDefinitionOutput { 34136 s.DataFormat = &v 34137 return s 34138 } 34139 34140 // SetSchemaArn sets the SchemaArn field's value. 34141 func (s *GetSchemaByDefinitionOutput) SetSchemaArn(v string) *GetSchemaByDefinitionOutput { 34142 s.SchemaArn = &v 34143 return s 34144 } 34145 34146 // SetSchemaVersionId sets the SchemaVersionId field's value. 34147 func (s *GetSchemaByDefinitionOutput) SetSchemaVersionId(v string) *GetSchemaByDefinitionOutput { 34148 s.SchemaVersionId = &v 34149 return s 34150 } 34151 34152 // SetStatus sets the Status field's value. 34153 func (s *GetSchemaByDefinitionOutput) SetStatus(v string) *GetSchemaByDefinitionOutput { 34154 s.Status = &v 34155 return s 34156 } 34157 34158 type GetSchemaInput struct { 34159 _ struct{} `type:"structure"` 34160 34161 // This is a wrapper structure to contain schema identity fields. The structure 34162 // contains: 34163 // 34164 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either 34165 // SchemaArn or SchemaName and RegistryName has to be provided. 34166 // 34167 // * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName 34168 // and RegistryName has to be provided. 34169 // 34170 // SchemaId is a required field 34171 SchemaId *SchemaId `type:"structure" required:"true"` 34172 } 34173 34174 // String returns the string representation. 34175 // 34176 // API parameter values that are decorated as "sensitive" in the API will not 34177 // be included in the string output. The member name will be present, but the 34178 // value will be replaced with "sensitive". 34179 func (s GetSchemaInput) String() string { 34180 return awsutil.Prettify(s) 34181 } 34182 34183 // GoString returns the string representation. 34184 // 34185 // API parameter values that are decorated as "sensitive" in the API will not 34186 // be included in the string output. The member name will be present, but the 34187 // value will be replaced with "sensitive". 34188 func (s GetSchemaInput) GoString() string { 34189 return s.String() 34190 } 34191 34192 // Validate inspects the fields of the type to determine if they are valid. 34193 func (s *GetSchemaInput) Validate() error { 34194 invalidParams := request.ErrInvalidParams{Context: "GetSchemaInput"} 34195 if s.SchemaId == nil { 34196 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 34197 } 34198 if s.SchemaId != nil { 34199 if err := s.SchemaId.Validate(); err != nil { 34200 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 34201 } 34202 } 34203 34204 if invalidParams.Len() > 0 { 34205 return invalidParams 34206 } 34207 return nil 34208 } 34209 34210 // SetSchemaId sets the SchemaId field's value. 34211 func (s *GetSchemaInput) SetSchemaId(v *SchemaId) *GetSchemaInput { 34212 s.SchemaId = v 34213 return s 34214 } 34215 34216 type GetSchemaOutput struct { 34217 _ struct{} `type:"structure"` 34218 34219 // The compatibility mode of the schema. 34220 Compatibility *string `type:"string" enum:"Compatibility"` 34221 34222 // The date and time the schema was created. 34223 CreatedTime *string `type:"string"` 34224 34225 // The data format of the schema definition. Currently AVRO and JSON are supported. 34226 DataFormat *string `type:"string" enum:"DataFormat"` 34227 34228 // A description of schema if specified when created 34229 Description *string `type:"string"` 34230 34231 // The latest version of the schema associated with the returned schema definition. 34232 LatestSchemaVersion *int64 `min:"1" type:"long"` 34233 34234 // The next version of the schema associated with the returned schema definition. 34235 NextSchemaVersion *int64 `min:"1" type:"long"` 34236 34237 // The Amazon Resource Name (ARN) of the registry. 34238 RegistryArn *string `min:"1" type:"string"` 34239 34240 // The name of the registry. 34241 RegistryName *string `min:"1" type:"string"` 34242 34243 // The Amazon Resource Name (ARN) of the schema. 34244 SchemaArn *string `min:"1" type:"string"` 34245 34246 // The version number of the checkpoint (the last time the compatibility mode 34247 // was changed). 34248 SchemaCheckpoint *int64 `min:"1" type:"long"` 34249 34250 // The name of the schema. 34251 SchemaName *string `min:"1" type:"string"` 34252 34253 // The status of the schema. 34254 SchemaStatus *string `type:"string" enum:"SchemaStatus"` 34255 34256 // The date and time the schema was updated. 34257 UpdatedTime *string `type:"string"` 34258 } 34259 34260 // String returns the string representation. 34261 // 34262 // API parameter values that are decorated as "sensitive" in the API will not 34263 // be included in the string output. The member name will be present, but the 34264 // value will be replaced with "sensitive". 34265 func (s GetSchemaOutput) String() string { 34266 return awsutil.Prettify(s) 34267 } 34268 34269 // GoString returns the string representation. 34270 // 34271 // API parameter values that are decorated as "sensitive" in the API will not 34272 // be included in the string output. The member name will be present, but the 34273 // value will be replaced with "sensitive". 34274 func (s GetSchemaOutput) GoString() string { 34275 return s.String() 34276 } 34277 34278 // SetCompatibility sets the Compatibility field's value. 34279 func (s *GetSchemaOutput) SetCompatibility(v string) *GetSchemaOutput { 34280 s.Compatibility = &v 34281 return s 34282 } 34283 34284 // SetCreatedTime sets the CreatedTime field's value. 34285 func (s *GetSchemaOutput) SetCreatedTime(v string) *GetSchemaOutput { 34286 s.CreatedTime = &v 34287 return s 34288 } 34289 34290 // SetDataFormat sets the DataFormat field's value. 34291 func (s *GetSchemaOutput) SetDataFormat(v string) *GetSchemaOutput { 34292 s.DataFormat = &v 34293 return s 34294 } 34295 34296 // SetDescription sets the Description field's value. 34297 func (s *GetSchemaOutput) SetDescription(v string) *GetSchemaOutput { 34298 s.Description = &v 34299 return s 34300 } 34301 34302 // SetLatestSchemaVersion sets the LatestSchemaVersion field's value. 34303 func (s *GetSchemaOutput) SetLatestSchemaVersion(v int64) *GetSchemaOutput { 34304 s.LatestSchemaVersion = &v 34305 return s 34306 } 34307 34308 // SetNextSchemaVersion sets the NextSchemaVersion field's value. 34309 func (s *GetSchemaOutput) SetNextSchemaVersion(v int64) *GetSchemaOutput { 34310 s.NextSchemaVersion = &v 34311 return s 34312 } 34313 34314 // SetRegistryArn sets the RegistryArn field's value. 34315 func (s *GetSchemaOutput) SetRegistryArn(v string) *GetSchemaOutput { 34316 s.RegistryArn = &v 34317 return s 34318 } 34319 34320 // SetRegistryName sets the RegistryName field's value. 34321 func (s *GetSchemaOutput) SetRegistryName(v string) *GetSchemaOutput { 34322 s.RegistryName = &v 34323 return s 34324 } 34325 34326 // SetSchemaArn sets the SchemaArn field's value. 34327 func (s *GetSchemaOutput) SetSchemaArn(v string) *GetSchemaOutput { 34328 s.SchemaArn = &v 34329 return s 34330 } 34331 34332 // SetSchemaCheckpoint sets the SchemaCheckpoint field's value. 34333 func (s *GetSchemaOutput) SetSchemaCheckpoint(v int64) *GetSchemaOutput { 34334 s.SchemaCheckpoint = &v 34335 return s 34336 } 34337 34338 // SetSchemaName sets the SchemaName field's value. 34339 func (s *GetSchemaOutput) SetSchemaName(v string) *GetSchemaOutput { 34340 s.SchemaName = &v 34341 return s 34342 } 34343 34344 // SetSchemaStatus sets the SchemaStatus field's value. 34345 func (s *GetSchemaOutput) SetSchemaStatus(v string) *GetSchemaOutput { 34346 s.SchemaStatus = &v 34347 return s 34348 } 34349 34350 // SetUpdatedTime sets the UpdatedTime field's value. 34351 func (s *GetSchemaOutput) SetUpdatedTime(v string) *GetSchemaOutput { 34352 s.UpdatedTime = &v 34353 return s 34354 } 34355 34356 type GetSchemaVersionInput struct { 34357 _ struct{} `type:"structure"` 34358 34359 // This is a wrapper structure to contain schema identity fields. The structure 34360 // contains: 34361 // 34362 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either 34363 // SchemaArn or SchemaName and RegistryName has to be provided. 34364 // 34365 // * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName 34366 // and RegistryName has to be provided. 34367 SchemaId *SchemaId `type:"structure"` 34368 34369 // The SchemaVersionId of the schema version. This field is required for fetching 34370 // by schema ID. Either this or the SchemaId wrapper has to be provided. 34371 SchemaVersionId *string `min:"36" type:"string"` 34372 34373 // The version number of the schema. 34374 SchemaVersionNumber *SchemaVersionNumber `type:"structure"` 34375 } 34376 34377 // String returns the string representation. 34378 // 34379 // API parameter values that are decorated as "sensitive" in the API will not 34380 // be included in the string output. The member name will be present, but the 34381 // value will be replaced with "sensitive". 34382 func (s GetSchemaVersionInput) String() string { 34383 return awsutil.Prettify(s) 34384 } 34385 34386 // GoString returns the string representation. 34387 // 34388 // API parameter values that are decorated as "sensitive" in the API will not 34389 // be included in the string output. The member name will be present, but the 34390 // value will be replaced with "sensitive". 34391 func (s GetSchemaVersionInput) GoString() string { 34392 return s.String() 34393 } 34394 34395 // Validate inspects the fields of the type to determine if they are valid. 34396 func (s *GetSchemaVersionInput) Validate() error { 34397 invalidParams := request.ErrInvalidParams{Context: "GetSchemaVersionInput"} 34398 if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 { 34399 invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36)) 34400 } 34401 if s.SchemaId != nil { 34402 if err := s.SchemaId.Validate(); err != nil { 34403 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 34404 } 34405 } 34406 if s.SchemaVersionNumber != nil { 34407 if err := s.SchemaVersionNumber.Validate(); err != nil { 34408 invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams)) 34409 } 34410 } 34411 34412 if invalidParams.Len() > 0 { 34413 return invalidParams 34414 } 34415 return nil 34416 } 34417 34418 // SetSchemaId sets the SchemaId field's value. 34419 func (s *GetSchemaVersionInput) SetSchemaId(v *SchemaId) *GetSchemaVersionInput { 34420 s.SchemaId = v 34421 return s 34422 } 34423 34424 // SetSchemaVersionId sets the SchemaVersionId field's value. 34425 func (s *GetSchemaVersionInput) SetSchemaVersionId(v string) *GetSchemaVersionInput { 34426 s.SchemaVersionId = &v 34427 return s 34428 } 34429 34430 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 34431 func (s *GetSchemaVersionInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionInput { 34432 s.SchemaVersionNumber = v 34433 return s 34434 } 34435 34436 type GetSchemaVersionOutput struct { 34437 _ struct{} `type:"structure"` 34438 34439 // The date and time the schema version was created. 34440 CreatedTime *string `type:"string"` 34441 34442 // The data format of the schema definition. Currently AVRO and JSON are supported. 34443 DataFormat *string `type:"string" enum:"DataFormat"` 34444 34445 // The Amazon Resource Name (ARN) of the schema. 34446 SchemaArn *string `min:"1" type:"string"` 34447 34448 // The schema definition for the schema ID. 34449 SchemaDefinition *string `min:"1" type:"string"` 34450 34451 // The SchemaVersionId of the schema version. 34452 SchemaVersionId *string `min:"36" type:"string"` 34453 34454 // The status of the schema version. 34455 Status *string `type:"string" enum:"SchemaVersionStatus"` 34456 34457 // The version number of the schema. 34458 VersionNumber *int64 `min:"1" type:"long"` 34459 } 34460 34461 // String returns the string representation. 34462 // 34463 // API parameter values that are decorated as "sensitive" in the API will not 34464 // be included in the string output. The member name will be present, but the 34465 // value will be replaced with "sensitive". 34466 func (s GetSchemaVersionOutput) String() string { 34467 return awsutil.Prettify(s) 34468 } 34469 34470 // GoString returns the string representation. 34471 // 34472 // API parameter values that are decorated as "sensitive" in the API will not 34473 // be included in the string output. The member name will be present, but the 34474 // value will be replaced with "sensitive". 34475 func (s GetSchemaVersionOutput) GoString() string { 34476 return s.String() 34477 } 34478 34479 // SetCreatedTime sets the CreatedTime field's value. 34480 func (s *GetSchemaVersionOutput) SetCreatedTime(v string) *GetSchemaVersionOutput { 34481 s.CreatedTime = &v 34482 return s 34483 } 34484 34485 // SetDataFormat sets the DataFormat field's value. 34486 func (s *GetSchemaVersionOutput) SetDataFormat(v string) *GetSchemaVersionOutput { 34487 s.DataFormat = &v 34488 return s 34489 } 34490 34491 // SetSchemaArn sets the SchemaArn field's value. 34492 func (s *GetSchemaVersionOutput) SetSchemaArn(v string) *GetSchemaVersionOutput { 34493 s.SchemaArn = &v 34494 return s 34495 } 34496 34497 // SetSchemaDefinition sets the SchemaDefinition field's value. 34498 func (s *GetSchemaVersionOutput) SetSchemaDefinition(v string) *GetSchemaVersionOutput { 34499 s.SchemaDefinition = &v 34500 return s 34501 } 34502 34503 // SetSchemaVersionId sets the SchemaVersionId field's value. 34504 func (s *GetSchemaVersionOutput) SetSchemaVersionId(v string) *GetSchemaVersionOutput { 34505 s.SchemaVersionId = &v 34506 return s 34507 } 34508 34509 // SetStatus sets the Status field's value. 34510 func (s *GetSchemaVersionOutput) SetStatus(v string) *GetSchemaVersionOutput { 34511 s.Status = &v 34512 return s 34513 } 34514 34515 // SetVersionNumber sets the VersionNumber field's value. 34516 func (s *GetSchemaVersionOutput) SetVersionNumber(v int64) *GetSchemaVersionOutput { 34517 s.VersionNumber = &v 34518 return s 34519 } 34520 34521 type GetSchemaVersionsDiffInput struct { 34522 _ struct{} `type:"structure"` 34523 34524 // The first of the two schema versions to be compared. 34525 // 34526 // FirstSchemaVersionNumber is a required field 34527 FirstSchemaVersionNumber *SchemaVersionNumber `type:"structure" required:"true"` 34528 34529 // Refers to SYNTAX_DIFF, which is the currently supported diff type. 34530 // 34531 // SchemaDiffType is a required field 34532 SchemaDiffType *string `type:"string" required:"true" enum:"SchemaDiffType"` 34533 34534 // This is a wrapper structure to contain schema identity fields. The structure 34535 // contains: 34536 // 34537 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One 34538 // of SchemaArn or SchemaName has to be provided. 34539 // 34540 // * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName 34541 // has to be provided. 34542 // 34543 // SchemaId is a required field 34544 SchemaId *SchemaId `type:"structure" required:"true"` 34545 34546 // The second of the two schema versions to be compared. 34547 // 34548 // SecondSchemaVersionNumber is a required field 34549 SecondSchemaVersionNumber *SchemaVersionNumber `type:"structure" required:"true"` 34550 } 34551 34552 // String returns the string representation. 34553 // 34554 // API parameter values that are decorated as "sensitive" in the API will not 34555 // be included in the string output. The member name will be present, but the 34556 // value will be replaced with "sensitive". 34557 func (s GetSchemaVersionsDiffInput) String() string { 34558 return awsutil.Prettify(s) 34559 } 34560 34561 // GoString returns the string representation. 34562 // 34563 // API parameter values that are decorated as "sensitive" in the API will not 34564 // be included in the string output. The member name will be present, but the 34565 // value will be replaced with "sensitive". 34566 func (s GetSchemaVersionsDiffInput) GoString() string { 34567 return s.String() 34568 } 34569 34570 // Validate inspects the fields of the type to determine if they are valid. 34571 func (s *GetSchemaVersionsDiffInput) Validate() error { 34572 invalidParams := request.ErrInvalidParams{Context: "GetSchemaVersionsDiffInput"} 34573 if s.FirstSchemaVersionNumber == nil { 34574 invalidParams.Add(request.NewErrParamRequired("FirstSchemaVersionNumber")) 34575 } 34576 if s.SchemaDiffType == nil { 34577 invalidParams.Add(request.NewErrParamRequired("SchemaDiffType")) 34578 } 34579 if s.SchemaId == nil { 34580 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 34581 } 34582 if s.SecondSchemaVersionNumber == nil { 34583 invalidParams.Add(request.NewErrParamRequired("SecondSchemaVersionNumber")) 34584 } 34585 if s.FirstSchemaVersionNumber != nil { 34586 if err := s.FirstSchemaVersionNumber.Validate(); err != nil { 34587 invalidParams.AddNested("FirstSchemaVersionNumber", err.(request.ErrInvalidParams)) 34588 } 34589 } 34590 if s.SchemaId != nil { 34591 if err := s.SchemaId.Validate(); err != nil { 34592 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 34593 } 34594 } 34595 if s.SecondSchemaVersionNumber != nil { 34596 if err := s.SecondSchemaVersionNumber.Validate(); err != nil { 34597 invalidParams.AddNested("SecondSchemaVersionNumber", err.(request.ErrInvalidParams)) 34598 } 34599 } 34600 34601 if invalidParams.Len() > 0 { 34602 return invalidParams 34603 } 34604 return nil 34605 } 34606 34607 // SetFirstSchemaVersionNumber sets the FirstSchemaVersionNumber field's value. 34608 func (s *GetSchemaVersionsDiffInput) SetFirstSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionsDiffInput { 34609 s.FirstSchemaVersionNumber = v 34610 return s 34611 } 34612 34613 // SetSchemaDiffType sets the SchemaDiffType field's value. 34614 func (s *GetSchemaVersionsDiffInput) SetSchemaDiffType(v string) *GetSchemaVersionsDiffInput { 34615 s.SchemaDiffType = &v 34616 return s 34617 } 34618 34619 // SetSchemaId sets the SchemaId field's value. 34620 func (s *GetSchemaVersionsDiffInput) SetSchemaId(v *SchemaId) *GetSchemaVersionsDiffInput { 34621 s.SchemaId = v 34622 return s 34623 } 34624 34625 // SetSecondSchemaVersionNumber sets the SecondSchemaVersionNumber field's value. 34626 func (s *GetSchemaVersionsDiffInput) SetSecondSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionsDiffInput { 34627 s.SecondSchemaVersionNumber = v 34628 return s 34629 } 34630 34631 type GetSchemaVersionsDiffOutput struct { 34632 _ struct{} `type:"structure"` 34633 34634 // The difference between schemas as a string in JsonPatch format. 34635 Diff *string `min:"1" type:"string"` 34636 } 34637 34638 // String returns the string representation. 34639 // 34640 // API parameter values that are decorated as "sensitive" in the API will not 34641 // be included in the string output. The member name will be present, but the 34642 // value will be replaced with "sensitive". 34643 func (s GetSchemaVersionsDiffOutput) String() string { 34644 return awsutil.Prettify(s) 34645 } 34646 34647 // GoString returns the string representation. 34648 // 34649 // API parameter values that are decorated as "sensitive" in the API will not 34650 // be included in the string output. The member name will be present, but the 34651 // value will be replaced with "sensitive". 34652 func (s GetSchemaVersionsDiffOutput) GoString() string { 34653 return s.String() 34654 } 34655 34656 // SetDiff sets the Diff field's value. 34657 func (s *GetSchemaVersionsDiffOutput) SetDiff(v string) *GetSchemaVersionsDiffOutput { 34658 s.Diff = &v 34659 return s 34660 } 34661 34662 type GetSecurityConfigurationInput struct { 34663 _ struct{} `type:"structure"` 34664 34665 // The name of the security configuration to retrieve. 34666 // 34667 // Name is a required field 34668 Name *string `min:"1" type:"string" required:"true"` 34669 } 34670 34671 // String returns the string representation. 34672 // 34673 // API parameter values that are decorated as "sensitive" in the API will not 34674 // be included in the string output. The member name will be present, but the 34675 // value will be replaced with "sensitive". 34676 func (s GetSecurityConfigurationInput) String() string { 34677 return awsutil.Prettify(s) 34678 } 34679 34680 // GoString returns the string representation. 34681 // 34682 // API parameter values that are decorated as "sensitive" in the API will not 34683 // be included in the string output. The member name will be present, but the 34684 // value will be replaced with "sensitive". 34685 func (s GetSecurityConfigurationInput) GoString() string { 34686 return s.String() 34687 } 34688 34689 // Validate inspects the fields of the type to determine if they are valid. 34690 func (s *GetSecurityConfigurationInput) Validate() error { 34691 invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationInput"} 34692 if s.Name == nil { 34693 invalidParams.Add(request.NewErrParamRequired("Name")) 34694 } 34695 if s.Name != nil && len(*s.Name) < 1 { 34696 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 34697 } 34698 34699 if invalidParams.Len() > 0 { 34700 return invalidParams 34701 } 34702 return nil 34703 } 34704 34705 // SetName sets the Name field's value. 34706 func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurationInput { 34707 s.Name = &v 34708 return s 34709 } 34710 34711 type GetSecurityConfigurationOutput struct { 34712 _ struct{} `type:"structure"` 34713 34714 // The requested security configuration. 34715 SecurityConfiguration *SecurityConfiguration `type:"structure"` 34716 } 34717 34718 // String returns the string representation. 34719 // 34720 // API parameter values that are decorated as "sensitive" in the API will not 34721 // be included in the string output. The member name will be present, but the 34722 // value will be replaced with "sensitive". 34723 func (s GetSecurityConfigurationOutput) String() string { 34724 return awsutil.Prettify(s) 34725 } 34726 34727 // GoString returns the string representation. 34728 // 34729 // API parameter values that are decorated as "sensitive" in the API will not 34730 // be included in the string output. The member name will be present, but the 34731 // value will be replaced with "sensitive". 34732 func (s GetSecurityConfigurationOutput) GoString() string { 34733 return s.String() 34734 } 34735 34736 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 34737 func (s *GetSecurityConfigurationOutput) SetSecurityConfiguration(v *SecurityConfiguration) *GetSecurityConfigurationOutput { 34738 s.SecurityConfiguration = v 34739 return s 34740 } 34741 34742 type GetSecurityConfigurationsInput struct { 34743 _ struct{} `type:"structure"` 34744 34745 // The maximum number of results to return. 34746 MaxResults *int64 `min:"1" type:"integer"` 34747 34748 // A continuation token, if this is a continuation call. 34749 NextToken *string `type:"string"` 34750 } 34751 34752 // String returns the string representation. 34753 // 34754 // API parameter values that are decorated as "sensitive" in the API will not 34755 // be included in the string output. The member name will be present, but the 34756 // value will be replaced with "sensitive". 34757 func (s GetSecurityConfigurationsInput) String() string { 34758 return awsutil.Prettify(s) 34759 } 34760 34761 // GoString returns the string representation. 34762 // 34763 // API parameter values that are decorated as "sensitive" in the API will not 34764 // be included in the string output. The member name will be present, but the 34765 // value will be replaced with "sensitive". 34766 func (s GetSecurityConfigurationsInput) GoString() string { 34767 return s.String() 34768 } 34769 34770 // Validate inspects the fields of the type to determine if they are valid. 34771 func (s *GetSecurityConfigurationsInput) Validate() error { 34772 invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationsInput"} 34773 if s.MaxResults != nil && *s.MaxResults < 1 { 34774 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 34775 } 34776 34777 if invalidParams.Len() > 0 { 34778 return invalidParams 34779 } 34780 return nil 34781 } 34782 34783 // SetMaxResults sets the MaxResults field's value. 34784 func (s *GetSecurityConfigurationsInput) SetMaxResults(v int64) *GetSecurityConfigurationsInput { 34785 s.MaxResults = &v 34786 return s 34787 } 34788 34789 // SetNextToken sets the NextToken field's value. 34790 func (s *GetSecurityConfigurationsInput) SetNextToken(v string) *GetSecurityConfigurationsInput { 34791 s.NextToken = &v 34792 return s 34793 } 34794 34795 type GetSecurityConfigurationsOutput struct { 34796 _ struct{} `type:"structure"` 34797 34798 // A continuation token, if there are more security configurations to return. 34799 NextToken *string `type:"string"` 34800 34801 // A list of security configurations. 34802 SecurityConfigurations []*SecurityConfiguration `type:"list"` 34803 } 34804 34805 // String returns the string representation. 34806 // 34807 // API parameter values that are decorated as "sensitive" in the API will not 34808 // be included in the string output. The member name will be present, but the 34809 // value will be replaced with "sensitive". 34810 func (s GetSecurityConfigurationsOutput) String() string { 34811 return awsutil.Prettify(s) 34812 } 34813 34814 // GoString returns the string representation. 34815 // 34816 // API parameter values that are decorated as "sensitive" in the API will not 34817 // be included in the string output. The member name will be present, but the 34818 // value will be replaced with "sensitive". 34819 func (s GetSecurityConfigurationsOutput) GoString() string { 34820 return s.String() 34821 } 34822 34823 // SetNextToken sets the NextToken field's value. 34824 func (s *GetSecurityConfigurationsOutput) SetNextToken(v string) *GetSecurityConfigurationsOutput { 34825 s.NextToken = &v 34826 return s 34827 } 34828 34829 // SetSecurityConfigurations sets the SecurityConfigurations field's value. 34830 func (s *GetSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfiguration) *GetSecurityConfigurationsOutput { 34831 s.SecurityConfigurations = v 34832 return s 34833 } 34834 34835 type GetTableInput struct { 34836 _ struct{} `type:"structure"` 34837 34838 // The ID of the Data Catalog where the table resides. If none is provided, 34839 // the Amazon Web Services account ID is used by default. 34840 CatalogId *string `min:"1" type:"string"` 34841 34842 // The name of the database in the catalog in which the table resides. For Hive 34843 // compatibility, this name is entirely lowercase. 34844 // 34845 // DatabaseName is a required field 34846 DatabaseName *string `min:"1" type:"string" required:"true"` 34847 34848 // The name of the table for which to retrieve the definition. For Hive compatibility, 34849 // this name is entirely lowercase. 34850 // 34851 // Name is a required field 34852 Name *string `min:"1" type:"string" required:"true"` 34853 } 34854 34855 // String returns the string representation. 34856 // 34857 // API parameter values that are decorated as "sensitive" in the API will not 34858 // be included in the string output. The member name will be present, but the 34859 // value will be replaced with "sensitive". 34860 func (s GetTableInput) String() string { 34861 return awsutil.Prettify(s) 34862 } 34863 34864 // GoString returns the string representation. 34865 // 34866 // API parameter values that are decorated as "sensitive" in the API will not 34867 // be included in the string output. The member name will be present, but the 34868 // value will be replaced with "sensitive". 34869 func (s GetTableInput) GoString() string { 34870 return s.String() 34871 } 34872 34873 // Validate inspects the fields of the type to determine if they are valid. 34874 func (s *GetTableInput) Validate() error { 34875 invalidParams := request.ErrInvalidParams{Context: "GetTableInput"} 34876 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 34877 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 34878 } 34879 if s.DatabaseName == nil { 34880 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 34881 } 34882 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 34883 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 34884 } 34885 if s.Name == nil { 34886 invalidParams.Add(request.NewErrParamRequired("Name")) 34887 } 34888 if s.Name != nil && len(*s.Name) < 1 { 34889 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 34890 } 34891 34892 if invalidParams.Len() > 0 { 34893 return invalidParams 34894 } 34895 return nil 34896 } 34897 34898 // SetCatalogId sets the CatalogId field's value. 34899 func (s *GetTableInput) SetCatalogId(v string) *GetTableInput { 34900 s.CatalogId = &v 34901 return s 34902 } 34903 34904 // SetDatabaseName sets the DatabaseName field's value. 34905 func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput { 34906 s.DatabaseName = &v 34907 return s 34908 } 34909 34910 // SetName sets the Name field's value. 34911 func (s *GetTableInput) SetName(v string) *GetTableInput { 34912 s.Name = &v 34913 return s 34914 } 34915 34916 type GetTableOutput struct { 34917 _ struct{} `type:"structure"` 34918 34919 // The Table object that defines the specified table. 34920 Table *TableData `type:"structure"` 34921 } 34922 34923 // String returns the string representation. 34924 // 34925 // API parameter values that are decorated as "sensitive" in the API will not 34926 // be included in the string output. The member name will be present, but the 34927 // value will be replaced with "sensitive". 34928 func (s GetTableOutput) String() string { 34929 return awsutil.Prettify(s) 34930 } 34931 34932 // GoString returns the string representation. 34933 // 34934 // API parameter values that are decorated as "sensitive" in the API will not 34935 // be included in the string output. The member name will be present, but the 34936 // value will be replaced with "sensitive". 34937 func (s GetTableOutput) GoString() string { 34938 return s.String() 34939 } 34940 34941 // SetTable sets the Table field's value. 34942 func (s *GetTableOutput) SetTable(v *TableData) *GetTableOutput { 34943 s.Table = v 34944 return s 34945 } 34946 34947 type GetTableVersionInput struct { 34948 _ struct{} `type:"structure"` 34949 34950 // The ID of the Data Catalog where the tables reside. If none is provided, 34951 // the Amazon Web Services account ID is used by default. 34952 CatalogId *string `min:"1" type:"string"` 34953 34954 // The database in the catalog in which the table resides. For Hive compatibility, 34955 // this name is entirely lowercase. 34956 // 34957 // DatabaseName is a required field 34958 DatabaseName *string `min:"1" type:"string" required:"true"` 34959 34960 // The name of the table. For Hive compatibility, this name is entirely lowercase. 34961 // 34962 // TableName is a required field 34963 TableName *string `min:"1" type:"string" required:"true"` 34964 34965 // The ID value of the table version to be retrieved. A VersionID is a string 34966 // representation of an integer. Each version is incremented by 1. 34967 VersionId *string `min:"1" type:"string"` 34968 } 34969 34970 // String returns the string representation. 34971 // 34972 // API parameter values that are decorated as "sensitive" in the API will not 34973 // be included in the string output. The member name will be present, but the 34974 // value will be replaced with "sensitive". 34975 func (s GetTableVersionInput) String() string { 34976 return awsutil.Prettify(s) 34977 } 34978 34979 // GoString returns the string representation. 34980 // 34981 // API parameter values that are decorated as "sensitive" in the API will not 34982 // be included in the string output. The member name will be present, but the 34983 // value will be replaced with "sensitive". 34984 func (s GetTableVersionInput) GoString() string { 34985 return s.String() 34986 } 34987 34988 // Validate inspects the fields of the type to determine if they are valid. 34989 func (s *GetTableVersionInput) Validate() error { 34990 invalidParams := request.ErrInvalidParams{Context: "GetTableVersionInput"} 34991 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 34992 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 34993 } 34994 if s.DatabaseName == nil { 34995 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 34996 } 34997 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 34998 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 34999 } 35000 if s.TableName == nil { 35001 invalidParams.Add(request.NewErrParamRequired("TableName")) 35002 } 35003 if s.TableName != nil && len(*s.TableName) < 1 { 35004 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 35005 } 35006 if s.VersionId != nil && len(*s.VersionId) < 1 { 35007 invalidParams.Add(request.NewErrParamMinLen("VersionId", 1)) 35008 } 35009 35010 if invalidParams.Len() > 0 { 35011 return invalidParams 35012 } 35013 return nil 35014 } 35015 35016 // SetCatalogId sets the CatalogId field's value. 35017 func (s *GetTableVersionInput) SetCatalogId(v string) *GetTableVersionInput { 35018 s.CatalogId = &v 35019 return s 35020 } 35021 35022 // SetDatabaseName sets the DatabaseName field's value. 35023 func (s *GetTableVersionInput) SetDatabaseName(v string) *GetTableVersionInput { 35024 s.DatabaseName = &v 35025 return s 35026 } 35027 35028 // SetTableName sets the TableName field's value. 35029 func (s *GetTableVersionInput) SetTableName(v string) *GetTableVersionInput { 35030 s.TableName = &v 35031 return s 35032 } 35033 35034 // SetVersionId sets the VersionId field's value. 35035 func (s *GetTableVersionInput) SetVersionId(v string) *GetTableVersionInput { 35036 s.VersionId = &v 35037 return s 35038 } 35039 35040 type GetTableVersionOutput struct { 35041 _ struct{} `type:"structure"` 35042 35043 // The requested table version. 35044 TableVersion *TableVersion `type:"structure"` 35045 } 35046 35047 // String returns the string representation. 35048 // 35049 // API parameter values that are decorated as "sensitive" in the API will not 35050 // be included in the string output. The member name will be present, but the 35051 // value will be replaced with "sensitive". 35052 func (s GetTableVersionOutput) String() string { 35053 return awsutil.Prettify(s) 35054 } 35055 35056 // GoString returns the string representation. 35057 // 35058 // API parameter values that are decorated as "sensitive" in the API will not 35059 // be included in the string output. The member name will be present, but the 35060 // value will be replaced with "sensitive". 35061 func (s GetTableVersionOutput) GoString() string { 35062 return s.String() 35063 } 35064 35065 // SetTableVersion sets the TableVersion field's value. 35066 func (s *GetTableVersionOutput) SetTableVersion(v *TableVersion) *GetTableVersionOutput { 35067 s.TableVersion = v 35068 return s 35069 } 35070 35071 type GetTableVersionsInput struct { 35072 _ struct{} `type:"structure"` 35073 35074 // The ID of the Data Catalog where the tables reside. If none is provided, 35075 // the Amazon Web Services account ID is used by default. 35076 CatalogId *string `min:"1" type:"string"` 35077 35078 // The database in the catalog in which the table resides. For Hive compatibility, 35079 // this name is entirely lowercase. 35080 // 35081 // DatabaseName is a required field 35082 DatabaseName *string `min:"1" type:"string" required:"true"` 35083 35084 // The maximum number of table versions to return in one response. 35085 MaxResults *int64 `min:"1" type:"integer"` 35086 35087 // A continuation token, if this is not the first call. 35088 NextToken *string `type:"string"` 35089 35090 // The name of the table. For Hive compatibility, this name is entirely lowercase. 35091 // 35092 // TableName is a required field 35093 TableName *string `min:"1" type:"string" required:"true"` 35094 } 35095 35096 // String returns the string representation. 35097 // 35098 // API parameter values that are decorated as "sensitive" in the API will not 35099 // be included in the string output. The member name will be present, but the 35100 // value will be replaced with "sensitive". 35101 func (s GetTableVersionsInput) String() string { 35102 return awsutil.Prettify(s) 35103 } 35104 35105 // GoString returns the string representation. 35106 // 35107 // API parameter values that are decorated as "sensitive" in the API will not 35108 // be included in the string output. The member name will be present, but the 35109 // value will be replaced with "sensitive". 35110 func (s GetTableVersionsInput) GoString() string { 35111 return s.String() 35112 } 35113 35114 // Validate inspects the fields of the type to determine if they are valid. 35115 func (s *GetTableVersionsInput) Validate() error { 35116 invalidParams := request.ErrInvalidParams{Context: "GetTableVersionsInput"} 35117 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 35118 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 35119 } 35120 if s.DatabaseName == nil { 35121 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 35122 } 35123 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 35124 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 35125 } 35126 if s.MaxResults != nil && *s.MaxResults < 1 { 35127 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 35128 } 35129 if s.TableName == nil { 35130 invalidParams.Add(request.NewErrParamRequired("TableName")) 35131 } 35132 if s.TableName != nil && len(*s.TableName) < 1 { 35133 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 35134 } 35135 35136 if invalidParams.Len() > 0 { 35137 return invalidParams 35138 } 35139 return nil 35140 } 35141 35142 // SetCatalogId sets the CatalogId field's value. 35143 func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput { 35144 s.CatalogId = &v 35145 return s 35146 } 35147 35148 // SetDatabaseName sets the DatabaseName field's value. 35149 func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput { 35150 s.DatabaseName = &v 35151 return s 35152 } 35153 35154 // SetMaxResults sets the MaxResults field's value. 35155 func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput { 35156 s.MaxResults = &v 35157 return s 35158 } 35159 35160 // SetNextToken sets the NextToken field's value. 35161 func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput { 35162 s.NextToken = &v 35163 return s 35164 } 35165 35166 // SetTableName sets the TableName field's value. 35167 func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput { 35168 s.TableName = &v 35169 return s 35170 } 35171 35172 type GetTableVersionsOutput struct { 35173 _ struct{} `type:"structure"` 35174 35175 // A continuation token, if the list of available versions does not include 35176 // the last one. 35177 NextToken *string `type:"string"` 35178 35179 // A list of strings identifying available versions of the specified table. 35180 TableVersions []*TableVersion `type:"list"` 35181 } 35182 35183 // String returns the string representation. 35184 // 35185 // API parameter values that are decorated as "sensitive" in the API will not 35186 // be included in the string output. The member name will be present, but the 35187 // value will be replaced with "sensitive". 35188 func (s GetTableVersionsOutput) String() string { 35189 return awsutil.Prettify(s) 35190 } 35191 35192 // GoString returns the string representation. 35193 // 35194 // API parameter values that are decorated as "sensitive" in the API will not 35195 // be included in the string output. The member name will be present, but the 35196 // value will be replaced with "sensitive". 35197 func (s GetTableVersionsOutput) GoString() string { 35198 return s.String() 35199 } 35200 35201 // SetNextToken sets the NextToken field's value. 35202 func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput { 35203 s.NextToken = &v 35204 return s 35205 } 35206 35207 // SetTableVersions sets the TableVersions field's value. 35208 func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVersionsOutput { 35209 s.TableVersions = v 35210 return s 35211 } 35212 35213 type GetTablesInput struct { 35214 _ struct{} `type:"structure"` 35215 35216 // The ID of the Data Catalog where the tables reside. If none is provided, 35217 // the Amazon Web Services account ID is used by default. 35218 CatalogId *string `min:"1" type:"string"` 35219 35220 // The database in the catalog whose tables to list. For Hive compatibility, 35221 // this name is entirely lowercase. 35222 // 35223 // DatabaseName is a required field 35224 DatabaseName *string `min:"1" type:"string" required:"true"` 35225 35226 // A regular expression pattern. If present, only those tables whose names match 35227 // the pattern are returned. 35228 Expression *string `type:"string"` 35229 35230 // The maximum number of tables to return in a single response. 35231 MaxResults *int64 `min:"1" type:"integer"` 35232 35233 // A continuation token, included if this is a continuation call. 35234 NextToken *string `type:"string"` 35235 } 35236 35237 // String returns the string representation. 35238 // 35239 // API parameter values that are decorated as "sensitive" in the API will not 35240 // be included in the string output. The member name will be present, but the 35241 // value will be replaced with "sensitive". 35242 func (s GetTablesInput) String() string { 35243 return awsutil.Prettify(s) 35244 } 35245 35246 // GoString returns the string representation. 35247 // 35248 // API parameter values that are decorated as "sensitive" in the API will not 35249 // be included in the string output. The member name will be present, but the 35250 // value will be replaced with "sensitive". 35251 func (s GetTablesInput) GoString() string { 35252 return s.String() 35253 } 35254 35255 // Validate inspects the fields of the type to determine if they are valid. 35256 func (s *GetTablesInput) Validate() error { 35257 invalidParams := request.ErrInvalidParams{Context: "GetTablesInput"} 35258 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 35259 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 35260 } 35261 if s.DatabaseName == nil { 35262 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 35263 } 35264 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 35265 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 35266 } 35267 if s.MaxResults != nil && *s.MaxResults < 1 { 35268 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 35269 } 35270 35271 if invalidParams.Len() > 0 { 35272 return invalidParams 35273 } 35274 return nil 35275 } 35276 35277 // SetCatalogId sets the CatalogId field's value. 35278 func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput { 35279 s.CatalogId = &v 35280 return s 35281 } 35282 35283 // SetDatabaseName sets the DatabaseName field's value. 35284 func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput { 35285 s.DatabaseName = &v 35286 return s 35287 } 35288 35289 // SetExpression sets the Expression field's value. 35290 func (s *GetTablesInput) SetExpression(v string) *GetTablesInput { 35291 s.Expression = &v 35292 return s 35293 } 35294 35295 // SetMaxResults sets the MaxResults field's value. 35296 func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput { 35297 s.MaxResults = &v 35298 return s 35299 } 35300 35301 // SetNextToken sets the NextToken field's value. 35302 func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput { 35303 s.NextToken = &v 35304 return s 35305 } 35306 35307 type GetTablesOutput struct { 35308 _ struct{} `type:"structure"` 35309 35310 // A continuation token, present if the current list segment is not the last. 35311 NextToken *string `type:"string"` 35312 35313 // A list of the requested Table objects. 35314 TableList []*TableData `type:"list"` 35315 } 35316 35317 // String returns the string representation. 35318 // 35319 // API parameter values that are decorated as "sensitive" in the API will not 35320 // be included in the string output. The member name will be present, but the 35321 // value will be replaced with "sensitive". 35322 func (s GetTablesOutput) String() string { 35323 return awsutil.Prettify(s) 35324 } 35325 35326 // GoString returns the string representation. 35327 // 35328 // API parameter values that are decorated as "sensitive" in the API will not 35329 // be included in the string output. The member name will be present, but the 35330 // value will be replaced with "sensitive". 35331 func (s GetTablesOutput) GoString() string { 35332 return s.String() 35333 } 35334 35335 // SetNextToken sets the NextToken field's value. 35336 func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput { 35337 s.NextToken = &v 35338 return s 35339 } 35340 35341 // SetTableList sets the TableList field's value. 35342 func (s *GetTablesOutput) SetTableList(v []*TableData) *GetTablesOutput { 35343 s.TableList = v 35344 return s 35345 } 35346 35347 type GetTagsInput struct { 35348 _ struct{} `type:"structure"` 35349 35350 // The Amazon Resource Name (ARN) of the resource for which to retrieve tags. 35351 // 35352 // ResourceArn is a required field 35353 ResourceArn *string `min:"1" type:"string" required:"true"` 35354 } 35355 35356 // String returns the string representation. 35357 // 35358 // API parameter values that are decorated as "sensitive" in the API will not 35359 // be included in the string output. The member name will be present, but the 35360 // value will be replaced with "sensitive". 35361 func (s GetTagsInput) String() string { 35362 return awsutil.Prettify(s) 35363 } 35364 35365 // GoString returns the string representation. 35366 // 35367 // API parameter values that are decorated as "sensitive" in the API will not 35368 // be included in the string output. The member name will be present, but the 35369 // value will be replaced with "sensitive". 35370 func (s GetTagsInput) GoString() string { 35371 return s.String() 35372 } 35373 35374 // Validate inspects the fields of the type to determine if they are valid. 35375 func (s *GetTagsInput) Validate() error { 35376 invalidParams := request.ErrInvalidParams{Context: "GetTagsInput"} 35377 if s.ResourceArn == nil { 35378 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 35379 } 35380 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 35381 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 35382 } 35383 35384 if invalidParams.Len() > 0 { 35385 return invalidParams 35386 } 35387 return nil 35388 } 35389 35390 // SetResourceArn sets the ResourceArn field's value. 35391 func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput { 35392 s.ResourceArn = &v 35393 return s 35394 } 35395 35396 type GetTagsOutput struct { 35397 _ struct{} `type:"structure"` 35398 35399 // The requested tags. 35400 Tags map[string]*string `type:"map"` 35401 } 35402 35403 // String returns the string representation. 35404 // 35405 // API parameter values that are decorated as "sensitive" in the API will not 35406 // be included in the string output. The member name will be present, but the 35407 // value will be replaced with "sensitive". 35408 func (s GetTagsOutput) String() string { 35409 return awsutil.Prettify(s) 35410 } 35411 35412 // GoString returns the string representation. 35413 // 35414 // API parameter values that are decorated as "sensitive" in the API will not 35415 // be included in the string output. The member name will be present, but the 35416 // value will be replaced with "sensitive". 35417 func (s GetTagsOutput) GoString() string { 35418 return s.String() 35419 } 35420 35421 // SetTags sets the Tags field's value. 35422 func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput { 35423 s.Tags = v 35424 return s 35425 } 35426 35427 type GetTriggerInput struct { 35428 _ struct{} `type:"structure"` 35429 35430 // The name of the trigger to retrieve. 35431 // 35432 // Name is a required field 35433 Name *string `min:"1" type:"string" required:"true"` 35434 } 35435 35436 // String returns the string representation. 35437 // 35438 // API parameter values that are decorated as "sensitive" in the API will not 35439 // be included in the string output. The member name will be present, but the 35440 // value will be replaced with "sensitive". 35441 func (s GetTriggerInput) String() string { 35442 return awsutil.Prettify(s) 35443 } 35444 35445 // GoString returns the string representation. 35446 // 35447 // API parameter values that are decorated as "sensitive" in the API will not 35448 // be included in the string output. The member name will be present, but the 35449 // value will be replaced with "sensitive". 35450 func (s GetTriggerInput) GoString() string { 35451 return s.String() 35452 } 35453 35454 // Validate inspects the fields of the type to determine if they are valid. 35455 func (s *GetTriggerInput) Validate() error { 35456 invalidParams := request.ErrInvalidParams{Context: "GetTriggerInput"} 35457 if s.Name == nil { 35458 invalidParams.Add(request.NewErrParamRequired("Name")) 35459 } 35460 if s.Name != nil && len(*s.Name) < 1 { 35461 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 35462 } 35463 35464 if invalidParams.Len() > 0 { 35465 return invalidParams 35466 } 35467 return nil 35468 } 35469 35470 // SetName sets the Name field's value. 35471 func (s *GetTriggerInput) SetName(v string) *GetTriggerInput { 35472 s.Name = &v 35473 return s 35474 } 35475 35476 type GetTriggerOutput struct { 35477 _ struct{} `type:"structure"` 35478 35479 // The requested trigger definition. 35480 Trigger *Trigger `type:"structure"` 35481 } 35482 35483 // String returns the string representation. 35484 // 35485 // API parameter values that are decorated as "sensitive" in the API will not 35486 // be included in the string output. The member name will be present, but the 35487 // value will be replaced with "sensitive". 35488 func (s GetTriggerOutput) String() string { 35489 return awsutil.Prettify(s) 35490 } 35491 35492 // GoString returns the string representation. 35493 // 35494 // API parameter values that are decorated as "sensitive" in the API will not 35495 // be included in the string output. The member name will be present, but the 35496 // value will be replaced with "sensitive". 35497 func (s GetTriggerOutput) GoString() string { 35498 return s.String() 35499 } 35500 35501 // SetTrigger sets the Trigger field's value. 35502 func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput { 35503 s.Trigger = v 35504 return s 35505 } 35506 35507 type GetTriggersInput struct { 35508 _ struct{} `type:"structure"` 35509 35510 // The name of the job to retrieve triggers for. The trigger that can start 35511 // this job is returned, and if there is no such trigger, all triggers are returned. 35512 DependentJobName *string `min:"1" type:"string"` 35513 35514 // The maximum size of the response. 35515 MaxResults *int64 `min:"1" type:"integer"` 35516 35517 // A continuation token, if this is a continuation call. 35518 NextToken *string `type:"string"` 35519 } 35520 35521 // String returns the string representation. 35522 // 35523 // API parameter values that are decorated as "sensitive" in the API will not 35524 // be included in the string output. The member name will be present, but the 35525 // value will be replaced with "sensitive". 35526 func (s GetTriggersInput) String() string { 35527 return awsutil.Prettify(s) 35528 } 35529 35530 // GoString returns the string representation. 35531 // 35532 // API parameter values that are decorated as "sensitive" in the API will not 35533 // be included in the string output. The member name will be present, but the 35534 // value will be replaced with "sensitive". 35535 func (s GetTriggersInput) GoString() string { 35536 return s.String() 35537 } 35538 35539 // Validate inspects the fields of the type to determine if they are valid. 35540 func (s *GetTriggersInput) Validate() error { 35541 invalidParams := request.ErrInvalidParams{Context: "GetTriggersInput"} 35542 if s.DependentJobName != nil && len(*s.DependentJobName) < 1 { 35543 invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1)) 35544 } 35545 if s.MaxResults != nil && *s.MaxResults < 1 { 35546 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 35547 } 35548 35549 if invalidParams.Len() > 0 { 35550 return invalidParams 35551 } 35552 return nil 35553 } 35554 35555 // SetDependentJobName sets the DependentJobName field's value. 35556 func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput { 35557 s.DependentJobName = &v 35558 return s 35559 } 35560 35561 // SetMaxResults sets the MaxResults field's value. 35562 func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput { 35563 s.MaxResults = &v 35564 return s 35565 } 35566 35567 // SetNextToken sets the NextToken field's value. 35568 func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput { 35569 s.NextToken = &v 35570 return s 35571 } 35572 35573 type GetTriggersOutput struct { 35574 _ struct{} `type:"structure"` 35575 35576 // A continuation token, if not all the requested triggers have yet been returned. 35577 NextToken *string `type:"string"` 35578 35579 // A list of triggers for the specified job. 35580 Triggers []*Trigger `type:"list"` 35581 } 35582 35583 // String returns the string representation. 35584 // 35585 // API parameter values that are decorated as "sensitive" in the API will not 35586 // be included in the string output. The member name will be present, but the 35587 // value will be replaced with "sensitive". 35588 func (s GetTriggersOutput) String() string { 35589 return awsutil.Prettify(s) 35590 } 35591 35592 // GoString returns the string representation. 35593 // 35594 // API parameter values that are decorated as "sensitive" in the API will not 35595 // be included in the string output. The member name will be present, but the 35596 // value will be replaced with "sensitive". 35597 func (s GetTriggersOutput) GoString() string { 35598 return s.String() 35599 } 35600 35601 // SetNextToken sets the NextToken field's value. 35602 func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput { 35603 s.NextToken = &v 35604 return s 35605 } 35606 35607 // SetTriggers sets the Triggers field's value. 35608 func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput { 35609 s.Triggers = v 35610 return s 35611 } 35612 35613 type GetUserDefinedFunctionInput struct { 35614 _ struct{} `type:"structure"` 35615 35616 // The ID of the Data Catalog where the function to be retrieved is located. 35617 // If none is provided, the Amazon Web Services account ID is used by default. 35618 CatalogId *string `min:"1" type:"string"` 35619 35620 // The name of the catalog database where the function is located. 35621 // 35622 // DatabaseName is a required field 35623 DatabaseName *string `min:"1" type:"string" required:"true"` 35624 35625 // The name of the function. 35626 // 35627 // FunctionName is a required field 35628 FunctionName *string `min:"1" type:"string" required:"true"` 35629 } 35630 35631 // String returns the string representation. 35632 // 35633 // API parameter values that are decorated as "sensitive" in the API will not 35634 // be included in the string output. The member name will be present, but the 35635 // value will be replaced with "sensitive". 35636 func (s GetUserDefinedFunctionInput) String() string { 35637 return awsutil.Prettify(s) 35638 } 35639 35640 // GoString returns the string representation. 35641 // 35642 // API parameter values that are decorated as "sensitive" in the API will not 35643 // be included in the string output. The member name will be present, but the 35644 // value will be replaced with "sensitive". 35645 func (s GetUserDefinedFunctionInput) GoString() string { 35646 return s.String() 35647 } 35648 35649 // Validate inspects the fields of the type to determine if they are valid. 35650 func (s *GetUserDefinedFunctionInput) Validate() error { 35651 invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionInput"} 35652 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 35653 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 35654 } 35655 if s.DatabaseName == nil { 35656 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 35657 } 35658 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 35659 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 35660 } 35661 if s.FunctionName == nil { 35662 invalidParams.Add(request.NewErrParamRequired("FunctionName")) 35663 } 35664 if s.FunctionName != nil && len(*s.FunctionName) < 1 { 35665 invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) 35666 } 35667 35668 if invalidParams.Len() > 0 { 35669 return invalidParams 35670 } 35671 return nil 35672 } 35673 35674 // SetCatalogId sets the CatalogId field's value. 35675 func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput { 35676 s.CatalogId = &v 35677 return s 35678 } 35679 35680 // SetDatabaseName sets the DatabaseName field's value. 35681 func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput { 35682 s.DatabaseName = &v 35683 return s 35684 } 35685 35686 // SetFunctionName sets the FunctionName field's value. 35687 func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput { 35688 s.FunctionName = &v 35689 return s 35690 } 35691 35692 type GetUserDefinedFunctionOutput struct { 35693 _ struct{} `type:"structure"` 35694 35695 // The requested function definition. 35696 UserDefinedFunction *UserDefinedFunction `type:"structure"` 35697 } 35698 35699 // String returns the string representation. 35700 // 35701 // API parameter values that are decorated as "sensitive" in the API will not 35702 // be included in the string output. The member name will be present, but the 35703 // value will be replaced with "sensitive". 35704 func (s GetUserDefinedFunctionOutput) String() string { 35705 return awsutil.Prettify(s) 35706 } 35707 35708 // GoString returns the string representation. 35709 // 35710 // API parameter values that are decorated as "sensitive" in the API will not 35711 // be included in the string output. The member name will be present, but the 35712 // value will be replaced with "sensitive". 35713 func (s GetUserDefinedFunctionOutput) GoString() string { 35714 return s.String() 35715 } 35716 35717 // SetUserDefinedFunction sets the UserDefinedFunction field's value. 35718 func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput { 35719 s.UserDefinedFunction = v 35720 return s 35721 } 35722 35723 type GetUserDefinedFunctionsInput struct { 35724 _ struct{} `type:"structure"` 35725 35726 // The ID of the Data Catalog where the functions to be retrieved are located. 35727 // If none is provided, the Amazon Web Services account ID is used by default. 35728 CatalogId *string `min:"1" type:"string"` 35729 35730 // The name of the catalog database where the functions are located. If none 35731 // is provided, functions from all the databases across the catalog will be 35732 // returned. 35733 DatabaseName *string `min:"1" type:"string"` 35734 35735 // The maximum number of functions to return in one response. 35736 MaxResults *int64 `min:"1" type:"integer"` 35737 35738 // A continuation token, if this is a continuation call. 35739 NextToken *string `type:"string"` 35740 35741 // An optional function-name pattern string that filters the function definitions 35742 // returned. 35743 // 35744 // Pattern is a required field 35745 Pattern *string `min:"1" type:"string" required:"true"` 35746 } 35747 35748 // String returns the string representation. 35749 // 35750 // API parameter values that are decorated as "sensitive" in the API will not 35751 // be included in the string output. The member name will be present, but the 35752 // value will be replaced with "sensitive". 35753 func (s GetUserDefinedFunctionsInput) String() string { 35754 return awsutil.Prettify(s) 35755 } 35756 35757 // GoString returns the string representation. 35758 // 35759 // API parameter values that are decorated as "sensitive" in the API will not 35760 // be included in the string output. The member name will be present, but the 35761 // value will be replaced with "sensitive". 35762 func (s GetUserDefinedFunctionsInput) GoString() string { 35763 return s.String() 35764 } 35765 35766 // Validate inspects the fields of the type to determine if they are valid. 35767 func (s *GetUserDefinedFunctionsInput) Validate() error { 35768 invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionsInput"} 35769 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 35770 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 35771 } 35772 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 35773 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 35774 } 35775 if s.MaxResults != nil && *s.MaxResults < 1 { 35776 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 35777 } 35778 if s.Pattern == nil { 35779 invalidParams.Add(request.NewErrParamRequired("Pattern")) 35780 } 35781 if s.Pattern != nil && len(*s.Pattern) < 1 { 35782 invalidParams.Add(request.NewErrParamMinLen("Pattern", 1)) 35783 } 35784 35785 if invalidParams.Len() > 0 { 35786 return invalidParams 35787 } 35788 return nil 35789 } 35790 35791 // SetCatalogId sets the CatalogId field's value. 35792 func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput { 35793 s.CatalogId = &v 35794 return s 35795 } 35796 35797 // SetDatabaseName sets the DatabaseName field's value. 35798 func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput { 35799 s.DatabaseName = &v 35800 return s 35801 } 35802 35803 // SetMaxResults sets the MaxResults field's value. 35804 func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput { 35805 s.MaxResults = &v 35806 return s 35807 } 35808 35809 // SetNextToken sets the NextToken field's value. 35810 func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput { 35811 s.NextToken = &v 35812 return s 35813 } 35814 35815 // SetPattern sets the Pattern field's value. 35816 func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput { 35817 s.Pattern = &v 35818 return s 35819 } 35820 35821 type GetUserDefinedFunctionsOutput struct { 35822 _ struct{} `type:"structure"` 35823 35824 // A continuation token, if the list of functions returned does not include 35825 // the last requested function. 35826 NextToken *string `type:"string"` 35827 35828 // A list of requested function definitions. 35829 UserDefinedFunctions []*UserDefinedFunction `type:"list"` 35830 } 35831 35832 // String returns the string representation. 35833 // 35834 // API parameter values that are decorated as "sensitive" in the API will not 35835 // be included in the string output. The member name will be present, but the 35836 // value will be replaced with "sensitive". 35837 func (s GetUserDefinedFunctionsOutput) String() string { 35838 return awsutil.Prettify(s) 35839 } 35840 35841 // GoString returns the string representation. 35842 // 35843 // API parameter values that are decorated as "sensitive" in the API will not 35844 // be included in the string output. The member name will be present, but the 35845 // value will be replaced with "sensitive". 35846 func (s GetUserDefinedFunctionsOutput) GoString() string { 35847 return s.String() 35848 } 35849 35850 // SetNextToken sets the NextToken field's value. 35851 func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput { 35852 s.NextToken = &v 35853 return s 35854 } 35855 35856 // SetUserDefinedFunctions sets the UserDefinedFunctions field's value. 35857 func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefinedFunction) *GetUserDefinedFunctionsOutput { 35858 s.UserDefinedFunctions = v 35859 return s 35860 } 35861 35862 type GetWorkflowInput struct { 35863 _ struct{} `type:"structure"` 35864 35865 // Specifies whether to include a graph when returning the workflow resource 35866 // metadata. 35867 IncludeGraph *bool `type:"boolean"` 35868 35869 // The name of the workflow to retrieve. 35870 // 35871 // Name is a required field 35872 Name *string `min:"1" type:"string" required:"true"` 35873 } 35874 35875 // String returns the string representation. 35876 // 35877 // API parameter values that are decorated as "sensitive" in the API will not 35878 // be included in the string output. The member name will be present, but the 35879 // value will be replaced with "sensitive". 35880 func (s GetWorkflowInput) String() string { 35881 return awsutil.Prettify(s) 35882 } 35883 35884 // GoString returns the string representation. 35885 // 35886 // API parameter values that are decorated as "sensitive" in the API will not 35887 // be included in the string output. The member name will be present, but the 35888 // value will be replaced with "sensitive". 35889 func (s GetWorkflowInput) GoString() string { 35890 return s.String() 35891 } 35892 35893 // Validate inspects the fields of the type to determine if they are valid. 35894 func (s *GetWorkflowInput) Validate() error { 35895 invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"} 35896 if s.Name == nil { 35897 invalidParams.Add(request.NewErrParamRequired("Name")) 35898 } 35899 if s.Name != nil && len(*s.Name) < 1 { 35900 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 35901 } 35902 35903 if invalidParams.Len() > 0 { 35904 return invalidParams 35905 } 35906 return nil 35907 } 35908 35909 // SetIncludeGraph sets the IncludeGraph field's value. 35910 func (s *GetWorkflowInput) SetIncludeGraph(v bool) *GetWorkflowInput { 35911 s.IncludeGraph = &v 35912 return s 35913 } 35914 35915 // SetName sets the Name field's value. 35916 func (s *GetWorkflowInput) SetName(v string) *GetWorkflowInput { 35917 s.Name = &v 35918 return s 35919 } 35920 35921 type GetWorkflowOutput struct { 35922 _ struct{} `type:"structure"` 35923 35924 // The resource metadata for the workflow. 35925 Workflow *Workflow `type:"structure"` 35926 } 35927 35928 // String returns the string representation. 35929 // 35930 // API parameter values that are decorated as "sensitive" in the API will not 35931 // be included in the string output. The member name will be present, but the 35932 // value will be replaced with "sensitive". 35933 func (s GetWorkflowOutput) String() string { 35934 return awsutil.Prettify(s) 35935 } 35936 35937 // GoString returns the string representation. 35938 // 35939 // API parameter values that are decorated as "sensitive" in the API will not 35940 // be included in the string output. The member name will be present, but the 35941 // value will be replaced with "sensitive". 35942 func (s GetWorkflowOutput) GoString() string { 35943 return s.String() 35944 } 35945 35946 // SetWorkflow sets the Workflow field's value. 35947 func (s *GetWorkflowOutput) SetWorkflow(v *Workflow) *GetWorkflowOutput { 35948 s.Workflow = v 35949 return s 35950 } 35951 35952 type GetWorkflowRunInput struct { 35953 _ struct{} `type:"structure"` 35954 35955 // Specifies whether to include the workflow graph in response or not. 35956 IncludeGraph *bool `type:"boolean"` 35957 35958 // Name of the workflow being run. 35959 // 35960 // Name is a required field 35961 Name *string `min:"1" type:"string" required:"true"` 35962 35963 // The ID of the workflow run. 35964 // 35965 // RunId is a required field 35966 RunId *string `min:"1" type:"string" required:"true"` 35967 } 35968 35969 // String returns the string representation. 35970 // 35971 // API parameter values that are decorated as "sensitive" in the API will not 35972 // be included in the string output. The member name will be present, but the 35973 // value will be replaced with "sensitive". 35974 func (s GetWorkflowRunInput) String() string { 35975 return awsutil.Prettify(s) 35976 } 35977 35978 // GoString returns the string representation. 35979 // 35980 // API parameter values that are decorated as "sensitive" in the API will not 35981 // be included in the string output. The member name will be present, but the 35982 // value will be replaced with "sensitive". 35983 func (s GetWorkflowRunInput) GoString() string { 35984 return s.String() 35985 } 35986 35987 // Validate inspects the fields of the type to determine if they are valid. 35988 func (s *GetWorkflowRunInput) Validate() error { 35989 invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunInput"} 35990 if s.Name == nil { 35991 invalidParams.Add(request.NewErrParamRequired("Name")) 35992 } 35993 if s.Name != nil && len(*s.Name) < 1 { 35994 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 35995 } 35996 if s.RunId == nil { 35997 invalidParams.Add(request.NewErrParamRequired("RunId")) 35998 } 35999 if s.RunId != nil && len(*s.RunId) < 1 { 36000 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 36001 } 36002 36003 if invalidParams.Len() > 0 { 36004 return invalidParams 36005 } 36006 return nil 36007 } 36008 36009 // SetIncludeGraph sets the IncludeGraph field's value. 36010 func (s *GetWorkflowRunInput) SetIncludeGraph(v bool) *GetWorkflowRunInput { 36011 s.IncludeGraph = &v 36012 return s 36013 } 36014 36015 // SetName sets the Name field's value. 36016 func (s *GetWorkflowRunInput) SetName(v string) *GetWorkflowRunInput { 36017 s.Name = &v 36018 return s 36019 } 36020 36021 // SetRunId sets the RunId field's value. 36022 func (s *GetWorkflowRunInput) SetRunId(v string) *GetWorkflowRunInput { 36023 s.RunId = &v 36024 return s 36025 } 36026 36027 type GetWorkflowRunOutput struct { 36028 _ struct{} `type:"structure"` 36029 36030 // The requested workflow run metadata. 36031 Run *WorkflowRun `type:"structure"` 36032 } 36033 36034 // String returns the string representation. 36035 // 36036 // API parameter values that are decorated as "sensitive" in the API will not 36037 // be included in the string output. The member name will be present, but the 36038 // value will be replaced with "sensitive". 36039 func (s GetWorkflowRunOutput) String() string { 36040 return awsutil.Prettify(s) 36041 } 36042 36043 // GoString returns the string representation. 36044 // 36045 // API parameter values that are decorated as "sensitive" in the API will not 36046 // be included in the string output. The member name will be present, but the 36047 // value will be replaced with "sensitive". 36048 func (s GetWorkflowRunOutput) GoString() string { 36049 return s.String() 36050 } 36051 36052 // SetRun sets the Run field's value. 36053 func (s *GetWorkflowRunOutput) SetRun(v *WorkflowRun) *GetWorkflowRunOutput { 36054 s.Run = v 36055 return s 36056 } 36057 36058 type GetWorkflowRunPropertiesInput struct { 36059 _ struct{} `type:"structure"` 36060 36061 // Name of the workflow which was run. 36062 // 36063 // Name is a required field 36064 Name *string `min:"1" type:"string" required:"true"` 36065 36066 // The ID of the workflow run whose run properties should be returned. 36067 // 36068 // RunId is a required field 36069 RunId *string `min:"1" type:"string" required:"true"` 36070 } 36071 36072 // String returns the string representation. 36073 // 36074 // API parameter values that are decorated as "sensitive" in the API will not 36075 // be included in the string output. The member name will be present, but the 36076 // value will be replaced with "sensitive". 36077 func (s GetWorkflowRunPropertiesInput) String() string { 36078 return awsutil.Prettify(s) 36079 } 36080 36081 // GoString returns the string representation. 36082 // 36083 // API parameter values that are decorated as "sensitive" in the API will not 36084 // be included in the string output. The member name will be present, but the 36085 // value will be replaced with "sensitive". 36086 func (s GetWorkflowRunPropertiesInput) GoString() string { 36087 return s.String() 36088 } 36089 36090 // Validate inspects the fields of the type to determine if they are valid. 36091 func (s *GetWorkflowRunPropertiesInput) Validate() error { 36092 invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunPropertiesInput"} 36093 if s.Name == nil { 36094 invalidParams.Add(request.NewErrParamRequired("Name")) 36095 } 36096 if s.Name != nil && len(*s.Name) < 1 { 36097 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 36098 } 36099 if s.RunId == nil { 36100 invalidParams.Add(request.NewErrParamRequired("RunId")) 36101 } 36102 if s.RunId != nil && len(*s.RunId) < 1 { 36103 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 36104 } 36105 36106 if invalidParams.Len() > 0 { 36107 return invalidParams 36108 } 36109 return nil 36110 } 36111 36112 // SetName sets the Name field's value. 36113 func (s *GetWorkflowRunPropertiesInput) SetName(v string) *GetWorkflowRunPropertiesInput { 36114 s.Name = &v 36115 return s 36116 } 36117 36118 // SetRunId sets the RunId field's value. 36119 func (s *GetWorkflowRunPropertiesInput) SetRunId(v string) *GetWorkflowRunPropertiesInput { 36120 s.RunId = &v 36121 return s 36122 } 36123 36124 type GetWorkflowRunPropertiesOutput struct { 36125 _ struct{} `type:"structure"` 36126 36127 // The workflow run properties which were set during the specified run. 36128 RunProperties map[string]*string `type:"map"` 36129 } 36130 36131 // String returns the string representation. 36132 // 36133 // API parameter values that are decorated as "sensitive" in the API will not 36134 // be included in the string output. The member name will be present, but the 36135 // value will be replaced with "sensitive". 36136 func (s GetWorkflowRunPropertiesOutput) String() string { 36137 return awsutil.Prettify(s) 36138 } 36139 36140 // GoString returns the string representation. 36141 // 36142 // API parameter values that are decorated as "sensitive" in the API will not 36143 // be included in the string output. The member name will be present, but the 36144 // value will be replaced with "sensitive". 36145 func (s GetWorkflowRunPropertiesOutput) GoString() string { 36146 return s.String() 36147 } 36148 36149 // SetRunProperties sets the RunProperties field's value. 36150 func (s *GetWorkflowRunPropertiesOutput) SetRunProperties(v map[string]*string) *GetWorkflowRunPropertiesOutput { 36151 s.RunProperties = v 36152 return s 36153 } 36154 36155 type GetWorkflowRunsInput struct { 36156 _ struct{} `type:"structure"` 36157 36158 // Specifies whether to include the workflow graph in response or not. 36159 IncludeGraph *bool `type:"boolean"` 36160 36161 // The maximum number of workflow runs to be included in the response. 36162 MaxResults *int64 `min:"1" type:"integer"` 36163 36164 // Name of the workflow whose metadata of runs should be returned. 36165 // 36166 // Name is a required field 36167 Name *string `min:"1" type:"string" required:"true"` 36168 36169 // The maximum size of the response. 36170 NextToken *string `type:"string"` 36171 } 36172 36173 // String returns the string representation. 36174 // 36175 // API parameter values that are decorated as "sensitive" in the API will not 36176 // be included in the string output. The member name will be present, but the 36177 // value will be replaced with "sensitive". 36178 func (s GetWorkflowRunsInput) String() string { 36179 return awsutil.Prettify(s) 36180 } 36181 36182 // GoString returns the string representation. 36183 // 36184 // API parameter values that are decorated as "sensitive" in the API will not 36185 // be included in the string output. The member name will be present, but the 36186 // value will be replaced with "sensitive". 36187 func (s GetWorkflowRunsInput) GoString() string { 36188 return s.String() 36189 } 36190 36191 // Validate inspects the fields of the type to determine if they are valid. 36192 func (s *GetWorkflowRunsInput) Validate() error { 36193 invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunsInput"} 36194 if s.MaxResults != nil && *s.MaxResults < 1 { 36195 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 36196 } 36197 if s.Name == nil { 36198 invalidParams.Add(request.NewErrParamRequired("Name")) 36199 } 36200 if s.Name != nil && len(*s.Name) < 1 { 36201 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 36202 } 36203 36204 if invalidParams.Len() > 0 { 36205 return invalidParams 36206 } 36207 return nil 36208 } 36209 36210 // SetIncludeGraph sets the IncludeGraph field's value. 36211 func (s *GetWorkflowRunsInput) SetIncludeGraph(v bool) *GetWorkflowRunsInput { 36212 s.IncludeGraph = &v 36213 return s 36214 } 36215 36216 // SetMaxResults sets the MaxResults field's value. 36217 func (s *GetWorkflowRunsInput) SetMaxResults(v int64) *GetWorkflowRunsInput { 36218 s.MaxResults = &v 36219 return s 36220 } 36221 36222 // SetName sets the Name field's value. 36223 func (s *GetWorkflowRunsInput) SetName(v string) *GetWorkflowRunsInput { 36224 s.Name = &v 36225 return s 36226 } 36227 36228 // SetNextToken sets the NextToken field's value. 36229 func (s *GetWorkflowRunsInput) SetNextToken(v string) *GetWorkflowRunsInput { 36230 s.NextToken = &v 36231 return s 36232 } 36233 36234 type GetWorkflowRunsOutput struct { 36235 _ struct{} `type:"structure"` 36236 36237 // A continuation token, if not all requested workflow runs have been returned. 36238 NextToken *string `type:"string"` 36239 36240 // A list of workflow run metadata objects. 36241 Runs []*WorkflowRun `min:"1" type:"list"` 36242 } 36243 36244 // String returns the string representation. 36245 // 36246 // API parameter values that are decorated as "sensitive" in the API will not 36247 // be included in the string output. The member name will be present, but the 36248 // value will be replaced with "sensitive". 36249 func (s GetWorkflowRunsOutput) String() string { 36250 return awsutil.Prettify(s) 36251 } 36252 36253 // GoString returns the string representation. 36254 // 36255 // API parameter values that are decorated as "sensitive" in the API will not 36256 // be included in the string output. The member name will be present, but the 36257 // value will be replaced with "sensitive". 36258 func (s GetWorkflowRunsOutput) GoString() string { 36259 return s.String() 36260 } 36261 36262 // SetNextToken sets the NextToken field's value. 36263 func (s *GetWorkflowRunsOutput) SetNextToken(v string) *GetWorkflowRunsOutput { 36264 s.NextToken = &v 36265 return s 36266 } 36267 36268 // SetRuns sets the Runs field's value. 36269 func (s *GetWorkflowRunsOutput) SetRuns(v []*WorkflowRun) *GetWorkflowRunsOutput { 36270 s.Runs = v 36271 return s 36272 } 36273 36274 // A structure for returning a resource policy. 36275 type GluePolicy struct { 36276 _ struct{} `type:"structure"` 36277 36278 // The date and time at which the policy was created. 36279 CreateTime *time.Time `type:"timestamp"` 36280 36281 // Contains the hash value associated with this policy. 36282 PolicyHash *string `min:"1" type:"string"` 36283 36284 // Contains the requested policy document, in JSON format. 36285 PolicyInJson *string `min:"2" type:"string"` 36286 36287 // The date and time at which the policy was last updated. 36288 UpdateTime *time.Time `type:"timestamp"` 36289 } 36290 36291 // String returns the string representation. 36292 // 36293 // API parameter values that are decorated as "sensitive" in the API will not 36294 // be included in the string output. The member name will be present, but the 36295 // value will be replaced with "sensitive". 36296 func (s GluePolicy) String() string { 36297 return awsutil.Prettify(s) 36298 } 36299 36300 // GoString returns the string representation. 36301 // 36302 // API parameter values that are decorated as "sensitive" in the API will not 36303 // be included in the string output. The member name will be present, but the 36304 // value will be replaced with "sensitive". 36305 func (s GluePolicy) GoString() string { 36306 return s.String() 36307 } 36308 36309 // SetCreateTime sets the CreateTime field's value. 36310 func (s *GluePolicy) SetCreateTime(v time.Time) *GluePolicy { 36311 s.CreateTime = &v 36312 return s 36313 } 36314 36315 // SetPolicyHash sets the PolicyHash field's value. 36316 func (s *GluePolicy) SetPolicyHash(v string) *GluePolicy { 36317 s.PolicyHash = &v 36318 return s 36319 } 36320 36321 // SetPolicyInJson sets the PolicyInJson field's value. 36322 func (s *GluePolicy) SetPolicyInJson(v string) *GluePolicy { 36323 s.PolicyInJson = &v 36324 return s 36325 } 36326 36327 // SetUpdateTime sets the UpdateTime field's value. 36328 func (s *GluePolicy) SetUpdateTime(v time.Time) *GluePolicy { 36329 s.UpdateTime = &v 36330 return s 36331 } 36332 36333 // A classifier that uses grok patterns. 36334 type GrokClassifier struct { 36335 _ struct{} `type:"structure"` 36336 36337 // An identifier of the data format that the classifier matches, such as Twitter, 36338 // JSON, Omniture logs, and so on. 36339 // 36340 // Classification is a required field 36341 Classification *string `type:"string" required:"true"` 36342 36343 // The time that this classifier was registered. 36344 CreationTime *time.Time `type:"timestamp"` 36345 36346 // Optional custom grok patterns defined by this classifier. For more information, 36347 // see custom patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html). 36348 CustomPatterns *string `type:"string"` 36349 36350 // The grok pattern applied to a data store by this classifier. For more information, 36351 // see built-in patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html). 36352 // 36353 // GrokPattern is a required field 36354 GrokPattern *string `min:"1" type:"string" required:"true"` 36355 36356 // The time that this classifier was last updated. 36357 LastUpdated *time.Time `type:"timestamp"` 36358 36359 // The name of the classifier. 36360 // 36361 // Name is a required field 36362 Name *string `min:"1" type:"string" required:"true"` 36363 36364 // The version of this classifier. 36365 Version *int64 `type:"long"` 36366 } 36367 36368 // String returns the string representation. 36369 // 36370 // API parameter values that are decorated as "sensitive" in the API will not 36371 // be included in the string output. The member name will be present, but the 36372 // value will be replaced with "sensitive". 36373 func (s GrokClassifier) String() string { 36374 return awsutil.Prettify(s) 36375 } 36376 36377 // GoString returns the string representation. 36378 // 36379 // API parameter values that are decorated as "sensitive" in the API will not 36380 // be included in the string output. The member name will be present, but the 36381 // value will be replaced with "sensitive". 36382 func (s GrokClassifier) GoString() string { 36383 return s.String() 36384 } 36385 36386 // SetClassification sets the Classification field's value. 36387 func (s *GrokClassifier) SetClassification(v string) *GrokClassifier { 36388 s.Classification = &v 36389 return s 36390 } 36391 36392 // SetCreationTime sets the CreationTime field's value. 36393 func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier { 36394 s.CreationTime = &v 36395 return s 36396 } 36397 36398 // SetCustomPatterns sets the CustomPatterns field's value. 36399 func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier { 36400 s.CustomPatterns = &v 36401 return s 36402 } 36403 36404 // SetGrokPattern sets the GrokPattern field's value. 36405 func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier { 36406 s.GrokPattern = &v 36407 return s 36408 } 36409 36410 // SetLastUpdated sets the LastUpdated field's value. 36411 func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier { 36412 s.LastUpdated = &v 36413 return s 36414 } 36415 36416 // SetName sets the Name field's value. 36417 func (s *GrokClassifier) SetName(v string) *GrokClassifier { 36418 s.Name = &v 36419 return s 36420 } 36421 36422 // SetVersion sets the Version field's value. 36423 func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier { 36424 s.Version = &v 36425 return s 36426 } 36427 36428 // The same unique identifier was associated with two different records. 36429 type IdempotentParameterMismatchException struct { 36430 _ struct{} `type:"structure"` 36431 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 36432 36433 // A message describing the problem. 36434 Message_ *string `locationName:"Message" type:"string"` 36435 } 36436 36437 // String returns the string representation. 36438 // 36439 // API parameter values that are decorated as "sensitive" in the API will not 36440 // be included in the string output. The member name will be present, but the 36441 // value will be replaced with "sensitive". 36442 func (s IdempotentParameterMismatchException) String() string { 36443 return awsutil.Prettify(s) 36444 } 36445 36446 // GoString returns the string representation. 36447 // 36448 // API parameter values that are decorated as "sensitive" in the API will not 36449 // be included in the string output. The member name will be present, but the 36450 // value will be replaced with "sensitive". 36451 func (s IdempotentParameterMismatchException) GoString() string { 36452 return s.String() 36453 } 36454 36455 func newErrorIdempotentParameterMismatchException(v protocol.ResponseMetadata) error { 36456 return &IdempotentParameterMismatchException{ 36457 RespMetadata: v, 36458 } 36459 } 36460 36461 // Code returns the exception type name. 36462 func (s *IdempotentParameterMismatchException) Code() string { 36463 return "IdempotentParameterMismatchException" 36464 } 36465 36466 // Message returns the exception's message. 36467 func (s *IdempotentParameterMismatchException) Message() string { 36468 if s.Message_ != nil { 36469 return *s.Message_ 36470 } 36471 return "" 36472 } 36473 36474 // OrigErr always returns nil, satisfies awserr.Error interface. 36475 func (s *IdempotentParameterMismatchException) OrigErr() error { 36476 return nil 36477 } 36478 36479 func (s *IdempotentParameterMismatchException) Error() string { 36480 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 36481 } 36482 36483 // Status code returns the HTTP status code for the request's response error. 36484 func (s *IdempotentParameterMismatchException) StatusCode() int { 36485 return s.RespMetadata.StatusCode 36486 } 36487 36488 // RequestID returns the service's response RequestID for request. 36489 func (s *IdempotentParameterMismatchException) RequestID() string { 36490 return s.RespMetadata.RequestID 36491 } 36492 36493 type IllegalBlueprintStateException struct { 36494 _ struct{} `type:"structure"` 36495 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 36496 36497 Message_ *string `locationName:"Message" type:"string"` 36498 } 36499 36500 // String returns the string representation. 36501 // 36502 // API parameter values that are decorated as "sensitive" in the API will not 36503 // be included in the string output. The member name will be present, but the 36504 // value will be replaced with "sensitive". 36505 func (s IllegalBlueprintStateException) String() string { 36506 return awsutil.Prettify(s) 36507 } 36508 36509 // GoString returns the string representation. 36510 // 36511 // API parameter values that are decorated as "sensitive" in the API will not 36512 // be included in the string output. The member name will be present, but the 36513 // value will be replaced with "sensitive". 36514 func (s IllegalBlueprintStateException) GoString() string { 36515 return s.String() 36516 } 36517 36518 func newErrorIllegalBlueprintStateException(v protocol.ResponseMetadata) error { 36519 return &IllegalBlueprintStateException{ 36520 RespMetadata: v, 36521 } 36522 } 36523 36524 // Code returns the exception type name. 36525 func (s *IllegalBlueprintStateException) Code() string { 36526 return "IllegalBlueprintStateException" 36527 } 36528 36529 // Message returns the exception's message. 36530 func (s *IllegalBlueprintStateException) Message() string { 36531 if s.Message_ != nil { 36532 return *s.Message_ 36533 } 36534 return "" 36535 } 36536 36537 // OrigErr always returns nil, satisfies awserr.Error interface. 36538 func (s *IllegalBlueprintStateException) OrigErr() error { 36539 return nil 36540 } 36541 36542 func (s *IllegalBlueprintStateException) Error() string { 36543 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 36544 } 36545 36546 // Status code returns the HTTP status code for the request's response error. 36547 func (s *IllegalBlueprintStateException) StatusCode() int { 36548 return s.RespMetadata.StatusCode 36549 } 36550 36551 // RequestID returns the service's response RequestID for request. 36552 func (s *IllegalBlueprintStateException) RequestID() string { 36553 return s.RespMetadata.RequestID 36554 } 36555 36556 // The workflow is in an invalid state to perform a requested operation. 36557 type IllegalWorkflowStateException struct { 36558 _ struct{} `type:"structure"` 36559 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 36560 36561 // A message describing the problem. 36562 Message_ *string `locationName:"Message" type:"string"` 36563 } 36564 36565 // String returns the string representation. 36566 // 36567 // API parameter values that are decorated as "sensitive" in the API will not 36568 // be included in the string output. The member name will be present, but the 36569 // value will be replaced with "sensitive". 36570 func (s IllegalWorkflowStateException) String() string { 36571 return awsutil.Prettify(s) 36572 } 36573 36574 // GoString returns the string representation. 36575 // 36576 // API parameter values that are decorated as "sensitive" in the API will not 36577 // be included in the string output. The member name will be present, but the 36578 // value will be replaced with "sensitive". 36579 func (s IllegalWorkflowStateException) GoString() string { 36580 return s.String() 36581 } 36582 36583 func newErrorIllegalWorkflowStateException(v protocol.ResponseMetadata) error { 36584 return &IllegalWorkflowStateException{ 36585 RespMetadata: v, 36586 } 36587 } 36588 36589 // Code returns the exception type name. 36590 func (s *IllegalWorkflowStateException) Code() string { 36591 return "IllegalWorkflowStateException" 36592 } 36593 36594 // Message returns the exception's message. 36595 func (s *IllegalWorkflowStateException) Message() string { 36596 if s.Message_ != nil { 36597 return *s.Message_ 36598 } 36599 return "" 36600 } 36601 36602 // OrigErr always returns nil, satisfies awserr.Error interface. 36603 func (s *IllegalWorkflowStateException) OrigErr() error { 36604 return nil 36605 } 36606 36607 func (s *IllegalWorkflowStateException) Error() string { 36608 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 36609 } 36610 36611 // Status code returns the HTTP status code for the request's response error. 36612 func (s *IllegalWorkflowStateException) StatusCode() int { 36613 return s.RespMetadata.StatusCode 36614 } 36615 36616 // RequestID returns the service's response RequestID for request. 36617 func (s *IllegalWorkflowStateException) RequestID() string { 36618 return s.RespMetadata.RequestID 36619 } 36620 36621 type ImportCatalogToGlueInput struct { 36622 _ struct{} `type:"structure"` 36623 36624 // The ID of the catalog to import. Currently, this should be the Amazon Web 36625 // Services account ID. 36626 CatalogId *string `min:"1" type:"string"` 36627 } 36628 36629 // String returns the string representation. 36630 // 36631 // API parameter values that are decorated as "sensitive" in the API will not 36632 // be included in the string output. The member name will be present, but the 36633 // value will be replaced with "sensitive". 36634 func (s ImportCatalogToGlueInput) String() string { 36635 return awsutil.Prettify(s) 36636 } 36637 36638 // GoString returns the string representation. 36639 // 36640 // API parameter values that are decorated as "sensitive" in the API will not 36641 // be included in the string output. The member name will be present, but the 36642 // value will be replaced with "sensitive". 36643 func (s ImportCatalogToGlueInput) GoString() string { 36644 return s.String() 36645 } 36646 36647 // Validate inspects the fields of the type to determine if they are valid. 36648 func (s *ImportCatalogToGlueInput) Validate() error { 36649 invalidParams := request.ErrInvalidParams{Context: "ImportCatalogToGlueInput"} 36650 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 36651 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 36652 } 36653 36654 if invalidParams.Len() > 0 { 36655 return invalidParams 36656 } 36657 return nil 36658 } 36659 36660 // SetCatalogId sets the CatalogId field's value. 36661 func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput { 36662 s.CatalogId = &v 36663 return s 36664 } 36665 36666 type ImportCatalogToGlueOutput struct { 36667 _ struct{} `type:"structure"` 36668 } 36669 36670 // String returns the string representation. 36671 // 36672 // API parameter values that are decorated as "sensitive" in the API will not 36673 // be included in the string output. The member name will be present, but the 36674 // value will be replaced with "sensitive". 36675 func (s ImportCatalogToGlueOutput) String() string { 36676 return awsutil.Prettify(s) 36677 } 36678 36679 // GoString returns the string representation. 36680 // 36681 // API parameter values that are decorated as "sensitive" in the API will not 36682 // be included in the string output. The member name will be present, but the 36683 // value will be replaced with "sensitive". 36684 func (s ImportCatalogToGlueOutput) GoString() string { 36685 return s.String() 36686 } 36687 36688 // Specifies configuration properties for an importing labels task run. 36689 type ImportLabelsTaskRunProperties struct { 36690 _ struct{} `type:"structure"` 36691 36692 // The Amazon Simple Storage Service (Amazon S3) path from where you will import 36693 // the labels. 36694 InputS3Path *string `type:"string"` 36695 36696 // Indicates whether to overwrite your existing labels. 36697 Replace *bool `type:"boolean"` 36698 } 36699 36700 // String returns the string representation. 36701 // 36702 // API parameter values that are decorated as "sensitive" in the API will not 36703 // be included in the string output. The member name will be present, but the 36704 // value will be replaced with "sensitive". 36705 func (s ImportLabelsTaskRunProperties) String() string { 36706 return awsutil.Prettify(s) 36707 } 36708 36709 // GoString returns the string representation. 36710 // 36711 // API parameter values that are decorated as "sensitive" in the API will not 36712 // be included in the string output. The member name will be present, but the 36713 // value will be replaced with "sensitive". 36714 func (s ImportLabelsTaskRunProperties) GoString() string { 36715 return s.String() 36716 } 36717 36718 // SetInputS3Path sets the InputS3Path field's value. 36719 func (s *ImportLabelsTaskRunProperties) SetInputS3Path(v string) *ImportLabelsTaskRunProperties { 36720 s.InputS3Path = &v 36721 return s 36722 } 36723 36724 // SetReplace sets the Replace field's value. 36725 func (s *ImportLabelsTaskRunProperties) SetReplace(v bool) *ImportLabelsTaskRunProperties { 36726 s.Replace = &v 36727 return s 36728 } 36729 36730 // An internal service error occurred. 36731 type InternalServiceException struct { 36732 _ struct{} `type:"structure"` 36733 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 36734 36735 // A message describing the problem. 36736 Message_ *string `locationName:"Message" type:"string"` 36737 } 36738 36739 // String returns the string representation. 36740 // 36741 // API parameter values that are decorated as "sensitive" in the API will not 36742 // be included in the string output. The member name will be present, but the 36743 // value will be replaced with "sensitive". 36744 func (s InternalServiceException) String() string { 36745 return awsutil.Prettify(s) 36746 } 36747 36748 // GoString returns the string representation. 36749 // 36750 // API parameter values that are decorated as "sensitive" in the API will not 36751 // be included in the string output. The member name will be present, but the 36752 // value will be replaced with "sensitive". 36753 func (s InternalServiceException) GoString() string { 36754 return s.String() 36755 } 36756 36757 func newErrorInternalServiceException(v protocol.ResponseMetadata) error { 36758 return &InternalServiceException{ 36759 RespMetadata: v, 36760 } 36761 } 36762 36763 // Code returns the exception type name. 36764 func (s *InternalServiceException) Code() string { 36765 return "InternalServiceException" 36766 } 36767 36768 // Message returns the exception's message. 36769 func (s *InternalServiceException) Message() string { 36770 if s.Message_ != nil { 36771 return *s.Message_ 36772 } 36773 return "" 36774 } 36775 36776 // OrigErr always returns nil, satisfies awserr.Error interface. 36777 func (s *InternalServiceException) OrigErr() error { 36778 return nil 36779 } 36780 36781 func (s *InternalServiceException) Error() string { 36782 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 36783 } 36784 36785 // Status code returns the HTTP status code for the request's response error. 36786 func (s *InternalServiceException) StatusCode() int { 36787 return s.RespMetadata.StatusCode 36788 } 36789 36790 // RequestID returns the service's response RequestID for request. 36791 func (s *InternalServiceException) RequestID() string { 36792 return s.RespMetadata.RequestID 36793 } 36794 36795 // The input provided was not valid. 36796 type InvalidInputException struct { 36797 _ struct{} `type:"structure"` 36798 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 36799 36800 // A message describing the problem. 36801 Message_ *string `locationName:"Message" type:"string"` 36802 } 36803 36804 // String returns the string representation. 36805 // 36806 // API parameter values that are decorated as "sensitive" in the API will not 36807 // be included in the string output. The member name will be present, but the 36808 // value will be replaced with "sensitive". 36809 func (s InvalidInputException) String() string { 36810 return awsutil.Prettify(s) 36811 } 36812 36813 // GoString returns the string representation. 36814 // 36815 // API parameter values that are decorated as "sensitive" in the API will not 36816 // be included in the string output. The member name will be present, but the 36817 // value will be replaced with "sensitive". 36818 func (s InvalidInputException) GoString() string { 36819 return s.String() 36820 } 36821 36822 func newErrorInvalidInputException(v protocol.ResponseMetadata) error { 36823 return &InvalidInputException{ 36824 RespMetadata: v, 36825 } 36826 } 36827 36828 // Code returns the exception type name. 36829 func (s *InvalidInputException) Code() string { 36830 return "InvalidInputException" 36831 } 36832 36833 // Message returns the exception's message. 36834 func (s *InvalidInputException) Message() string { 36835 if s.Message_ != nil { 36836 return *s.Message_ 36837 } 36838 return "" 36839 } 36840 36841 // OrigErr always returns nil, satisfies awserr.Error interface. 36842 func (s *InvalidInputException) OrigErr() error { 36843 return nil 36844 } 36845 36846 func (s *InvalidInputException) Error() string { 36847 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 36848 } 36849 36850 // Status code returns the HTTP status code for the request's response error. 36851 func (s *InvalidInputException) StatusCode() int { 36852 return s.RespMetadata.StatusCode 36853 } 36854 36855 // RequestID returns the service's response RequestID for request. 36856 func (s *InvalidInputException) RequestID() string { 36857 return s.RespMetadata.RequestID 36858 } 36859 36860 // Specifies a JDBC data store to crawl. 36861 type JdbcTarget struct { 36862 _ struct{} `type:"structure"` 36863 36864 // The name of the connection to use to connect to the JDBC target. 36865 ConnectionName *string `type:"string"` 36866 36867 // A list of glob patterns used to exclude from the crawl. For more information, 36868 // see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html). 36869 Exclusions []*string `type:"list"` 36870 36871 // The path of the JDBC target. 36872 Path *string `type:"string"` 36873 } 36874 36875 // String returns the string representation. 36876 // 36877 // API parameter values that are decorated as "sensitive" in the API will not 36878 // be included in the string output. The member name will be present, but the 36879 // value will be replaced with "sensitive". 36880 func (s JdbcTarget) String() string { 36881 return awsutil.Prettify(s) 36882 } 36883 36884 // GoString returns the string representation. 36885 // 36886 // API parameter values that are decorated as "sensitive" in the API will not 36887 // be included in the string output. The member name will be present, but the 36888 // value will be replaced with "sensitive". 36889 func (s JdbcTarget) GoString() string { 36890 return s.String() 36891 } 36892 36893 // SetConnectionName sets the ConnectionName field's value. 36894 func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget { 36895 s.ConnectionName = &v 36896 return s 36897 } 36898 36899 // SetExclusions sets the Exclusions field's value. 36900 func (s *JdbcTarget) SetExclusions(v []*string) *JdbcTarget { 36901 s.Exclusions = v 36902 return s 36903 } 36904 36905 // SetPath sets the Path field's value. 36906 func (s *JdbcTarget) SetPath(v string) *JdbcTarget { 36907 s.Path = &v 36908 return s 36909 } 36910 36911 // Specifies a job definition. 36912 type Job struct { 36913 _ struct{} `type:"structure"` 36914 36915 // This field is deprecated. Use MaxCapacity instead. 36916 // 36917 // The number of Glue data processing units (DPUs) allocated to runs of this 36918 // job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative 36919 // measure of processing power that consists of 4 vCPUs of compute capacity 36920 // and 16 GB of memory. For more information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 36921 // 36922 // Deprecated: This property is deprecated, use MaxCapacity instead. 36923 AllocatedCapacity *int64 `deprecated:"true" type:"integer"` 36924 36925 // The JobCommand that runs this job. 36926 Command *JobCommand `type:"structure"` 36927 36928 // The connections used for this job. 36929 Connections *ConnectionsList `type:"structure"` 36930 36931 // The time and date that this job definition was created. 36932 CreatedOn *time.Time `type:"timestamp"` 36933 36934 // The default arguments for this job, specified as name-value pairs. 36935 // 36936 // You can specify arguments here that your own job-execution script consumes, 36937 // as well as arguments that Glue itself consumes. 36938 // 36939 // For information about how to specify and consume your own Job arguments, 36940 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 36941 // topic in the developer guide. 36942 // 36943 // For information about the key-value pairs that Glue consumes to set up your 36944 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 36945 // topic in the developer guide. 36946 DefaultArguments map[string]*string `type:"map"` 36947 36948 // A description of the job. 36949 Description *string `type:"string"` 36950 36951 // An ExecutionProperty specifying the maximum number of concurrent runs allowed 36952 // for this job. 36953 ExecutionProperty *ExecutionProperty `type:"structure"` 36954 36955 // Glue version determines the versions of Apache Spark and Python that Glue 36956 // supports. The Python version indicates the version supported for jobs of 36957 // type Spark. 36958 // 36959 // For more information about the available Glue versions and corresponding 36960 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 36961 // in the developer guide. 36962 // 36963 // Jobs that are created without specifying a Glue version default to Glue 0.9. 36964 GlueVersion *string `min:"1" type:"string"` 36965 36966 // The last point in time when this job definition was modified. 36967 LastModifiedOn *time.Time `type:"timestamp"` 36968 36969 // This field is reserved for future use. 36970 LogUri *string `type:"string"` 36971 36972 // For Glue version 1.0 or earlier jobs, using the standard worker type, the 36973 // number of Glue data processing units (DPUs) that can be allocated when this 36974 // job runs. A DPU is a relative measure of processing power that consists of 36975 // 4 vCPUs of compute capacity and 16 GB of memory. For more information, see 36976 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 36977 // 36978 // Do not set Max Capacity if using WorkerType and NumberOfWorkers. 36979 // 36980 // The value that can be allocated for MaxCapacity depends on whether you are 36981 // running a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming 36982 // ETL job: 36983 // 36984 // * When you specify a Python shell job (JobCommand.Name="pythonshell"), 36985 // you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. 36986 // 36987 // * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl") 36988 // or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you 36989 // can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type 36990 // cannot have a fractional DPU allocation. 36991 // 36992 // For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity. 36993 // Instead, you should specify a Worker type and the Number of workers. 36994 MaxCapacity *float64 `type:"double"` 36995 36996 // The maximum number of times to retry this job after a JobRun fails. 36997 MaxRetries *int64 `type:"integer"` 36998 36999 // The name you assign to this job definition. 37000 Name *string `min:"1" type:"string"` 37001 37002 // Non-overridable arguments for this job, specified as name-value pairs. 37003 NonOverridableArguments map[string]*string `type:"map"` 37004 37005 // Specifies configuration properties of a job notification. 37006 NotificationProperty *NotificationProperty `type:"structure"` 37007 37008 // The number of workers of a defined workerType that are allocated when a job 37009 // runs. 37010 // 37011 // The maximum number of workers you can define are 299 for G.1X, and 149 for 37012 // G.2X. 37013 NumberOfWorkers *int64 `type:"integer"` 37014 37015 // The name or Amazon Resource Name (ARN) of the IAM role associated with this 37016 // job. 37017 Role *string `type:"string"` 37018 37019 // The name of the SecurityConfiguration structure to be used with this job. 37020 SecurityConfiguration *string `min:"1" type:"string"` 37021 37022 // The job timeout in minutes. This is the maximum time that a job run can consume 37023 // resources before it is terminated and enters TIMEOUT status. The default 37024 // is 2,880 minutes (48 hours). 37025 Timeout *int64 `min:"1" type:"integer"` 37026 37027 // The type of predefined worker that is allocated when a job runs. Accepts 37028 // a value of Standard, G.1X, or G.2X. 37029 // 37030 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 37031 // memory and a 50GB disk, and 2 executors per worker. 37032 // 37033 // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of 37034 // memory, 64 GB disk), and provides 1 executor per worker. We recommend 37035 // this worker type for memory-intensive jobs. 37036 // 37037 // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of 37038 // memory, 128 GB disk), and provides 1 executor per worker. We recommend 37039 // this worker type for memory-intensive jobs. 37040 WorkerType *string `type:"string" enum:"WorkerType"` 37041 } 37042 37043 // String returns the string representation. 37044 // 37045 // API parameter values that are decorated as "sensitive" in the API will not 37046 // be included in the string output. The member name will be present, but the 37047 // value will be replaced with "sensitive". 37048 func (s Job) String() string { 37049 return awsutil.Prettify(s) 37050 } 37051 37052 // GoString returns the string representation. 37053 // 37054 // API parameter values that are decorated as "sensitive" in the API will not 37055 // be included in the string output. The member name will be present, but the 37056 // value will be replaced with "sensitive". 37057 func (s Job) GoString() string { 37058 return s.String() 37059 } 37060 37061 // SetAllocatedCapacity sets the AllocatedCapacity field's value. 37062 func (s *Job) SetAllocatedCapacity(v int64) *Job { 37063 s.AllocatedCapacity = &v 37064 return s 37065 } 37066 37067 // SetCommand sets the Command field's value. 37068 func (s *Job) SetCommand(v *JobCommand) *Job { 37069 s.Command = v 37070 return s 37071 } 37072 37073 // SetConnections sets the Connections field's value. 37074 func (s *Job) SetConnections(v *ConnectionsList) *Job { 37075 s.Connections = v 37076 return s 37077 } 37078 37079 // SetCreatedOn sets the CreatedOn field's value. 37080 func (s *Job) SetCreatedOn(v time.Time) *Job { 37081 s.CreatedOn = &v 37082 return s 37083 } 37084 37085 // SetDefaultArguments sets the DefaultArguments field's value. 37086 func (s *Job) SetDefaultArguments(v map[string]*string) *Job { 37087 s.DefaultArguments = v 37088 return s 37089 } 37090 37091 // SetDescription sets the Description field's value. 37092 func (s *Job) SetDescription(v string) *Job { 37093 s.Description = &v 37094 return s 37095 } 37096 37097 // SetExecutionProperty sets the ExecutionProperty field's value. 37098 func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job { 37099 s.ExecutionProperty = v 37100 return s 37101 } 37102 37103 // SetGlueVersion sets the GlueVersion field's value. 37104 func (s *Job) SetGlueVersion(v string) *Job { 37105 s.GlueVersion = &v 37106 return s 37107 } 37108 37109 // SetLastModifiedOn sets the LastModifiedOn field's value. 37110 func (s *Job) SetLastModifiedOn(v time.Time) *Job { 37111 s.LastModifiedOn = &v 37112 return s 37113 } 37114 37115 // SetLogUri sets the LogUri field's value. 37116 func (s *Job) SetLogUri(v string) *Job { 37117 s.LogUri = &v 37118 return s 37119 } 37120 37121 // SetMaxCapacity sets the MaxCapacity field's value. 37122 func (s *Job) SetMaxCapacity(v float64) *Job { 37123 s.MaxCapacity = &v 37124 return s 37125 } 37126 37127 // SetMaxRetries sets the MaxRetries field's value. 37128 func (s *Job) SetMaxRetries(v int64) *Job { 37129 s.MaxRetries = &v 37130 return s 37131 } 37132 37133 // SetName sets the Name field's value. 37134 func (s *Job) SetName(v string) *Job { 37135 s.Name = &v 37136 return s 37137 } 37138 37139 // SetNonOverridableArguments sets the NonOverridableArguments field's value. 37140 func (s *Job) SetNonOverridableArguments(v map[string]*string) *Job { 37141 s.NonOverridableArguments = v 37142 return s 37143 } 37144 37145 // SetNotificationProperty sets the NotificationProperty field's value. 37146 func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job { 37147 s.NotificationProperty = v 37148 return s 37149 } 37150 37151 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 37152 func (s *Job) SetNumberOfWorkers(v int64) *Job { 37153 s.NumberOfWorkers = &v 37154 return s 37155 } 37156 37157 // SetRole sets the Role field's value. 37158 func (s *Job) SetRole(v string) *Job { 37159 s.Role = &v 37160 return s 37161 } 37162 37163 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 37164 func (s *Job) SetSecurityConfiguration(v string) *Job { 37165 s.SecurityConfiguration = &v 37166 return s 37167 } 37168 37169 // SetTimeout sets the Timeout field's value. 37170 func (s *Job) SetTimeout(v int64) *Job { 37171 s.Timeout = &v 37172 return s 37173 } 37174 37175 // SetWorkerType sets the WorkerType field's value. 37176 func (s *Job) SetWorkerType(v string) *Job { 37177 s.WorkerType = &v 37178 return s 37179 } 37180 37181 // Defines a point that a job can resume processing. 37182 type JobBookmarkEntry struct { 37183 _ struct{} `type:"structure"` 37184 37185 // The attempt ID number. 37186 Attempt *int64 `type:"integer"` 37187 37188 // The bookmark itself. 37189 JobBookmark *string `type:"string"` 37190 37191 // The name of the job in question. 37192 JobName *string `type:"string"` 37193 37194 // The unique run identifier associated with the previous job run. 37195 PreviousRunId *string `type:"string"` 37196 37197 // The run ID number. 37198 Run *int64 `type:"integer"` 37199 37200 // The run ID number. 37201 RunId *string `type:"string"` 37202 37203 // The version of the job. 37204 Version *int64 `type:"integer"` 37205 } 37206 37207 // String returns the string representation. 37208 // 37209 // API parameter values that are decorated as "sensitive" in the API will not 37210 // be included in the string output. The member name will be present, but the 37211 // value will be replaced with "sensitive". 37212 func (s JobBookmarkEntry) String() string { 37213 return awsutil.Prettify(s) 37214 } 37215 37216 // GoString returns the string representation. 37217 // 37218 // API parameter values that are decorated as "sensitive" in the API will not 37219 // be included in the string output. The member name will be present, but the 37220 // value will be replaced with "sensitive". 37221 func (s JobBookmarkEntry) GoString() string { 37222 return s.String() 37223 } 37224 37225 // SetAttempt sets the Attempt field's value. 37226 func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry { 37227 s.Attempt = &v 37228 return s 37229 } 37230 37231 // SetJobBookmark sets the JobBookmark field's value. 37232 func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry { 37233 s.JobBookmark = &v 37234 return s 37235 } 37236 37237 // SetJobName sets the JobName field's value. 37238 func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry { 37239 s.JobName = &v 37240 return s 37241 } 37242 37243 // SetPreviousRunId sets the PreviousRunId field's value. 37244 func (s *JobBookmarkEntry) SetPreviousRunId(v string) *JobBookmarkEntry { 37245 s.PreviousRunId = &v 37246 return s 37247 } 37248 37249 // SetRun sets the Run field's value. 37250 func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry { 37251 s.Run = &v 37252 return s 37253 } 37254 37255 // SetRunId sets the RunId field's value. 37256 func (s *JobBookmarkEntry) SetRunId(v string) *JobBookmarkEntry { 37257 s.RunId = &v 37258 return s 37259 } 37260 37261 // SetVersion sets the Version field's value. 37262 func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry { 37263 s.Version = &v 37264 return s 37265 } 37266 37267 // Specifies how job bookmark data should be encrypted. 37268 type JobBookmarksEncryption struct { 37269 _ struct{} `type:"structure"` 37270 37271 // The encryption mode to use for job bookmarks data. 37272 JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"` 37273 37274 // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. 37275 KmsKeyArn *string `type:"string"` 37276 } 37277 37278 // String returns the string representation. 37279 // 37280 // API parameter values that are decorated as "sensitive" in the API will not 37281 // be included in the string output. The member name will be present, but the 37282 // value will be replaced with "sensitive". 37283 func (s JobBookmarksEncryption) String() string { 37284 return awsutil.Prettify(s) 37285 } 37286 37287 // GoString returns the string representation. 37288 // 37289 // API parameter values that are decorated as "sensitive" in the API will not 37290 // be included in the string output. The member name will be present, but the 37291 // value will be replaced with "sensitive". 37292 func (s JobBookmarksEncryption) GoString() string { 37293 return s.String() 37294 } 37295 37296 // SetJobBookmarksEncryptionMode sets the JobBookmarksEncryptionMode field's value. 37297 func (s *JobBookmarksEncryption) SetJobBookmarksEncryptionMode(v string) *JobBookmarksEncryption { 37298 s.JobBookmarksEncryptionMode = &v 37299 return s 37300 } 37301 37302 // SetKmsKeyArn sets the KmsKeyArn field's value. 37303 func (s *JobBookmarksEncryption) SetKmsKeyArn(v string) *JobBookmarksEncryption { 37304 s.KmsKeyArn = &v 37305 return s 37306 } 37307 37308 // Specifies code that runs when a job is run. 37309 type JobCommand struct { 37310 _ struct{} `type:"structure"` 37311 37312 // The name of the job command. For an Apache Spark ETL job, this must be glueetl. 37313 // For a Python shell job, it must be pythonshell. For an Apache Spark streaming 37314 // ETL job, this must be gluestreaming. 37315 Name *string `type:"string"` 37316 37317 // The Python version being used to run a Python shell job. Allowed values are 37318 // 2 or 3. 37319 PythonVersion *string `type:"string"` 37320 37321 // Specifies the Amazon Simple Storage Service (Amazon S3) path to a script 37322 // that runs a job. 37323 ScriptLocation *string `type:"string"` 37324 } 37325 37326 // String returns the string representation. 37327 // 37328 // API parameter values that are decorated as "sensitive" in the API will not 37329 // be included in the string output. The member name will be present, but the 37330 // value will be replaced with "sensitive". 37331 func (s JobCommand) String() string { 37332 return awsutil.Prettify(s) 37333 } 37334 37335 // GoString returns the string representation. 37336 // 37337 // API parameter values that are decorated as "sensitive" in the API will not 37338 // be included in the string output. The member name will be present, but the 37339 // value will be replaced with "sensitive". 37340 func (s JobCommand) GoString() string { 37341 return s.String() 37342 } 37343 37344 // SetName sets the Name field's value. 37345 func (s *JobCommand) SetName(v string) *JobCommand { 37346 s.Name = &v 37347 return s 37348 } 37349 37350 // SetPythonVersion sets the PythonVersion field's value. 37351 func (s *JobCommand) SetPythonVersion(v string) *JobCommand { 37352 s.PythonVersion = &v 37353 return s 37354 } 37355 37356 // SetScriptLocation sets the ScriptLocation field's value. 37357 func (s *JobCommand) SetScriptLocation(v string) *JobCommand { 37358 s.ScriptLocation = &v 37359 return s 37360 } 37361 37362 // The details of a Job node present in the workflow. 37363 type JobNodeDetails struct { 37364 _ struct{} `type:"structure"` 37365 37366 // The information for the job runs represented by the job node. 37367 JobRuns []*JobRun `type:"list"` 37368 } 37369 37370 // String returns the string representation. 37371 // 37372 // API parameter values that are decorated as "sensitive" in the API will not 37373 // be included in the string output. The member name will be present, but the 37374 // value will be replaced with "sensitive". 37375 func (s JobNodeDetails) String() string { 37376 return awsutil.Prettify(s) 37377 } 37378 37379 // GoString returns the string representation. 37380 // 37381 // API parameter values that are decorated as "sensitive" in the API will not 37382 // be included in the string output. The member name will be present, but the 37383 // value will be replaced with "sensitive". 37384 func (s JobNodeDetails) GoString() string { 37385 return s.String() 37386 } 37387 37388 // SetJobRuns sets the JobRuns field's value. 37389 func (s *JobNodeDetails) SetJobRuns(v []*JobRun) *JobNodeDetails { 37390 s.JobRuns = v 37391 return s 37392 } 37393 37394 // Contains information about a job run. 37395 type JobRun struct { 37396 _ struct{} `type:"structure"` 37397 37398 // This field is deprecated. Use MaxCapacity instead. 37399 // 37400 // The number of Glue data processing units (DPUs) allocated to this JobRun. 37401 // From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative 37402 // measure of processing power that consists of 4 vCPUs of compute capacity 37403 // and 16 GB of memory. For more information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 37404 // 37405 // Deprecated: This property is deprecated, use MaxCapacity instead. 37406 AllocatedCapacity *int64 `deprecated:"true" type:"integer"` 37407 37408 // The job arguments associated with this run. For this job run, they replace 37409 // the default arguments set in the job definition itself. 37410 // 37411 // You can specify arguments here that your own job-execution script consumes, 37412 // as well as arguments that Glue itself consumes. 37413 // 37414 // For information about how to specify and consume your own job arguments, 37415 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 37416 // topic in the developer guide. 37417 // 37418 // For information about the key-value pairs that Glue consumes to set up your 37419 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 37420 // topic in the developer guide. 37421 Arguments map[string]*string `type:"map"` 37422 37423 // The number of the attempt to run this job. 37424 Attempt *int64 `type:"integer"` 37425 37426 // The date and time that this job run completed. 37427 CompletedOn *time.Time `type:"timestamp"` 37428 37429 // An error message associated with this job run. 37430 ErrorMessage *string `type:"string"` 37431 37432 // The amount of time (in seconds) that the job run consumed resources. 37433 ExecutionTime *int64 `type:"integer"` 37434 37435 // Glue version determines the versions of Apache Spark and Python that Glue 37436 // supports. The Python version indicates the version supported for jobs of 37437 // type Spark. 37438 // 37439 // For more information about the available Glue versions and corresponding 37440 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 37441 // in the developer guide. 37442 // 37443 // Jobs that are created without specifying a Glue version default to Glue 0.9. 37444 GlueVersion *string `min:"1" type:"string"` 37445 37446 // The ID of this job run. 37447 Id *string `min:"1" type:"string"` 37448 37449 // The name of the job definition being used in this run. 37450 JobName *string `min:"1" type:"string"` 37451 37452 // The current state of the job run. For more information about the statuses 37453 // of jobs that have terminated abnormally, see Glue Job Run Statuses (https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html). 37454 JobRunState *string `type:"string" enum:"JobRunState"` 37455 37456 // The last time that this job run was modified. 37457 LastModifiedOn *time.Time `type:"timestamp"` 37458 37459 // The name of the log group for secure logging that can be server-side encrypted 37460 // in Amazon CloudWatch using KMS. This name can be /aws-glue/jobs/, in which 37461 // case the default encryption is NONE. If you add a role name and SecurityConfiguration 37462 // name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/), 37463 // then that security configuration is used to encrypt the log group. 37464 LogGroupName *string `type:"string"` 37465 37466 // The number of Glue data processing units (DPUs) that can be allocated when 37467 // this job runs. A DPU is a relative measure of processing power that consists 37468 // of 4 vCPUs of compute capacity and 16 GB of memory. For more information, 37469 // see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 37470 // 37471 // Do not set Max Capacity if using WorkerType and NumberOfWorkers. 37472 // 37473 // The value that can be allocated for MaxCapacity depends on whether you are 37474 // running a Python shell job or an Apache Spark ETL job: 37475 // 37476 // * When you specify a Python shell job (JobCommand.Name="pythonshell"), 37477 // you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. 37478 // 37479 // * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), 37480 // you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job 37481 // type cannot have a fractional DPU allocation. 37482 MaxCapacity *float64 `type:"double"` 37483 37484 // Specifies configuration properties of a job run notification. 37485 NotificationProperty *NotificationProperty `type:"structure"` 37486 37487 // The number of workers of a defined workerType that are allocated when a job 37488 // runs. 37489 // 37490 // The maximum number of workers you can define are 299 for G.1X, and 149 for 37491 // G.2X. 37492 NumberOfWorkers *int64 `type:"integer"` 37493 37494 // A list of predecessors to this job run. 37495 PredecessorRuns []*Predecessor `type:"list"` 37496 37497 // The ID of the previous run of this job. For example, the JobRunId specified 37498 // in the StartJobRun action. 37499 PreviousRunId *string `min:"1" type:"string"` 37500 37501 // The name of the SecurityConfiguration structure to be used with this job 37502 // run. 37503 SecurityConfiguration *string `min:"1" type:"string"` 37504 37505 // The date and time at which this job run was started. 37506 StartedOn *time.Time `type:"timestamp"` 37507 37508 // The JobRun timeout in minutes. This is the maximum time that a job run can 37509 // consume resources before it is terminated and enters TIMEOUT status. The 37510 // default is 2,880 minutes (48 hours). This overrides the timeout value set 37511 // in the parent job. 37512 Timeout *int64 `min:"1" type:"integer"` 37513 37514 // The name of the trigger that started this job run. 37515 TriggerName *string `min:"1" type:"string"` 37516 37517 // The type of predefined worker that is allocated when a job runs. Accepts 37518 // a value of Standard, G.1X, or G.2X. 37519 // 37520 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 37521 // memory and a 50GB disk, and 2 executors per worker. 37522 // 37523 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 37524 // and a 64GB disk, and 1 executor per worker. 37525 // 37526 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 37527 // and a 128GB disk, and 1 executor per worker. 37528 WorkerType *string `type:"string" enum:"WorkerType"` 37529 } 37530 37531 // String returns the string representation. 37532 // 37533 // API parameter values that are decorated as "sensitive" in the API will not 37534 // be included in the string output. The member name will be present, but the 37535 // value will be replaced with "sensitive". 37536 func (s JobRun) String() string { 37537 return awsutil.Prettify(s) 37538 } 37539 37540 // GoString returns the string representation. 37541 // 37542 // API parameter values that are decorated as "sensitive" in the API will not 37543 // be included in the string output. The member name will be present, but the 37544 // value will be replaced with "sensitive". 37545 func (s JobRun) GoString() string { 37546 return s.String() 37547 } 37548 37549 // SetAllocatedCapacity sets the AllocatedCapacity field's value. 37550 func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun { 37551 s.AllocatedCapacity = &v 37552 return s 37553 } 37554 37555 // SetArguments sets the Arguments field's value. 37556 func (s *JobRun) SetArguments(v map[string]*string) *JobRun { 37557 s.Arguments = v 37558 return s 37559 } 37560 37561 // SetAttempt sets the Attempt field's value. 37562 func (s *JobRun) SetAttempt(v int64) *JobRun { 37563 s.Attempt = &v 37564 return s 37565 } 37566 37567 // SetCompletedOn sets the CompletedOn field's value. 37568 func (s *JobRun) SetCompletedOn(v time.Time) *JobRun { 37569 s.CompletedOn = &v 37570 return s 37571 } 37572 37573 // SetErrorMessage sets the ErrorMessage field's value. 37574 func (s *JobRun) SetErrorMessage(v string) *JobRun { 37575 s.ErrorMessage = &v 37576 return s 37577 } 37578 37579 // SetExecutionTime sets the ExecutionTime field's value. 37580 func (s *JobRun) SetExecutionTime(v int64) *JobRun { 37581 s.ExecutionTime = &v 37582 return s 37583 } 37584 37585 // SetGlueVersion sets the GlueVersion field's value. 37586 func (s *JobRun) SetGlueVersion(v string) *JobRun { 37587 s.GlueVersion = &v 37588 return s 37589 } 37590 37591 // SetId sets the Id field's value. 37592 func (s *JobRun) SetId(v string) *JobRun { 37593 s.Id = &v 37594 return s 37595 } 37596 37597 // SetJobName sets the JobName field's value. 37598 func (s *JobRun) SetJobName(v string) *JobRun { 37599 s.JobName = &v 37600 return s 37601 } 37602 37603 // SetJobRunState sets the JobRunState field's value. 37604 func (s *JobRun) SetJobRunState(v string) *JobRun { 37605 s.JobRunState = &v 37606 return s 37607 } 37608 37609 // SetLastModifiedOn sets the LastModifiedOn field's value. 37610 func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun { 37611 s.LastModifiedOn = &v 37612 return s 37613 } 37614 37615 // SetLogGroupName sets the LogGroupName field's value. 37616 func (s *JobRun) SetLogGroupName(v string) *JobRun { 37617 s.LogGroupName = &v 37618 return s 37619 } 37620 37621 // SetMaxCapacity sets the MaxCapacity field's value. 37622 func (s *JobRun) SetMaxCapacity(v float64) *JobRun { 37623 s.MaxCapacity = &v 37624 return s 37625 } 37626 37627 // SetNotificationProperty sets the NotificationProperty field's value. 37628 func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun { 37629 s.NotificationProperty = v 37630 return s 37631 } 37632 37633 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 37634 func (s *JobRun) SetNumberOfWorkers(v int64) *JobRun { 37635 s.NumberOfWorkers = &v 37636 return s 37637 } 37638 37639 // SetPredecessorRuns sets the PredecessorRuns field's value. 37640 func (s *JobRun) SetPredecessorRuns(v []*Predecessor) *JobRun { 37641 s.PredecessorRuns = v 37642 return s 37643 } 37644 37645 // SetPreviousRunId sets the PreviousRunId field's value. 37646 func (s *JobRun) SetPreviousRunId(v string) *JobRun { 37647 s.PreviousRunId = &v 37648 return s 37649 } 37650 37651 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 37652 func (s *JobRun) SetSecurityConfiguration(v string) *JobRun { 37653 s.SecurityConfiguration = &v 37654 return s 37655 } 37656 37657 // SetStartedOn sets the StartedOn field's value. 37658 func (s *JobRun) SetStartedOn(v time.Time) *JobRun { 37659 s.StartedOn = &v 37660 return s 37661 } 37662 37663 // SetTimeout sets the Timeout field's value. 37664 func (s *JobRun) SetTimeout(v int64) *JobRun { 37665 s.Timeout = &v 37666 return s 37667 } 37668 37669 // SetTriggerName sets the TriggerName field's value. 37670 func (s *JobRun) SetTriggerName(v string) *JobRun { 37671 s.TriggerName = &v 37672 return s 37673 } 37674 37675 // SetWorkerType sets the WorkerType field's value. 37676 func (s *JobRun) SetWorkerType(v string) *JobRun { 37677 s.WorkerType = &v 37678 return s 37679 } 37680 37681 // Specifies information used to update an existing job definition. The previous 37682 // job definition is completely overwritten by this information. 37683 type JobUpdate struct { 37684 _ struct{} `type:"structure"` 37685 37686 // This field is deprecated. Use MaxCapacity instead. 37687 // 37688 // The number of Glue data processing units (DPUs) to allocate to this job. 37689 // You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative 37690 // measure of processing power that consists of 4 vCPUs of compute capacity 37691 // and 16 GB of memory. For more information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 37692 // 37693 // Deprecated: This property is deprecated, use MaxCapacity instead. 37694 AllocatedCapacity *int64 `deprecated:"true" type:"integer"` 37695 37696 // The JobCommand that runs this job (required). 37697 Command *JobCommand `type:"structure"` 37698 37699 // The connections used for this job. 37700 Connections *ConnectionsList `type:"structure"` 37701 37702 // The default arguments for this job. 37703 // 37704 // You can specify arguments here that your own job-execution script consumes, 37705 // as well as arguments that Glue itself consumes. 37706 // 37707 // For information about how to specify and consume your own Job arguments, 37708 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 37709 // topic in the developer guide. 37710 // 37711 // For information about the key-value pairs that Glue consumes to set up your 37712 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 37713 // topic in the developer guide. 37714 DefaultArguments map[string]*string `type:"map"` 37715 37716 // Description of the job being defined. 37717 Description *string `type:"string"` 37718 37719 // An ExecutionProperty specifying the maximum number of concurrent runs allowed 37720 // for this job. 37721 ExecutionProperty *ExecutionProperty `type:"structure"` 37722 37723 // Glue version determines the versions of Apache Spark and Python that Glue 37724 // supports. The Python version indicates the version supported for jobs of 37725 // type Spark. 37726 // 37727 // For more information about the available Glue versions and corresponding 37728 // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) 37729 // in the developer guide. 37730 GlueVersion *string `min:"1" type:"string"` 37731 37732 // This field is reserved for future use. 37733 LogUri *string `type:"string"` 37734 37735 // For Glue version 1.0 or earlier jobs, using the standard worker type, the 37736 // number of Glue data processing units (DPUs) that can be allocated when this 37737 // job runs. A DPU is a relative measure of processing power that consists of 37738 // 4 vCPUs of compute capacity and 16 GB of memory. For more information, see 37739 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 37740 // 37741 // Do not set Max Capacity if using WorkerType and NumberOfWorkers. 37742 // 37743 // The value that can be allocated for MaxCapacity depends on whether you are 37744 // running a Python shell job or an Apache Spark ETL job: 37745 // 37746 // * When you specify a Python shell job (JobCommand.Name="pythonshell"), 37747 // you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. 37748 // 37749 // * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl") 37750 // or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you 37751 // can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type 37752 // cannot have a fractional DPU allocation. 37753 // 37754 // For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity. 37755 // Instead, you should specify a Worker type and the Number of workers. 37756 MaxCapacity *float64 `type:"double"` 37757 37758 // The maximum number of times to retry this job if it fails. 37759 MaxRetries *int64 `type:"integer"` 37760 37761 // Non-overridable arguments for this job, specified as name-value pairs. 37762 NonOverridableArguments map[string]*string `type:"map"` 37763 37764 // Specifies the configuration properties of a job notification. 37765 NotificationProperty *NotificationProperty `type:"structure"` 37766 37767 // The number of workers of a defined workerType that are allocated when a job 37768 // runs. 37769 // 37770 // The maximum number of workers you can define are 299 for G.1X, and 149 for 37771 // G.2X. 37772 NumberOfWorkers *int64 `type:"integer"` 37773 37774 // The name or Amazon Resource Name (ARN) of the IAM role associated with this 37775 // job (required). 37776 Role *string `type:"string"` 37777 37778 // The name of the SecurityConfiguration structure to be used with this job. 37779 SecurityConfiguration *string `min:"1" type:"string"` 37780 37781 // The job timeout in minutes. This is the maximum time that a job run can consume 37782 // resources before it is terminated and enters TIMEOUT status. The default 37783 // is 2,880 minutes (48 hours). 37784 Timeout *int64 `min:"1" type:"integer"` 37785 37786 // The type of predefined worker that is allocated when a job runs. Accepts 37787 // a value of Standard, G.1X, or G.2X. 37788 // 37789 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 37790 // memory and a 50GB disk, and 2 executors per worker. 37791 // 37792 // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of 37793 // memory, 64 GB disk), and provides 1 executor per worker. We recommend 37794 // this worker type for memory-intensive jobs. 37795 // 37796 // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of 37797 // memory, 128 GB disk), and provides 1 executor per worker. We recommend 37798 // this worker type for memory-intensive jobs. 37799 WorkerType *string `type:"string" enum:"WorkerType"` 37800 } 37801 37802 // String returns the string representation. 37803 // 37804 // API parameter values that are decorated as "sensitive" in the API will not 37805 // be included in the string output. The member name will be present, but the 37806 // value will be replaced with "sensitive". 37807 func (s JobUpdate) String() string { 37808 return awsutil.Prettify(s) 37809 } 37810 37811 // GoString returns the string representation. 37812 // 37813 // API parameter values that are decorated as "sensitive" in the API will not 37814 // be included in the string output. The member name will be present, but the 37815 // value will be replaced with "sensitive". 37816 func (s JobUpdate) GoString() string { 37817 return s.String() 37818 } 37819 37820 // Validate inspects the fields of the type to determine if they are valid. 37821 func (s *JobUpdate) Validate() error { 37822 invalidParams := request.ErrInvalidParams{Context: "JobUpdate"} 37823 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 37824 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 37825 } 37826 if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { 37827 invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) 37828 } 37829 if s.Timeout != nil && *s.Timeout < 1 { 37830 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 37831 } 37832 if s.NotificationProperty != nil { 37833 if err := s.NotificationProperty.Validate(); err != nil { 37834 invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) 37835 } 37836 } 37837 37838 if invalidParams.Len() > 0 { 37839 return invalidParams 37840 } 37841 return nil 37842 } 37843 37844 // SetAllocatedCapacity sets the AllocatedCapacity field's value. 37845 func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate { 37846 s.AllocatedCapacity = &v 37847 return s 37848 } 37849 37850 // SetCommand sets the Command field's value. 37851 func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate { 37852 s.Command = v 37853 return s 37854 } 37855 37856 // SetConnections sets the Connections field's value. 37857 func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate { 37858 s.Connections = v 37859 return s 37860 } 37861 37862 // SetDefaultArguments sets the DefaultArguments field's value. 37863 func (s *JobUpdate) SetDefaultArguments(v map[string]*string) *JobUpdate { 37864 s.DefaultArguments = v 37865 return s 37866 } 37867 37868 // SetDescription sets the Description field's value. 37869 func (s *JobUpdate) SetDescription(v string) *JobUpdate { 37870 s.Description = &v 37871 return s 37872 } 37873 37874 // SetExecutionProperty sets the ExecutionProperty field's value. 37875 func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate { 37876 s.ExecutionProperty = v 37877 return s 37878 } 37879 37880 // SetGlueVersion sets the GlueVersion field's value. 37881 func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate { 37882 s.GlueVersion = &v 37883 return s 37884 } 37885 37886 // SetLogUri sets the LogUri field's value. 37887 func (s *JobUpdate) SetLogUri(v string) *JobUpdate { 37888 s.LogUri = &v 37889 return s 37890 } 37891 37892 // SetMaxCapacity sets the MaxCapacity field's value. 37893 func (s *JobUpdate) SetMaxCapacity(v float64) *JobUpdate { 37894 s.MaxCapacity = &v 37895 return s 37896 } 37897 37898 // SetMaxRetries sets the MaxRetries field's value. 37899 func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate { 37900 s.MaxRetries = &v 37901 return s 37902 } 37903 37904 // SetNonOverridableArguments sets the NonOverridableArguments field's value. 37905 func (s *JobUpdate) SetNonOverridableArguments(v map[string]*string) *JobUpdate { 37906 s.NonOverridableArguments = v 37907 return s 37908 } 37909 37910 // SetNotificationProperty sets the NotificationProperty field's value. 37911 func (s *JobUpdate) SetNotificationProperty(v *NotificationProperty) *JobUpdate { 37912 s.NotificationProperty = v 37913 return s 37914 } 37915 37916 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 37917 func (s *JobUpdate) SetNumberOfWorkers(v int64) *JobUpdate { 37918 s.NumberOfWorkers = &v 37919 return s 37920 } 37921 37922 // SetRole sets the Role field's value. 37923 func (s *JobUpdate) SetRole(v string) *JobUpdate { 37924 s.Role = &v 37925 return s 37926 } 37927 37928 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 37929 func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate { 37930 s.SecurityConfiguration = &v 37931 return s 37932 } 37933 37934 // SetTimeout sets the Timeout field's value. 37935 func (s *JobUpdate) SetTimeout(v int64) *JobUpdate { 37936 s.Timeout = &v 37937 return s 37938 } 37939 37940 // SetWorkerType sets the WorkerType field's value. 37941 func (s *JobUpdate) SetWorkerType(v string) *JobUpdate { 37942 s.WorkerType = &v 37943 return s 37944 } 37945 37946 // A classifier for JSON content. 37947 type JsonClassifier struct { 37948 _ struct{} `type:"structure"` 37949 37950 // The time that this classifier was registered. 37951 CreationTime *time.Time `type:"timestamp"` 37952 37953 // A JsonPath string defining the JSON data for the classifier to classify. 37954 // Glue supports a subset of JsonPath, as described in Writing JsonPath Custom 37955 // Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json). 37956 // 37957 // JsonPath is a required field 37958 JsonPath *string `type:"string" required:"true"` 37959 37960 // The time that this classifier was last updated. 37961 LastUpdated *time.Time `type:"timestamp"` 37962 37963 // The name of the classifier. 37964 // 37965 // Name is a required field 37966 Name *string `min:"1" type:"string" required:"true"` 37967 37968 // The version of this classifier. 37969 Version *int64 `type:"long"` 37970 } 37971 37972 // String returns the string representation. 37973 // 37974 // API parameter values that are decorated as "sensitive" in the API will not 37975 // be included in the string output. The member name will be present, but the 37976 // value will be replaced with "sensitive". 37977 func (s JsonClassifier) String() string { 37978 return awsutil.Prettify(s) 37979 } 37980 37981 // GoString returns the string representation. 37982 // 37983 // API parameter values that are decorated as "sensitive" in the API will not 37984 // be included in the string output. The member name will be present, but the 37985 // value will be replaced with "sensitive". 37986 func (s JsonClassifier) GoString() string { 37987 return s.String() 37988 } 37989 37990 // SetCreationTime sets the CreationTime field's value. 37991 func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier { 37992 s.CreationTime = &v 37993 return s 37994 } 37995 37996 // SetJsonPath sets the JsonPath field's value. 37997 func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier { 37998 s.JsonPath = &v 37999 return s 38000 } 38001 38002 // SetLastUpdated sets the LastUpdated field's value. 38003 func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier { 38004 s.LastUpdated = &v 38005 return s 38006 } 38007 38008 // SetName sets the Name field's value. 38009 func (s *JsonClassifier) SetName(v string) *JsonClassifier { 38010 s.Name = &v 38011 return s 38012 } 38013 38014 // SetVersion sets the Version field's value. 38015 func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier { 38016 s.Version = &v 38017 return s 38018 } 38019 38020 // A partition key pair consisting of a name and a type. 38021 type KeySchemaElement struct { 38022 _ struct{} `type:"structure"` 38023 38024 // The name of a partition key. 38025 // 38026 // Name is a required field 38027 Name *string `min:"1" type:"string" required:"true"` 38028 38029 // The type of a partition key. 38030 // 38031 // Type is a required field 38032 Type *string `type:"string" required:"true"` 38033 } 38034 38035 // String returns the string representation. 38036 // 38037 // API parameter values that are decorated as "sensitive" in the API will not 38038 // be included in the string output. The member name will be present, but the 38039 // value will be replaced with "sensitive". 38040 func (s KeySchemaElement) String() string { 38041 return awsutil.Prettify(s) 38042 } 38043 38044 // GoString returns the string representation. 38045 // 38046 // API parameter values that are decorated as "sensitive" in the API will not 38047 // be included in the string output. The member name will be present, but the 38048 // value will be replaced with "sensitive". 38049 func (s KeySchemaElement) GoString() string { 38050 return s.String() 38051 } 38052 38053 // SetName sets the Name field's value. 38054 func (s *KeySchemaElement) SetName(v string) *KeySchemaElement { 38055 s.Name = &v 38056 return s 38057 } 38058 38059 // SetType sets the Type field's value. 38060 func (s *KeySchemaElement) SetType(v string) *KeySchemaElement { 38061 s.Type = &v 38062 return s 38063 } 38064 38065 // Specifies configuration properties for a labeling set generation task run. 38066 type LabelingSetGenerationTaskRunProperties struct { 38067 _ struct{} `type:"structure"` 38068 38069 // The Amazon Simple Storage Service (Amazon S3) path where you will generate 38070 // the labeling set. 38071 OutputS3Path *string `type:"string"` 38072 } 38073 38074 // String returns the string representation. 38075 // 38076 // API parameter values that are decorated as "sensitive" in the API will not 38077 // be included in the string output. The member name will be present, but the 38078 // value will be replaced with "sensitive". 38079 func (s LabelingSetGenerationTaskRunProperties) String() string { 38080 return awsutil.Prettify(s) 38081 } 38082 38083 // GoString returns the string representation. 38084 // 38085 // API parameter values that are decorated as "sensitive" in the API will not 38086 // be included in the string output. The member name will be present, but the 38087 // value will be replaced with "sensitive". 38088 func (s LabelingSetGenerationTaskRunProperties) GoString() string { 38089 return s.String() 38090 } 38091 38092 // SetOutputS3Path sets the OutputS3Path field's value. 38093 func (s *LabelingSetGenerationTaskRunProperties) SetOutputS3Path(v string) *LabelingSetGenerationTaskRunProperties { 38094 s.OutputS3Path = &v 38095 return s 38096 } 38097 38098 // When there are multiple versions of a blueprint and the latest version has 38099 // some errors, this attribute indicates the last successful blueprint definition 38100 // that is available with the service. 38101 type LastActiveDefinition struct { 38102 _ struct{} `type:"structure"` 38103 38104 // Specifies a path in Amazon S3 where the blueprint is published by the Glue 38105 // developer. 38106 BlueprintLocation *string `type:"string"` 38107 38108 // Specifies a path in Amazon S3 where the blueprint is copied when you create 38109 // or update the blueprint. 38110 BlueprintServiceLocation *string `type:"string"` 38111 38112 // The description of the blueprint. 38113 Description *string `min:"1" type:"string"` 38114 38115 // The date and time the blueprint was last modified. 38116 LastModifiedOn *time.Time `type:"timestamp"` 38117 38118 // A JSON string specifying the parameters for the blueprint. 38119 ParameterSpec *string `min:"1" type:"string"` 38120 } 38121 38122 // String returns the string representation. 38123 // 38124 // API parameter values that are decorated as "sensitive" in the API will not 38125 // be included in the string output. The member name will be present, but the 38126 // value will be replaced with "sensitive". 38127 func (s LastActiveDefinition) String() string { 38128 return awsutil.Prettify(s) 38129 } 38130 38131 // GoString returns the string representation. 38132 // 38133 // API parameter values that are decorated as "sensitive" in the API will not 38134 // be included in the string output. The member name will be present, but the 38135 // value will be replaced with "sensitive". 38136 func (s LastActiveDefinition) GoString() string { 38137 return s.String() 38138 } 38139 38140 // SetBlueprintLocation sets the BlueprintLocation field's value. 38141 func (s *LastActiveDefinition) SetBlueprintLocation(v string) *LastActiveDefinition { 38142 s.BlueprintLocation = &v 38143 return s 38144 } 38145 38146 // SetBlueprintServiceLocation sets the BlueprintServiceLocation field's value. 38147 func (s *LastActiveDefinition) SetBlueprintServiceLocation(v string) *LastActiveDefinition { 38148 s.BlueprintServiceLocation = &v 38149 return s 38150 } 38151 38152 // SetDescription sets the Description field's value. 38153 func (s *LastActiveDefinition) SetDescription(v string) *LastActiveDefinition { 38154 s.Description = &v 38155 return s 38156 } 38157 38158 // SetLastModifiedOn sets the LastModifiedOn field's value. 38159 func (s *LastActiveDefinition) SetLastModifiedOn(v time.Time) *LastActiveDefinition { 38160 s.LastModifiedOn = &v 38161 return s 38162 } 38163 38164 // SetParameterSpec sets the ParameterSpec field's value. 38165 func (s *LastActiveDefinition) SetParameterSpec(v string) *LastActiveDefinition { 38166 s.ParameterSpec = &v 38167 return s 38168 } 38169 38170 // Status and error information about the most recent crawl. 38171 type LastCrawlInfo struct { 38172 _ struct{} `type:"structure"` 38173 38174 // If an error occurred, the error information about the last crawl. 38175 ErrorMessage *string `type:"string"` 38176 38177 // The log group for the last crawl. 38178 LogGroup *string `min:"1" type:"string"` 38179 38180 // The log stream for the last crawl. 38181 LogStream *string `min:"1" type:"string"` 38182 38183 // The prefix for a message about this crawl. 38184 MessagePrefix *string `min:"1" type:"string"` 38185 38186 // The time at which the crawl started. 38187 StartTime *time.Time `type:"timestamp"` 38188 38189 // Status of the last crawl. 38190 Status *string `type:"string" enum:"LastCrawlStatus"` 38191 } 38192 38193 // String returns the string representation. 38194 // 38195 // API parameter values that are decorated as "sensitive" in the API will not 38196 // be included in the string output. The member name will be present, but the 38197 // value will be replaced with "sensitive". 38198 func (s LastCrawlInfo) String() string { 38199 return awsutil.Prettify(s) 38200 } 38201 38202 // GoString returns the string representation. 38203 // 38204 // API parameter values that are decorated as "sensitive" in the API will not 38205 // be included in the string output. The member name will be present, but the 38206 // value will be replaced with "sensitive". 38207 func (s LastCrawlInfo) GoString() string { 38208 return s.String() 38209 } 38210 38211 // SetErrorMessage sets the ErrorMessage field's value. 38212 func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo { 38213 s.ErrorMessage = &v 38214 return s 38215 } 38216 38217 // SetLogGroup sets the LogGroup field's value. 38218 func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo { 38219 s.LogGroup = &v 38220 return s 38221 } 38222 38223 // SetLogStream sets the LogStream field's value. 38224 func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo { 38225 s.LogStream = &v 38226 return s 38227 } 38228 38229 // SetMessagePrefix sets the MessagePrefix field's value. 38230 func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo { 38231 s.MessagePrefix = &v 38232 return s 38233 } 38234 38235 // SetStartTime sets the StartTime field's value. 38236 func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo { 38237 s.StartTime = &v 38238 return s 38239 } 38240 38241 // SetStatus sets the Status field's value. 38242 func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo { 38243 s.Status = &v 38244 return s 38245 } 38246 38247 // Specifies data lineage configuration settings for the crawler. 38248 type LineageConfiguration struct { 38249 _ struct{} `type:"structure"` 38250 38251 // Specifies whether data lineage is enabled for the crawler. Valid values are: 38252 // 38253 // * ENABLE: enables data lineage for the crawler 38254 // 38255 // * DISABLE: disables data lineage for the crawler 38256 CrawlerLineageSettings *string `type:"string" enum:"CrawlerLineageSettings"` 38257 } 38258 38259 // String returns the string representation. 38260 // 38261 // API parameter values that are decorated as "sensitive" in the API will not 38262 // be included in the string output. The member name will be present, but the 38263 // value will be replaced with "sensitive". 38264 func (s LineageConfiguration) String() string { 38265 return awsutil.Prettify(s) 38266 } 38267 38268 // GoString returns the string representation. 38269 // 38270 // API parameter values that are decorated as "sensitive" in the API will not 38271 // be included in the string output. The member name will be present, but the 38272 // value will be replaced with "sensitive". 38273 func (s LineageConfiguration) GoString() string { 38274 return s.String() 38275 } 38276 38277 // SetCrawlerLineageSettings sets the CrawlerLineageSettings field's value. 38278 func (s *LineageConfiguration) SetCrawlerLineageSettings(v string) *LineageConfiguration { 38279 s.CrawlerLineageSettings = &v 38280 return s 38281 } 38282 38283 type ListBlueprintsInput struct { 38284 _ struct{} `type:"structure"` 38285 38286 // The maximum size of a list to return. 38287 MaxResults *int64 `min:"1" type:"integer"` 38288 38289 // A continuation token, if this is a continuation request. 38290 NextToken *string `type:"string"` 38291 38292 // Filters the list by an Amazon Web Services resource tag. 38293 Tags map[string]*string `type:"map"` 38294 } 38295 38296 // String returns the string representation. 38297 // 38298 // API parameter values that are decorated as "sensitive" in the API will not 38299 // be included in the string output. The member name will be present, but the 38300 // value will be replaced with "sensitive". 38301 func (s ListBlueprintsInput) String() string { 38302 return awsutil.Prettify(s) 38303 } 38304 38305 // GoString returns the string representation. 38306 // 38307 // API parameter values that are decorated as "sensitive" in the API will not 38308 // be included in the string output. The member name will be present, but the 38309 // value will be replaced with "sensitive". 38310 func (s ListBlueprintsInput) GoString() string { 38311 return s.String() 38312 } 38313 38314 // Validate inspects the fields of the type to determine if they are valid. 38315 func (s *ListBlueprintsInput) Validate() error { 38316 invalidParams := request.ErrInvalidParams{Context: "ListBlueprintsInput"} 38317 if s.MaxResults != nil && *s.MaxResults < 1 { 38318 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38319 } 38320 38321 if invalidParams.Len() > 0 { 38322 return invalidParams 38323 } 38324 return nil 38325 } 38326 38327 // SetMaxResults sets the MaxResults field's value. 38328 func (s *ListBlueprintsInput) SetMaxResults(v int64) *ListBlueprintsInput { 38329 s.MaxResults = &v 38330 return s 38331 } 38332 38333 // SetNextToken sets the NextToken field's value. 38334 func (s *ListBlueprintsInput) SetNextToken(v string) *ListBlueprintsInput { 38335 s.NextToken = &v 38336 return s 38337 } 38338 38339 // SetTags sets the Tags field's value. 38340 func (s *ListBlueprintsInput) SetTags(v map[string]*string) *ListBlueprintsInput { 38341 s.Tags = v 38342 return s 38343 } 38344 38345 type ListBlueprintsOutput struct { 38346 _ struct{} `type:"structure"` 38347 38348 // List of names of blueprints in the account. 38349 Blueprints []*string `type:"list"` 38350 38351 // A continuation token, if not all blueprint names have been returned. 38352 NextToken *string `type:"string"` 38353 } 38354 38355 // String returns the string representation. 38356 // 38357 // API parameter values that are decorated as "sensitive" in the API will not 38358 // be included in the string output. The member name will be present, but the 38359 // value will be replaced with "sensitive". 38360 func (s ListBlueprintsOutput) String() string { 38361 return awsutil.Prettify(s) 38362 } 38363 38364 // GoString returns the string representation. 38365 // 38366 // API parameter values that are decorated as "sensitive" in the API will not 38367 // be included in the string output. The member name will be present, but the 38368 // value will be replaced with "sensitive". 38369 func (s ListBlueprintsOutput) GoString() string { 38370 return s.String() 38371 } 38372 38373 // SetBlueprints sets the Blueprints field's value. 38374 func (s *ListBlueprintsOutput) SetBlueprints(v []*string) *ListBlueprintsOutput { 38375 s.Blueprints = v 38376 return s 38377 } 38378 38379 // SetNextToken sets the NextToken field's value. 38380 func (s *ListBlueprintsOutput) SetNextToken(v string) *ListBlueprintsOutput { 38381 s.NextToken = &v 38382 return s 38383 } 38384 38385 type ListCrawlersInput struct { 38386 _ struct{} `type:"structure"` 38387 38388 // The maximum size of a list to return. 38389 MaxResults *int64 `min:"1" type:"integer"` 38390 38391 // A continuation token, if this is a continuation request. 38392 NextToken *string `type:"string"` 38393 38394 // Specifies to return only these tagged resources. 38395 Tags map[string]*string `type:"map"` 38396 } 38397 38398 // String returns the string representation. 38399 // 38400 // API parameter values that are decorated as "sensitive" in the API will not 38401 // be included in the string output. The member name will be present, but the 38402 // value will be replaced with "sensitive". 38403 func (s ListCrawlersInput) String() string { 38404 return awsutil.Prettify(s) 38405 } 38406 38407 // GoString returns the string representation. 38408 // 38409 // API parameter values that are decorated as "sensitive" in the API will not 38410 // be included in the string output. The member name will be present, but the 38411 // value will be replaced with "sensitive". 38412 func (s ListCrawlersInput) GoString() string { 38413 return s.String() 38414 } 38415 38416 // Validate inspects the fields of the type to determine if they are valid. 38417 func (s *ListCrawlersInput) Validate() error { 38418 invalidParams := request.ErrInvalidParams{Context: "ListCrawlersInput"} 38419 if s.MaxResults != nil && *s.MaxResults < 1 { 38420 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38421 } 38422 38423 if invalidParams.Len() > 0 { 38424 return invalidParams 38425 } 38426 return nil 38427 } 38428 38429 // SetMaxResults sets the MaxResults field's value. 38430 func (s *ListCrawlersInput) SetMaxResults(v int64) *ListCrawlersInput { 38431 s.MaxResults = &v 38432 return s 38433 } 38434 38435 // SetNextToken sets the NextToken field's value. 38436 func (s *ListCrawlersInput) SetNextToken(v string) *ListCrawlersInput { 38437 s.NextToken = &v 38438 return s 38439 } 38440 38441 // SetTags sets the Tags field's value. 38442 func (s *ListCrawlersInput) SetTags(v map[string]*string) *ListCrawlersInput { 38443 s.Tags = v 38444 return s 38445 } 38446 38447 type ListCrawlersOutput struct { 38448 _ struct{} `type:"structure"` 38449 38450 // The names of all crawlers in the account, or the crawlers with the specified 38451 // tags. 38452 CrawlerNames []*string `type:"list"` 38453 38454 // A continuation token, if the returned list does not contain the last metric 38455 // available. 38456 NextToken *string `type:"string"` 38457 } 38458 38459 // String returns the string representation. 38460 // 38461 // API parameter values that are decorated as "sensitive" in the API will not 38462 // be included in the string output. The member name will be present, but the 38463 // value will be replaced with "sensitive". 38464 func (s ListCrawlersOutput) String() string { 38465 return awsutil.Prettify(s) 38466 } 38467 38468 // GoString returns the string representation. 38469 // 38470 // API parameter values that are decorated as "sensitive" in the API will not 38471 // be included in the string output. The member name will be present, but the 38472 // value will be replaced with "sensitive". 38473 func (s ListCrawlersOutput) GoString() string { 38474 return s.String() 38475 } 38476 38477 // SetCrawlerNames sets the CrawlerNames field's value. 38478 func (s *ListCrawlersOutput) SetCrawlerNames(v []*string) *ListCrawlersOutput { 38479 s.CrawlerNames = v 38480 return s 38481 } 38482 38483 // SetNextToken sets the NextToken field's value. 38484 func (s *ListCrawlersOutput) SetNextToken(v string) *ListCrawlersOutput { 38485 s.NextToken = &v 38486 return s 38487 } 38488 38489 type ListDevEndpointsInput struct { 38490 _ struct{} `type:"structure"` 38491 38492 // The maximum size of a list to return. 38493 MaxResults *int64 `min:"1" type:"integer"` 38494 38495 // A continuation token, if this is a continuation request. 38496 NextToken *string `type:"string"` 38497 38498 // Specifies to return only these tagged resources. 38499 Tags map[string]*string `type:"map"` 38500 } 38501 38502 // String returns the string representation. 38503 // 38504 // API parameter values that are decorated as "sensitive" in the API will not 38505 // be included in the string output. The member name will be present, but the 38506 // value will be replaced with "sensitive". 38507 func (s ListDevEndpointsInput) String() string { 38508 return awsutil.Prettify(s) 38509 } 38510 38511 // GoString returns the string representation. 38512 // 38513 // API parameter values that are decorated as "sensitive" in the API will not 38514 // be included in the string output. The member name will be present, but the 38515 // value will be replaced with "sensitive". 38516 func (s ListDevEndpointsInput) GoString() string { 38517 return s.String() 38518 } 38519 38520 // Validate inspects the fields of the type to determine if they are valid. 38521 func (s *ListDevEndpointsInput) Validate() error { 38522 invalidParams := request.ErrInvalidParams{Context: "ListDevEndpointsInput"} 38523 if s.MaxResults != nil && *s.MaxResults < 1 { 38524 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38525 } 38526 38527 if invalidParams.Len() > 0 { 38528 return invalidParams 38529 } 38530 return nil 38531 } 38532 38533 // SetMaxResults sets the MaxResults field's value. 38534 func (s *ListDevEndpointsInput) SetMaxResults(v int64) *ListDevEndpointsInput { 38535 s.MaxResults = &v 38536 return s 38537 } 38538 38539 // SetNextToken sets the NextToken field's value. 38540 func (s *ListDevEndpointsInput) SetNextToken(v string) *ListDevEndpointsInput { 38541 s.NextToken = &v 38542 return s 38543 } 38544 38545 // SetTags sets the Tags field's value. 38546 func (s *ListDevEndpointsInput) SetTags(v map[string]*string) *ListDevEndpointsInput { 38547 s.Tags = v 38548 return s 38549 } 38550 38551 type ListDevEndpointsOutput struct { 38552 _ struct{} `type:"structure"` 38553 38554 // The names of all the DevEndpoints in the account, or the DevEndpoints with 38555 // the specified tags. 38556 DevEndpointNames []*string `type:"list"` 38557 38558 // A continuation token, if the returned list does not contain the last metric 38559 // available. 38560 NextToken *string `type:"string"` 38561 } 38562 38563 // String returns the string representation. 38564 // 38565 // API parameter values that are decorated as "sensitive" in the API will not 38566 // be included in the string output. The member name will be present, but the 38567 // value will be replaced with "sensitive". 38568 func (s ListDevEndpointsOutput) String() string { 38569 return awsutil.Prettify(s) 38570 } 38571 38572 // GoString returns the string representation. 38573 // 38574 // API parameter values that are decorated as "sensitive" in the API will not 38575 // be included in the string output. The member name will be present, but the 38576 // value will be replaced with "sensitive". 38577 func (s ListDevEndpointsOutput) GoString() string { 38578 return s.String() 38579 } 38580 38581 // SetDevEndpointNames sets the DevEndpointNames field's value. 38582 func (s *ListDevEndpointsOutput) SetDevEndpointNames(v []*string) *ListDevEndpointsOutput { 38583 s.DevEndpointNames = v 38584 return s 38585 } 38586 38587 // SetNextToken sets the NextToken field's value. 38588 func (s *ListDevEndpointsOutput) SetNextToken(v string) *ListDevEndpointsOutput { 38589 s.NextToken = &v 38590 return s 38591 } 38592 38593 type ListJobsInput struct { 38594 _ struct{} `type:"structure"` 38595 38596 // The maximum size of a list to return. 38597 MaxResults *int64 `min:"1" type:"integer"` 38598 38599 // A continuation token, if this is a continuation request. 38600 NextToken *string `type:"string"` 38601 38602 // Specifies to return only these tagged resources. 38603 Tags map[string]*string `type:"map"` 38604 } 38605 38606 // String returns the string representation. 38607 // 38608 // API parameter values that are decorated as "sensitive" in the API will not 38609 // be included in the string output. The member name will be present, but the 38610 // value will be replaced with "sensitive". 38611 func (s ListJobsInput) String() string { 38612 return awsutil.Prettify(s) 38613 } 38614 38615 // GoString returns the string representation. 38616 // 38617 // API parameter values that are decorated as "sensitive" in the API will not 38618 // be included in the string output. The member name will be present, but the 38619 // value will be replaced with "sensitive". 38620 func (s ListJobsInput) GoString() string { 38621 return s.String() 38622 } 38623 38624 // Validate inspects the fields of the type to determine if they are valid. 38625 func (s *ListJobsInput) Validate() error { 38626 invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"} 38627 if s.MaxResults != nil && *s.MaxResults < 1 { 38628 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38629 } 38630 38631 if invalidParams.Len() > 0 { 38632 return invalidParams 38633 } 38634 return nil 38635 } 38636 38637 // SetMaxResults sets the MaxResults field's value. 38638 func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { 38639 s.MaxResults = &v 38640 return s 38641 } 38642 38643 // SetNextToken sets the NextToken field's value. 38644 func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { 38645 s.NextToken = &v 38646 return s 38647 } 38648 38649 // SetTags sets the Tags field's value. 38650 func (s *ListJobsInput) SetTags(v map[string]*string) *ListJobsInput { 38651 s.Tags = v 38652 return s 38653 } 38654 38655 type ListJobsOutput struct { 38656 _ struct{} `type:"structure"` 38657 38658 // The names of all jobs in the account, or the jobs with the specified tags. 38659 JobNames []*string `type:"list"` 38660 38661 // A continuation token, if the returned list does not contain the last metric 38662 // available. 38663 NextToken *string `type:"string"` 38664 } 38665 38666 // String returns the string representation. 38667 // 38668 // API parameter values that are decorated as "sensitive" in the API will not 38669 // be included in the string output. The member name will be present, but the 38670 // value will be replaced with "sensitive". 38671 func (s ListJobsOutput) String() string { 38672 return awsutil.Prettify(s) 38673 } 38674 38675 // GoString returns the string representation. 38676 // 38677 // API parameter values that are decorated as "sensitive" in the API will not 38678 // be included in the string output. The member name will be present, but the 38679 // value will be replaced with "sensitive". 38680 func (s ListJobsOutput) GoString() string { 38681 return s.String() 38682 } 38683 38684 // SetJobNames sets the JobNames field's value. 38685 func (s *ListJobsOutput) SetJobNames(v []*string) *ListJobsOutput { 38686 s.JobNames = v 38687 return s 38688 } 38689 38690 // SetNextToken sets the NextToken field's value. 38691 func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { 38692 s.NextToken = &v 38693 return s 38694 } 38695 38696 type ListMLTransformsInput struct { 38697 _ struct{} `type:"structure"` 38698 38699 // A TransformFilterCriteria used to filter the machine learning transforms. 38700 Filter *TransformFilterCriteria `type:"structure"` 38701 38702 // The maximum size of a list to return. 38703 MaxResults *int64 `min:"1" type:"integer"` 38704 38705 // A continuation token, if this is a continuation request. 38706 NextToken *string `type:"string"` 38707 38708 // A TransformSortCriteria used to sort the machine learning transforms. 38709 Sort *TransformSortCriteria `type:"structure"` 38710 38711 // Specifies to return only these tagged resources. 38712 Tags map[string]*string `type:"map"` 38713 } 38714 38715 // String returns the string representation. 38716 // 38717 // API parameter values that are decorated as "sensitive" in the API will not 38718 // be included in the string output. The member name will be present, but the 38719 // value will be replaced with "sensitive". 38720 func (s ListMLTransformsInput) String() string { 38721 return awsutil.Prettify(s) 38722 } 38723 38724 // GoString returns the string representation. 38725 // 38726 // API parameter values that are decorated as "sensitive" in the API will not 38727 // be included in the string output. The member name will be present, but the 38728 // value will be replaced with "sensitive". 38729 func (s ListMLTransformsInput) GoString() string { 38730 return s.String() 38731 } 38732 38733 // Validate inspects the fields of the type to determine if they are valid. 38734 func (s *ListMLTransformsInput) Validate() error { 38735 invalidParams := request.ErrInvalidParams{Context: "ListMLTransformsInput"} 38736 if s.MaxResults != nil && *s.MaxResults < 1 { 38737 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38738 } 38739 if s.Filter != nil { 38740 if err := s.Filter.Validate(); err != nil { 38741 invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) 38742 } 38743 } 38744 if s.Sort != nil { 38745 if err := s.Sort.Validate(); err != nil { 38746 invalidParams.AddNested("Sort", err.(request.ErrInvalidParams)) 38747 } 38748 } 38749 38750 if invalidParams.Len() > 0 { 38751 return invalidParams 38752 } 38753 return nil 38754 } 38755 38756 // SetFilter sets the Filter field's value. 38757 func (s *ListMLTransformsInput) SetFilter(v *TransformFilterCriteria) *ListMLTransformsInput { 38758 s.Filter = v 38759 return s 38760 } 38761 38762 // SetMaxResults sets the MaxResults field's value. 38763 func (s *ListMLTransformsInput) SetMaxResults(v int64) *ListMLTransformsInput { 38764 s.MaxResults = &v 38765 return s 38766 } 38767 38768 // SetNextToken sets the NextToken field's value. 38769 func (s *ListMLTransformsInput) SetNextToken(v string) *ListMLTransformsInput { 38770 s.NextToken = &v 38771 return s 38772 } 38773 38774 // SetSort sets the Sort field's value. 38775 func (s *ListMLTransformsInput) SetSort(v *TransformSortCriteria) *ListMLTransformsInput { 38776 s.Sort = v 38777 return s 38778 } 38779 38780 // SetTags sets the Tags field's value. 38781 func (s *ListMLTransformsInput) SetTags(v map[string]*string) *ListMLTransformsInput { 38782 s.Tags = v 38783 return s 38784 } 38785 38786 type ListMLTransformsOutput struct { 38787 _ struct{} `type:"structure"` 38788 38789 // A continuation token, if the returned list does not contain the last metric 38790 // available. 38791 NextToken *string `type:"string"` 38792 38793 // The identifiers of all the machine learning transforms in the account, or 38794 // the machine learning transforms with the specified tags. 38795 // 38796 // TransformIds is a required field 38797 TransformIds []*string `type:"list" required:"true"` 38798 } 38799 38800 // String returns the string representation. 38801 // 38802 // API parameter values that are decorated as "sensitive" in the API will not 38803 // be included in the string output. The member name will be present, but the 38804 // value will be replaced with "sensitive". 38805 func (s ListMLTransformsOutput) String() string { 38806 return awsutil.Prettify(s) 38807 } 38808 38809 // GoString returns the string representation. 38810 // 38811 // API parameter values that are decorated as "sensitive" in the API will not 38812 // be included in the string output. The member name will be present, but the 38813 // value will be replaced with "sensitive". 38814 func (s ListMLTransformsOutput) GoString() string { 38815 return s.String() 38816 } 38817 38818 // SetNextToken sets the NextToken field's value. 38819 func (s *ListMLTransformsOutput) SetNextToken(v string) *ListMLTransformsOutput { 38820 s.NextToken = &v 38821 return s 38822 } 38823 38824 // SetTransformIds sets the TransformIds field's value. 38825 func (s *ListMLTransformsOutput) SetTransformIds(v []*string) *ListMLTransformsOutput { 38826 s.TransformIds = v 38827 return s 38828 } 38829 38830 type ListRegistriesInput struct { 38831 _ struct{} `type:"structure"` 38832 38833 // Maximum number of results required per page. If the value is not supplied, 38834 // this will be defaulted to 25 per page. 38835 MaxResults *int64 `min:"1" type:"integer"` 38836 38837 // A continuation token, if this is a continuation call. 38838 NextToken *string `type:"string"` 38839 } 38840 38841 // String returns the string representation. 38842 // 38843 // API parameter values that are decorated as "sensitive" in the API will not 38844 // be included in the string output. The member name will be present, but the 38845 // value will be replaced with "sensitive". 38846 func (s ListRegistriesInput) String() string { 38847 return awsutil.Prettify(s) 38848 } 38849 38850 // GoString returns the string representation. 38851 // 38852 // API parameter values that are decorated as "sensitive" in the API will not 38853 // be included in the string output. The member name will be present, but the 38854 // value will be replaced with "sensitive". 38855 func (s ListRegistriesInput) GoString() string { 38856 return s.String() 38857 } 38858 38859 // Validate inspects the fields of the type to determine if they are valid. 38860 func (s *ListRegistriesInput) Validate() error { 38861 invalidParams := request.ErrInvalidParams{Context: "ListRegistriesInput"} 38862 if s.MaxResults != nil && *s.MaxResults < 1 { 38863 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38864 } 38865 38866 if invalidParams.Len() > 0 { 38867 return invalidParams 38868 } 38869 return nil 38870 } 38871 38872 // SetMaxResults sets the MaxResults field's value. 38873 func (s *ListRegistriesInput) SetMaxResults(v int64) *ListRegistriesInput { 38874 s.MaxResults = &v 38875 return s 38876 } 38877 38878 // SetNextToken sets the NextToken field's value. 38879 func (s *ListRegistriesInput) SetNextToken(v string) *ListRegistriesInput { 38880 s.NextToken = &v 38881 return s 38882 } 38883 38884 type ListRegistriesOutput struct { 38885 _ struct{} `type:"structure"` 38886 38887 // A continuation token for paginating the returned list of tokens, returned 38888 // if the current segment of the list is not the last. 38889 NextToken *string `type:"string"` 38890 38891 // An array of RegistryDetailedListItem objects containing minimal details of 38892 // each registry. 38893 Registries []*RegistryListItem `type:"list"` 38894 } 38895 38896 // String returns the string representation. 38897 // 38898 // API parameter values that are decorated as "sensitive" in the API will not 38899 // be included in the string output. The member name will be present, but the 38900 // value will be replaced with "sensitive". 38901 func (s ListRegistriesOutput) String() string { 38902 return awsutil.Prettify(s) 38903 } 38904 38905 // GoString returns the string representation. 38906 // 38907 // API parameter values that are decorated as "sensitive" in the API will not 38908 // be included in the string output. The member name will be present, but the 38909 // value will be replaced with "sensitive". 38910 func (s ListRegistriesOutput) GoString() string { 38911 return s.String() 38912 } 38913 38914 // SetNextToken sets the NextToken field's value. 38915 func (s *ListRegistriesOutput) SetNextToken(v string) *ListRegistriesOutput { 38916 s.NextToken = &v 38917 return s 38918 } 38919 38920 // SetRegistries sets the Registries field's value. 38921 func (s *ListRegistriesOutput) SetRegistries(v []*RegistryListItem) *ListRegistriesOutput { 38922 s.Registries = v 38923 return s 38924 } 38925 38926 type ListSchemaVersionsInput struct { 38927 _ struct{} `type:"structure"` 38928 38929 // Maximum number of results required per page. If the value is not supplied, 38930 // this will be defaulted to 25 per page. 38931 MaxResults *int64 `min:"1" type:"integer"` 38932 38933 // A continuation token, if this is a continuation call. 38934 NextToken *string `type:"string"` 38935 38936 // This is a wrapper structure to contain schema identity fields. The structure 38937 // contains: 38938 // 38939 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either 38940 // SchemaArn or SchemaName and RegistryName has to be provided. 38941 // 38942 // * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName 38943 // and RegistryName has to be provided. 38944 // 38945 // SchemaId is a required field 38946 SchemaId *SchemaId `type:"structure" required:"true"` 38947 } 38948 38949 // String returns the string representation. 38950 // 38951 // API parameter values that are decorated as "sensitive" in the API will not 38952 // be included in the string output. The member name will be present, but the 38953 // value will be replaced with "sensitive". 38954 func (s ListSchemaVersionsInput) String() string { 38955 return awsutil.Prettify(s) 38956 } 38957 38958 // GoString returns the string representation. 38959 // 38960 // API parameter values that are decorated as "sensitive" in the API will not 38961 // be included in the string output. The member name will be present, but the 38962 // value will be replaced with "sensitive". 38963 func (s ListSchemaVersionsInput) GoString() string { 38964 return s.String() 38965 } 38966 38967 // Validate inspects the fields of the type to determine if they are valid. 38968 func (s *ListSchemaVersionsInput) Validate() error { 38969 invalidParams := request.ErrInvalidParams{Context: "ListSchemaVersionsInput"} 38970 if s.MaxResults != nil && *s.MaxResults < 1 { 38971 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 38972 } 38973 if s.SchemaId == nil { 38974 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 38975 } 38976 if s.SchemaId != nil { 38977 if err := s.SchemaId.Validate(); err != nil { 38978 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 38979 } 38980 } 38981 38982 if invalidParams.Len() > 0 { 38983 return invalidParams 38984 } 38985 return nil 38986 } 38987 38988 // SetMaxResults sets the MaxResults field's value. 38989 func (s *ListSchemaVersionsInput) SetMaxResults(v int64) *ListSchemaVersionsInput { 38990 s.MaxResults = &v 38991 return s 38992 } 38993 38994 // SetNextToken sets the NextToken field's value. 38995 func (s *ListSchemaVersionsInput) SetNextToken(v string) *ListSchemaVersionsInput { 38996 s.NextToken = &v 38997 return s 38998 } 38999 39000 // SetSchemaId sets the SchemaId field's value. 39001 func (s *ListSchemaVersionsInput) SetSchemaId(v *SchemaId) *ListSchemaVersionsInput { 39002 s.SchemaId = v 39003 return s 39004 } 39005 39006 type ListSchemaVersionsOutput struct { 39007 _ struct{} `type:"structure"` 39008 39009 // A continuation token for paginating the returned list of tokens, returned 39010 // if the current segment of the list is not the last. 39011 NextToken *string `type:"string"` 39012 39013 // An array of SchemaVersionList objects containing details of each schema version. 39014 Schemas []*SchemaVersionListItem `type:"list"` 39015 } 39016 39017 // String returns the string representation. 39018 // 39019 // API parameter values that are decorated as "sensitive" in the API will not 39020 // be included in the string output. The member name will be present, but the 39021 // value will be replaced with "sensitive". 39022 func (s ListSchemaVersionsOutput) String() string { 39023 return awsutil.Prettify(s) 39024 } 39025 39026 // GoString returns the string representation. 39027 // 39028 // API parameter values that are decorated as "sensitive" in the API will not 39029 // be included in the string output. The member name will be present, but the 39030 // value will be replaced with "sensitive". 39031 func (s ListSchemaVersionsOutput) GoString() string { 39032 return s.String() 39033 } 39034 39035 // SetNextToken sets the NextToken field's value. 39036 func (s *ListSchemaVersionsOutput) SetNextToken(v string) *ListSchemaVersionsOutput { 39037 s.NextToken = &v 39038 return s 39039 } 39040 39041 // SetSchemas sets the Schemas field's value. 39042 func (s *ListSchemaVersionsOutput) SetSchemas(v []*SchemaVersionListItem) *ListSchemaVersionsOutput { 39043 s.Schemas = v 39044 return s 39045 } 39046 39047 type ListSchemasInput struct { 39048 _ struct{} `type:"structure"` 39049 39050 // Maximum number of results required per page. If the value is not supplied, 39051 // this will be defaulted to 25 per page. 39052 MaxResults *int64 `min:"1" type:"integer"` 39053 39054 // A continuation token, if this is a continuation call. 39055 NextToken *string `type:"string"` 39056 39057 // A wrapper structure that may contain the registry name and Amazon Resource 39058 // Name (ARN). 39059 RegistryId *RegistryId `type:"structure"` 39060 } 39061 39062 // String returns the string representation. 39063 // 39064 // API parameter values that are decorated as "sensitive" in the API will not 39065 // be included in the string output. The member name will be present, but the 39066 // value will be replaced with "sensitive". 39067 func (s ListSchemasInput) String() string { 39068 return awsutil.Prettify(s) 39069 } 39070 39071 // GoString returns the string representation. 39072 // 39073 // API parameter values that are decorated as "sensitive" in the API will not 39074 // be included in the string output. The member name will be present, but the 39075 // value will be replaced with "sensitive". 39076 func (s ListSchemasInput) GoString() string { 39077 return s.String() 39078 } 39079 39080 // Validate inspects the fields of the type to determine if they are valid. 39081 func (s *ListSchemasInput) Validate() error { 39082 invalidParams := request.ErrInvalidParams{Context: "ListSchemasInput"} 39083 if s.MaxResults != nil && *s.MaxResults < 1 { 39084 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 39085 } 39086 if s.RegistryId != nil { 39087 if err := s.RegistryId.Validate(); err != nil { 39088 invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams)) 39089 } 39090 } 39091 39092 if invalidParams.Len() > 0 { 39093 return invalidParams 39094 } 39095 return nil 39096 } 39097 39098 // SetMaxResults sets the MaxResults field's value. 39099 func (s *ListSchemasInput) SetMaxResults(v int64) *ListSchemasInput { 39100 s.MaxResults = &v 39101 return s 39102 } 39103 39104 // SetNextToken sets the NextToken field's value. 39105 func (s *ListSchemasInput) SetNextToken(v string) *ListSchemasInput { 39106 s.NextToken = &v 39107 return s 39108 } 39109 39110 // SetRegistryId sets the RegistryId field's value. 39111 func (s *ListSchemasInput) SetRegistryId(v *RegistryId) *ListSchemasInput { 39112 s.RegistryId = v 39113 return s 39114 } 39115 39116 type ListSchemasOutput struct { 39117 _ struct{} `type:"structure"` 39118 39119 // A continuation token for paginating the returned list of tokens, returned 39120 // if the current segment of the list is not the last. 39121 NextToken *string `type:"string"` 39122 39123 // An array of SchemaListItem objects containing details of each schema. 39124 Schemas []*SchemaListItem `type:"list"` 39125 } 39126 39127 // String returns the string representation. 39128 // 39129 // API parameter values that are decorated as "sensitive" in the API will not 39130 // be included in the string output. The member name will be present, but the 39131 // value will be replaced with "sensitive". 39132 func (s ListSchemasOutput) String() string { 39133 return awsutil.Prettify(s) 39134 } 39135 39136 // GoString returns the string representation. 39137 // 39138 // API parameter values that are decorated as "sensitive" in the API will not 39139 // be included in the string output. The member name will be present, but the 39140 // value will be replaced with "sensitive". 39141 func (s ListSchemasOutput) GoString() string { 39142 return s.String() 39143 } 39144 39145 // SetNextToken sets the NextToken field's value. 39146 func (s *ListSchemasOutput) SetNextToken(v string) *ListSchemasOutput { 39147 s.NextToken = &v 39148 return s 39149 } 39150 39151 // SetSchemas sets the Schemas field's value. 39152 func (s *ListSchemasOutput) SetSchemas(v []*SchemaListItem) *ListSchemasOutput { 39153 s.Schemas = v 39154 return s 39155 } 39156 39157 type ListTriggersInput struct { 39158 _ struct{} `type:"structure"` 39159 39160 // The name of the job for which to retrieve triggers. The trigger that can 39161 // start this job is returned. If there is no such trigger, all triggers are 39162 // returned. 39163 DependentJobName *string `min:"1" type:"string"` 39164 39165 // The maximum size of a list to return. 39166 MaxResults *int64 `min:"1" type:"integer"` 39167 39168 // A continuation token, if this is a continuation request. 39169 NextToken *string `type:"string"` 39170 39171 // Specifies to return only these tagged resources. 39172 Tags map[string]*string `type:"map"` 39173 } 39174 39175 // String returns the string representation. 39176 // 39177 // API parameter values that are decorated as "sensitive" in the API will not 39178 // be included in the string output. The member name will be present, but the 39179 // value will be replaced with "sensitive". 39180 func (s ListTriggersInput) String() string { 39181 return awsutil.Prettify(s) 39182 } 39183 39184 // GoString returns the string representation. 39185 // 39186 // API parameter values that are decorated as "sensitive" in the API will not 39187 // be included in the string output. The member name will be present, but the 39188 // value will be replaced with "sensitive". 39189 func (s ListTriggersInput) GoString() string { 39190 return s.String() 39191 } 39192 39193 // Validate inspects the fields of the type to determine if they are valid. 39194 func (s *ListTriggersInput) Validate() error { 39195 invalidParams := request.ErrInvalidParams{Context: "ListTriggersInput"} 39196 if s.DependentJobName != nil && len(*s.DependentJobName) < 1 { 39197 invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1)) 39198 } 39199 if s.MaxResults != nil && *s.MaxResults < 1 { 39200 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 39201 } 39202 39203 if invalidParams.Len() > 0 { 39204 return invalidParams 39205 } 39206 return nil 39207 } 39208 39209 // SetDependentJobName sets the DependentJobName field's value. 39210 func (s *ListTriggersInput) SetDependentJobName(v string) *ListTriggersInput { 39211 s.DependentJobName = &v 39212 return s 39213 } 39214 39215 // SetMaxResults sets the MaxResults field's value. 39216 func (s *ListTriggersInput) SetMaxResults(v int64) *ListTriggersInput { 39217 s.MaxResults = &v 39218 return s 39219 } 39220 39221 // SetNextToken sets the NextToken field's value. 39222 func (s *ListTriggersInput) SetNextToken(v string) *ListTriggersInput { 39223 s.NextToken = &v 39224 return s 39225 } 39226 39227 // SetTags sets the Tags field's value. 39228 func (s *ListTriggersInput) SetTags(v map[string]*string) *ListTriggersInput { 39229 s.Tags = v 39230 return s 39231 } 39232 39233 type ListTriggersOutput struct { 39234 _ struct{} `type:"structure"` 39235 39236 // A continuation token, if the returned list does not contain the last metric 39237 // available. 39238 NextToken *string `type:"string"` 39239 39240 // The names of all triggers in the account, or the triggers with the specified 39241 // tags. 39242 TriggerNames []*string `type:"list"` 39243 } 39244 39245 // String returns the string representation. 39246 // 39247 // API parameter values that are decorated as "sensitive" in the API will not 39248 // be included in the string output. The member name will be present, but the 39249 // value will be replaced with "sensitive". 39250 func (s ListTriggersOutput) String() string { 39251 return awsutil.Prettify(s) 39252 } 39253 39254 // GoString returns the string representation. 39255 // 39256 // API parameter values that are decorated as "sensitive" in the API will not 39257 // be included in the string output. The member name will be present, but the 39258 // value will be replaced with "sensitive". 39259 func (s ListTriggersOutput) GoString() string { 39260 return s.String() 39261 } 39262 39263 // SetNextToken sets the NextToken field's value. 39264 func (s *ListTriggersOutput) SetNextToken(v string) *ListTriggersOutput { 39265 s.NextToken = &v 39266 return s 39267 } 39268 39269 // SetTriggerNames sets the TriggerNames field's value. 39270 func (s *ListTriggersOutput) SetTriggerNames(v []*string) *ListTriggersOutput { 39271 s.TriggerNames = v 39272 return s 39273 } 39274 39275 type ListWorkflowsInput struct { 39276 _ struct{} `type:"structure"` 39277 39278 // The maximum size of a list to return. 39279 MaxResults *int64 `min:"1" type:"integer"` 39280 39281 // A continuation token, if this is a continuation request. 39282 NextToken *string `type:"string"` 39283 } 39284 39285 // String returns the string representation. 39286 // 39287 // API parameter values that are decorated as "sensitive" in the API will not 39288 // be included in the string output. The member name will be present, but the 39289 // value will be replaced with "sensitive". 39290 func (s ListWorkflowsInput) String() string { 39291 return awsutil.Prettify(s) 39292 } 39293 39294 // GoString returns the string representation. 39295 // 39296 // API parameter values that are decorated as "sensitive" in the API will not 39297 // be included in the string output. The member name will be present, but the 39298 // value will be replaced with "sensitive". 39299 func (s ListWorkflowsInput) GoString() string { 39300 return s.String() 39301 } 39302 39303 // Validate inspects the fields of the type to determine if they are valid. 39304 func (s *ListWorkflowsInput) Validate() error { 39305 invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"} 39306 if s.MaxResults != nil && *s.MaxResults < 1 { 39307 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 39308 } 39309 39310 if invalidParams.Len() > 0 { 39311 return invalidParams 39312 } 39313 return nil 39314 } 39315 39316 // SetMaxResults sets the MaxResults field's value. 39317 func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput { 39318 s.MaxResults = &v 39319 return s 39320 } 39321 39322 // SetNextToken sets the NextToken field's value. 39323 func (s *ListWorkflowsInput) SetNextToken(v string) *ListWorkflowsInput { 39324 s.NextToken = &v 39325 return s 39326 } 39327 39328 type ListWorkflowsOutput struct { 39329 _ struct{} `type:"structure"` 39330 39331 // A continuation token, if not all workflow names have been returned. 39332 NextToken *string `type:"string"` 39333 39334 // List of names of workflows in the account. 39335 Workflows []*string `min:"1" type:"list"` 39336 } 39337 39338 // String returns the string representation. 39339 // 39340 // API parameter values that are decorated as "sensitive" in the API will not 39341 // be included in the string output. The member name will be present, but the 39342 // value will be replaced with "sensitive". 39343 func (s ListWorkflowsOutput) String() string { 39344 return awsutil.Prettify(s) 39345 } 39346 39347 // GoString returns the string representation. 39348 // 39349 // API parameter values that are decorated as "sensitive" in the API will not 39350 // be included in the string output. The member name will be present, but the 39351 // value will be replaced with "sensitive". 39352 func (s ListWorkflowsOutput) GoString() string { 39353 return s.String() 39354 } 39355 39356 // SetNextToken sets the NextToken field's value. 39357 func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput { 39358 s.NextToken = &v 39359 return s 39360 } 39361 39362 // SetWorkflows sets the Workflows field's value. 39363 func (s *ListWorkflowsOutput) SetWorkflows(v []*string) *ListWorkflowsOutput { 39364 s.Workflows = v 39365 return s 39366 } 39367 39368 // The location of resources. 39369 type Location struct { 39370 _ struct{} `type:"structure"` 39371 39372 // An Amazon DynamoDB table location. 39373 DynamoDB []*CodeGenNodeArg `type:"list"` 39374 39375 // A JDBC location. 39376 Jdbc []*CodeGenNodeArg `type:"list"` 39377 39378 // An Amazon Simple Storage Service (Amazon S3) location. 39379 S3 []*CodeGenNodeArg `type:"list"` 39380 } 39381 39382 // String returns the string representation. 39383 // 39384 // API parameter values that are decorated as "sensitive" in the API will not 39385 // be included in the string output. The member name will be present, but the 39386 // value will be replaced with "sensitive". 39387 func (s Location) String() string { 39388 return awsutil.Prettify(s) 39389 } 39390 39391 // GoString returns the string representation. 39392 // 39393 // API parameter values that are decorated as "sensitive" in the API will not 39394 // be included in the string output. The member name will be present, but the 39395 // value will be replaced with "sensitive". 39396 func (s Location) GoString() string { 39397 return s.String() 39398 } 39399 39400 // Validate inspects the fields of the type to determine if they are valid. 39401 func (s *Location) Validate() error { 39402 invalidParams := request.ErrInvalidParams{Context: "Location"} 39403 if s.DynamoDB != nil { 39404 for i, v := range s.DynamoDB { 39405 if v == nil { 39406 continue 39407 } 39408 if err := v.Validate(); err != nil { 39409 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DynamoDB", i), err.(request.ErrInvalidParams)) 39410 } 39411 } 39412 } 39413 if s.Jdbc != nil { 39414 for i, v := range s.Jdbc { 39415 if v == nil { 39416 continue 39417 } 39418 if err := v.Validate(); err != nil { 39419 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Jdbc", i), err.(request.ErrInvalidParams)) 39420 } 39421 } 39422 } 39423 if s.S3 != nil { 39424 for i, v := range s.S3 { 39425 if v == nil { 39426 continue 39427 } 39428 if err := v.Validate(); err != nil { 39429 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "S3", i), err.(request.ErrInvalidParams)) 39430 } 39431 } 39432 } 39433 39434 if invalidParams.Len() > 0 { 39435 return invalidParams 39436 } 39437 return nil 39438 } 39439 39440 // SetDynamoDB sets the DynamoDB field's value. 39441 func (s *Location) SetDynamoDB(v []*CodeGenNodeArg) *Location { 39442 s.DynamoDB = v 39443 return s 39444 } 39445 39446 // SetJdbc sets the Jdbc field's value. 39447 func (s *Location) SetJdbc(v []*CodeGenNodeArg) *Location { 39448 s.Jdbc = v 39449 return s 39450 } 39451 39452 // SetS3 sets the S3 field's value. 39453 func (s *Location) SetS3(v []*CodeGenNodeArg) *Location { 39454 s.S3 = v 39455 return s 39456 } 39457 39458 // Defines column statistics supported for integer data columns. 39459 type LongColumnStatisticsData struct { 39460 _ struct{} `type:"structure"` 39461 39462 // The highest value in the column. 39463 MaximumValue *int64 `type:"long"` 39464 39465 // The lowest value in the column. 39466 MinimumValue *int64 `type:"long"` 39467 39468 // The number of distinct values in a column. 39469 // 39470 // NumberOfDistinctValues is a required field 39471 NumberOfDistinctValues *int64 `type:"long" required:"true"` 39472 39473 // The number of null values in the column. 39474 // 39475 // NumberOfNulls is a required field 39476 NumberOfNulls *int64 `type:"long" required:"true"` 39477 } 39478 39479 // String returns the string representation. 39480 // 39481 // API parameter values that are decorated as "sensitive" in the API will not 39482 // be included in the string output. The member name will be present, but the 39483 // value will be replaced with "sensitive". 39484 func (s LongColumnStatisticsData) String() string { 39485 return awsutil.Prettify(s) 39486 } 39487 39488 // GoString returns the string representation. 39489 // 39490 // API parameter values that are decorated as "sensitive" in the API will not 39491 // be included in the string output. The member name will be present, but the 39492 // value will be replaced with "sensitive". 39493 func (s LongColumnStatisticsData) GoString() string { 39494 return s.String() 39495 } 39496 39497 // Validate inspects the fields of the type to determine if they are valid. 39498 func (s *LongColumnStatisticsData) Validate() error { 39499 invalidParams := request.ErrInvalidParams{Context: "LongColumnStatisticsData"} 39500 if s.NumberOfDistinctValues == nil { 39501 invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues")) 39502 } 39503 if s.NumberOfNulls == nil { 39504 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 39505 } 39506 39507 if invalidParams.Len() > 0 { 39508 return invalidParams 39509 } 39510 return nil 39511 } 39512 39513 // SetMaximumValue sets the MaximumValue field's value. 39514 func (s *LongColumnStatisticsData) SetMaximumValue(v int64) *LongColumnStatisticsData { 39515 s.MaximumValue = &v 39516 return s 39517 } 39518 39519 // SetMinimumValue sets the MinimumValue field's value. 39520 func (s *LongColumnStatisticsData) SetMinimumValue(v int64) *LongColumnStatisticsData { 39521 s.MinimumValue = &v 39522 return s 39523 } 39524 39525 // SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value. 39526 func (s *LongColumnStatisticsData) SetNumberOfDistinctValues(v int64) *LongColumnStatisticsData { 39527 s.NumberOfDistinctValues = &v 39528 return s 39529 } 39530 39531 // SetNumberOfNulls sets the NumberOfNulls field's value. 39532 func (s *LongColumnStatisticsData) SetNumberOfNulls(v int64) *LongColumnStatisticsData { 39533 s.NumberOfNulls = &v 39534 return s 39535 } 39536 39537 // A structure for a machine learning transform. 39538 type MLTransform struct { 39539 _ struct{} `type:"structure"` 39540 39541 // A timestamp. The time and date that this machine learning transform was created. 39542 CreatedOn *time.Time `type:"timestamp"` 39543 39544 // A user-defined, long-form description text for the machine learning transform. 39545 // Descriptions are not guaranteed to be unique and can be changed at any time. 39546 Description *string `type:"string"` 39547 39548 // An EvaluationMetrics object. Evaluation metrics provide an estimate of the 39549 // quality of your machine learning transform. 39550 EvaluationMetrics *EvaluationMetrics `type:"structure"` 39551 39552 // This value determines which version of Glue this machine learning transform 39553 // is compatible with. Glue 1.0 is recommended for most customers. If the value 39554 // is not set, the Glue compatibility defaults to Glue 0.9. For more information, 39555 // see Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions) 39556 // in the developer guide. 39557 GlueVersion *string `min:"1" type:"string"` 39558 39559 // A list of Glue table definitions used by the transform. 39560 InputRecordTables []*Table `type:"list"` 39561 39562 // A count identifier for the labeling files generated by Glue for this transform. 39563 // As you create a better transform, you can iteratively download, label, and 39564 // upload the labeling file. 39565 LabelCount *int64 `type:"integer"` 39566 39567 // A timestamp. The last point in time when this machine learning transform 39568 // was modified. 39569 LastModifiedOn *time.Time `type:"timestamp"` 39570 39571 // The number of Glue data processing units (DPUs) that are allocated to task 39572 // runs for this transform. You can allocate from 2 to 100 DPUs; the default 39573 // is 10. A DPU is a relative measure of processing power that consists of 4 39574 // vCPUs of compute capacity and 16 GB of memory. For more information, see 39575 // the Glue pricing page (http://aws.amazon.com/glue/pricing/). 39576 // 39577 // MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType. 39578 // 39579 // * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot 39580 // be set. 39581 // 39582 // * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can 39583 // be set. 39584 // 39585 // * If WorkerType is set, then NumberOfWorkers is required (and vice versa). 39586 // 39587 // * MaxCapacity and NumberOfWorkers must both be at least 1. 39588 // 39589 // When the WorkerType field is set to a value other than Standard, the MaxCapacity 39590 // field is set automatically and becomes read-only. 39591 MaxCapacity *float64 `type:"double"` 39592 39593 // The maximum number of times to retry after an MLTaskRun of the machine learning 39594 // transform fails. 39595 MaxRetries *int64 `type:"integer"` 39596 39597 // A user-defined name for the machine learning transform. Names are not guaranteed 39598 // unique and can be changed at any time. 39599 Name *string `min:"1" type:"string"` 39600 39601 // The number of workers of a defined workerType that are allocated when a task 39602 // of the transform runs. 39603 // 39604 // If WorkerType is set, then NumberOfWorkers is required (and vice versa). 39605 NumberOfWorkers *int64 `type:"integer"` 39606 39607 // A TransformParameters object. You can use parameters to tune (customize) 39608 // the behavior of the machine learning transform by specifying what data it 39609 // learns from and your preference on various tradeoffs (such as precious vs. 39610 // recall, or accuracy vs. cost). 39611 Parameters *TransformParameters `type:"structure"` 39612 39613 // The name or Amazon Resource Name (ARN) of the IAM role with the required 39614 // permissions. The required permissions include both Glue service role permissions 39615 // to Glue resources, and Amazon S3 permissions required by the transform. 39616 // 39617 // * This role needs Glue service role permissions to allow access to resources 39618 // in Glue. See Attach a Policy to IAM Users That Access Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html). 39619 // 39620 // * This role needs permission to your Amazon Simple Storage Service (Amazon 39621 // S3) sources, targets, temporary directory, scripts, and any libraries 39622 // used by the task run for this transform. 39623 Role *string `type:"string"` 39624 39625 // A map of key-value pairs representing the columns and data types that this 39626 // transform can run against. Has an upper bound of 100 columns. 39627 Schema []*SchemaColumn `type:"list"` 39628 39629 // The current status of the machine learning transform. 39630 Status *string `type:"string" enum:"TransformStatusType"` 39631 39632 // The timeout in minutes of the machine learning transform. 39633 Timeout *int64 `min:"1" type:"integer"` 39634 39635 // The encryption-at-rest settings of the transform that apply to accessing 39636 // user data. Machine learning transforms can access user data encrypted in 39637 // Amazon S3 using KMS. 39638 TransformEncryption *TransformEncryption `type:"structure"` 39639 39640 // The unique transform ID that is generated for the machine learning transform. 39641 // The ID is guaranteed to be unique and does not change. 39642 TransformId *string `min:"1" type:"string"` 39643 39644 // The type of predefined worker that is allocated when a task of this transform 39645 // runs. Accepts a value of Standard, G.1X, or G.2X. 39646 // 39647 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 39648 // memory and a 50GB disk, and 2 executors per worker. 39649 // 39650 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 39651 // and a 64GB disk, and 1 executor per worker. 39652 // 39653 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 39654 // and a 128GB disk, and 1 executor per worker. 39655 // 39656 // MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType. 39657 // 39658 // * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot 39659 // be set. 39660 // 39661 // * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can 39662 // be set. 39663 // 39664 // * If WorkerType is set, then NumberOfWorkers is required (and vice versa). 39665 // 39666 // * MaxCapacity and NumberOfWorkers must both be at least 1. 39667 WorkerType *string `type:"string" enum:"WorkerType"` 39668 } 39669 39670 // String returns the string representation. 39671 // 39672 // API parameter values that are decorated as "sensitive" in the API will not 39673 // be included in the string output. The member name will be present, but the 39674 // value will be replaced with "sensitive". 39675 func (s MLTransform) String() string { 39676 return awsutil.Prettify(s) 39677 } 39678 39679 // GoString returns the string representation. 39680 // 39681 // API parameter values that are decorated as "sensitive" in the API will not 39682 // be included in the string output. The member name will be present, but the 39683 // value will be replaced with "sensitive". 39684 func (s MLTransform) GoString() string { 39685 return s.String() 39686 } 39687 39688 // SetCreatedOn sets the CreatedOn field's value. 39689 func (s *MLTransform) SetCreatedOn(v time.Time) *MLTransform { 39690 s.CreatedOn = &v 39691 return s 39692 } 39693 39694 // SetDescription sets the Description field's value. 39695 func (s *MLTransform) SetDescription(v string) *MLTransform { 39696 s.Description = &v 39697 return s 39698 } 39699 39700 // SetEvaluationMetrics sets the EvaluationMetrics field's value. 39701 func (s *MLTransform) SetEvaluationMetrics(v *EvaluationMetrics) *MLTransform { 39702 s.EvaluationMetrics = v 39703 return s 39704 } 39705 39706 // SetGlueVersion sets the GlueVersion field's value. 39707 func (s *MLTransform) SetGlueVersion(v string) *MLTransform { 39708 s.GlueVersion = &v 39709 return s 39710 } 39711 39712 // SetInputRecordTables sets the InputRecordTables field's value. 39713 func (s *MLTransform) SetInputRecordTables(v []*Table) *MLTransform { 39714 s.InputRecordTables = v 39715 return s 39716 } 39717 39718 // SetLabelCount sets the LabelCount field's value. 39719 func (s *MLTransform) SetLabelCount(v int64) *MLTransform { 39720 s.LabelCount = &v 39721 return s 39722 } 39723 39724 // SetLastModifiedOn sets the LastModifiedOn field's value. 39725 func (s *MLTransform) SetLastModifiedOn(v time.Time) *MLTransform { 39726 s.LastModifiedOn = &v 39727 return s 39728 } 39729 39730 // SetMaxCapacity sets the MaxCapacity field's value. 39731 func (s *MLTransform) SetMaxCapacity(v float64) *MLTransform { 39732 s.MaxCapacity = &v 39733 return s 39734 } 39735 39736 // SetMaxRetries sets the MaxRetries field's value. 39737 func (s *MLTransform) SetMaxRetries(v int64) *MLTransform { 39738 s.MaxRetries = &v 39739 return s 39740 } 39741 39742 // SetName sets the Name field's value. 39743 func (s *MLTransform) SetName(v string) *MLTransform { 39744 s.Name = &v 39745 return s 39746 } 39747 39748 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 39749 func (s *MLTransform) SetNumberOfWorkers(v int64) *MLTransform { 39750 s.NumberOfWorkers = &v 39751 return s 39752 } 39753 39754 // SetParameters sets the Parameters field's value. 39755 func (s *MLTransform) SetParameters(v *TransformParameters) *MLTransform { 39756 s.Parameters = v 39757 return s 39758 } 39759 39760 // SetRole sets the Role field's value. 39761 func (s *MLTransform) SetRole(v string) *MLTransform { 39762 s.Role = &v 39763 return s 39764 } 39765 39766 // SetSchema sets the Schema field's value. 39767 func (s *MLTransform) SetSchema(v []*SchemaColumn) *MLTransform { 39768 s.Schema = v 39769 return s 39770 } 39771 39772 // SetStatus sets the Status field's value. 39773 func (s *MLTransform) SetStatus(v string) *MLTransform { 39774 s.Status = &v 39775 return s 39776 } 39777 39778 // SetTimeout sets the Timeout field's value. 39779 func (s *MLTransform) SetTimeout(v int64) *MLTransform { 39780 s.Timeout = &v 39781 return s 39782 } 39783 39784 // SetTransformEncryption sets the TransformEncryption field's value. 39785 func (s *MLTransform) SetTransformEncryption(v *TransformEncryption) *MLTransform { 39786 s.TransformEncryption = v 39787 return s 39788 } 39789 39790 // SetTransformId sets the TransformId field's value. 39791 func (s *MLTransform) SetTransformId(v string) *MLTransform { 39792 s.TransformId = &v 39793 return s 39794 } 39795 39796 // SetWorkerType sets the WorkerType field's value. 39797 func (s *MLTransform) SetWorkerType(v string) *MLTransform { 39798 s.WorkerType = &v 39799 return s 39800 } 39801 39802 // The machine learning transform is not ready to run. 39803 type MLTransformNotReadyException struct { 39804 _ struct{} `type:"structure"` 39805 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 39806 39807 // A message describing the problem. 39808 Message_ *string `locationName:"Message" type:"string"` 39809 } 39810 39811 // String returns the string representation. 39812 // 39813 // API parameter values that are decorated as "sensitive" in the API will not 39814 // be included in the string output. The member name will be present, but the 39815 // value will be replaced with "sensitive". 39816 func (s MLTransformNotReadyException) String() string { 39817 return awsutil.Prettify(s) 39818 } 39819 39820 // GoString returns the string representation. 39821 // 39822 // API parameter values that are decorated as "sensitive" in the API will not 39823 // be included in the string output. The member name will be present, but the 39824 // value will be replaced with "sensitive". 39825 func (s MLTransformNotReadyException) GoString() string { 39826 return s.String() 39827 } 39828 39829 func newErrorMLTransformNotReadyException(v protocol.ResponseMetadata) error { 39830 return &MLTransformNotReadyException{ 39831 RespMetadata: v, 39832 } 39833 } 39834 39835 // Code returns the exception type name. 39836 func (s *MLTransformNotReadyException) Code() string { 39837 return "MLTransformNotReadyException" 39838 } 39839 39840 // Message returns the exception's message. 39841 func (s *MLTransformNotReadyException) Message() string { 39842 if s.Message_ != nil { 39843 return *s.Message_ 39844 } 39845 return "" 39846 } 39847 39848 // OrigErr always returns nil, satisfies awserr.Error interface. 39849 func (s *MLTransformNotReadyException) OrigErr() error { 39850 return nil 39851 } 39852 39853 func (s *MLTransformNotReadyException) Error() string { 39854 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 39855 } 39856 39857 // Status code returns the HTTP status code for the request's response error. 39858 func (s *MLTransformNotReadyException) StatusCode() int { 39859 return s.RespMetadata.StatusCode 39860 } 39861 39862 // RequestID returns the service's response RequestID for request. 39863 func (s *MLTransformNotReadyException) RequestID() string { 39864 return s.RespMetadata.RequestID 39865 } 39866 39867 // The encryption-at-rest settings of the transform that apply to accessing 39868 // user data. 39869 type MLUserDataEncryption struct { 39870 _ struct{} `type:"structure"` 39871 39872 // The ID for the customer-provided KMS key. 39873 KmsKeyId *string `min:"1" type:"string"` 39874 39875 // The encryption mode applied to user data. Valid values are: 39876 // 39877 // * DISABLED: encryption is disabled 39878 // 39879 // * SSEKMS: use of server-side encryption with Key Management Service (SSE-KMS) 39880 // for user data stored in Amazon S3. 39881 // 39882 // MlUserDataEncryptionMode is a required field 39883 MlUserDataEncryptionMode *string `type:"string" required:"true" enum:"MLUserDataEncryptionModeString"` 39884 } 39885 39886 // String returns the string representation. 39887 // 39888 // API parameter values that are decorated as "sensitive" in the API will not 39889 // be included in the string output. The member name will be present, but the 39890 // value will be replaced with "sensitive". 39891 func (s MLUserDataEncryption) String() string { 39892 return awsutil.Prettify(s) 39893 } 39894 39895 // GoString returns the string representation. 39896 // 39897 // API parameter values that are decorated as "sensitive" in the API will not 39898 // be included in the string output. The member name will be present, but the 39899 // value will be replaced with "sensitive". 39900 func (s MLUserDataEncryption) GoString() string { 39901 return s.String() 39902 } 39903 39904 // Validate inspects the fields of the type to determine if they are valid. 39905 func (s *MLUserDataEncryption) Validate() error { 39906 invalidParams := request.ErrInvalidParams{Context: "MLUserDataEncryption"} 39907 if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { 39908 invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) 39909 } 39910 if s.MlUserDataEncryptionMode == nil { 39911 invalidParams.Add(request.NewErrParamRequired("MlUserDataEncryptionMode")) 39912 } 39913 39914 if invalidParams.Len() > 0 { 39915 return invalidParams 39916 } 39917 return nil 39918 } 39919 39920 // SetKmsKeyId sets the KmsKeyId field's value. 39921 func (s *MLUserDataEncryption) SetKmsKeyId(v string) *MLUserDataEncryption { 39922 s.KmsKeyId = &v 39923 return s 39924 } 39925 39926 // SetMlUserDataEncryptionMode sets the MlUserDataEncryptionMode field's value. 39927 func (s *MLUserDataEncryption) SetMlUserDataEncryptionMode(v string) *MLUserDataEncryption { 39928 s.MlUserDataEncryptionMode = &v 39929 return s 39930 } 39931 39932 // Defines a mapping. 39933 type MappingEntry struct { 39934 _ struct{} `type:"structure"` 39935 39936 // The source path. 39937 SourcePath *string `type:"string"` 39938 39939 // The name of the source table. 39940 SourceTable *string `type:"string"` 39941 39942 // The source type. 39943 SourceType *string `type:"string"` 39944 39945 // The target path. 39946 TargetPath *string `type:"string"` 39947 39948 // The target table. 39949 TargetTable *string `type:"string"` 39950 39951 // The target type. 39952 TargetType *string `type:"string"` 39953 } 39954 39955 // String returns the string representation. 39956 // 39957 // API parameter values that are decorated as "sensitive" in the API will not 39958 // be included in the string output. The member name will be present, but the 39959 // value will be replaced with "sensitive". 39960 func (s MappingEntry) String() string { 39961 return awsutil.Prettify(s) 39962 } 39963 39964 // GoString returns the string representation. 39965 // 39966 // API parameter values that are decorated as "sensitive" in the API will not 39967 // be included in the string output. The member name will be present, but the 39968 // value will be replaced with "sensitive". 39969 func (s MappingEntry) GoString() string { 39970 return s.String() 39971 } 39972 39973 // SetSourcePath sets the SourcePath field's value. 39974 func (s *MappingEntry) SetSourcePath(v string) *MappingEntry { 39975 s.SourcePath = &v 39976 return s 39977 } 39978 39979 // SetSourceTable sets the SourceTable field's value. 39980 func (s *MappingEntry) SetSourceTable(v string) *MappingEntry { 39981 s.SourceTable = &v 39982 return s 39983 } 39984 39985 // SetSourceType sets the SourceType field's value. 39986 func (s *MappingEntry) SetSourceType(v string) *MappingEntry { 39987 s.SourceType = &v 39988 return s 39989 } 39990 39991 // SetTargetPath sets the TargetPath field's value. 39992 func (s *MappingEntry) SetTargetPath(v string) *MappingEntry { 39993 s.TargetPath = &v 39994 return s 39995 } 39996 39997 // SetTargetTable sets the TargetTable field's value. 39998 func (s *MappingEntry) SetTargetTable(v string) *MappingEntry { 39999 s.TargetTable = &v 40000 return s 40001 } 40002 40003 // SetTargetType sets the TargetType field's value. 40004 func (s *MappingEntry) SetTargetType(v string) *MappingEntry { 40005 s.TargetType = &v 40006 return s 40007 } 40008 40009 // A structure containing metadata information for a schema version. 40010 type MetadataInfo struct { 40011 _ struct{} `type:"structure"` 40012 40013 // The time at which the entry was created. 40014 CreatedTime *string `type:"string"` 40015 40016 // The metadata key’s corresponding value. 40017 MetadataValue *string `min:"1" type:"string"` 40018 40019 // Other metadata belonging to the same metadata key. 40020 OtherMetadataValueList []*OtherMetadataValueListItem `type:"list"` 40021 } 40022 40023 // String returns the string representation. 40024 // 40025 // API parameter values that are decorated as "sensitive" in the API will not 40026 // be included in the string output. The member name will be present, but the 40027 // value will be replaced with "sensitive". 40028 func (s MetadataInfo) String() string { 40029 return awsutil.Prettify(s) 40030 } 40031 40032 // GoString returns the string representation. 40033 // 40034 // API parameter values that are decorated as "sensitive" in the API will not 40035 // be included in the string output. The member name will be present, but the 40036 // value will be replaced with "sensitive". 40037 func (s MetadataInfo) GoString() string { 40038 return s.String() 40039 } 40040 40041 // SetCreatedTime sets the CreatedTime field's value. 40042 func (s *MetadataInfo) SetCreatedTime(v string) *MetadataInfo { 40043 s.CreatedTime = &v 40044 return s 40045 } 40046 40047 // SetMetadataValue sets the MetadataValue field's value. 40048 func (s *MetadataInfo) SetMetadataValue(v string) *MetadataInfo { 40049 s.MetadataValue = &v 40050 return s 40051 } 40052 40053 // SetOtherMetadataValueList sets the OtherMetadataValueList field's value. 40054 func (s *MetadataInfo) SetOtherMetadataValueList(v []*OtherMetadataValueListItem) *MetadataInfo { 40055 s.OtherMetadataValueList = v 40056 return s 40057 } 40058 40059 // A structure containing a key value pair for metadata. 40060 type MetadataKeyValuePair struct { 40061 _ struct{} `type:"structure"` 40062 40063 // A metadata key. 40064 MetadataKey *string `min:"1" type:"string"` 40065 40066 // A metadata key’s corresponding value. 40067 MetadataValue *string `min:"1" type:"string"` 40068 } 40069 40070 // String returns the string representation. 40071 // 40072 // API parameter values that are decorated as "sensitive" in the API will not 40073 // be included in the string output. The member name will be present, but the 40074 // value will be replaced with "sensitive". 40075 func (s MetadataKeyValuePair) String() string { 40076 return awsutil.Prettify(s) 40077 } 40078 40079 // GoString returns the string representation. 40080 // 40081 // API parameter values that are decorated as "sensitive" in the API will not 40082 // be included in the string output. The member name will be present, but the 40083 // value will be replaced with "sensitive". 40084 func (s MetadataKeyValuePair) GoString() string { 40085 return s.String() 40086 } 40087 40088 // Validate inspects the fields of the type to determine if they are valid. 40089 func (s *MetadataKeyValuePair) Validate() error { 40090 invalidParams := request.ErrInvalidParams{Context: "MetadataKeyValuePair"} 40091 if s.MetadataKey != nil && len(*s.MetadataKey) < 1 { 40092 invalidParams.Add(request.NewErrParamMinLen("MetadataKey", 1)) 40093 } 40094 if s.MetadataValue != nil && len(*s.MetadataValue) < 1 { 40095 invalidParams.Add(request.NewErrParamMinLen("MetadataValue", 1)) 40096 } 40097 40098 if invalidParams.Len() > 0 { 40099 return invalidParams 40100 } 40101 return nil 40102 } 40103 40104 // SetMetadataKey sets the MetadataKey field's value. 40105 func (s *MetadataKeyValuePair) SetMetadataKey(v string) *MetadataKeyValuePair { 40106 s.MetadataKey = &v 40107 return s 40108 } 40109 40110 // SetMetadataValue sets the MetadataValue field's value. 40111 func (s *MetadataKeyValuePair) SetMetadataValue(v string) *MetadataKeyValuePair { 40112 s.MetadataValue = &v 40113 return s 40114 } 40115 40116 // Specifies an Amazon DocumentDB or MongoDB data store to crawl. 40117 type MongoDBTarget struct { 40118 _ struct{} `type:"structure"` 40119 40120 // The name of the connection to use to connect to the Amazon DocumentDB or 40121 // MongoDB target. 40122 ConnectionName *string `type:"string"` 40123 40124 // The path of the Amazon DocumentDB or MongoDB target (database/collection). 40125 Path *string `type:"string"` 40126 40127 // Indicates whether to scan all the records, or to sample rows from the table. 40128 // Scanning all the records can take a long time when the table is not a high 40129 // throughput table. 40130 // 40131 // A value of true means to scan all records, while a value of false means to 40132 // sample the records. If no value is specified, the value defaults to true. 40133 ScanAll *bool `type:"boolean"` 40134 } 40135 40136 // String returns the string representation. 40137 // 40138 // API parameter values that are decorated as "sensitive" in the API will not 40139 // be included in the string output. The member name will be present, but the 40140 // value will be replaced with "sensitive". 40141 func (s MongoDBTarget) String() string { 40142 return awsutil.Prettify(s) 40143 } 40144 40145 // GoString returns the string representation. 40146 // 40147 // API parameter values that are decorated as "sensitive" in the API will not 40148 // be included in the string output. The member name will be present, but the 40149 // value will be replaced with "sensitive". 40150 func (s MongoDBTarget) GoString() string { 40151 return s.String() 40152 } 40153 40154 // SetConnectionName sets the ConnectionName field's value. 40155 func (s *MongoDBTarget) SetConnectionName(v string) *MongoDBTarget { 40156 s.ConnectionName = &v 40157 return s 40158 } 40159 40160 // SetPath sets the Path field's value. 40161 func (s *MongoDBTarget) SetPath(v string) *MongoDBTarget { 40162 s.Path = &v 40163 return s 40164 } 40165 40166 // SetScanAll sets the ScanAll field's value. 40167 func (s *MongoDBTarget) SetScanAll(v bool) *MongoDBTarget { 40168 s.ScanAll = &v 40169 return s 40170 } 40171 40172 // There is no applicable schedule. 40173 type NoScheduleException struct { 40174 _ struct{} `type:"structure"` 40175 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 40176 40177 // A message describing the problem. 40178 Message_ *string `locationName:"Message" type:"string"` 40179 } 40180 40181 // String returns the string representation. 40182 // 40183 // API parameter values that are decorated as "sensitive" in the API will not 40184 // be included in the string output. The member name will be present, but the 40185 // value will be replaced with "sensitive". 40186 func (s NoScheduleException) String() string { 40187 return awsutil.Prettify(s) 40188 } 40189 40190 // GoString returns the string representation. 40191 // 40192 // API parameter values that are decorated as "sensitive" in the API will not 40193 // be included in the string output. The member name will be present, but the 40194 // value will be replaced with "sensitive". 40195 func (s NoScheduleException) GoString() string { 40196 return s.String() 40197 } 40198 40199 func newErrorNoScheduleException(v protocol.ResponseMetadata) error { 40200 return &NoScheduleException{ 40201 RespMetadata: v, 40202 } 40203 } 40204 40205 // Code returns the exception type name. 40206 func (s *NoScheduleException) Code() string { 40207 return "NoScheduleException" 40208 } 40209 40210 // Message returns the exception's message. 40211 func (s *NoScheduleException) Message() string { 40212 if s.Message_ != nil { 40213 return *s.Message_ 40214 } 40215 return "" 40216 } 40217 40218 // OrigErr always returns nil, satisfies awserr.Error interface. 40219 func (s *NoScheduleException) OrigErr() error { 40220 return nil 40221 } 40222 40223 func (s *NoScheduleException) Error() string { 40224 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 40225 } 40226 40227 // Status code returns the HTTP status code for the request's response error. 40228 func (s *NoScheduleException) StatusCode() int { 40229 return s.RespMetadata.StatusCode 40230 } 40231 40232 // RequestID returns the service's response RequestID for request. 40233 func (s *NoScheduleException) RequestID() string { 40234 return s.RespMetadata.RequestID 40235 } 40236 40237 // A node represents an Glue component (trigger, crawler, or job) on a workflow 40238 // graph. 40239 type Node struct { 40240 _ struct{} `type:"structure"` 40241 40242 // Details of the crawler when the node represents a crawler. 40243 CrawlerDetails *CrawlerNodeDetails `type:"structure"` 40244 40245 // Details of the Job when the node represents a Job. 40246 JobDetails *JobNodeDetails `type:"structure"` 40247 40248 // The name of the Glue component represented by the node. 40249 Name *string `min:"1" type:"string"` 40250 40251 // Details of the Trigger when the node represents a Trigger. 40252 TriggerDetails *TriggerNodeDetails `type:"structure"` 40253 40254 // The type of Glue component represented by the node. 40255 Type *string `type:"string" enum:"NodeType"` 40256 40257 // The unique Id assigned to the node within the workflow. 40258 UniqueId *string `min:"1" type:"string"` 40259 } 40260 40261 // String returns the string representation. 40262 // 40263 // API parameter values that are decorated as "sensitive" in the API will not 40264 // be included in the string output. The member name will be present, but the 40265 // value will be replaced with "sensitive". 40266 func (s Node) String() string { 40267 return awsutil.Prettify(s) 40268 } 40269 40270 // GoString returns the string representation. 40271 // 40272 // API parameter values that are decorated as "sensitive" in the API will not 40273 // be included in the string output. The member name will be present, but the 40274 // value will be replaced with "sensitive". 40275 func (s Node) GoString() string { 40276 return s.String() 40277 } 40278 40279 // SetCrawlerDetails sets the CrawlerDetails field's value. 40280 func (s *Node) SetCrawlerDetails(v *CrawlerNodeDetails) *Node { 40281 s.CrawlerDetails = v 40282 return s 40283 } 40284 40285 // SetJobDetails sets the JobDetails field's value. 40286 func (s *Node) SetJobDetails(v *JobNodeDetails) *Node { 40287 s.JobDetails = v 40288 return s 40289 } 40290 40291 // SetName sets the Name field's value. 40292 func (s *Node) SetName(v string) *Node { 40293 s.Name = &v 40294 return s 40295 } 40296 40297 // SetTriggerDetails sets the TriggerDetails field's value. 40298 func (s *Node) SetTriggerDetails(v *TriggerNodeDetails) *Node { 40299 s.TriggerDetails = v 40300 return s 40301 } 40302 40303 // SetType sets the Type field's value. 40304 func (s *Node) SetType(v string) *Node { 40305 s.Type = &v 40306 return s 40307 } 40308 40309 // SetUniqueId sets the UniqueId field's value. 40310 func (s *Node) SetUniqueId(v string) *Node { 40311 s.UniqueId = &v 40312 return s 40313 } 40314 40315 // Specifies configuration properties of a notification. 40316 type NotificationProperty struct { 40317 _ struct{} `type:"structure"` 40318 40319 // After a job run starts, the number of minutes to wait before sending a job 40320 // run delay notification. 40321 NotifyDelayAfter *int64 `min:"1" type:"integer"` 40322 } 40323 40324 // String returns the string representation. 40325 // 40326 // API parameter values that are decorated as "sensitive" in the API will not 40327 // be included in the string output. The member name will be present, but the 40328 // value will be replaced with "sensitive". 40329 func (s NotificationProperty) String() string { 40330 return awsutil.Prettify(s) 40331 } 40332 40333 // GoString returns the string representation. 40334 // 40335 // API parameter values that are decorated as "sensitive" in the API will not 40336 // be included in the string output. The member name will be present, but the 40337 // value will be replaced with "sensitive". 40338 func (s NotificationProperty) GoString() string { 40339 return s.String() 40340 } 40341 40342 // Validate inspects the fields of the type to determine if they are valid. 40343 func (s *NotificationProperty) Validate() error { 40344 invalidParams := request.ErrInvalidParams{Context: "NotificationProperty"} 40345 if s.NotifyDelayAfter != nil && *s.NotifyDelayAfter < 1 { 40346 invalidParams.Add(request.NewErrParamMinValue("NotifyDelayAfter", 1)) 40347 } 40348 40349 if invalidParams.Len() > 0 { 40350 return invalidParams 40351 } 40352 return nil 40353 } 40354 40355 // SetNotifyDelayAfter sets the NotifyDelayAfter field's value. 40356 func (s *NotificationProperty) SetNotifyDelayAfter(v int64) *NotificationProperty { 40357 s.NotifyDelayAfter = &v 40358 return s 40359 } 40360 40361 // The operation timed out. 40362 type OperationTimeoutException struct { 40363 _ struct{} `type:"structure"` 40364 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 40365 40366 // A message describing the problem. 40367 Message_ *string `locationName:"Message" type:"string"` 40368 } 40369 40370 // String returns the string representation. 40371 // 40372 // API parameter values that are decorated as "sensitive" in the API will not 40373 // be included in the string output. The member name will be present, but the 40374 // value will be replaced with "sensitive". 40375 func (s OperationTimeoutException) String() string { 40376 return awsutil.Prettify(s) 40377 } 40378 40379 // GoString returns the string representation. 40380 // 40381 // API parameter values that are decorated as "sensitive" in the API will not 40382 // be included in the string output. The member name will be present, but the 40383 // value will be replaced with "sensitive". 40384 func (s OperationTimeoutException) GoString() string { 40385 return s.String() 40386 } 40387 40388 func newErrorOperationTimeoutException(v protocol.ResponseMetadata) error { 40389 return &OperationTimeoutException{ 40390 RespMetadata: v, 40391 } 40392 } 40393 40394 // Code returns the exception type name. 40395 func (s *OperationTimeoutException) Code() string { 40396 return "OperationTimeoutException" 40397 } 40398 40399 // Message returns the exception's message. 40400 func (s *OperationTimeoutException) Message() string { 40401 if s.Message_ != nil { 40402 return *s.Message_ 40403 } 40404 return "" 40405 } 40406 40407 // OrigErr always returns nil, satisfies awserr.Error interface. 40408 func (s *OperationTimeoutException) OrigErr() error { 40409 return nil 40410 } 40411 40412 func (s *OperationTimeoutException) Error() string { 40413 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 40414 } 40415 40416 // Status code returns the HTTP status code for the request's response error. 40417 func (s *OperationTimeoutException) StatusCode() int { 40418 return s.RespMetadata.StatusCode 40419 } 40420 40421 // RequestID returns the service's response RequestID for request. 40422 func (s *OperationTimeoutException) RequestID() string { 40423 return s.RespMetadata.RequestID 40424 } 40425 40426 // Specifies the sort order of a sorted column. 40427 type Order struct { 40428 _ struct{} `type:"structure"` 40429 40430 // The name of the column. 40431 // 40432 // Column is a required field 40433 Column *string `min:"1" type:"string" required:"true"` 40434 40435 // Indicates that the column is sorted in ascending order (== 1), or in descending 40436 // order (==0). 40437 // 40438 // SortOrder is a required field 40439 SortOrder *int64 `type:"integer" required:"true"` 40440 } 40441 40442 // String returns the string representation. 40443 // 40444 // API parameter values that are decorated as "sensitive" in the API will not 40445 // be included in the string output. The member name will be present, but the 40446 // value will be replaced with "sensitive". 40447 func (s Order) String() string { 40448 return awsutil.Prettify(s) 40449 } 40450 40451 // GoString returns the string representation. 40452 // 40453 // API parameter values that are decorated as "sensitive" in the API will not 40454 // be included in the string output. The member name will be present, but the 40455 // value will be replaced with "sensitive". 40456 func (s Order) GoString() string { 40457 return s.String() 40458 } 40459 40460 // Validate inspects the fields of the type to determine if they are valid. 40461 func (s *Order) Validate() error { 40462 invalidParams := request.ErrInvalidParams{Context: "Order"} 40463 if s.Column == nil { 40464 invalidParams.Add(request.NewErrParamRequired("Column")) 40465 } 40466 if s.Column != nil && len(*s.Column) < 1 { 40467 invalidParams.Add(request.NewErrParamMinLen("Column", 1)) 40468 } 40469 if s.SortOrder == nil { 40470 invalidParams.Add(request.NewErrParamRequired("SortOrder")) 40471 } 40472 40473 if invalidParams.Len() > 0 { 40474 return invalidParams 40475 } 40476 return nil 40477 } 40478 40479 // SetColumn sets the Column field's value. 40480 func (s *Order) SetColumn(v string) *Order { 40481 s.Column = &v 40482 return s 40483 } 40484 40485 // SetSortOrder sets the SortOrder field's value. 40486 func (s *Order) SetSortOrder(v int64) *Order { 40487 s.SortOrder = &v 40488 return s 40489 } 40490 40491 // A structure containing other metadata for a schema version belonging to the 40492 // same metadata key. 40493 type OtherMetadataValueListItem struct { 40494 _ struct{} `type:"structure"` 40495 40496 // The time at which the entry was created. 40497 CreatedTime *string `type:"string"` 40498 40499 // The metadata key’s corresponding value for the other metadata belonging 40500 // to the same metadata key. 40501 MetadataValue *string `min:"1" type:"string"` 40502 } 40503 40504 // String returns the string representation. 40505 // 40506 // API parameter values that are decorated as "sensitive" in the API will not 40507 // be included in the string output. The member name will be present, but the 40508 // value will be replaced with "sensitive". 40509 func (s OtherMetadataValueListItem) String() string { 40510 return awsutil.Prettify(s) 40511 } 40512 40513 // GoString returns the string representation. 40514 // 40515 // API parameter values that are decorated as "sensitive" in the API will not 40516 // be included in the string output. The member name will be present, but the 40517 // value will be replaced with "sensitive". 40518 func (s OtherMetadataValueListItem) GoString() string { 40519 return s.String() 40520 } 40521 40522 // SetCreatedTime sets the CreatedTime field's value. 40523 func (s *OtherMetadataValueListItem) SetCreatedTime(v string) *OtherMetadataValueListItem { 40524 s.CreatedTime = &v 40525 return s 40526 } 40527 40528 // SetMetadataValue sets the MetadataValue field's value. 40529 func (s *OtherMetadataValueListItem) SetMetadataValue(v string) *OtherMetadataValueListItem { 40530 s.MetadataValue = &v 40531 return s 40532 } 40533 40534 // Represents a slice of table data. 40535 type Partition struct { 40536 _ struct{} `type:"structure"` 40537 40538 // The ID of the Data Catalog in which the partition resides. 40539 CatalogId *string `min:"1" type:"string"` 40540 40541 // The time at which the partition was created. 40542 CreationTime *time.Time `type:"timestamp"` 40543 40544 // The name of the catalog database in which to create the partition. 40545 DatabaseName *string `min:"1" type:"string"` 40546 40547 // The last time at which the partition was accessed. 40548 LastAccessTime *time.Time `type:"timestamp"` 40549 40550 // The last time at which column statistics were computed for this partition. 40551 LastAnalyzedTime *time.Time `type:"timestamp"` 40552 40553 // These key-value pairs define partition parameters. 40554 Parameters map[string]*string `type:"map"` 40555 40556 // Provides information about the physical location where the partition is stored. 40557 StorageDescriptor *StorageDescriptor `type:"structure"` 40558 40559 // The name of the database table in which to create the partition. 40560 TableName *string `min:"1" type:"string"` 40561 40562 // The values of the partition. 40563 Values []*string `type:"list"` 40564 } 40565 40566 // String returns the string representation. 40567 // 40568 // API parameter values that are decorated as "sensitive" in the API will not 40569 // be included in the string output. The member name will be present, but the 40570 // value will be replaced with "sensitive". 40571 func (s Partition) String() string { 40572 return awsutil.Prettify(s) 40573 } 40574 40575 // GoString returns the string representation. 40576 // 40577 // API parameter values that are decorated as "sensitive" in the API will not 40578 // be included in the string output. The member name will be present, but the 40579 // value will be replaced with "sensitive". 40580 func (s Partition) GoString() string { 40581 return s.String() 40582 } 40583 40584 // SetCatalogId sets the CatalogId field's value. 40585 func (s *Partition) SetCatalogId(v string) *Partition { 40586 s.CatalogId = &v 40587 return s 40588 } 40589 40590 // SetCreationTime sets the CreationTime field's value. 40591 func (s *Partition) SetCreationTime(v time.Time) *Partition { 40592 s.CreationTime = &v 40593 return s 40594 } 40595 40596 // SetDatabaseName sets the DatabaseName field's value. 40597 func (s *Partition) SetDatabaseName(v string) *Partition { 40598 s.DatabaseName = &v 40599 return s 40600 } 40601 40602 // SetLastAccessTime sets the LastAccessTime field's value. 40603 func (s *Partition) SetLastAccessTime(v time.Time) *Partition { 40604 s.LastAccessTime = &v 40605 return s 40606 } 40607 40608 // SetLastAnalyzedTime sets the LastAnalyzedTime field's value. 40609 func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition { 40610 s.LastAnalyzedTime = &v 40611 return s 40612 } 40613 40614 // SetParameters sets the Parameters field's value. 40615 func (s *Partition) SetParameters(v map[string]*string) *Partition { 40616 s.Parameters = v 40617 return s 40618 } 40619 40620 // SetStorageDescriptor sets the StorageDescriptor field's value. 40621 func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition { 40622 s.StorageDescriptor = v 40623 return s 40624 } 40625 40626 // SetTableName sets the TableName field's value. 40627 func (s *Partition) SetTableName(v string) *Partition { 40628 s.TableName = &v 40629 return s 40630 } 40631 40632 // SetValues sets the Values field's value. 40633 func (s *Partition) SetValues(v []*string) *Partition { 40634 s.Values = v 40635 return s 40636 } 40637 40638 // Contains information about a partition error. 40639 type PartitionError struct { 40640 _ struct{} `type:"structure"` 40641 40642 // The details about the partition error. 40643 ErrorDetail *ErrorDetail `type:"structure"` 40644 40645 // The values that define the partition. 40646 PartitionValues []*string `type:"list"` 40647 } 40648 40649 // String returns the string representation. 40650 // 40651 // API parameter values that are decorated as "sensitive" in the API will not 40652 // be included in the string output. The member name will be present, but the 40653 // value will be replaced with "sensitive". 40654 func (s PartitionError) String() string { 40655 return awsutil.Prettify(s) 40656 } 40657 40658 // GoString returns the string representation. 40659 // 40660 // API parameter values that are decorated as "sensitive" in the API will not 40661 // be included in the string output. The member name will be present, but the 40662 // value will be replaced with "sensitive". 40663 func (s PartitionError) GoString() string { 40664 return s.String() 40665 } 40666 40667 // SetErrorDetail sets the ErrorDetail field's value. 40668 func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError { 40669 s.ErrorDetail = v 40670 return s 40671 } 40672 40673 // SetPartitionValues sets the PartitionValues field's value. 40674 func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError { 40675 s.PartitionValues = v 40676 return s 40677 } 40678 40679 // A structure for a partition index. 40680 type PartitionIndex struct { 40681 _ struct{} `type:"structure"` 40682 40683 // The name of the partition index. 40684 // 40685 // IndexName is a required field 40686 IndexName *string `min:"1" type:"string" required:"true"` 40687 40688 // The keys for the partition index. 40689 // 40690 // Keys is a required field 40691 Keys []*string `min:"1" type:"list" required:"true"` 40692 } 40693 40694 // String returns the string representation. 40695 // 40696 // API parameter values that are decorated as "sensitive" in the API will not 40697 // be included in the string output. The member name will be present, but the 40698 // value will be replaced with "sensitive". 40699 func (s PartitionIndex) String() string { 40700 return awsutil.Prettify(s) 40701 } 40702 40703 // GoString returns the string representation. 40704 // 40705 // API parameter values that are decorated as "sensitive" in the API will not 40706 // be included in the string output. The member name will be present, but the 40707 // value will be replaced with "sensitive". 40708 func (s PartitionIndex) GoString() string { 40709 return s.String() 40710 } 40711 40712 // Validate inspects the fields of the type to determine if they are valid. 40713 func (s *PartitionIndex) Validate() error { 40714 invalidParams := request.ErrInvalidParams{Context: "PartitionIndex"} 40715 if s.IndexName == nil { 40716 invalidParams.Add(request.NewErrParamRequired("IndexName")) 40717 } 40718 if s.IndexName != nil && len(*s.IndexName) < 1 { 40719 invalidParams.Add(request.NewErrParamMinLen("IndexName", 1)) 40720 } 40721 if s.Keys == nil { 40722 invalidParams.Add(request.NewErrParamRequired("Keys")) 40723 } 40724 if s.Keys != nil && len(s.Keys) < 1 { 40725 invalidParams.Add(request.NewErrParamMinLen("Keys", 1)) 40726 } 40727 40728 if invalidParams.Len() > 0 { 40729 return invalidParams 40730 } 40731 return nil 40732 } 40733 40734 // SetIndexName sets the IndexName field's value. 40735 func (s *PartitionIndex) SetIndexName(v string) *PartitionIndex { 40736 s.IndexName = &v 40737 return s 40738 } 40739 40740 // SetKeys sets the Keys field's value. 40741 func (s *PartitionIndex) SetKeys(v []*string) *PartitionIndex { 40742 s.Keys = v 40743 return s 40744 } 40745 40746 // A descriptor for a partition index in a table. 40747 type PartitionIndexDescriptor struct { 40748 _ struct{} `type:"structure"` 40749 40750 // A list of errors that can occur when registering partition indexes for an 40751 // existing table. 40752 BackfillErrors []*BackfillError `type:"list"` 40753 40754 // The name of the partition index. 40755 // 40756 // IndexName is a required field 40757 IndexName *string `min:"1" type:"string" required:"true"` 40758 40759 // The status of the partition index. 40760 // 40761 // The possible statuses are: 40762 // 40763 // * CREATING: The index is being created. When an index is in a CREATING 40764 // state, the index or its table cannot be deleted. 40765 // 40766 // * ACTIVE: The index creation succeeds. 40767 // 40768 // * FAILED: The index creation fails. 40769 // 40770 // * DELETING: The index is deleted from the list of indexes. 40771 // 40772 // IndexStatus is a required field 40773 IndexStatus *string `type:"string" required:"true" enum:"PartitionIndexStatus"` 40774 40775 // A list of one or more keys, as KeySchemaElement structures, for the partition 40776 // index. 40777 // 40778 // Keys is a required field 40779 Keys []*KeySchemaElement `min:"1" type:"list" required:"true"` 40780 } 40781 40782 // String returns the string representation. 40783 // 40784 // API parameter values that are decorated as "sensitive" in the API will not 40785 // be included in the string output. The member name will be present, but the 40786 // value will be replaced with "sensitive". 40787 func (s PartitionIndexDescriptor) String() string { 40788 return awsutil.Prettify(s) 40789 } 40790 40791 // GoString returns the string representation. 40792 // 40793 // API parameter values that are decorated as "sensitive" in the API will not 40794 // be included in the string output. The member name will be present, but the 40795 // value will be replaced with "sensitive". 40796 func (s PartitionIndexDescriptor) GoString() string { 40797 return s.String() 40798 } 40799 40800 // SetBackfillErrors sets the BackfillErrors field's value. 40801 func (s *PartitionIndexDescriptor) SetBackfillErrors(v []*BackfillError) *PartitionIndexDescriptor { 40802 s.BackfillErrors = v 40803 return s 40804 } 40805 40806 // SetIndexName sets the IndexName field's value. 40807 func (s *PartitionIndexDescriptor) SetIndexName(v string) *PartitionIndexDescriptor { 40808 s.IndexName = &v 40809 return s 40810 } 40811 40812 // SetIndexStatus sets the IndexStatus field's value. 40813 func (s *PartitionIndexDescriptor) SetIndexStatus(v string) *PartitionIndexDescriptor { 40814 s.IndexStatus = &v 40815 return s 40816 } 40817 40818 // SetKeys sets the Keys field's value. 40819 func (s *PartitionIndexDescriptor) SetKeys(v []*KeySchemaElement) *PartitionIndexDescriptor { 40820 s.Keys = v 40821 return s 40822 } 40823 40824 // The structure used to create and update a partition. 40825 type PartitionInput struct { 40826 _ struct{} `type:"structure"` 40827 40828 // The last time at which the partition was accessed. 40829 LastAccessTime *time.Time `type:"timestamp"` 40830 40831 // The last time at which column statistics were computed for this partition. 40832 LastAnalyzedTime *time.Time `type:"timestamp"` 40833 40834 // These key-value pairs define partition parameters. 40835 Parameters map[string]*string `type:"map"` 40836 40837 // Provides information about the physical location where the partition is stored. 40838 StorageDescriptor *StorageDescriptor `type:"structure"` 40839 40840 // The values of the partition. Although this parameter is not required by the 40841 // SDK, you must specify this parameter for a valid input. 40842 // 40843 // The values for the keys for the new partition must be passed as an array 40844 // of String objects that must be ordered in the same order as the partition 40845 // keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values 40846 // to the wrong keys. 40847 Values []*string `type:"list"` 40848 } 40849 40850 // String returns the string representation. 40851 // 40852 // API parameter values that are decorated as "sensitive" in the API will not 40853 // be included in the string output. The member name will be present, but the 40854 // value will be replaced with "sensitive". 40855 func (s PartitionInput) String() string { 40856 return awsutil.Prettify(s) 40857 } 40858 40859 // GoString returns the string representation. 40860 // 40861 // API parameter values that are decorated as "sensitive" in the API will not 40862 // be included in the string output. The member name will be present, but the 40863 // value will be replaced with "sensitive". 40864 func (s PartitionInput) GoString() string { 40865 return s.String() 40866 } 40867 40868 // Validate inspects the fields of the type to determine if they are valid. 40869 func (s *PartitionInput) Validate() error { 40870 invalidParams := request.ErrInvalidParams{Context: "PartitionInput"} 40871 if s.StorageDescriptor != nil { 40872 if err := s.StorageDescriptor.Validate(); err != nil { 40873 invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams)) 40874 } 40875 } 40876 40877 if invalidParams.Len() > 0 { 40878 return invalidParams 40879 } 40880 return nil 40881 } 40882 40883 // SetLastAccessTime sets the LastAccessTime field's value. 40884 func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput { 40885 s.LastAccessTime = &v 40886 return s 40887 } 40888 40889 // SetLastAnalyzedTime sets the LastAnalyzedTime field's value. 40890 func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput { 40891 s.LastAnalyzedTime = &v 40892 return s 40893 } 40894 40895 // SetParameters sets the Parameters field's value. 40896 func (s *PartitionInput) SetParameters(v map[string]*string) *PartitionInput { 40897 s.Parameters = v 40898 return s 40899 } 40900 40901 // SetStorageDescriptor sets the StorageDescriptor field's value. 40902 func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput { 40903 s.StorageDescriptor = v 40904 return s 40905 } 40906 40907 // SetValues sets the Values field's value. 40908 func (s *PartitionInput) SetValues(v []*string) *PartitionInput { 40909 s.Values = v 40910 return s 40911 } 40912 40913 // Contains a list of values defining partitions. 40914 type PartitionValueList struct { 40915 _ struct{} `type:"structure"` 40916 40917 // The list of values. 40918 // 40919 // Values is a required field 40920 Values []*string `type:"list" required:"true"` 40921 } 40922 40923 // String returns the string representation. 40924 // 40925 // API parameter values that are decorated as "sensitive" in the API will not 40926 // be included in the string output. The member name will be present, but the 40927 // value will be replaced with "sensitive". 40928 func (s PartitionValueList) String() string { 40929 return awsutil.Prettify(s) 40930 } 40931 40932 // GoString returns the string representation. 40933 // 40934 // API parameter values that are decorated as "sensitive" in the API will not 40935 // be included in the string output. The member name will be present, but the 40936 // value will be replaced with "sensitive". 40937 func (s PartitionValueList) GoString() string { 40938 return s.String() 40939 } 40940 40941 // Validate inspects the fields of the type to determine if they are valid. 40942 func (s *PartitionValueList) Validate() error { 40943 invalidParams := request.ErrInvalidParams{Context: "PartitionValueList"} 40944 if s.Values == nil { 40945 invalidParams.Add(request.NewErrParamRequired("Values")) 40946 } 40947 40948 if invalidParams.Len() > 0 { 40949 return invalidParams 40950 } 40951 return nil 40952 } 40953 40954 // SetValues sets the Values field's value. 40955 func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList { 40956 s.Values = v 40957 return s 40958 } 40959 40960 // Specifies the physical requirements for a connection. 40961 type PhysicalConnectionRequirements struct { 40962 _ struct{} `type:"structure"` 40963 40964 // The connection's Availability Zone. This field is redundant because the specified 40965 // subnet implies the Availability Zone to be used. Currently the field must 40966 // be populated, but it will be deprecated in the future. 40967 AvailabilityZone *string `min:"1" type:"string"` 40968 40969 // The security group ID list used by the connection. 40970 SecurityGroupIdList []*string `type:"list"` 40971 40972 // The subnet ID used by the connection. 40973 SubnetId *string `min:"1" type:"string"` 40974 } 40975 40976 // String returns the string representation. 40977 // 40978 // API parameter values that are decorated as "sensitive" in the API will not 40979 // be included in the string output. The member name will be present, but the 40980 // value will be replaced with "sensitive". 40981 func (s PhysicalConnectionRequirements) String() string { 40982 return awsutil.Prettify(s) 40983 } 40984 40985 // GoString returns the string representation. 40986 // 40987 // API parameter values that are decorated as "sensitive" in the API will not 40988 // be included in the string output. The member name will be present, but the 40989 // value will be replaced with "sensitive". 40990 func (s PhysicalConnectionRequirements) GoString() string { 40991 return s.String() 40992 } 40993 40994 // Validate inspects the fields of the type to determine if they are valid. 40995 func (s *PhysicalConnectionRequirements) Validate() error { 40996 invalidParams := request.ErrInvalidParams{Context: "PhysicalConnectionRequirements"} 40997 if s.AvailabilityZone != nil && len(*s.AvailabilityZone) < 1 { 40998 invalidParams.Add(request.NewErrParamMinLen("AvailabilityZone", 1)) 40999 } 41000 if s.SubnetId != nil && len(*s.SubnetId) < 1 { 41001 invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1)) 41002 } 41003 41004 if invalidParams.Len() > 0 { 41005 return invalidParams 41006 } 41007 return nil 41008 } 41009 41010 // SetAvailabilityZone sets the AvailabilityZone field's value. 41011 func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements { 41012 s.AvailabilityZone = &v 41013 return s 41014 } 41015 41016 // SetSecurityGroupIdList sets the SecurityGroupIdList field's value. 41017 func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []*string) *PhysicalConnectionRequirements { 41018 s.SecurityGroupIdList = v 41019 return s 41020 } 41021 41022 // SetSubnetId sets the SubnetId field's value. 41023 func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements { 41024 s.SubnetId = &v 41025 return s 41026 } 41027 41028 // A job run that was used in the predicate of a conditional trigger that triggered 41029 // this job run. 41030 type Predecessor struct { 41031 _ struct{} `type:"structure"` 41032 41033 // The name of the job definition used by the predecessor job run. 41034 JobName *string `min:"1" type:"string"` 41035 41036 // The job-run ID of the predecessor job run. 41037 RunId *string `min:"1" type:"string"` 41038 } 41039 41040 // String returns the string representation. 41041 // 41042 // API parameter values that are decorated as "sensitive" in the API will not 41043 // be included in the string output. The member name will be present, but the 41044 // value will be replaced with "sensitive". 41045 func (s Predecessor) String() string { 41046 return awsutil.Prettify(s) 41047 } 41048 41049 // GoString returns the string representation. 41050 // 41051 // API parameter values that are decorated as "sensitive" in the API will not 41052 // be included in the string output. The member name will be present, but the 41053 // value will be replaced with "sensitive". 41054 func (s Predecessor) GoString() string { 41055 return s.String() 41056 } 41057 41058 // SetJobName sets the JobName field's value. 41059 func (s *Predecessor) SetJobName(v string) *Predecessor { 41060 s.JobName = &v 41061 return s 41062 } 41063 41064 // SetRunId sets the RunId field's value. 41065 func (s *Predecessor) SetRunId(v string) *Predecessor { 41066 s.RunId = &v 41067 return s 41068 } 41069 41070 // Defines the predicate of the trigger, which determines when it fires. 41071 type Predicate struct { 41072 _ struct{} `type:"structure"` 41073 41074 // A list of the conditions that determine when the trigger will fire. 41075 Conditions []*Condition `type:"list"` 41076 41077 // An optional field if only one condition is listed. If multiple conditions 41078 // are listed, then this field is required. 41079 Logical *string `type:"string" enum:"Logical"` 41080 } 41081 41082 // String returns the string representation. 41083 // 41084 // API parameter values that are decorated as "sensitive" in the API will not 41085 // be included in the string output. The member name will be present, but the 41086 // value will be replaced with "sensitive". 41087 func (s Predicate) String() string { 41088 return awsutil.Prettify(s) 41089 } 41090 41091 // GoString returns the string representation. 41092 // 41093 // API parameter values that are decorated as "sensitive" in the API will not 41094 // be included in the string output. The member name will be present, but the 41095 // value will be replaced with "sensitive". 41096 func (s Predicate) GoString() string { 41097 return s.String() 41098 } 41099 41100 // Validate inspects the fields of the type to determine if they are valid. 41101 func (s *Predicate) Validate() error { 41102 invalidParams := request.ErrInvalidParams{Context: "Predicate"} 41103 if s.Conditions != nil { 41104 for i, v := range s.Conditions { 41105 if v == nil { 41106 continue 41107 } 41108 if err := v.Validate(); err != nil { 41109 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams)) 41110 } 41111 } 41112 } 41113 41114 if invalidParams.Len() > 0 { 41115 return invalidParams 41116 } 41117 return nil 41118 } 41119 41120 // SetConditions sets the Conditions field's value. 41121 func (s *Predicate) SetConditions(v []*Condition) *Predicate { 41122 s.Conditions = v 41123 return s 41124 } 41125 41126 // SetLogical sets the Logical field's value. 41127 func (s *Predicate) SetLogical(v string) *Predicate { 41128 s.Logical = &v 41129 return s 41130 } 41131 41132 // Permissions granted to a principal. 41133 type PrincipalPermissions struct { 41134 _ struct{} `type:"structure"` 41135 41136 // The permissions that are granted to the principal. 41137 Permissions []*string `type:"list"` 41138 41139 // The principal who is granted permissions. 41140 Principal *DataLakePrincipal `type:"structure"` 41141 } 41142 41143 // String returns the string representation. 41144 // 41145 // API parameter values that are decorated as "sensitive" in the API will not 41146 // be included in the string output. The member name will be present, but the 41147 // value will be replaced with "sensitive". 41148 func (s PrincipalPermissions) String() string { 41149 return awsutil.Prettify(s) 41150 } 41151 41152 // GoString returns the string representation. 41153 // 41154 // API parameter values that are decorated as "sensitive" in the API will not 41155 // be included in the string output. The member name will be present, but the 41156 // value will be replaced with "sensitive". 41157 func (s PrincipalPermissions) GoString() string { 41158 return s.String() 41159 } 41160 41161 // Validate inspects the fields of the type to determine if they are valid. 41162 func (s *PrincipalPermissions) Validate() error { 41163 invalidParams := request.ErrInvalidParams{Context: "PrincipalPermissions"} 41164 if s.Principal != nil { 41165 if err := s.Principal.Validate(); err != nil { 41166 invalidParams.AddNested("Principal", err.(request.ErrInvalidParams)) 41167 } 41168 } 41169 41170 if invalidParams.Len() > 0 { 41171 return invalidParams 41172 } 41173 return nil 41174 } 41175 41176 // SetPermissions sets the Permissions field's value. 41177 func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions { 41178 s.Permissions = v 41179 return s 41180 } 41181 41182 // SetPrincipal sets the Principal field's value. 41183 func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions { 41184 s.Principal = v 41185 return s 41186 } 41187 41188 // Defines a property predicate. 41189 type PropertyPredicate struct { 41190 _ struct{} `type:"structure"` 41191 41192 // The comparator used to compare this property to others. 41193 Comparator *string `type:"string" enum:"Comparator"` 41194 41195 // The key of the property. 41196 Key *string `type:"string"` 41197 41198 // The value of the property. 41199 Value *string `type:"string"` 41200 } 41201 41202 // String returns the string representation. 41203 // 41204 // API parameter values that are decorated as "sensitive" in the API will not 41205 // be included in the string output. The member name will be present, but the 41206 // value will be replaced with "sensitive". 41207 func (s PropertyPredicate) String() string { 41208 return awsutil.Prettify(s) 41209 } 41210 41211 // GoString returns the string representation. 41212 // 41213 // API parameter values that are decorated as "sensitive" in the API will not 41214 // be included in the string output. The member name will be present, but the 41215 // value will be replaced with "sensitive". 41216 func (s PropertyPredicate) GoString() string { 41217 return s.String() 41218 } 41219 41220 // SetComparator sets the Comparator field's value. 41221 func (s *PropertyPredicate) SetComparator(v string) *PropertyPredicate { 41222 s.Comparator = &v 41223 return s 41224 } 41225 41226 // SetKey sets the Key field's value. 41227 func (s *PropertyPredicate) SetKey(v string) *PropertyPredicate { 41228 s.Key = &v 41229 return s 41230 } 41231 41232 // SetValue sets the Value field's value. 41233 func (s *PropertyPredicate) SetValue(v string) *PropertyPredicate { 41234 s.Value = &v 41235 return s 41236 } 41237 41238 type PutDataCatalogEncryptionSettingsInput struct { 41239 _ struct{} `type:"structure"` 41240 41241 // The ID of the Data Catalog to set the security configuration for. If none 41242 // is provided, the Amazon Web Services account ID is used by default. 41243 CatalogId *string `min:"1" type:"string"` 41244 41245 // The security configuration to set. 41246 // 41247 // DataCatalogEncryptionSettings is a required field 41248 DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure" required:"true"` 41249 } 41250 41251 // String returns the string representation. 41252 // 41253 // API parameter values that are decorated as "sensitive" in the API will not 41254 // be included in the string output. The member name will be present, but the 41255 // value will be replaced with "sensitive". 41256 func (s PutDataCatalogEncryptionSettingsInput) String() string { 41257 return awsutil.Prettify(s) 41258 } 41259 41260 // GoString returns the string representation. 41261 // 41262 // API parameter values that are decorated as "sensitive" in the API will not 41263 // be included in the string output. The member name will be present, but the 41264 // value will be replaced with "sensitive". 41265 func (s PutDataCatalogEncryptionSettingsInput) GoString() string { 41266 return s.String() 41267 } 41268 41269 // Validate inspects the fields of the type to determine if they are valid. 41270 func (s *PutDataCatalogEncryptionSettingsInput) Validate() error { 41271 invalidParams := request.ErrInvalidParams{Context: "PutDataCatalogEncryptionSettingsInput"} 41272 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 41273 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 41274 } 41275 if s.DataCatalogEncryptionSettings == nil { 41276 invalidParams.Add(request.NewErrParamRequired("DataCatalogEncryptionSettings")) 41277 } 41278 if s.DataCatalogEncryptionSettings != nil { 41279 if err := s.DataCatalogEncryptionSettings.Validate(); err != nil { 41280 invalidParams.AddNested("DataCatalogEncryptionSettings", err.(request.ErrInvalidParams)) 41281 } 41282 } 41283 41284 if invalidParams.Len() > 0 { 41285 return invalidParams 41286 } 41287 return nil 41288 } 41289 41290 // SetCatalogId sets the CatalogId field's value. 41291 func (s *PutDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *PutDataCatalogEncryptionSettingsInput { 41292 s.CatalogId = &v 41293 return s 41294 } 41295 41296 // SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value. 41297 func (s *PutDataCatalogEncryptionSettingsInput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *PutDataCatalogEncryptionSettingsInput { 41298 s.DataCatalogEncryptionSettings = v 41299 return s 41300 } 41301 41302 type PutDataCatalogEncryptionSettingsOutput struct { 41303 _ struct{} `type:"structure"` 41304 } 41305 41306 // String returns the string representation. 41307 // 41308 // API parameter values that are decorated as "sensitive" in the API will not 41309 // be included in the string output. The member name will be present, but the 41310 // value will be replaced with "sensitive". 41311 func (s PutDataCatalogEncryptionSettingsOutput) String() string { 41312 return awsutil.Prettify(s) 41313 } 41314 41315 // GoString returns the string representation. 41316 // 41317 // API parameter values that are decorated as "sensitive" in the API will not 41318 // be included in the string output. The member name will be present, but the 41319 // value will be replaced with "sensitive". 41320 func (s PutDataCatalogEncryptionSettingsOutput) GoString() string { 41321 return s.String() 41322 } 41323 41324 type PutResourcePolicyInput struct { 41325 _ struct{} `type:"structure"` 41326 41327 // If 'TRUE', indicates that you are using both methods to grant cross-account 41328 // access to Data Catalog resources: 41329 // 41330 // * By directly updating the resource policy with PutResourePolicy 41331 // 41332 // * By using the Grant permissions command on the Amazon Web Services Management 41333 // Console. 41334 // 41335 // Must be set to 'TRUE' if you have already used the Management Console to 41336 // grant cross-account access, otherwise the call fails. Default is 'FALSE'. 41337 EnableHybrid *string `type:"string" enum:"EnableHybridValues"` 41338 41339 // A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is 41340 // used to create a new policy. If a value of NONE or a null value is used, 41341 // the call does not depend on the existence of a policy. 41342 PolicyExistsCondition *string `type:"string" enum:"ExistCondition"` 41343 41344 // The hash value returned when the previous policy was set using PutResourcePolicy. 41345 // Its purpose is to prevent concurrent modifications of a policy. Do not use 41346 // this parameter if no previous policy has been set. 41347 PolicyHashCondition *string `min:"1" type:"string"` 41348 41349 // Contains the policy document to set, in JSON format. 41350 // 41351 // PolicyInJson is a required field 41352 PolicyInJson *string `min:"2" type:"string" required:"true"` 41353 41354 // Do not use. For internal use only. 41355 ResourceArn *string `min:"1" type:"string"` 41356 } 41357 41358 // String returns the string representation. 41359 // 41360 // API parameter values that are decorated as "sensitive" in the API will not 41361 // be included in the string output. The member name will be present, but the 41362 // value will be replaced with "sensitive". 41363 func (s PutResourcePolicyInput) String() string { 41364 return awsutil.Prettify(s) 41365 } 41366 41367 // GoString returns the string representation. 41368 // 41369 // API parameter values that are decorated as "sensitive" in the API will not 41370 // be included in the string output. The member name will be present, but the 41371 // value will be replaced with "sensitive". 41372 func (s PutResourcePolicyInput) GoString() string { 41373 return s.String() 41374 } 41375 41376 // Validate inspects the fields of the type to determine if they are valid. 41377 func (s *PutResourcePolicyInput) Validate() error { 41378 invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"} 41379 if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 { 41380 invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1)) 41381 } 41382 if s.PolicyInJson == nil { 41383 invalidParams.Add(request.NewErrParamRequired("PolicyInJson")) 41384 } 41385 if s.PolicyInJson != nil && len(*s.PolicyInJson) < 2 { 41386 invalidParams.Add(request.NewErrParamMinLen("PolicyInJson", 2)) 41387 } 41388 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 41389 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 41390 } 41391 41392 if invalidParams.Len() > 0 { 41393 return invalidParams 41394 } 41395 return nil 41396 } 41397 41398 // SetEnableHybrid sets the EnableHybrid field's value. 41399 func (s *PutResourcePolicyInput) SetEnableHybrid(v string) *PutResourcePolicyInput { 41400 s.EnableHybrid = &v 41401 return s 41402 } 41403 41404 // SetPolicyExistsCondition sets the PolicyExistsCondition field's value. 41405 func (s *PutResourcePolicyInput) SetPolicyExistsCondition(v string) *PutResourcePolicyInput { 41406 s.PolicyExistsCondition = &v 41407 return s 41408 } 41409 41410 // SetPolicyHashCondition sets the PolicyHashCondition field's value. 41411 func (s *PutResourcePolicyInput) SetPolicyHashCondition(v string) *PutResourcePolicyInput { 41412 s.PolicyHashCondition = &v 41413 return s 41414 } 41415 41416 // SetPolicyInJson sets the PolicyInJson field's value. 41417 func (s *PutResourcePolicyInput) SetPolicyInJson(v string) *PutResourcePolicyInput { 41418 s.PolicyInJson = &v 41419 return s 41420 } 41421 41422 // SetResourceArn sets the ResourceArn field's value. 41423 func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput { 41424 s.ResourceArn = &v 41425 return s 41426 } 41427 41428 type PutResourcePolicyOutput struct { 41429 _ struct{} `type:"structure"` 41430 41431 // A hash of the policy that has just been set. This must be included in a subsequent 41432 // call that overwrites or updates this policy. 41433 PolicyHash *string `min:"1" type:"string"` 41434 } 41435 41436 // String returns the string representation. 41437 // 41438 // API parameter values that are decorated as "sensitive" in the API will not 41439 // be included in the string output. The member name will be present, but the 41440 // value will be replaced with "sensitive". 41441 func (s PutResourcePolicyOutput) String() string { 41442 return awsutil.Prettify(s) 41443 } 41444 41445 // GoString returns the string representation. 41446 // 41447 // API parameter values that are decorated as "sensitive" in the API will not 41448 // be included in the string output. The member name will be present, but the 41449 // value will be replaced with "sensitive". 41450 func (s PutResourcePolicyOutput) GoString() string { 41451 return s.String() 41452 } 41453 41454 // SetPolicyHash sets the PolicyHash field's value. 41455 func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput { 41456 s.PolicyHash = &v 41457 return s 41458 } 41459 41460 type PutSchemaVersionMetadataInput struct { 41461 _ struct{} `type:"structure"` 41462 41463 // The metadata key's corresponding value. 41464 // 41465 // MetadataKeyValue is a required field 41466 MetadataKeyValue *MetadataKeyValuePair `type:"structure" required:"true"` 41467 41468 // The unique ID for the schema. 41469 SchemaId *SchemaId `type:"structure"` 41470 41471 // The unique version ID of the schema version. 41472 SchemaVersionId *string `min:"36" type:"string"` 41473 41474 // The version number of the schema. 41475 SchemaVersionNumber *SchemaVersionNumber `type:"structure"` 41476 } 41477 41478 // String returns the string representation. 41479 // 41480 // API parameter values that are decorated as "sensitive" in the API will not 41481 // be included in the string output. The member name will be present, but the 41482 // value will be replaced with "sensitive". 41483 func (s PutSchemaVersionMetadataInput) String() string { 41484 return awsutil.Prettify(s) 41485 } 41486 41487 // GoString returns the string representation. 41488 // 41489 // API parameter values that are decorated as "sensitive" in the API will not 41490 // be included in the string output. The member name will be present, but the 41491 // value will be replaced with "sensitive". 41492 func (s PutSchemaVersionMetadataInput) GoString() string { 41493 return s.String() 41494 } 41495 41496 // Validate inspects the fields of the type to determine if they are valid. 41497 func (s *PutSchemaVersionMetadataInput) Validate() error { 41498 invalidParams := request.ErrInvalidParams{Context: "PutSchemaVersionMetadataInput"} 41499 if s.MetadataKeyValue == nil { 41500 invalidParams.Add(request.NewErrParamRequired("MetadataKeyValue")) 41501 } 41502 if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 { 41503 invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36)) 41504 } 41505 if s.MetadataKeyValue != nil { 41506 if err := s.MetadataKeyValue.Validate(); err != nil { 41507 invalidParams.AddNested("MetadataKeyValue", err.(request.ErrInvalidParams)) 41508 } 41509 } 41510 if s.SchemaId != nil { 41511 if err := s.SchemaId.Validate(); err != nil { 41512 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 41513 } 41514 } 41515 if s.SchemaVersionNumber != nil { 41516 if err := s.SchemaVersionNumber.Validate(); err != nil { 41517 invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams)) 41518 } 41519 } 41520 41521 if invalidParams.Len() > 0 { 41522 return invalidParams 41523 } 41524 return nil 41525 } 41526 41527 // SetMetadataKeyValue sets the MetadataKeyValue field's value. 41528 func (s *PutSchemaVersionMetadataInput) SetMetadataKeyValue(v *MetadataKeyValuePair) *PutSchemaVersionMetadataInput { 41529 s.MetadataKeyValue = v 41530 return s 41531 } 41532 41533 // SetSchemaId sets the SchemaId field's value. 41534 func (s *PutSchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *PutSchemaVersionMetadataInput { 41535 s.SchemaId = v 41536 return s 41537 } 41538 41539 // SetSchemaVersionId sets the SchemaVersionId field's value. 41540 func (s *PutSchemaVersionMetadataInput) SetSchemaVersionId(v string) *PutSchemaVersionMetadataInput { 41541 s.SchemaVersionId = &v 41542 return s 41543 } 41544 41545 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 41546 func (s *PutSchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *PutSchemaVersionMetadataInput { 41547 s.SchemaVersionNumber = v 41548 return s 41549 } 41550 41551 type PutSchemaVersionMetadataOutput struct { 41552 _ struct{} `type:"structure"` 41553 41554 // The latest version of the schema. 41555 LatestVersion *bool `type:"boolean"` 41556 41557 // The metadata key. 41558 MetadataKey *string `min:"1" type:"string"` 41559 41560 // The value of the metadata key. 41561 MetadataValue *string `min:"1" type:"string"` 41562 41563 // The name for the registry. 41564 RegistryName *string `min:"1" type:"string"` 41565 41566 // The Amazon Resource Name (ARN) for the schema. 41567 SchemaArn *string `min:"1" type:"string"` 41568 41569 // The name for the schema. 41570 SchemaName *string `min:"1" type:"string"` 41571 41572 // The unique version ID of the schema version. 41573 SchemaVersionId *string `min:"36" type:"string"` 41574 41575 // The version number of the schema. 41576 VersionNumber *int64 `min:"1" type:"long"` 41577 } 41578 41579 // String returns the string representation. 41580 // 41581 // API parameter values that are decorated as "sensitive" in the API will not 41582 // be included in the string output. The member name will be present, but the 41583 // value will be replaced with "sensitive". 41584 func (s PutSchemaVersionMetadataOutput) String() string { 41585 return awsutil.Prettify(s) 41586 } 41587 41588 // GoString returns the string representation. 41589 // 41590 // API parameter values that are decorated as "sensitive" in the API will not 41591 // be included in the string output. The member name will be present, but the 41592 // value will be replaced with "sensitive". 41593 func (s PutSchemaVersionMetadataOutput) GoString() string { 41594 return s.String() 41595 } 41596 41597 // SetLatestVersion sets the LatestVersion field's value. 41598 func (s *PutSchemaVersionMetadataOutput) SetLatestVersion(v bool) *PutSchemaVersionMetadataOutput { 41599 s.LatestVersion = &v 41600 return s 41601 } 41602 41603 // SetMetadataKey sets the MetadataKey field's value. 41604 func (s *PutSchemaVersionMetadataOutput) SetMetadataKey(v string) *PutSchemaVersionMetadataOutput { 41605 s.MetadataKey = &v 41606 return s 41607 } 41608 41609 // SetMetadataValue sets the MetadataValue field's value. 41610 func (s *PutSchemaVersionMetadataOutput) SetMetadataValue(v string) *PutSchemaVersionMetadataOutput { 41611 s.MetadataValue = &v 41612 return s 41613 } 41614 41615 // SetRegistryName sets the RegistryName field's value. 41616 func (s *PutSchemaVersionMetadataOutput) SetRegistryName(v string) *PutSchemaVersionMetadataOutput { 41617 s.RegistryName = &v 41618 return s 41619 } 41620 41621 // SetSchemaArn sets the SchemaArn field's value. 41622 func (s *PutSchemaVersionMetadataOutput) SetSchemaArn(v string) *PutSchemaVersionMetadataOutput { 41623 s.SchemaArn = &v 41624 return s 41625 } 41626 41627 // SetSchemaName sets the SchemaName field's value. 41628 func (s *PutSchemaVersionMetadataOutput) SetSchemaName(v string) *PutSchemaVersionMetadataOutput { 41629 s.SchemaName = &v 41630 return s 41631 } 41632 41633 // SetSchemaVersionId sets the SchemaVersionId field's value. 41634 func (s *PutSchemaVersionMetadataOutput) SetSchemaVersionId(v string) *PutSchemaVersionMetadataOutput { 41635 s.SchemaVersionId = &v 41636 return s 41637 } 41638 41639 // SetVersionNumber sets the VersionNumber field's value. 41640 func (s *PutSchemaVersionMetadataOutput) SetVersionNumber(v int64) *PutSchemaVersionMetadataOutput { 41641 s.VersionNumber = &v 41642 return s 41643 } 41644 41645 type PutWorkflowRunPropertiesInput struct { 41646 _ struct{} `type:"structure"` 41647 41648 // Name of the workflow which was run. 41649 // 41650 // Name is a required field 41651 Name *string `min:"1" type:"string" required:"true"` 41652 41653 // The ID of the workflow run for which the run properties should be updated. 41654 // 41655 // RunId is a required field 41656 RunId *string `min:"1" type:"string" required:"true"` 41657 41658 // The properties to put for the specified run. 41659 // 41660 // RunProperties is a required field 41661 RunProperties map[string]*string `type:"map" required:"true"` 41662 } 41663 41664 // String returns the string representation. 41665 // 41666 // API parameter values that are decorated as "sensitive" in the API will not 41667 // be included in the string output. The member name will be present, but the 41668 // value will be replaced with "sensitive". 41669 func (s PutWorkflowRunPropertiesInput) String() string { 41670 return awsutil.Prettify(s) 41671 } 41672 41673 // GoString returns the string representation. 41674 // 41675 // API parameter values that are decorated as "sensitive" in the API will not 41676 // be included in the string output. The member name will be present, but the 41677 // value will be replaced with "sensitive". 41678 func (s PutWorkflowRunPropertiesInput) GoString() string { 41679 return s.String() 41680 } 41681 41682 // Validate inspects the fields of the type to determine if they are valid. 41683 func (s *PutWorkflowRunPropertiesInput) Validate() error { 41684 invalidParams := request.ErrInvalidParams{Context: "PutWorkflowRunPropertiesInput"} 41685 if s.Name == nil { 41686 invalidParams.Add(request.NewErrParamRequired("Name")) 41687 } 41688 if s.Name != nil && len(*s.Name) < 1 { 41689 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 41690 } 41691 if s.RunId == nil { 41692 invalidParams.Add(request.NewErrParamRequired("RunId")) 41693 } 41694 if s.RunId != nil && len(*s.RunId) < 1 { 41695 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 41696 } 41697 if s.RunProperties == nil { 41698 invalidParams.Add(request.NewErrParamRequired("RunProperties")) 41699 } 41700 41701 if invalidParams.Len() > 0 { 41702 return invalidParams 41703 } 41704 return nil 41705 } 41706 41707 // SetName sets the Name field's value. 41708 func (s *PutWorkflowRunPropertiesInput) SetName(v string) *PutWorkflowRunPropertiesInput { 41709 s.Name = &v 41710 return s 41711 } 41712 41713 // SetRunId sets the RunId field's value. 41714 func (s *PutWorkflowRunPropertiesInput) SetRunId(v string) *PutWorkflowRunPropertiesInput { 41715 s.RunId = &v 41716 return s 41717 } 41718 41719 // SetRunProperties sets the RunProperties field's value. 41720 func (s *PutWorkflowRunPropertiesInput) SetRunProperties(v map[string]*string) *PutWorkflowRunPropertiesInput { 41721 s.RunProperties = v 41722 return s 41723 } 41724 41725 type PutWorkflowRunPropertiesOutput struct { 41726 _ struct{} `type:"structure"` 41727 } 41728 41729 // String returns the string representation. 41730 // 41731 // API parameter values that are decorated as "sensitive" in the API will not 41732 // be included in the string output. The member name will be present, but the 41733 // value will be replaced with "sensitive". 41734 func (s PutWorkflowRunPropertiesOutput) String() string { 41735 return awsutil.Prettify(s) 41736 } 41737 41738 // GoString returns the string representation. 41739 // 41740 // API parameter values that are decorated as "sensitive" in the API will not 41741 // be included in the string output. The member name will be present, but the 41742 // value will be replaced with "sensitive". 41743 func (s PutWorkflowRunPropertiesOutput) GoString() string { 41744 return s.String() 41745 } 41746 41747 type QuerySchemaVersionMetadataInput struct { 41748 _ struct{} `type:"structure"` 41749 41750 // Maximum number of results required per page. If the value is not supplied, 41751 // this will be defaulted to 25 per page. 41752 MaxResults *int64 `min:"1" type:"integer"` 41753 41754 // Search key-value pairs for metadata, if they are not provided all the metadata 41755 // information will be fetched. 41756 MetadataList []*MetadataKeyValuePair `type:"list"` 41757 41758 // A continuation token, if this is a continuation call. 41759 NextToken *string `type:"string"` 41760 41761 // A wrapper structure that may contain the schema name and Amazon Resource 41762 // Name (ARN). 41763 SchemaId *SchemaId `type:"structure"` 41764 41765 // The unique version ID of the schema version. 41766 SchemaVersionId *string `min:"36" type:"string"` 41767 41768 // The version number of the schema. 41769 SchemaVersionNumber *SchemaVersionNumber `type:"structure"` 41770 } 41771 41772 // String returns the string representation. 41773 // 41774 // API parameter values that are decorated as "sensitive" in the API will not 41775 // be included in the string output. The member name will be present, but the 41776 // value will be replaced with "sensitive". 41777 func (s QuerySchemaVersionMetadataInput) String() string { 41778 return awsutil.Prettify(s) 41779 } 41780 41781 // GoString returns the string representation. 41782 // 41783 // API parameter values that are decorated as "sensitive" in the API will not 41784 // be included in the string output. The member name will be present, but the 41785 // value will be replaced with "sensitive". 41786 func (s QuerySchemaVersionMetadataInput) GoString() string { 41787 return s.String() 41788 } 41789 41790 // Validate inspects the fields of the type to determine if they are valid. 41791 func (s *QuerySchemaVersionMetadataInput) Validate() error { 41792 invalidParams := request.ErrInvalidParams{Context: "QuerySchemaVersionMetadataInput"} 41793 if s.MaxResults != nil && *s.MaxResults < 1 { 41794 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 41795 } 41796 if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 { 41797 invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36)) 41798 } 41799 if s.MetadataList != nil { 41800 for i, v := range s.MetadataList { 41801 if v == nil { 41802 continue 41803 } 41804 if err := v.Validate(); err != nil { 41805 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetadataList", i), err.(request.ErrInvalidParams)) 41806 } 41807 } 41808 } 41809 if s.SchemaId != nil { 41810 if err := s.SchemaId.Validate(); err != nil { 41811 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 41812 } 41813 } 41814 if s.SchemaVersionNumber != nil { 41815 if err := s.SchemaVersionNumber.Validate(); err != nil { 41816 invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams)) 41817 } 41818 } 41819 41820 if invalidParams.Len() > 0 { 41821 return invalidParams 41822 } 41823 return nil 41824 } 41825 41826 // SetMaxResults sets the MaxResults field's value. 41827 func (s *QuerySchemaVersionMetadataInput) SetMaxResults(v int64) *QuerySchemaVersionMetadataInput { 41828 s.MaxResults = &v 41829 return s 41830 } 41831 41832 // SetMetadataList sets the MetadataList field's value. 41833 func (s *QuerySchemaVersionMetadataInput) SetMetadataList(v []*MetadataKeyValuePair) *QuerySchemaVersionMetadataInput { 41834 s.MetadataList = v 41835 return s 41836 } 41837 41838 // SetNextToken sets the NextToken field's value. 41839 func (s *QuerySchemaVersionMetadataInput) SetNextToken(v string) *QuerySchemaVersionMetadataInput { 41840 s.NextToken = &v 41841 return s 41842 } 41843 41844 // SetSchemaId sets the SchemaId field's value. 41845 func (s *QuerySchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *QuerySchemaVersionMetadataInput { 41846 s.SchemaId = v 41847 return s 41848 } 41849 41850 // SetSchemaVersionId sets the SchemaVersionId field's value. 41851 func (s *QuerySchemaVersionMetadataInput) SetSchemaVersionId(v string) *QuerySchemaVersionMetadataInput { 41852 s.SchemaVersionId = &v 41853 return s 41854 } 41855 41856 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 41857 func (s *QuerySchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *QuerySchemaVersionMetadataInput { 41858 s.SchemaVersionNumber = v 41859 return s 41860 } 41861 41862 type QuerySchemaVersionMetadataOutput struct { 41863 _ struct{} `type:"structure"` 41864 41865 // A map of a metadata key and associated values. 41866 MetadataInfoMap map[string]*MetadataInfo `type:"map"` 41867 41868 // A continuation token for paginating the returned list of tokens, returned 41869 // if the current segment of the list is not the last. 41870 NextToken *string `type:"string"` 41871 41872 // The unique version ID of the schema version. 41873 SchemaVersionId *string `min:"36" type:"string"` 41874 } 41875 41876 // String returns the string representation. 41877 // 41878 // API parameter values that are decorated as "sensitive" in the API will not 41879 // be included in the string output. The member name will be present, but the 41880 // value will be replaced with "sensitive". 41881 func (s QuerySchemaVersionMetadataOutput) String() string { 41882 return awsutil.Prettify(s) 41883 } 41884 41885 // GoString returns the string representation. 41886 // 41887 // API parameter values that are decorated as "sensitive" in the API will not 41888 // be included in the string output. The member name will be present, but the 41889 // value will be replaced with "sensitive". 41890 func (s QuerySchemaVersionMetadataOutput) GoString() string { 41891 return s.String() 41892 } 41893 41894 // SetMetadataInfoMap sets the MetadataInfoMap field's value. 41895 func (s *QuerySchemaVersionMetadataOutput) SetMetadataInfoMap(v map[string]*MetadataInfo) *QuerySchemaVersionMetadataOutput { 41896 s.MetadataInfoMap = v 41897 return s 41898 } 41899 41900 // SetNextToken sets the NextToken field's value. 41901 func (s *QuerySchemaVersionMetadataOutput) SetNextToken(v string) *QuerySchemaVersionMetadataOutput { 41902 s.NextToken = &v 41903 return s 41904 } 41905 41906 // SetSchemaVersionId sets the SchemaVersionId field's value. 41907 func (s *QuerySchemaVersionMetadataOutput) SetSchemaVersionId(v string) *QuerySchemaVersionMetadataOutput { 41908 s.SchemaVersionId = &v 41909 return s 41910 } 41911 41912 // When crawling an Amazon S3 data source after the first crawl is complete, 41913 // specifies whether to crawl the entire dataset again or to crawl only folders 41914 // that were added since the last crawler run. For more information, see Incremental 41915 // Crawls in Glue (https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html) 41916 // in the developer guide. 41917 type RecrawlPolicy struct { 41918 _ struct{} `type:"structure"` 41919 41920 // Specifies whether to crawl the entire dataset again or to crawl only folders 41921 // that were added since the last crawler run. 41922 // 41923 // A value of CRAWL_EVERYTHING specifies crawling the entire dataset again. 41924 // 41925 // A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were 41926 // added since the last crawler run. 41927 RecrawlBehavior *string `type:"string" enum:"RecrawlBehavior"` 41928 } 41929 41930 // String returns the string representation. 41931 // 41932 // API parameter values that are decorated as "sensitive" in the API will not 41933 // be included in the string output. The member name will be present, but the 41934 // value will be replaced with "sensitive". 41935 func (s RecrawlPolicy) String() string { 41936 return awsutil.Prettify(s) 41937 } 41938 41939 // GoString returns the string representation. 41940 // 41941 // API parameter values that are decorated as "sensitive" in the API will not 41942 // be included in the string output. The member name will be present, but the 41943 // value will be replaced with "sensitive". 41944 func (s RecrawlPolicy) GoString() string { 41945 return s.String() 41946 } 41947 41948 // SetRecrawlBehavior sets the RecrawlBehavior field's value. 41949 func (s *RecrawlPolicy) SetRecrawlBehavior(v string) *RecrawlPolicy { 41950 s.RecrawlBehavior = &v 41951 return s 41952 } 41953 41954 type RegisterSchemaVersionInput struct { 41955 _ struct{} `type:"structure"` 41956 41957 // The schema definition using the DataFormat setting for the SchemaName. 41958 // 41959 // SchemaDefinition is a required field 41960 SchemaDefinition *string `min:"1" type:"string" required:"true"` 41961 41962 // This is a wrapper structure to contain schema identity fields. The structure 41963 // contains: 41964 // 41965 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either 41966 // SchemaArn or SchemaName and RegistryName has to be provided. 41967 // 41968 // * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName 41969 // and RegistryName has to be provided. 41970 // 41971 // SchemaId is a required field 41972 SchemaId *SchemaId `type:"structure" required:"true"` 41973 } 41974 41975 // String returns the string representation. 41976 // 41977 // API parameter values that are decorated as "sensitive" in the API will not 41978 // be included in the string output. The member name will be present, but the 41979 // value will be replaced with "sensitive". 41980 func (s RegisterSchemaVersionInput) String() string { 41981 return awsutil.Prettify(s) 41982 } 41983 41984 // GoString returns the string representation. 41985 // 41986 // API parameter values that are decorated as "sensitive" in the API will not 41987 // be included in the string output. The member name will be present, but the 41988 // value will be replaced with "sensitive". 41989 func (s RegisterSchemaVersionInput) GoString() string { 41990 return s.String() 41991 } 41992 41993 // Validate inspects the fields of the type to determine if they are valid. 41994 func (s *RegisterSchemaVersionInput) Validate() error { 41995 invalidParams := request.ErrInvalidParams{Context: "RegisterSchemaVersionInput"} 41996 if s.SchemaDefinition == nil { 41997 invalidParams.Add(request.NewErrParamRequired("SchemaDefinition")) 41998 } 41999 if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 { 42000 invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1)) 42001 } 42002 if s.SchemaId == nil { 42003 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 42004 } 42005 if s.SchemaId != nil { 42006 if err := s.SchemaId.Validate(); err != nil { 42007 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 42008 } 42009 } 42010 42011 if invalidParams.Len() > 0 { 42012 return invalidParams 42013 } 42014 return nil 42015 } 42016 42017 // SetSchemaDefinition sets the SchemaDefinition field's value. 42018 func (s *RegisterSchemaVersionInput) SetSchemaDefinition(v string) *RegisterSchemaVersionInput { 42019 s.SchemaDefinition = &v 42020 return s 42021 } 42022 42023 // SetSchemaId sets the SchemaId field's value. 42024 func (s *RegisterSchemaVersionInput) SetSchemaId(v *SchemaId) *RegisterSchemaVersionInput { 42025 s.SchemaId = v 42026 return s 42027 } 42028 42029 type RegisterSchemaVersionOutput struct { 42030 _ struct{} `type:"structure"` 42031 42032 // The unique ID that represents the version of this schema. 42033 SchemaVersionId *string `min:"36" type:"string"` 42034 42035 // The status of the schema version. 42036 Status *string `type:"string" enum:"SchemaVersionStatus"` 42037 42038 // The version of this schema (for sync flow only, in case this is the first 42039 // version). 42040 VersionNumber *int64 `min:"1" type:"long"` 42041 } 42042 42043 // String returns the string representation. 42044 // 42045 // API parameter values that are decorated as "sensitive" in the API will not 42046 // be included in the string output. The member name will be present, but the 42047 // value will be replaced with "sensitive". 42048 func (s RegisterSchemaVersionOutput) String() string { 42049 return awsutil.Prettify(s) 42050 } 42051 42052 // GoString returns the string representation. 42053 // 42054 // API parameter values that are decorated as "sensitive" in the API will not 42055 // be included in the string output. The member name will be present, but the 42056 // value will be replaced with "sensitive". 42057 func (s RegisterSchemaVersionOutput) GoString() string { 42058 return s.String() 42059 } 42060 42061 // SetSchemaVersionId sets the SchemaVersionId field's value. 42062 func (s *RegisterSchemaVersionOutput) SetSchemaVersionId(v string) *RegisterSchemaVersionOutput { 42063 s.SchemaVersionId = &v 42064 return s 42065 } 42066 42067 // SetStatus sets the Status field's value. 42068 func (s *RegisterSchemaVersionOutput) SetStatus(v string) *RegisterSchemaVersionOutput { 42069 s.Status = &v 42070 return s 42071 } 42072 42073 // SetVersionNumber sets the VersionNumber field's value. 42074 func (s *RegisterSchemaVersionOutput) SetVersionNumber(v int64) *RegisterSchemaVersionOutput { 42075 s.VersionNumber = &v 42076 return s 42077 } 42078 42079 // A wrapper structure that may contain the registry name and Amazon Resource 42080 // Name (ARN). 42081 type RegistryId struct { 42082 _ struct{} `type:"structure"` 42083 42084 // Arn of the registry to be updated. One of RegistryArn or RegistryName has 42085 // to be provided. 42086 RegistryArn *string `min:"1" type:"string"` 42087 42088 // Name of the registry. Used only for lookup. One of RegistryArn or RegistryName 42089 // has to be provided. 42090 RegistryName *string `min:"1" type:"string"` 42091 } 42092 42093 // String returns the string representation. 42094 // 42095 // API parameter values that are decorated as "sensitive" in the API will not 42096 // be included in the string output. The member name will be present, but the 42097 // value will be replaced with "sensitive". 42098 func (s RegistryId) String() string { 42099 return awsutil.Prettify(s) 42100 } 42101 42102 // GoString returns the string representation. 42103 // 42104 // API parameter values that are decorated as "sensitive" in the API will not 42105 // be included in the string output. The member name will be present, but the 42106 // value will be replaced with "sensitive". 42107 func (s RegistryId) GoString() string { 42108 return s.String() 42109 } 42110 42111 // Validate inspects the fields of the type to determine if they are valid. 42112 func (s *RegistryId) Validate() error { 42113 invalidParams := request.ErrInvalidParams{Context: "RegistryId"} 42114 if s.RegistryArn != nil && len(*s.RegistryArn) < 1 { 42115 invalidParams.Add(request.NewErrParamMinLen("RegistryArn", 1)) 42116 } 42117 if s.RegistryName != nil && len(*s.RegistryName) < 1 { 42118 invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1)) 42119 } 42120 42121 if invalidParams.Len() > 0 { 42122 return invalidParams 42123 } 42124 return nil 42125 } 42126 42127 // SetRegistryArn sets the RegistryArn field's value. 42128 func (s *RegistryId) SetRegistryArn(v string) *RegistryId { 42129 s.RegistryArn = &v 42130 return s 42131 } 42132 42133 // SetRegistryName sets the RegistryName field's value. 42134 func (s *RegistryId) SetRegistryName(v string) *RegistryId { 42135 s.RegistryName = &v 42136 return s 42137 } 42138 42139 // A structure containing the details for a registry. 42140 type RegistryListItem struct { 42141 _ struct{} `type:"structure"` 42142 42143 // The data the registry was created. 42144 CreatedTime *string `type:"string"` 42145 42146 // A description of the registry. 42147 Description *string `type:"string"` 42148 42149 // The Amazon Resource Name (ARN) of the registry. 42150 RegistryArn *string `min:"1" type:"string"` 42151 42152 // The name of the registry. 42153 RegistryName *string `min:"1" type:"string"` 42154 42155 // The status of the registry. 42156 Status *string `type:"string" enum:"RegistryStatus"` 42157 42158 // The date the registry was updated. 42159 UpdatedTime *string `type:"string"` 42160 } 42161 42162 // String returns the string representation. 42163 // 42164 // API parameter values that are decorated as "sensitive" in the API will not 42165 // be included in the string output. The member name will be present, but the 42166 // value will be replaced with "sensitive". 42167 func (s RegistryListItem) String() string { 42168 return awsutil.Prettify(s) 42169 } 42170 42171 // GoString returns the string representation. 42172 // 42173 // API parameter values that are decorated as "sensitive" in the API will not 42174 // be included in the string output. The member name will be present, but the 42175 // value will be replaced with "sensitive". 42176 func (s RegistryListItem) GoString() string { 42177 return s.String() 42178 } 42179 42180 // SetCreatedTime sets the CreatedTime field's value. 42181 func (s *RegistryListItem) SetCreatedTime(v string) *RegistryListItem { 42182 s.CreatedTime = &v 42183 return s 42184 } 42185 42186 // SetDescription sets the Description field's value. 42187 func (s *RegistryListItem) SetDescription(v string) *RegistryListItem { 42188 s.Description = &v 42189 return s 42190 } 42191 42192 // SetRegistryArn sets the RegistryArn field's value. 42193 func (s *RegistryListItem) SetRegistryArn(v string) *RegistryListItem { 42194 s.RegistryArn = &v 42195 return s 42196 } 42197 42198 // SetRegistryName sets the RegistryName field's value. 42199 func (s *RegistryListItem) SetRegistryName(v string) *RegistryListItem { 42200 s.RegistryName = &v 42201 return s 42202 } 42203 42204 // SetStatus sets the Status field's value. 42205 func (s *RegistryListItem) SetStatus(v string) *RegistryListItem { 42206 s.Status = &v 42207 return s 42208 } 42209 42210 // SetUpdatedTime sets the UpdatedTime field's value. 42211 func (s *RegistryListItem) SetUpdatedTime(v string) *RegistryListItem { 42212 s.UpdatedTime = &v 42213 return s 42214 } 42215 42216 type RemoveSchemaVersionMetadataInput struct { 42217 _ struct{} `type:"structure"` 42218 42219 // The value of the metadata key. 42220 // 42221 // MetadataKeyValue is a required field 42222 MetadataKeyValue *MetadataKeyValuePair `type:"structure" required:"true"` 42223 42224 // A wrapper structure that may contain the schema name and Amazon Resource 42225 // Name (ARN). 42226 SchemaId *SchemaId `type:"structure"` 42227 42228 // The unique version ID of the schema version. 42229 SchemaVersionId *string `min:"36" type:"string"` 42230 42231 // The version number of the schema. 42232 SchemaVersionNumber *SchemaVersionNumber `type:"structure"` 42233 } 42234 42235 // String returns the string representation. 42236 // 42237 // API parameter values that are decorated as "sensitive" in the API will not 42238 // be included in the string output. The member name will be present, but the 42239 // value will be replaced with "sensitive". 42240 func (s RemoveSchemaVersionMetadataInput) String() string { 42241 return awsutil.Prettify(s) 42242 } 42243 42244 // GoString returns the string representation. 42245 // 42246 // API parameter values that are decorated as "sensitive" in the API will not 42247 // be included in the string output. The member name will be present, but the 42248 // value will be replaced with "sensitive". 42249 func (s RemoveSchemaVersionMetadataInput) GoString() string { 42250 return s.String() 42251 } 42252 42253 // Validate inspects the fields of the type to determine if they are valid. 42254 func (s *RemoveSchemaVersionMetadataInput) Validate() error { 42255 invalidParams := request.ErrInvalidParams{Context: "RemoveSchemaVersionMetadataInput"} 42256 if s.MetadataKeyValue == nil { 42257 invalidParams.Add(request.NewErrParamRequired("MetadataKeyValue")) 42258 } 42259 if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 { 42260 invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36)) 42261 } 42262 if s.MetadataKeyValue != nil { 42263 if err := s.MetadataKeyValue.Validate(); err != nil { 42264 invalidParams.AddNested("MetadataKeyValue", err.(request.ErrInvalidParams)) 42265 } 42266 } 42267 if s.SchemaId != nil { 42268 if err := s.SchemaId.Validate(); err != nil { 42269 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 42270 } 42271 } 42272 if s.SchemaVersionNumber != nil { 42273 if err := s.SchemaVersionNumber.Validate(); err != nil { 42274 invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams)) 42275 } 42276 } 42277 42278 if invalidParams.Len() > 0 { 42279 return invalidParams 42280 } 42281 return nil 42282 } 42283 42284 // SetMetadataKeyValue sets the MetadataKeyValue field's value. 42285 func (s *RemoveSchemaVersionMetadataInput) SetMetadataKeyValue(v *MetadataKeyValuePair) *RemoveSchemaVersionMetadataInput { 42286 s.MetadataKeyValue = v 42287 return s 42288 } 42289 42290 // SetSchemaId sets the SchemaId field's value. 42291 func (s *RemoveSchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *RemoveSchemaVersionMetadataInput { 42292 s.SchemaId = v 42293 return s 42294 } 42295 42296 // SetSchemaVersionId sets the SchemaVersionId field's value. 42297 func (s *RemoveSchemaVersionMetadataInput) SetSchemaVersionId(v string) *RemoveSchemaVersionMetadataInput { 42298 s.SchemaVersionId = &v 42299 return s 42300 } 42301 42302 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 42303 func (s *RemoveSchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *RemoveSchemaVersionMetadataInput { 42304 s.SchemaVersionNumber = v 42305 return s 42306 } 42307 42308 type RemoveSchemaVersionMetadataOutput struct { 42309 _ struct{} `type:"structure"` 42310 42311 // The latest version of the schema. 42312 LatestVersion *bool `type:"boolean"` 42313 42314 // The metadata key. 42315 MetadataKey *string `min:"1" type:"string"` 42316 42317 // The value of the metadata key. 42318 MetadataValue *string `min:"1" type:"string"` 42319 42320 // The name of the registry. 42321 RegistryName *string `min:"1" type:"string"` 42322 42323 // The Amazon Resource Name (ARN) of the schema. 42324 SchemaArn *string `min:"1" type:"string"` 42325 42326 // The name of the schema. 42327 SchemaName *string `min:"1" type:"string"` 42328 42329 // The version ID for the schema version. 42330 SchemaVersionId *string `min:"36" type:"string"` 42331 42332 // The version number of the schema. 42333 VersionNumber *int64 `min:"1" type:"long"` 42334 } 42335 42336 // String returns the string representation. 42337 // 42338 // API parameter values that are decorated as "sensitive" in the API will not 42339 // be included in the string output. The member name will be present, but the 42340 // value will be replaced with "sensitive". 42341 func (s RemoveSchemaVersionMetadataOutput) String() string { 42342 return awsutil.Prettify(s) 42343 } 42344 42345 // GoString returns the string representation. 42346 // 42347 // API parameter values that are decorated as "sensitive" in the API will not 42348 // be included in the string output. The member name will be present, but the 42349 // value will be replaced with "sensitive". 42350 func (s RemoveSchemaVersionMetadataOutput) GoString() string { 42351 return s.String() 42352 } 42353 42354 // SetLatestVersion sets the LatestVersion field's value. 42355 func (s *RemoveSchemaVersionMetadataOutput) SetLatestVersion(v bool) *RemoveSchemaVersionMetadataOutput { 42356 s.LatestVersion = &v 42357 return s 42358 } 42359 42360 // SetMetadataKey sets the MetadataKey field's value. 42361 func (s *RemoveSchemaVersionMetadataOutput) SetMetadataKey(v string) *RemoveSchemaVersionMetadataOutput { 42362 s.MetadataKey = &v 42363 return s 42364 } 42365 42366 // SetMetadataValue sets the MetadataValue field's value. 42367 func (s *RemoveSchemaVersionMetadataOutput) SetMetadataValue(v string) *RemoveSchemaVersionMetadataOutput { 42368 s.MetadataValue = &v 42369 return s 42370 } 42371 42372 // SetRegistryName sets the RegistryName field's value. 42373 func (s *RemoveSchemaVersionMetadataOutput) SetRegistryName(v string) *RemoveSchemaVersionMetadataOutput { 42374 s.RegistryName = &v 42375 return s 42376 } 42377 42378 // SetSchemaArn sets the SchemaArn field's value. 42379 func (s *RemoveSchemaVersionMetadataOutput) SetSchemaArn(v string) *RemoveSchemaVersionMetadataOutput { 42380 s.SchemaArn = &v 42381 return s 42382 } 42383 42384 // SetSchemaName sets the SchemaName field's value. 42385 func (s *RemoveSchemaVersionMetadataOutput) SetSchemaName(v string) *RemoveSchemaVersionMetadataOutput { 42386 s.SchemaName = &v 42387 return s 42388 } 42389 42390 // SetSchemaVersionId sets the SchemaVersionId field's value. 42391 func (s *RemoveSchemaVersionMetadataOutput) SetSchemaVersionId(v string) *RemoveSchemaVersionMetadataOutput { 42392 s.SchemaVersionId = &v 42393 return s 42394 } 42395 42396 // SetVersionNumber sets the VersionNumber field's value. 42397 func (s *RemoveSchemaVersionMetadataOutput) SetVersionNumber(v int64) *RemoveSchemaVersionMetadataOutput { 42398 s.VersionNumber = &v 42399 return s 42400 } 42401 42402 type ResetJobBookmarkInput struct { 42403 _ struct{} `type:"structure"` 42404 42405 // The name of the job in question. 42406 // 42407 // JobName is a required field 42408 JobName *string `type:"string" required:"true"` 42409 42410 // The unique run identifier associated with this job run. 42411 RunId *string `type:"string"` 42412 } 42413 42414 // String returns the string representation. 42415 // 42416 // API parameter values that are decorated as "sensitive" in the API will not 42417 // be included in the string output. The member name will be present, but the 42418 // value will be replaced with "sensitive". 42419 func (s ResetJobBookmarkInput) String() string { 42420 return awsutil.Prettify(s) 42421 } 42422 42423 // GoString returns the string representation. 42424 // 42425 // API parameter values that are decorated as "sensitive" in the API will not 42426 // be included in the string output. The member name will be present, but the 42427 // value will be replaced with "sensitive". 42428 func (s ResetJobBookmarkInput) GoString() string { 42429 return s.String() 42430 } 42431 42432 // Validate inspects the fields of the type to determine if they are valid. 42433 func (s *ResetJobBookmarkInput) Validate() error { 42434 invalidParams := request.ErrInvalidParams{Context: "ResetJobBookmarkInput"} 42435 if s.JobName == nil { 42436 invalidParams.Add(request.NewErrParamRequired("JobName")) 42437 } 42438 42439 if invalidParams.Len() > 0 { 42440 return invalidParams 42441 } 42442 return nil 42443 } 42444 42445 // SetJobName sets the JobName field's value. 42446 func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput { 42447 s.JobName = &v 42448 return s 42449 } 42450 42451 // SetRunId sets the RunId field's value. 42452 func (s *ResetJobBookmarkInput) SetRunId(v string) *ResetJobBookmarkInput { 42453 s.RunId = &v 42454 return s 42455 } 42456 42457 type ResetJobBookmarkOutput struct { 42458 _ struct{} `type:"structure"` 42459 42460 // The reset bookmark entry. 42461 JobBookmarkEntry *JobBookmarkEntry `type:"structure"` 42462 } 42463 42464 // String returns the string representation. 42465 // 42466 // API parameter values that are decorated as "sensitive" in the API will not 42467 // be included in the string output. The member name will be present, but the 42468 // value will be replaced with "sensitive". 42469 func (s ResetJobBookmarkOutput) String() string { 42470 return awsutil.Prettify(s) 42471 } 42472 42473 // GoString returns the string representation. 42474 // 42475 // API parameter values that are decorated as "sensitive" in the API will not 42476 // be included in the string output. The member name will be present, but the 42477 // value will be replaced with "sensitive". 42478 func (s ResetJobBookmarkOutput) GoString() string { 42479 return s.String() 42480 } 42481 42482 // SetJobBookmarkEntry sets the JobBookmarkEntry field's value. 42483 func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput { 42484 s.JobBookmarkEntry = v 42485 return s 42486 } 42487 42488 // A resource numerical limit was exceeded. 42489 type ResourceNumberLimitExceededException struct { 42490 _ struct{} `type:"structure"` 42491 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 42492 42493 // A message describing the problem. 42494 Message_ *string `locationName:"Message" type:"string"` 42495 } 42496 42497 // String returns the string representation. 42498 // 42499 // API parameter values that are decorated as "sensitive" in the API will not 42500 // be included in the string output. The member name will be present, but the 42501 // value will be replaced with "sensitive". 42502 func (s ResourceNumberLimitExceededException) String() string { 42503 return awsutil.Prettify(s) 42504 } 42505 42506 // GoString returns the string representation. 42507 // 42508 // API parameter values that are decorated as "sensitive" in the API will not 42509 // be included in the string output. The member name will be present, but the 42510 // value will be replaced with "sensitive". 42511 func (s ResourceNumberLimitExceededException) GoString() string { 42512 return s.String() 42513 } 42514 42515 func newErrorResourceNumberLimitExceededException(v protocol.ResponseMetadata) error { 42516 return &ResourceNumberLimitExceededException{ 42517 RespMetadata: v, 42518 } 42519 } 42520 42521 // Code returns the exception type name. 42522 func (s *ResourceNumberLimitExceededException) Code() string { 42523 return "ResourceNumberLimitExceededException" 42524 } 42525 42526 // Message returns the exception's message. 42527 func (s *ResourceNumberLimitExceededException) Message() string { 42528 if s.Message_ != nil { 42529 return *s.Message_ 42530 } 42531 return "" 42532 } 42533 42534 // OrigErr always returns nil, satisfies awserr.Error interface. 42535 func (s *ResourceNumberLimitExceededException) OrigErr() error { 42536 return nil 42537 } 42538 42539 func (s *ResourceNumberLimitExceededException) Error() string { 42540 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 42541 } 42542 42543 // Status code returns the HTTP status code for the request's response error. 42544 func (s *ResourceNumberLimitExceededException) StatusCode() int { 42545 return s.RespMetadata.StatusCode 42546 } 42547 42548 // RequestID returns the service's response RequestID for request. 42549 func (s *ResourceNumberLimitExceededException) RequestID() string { 42550 return s.RespMetadata.RequestID 42551 } 42552 42553 // The URIs for function resources. 42554 type ResourceUri struct { 42555 _ struct{} `type:"structure"` 42556 42557 // The type of the resource. 42558 ResourceType *string `type:"string" enum:"ResourceType"` 42559 42560 // The URI for accessing the resource. 42561 Uri *string `min:"1" type:"string"` 42562 } 42563 42564 // String returns the string representation. 42565 // 42566 // API parameter values that are decorated as "sensitive" in the API will not 42567 // be included in the string output. The member name will be present, but the 42568 // value will be replaced with "sensitive". 42569 func (s ResourceUri) String() string { 42570 return awsutil.Prettify(s) 42571 } 42572 42573 // GoString returns the string representation. 42574 // 42575 // API parameter values that are decorated as "sensitive" in the API will not 42576 // be included in the string output. The member name will be present, but the 42577 // value will be replaced with "sensitive". 42578 func (s ResourceUri) GoString() string { 42579 return s.String() 42580 } 42581 42582 // Validate inspects the fields of the type to determine if they are valid. 42583 func (s *ResourceUri) Validate() error { 42584 invalidParams := request.ErrInvalidParams{Context: "ResourceUri"} 42585 if s.Uri != nil && len(*s.Uri) < 1 { 42586 invalidParams.Add(request.NewErrParamMinLen("Uri", 1)) 42587 } 42588 42589 if invalidParams.Len() > 0 { 42590 return invalidParams 42591 } 42592 return nil 42593 } 42594 42595 // SetResourceType sets the ResourceType field's value. 42596 func (s *ResourceUri) SetResourceType(v string) *ResourceUri { 42597 s.ResourceType = &v 42598 return s 42599 } 42600 42601 // SetUri sets the Uri field's value. 42602 func (s *ResourceUri) SetUri(v string) *ResourceUri { 42603 s.Uri = &v 42604 return s 42605 } 42606 42607 type ResumeWorkflowRunInput struct { 42608 _ struct{} `type:"structure"` 42609 42610 // The name of the workflow to resume. 42611 // 42612 // Name is a required field 42613 Name *string `min:"1" type:"string" required:"true"` 42614 42615 // A list of the node IDs for the nodes you want to restart. The nodes that 42616 // are to be restarted must have a run attempt in the original run. 42617 // 42618 // NodeIds is a required field 42619 NodeIds []*string `type:"list" required:"true"` 42620 42621 // The ID of the workflow run to resume. 42622 // 42623 // RunId is a required field 42624 RunId *string `min:"1" type:"string" required:"true"` 42625 } 42626 42627 // String returns the string representation. 42628 // 42629 // API parameter values that are decorated as "sensitive" in the API will not 42630 // be included in the string output. The member name will be present, but the 42631 // value will be replaced with "sensitive". 42632 func (s ResumeWorkflowRunInput) String() string { 42633 return awsutil.Prettify(s) 42634 } 42635 42636 // GoString returns the string representation. 42637 // 42638 // API parameter values that are decorated as "sensitive" in the API will not 42639 // be included in the string output. The member name will be present, but the 42640 // value will be replaced with "sensitive". 42641 func (s ResumeWorkflowRunInput) GoString() string { 42642 return s.String() 42643 } 42644 42645 // Validate inspects the fields of the type to determine if they are valid. 42646 func (s *ResumeWorkflowRunInput) Validate() error { 42647 invalidParams := request.ErrInvalidParams{Context: "ResumeWorkflowRunInput"} 42648 if s.Name == nil { 42649 invalidParams.Add(request.NewErrParamRequired("Name")) 42650 } 42651 if s.Name != nil && len(*s.Name) < 1 { 42652 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 42653 } 42654 if s.NodeIds == nil { 42655 invalidParams.Add(request.NewErrParamRequired("NodeIds")) 42656 } 42657 if s.RunId == nil { 42658 invalidParams.Add(request.NewErrParamRequired("RunId")) 42659 } 42660 if s.RunId != nil && len(*s.RunId) < 1 { 42661 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 42662 } 42663 42664 if invalidParams.Len() > 0 { 42665 return invalidParams 42666 } 42667 return nil 42668 } 42669 42670 // SetName sets the Name field's value. 42671 func (s *ResumeWorkflowRunInput) SetName(v string) *ResumeWorkflowRunInput { 42672 s.Name = &v 42673 return s 42674 } 42675 42676 // SetNodeIds sets the NodeIds field's value. 42677 func (s *ResumeWorkflowRunInput) SetNodeIds(v []*string) *ResumeWorkflowRunInput { 42678 s.NodeIds = v 42679 return s 42680 } 42681 42682 // SetRunId sets the RunId field's value. 42683 func (s *ResumeWorkflowRunInput) SetRunId(v string) *ResumeWorkflowRunInput { 42684 s.RunId = &v 42685 return s 42686 } 42687 42688 type ResumeWorkflowRunOutput struct { 42689 _ struct{} `type:"structure"` 42690 42691 // A list of the node IDs for the nodes that were actually restarted. 42692 NodeIds []*string `type:"list"` 42693 42694 // The new ID assigned to the resumed workflow run. Each resume of a workflow 42695 // run will have a new run ID. 42696 RunId *string `min:"1" type:"string"` 42697 } 42698 42699 // String returns the string representation. 42700 // 42701 // API parameter values that are decorated as "sensitive" in the API will not 42702 // be included in the string output. The member name will be present, but the 42703 // value will be replaced with "sensitive". 42704 func (s ResumeWorkflowRunOutput) String() string { 42705 return awsutil.Prettify(s) 42706 } 42707 42708 // GoString returns the string representation. 42709 // 42710 // API parameter values that are decorated as "sensitive" in the API will not 42711 // be included in the string output. The member name will be present, but the 42712 // value will be replaced with "sensitive". 42713 func (s ResumeWorkflowRunOutput) GoString() string { 42714 return s.String() 42715 } 42716 42717 // SetNodeIds sets the NodeIds field's value. 42718 func (s *ResumeWorkflowRunOutput) SetNodeIds(v []*string) *ResumeWorkflowRunOutput { 42719 s.NodeIds = v 42720 return s 42721 } 42722 42723 // SetRunId sets the RunId field's value. 42724 func (s *ResumeWorkflowRunOutput) SetRunId(v string) *ResumeWorkflowRunOutput { 42725 s.RunId = &v 42726 return s 42727 } 42728 42729 // Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted. 42730 type S3Encryption struct { 42731 _ struct{} `type:"structure"` 42732 42733 // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. 42734 KmsKeyArn *string `type:"string"` 42735 42736 // The encryption mode to use for Amazon S3 data. 42737 S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"` 42738 } 42739 42740 // String returns the string representation. 42741 // 42742 // API parameter values that are decorated as "sensitive" in the API will not 42743 // be included in the string output. The member name will be present, but the 42744 // value will be replaced with "sensitive". 42745 func (s S3Encryption) String() string { 42746 return awsutil.Prettify(s) 42747 } 42748 42749 // GoString returns the string representation. 42750 // 42751 // API parameter values that are decorated as "sensitive" in the API will not 42752 // be included in the string output. The member name will be present, but the 42753 // value will be replaced with "sensitive". 42754 func (s S3Encryption) GoString() string { 42755 return s.String() 42756 } 42757 42758 // SetKmsKeyArn sets the KmsKeyArn field's value. 42759 func (s *S3Encryption) SetKmsKeyArn(v string) *S3Encryption { 42760 s.KmsKeyArn = &v 42761 return s 42762 } 42763 42764 // SetS3EncryptionMode sets the S3EncryptionMode field's value. 42765 func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption { 42766 s.S3EncryptionMode = &v 42767 return s 42768 } 42769 42770 // Specifies a data store in Amazon Simple Storage Service (Amazon S3). 42771 type S3Target struct { 42772 _ struct{} `type:"structure"` 42773 42774 // The name of a connection which allows a job or crawler to access data in 42775 // Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC). 42776 ConnectionName *string `type:"string"` 42777 42778 // A list of glob patterns used to exclude from the crawl. For more information, 42779 // see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html). 42780 Exclusions []*string `type:"list"` 42781 42782 // The path to the Amazon S3 target. 42783 Path *string `type:"string"` 42784 42785 // Sets the number of files in each leaf folder to be crawled when crawling 42786 // sample files in a dataset. If not set, all the files are crawled. A valid 42787 // value is an integer between 1 and 249. 42788 SampleSize *int64 `type:"integer"` 42789 } 42790 42791 // String returns the string representation. 42792 // 42793 // API parameter values that are decorated as "sensitive" in the API will not 42794 // be included in the string output. The member name will be present, but the 42795 // value will be replaced with "sensitive". 42796 func (s S3Target) String() string { 42797 return awsutil.Prettify(s) 42798 } 42799 42800 // GoString returns the string representation. 42801 // 42802 // API parameter values that are decorated as "sensitive" in the API will not 42803 // be included in the string output. The member name will be present, but the 42804 // value will be replaced with "sensitive". 42805 func (s S3Target) GoString() string { 42806 return s.String() 42807 } 42808 42809 // SetConnectionName sets the ConnectionName field's value. 42810 func (s *S3Target) SetConnectionName(v string) *S3Target { 42811 s.ConnectionName = &v 42812 return s 42813 } 42814 42815 // SetExclusions sets the Exclusions field's value. 42816 func (s *S3Target) SetExclusions(v []*string) *S3Target { 42817 s.Exclusions = v 42818 return s 42819 } 42820 42821 // SetPath sets the Path field's value. 42822 func (s *S3Target) SetPath(v string) *S3Target { 42823 s.Path = &v 42824 return s 42825 } 42826 42827 // SetSampleSize sets the SampleSize field's value. 42828 func (s *S3Target) SetSampleSize(v int64) *S3Target { 42829 s.SampleSize = &v 42830 return s 42831 } 42832 42833 // A scheduling object using a cron statement to schedule an event. 42834 type Schedule struct { 42835 _ struct{} `type:"structure"` 42836 42837 // A cron expression used to specify the schedule (see Time-Based Schedules 42838 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 42839 // For example, to run something every day at 12:15 UTC, you would specify: 42840 // cron(15 12 * * ? *). 42841 ScheduleExpression *string `type:"string"` 42842 42843 // The state of the schedule. 42844 State *string `type:"string" enum:"ScheduleState"` 42845 } 42846 42847 // String returns the string representation. 42848 // 42849 // API parameter values that are decorated as "sensitive" in the API will not 42850 // be included in the string output. The member name will be present, but the 42851 // value will be replaced with "sensitive". 42852 func (s Schedule) String() string { 42853 return awsutil.Prettify(s) 42854 } 42855 42856 // GoString returns the string representation. 42857 // 42858 // API parameter values that are decorated as "sensitive" in the API will not 42859 // be included in the string output. The member name will be present, but the 42860 // value will be replaced with "sensitive". 42861 func (s Schedule) GoString() string { 42862 return s.String() 42863 } 42864 42865 // SetScheduleExpression sets the ScheduleExpression field's value. 42866 func (s *Schedule) SetScheduleExpression(v string) *Schedule { 42867 s.ScheduleExpression = &v 42868 return s 42869 } 42870 42871 // SetState sets the State field's value. 42872 func (s *Schedule) SetState(v string) *Schedule { 42873 s.State = &v 42874 return s 42875 } 42876 42877 // The specified scheduler is not running. 42878 type SchedulerNotRunningException struct { 42879 _ struct{} `type:"structure"` 42880 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 42881 42882 // A message describing the problem. 42883 Message_ *string `locationName:"Message" type:"string"` 42884 } 42885 42886 // String returns the string representation. 42887 // 42888 // API parameter values that are decorated as "sensitive" in the API will not 42889 // be included in the string output. The member name will be present, but the 42890 // value will be replaced with "sensitive". 42891 func (s SchedulerNotRunningException) String() string { 42892 return awsutil.Prettify(s) 42893 } 42894 42895 // GoString returns the string representation. 42896 // 42897 // API parameter values that are decorated as "sensitive" in the API will not 42898 // be included in the string output. The member name will be present, but the 42899 // value will be replaced with "sensitive". 42900 func (s SchedulerNotRunningException) GoString() string { 42901 return s.String() 42902 } 42903 42904 func newErrorSchedulerNotRunningException(v protocol.ResponseMetadata) error { 42905 return &SchedulerNotRunningException{ 42906 RespMetadata: v, 42907 } 42908 } 42909 42910 // Code returns the exception type name. 42911 func (s *SchedulerNotRunningException) Code() string { 42912 return "SchedulerNotRunningException" 42913 } 42914 42915 // Message returns the exception's message. 42916 func (s *SchedulerNotRunningException) Message() string { 42917 if s.Message_ != nil { 42918 return *s.Message_ 42919 } 42920 return "" 42921 } 42922 42923 // OrigErr always returns nil, satisfies awserr.Error interface. 42924 func (s *SchedulerNotRunningException) OrigErr() error { 42925 return nil 42926 } 42927 42928 func (s *SchedulerNotRunningException) Error() string { 42929 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 42930 } 42931 42932 // Status code returns the HTTP status code for the request's response error. 42933 func (s *SchedulerNotRunningException) StatusCode() int { 42934 return s.RespMetadata.StatusCode 42935 } 42936 42937 // RequestID returns the service's response RequestID for request. 42938 func (s *SchedulerNotRunningException) RequestID() string { 42939 return s.RespMetadata.RequestID 42940 } 42941 42942 // The specified scheduler is already running. 42943 type SchedulerRunningException struct { 42944 _ struct{} `type:"structure"` 42945 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 42946 42947 // A message describing the problem. 42948 Message_ *string `locationName:"Message" type:"string"` 42949 } 42950 42951 // String returns the string representation. 42952 // 42953 // API parameter values that are decorated as "sensitive" in the API will not 42954 // be included in the string output. The member name will be present, but the 42955 // value will be replaced with "sensitive". 42956 func (s SchedulerRunningException) String() string { 42957 return awsutil.Prettify(s) 42958 } 42959 42960 // GoString returns the string representation. 42961 // 42962 // API parameter values that are decorated as "sensitive" in the API will not 42963 // be included in the string output. The member name will be present, but the 42964 // value will be replaced with "sensitive". 42965 func (s SchedulerRunningException) GoString() string { 42966 return s.String() 42967 } 42968 42969 func newErrorSchedulerRunningException(v protocol.ResponseMetadata) error { 42970 return &SchedulerRunningException{ 42971 RespMetadata: v, 42972 } 42973 } 42974 42975 // Code returns the exception type name. 42976 func (s *SchedulerRunningException) Code() string { 42977 return "SchedulerRunningException" 42978 } 42979 42980 // Message returns the exception's message. 42981 func (s *SchedulerRunningException) Message() string { 42982 if s.Message_ != nil { 42983 return *s.Message_ 42984 } 42985 return "" 42986 } 42987 42988 // OrigErr always returns nil, satisfies awserr.Error interface. 42989 func (s *SchedulerRunningException) OrigErr() error { 42990 return nil 42991 } 42992 42993 func (s *SchedulerRunningException) Error() string { 42994 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 42995 } 42996 42997 // Status code returns the HTTP status code for the request's response error. 42998 func (s *SchedulerRunningException) StatusCode() int { 42999 return s.RespMetadata.StatusCode 43000 } 43001 43002 // RequestID returns the service's response RequestID for request. 43003 func (s *SchedulerRunningException) RequestID() string { 43004 return s.RespMetadata.RequestID 43005 } 43006 43007 // The specified scheduler is transitioning. 43008 type SchedulerTransitioningException struct { 43009 _ struct{} `type:"structure"` 43010 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 43011 43012 // A message describing the problem. 43013 Message_ *string `locationName:"Message" type:"string"` 43014 } 43015 43016 // String returns the string representation. 43017 // 43018 // API parameter values that are decorated as "sensitive" in the API will not 43019 // be included in the string output. The member name will be present, but the 43020 // value will be replaced with "sensitive". 43021 func (s SchedulerTransitioningException) String() string { 43022 return awsutil.Prettify(s) 43023 } 43024 43025 // GoString returns the string representation. 43026 // 43027 // API parameter values that are decorated as "sensitive" in the API will not 43028 // be included in the string output. The member name will be present, but the 43029 // value will be replaced with "sensitive". 43030 func (s SchedulerTransitioningException) GoString() string { 43031 return s.String() 43032 } 43033 43034 func newErrorSchedulerTransitioningException(v protocol.ResponseMetadata) error { 43035 return &SchedulerTransitioningException{ 43036 RespMetadata: v, 43037 } 43038 } 43039 43040 // Code returns the exception type name. 43041 func (s *SchedulerTransitioningException) Code() string { 43042 return "SchedulerTransitioningException" 43043 } 43044 43045 // Message returns the exception's message. 43046 func (s *SchedulerTransitioningException) Message() string { 43047 if s.Message_ != nil { 43048 return *s.Message_ 43049 } 43050 return "" 43051 } 43052 43053 // OrigErr always returns nil, satisfies awserr.Error interface. 43054 func (s *SchedulerTransitioningException) OrigErr() error { 43055 return nil 43056 } 43057 43058 func (s *SchedulerTransitioningException) Error() string { 43059 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 43060 } 43061 43062 // Status code returns the HTTP status code for the request's response error. 43063 func (s *SchedulerTransitioningException) StatusCode() int { 43064 return s.RespMetadata.StatusCode 43065 } 43066 43067 // RequestID returns the service's response RequestID for request. 43068 func (s *SchedulerTransitioningException) RequestID() string { 43069 return s.RespMetadata.RequestID 43070 } 43071 43072 // A policy that specifies update and deletion behaviors for the crawler. 43073 type SchemaChangePolicy struct { 43074 _ struct{} `type:"structure"` 43075 43076 // The deletion behavior when the crawler finds a deleted object. 43077 DeleteBehavior *string `type:"string" enum:"DeleteBehavior"` 43078 43079 // The update behavior when the crawler finds a changed schema. 43080 UpdateBehavior *string `type:"string" enum:"UpdateBehavior"` 43081 } 43082 43083 // String returns the string representation. 43084 // 43085 // API parameter values that are decorated as "sensitive" in the API will not 43086 // be included in the string output. The member name will be present, but the 43087 // value will be replaced with "sensitive". 43088 func (s SchemaChangePolicy) String() string { 43089 return awsutil.Prettify(s) 43090 } 43091 43092 // GoString returns the string representation. 43093 // 43094 // API parameter values that are decorated as "sensitive" in the API will not 43095 // be included in the string output. The member name will be present, but the 43096 // value will be replaced with "sensitive". 43097 func (s SchemaChangePolicy) GoString() string { 43098 return s.String() 43099 } 43100 43101 // SetDeleteBehavior sets the DeleteBehavior field's value. 43102 func (s *SchemaChangePolicy) SetDeleteBehavior(v string) *SchemaChangePolicy { 43103 s.DeleteBehavior = &v 43104 return s 43105 } 43106 43107 // SetUpdateBehavior sets the UpdateBehavior field's value. 43108 func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy { 43109 s.UpdateBehavior = &v 43110 return s 43111 } 43112 43113 // A key-value pair representing a column and data type that this transform 43114 // can run against. The Schema parameter of the MLTransform may contain up to 43115 // 100 of these structures. 43116 type SchemaColumn struct { 43117 _ struct{} `type:"structure"` 43118 43119 // The type of data in the column. 43120 DataType *string `type:"string"` 43121 43122 // The name of the column. 43123 Name *string `min:"1" type:"string"` 43124 } 43125 43126 // String returns the string representation. 43127 // 43128 // API parameter values that are decorated as "sensitive" in the API will not 43129 // be included in the string output. The member name will be present, but the 43130 // value will be replaced with "sensitive". 43131 func (s SchemaColumn) String() string { 43132 return awsutil.Prettify(s) 43133 } 43134 43135 // GoString returns the string representation. 43136 // 43137 // API parameter values that are decorated as "sensitive" in the API will not 43138 // be included in the string output. The member name will be present, but the 43139 // value will be replaced with "sensitive". 43140 func (s SchemaColumn) GoString() string { 43141 return s.String() 43142 } 43143 43144 // Validate inspects the fields of the type to determine if they are valid. 43145 func (s *SchemaColumn) Validate() error { 43146 invalidParams := request.ErrInvalidParams{Context: "SchemaColumn"} 43147 if s.Name != nil && len(*s.Name) < 1 { 43148 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 43149 } 43150 43151 if invalidParams.Len() > 0 { 43152 return invalidParams 43153 } 43154 return nil 43155 } 43156 43157 // SetDataType sets the DataType field's value. 43158 func (s *SchemaColumn) SetDataType(v string) *SchemaColumn { 43159 s.DataType = &v 43160 return s 43161 } 43162 43163 // SetName sets the Name field's value. 43164 func (s *SchemaColumn) SetName(v string) *SchemaColumn { 43165 s.Name = &v 43166 return s 43167 } 43168 43169 // The unique ID of the schema in the Glue schema registry. 43170 type SchemaId struct { 43171 _ struct{} `type:"structure"` 43172 43173 // The name of the schema registry that contains the schema. 43174 RegistryName *string `min:"1" type:"string"` 43175 43176 // The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName 43177 // has to be provided. 43178 SchemaArn *string `min:"1" type:"string"` 43179 43180 // The name of the schema. One of SchemaArn or SchemaName has to be provided. 43181 SchemaName *string `min:"1" type:"string"` 43182 } 43183 43184 // String returns the string representation. 43185 // 43186 // API parameter values that are decorated as "sensitive" in the API will not 43187 // be included in the string output. The member name will be present, but the 43188 // value will be replaced with "sensitive". 43189 func (s SchemaId) String() string { 43190 return awsutil.Prettify(s) 43191 } 43192 43193 // GoString returns the string representation. 43194 // 43195 // API parameter values that are decorated as "sensitive" in the API will not 43196 // be included in the string output. The member name will be present, but the 43197 // value will be replaced with "sensitive". 43198 func (s SchemaId) GoString() string { 43199 return s.String() 43200 } 43201 43202 // Validate inspects the fields of the type to determine if they are valid. 43203 func (s *SchemaId) Validate() error { 43204 invalidParams := request.ErrInvalidParams{Context: "SchemaId"} 43205 if s.RegistryName != nil && len(*s.RegistryName) < 1 { 43206 invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1)) 43207 } 43208 if s.SchemaArn != nil && len(*s.SchemaArn) < 1 { 43209 invalidParams.Add(request.NewErrParamMinLen("SchemaArn", 1)) 43210 } 43211 if s.SchemaName != nil && len(*s.SchemaName) < 1 { 43212 invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) 43213 } 43214 43215 if invalidParams.Len() > 0 { 43216 return invalidParams 43217 } 43218 return nil 43219 } 43220 43221 // SetRegistryName sets the RegistryName field's value. 43222 func (s *SchemaId) SetRegistryName(v string) *SchemaId { 43223 s.RegistryName = &v 43224 return s 43225 } 43226 43227 // SetSchemaArn sets the SchemaArn field's value. 43228 func (s *SchemaId) SetSchemaArn(v string) *SchemaId { 43229 s.SchemaArn = &v 43230 return s 43231 } 43232 43233 // SetSchemaName sets the SchemaName field's value. 43234 func (s *SchemaId) SetSchemaName(v string) *SchemaId { 43235 s.SchemaName = &v 43236 return s 43237 } 43238 43239 // An object that contains minimal details for a schema. 43240 type SchemaListItem struct { 43241 _ struct{} `type:"structure"` 43242 43243 // The date and time that a schema was created. 43244 CreatedTime *string `type:"string"` 43245 43246 // A description for the schema. 43247 Description *string `type:"string"` 43248 43249 // the name of the registry where the schema resides. 43250 RegistryName *string `min:"1" type:"string"` 43251 43252 // The Amazon Resource Name (ARN) for the schema. 43253 SchemaArn *string `min:"1" type:"string"` 43254 43255 // The name of the schema. 43256 SchemaName *string `min:"1" type:"string"` 43257 43258 // The status of the schema. 43259 SchemaStatus *string `type:"string" enum:"SchemaStatus"` 43260 43261 // The date and time that a schema was updated. 43262 UpdatedTime *string `type:"string"` 43263 } 43264 43265 // String returns the string representation. 43266 // 43267 // API parameter values that are decorated as "sensitive" in the API will not 43268 // be included in the string output. The member name will be present, but the 43269 // value will be replaced with "sensitive". 43270 func (s SchemaListItem) String() string { 43271 return awsutil.Prettify(s) 43272 } 43273 43274 // GoString returns the string representation. 43275 // 43276 // API parameter values that are decorated as "sensitive" in the API will not 43277 // be included in the string output. The member name will be present, but the 43278 // value will be replaced with "sensitive". 43279 func (s SchemaListItem) GoString() string { 43280 return s.String() 43281 } 43282 43283 // SetCreatedTime sets the CreatedTime field's value. 43284 func (s *SchemaListItem) SetCreatedTime(v string) *SchemaListItem { 43285 s.CreatedTime = &v 43286 return s 43287 } 43288 43289 // SetDescription sets the Description field's value. 43290 func (s *SchemaListItem) SetDescription(v string) *SchemaListItem { 43291 s.Description = &v 43292 return s 43293 } 43294 43295 // SetRegistryName sets the RegistryName field's value. 43296 func (s *SchemaListItem) SetRegistryName(v string) *SchemaListItem { 43297 s.RegistryName = &v 43298 return s 43299 } 43300 43301 // SetSchemaArn sets the SchemaArn field's value. 43302 func (s *SchemaListItem) SetSchemaArn(v string) *SchemaListItem { 43303 s.SchemaArn = &v 43304 return s 43305 } 43306 43307 // SetSchemaName sets the SchemaName field's value. 43308 func (s *SchemaListItem) SetSchemaName(v string) *SchemaListItem { 43309 s.SchemaName = &v 43310 return s 43311 } 43312 43313 // SetSchemaStatus sets the SchemaStatus field's value. 43314 func (s *SchemaListItem) SetSchemaStatus(v string) *SchemaListItem { 43315 s.SchemaStatus = &v 43316 return s 43317 } 43318 43319 // SetUpdatedTime sets the UpdatedTime field's value. 43320 func (s *SchemaListItem) SetUpdatedTime(v string) *SchemaListItem { 43321 s.UpdatedTime = &v 43322 return s 43323 } 43324 43325 // An object that references a schema stored in the Glue Schema Registry. 43326 type SchemaReference struct { 43327 _ struct{} `type:"structure"` 43328 43329 // A structure that contains schema identity fields. Either this or the SchemaVersionId 43330 // has to be provided. 43331 SchemaId *SchemaId `type:"structure"` 43332 43333 // The unique ID assigned to a version of the schema. Either this or the SchemaId 43334 // has to be provided. 43335 SchemaVersionId *string `min:"36" type:"string"` 43336 43337 // The version number of the schema. 43338 SchemaVersionNumber *int64 `min:"1" type:"long"` 43339 } 43340 43341 // String returns the string representation. 43342 // 43343 // API parameter values that are decorated as "sensitive" in the API will not 43344 // be included in the string output. The member name will be present, but the 43345 // value will be replaced with "sensitive". 43346 func (s SchemaReference) String() string { 43347 return awsutil.Prettify(s) 43348 } 43349 43350 // GoString returns the string representation. 43351 // 43352 // API parameter values that are decorated as "sensitive" in the API will not 43353 // be included in the string output. The member name will be present, but the 43354 // value will be replaced with "sensitive". 43355 func (s SchemaReference) GoString() string { 43356 return s.String() 43357 } 43358 43359 // Validate inspects the fields of the type to determine if they are valid. 43360 func (s *SchemaReference) Validate() error { 43361 invalidParams := request.ErrInvalidParams{Context: "SchemaReference"} 43362 if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 { 43363 invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36)) 43364 } 43365 if s.SchemaVersionNumber != nil && *s.SchemaVersionNumber < 1 { 43366 invalidParams.Add(request.NewErrParamMinValue("SchemaVersionNumber", 1)) 43367 } 43368 if s.SchemaId != nil { 43369 if err := s.SchemaId.Validate(); err != nil { 43370 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 43371 } 43372 } 43373 43374 if invalidParams.Len() > 0 { 43375 return invalidParams 43376 } 43377 return nil 43378 } 43379 43380 // SetSchemaId sets the SchemaId field's value. 43381 func (s *SchemaReference) SetSchemaId(v *SchemaId) *SchemaReference { 43382 s.SchemaId = v 43383 return s 43384 } 43385 43386 // SetSchemaVersionId sets the SchemaVersionId field's value. 43387 func (s *SchemaReference) SetSchemaVersionId(v string) *SchemaReference { 43388 s.SchemaVersionId = &v 43389 return s 43390 } 43391 43392 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 43393 func (s *SchemaReference) SetSchemaVersionNumber(v int64) *SchemaReference { 43394 s.SchemaVersionNumber = &v 43395 return s 43396 } 43397 43398 // An object that contains the error details for an operation on a schema version. 43399 type SchemaVersionErrorItem struct { 43400 _ struct{} `type:"structure"` 43401 43402 // The details of the error for the schema version. 43403 ErrorDetails *ErrorDetails `type:"structure"` 43404 43405 // The version number of the schema. 43406 VersionNumber *int64 `min:"1" type:"long"` 43407 } 43408 43409 // String returns the string representation. 43410 // 43411 // API parameter values that are decorated as "sensitive" in the API will not 43412 // be included in the string output. The member name will be present, but the 43413 // value will be replaced with "sensitive". 43414 func (s SchemaVersionErrorItem) String() string { 43415 return awsutil.Prettify(s) 43416 } 43417 43418 // GoString returns the string representation. 43419 // 43420 // API parameter values that are decorated as "sensitive" in the API will not 43421 // be included in the string output. The member name will be present, but the 43422 // value will be replaced with "sensitive". 43423 func (s SchemaVersionErrorItem) GoString() string { 43424 return s.String() 43425 } 43426 43427 // SetErrorDetails sets the ErrorDetails field's value. 43428 func (s *SchemaVersionErrorItem) SetErrorDetails(v *ErrorDetails) *SchemaVersionErrorItem { 43429 s.ErrorDetails = v 43430 return s 43431 } 43432 43433 // SetVersionNumber sets the VersionNumber field's value. 43434 func (s *SchemaVersionErrorItem) SetVersionNumber(v int64) *SchemaVersionErrorItem { 43435 s.VersionNumber = &v 43436 return s 43437 } 43438 43439 // An object containing the details about a schema version. 43440 type SchemaVersionListItem struct { 43441 _ struct{} `type:"structure"` 43442 43443 // The date and time the schema version was created. 43444 CreatedTime *string `type:"string"` 43445 43446 // The Amazon Resource Name (ARN) of the schema. 43447 SchemaArn *string `min:"1" type:"string"` 43448 43449 // The unique identifier of the schema version. 43450 SchemaVersionId *string `min:"36" type:"string"` 43451 43452 // The status of the schema version. 43453 Status *string `type:"string" enum:"SchemaVersionStatus"` 43454 43455 // The version number of the schema. 43456 VersionNumber *int64 `min:"1" type:"long"` 43457 } 43458 43459 // String returns the string representation. 43460 // 43461 // API parameter values that are decorated as "sensitive" in the API will not 43462 // be included in the string output. The member name will be present, but the 43463 // value will be replaced with "sensitive". 43464 func (s SchemaVersionListItem) String() string { 43465 return awsutil.Prettify(s) 43466 } 43467 43468 // GoString returns the string representation. 43469 // 43470 // API parameter values that are decorated as "sensitive" in the API will not 43471 // be included in the string output. The member name will be present, but the 43472 // value will be replaced with "sensitive". 43473 func (s SchemaVersionListItem) GoString() string { 43474 return s.String() 43475 } 43476 43477 // SetCreatedTime sets the CreatedTime field's value. 43478 func (s *SchemaVersionListItem) SetCreatedTime(v string) *SchemaVersionListItem { 43479 s.CreatedTime = &v 43480 return s 43481 } 43482 43483 // SetSchemaArn sets the SchemaArn field's value. 43484 func (s *SchemaVersionListItem) SetSchemaArn(v string) *SchemaVersionListItem { 43485 s.SchemaArn = &v 43486 return s 43487 } 43488 43489 // SetSchemaVersionId sets the SchemaVersionId field's value. 43490 func (s *SchemaVersionListItem) SetSchemaVersionId(v string) *SchemaVersionListItem { 43491 s.SchemaVersionId = &v 43492 return s 43493 } 43494 43495 // SetStatus sets the Status field's value. 43496 func (s *SchemaVersionListItem) SetStatus(v string) *SchemaVersionListItem { 43497 s.Status = &v 43498 return s 43499 } 43500 43501 // SetVersionNumber sets the VersionNumber field's value. 43502 func (s *SchemaVersionListItem) SetVersionNumber(v int64) *SchemaVersionListItem { 43503 s.VersionNumber = &v 43504 return s 43505 } 43506 43507 // A structure containing the schema version information. 43508 type SchemaVersionNumber struct { 43509 _ struct{} `type:"structure"` 43510 43511 // The latest version available for the schema. 43512 LatestVersion *bool `type:"boolean"` 43513 43514 // The version number of the schema. 43515 VersionNumber *int64 `min:"1" type:"long"` 43516 } 43517 43518 // String returns the string representation. 43519 // 43520 // API parameter values that are decorated as "sensitive" in the API will not 43521 // be included in the string output. The member name will be present, but the 43522 // value will be replaced with "sensitive". 43523 func (s SchemaVersionNumber) String() string { 43524 return awsutil.Prettify(s) 43525 } 43526 43527 // GoString returns the string representation. 43528 // 43529 // API parameter values that are decorated as "sensitive" in the API will not 43530 // be included in the string output. The member name will be present, but the 43531 // value will be replaced with "sensitive". 43532 func (s SchemaVersionNumber) GoString() string { 43533 return s.String() 43534 } 43535 43536 // Validate inspects the fields of the type to determine if they are valid. 43537 func (s *SchemaVersionNumber) Validate() error { 43538 invalidParams := request.ErrInvalidParams{Context: "SchemaVersionNumber"} 43539 if s.VersionNumber != nil && *s.VersionNumber < 1 { 43540 invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1)) 43541 } 43542 43543 if invalidParams.Len() > 0 { 43544 return invalidParams 43545 } 43546 return nil 43547 } 43548 43549 // SetLatestVersion sets the LatestVersion field's value. 43550 func (s *SchemaVersionNumber) SetLatestVersion(v bool) *SchemaVersionNumber { 43551 s.LatestVersion = &v 43552 return s 43553 } 43554 43555 // SetVersionNumber sets the VersionNumber field's value. 43556 func (s *SchemaVersionNumber) SetVersionNumber(v int64) *SchemaVersionNumber { 43557 s.VersionNumber = &v 43558 return s 43559 } 43560 43561 type SearchTablesInput struct { 43562 _ struct{} `type:"structure"` 43563 43564 // A unique identifier, consisting of account_id . 43565 CatalogId *string `min:"1" type:"string"` 43566 43567 // A list of key-value pairs, and a comparator used to filter the search results. 43568 // Returns all entities matching the predicate. 43569 // 43570 // The Comparator member of the PropertyPredicate struct is used only for time 43571 // fields, and can be omitted for other field types. Also, when comparing string 43572 // values, such as when Key=Name, a fuzzy match algorithm is used. The Key field 43573 // (for example, the value of the Name field) is split on certain punctuation 43574 // characters, for example, -, :, #, etc. into tokens. Then each token is exact-match 43575 // compared with the Value member of PropertyPredicate. For example, if Key=Name 43576 // and Value=link, tables named customer-link and xx-link-yy are returned, but 43577 // xxlinkyy is not returned. 43578 Filters []*PropertyPredicate `type:"list"` 43579 43580 // The maximum number of tables to return in a single response. 43581 MaxResults *int64 `min:"1" type:"integer"` 43582 43583 // A continuation token, included if this is a continuation call. 43584 NextToken *string `type:"string"` 43585 43586 // Allows you to specify that you want to search the tables shared with your 43587 // account. The allowable values are FOREIGN or ALL. 43588 // 43589 // * If set to FOREIGN, will search the tables shared with your account. 43590 // 43591 // * If set to ALL, will search the tables shared with your account, as well 43592 // as the tables in yor local account. 43593 ResourceShareType *string `type:"string" enum:"ResourceShareType"` 43594 43595 // A string used for a text search. 43596 // 43597 // Specifying a value in quotes filters based on an exact match to the value. 43598 SearchText *string `type:"string"` 43599 43600 // A list of criteria for sorting the results by a field name, in an ascending 43601 // or descending order. 43602 SortCriteria []*SortCriterion `type:"list"` 43603 } 43604 43605 // String returns the string representation. 43606 // 43607 // API parameter values that are decorated as "sensitive" in the API will not 43608 // be included in the string output. The member name will be present, but the 43609 // value will be replaced with "sensitive". 43610 func (s SearchTablesInput) String() string { 43611 return awsutil.Prettify(s) 43612 } 43613 43614 // GoString returns the string representation. 43615 // 43616 // API parameter values that are decorated as "sensitive" in the API will not 43617 // be included in the string output. The member name will be present, but the 43618 // value will be replaced with "sensitive". 43619 func (s SearchTablesInput) GoString() string { 43620 return s.String() 43621 } 43622 43623 // Validate inspects the fields of the type to determine if they are valid. 43624 func (s *SearchTablesInput) Validate() error { 43625 invalidParams := request.ErrInvalidParams{Context: "SearchTablesInput"} 43626 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 43627 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 43628 } 43629 if s.MaxResults != nil && *s.MaxResults < 1 { 43630 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 43631 } 43632 43633 if invalidParams.Len() > 0 { 43634 return invalidParams 43635 } 43636 return nil 43637 } 43638 43639 // SetCatalogId sets the CatalogId field's value. 43640 func (s *SearchTablesInput) SetCatalogId(v string) *SearchTablesInput { 43641 s.CatalogId = &v 43642 return s 43643 } 43644 43645 // SetFilters sets the Filters field's value. 43646 func (s *SearchTablesInput) SetFilters(v []*PropertyPredicate) *SearchTablesInput { 43647 s.Filters = v 43648 return s 43649 } 43650 43651 // SetMaxResults sets the MaxResults field's value. 43652 func (s *SearchTablesInput) SetMaxResults(v int64) *SearchTablesInput { 43653 s.MaxResults = &v 43654 return s 43655 } 43656 43657 // SetNextToken sets the NextToken field's value. 43658 func (s *SearchTablesInput) SetNextToken(v string) *SearchTablesInput { 43659 s.NextToken = &v 43660 return s 43661 } 43662 43663 // SetResourceShareType sets the ResourceShareType field's value. 43664 func (s *SearchTablesInput) SetResourceShareType(v string) *SearchTablesInput { 43665 s.ResourceShareType = &v 43666 return s 43667 } 43668 43669 // SetSearchText sets the SearchText field's value. 43670 func (s *SearchTablesInput) SetSearchText(v string) *SearchTablesInput { 43671 s.SearchText = &v 43672 return s 43673 } 43674 43675 // SetSortCriteria sets the SortCriteria field's value. 43676 func (s *SearchTablesInput) SetSortCriteria(v []*SortCriterion) *SearchTablesInput { 43677 s.SortCriteria = v 43678 return s 43679 } 43680 43681 type SearchTablesOutput struct { 43682 _ struct{} `type:"structure"` 43683 43684 // A continuation token, present if the current list segment is not the last. 43685 NextToken *string `type:"string"` 43686 43687 // A list of the requested Table objects. The SearchTables response returns 43688 // only the tables that you have access to. 43689 TableList []*TableData `type:"list"` 43690 } 43691 43692 // String returns the string representation. 43693 // 43694 // API parameter values that are decorated as "sensitive" in the API will not 43695 // be included in the string output. The member name will be present, but the 43696 // value will be replaced with "sensitive". 43697 func (s SearchTablesOutput) String() string { 43698 return awsutil.Prettify(s) 43699 } 43700 43701 // GoString returns the string representation. 43702 // 43703 // API parameter values that are decorated as "sensitive" in the API will not 43704 // be included in the string output. The member name will be present, but the 43705 // value will be replaced with "sensitive". 43706 func (s SearchTablesOutput) GoString() string { 43707 return s.String() 43708 } 43709 43710 // SetNextToken sets the NextToken field's value. 43711 func (s *SearchTablesOutput) SetNextToken(v string) *SearchTablesOutput { 43712 s.NextToken = &v 43713 return s 43714 } 43715 43716 // SetTableList sets the TableList field's value. 43717 func (s *SearchTablesOutput) SetTableList(v []*TableData) *SearchTablesOutput { 43718 s.TableList = v 43719 return s 43720 } 43721 43722 // Specifies a security configuration. 43723 type SecurityConfiguration struct { 43724 _ struct{} `type:"structure"` 43725 43726 // The time at which this security configuration was created. 43727 CreatedTimeStamp *time.Time `type:"timestamp"` 43728 43729 // The encryption configuration associated with this security configuration. 43730 EncryptionConfiguration *EncryptionConfiguration `type:"structure"` 43731 43732 // The name of the security configuration. 43733 Name *string `min:"1" type:"string"` 43734 } 43735 43736 // String returns the string representation. 43737 // 43738 // API parameter values that are decorated as "sensitive" in the API will not 43739 // be included in the string output. The member name will be present, but the 43740 // value will be replaced with "sensitive". 43741 func (s SecurityConfiguration) String() string { 43742 return awsutil.Prettify(s) 43743 } 43744 43745 // GoString returns the string representation. 43746 // 43747 // API parameter values that are decorated as "sensitive" in the API will not 43748 // be included in the string output. The member name will be present, but the 43749 // value will be replaced with "sensitive". 43750 func (s SecurityConfiguration) GoString() string { 43751 return s.String() 43752 } 43753 43754 // SetCreatedTimeStamp sets the CreatedTimeStamp field's value. 43755 func (s *SecurityConfiguration) SetCreatedTimeStamp(v time.Time) *SecurityConfiguration { 43756 s.CreatedTimeStamp = &v 43757 return s 43758 } 43759 43760 // SetEncryptionConfiguration sets the EncryptionConfiguration field's value. 43761 func (s *SecurityConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *SecurityConfiguration { 43762 s.EncryptionConfiguration = v 43763 return s 43764 } 43765 43766 // SetName sets the Name field's value. 43767 func (s *SecurityConfiguration) SetName(v string) *SecurityConfiguration { 43768 s.Name = &v 43769 return s 43770 } 43771 43772 // Defines a non-overlapping region of a table's partitions, allowing multiple 43773 // requests to be run in parallel. 43774 type Segment struct { 43775 _ struct{} `type:"structure"` 43776 43777 // The zero-based index number of the segment. For example, if the total number 43778 // of segments is 4, SegmentNumber values range from 0 through 3. 43779 // 43780 // SegmentNumber is a required field 43781 SegmentNumber *int64 `type:"integer" required:"true"` 43782 43783 // The total number of segments. 43784 // 43785 // TotalSegments is a required field 43786 TotalSegments *int64 `min:"1" type:"integer" required:"true"` 43787 } 43788 43789 // String returns the string representation. 43790 // 43791 // API parameter values that are decorated as "sensitive" in the API will not 43792 // be included in the string output. The member name will be present, but the 43793 // value will be replaced with "sensitive". 43794 func (s Segment) String() string { 43795 return awsutil.Prettify(s) 43796 } 43797 43798 // GoString returns the string representation. 43799 // 43800 // API parameter values that are decorated as "sensitive" in the API will not 43801 // be included in the string output. The member name will be present, but the 43802 // value will be replaced with "sensitive". 43803 func (s Segment) GoString() string { 43804 return s.String() 43805 } 43806 43807 // Validate inspects the fields of the type to determine if they are valid. 43808 func (s *Segment) Validate() error { 43809 invalidParams := request.ErrInvalidParams{Context: "Segment"} 43810 if s.SegmentNumber == nil { 43811 invalidParams.Add(request.NewErrParamRequired("SegmentNumber")) 43812 } 43813 if s.TotalSegments == nil { 43814 invalidParams.Add(request.NewErrParamRequired("TotalSegments")) 43815 } 43816 if s.TotalSegments != nil && *s.TotalSegments < 1 { 43817 invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1)) 43818 } 43819 43820 if invalidParams.Len() > 0 { 43821 return invalidParams 43822 } 43823 return nil 43824 } 43825 43826 // SetSegmentNumber sets the SegmentNumber field's value. 43827 func (s *Segment) SetSegmentNumber(v int64) *Segment { 43828 s.SegmentNumber = &v 43829 return s 43830 } 43831 43832 // SetTotalSegments sets the TotalSegments field's value. 43833 func (s *Segment) SetTotalSegments(v int64) *Segment { 43834 s.TotalSegments = &v 43835 return s 43836 } 43837 43838 // Information about a serialization/deserialization program (SerDe) that serves 43839 // as an extractor and loader. 43840 type SerDeInfo struct { 43841 _ struct{} `type:"structure"` 43842 43843 // Name of the SerDe. 43844 Name *string `min:"1" type:"string"` 43845 43846 // These key-value pairs define initialization parameters for the SerDe. 43847 Parameters map[string]*string `type:"map"` 43848 43849 // Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe. 43850 SerializationLibrary *string `min:"1" type:"string"` 43851 } 43852 43853 // String returns the string representation. 43854 // 43855 // API parameter values that are decorated as "sensitive" in the API will not 43856 // be included in the string output. The member name will be present, but the 43857 // value will be replaced with "sensitive". 43858 func (s SerDeInfo) String() string { 43859 return awsutil.Prettify(s) 43860 } 43861 43862 // GoString returns the string representation. 43863 // 43864 // API parameter values that are decorated as "sensitive" in the API will not 43865 // be included in the string output. The member name will be present, but the 43866 // value will be replaced with "sensitive". 43867 func (s SerDeInfo) GoString() string { 43868 return s.String() 43869 } 43870 43871 // Validate inspects the fields of the type to determine if they are valid. 43872 func (s *SerDeInfo) Validate() error { 43873 invalidParams := request.ErrInvalidParams{Context: "SerDeInfo"} 43874 if s.Name != nil && len(*s.Name) < 1 { 43875 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 43876 } 43877 if s.SerializationLibrary != nil && len(*s.SerializationLibrary) < 1 { 43878 invalidParams.Add(request.NewErrParamMinLen("SerializationLibrary", 1)) 43879 } 43880 43881 if invalidParams.Len() > 0 { 43882 return invalidParams 43883 } 43884 return nil 43885 } 43886 43887 // SetName sets the Name field's value. 43888 func (s *SerDeInfo) SetName(v string) *SerDeInfo { 43889 s.Name = &v 43890 return s 43891 } 43892 43893 // SetParameters sets the Parameters field's value. 43894 func (s *SerDeInfo) SetParameters(v map[string]*string) *SerDeInfo { 43895 s.Parameters = v 43896 return s 43897 } 43898 43899 // SetSerializationLibrary sets the SerializationLibrary field's value. 43900 func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo { 43901 s.SerializationLibrary = &v 43902 return s 43903 } 43904 43905 // Specifies skewed values in a table. Skewed values are those that occur with 43906 // very high frequency. 43907 type SkewedInfo struct { 43908 _ struct{} `type:"structure"` 43909 43910 // A list of names of columns that contain skewed values. 43911 SkewedColumnNames []*string `type:"list"` 43912 43913 // A mapping of skewed values to the columns that contain them. 43914 SkewedColumnValueLocationMaps map[string]*string `type:"map"` 43915 43916 // A list of values that appear so frequently as to be considered skewed. 43917 SkewedColumnValues []*string `type:"list"` 43918 } 43919 43920 // String returns the string representation. 43921 // 43922 // API parameter values that are decorated as "sensitive" in the API will not 43923 // be included in the string output. The member name will be present, but the 43924 // value will be replaced with "sensitive". 43925 func (s SkewedInfo) String() string { 43926 return awsutil.Prettify(s) 43927 } 43928 43929 // GoString returns the string representation. 43930 // 43931 // API parameter values that are decorated as "sensitive" in the API will not 43932 // be included in the string output. The member name will be present, but the 43933 // value will be replaced with "sensitive". 43934 func (s SkewedInfo) GoString() string { 43935 return s.String() 43936 } 43937 43938 // SetSkewedColumnNames sets the SkewedColumnNames field's value. 43939 func (s *SkewedInfo) SetSkewedColumnNames(v []*string) *SkewedInfo { 43940 s.SkewedColumnNames = v 43941 return s 43942 } 43943 43944 // SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value. 43945 func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]*string) *SkewedInfo { 43946 s.SkewedColumnValueLocationMaps = v 43947 return s 43948 } 43949 43950 // SetSkewedColumnValues sets the SkewedColumnValues field's value. 43951 func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo { 43952 s.SkewedColumnValues = v 43953 return s 43954 } 43955 43956 // Specifies a field to sort by and a sort order. 43957 type SortCriterion struct { 43958 _ struct{} `type:"structure"` 43959 43960 // The name of the field on which to sort. 43961 FieldName *string `type:"string"` 43962 43963 // An ascending or descending sort. 43964 Sort *string `type:"string" enum:"Sort"` 43965 } 43966 43967 // String returns the string representation. 43968 // 43969 // API parameter values that are decorated as "sensitive" in the API will not 43970 // be included in the string output. The member name will be present, but the 43971 // value will be replaced with "sensitive". 43972 func (s SortCriterion) String() string { 43973 return awsutil.Prettify(s) 43974 } 43975 43976 // GoString returns the string representation. 43977 // 43978 // API parameter values that are decorated as "sensitive" in the API will not 43979 // be included in the string output. The member name will be present, but the 43980 // value will be replaced with "sensitive". 43981 func (s SortCriterion) GoString() string { 43982 return s.String() 43983 } 43984 43985 // SetFieldName sets the FieldName field's value. 43986 func (s *SortCriterion) SetFieldName(v string) *SortCriterion { 43987 s.FieldName = &v 43988 return s 43989 } 43990 43991 // SetSort sets the Sort field's value. 43992 func (s *SortCriterion) SetSort(v string) *SortCriterion { 43993 s.Sort = &v 43994 return s 43995 } 43996 43997 type StartBlueprintRunInput struct { 43998 _ struct{} `type:"structure"` 43999 44000 // The name of the blueprint. 44001 // 44002 // BlueprintName is a required field 44003 BlueprintName *string `min:"1" type:"string" required:"true"` 44004 44005 // Specifies the parameters as a BlueprintParameters object. 44006 Parameters *string `min:"1" type:"string"` 44007 44008 // Specifies the IAM role used to create the workflow. 44009 // 44010 // RoleArn is a required field 44011 RoleArn *string `min:"1" type:"string" required:"true"` 44012 } 44013 44014 // String returns the string representation. 44015 // 44016 // API parameter values that are decorated as "sensitive" in the API will not 44017 // be included in the string output. The member name will be present, but the 44018 // value will be replaced with "sensitive". 44019 func (s StartBlueprintRunInput) String() string { 44020 return awsutil.Prettify(s) 44021 } 44022 44023 // GoString returns the string representation. 44024 // 44025 // API parameter values that are decorated as "sensitive" in the API will not 44026 // be included in the string output. The member name will be present, but the 44027 // value will be replaced with "sensitive". 44028 func (s StartBlueprintRunInput) GoString() string { 44029 return s.String() 44030 } 44031 44032 // Validate inspects the fields of the type to determine if they are valid. 44033 func (s *StartBlueprintRunInput) Validate() error { 44034 invalidParams := request.ErrInvalidParams{Context: "StartBlueprintRunInput"} 44035 if s.BlueprintName == nil { 44036 invalidParams.Add(request.NewErrParamRequired("BlueprintName")) 44037 } 44038 if s.BlueprintName != nil && len(*s.BlueprintName) < 1 { 44039 invalidParams.Add(request.NewErrParamMinLen("BlueprintName", 1)) 44040 } 44041 if s.Parameters != nil && len(*s.Parameters) < 1 { 44042 invalidParams.Add(request.NewErrParamMinLen("Parameters", 1)) 44043 } 44044 if s.RoleArn == nil { 44045 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 44046 } 44047 if s.RoleArn != nil && len(*s.RoleArn) < 1 { 44048 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) 44049 } 44050 44051 if invalidParams.Len() > 0 { 44052 return invalidParams 44053 } 44054 return nil 44055 } 44056 44057 // SetBlueprintName sets the BlueprintName field's value. 44058 func (s *StartBlueprintRunInput) SetBlueprintName(v string) *StartBlueprintRunInput { 44059 s.BlueprintName = &v 44060 return s 44061 } 44062 44063 // SetParameters sets the Parameters field's value. 44064 func (s *StartBlueprintRunInput) SetParameters(v string) *StartBlueprintRunInput { 44065 s.Parameters = &v 44066 return s 44067 } 44068 44069 // SetRoleArn sets the RoleArn field's value. 44070 func (s *StartBlueprintRunInput) SetRoleArn(v string) *StartBlueprintRunInput { 44071 s.RoleArn = &v 44072 return s 44073 } 44074 44075 type StartBlueprintRunOutput struct { 44076 _ struct{} `type:"structure"` 44077 44078 // The run ID for this blueprint run. 44079 RunId *string `min:"1" type:"string"` 44080 } 44081 44082 // String returns the string representation. 44083 // 44084 // API parameter values that are decorated as "sensitive" in the API will not 44085 // be included in the string output. The member name will be present, but the 44086 // value will be replaced with "sensitive". 44087 func (s StartBlueprintRunOutput) String() string { 44088 return awsutil.Prettify(s) 44089 } 44090 44091 // GoString returns the string representation. 44092 // 44093 // API parameter values that are decorated as "sensitive" in the API will not 44094 // be included in the string output. The member name will be present, but the 44095 // value will be replaced with "sensitive". 44096 func (s StartBlueprintRunOutput) GoString() string { 44097 return s.String() 44098 } 44099 44100 // SetRunId sets the RunId field's value. 44101 func (s *StartBlueprintRunOutput) SetRunId(v string) *StartBlueprintRunOutput { 44102 s.RunId = &v 44103 return s 44104 } 44105 44106 type StartCrawlerInput struct { 44107 _ struct{} `type:"structure"` 44108 44109 // Name of the crawler to start. 44110 // 44111 // Name is a required field 44112 Name *string `min:"1" type:"string" required:"true"` 44113 } 44114 44115 // String returns the string representation. 44116 // 44117 // API parameter values that are decorated as "sensitive" in the API will not 44118 // be included in the string output. The member name will be present, but the 44119 // value will be replaced with "sensitive". 44120 func (s StartCrawlerInput) String() string { 44121 return awsutil.Prettify(s) 44122 } 44123 44124 // GoString returns the string representation. 44125 // 44126 // API parameter values that are decorated as "sensitive" in the API will not 44127 // be included in the string output. The member name will be present, but the 44128 // value will be replaced with "sensitive". 44129 func (s StartCrawlerInput) GoString() string { 44130 return s.String() 44131 } 44132 44133 // Validate inspects the fields of the type to determine if they are valid. 44134 func (s *StartCrawlerInput) Validate() error { 44135 invalidParams := request.ErrInvalidParams{Context: "StartCrawlerInput"} 44136 if s.Name == nil { 44137 invalidParams.Add(request.NewErrParamRequired("Name")) 44138 } 44139 if s.Name != nil && len(*s.Name) < 1 { 44140 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 44141 } 44142 44143 if invalidParams.Len() > 0 { 44144 return invalidParams 44145 } 44146 return nil 44147 } 44148 44149 // SetName sets the Name field's value. 44150 func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput { 44151 s.Name = &v 44152 return s 44153 } 44154 44155 type StartCrawlerOutput struct { 44156 _ struct{} `type:"structure"` 44157 } 44158 44159 // String returns the string representation. 44160 // 44161 // API parameter values that are decorated as "sensitive" in the API will not 44162 // be included in the string output. The member name will be present, but the 44163 // value will be replaced with "sensitive". 44164 func (s StartCrawlerOutput) String() string { 44165 return awsutil.Prettify(s) 44166 } 44167 44168 // GoString returns the string representation. 44169 // 44170 // API parameter values that are decorated as "sensitive" in the API will not 44171 // be included in the string output. The member name will be present, but the 44172 // value will be replaced with "sensitive". 44173 func (s StartCrawlerOutput) GoString() string { 44174 return s.String() 44175 } 44176 44177 type StartCrawlerScheduleInput struct { 44178 _ struct{} `type:"structure"` 44179 44180 // Name of the crawler to schedule. 44181 // 44182 // CrawlerName is a required field 44183 CrawlerName *string `min:"1" type:"string" required:"true"` 44184 } 44185 44186 // String returns the string representation. 44187 // 44188 // API parameter values that are decorated as "sensitive" in the API will not 44189 // be included in the string output. The member name will be present, but the 44190 // value will be replaced with "sensitive". 44191 func (s StartCrawlerScheduleInput) String() string { 44192 return awsutil.Prettify(s) 44193 } 44194 44195 // GoString returns the string representation. 44196 // 44197 // API parameter values that are decorated as "sensitive" in the API will not 44198 // be included in the string output. The member name will be present, but the 44199 // value will be replaced with "sensitive". 44200 func (s StartCrawlerScheduleInput) GoString() string { 44201 return s.String() 44202 } 44203 44204 // Validate inspects the fields of the type to determine if they are valid. 44205 func (s *StartCrawlerScheduleInput) Validate() error { 44206 invalidParams := request.ErrInvalidParams{Context: "StartCrawlerScheduleInput"} 44207 if s.CrawlerName == nil { 44208 invalidParams.Add(request.NewErrParamRequired("CrawlerName")) 44209 } 44210 if s.CrawlerName != nil && len(*s.CrawlerName) < 1 { 44211 invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1)) 44212 } 44213 44214 if invalidParams.Len() > 0 { 44215 return invalidParams 44216 } 44217 return nil 44218 } 44219 44220 // SetCrawlerName sets the CrawlerName field's value. 44221 func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput { 44222 s.CrawlerName = &v 44223 return s 44224 } 44225 44226 type StartCrawlerScheduleOutput struct { 44227 _ struct{} `type:"structure"` 44228 } 44229 44230 // String returns the string representation. 44231 // 44232 // API parameter values that are decorated as "sensitive" in the API will not 44233 // be included in the string output. The member name will be present, but the 44234 // value will be replaced with "sensitive". 44235 func (s StartCrawlerScheduleOutput) String() string { 44236 return awsutil.Prettify(s) 44237 } 44238 44239 // GoString returns the string representation. 44240 // 44241 // API parameter values that are decorated as "sensitive" in the API will not 44242 // be included in the string output. The member name will be present, but the 44243 // value will be replaced with "sensitive". 44244 func (s StartCrawlerScheduleOutput) GoString() string { 44245 return s.String() 44246 } 44247 44248 type StartExportLabelsTaskRunInput struct { 44249 _ struct{} `type:"structure"` 44250 44251 // The Amazon S3 path where you export the labels. 44252 // 44253 // OutputS3Path is a required field 44254 OutputS3Path *string `type:"string" required:"true"` 44255 44256 // The unique identifier of the machine learning transform. 44257 // 44258 // TransformId is a required field 44259 TransformId *string `min:"1" type:"string" required:"true"` 44260 } 44261 44262 // String returns the string representation. 44263 // 44264 // API parameter values that are decorated as "sensitive" in the API will not 44265 // be included in the string output. The member name will be present, but the 44266 // value will be replaced with "sensitive". 44267 func (s StartExportLabelsTaskRunInput) String() string { 44268 return awsutil.Prettify(s) 44269 } 44270 44271 // GoString returns the string representation. 44272 // 44273 // API parameter values that are decorated as "sensitive" in the API will not 44274 // be included in the string output. The member name will be present, but the 44275 // value will be replaced with "sensitive". 44276 func (s StartExportLabelsTaskRunInput) GoString() string { 44277 return s.String() 44278 } 44279 44280 // Validate inspects the fields of the type to determine if they are valid. 44281 func (s *StartExportLabelsTaskRunInput) Validate() error { 44282 invalidParams := request.ErrInvalidParams{Context: "StartExportLabelsTaskRunInput"} 44283 if s.OutputS3Path == nil { 44284 invalidParams.Add(request.NewErrParamRequired("OutputS3Path")) 44285 } 44286 if s.TransformId == nil { 44287 invalidParams.Add(request.NewErrParamRequired("TransformId")) 44288 } 44289 if s.TransformId != nil && len(*s.TransformId) < 1 { 44290 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 44291 } 44292 44293 if invalidParams.Len() > 0 { 44294 return invalidParams 44295 } 44296 return nil 44297 } 44298 44299 // SetOutputS3Path sets the OutputS3Path field's value. 44300 func (s *StartExportLabelsTaskRunInput) SetOutputS3Path(v string) *StartExportLabelsTaskRunInput { 44301 s.OutputS3Path = &v 44302 return s 44303 } 44304 44305 // SetTransformId sets the TransformId field's value. 44306 func (s *StartExportLabelsTaskRunInput) SetTransformId(v string) *StartExportLabelsTaskRunInput { 44307 s.TransformId = &v 44308 return s 44309 } 44310 44311 type StartExportLabelsTaskRunOutput struct { 44312 _ struct{} `type:"structure"` 44313 44314 // The unique identifier for the task run. 44315 TaskRunId *string `min:"1" type:"string"` 44316 } 44317 44318 // String returns the string representation. 44319 // 44320 // API parameter values that are decorated as "sensitive" in the API will not 44321 // be included in the string output. The member name will be present, but the 44322 // value will be replaced with "sensitive". 44323 func (s StartExportLabelsTaskRunOutput) String() string { 44324 return awsutil.Prettify(s) 44325 } 44326 44327 // GoString returns the string representation. 44328 // 44329 // API parameter values that are decorated as "sensitive" in the API will not 44330 // be included in the string output. The member name will be present, but the 44331 // value will be replaced with "sensitive". 44332 func (s StartExportLabelsTaskRunOutput) GoString() string { 44333 return s.String() 44334 } 44335 44336 // SetTaskRunId sets the TaskRunId field's value. 44337 func (s *StartExportLabelsTaskRunOutput) SetTaskRunId(v string) *StartExportLabelsTaskRunOutput { 44338 s.TaskRunId = &v 44339 return s 44340 } 44341 44342 type StartImportLabelsTaskRunInput struct { 44343 _ struct{} `type:"structure"` 44344 44345 // The Amazon Simple Storage Service (Amazon S3) path from where you import 44346 // the labels. 44347 // 44348 // InputS3Path is a required field 44349 InputS3Path *string `type:"string" required:"true"` 44350 44351 // Indicates whether to overwrite your existing labels. 44352 ReplaceAllLabels *bool `type:"boolean"` 44353 44354 // The unique identifier of the machine learning transform. 44355 // 44356 // TransformId is a required field 44357 TransformId *string `min:"1" type:"string" required:"true"` 44358 } 44359 44360 // String returns the string representation. 44361 // 44362 // API parameter values that are decorated as "sensitive" in the API will not 44363 // be included in the string output. The member name will be present, but the 44364 // value will be replaced with "sensitive". 44365 func (s StartImportLabelsTaskRunInput) String() string { 44366 return awsutil.Prettify(s) 44367 } 44368 44369 // GoString returns the string representation. 44370 // 44371 // API parameter values that are decorated as "sensitive" in the API will not 44372 // be included in the string output. The member name will be present, but the 44373 // value will be replaced with "sensitive". 44374 func (s StartImportLabelsTaskRunInput) GoString() string { 44375 return s.String() 44376 } 44377 44378 // Validate inspects the fields of the type to determine if they are valid. 44379 func (s *StartImportLabelsTaskRunInput) Validate() error { 44380 invalidParams := request.ErrInvalidParams{Context: "StartImportLabelsTaskRunInput"} 44381 if s.InputS3Path == nil { 44382 invalidParams.Add(request.NewErrParamRequired("InputS3Path")) 44383 } 44384 if s.TransformId == nil { 44385 invalidParams.Add(request.NewErrParamRequired("TransformId")) 44386 } 44387 if s.TransformId != nil && len(*s.TransformId) < 1 { 44388 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 44389 } 44390 44391 if invalidParams.Len() > 0 { 44392 return invalidParams 44393 } 44394 return nil 44395 } 44396 44397 // SetInputS3Path sets the InputS3Path field's value. 44398 func (s *StartImportLabelsTaskRunInput) SetInputS3Path(v string) *StartImportLabelsTaskRunInput { 44399 s.InputS3Path = &v 44400 return s 44401 } 44402 44403 // SetReplaceAllLabels sets the ReplaceAllLabels field's value. 44404 func (s *StartImportLabelsTaskRunInput) SetReplaceAllLabels(v bool) *StartImportLabelsTaskRunInput { 44405 s.ReplaceAllLabels = &v 44406 return s 44407 } 44408 44409 // SetTransformId sets the TransformId field's value. 44410 func (s *StartImportLabelsTaskRunInput) SetTransformId(v string) *StartImportLabelsTaskRunInput { 44411 s.TransformId = &v 44412 return s 44413 } 44414 44415 type StartImportLabelsTaskRunOutput struct { 44416 _ struct{} `type:"structure"` 44417 44418 // The unique identifier for the task run. 44419 TaskRunId *string `min:"1" type:"string"` 44420 } 44421 44422 // String returns the string representation. 44423 // 44424 // API parameter values that are decorated as "sensitive" in the API will not 44425 // be included in the string output. The member name will be present, but the 44426 // value will be replaced with "sensitive". 44427 func (s StartImportLabelsTaskRunOutput) String() string { 44428 return awsutil.Prettify(s) 44429 } 44430 44431 // GoString returns the string representation. 44432 // 44433 // API parameter values that are decorated as "sensitive" in the API will not 44434 // be included in the string output. The member name will be present, but the 44435 // value will be replaced with "sensitive". 44436 func (s StartImportLabelsTaskRunOutput) GoString() string { 44437 return s.String() 44438 } 44439 44440 // SetTaskRunId sets the TaskRunId field's value. 44441 func (s *StartImportLabelsTaskRunOutput) SetTaskRunId(v string) *StartImportLabelsTaskRunOutput { 44442 s.TaskRunId = &v 44443 return s 44444 } 44445 44446 type StartJobRunInput struct { 44447 _ struct{} `type:"structure"` 44448 44449 // This field is deprecated. Use MaxCapacity instead. 44450 // 44451 // The number of Glue data processing units (DPUs) to allocate to this JobRun. 44452 // From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative 44453 // measure of processing power that consists of 4 vCPUs of compute capacity 44454 // and 16 GB of memory. For more information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 44455 // 44456 // Deprecated: This property is deprecated, use MaxCapacity instead. 44457 AllocatedCapacity *int64 `deprecated:"true" type:"integer"` 44458 44459 // The job arguments specifically for this run. For this job run, they replace 44460 // the default arguments set in the job definition itself. 44461 // 44462 // You can specify arguments here that your own job-execution script consumes, 44463 // as well as arguments that Glue itself consumes. 44464 // 44465 // For information about how to specify and consume your own Job arguments, 44466 // see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html) 44467 // topic in the developer guide. 44468 // 44469 // For information about the key-value pairs that Glue consumes to set up your 44470 // job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) 44471 // topic in the developer guide. 44472 Arguments map[string]*string `type:"map"` 44473 44474 // The name of the job definition to use. 44475 // 44476 // JobName is a required field 44477 JobName *string `min:"1" type:"string" required:"true"` 44478 44479 // The ID of a previous JobRun to retry. 44480 JobRunId *string `min:"1" type:"string"` 44481 44482 // The number of Glue data processing units (DPUs) that can be allocated when 44483 // this job runs. A DPU is a relative measure of processing power that consists 44484 // of 4 vCPUs of compute capacity and 16 GB of memory. For more information, 44485 // see the Glue pricing page (https://aws.amazon.com/glue/pricing/). 44486 // 44487 // Do not set Max Capacity if using WorkerType and NumberOfWorkers. 44488 // 44489 // The value that can be allocated for MaxCapacity depends on whether you are 44490 // running a Python shell job, or an Apache Spark ETL job: 44491 // 44492 // * When you specify a Python shell job (JobCommand.Name="pythonshell"), 44493 // you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. 44494 // 44495 // * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), 44496 // you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job 44497 // type cannot have a fractional DPU allocation. 44498 MaxCapacity *float64 `type:"double"` 44499 44500 // Specifies configuration properties of a job run notification. 44501 NotificationProperty *NotificationProperty `type:"structure"` 44502 44503 // The number of workers of a defined workerType that are allocated when a job 44504 // runs. 44505 // 44506 // The maximum number of workers you can define are 299 for G.1X, and 149 for 44507 // G.2X. 44508 NumberOfWorkers *int64 `type:"integer"` 44509 44510 // The name of the SecurityConfiguration structure to be used with this job 44511 // run. 44512 SecurityConfiguration *string `min:"1" type:"string"` 44513 44514 // The JobRun timeout in minutes. This is the maximum time that a job run can 44515 // consume resources before it is terminated and enters TIMEOUT status. The 44516 // default is 2,880 minutes (48 hours). This overrides the timeout value set 44517 // in the parent job. 44518 Timeout *int64 `min:"1" type:"integer"` 44519 44520 // The type of predefined worker that is allocated when a job runs. Accepts 44521 // a value of Standard, G.1X, or G.2X. 44522 // 44523 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 44524 // memory and a 50GB disk, and 2 executors per worker. 44525 // 44526 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 44527 // and a 64GB disk, and 1 executor per worker. 44528 // 44529 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 44530 // and a 128GB disk, and 1 executor per worker. 44531 WorkerType *string `type:"string" enum:"WorkerType"` 44532 } 44533 44534 // String returns the string representation. 44535 // 44536 // API parameter values that are decorated as "sensitive" in the API will not 44537 // be included in the string output. The member name will be present, but the 44538 // value will be replaced with "sensitive". 44539 func (s StartJobRunInput) String() string { 44540 return awsutil.Prettify(s) 44541 } 44542 44543 // GoString returns the string representation. 44544 // 44545 // API parameter values that are decorated as "sensitive" in the API will not 44546 // be included in the string output. The member name will be present, but the 44547 // value will be replaced with "sensitive". 44548 func (s StartJobRunInput) GoString() string { 44549 return s.String() 44550 } 44551 44552 // Validate inspects the fields of the type to determine if they are valid. 44553 func (s *StartJobRunInput) Validate() error { 44554 invalidParams := request.ErrInvalidParams{Context: "StartJobRunInput"} 44555 if s.JobName == nil { 44556 invalidParams.Add(request.NewErrParamRequired("JobName")) 44557 } 44558 if s.JobName != nil && len(*s.JobName) < 1 { 44559 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 44560 } 44561 if s.JobRunId != nil && len(*s.JobRunId) < 1 { 44562 invalidParams.Add(request.NewErrParamMinLen("JobRunId", 1)) 44563 } 44564 if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { 44565 invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) 44566 } 44567 if s.Timeout != nil && *s.Timeout < 1 { 44568 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 44569 } 44570 if s.NotificationProperty != nil { 44571 if err := s.NotificationProperty.Validate(); err != nil { 44572 invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) 44573 } 44574 } 44575 44576 if invalidParams.Len() > 0 { 44577 return invalidParams 44578 } 44579 return nil 44580 } 44581 44582 // SetAllocatedCapacity sets the AllocatedCapacity field's value. 44583 func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput { 44584 s.AllocatedCapacity = &v 44585 return s 44586 } 44587 44588 // SetArguments sets the Arguments field's value. 44589 func (s *StartJobRunInput) SetArguments(v map[string]*string) *StartJobRunInput { 44590 s.Arguments = v 44591 return s 44592 } 44593 44594 // SetJobName sets the JobName field's value. 44595 func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput { 44596 s.JobName = &v 44597 return s 44598 } 44599 44600 // SetJobRunId sets the JobRunId field's value. 44601 func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput { 44602 s.JobRunId = &v 44603 return s 44604 } 44605 44606 // SetMaxCapacity sets the MaxCapacity field's value. 44607 func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput { 44608 s.MaxCapacity = &v 44609 return s 44610 } 44611 44612 // SetNotificationProperty sets the NotificationProperty field's value. 44613 func (s *StartJobRunInput) SetNotificationProperty(v *NotificationProperty) *StartJobRunInput { 44614 s.NotificationProperty = v 44615 return s 44616 } 44617 44618 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 44619 func (s *StartJobRunInput) SetNumberOfWorkers(v int64) *StartJobRunInput { 44620 s.NumberOfWorkers = &v 44621 return s 44622 } 44623 44624 // SetSecurityConfiguration sets the SecurityConfiguration field's value. 44625 func (s *StartJobRunInput) SetSecurityConfiguration(v string) *StartJobRunInput { 44626 s.SecurityConfiguration = &v 44627 return s 44628 } 44629 44630 // SetTimeout sets the Timeout field's value. 44631 func (s *StartJobRunInput) SetTimeout(v int64) *StartJobRunInput { 44632 s.Timeout = &v 44633 return s 44634 } 44635 44636 // SetWorkerType sets the WorkerType field's value. 44637 func (s *StartJobRunInput) SetWorkerType(v string) *StartJobRunInput { 44638 s.WorkerType = &v 44639 return s 44640 } 44641 44642 type StartJobRunOutput struct { 44643 _ struct{} `type:"structure"` 44644 44645 // The ID assigned to this job run. 44646 JobRunId *string `min:"1" type:"string"` 44647 } 44648 44649 // String returns the string representation. 44650 // 44651 // API parameter values that are decorated as "sensitive" in the API will not 44652 // be included in the string output. The member name will be present, but the 44653 // value will be replaced with "sensitive". 44654 func (s StartJobRunOutput) String() string { 44655 return awsutil.Prettify(s) 44656 } 44657 44658 // GoString returns the string representation. 44659 // 44660 // API parameter values that are decorated as "sensitive" in the API will not 44661 // be included in the string output. The member name will be present, but the 44662 // value will be replaced with "sensitive". 44663 func (s StartJobRunOutput) GoString() string { 44664 return s.String() 44665 } 44666 44667 // SetJobRunId sets the JobRunId field's value. 44668 func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput { 44669 s.JobRunId = &v 44670 return s 44671 } 44672 44673 type StartMLEvaluationTaskRunInput struct { 44674 _ struct{} `type:"structure"` 44675 44676 // The unique identifier of the machine learning transform. 44677 // 44678 // TransformId is a required field 44679 TransformId *string `min:"1" type:"string" required:"true"` 44680 } 44681 44682 // String returns the string representation. 44683 // 44684 // API parameter values that are decorated as "sensitive" in the API will not 44685 // be included in the string output. The member name will be present, but the 44686 // value will be replaced with "sensitive". 44687 func (s StartMLEvaluationTaskRunInput) String() string { 44688 return awsutil.Prettify(s) 44689 } 44690 44691 // GoString returns the string representation. 44692 // 44693 // API parameter values that are decorated as "sensitive" in the API will not 44694 // be included in the string output. The member name will be present, but the 44695 // value will be replaced with "sensitive". 44696 func (s StartMLEvaluationTaskRunInput) GoString() string { 44697 return s.String() 44698 } 44699 44700 // Validate inspects the fields of the type to determine if they are valid. 44701 func (s *StartMLEvaluationTaskRunInput) Validate() error { 44702 invalidParams := request.ErrInvalidParams{Context: "StartMLEvaluationTaskRunInput"} 44703 if s.TransformId == nil { 44704 invalidParams.Add(request.NewErrParamRequired("TransformId")) 44705 } 44706 if s.TransformId != nil && len(*s.TransformId) < 1 { 44707 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 44708 } 44709 44710 if invalidParams.Len() > 0 { 44711 return invalidParams 44712 } 44713 return nil 44714 } 44715 44716 // SetTransformId sets the TransformId field's value. 44717 func (s *StartMLEvaluationTaskRunInput) SetTransformId(v string) *StartMLEvaluationTaskRunInput { 44718 s.TransformId = &v 44719 return s 44720 } 44721 44722 type StartMLEvaluationTaskRunOutput struct { 44723 _ struct{} `type:"structure"` 44724 44725 // The unique identifier associated with this run. 44726 TaskRunId *string `min:"1" type:"string"` 44727 } 44728 44729 // String returns the string representation. 44730 // 44731 // API parameter values that are decorated as "sensitive" in the API will not 44732 // be included in the string output. The member name will be present, but the 44733 // value will be replaced with "sensitive". 44734 func (s StartMLEvaluationTaskRunOutput) String() string { 44735 return awsutil.Prettify(s) 44736 } 44737 44738 // GoString returns the string representation. 44739 // 44740 // API parameter values that are decorated as "sensitive" in the API will not 44741 // be included in the string output. The member name will be present, but the 44742 // value will be replaced with "sensitive". 44743 func (s StartMLEvaluationTaskRunOutput) GoString() string { 44744 return s.String() 44745 } 44746 44747 // SetTaskRunId sets the TaskRunId field's value. 44748 func (s *StartMLEvaluationTaskRunOutput) SetTaskRunId(v string) *StartMLEvaluationTaskRunOutput { 44749 s.TaskRunId = &v 44750 return s 44751 } 44752 44753 type StartMLLabelingSetGenerationTaskRunInput struct { 44754 _ struct{} `type:"structure"` 44755 44756 // The Amazon Simple Storage Service (Amazon S3) path where you generate the 44757 // labeling set. 44758 // 44759 // OutputS3Path is a required field 44760 OutputS3Path *string `type:"string" required:"true"` 44761 44762 // The unique identifier of the machine learning transform. 44763 // 44764 // TransformId is a required field 44765 TransformId *string `min:"1" type:"string" required:"true"` 44766 } 44767 44768 // String returns the string representation. 44769 // 44770 // API parameter values that are decorated as "sensitive" in the API will not 44771 // be included in the string output. The member name will be present, but the 44772 // value will be replaced with "sensitive". 44773 func (s StartMLLabelingSetGenerationTaskRunInput) String() string { 44774 return awsutil.Prettify(s) 44775 } 44776 44777 // GoString returns the string representation. 44778 // 44779 // API parameter values that are decorated as "sensitive" in the API will not 44780 // be included in the string output. The member name will be present, but the 44781 // value will be replaced with "sensitive". 44782 func (s StartMLLabelingSetGenerationTaskRunInput) GoString() string { 44783 return s.String() 44784 } 44785 44786 // Validate inspects the fields of the type to determine if they are valid. 44787 func (s *StartMLLabelingSetGenerationTaskRunInput) Validate() error { 44788 invalidParams := request.ErrInvalidParams{Context: "StartMLLabelingSetGenerationTaskRunInput"} 44789 if s.OutputS3Path == nil { 44790 invalidParams.Add(request.NewErrParamRequired("OutputS3Path")) 44791 } 44792 if s.TransformId == nil { 44793 invalidParams.Add(request.NewErrParamRequired("TransformId")) 44794 } 44795 if s.TransformId != nil && len(*s.TransformId) < 1 { 44796 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 44797 } 44798 44799 if invalidParams.Len() > 0 { 44800 return invalidParams 44801 } 44802 return nil 44803 } 44804 44805 // SetOutputS3Path sets the OutputS3Path field's value. 44806 func (s *StartMLLabelingSetGenerationTaskRunInput) SetOutputS3Path(v string) *StartMLLabelingSetGenerationTaskRunInput { 44807 s.OutputS3Path = &v 44808 return s 44809 } 44810 44811 // SetTransformId sets the TransformId field's value. 44812 func (s *StartMLLabelingSetGenerationTaskRunInput) SetTransformId(v string) *StartMLLabelingSetGenerationTaskRunInput { 44813 s.TransformId = &v 44814 return s 44815 } 44816 44817 type StartMLLabelingSetGenerationTaskRunOutput struct { 44818 _ struct{} `type:"structure"` 44819 44820 // The unique run identifier that is associated with this task run. 44821 TaskRunId *string `min:"1" type:"string"` 44822 } 44823 44824 // String returns the string representation. 44825 // 44826 // API parameter values that are decorated as "sensitive" in the API will not 44827 // be included in the string output. The member name will be present, but the 44828 // value will be replaced with "sensitive". 44829 func (s StartMLLabelingSetGenerationTaskRunOutput) String() string { 44830 return awsutil.Prettify(s) 44831 } 44832 44833 // GoString returns the string representation. 44834 // 44835 // API parameter values that are decorated as "sensitive" in the API will not 44836 // be included in the string output. The member name will be present, but the 44837 // value will be replaced with "sensitive". 44838 func (s StartMLLabelingSetGenerationTaskRunOutput) GoString() string { 44839 return s.String() 44840 } 44841 44842 // SetTaskRunId sets the TaskRunId field's value. 44843 func (s *StartMLLabelingSetGenerationTaskRunOutput) SetTaskRunId(v string) *StartMLLabelingSetGenerationTaskRunOutput { 44844 s.TaskRunId = &v 44845 return s 44846 } 44847 44848 type StartTriggerInput struct { 44849 _ struct{} `type:"structure"` 44850 44851 // The name of the trigger to start. 44852 // 44853 // Name is a required field 44854 Name *string `min:"1" type:"string" required:"true"` 44855 } 44856 44857 // String returns the string representation. 44858 // 44859 // API parameter values that are decorated as "sensitive" in the API will not 44860 // be included in the string output. The member name will be present, but the 44861 // value will be replaced with "sensitive". 44862 func (s StartTriggerInput) String() string { 44863 return awsutil.Prettify(s) 44864 } 44865 44866 // GoString returns the string representation. 44867 // 44868 // API parameter values that are decorated as "sensitive" in the API will not 44869 // be included in the string output. The member name will be present, but the 44870 // value will be replaced with "sensitive". 44871 func (s StartTriggerInput) GoString() string { 44872 return s.String() 44873 } 44874 44875 // Validate inspects the fields of the type to determine if they are valid. 44876 func (s *StartTriggerInput) Validate() error { 44877 invalidParams := request.ErrInvalidParams{Context: "StartTriggerInput"} 44878 if s.Name == nil { 44879 invalidParams.Add(request.NewErrParamRequired("Name")) 44880 } 44881 if s.Name != nil && len(*s.Name) < 1 { 44882 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 44883 } 44884 44885 if invalidParams.Len() > 0 { 44886 return invalidParams 44887 } 44888 return nil 44889 } 44890 44891 // SetName sets the Name field's value. 44892 func (s *StartTriggerInput) SetName(v string) *StartTriggerInput { 44893 s.Name = &v 44894 return s 44895 } 44896 44897 type StartTriggerOutput struct { 44898 _ struct{} `type:"structure"` 44899 44900 // The name of the trigger that was started. 44901 Name *string `min:"1" type:"string"` 44902 } 44903 44904 // String returns the string representation. 44905 // 44906 // API parameter values that are decorated as "sensitive" in the API will not 44907 // be included in the string output. The member name will be present, but the 44908 // value will be replaced with "sensitive". 44909 func (s StartTriggerOutput) String() string { 44910 return awsutil.Prettify(s) 44911 } 44912 44913 // GoString returns the string representation. 44914 // 44915 // API parameter values that are decorated as "sensitive" in the API will not 44916 // be included in the string output. The member name will be present, but the 44917 // value will be replaced with "sensitive". 44918 func (s StartTriggerOutput) GoString() string { 44919 return s.String() 44920 } 44921 44922 // SetName sets the Name field's value. 44923 func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput { 44924 s.Name = &v 44925 return s 44926 } 44927 44928 type StartWorkflowRunInput struct { 44929 _ struct{} `type:"structure"` 44930 44931 // The name of the workflow to start. 44932 // 44933 // Name is a required field 44934 Name *string `min:"1" type:"string" required:"true"` 44935 } 44936 44937 // String returns the string representation. 44938 // 44939 // API parameter values that are decorated as "sensitive" in the API will not 44940 // be included in the string output. The member name will be present, but the 44941 // value will be replaced with "sensitive". 44942 func (s StartWorkflowRunInput) String() string { 44943 return awsutil.Prettify(s) 44944 } 44945 44946 // GoString returns the string representation. 44947 // 44948 // API parameter values that are decorated as "sensitive" in the API will not 44949 // be included in the string output. The member name will be present, but the 44950 // value will be replaced with "sensitive". 44951 func (s StartWorkflowRunInput) GoString() string { 44952 return s.String() 44953 } 44954 44955 // Validate inspects the fields of the type to determine if they are valid. 44956 func (s *StartWorkflowRunInput) Validate() error { 44957 invalidParams := request.ErrInvalidParams{Context: "StartWorkflowRunInput"} 44958 if s.Name == nil { 44959 invalidParams.Add(request.NewErrParamRequired("Name")) 44960 } 44961 if s.Name != nil && len(*s.Name) < 1 { 44962 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 44963 } 44964 44965 if invalidParams.Len() > 0 { 44966 return invalidParams 44967 } 44968 return nil 44969 } 44970 44971 // SetName sets the Name field's value. 44972 func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput { 44973 s.Name = &v 44974 return s 44975 } 44976 44977 type StartWorkflowRunOutput struct { 44978 _ struct{} `type:"structure"` 44979 44980 // An Id for the new run. 44981 RunId *string `min:"1" type:"string"` 44982 } 44983 44984 // String returns the string representation. 44985 // 44986 // API parameter values that are decorated as "sensitive" in the API will not 44987 // be included in the string output. The member name will be present, but the 44988 // value will be replaced with "sensitive". 44989 func (s StartWorkflowRunOutput) String() string { 44990 return awsutil.Prettify(s) 44991 } 44992 44993 // GoString returns the string representation. 44994 // 44995 // API parameter values that are decorated as "sensitive" in the API will not 44996 // be included in the string output. The member name will be present, but the 44997 // value will be replaced with "sensitive". 44998 func (s StartWorkflowRunOutput) GoString() string { 44999 return s.String() 45000 } 45001 45002 // SetRunId sets the RunId field's value. 45003 func (s *StartWorkflowRunOutput) SetRunId(v string) *StartWorkflowRunOutput { 45004 s.RunId = &v 45005 return s 45006 } 45007 45008 // The batch condition that started the workflow run. Either the number of events 45009 // in the batch size arrived, in which case the BatchSize member is non-zero, 45010 // or the batch window expired, in which case the BatchWindow member is non-zero. 45011 type StartingEventBatchCondition struct { 45012 _ struct{} `type:"structure"` 45013 45014 // Number of events in the batch. 45015 BatchSize *int64 `type:"integer"` 45016 45017 // Duration of the batch window in seconds. 45018 BatchWindow *int64 `type:"integer"` 45019 } 45020 45021 // String returns the string representation. 45022 // 45023 // API parameter values that are decorated as "sensitive" in the API will not 45024 // be included in the string output. The member name will be present, but the 45025 // value will be replaced with "sensitive". 45026 func (s StartingEventBatchCondition) String() string { 45027 return awsutil.Prettify(s) 45028 } 45029 45030 // GoString returns the string representation. 45031 // 45032 // API parameter values that are decorated as "sensitive" in the API will not 45033 // be included in the string output. The member name will be present, but the 45034 // value will be replaced with "sensitive". 45035 func (s StartingEventBatchCondition) GoString() string { 45036 return s.String() 45037 } 45038 45039 // SetBatchSize sets the BatchSize field's value. 45040 func (s *StartingEventBatchCondition) SetBatchSize(v int64) *StartingEventBatchCondition { 45041 s.BatchSize = &v 45042 return s 45043 } 45044 45045 // SetBatchWindow sets the BatchWindow field's value. 45046 func (s *StartingEventBatchCondition) SetBatchWindow(v int64) *StartingEventBatchCondition { 45047 s.BatchWindow = &v 45048 return s 45049 } 45050 45051 type StopCrawlerInput struct { 45052 _ struct{} `type:"structure"` 45053 45054 // Name of the crawler to stop. 45055 // 45056 // Name is a required field 45057 Name *string `min:"1" type:"string" required:"true"` 45058 } 45059 45060 // String returns the string representation. 45061 // 45062 // API parameter values that are decorated as "sensitive" in the API will not 45063 // be included in the string output. The member name will be present, but the 45064 // value will be replaced with "sensitive". 45065 func (s StopCrawlerInput) String() string { 45066 return awsutil.Prettify(s) 45067 } 45068 45069 // GoString returns the string representation. 45070 // 45071 // API parameter values that are decorated as "sensitive" in the API will not 45072 // be included in the string output. The member name will be present, but the 45073 // value will be replaced with "sensitive". 45074 func (s StopCrawlerInput) GoString() string { 45075 return s.String() 45076 } 45077 45078 // Validate inspects the fields of the type to determine if they are valid. 45079 func (s *StopCrawlerInput) Validate() error { 45080 invalidParams := request.ErrInvalidParams{Context: "StopCrawlerInput"} 45081 if s.Name == nil { 45082 invalidParams.Add(request.NewErrParamRequired("Name")) 45083 } 45084 if s.Name != nil && len(*s.Name) < 1 { 45085 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 45086 } 45087 45088 if invalidParams.Len() > 0 { 45089 return invalidParams 45090 } 45091 return nil 45092 } 45093 45094 // SetName sets the Name field's value. 45095 func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput { 45096 s.Name = &v 45097 return s 45098 } 45099 45100 type StopCrawlerOutput struct { 45101 _ struct{} `type:"structure"` 45102 } 45103 45104 // String returns the string representation. 45105 // 45106 // API parameter values that are decorated as "sensitive" in the API will not 45107 // be included in the string output. The member name will be present, but the 45108 // value will be replaced with "sensitive". 45109 func (s StopCrawlerOutput) String() string { 45110 return awsutil.Prettify(s) 45111 } 45112 45113 // GoString returns the string representation. 45114 // 45115 // API parameter values that are decorated as "sensitive" in the API will not 45116 // be included in the string output. The member name will be present, but the 45117 // value will be replaced with "sensitive". 45118 func (s StopCrawlerOutput) GoString() string { 45119 return s.String() 45120 } 45121 45122 type StopCrawlerScheduleInput struct { 45123 _ struct{} `type:"structure"` 45124 45125 // Name of the crawler whose schedule state to set. 45126 // 45127 // CrawlerName is a required field 45128 CrawlerName *string `min:"1" type:"string" required:"true"` 45129 } 45130 45131 // String returns the string representation. 45132 // 45133 // API parameter values that are decorated as "sensitive" in the API will not 45134 // be included in the string output. The member name will be present, but the 45135 // value will be replaced with "sensitive". 45136 func (s StopCrawlerScheduleInput) String() string { 45137 return awsutil.Prettify(s) 45138 } 45139 45140 // GoString returns the string representation. 45141 // 45142 // API parameter values that are decorated as "sensitive" in the API will not 45143 // be included in the string output. The member name will be present, but the 45144 // value will be replaced with "sensitive". 45145 func (s StopCrawlerScheduleInput) GoString() string { 45146 return s.String() 45147 } 45148 45149 // Validate inspects the fields of the type to determine if they are valid. 45150 func (s *StopCrawlerScheduleInput) Validate() error { 45151 invalidParams := request.ErrInvalidParams{Context: "StopCrawlerScheduleInput"} 45152 if s.CrawlerName == nil { 45153 invalidParams.Add(request.NewErrParamRequired("CrawlerName")) 45154 } 45155 if s.CrawlerName != nil && len(*s.CrawlerName) < 1 { 45156 invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1)) 45157 } 45158 45159 if invalidParams.Len() > 0 { 45160 return invalidParams 45161 } 45162 return nil 45163 } 45164 45165 // SetCrawlerName sets the CrawlerName field's value. 45166 func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput { 45167 s.CrawlerName = &v 45168 return s 45169 } 45170 45171 type StopCrawlerScheduleOutput struct { 45172 _ struct{} `type:"structure"` 45173 } 45174 45175 // String returns the string representation. 45176 // 45177 // API parameter values that are decorated as "sensitive" in the API will not 45178 // be included in the string output. The member name will be present, but the 45179 // value will be replaced with "sensitive". 45180 func (s StopCrawlerScheduleOutput) String() string { 45181 return awsutil.Prettify(s) 45182 } 45183 45184 // GoString returns the string representation. 45185 // 45186 // API parameter values that are decorated as "sensitive" in the API will not 45187 // be included in the string output. The member name will be present, but the 45188 // value will be replaced with "sensitive". 45189 func (s StopCrawlerScheduleOutput) GoString() string { 45190 return s.String() 45191 } 45192 45193 type StopTriggerInput struct { 45194 _ struct{} `type:"structure"` 45195 45196 // The name of the trigger to stop. 45197 // 45198 // Name is a required field 45199 Name *string `min:"1" type:"string" required:"true"` 45200 } 45201 45202 // String returns the string representation. 45203 // 45204 // API parameter values that are decorated as "sensitive" in the API will not 45205 // be included in the string output. The member name will be present, but the 45206 // value will be replaced with "sensitive". 45207 func (s StopTriggerInput) String() string { 45208 return awsutil.Prettify(s) 45209 } 45210 45211 // GoString returns the string representation. 45212 // 45213 // API parameter values that are decorated as "sensitive" in the API will not 45214 // be included in the string output. The member name will be present, but the 45215 // value will be replaced with "sensitive". 45216 func (s StopTriggerInput) GoString() string { 45217 return s.String() 45218 } 45219 45220 // Validate inspects the fields of the type to determine if they are valid. 45221 func (s *StopTriggerInput) Validate() error { 45222 invalidParams := request.ErrInvalidParams{Context: "StopTriggerInput"} 45223 if s.Name == nil { 45224 invalidParams.Add(request.NewErrParamRequired("Name")) 45225 } 45226 if s.Name != nil && len(*s.Name) < 1 { 45227 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 45228 } 45229 45230 if invalidParams.Len() > 0 { 45231 return invalidParams 45232 } 45233 return nil 45234 } 45235 45236 // SetName sets the Name field's value. 45237 func (s *StopTriggerInput) SetName(v string) *StopTriggerInput { 45238 s.Name = &v 45239 return s 45240 } 45241 45242 type StopTriggerOutput struct { 45243 _ struct{} `type:"structure"` 45244 45245 // The name of the trigger that was stopped. 45246 Name *string `min:"1" type:"string"` 45247 } 45248 45249 // String returns the string representation. 45250 // 45251 // API parameter values that are decorated as "sensitive" in the API will not 45252 // be included in the string output. The member name will be present, but the 45253 // value will be replaced with "sensitive". 45254 func (s StopTriggerOutput) String() string { 45255 return awsutil.Prettify(s) 45256 } 45257 45258 // GoString returns the string representation. 45259 // 45260 // API parameter values that are decorated as "sensitive" in the API will not 45261 // be included in the string output. The member name will be present, but the 45262 // value will be replaced with "sensitive". 45263 func (s StopTriggerOutput) GoString() string { 45264 return s.String() 45265 } 45266 45267 // SetName sets the Name field's value. 45268 func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput { 45269 s.Name = &v 45270 return s 45271 } 45272 45273 type StopWorkflowRunInput struct { 45274 _ struct{} `type:"structure"` 45275 45276 // The name of the workflow to stop. 45277 // 45278 // Name is a required field 45279 Name *string `min:"1" type:"string" required:"true"` 45280 45281 // The ID of the workflow run to stop. 45282 // 45283 // RunId is a required field 45284 RunId *string `min:"1" type:"string" required:"true"` 45285 } 45286 45287 // String returns the string representation. 45288 // 45289 // API parameter values that are decorated as "sensitive" in the API will not 45290 // be included in the string output. The member name will be present, but the 45291 // value will be replaced with "sensitive". 45292 func (s StopWorkflowRunInput) String() string { 45293 return awsutil.Prettify(s) 45294 } 45295 45296 // GoString returns the string representation. 45297 // 45298 // API parameter values that are decorated as "sensitive" in the API will not 45299 // be included in the string output. The member name will be present, but the 45300 // value will be replaced with "sensitive". 45301 func (s StopWorkflowRunInput) GoString() string { 45302 return s.String() 45303 } 45304 45305 // Validate inspects the fields of the type to determine if they are valid. 45306 func (s *StopWorkflowRunInput) Validate() error { 45307 invalidParams := request.ErrInvalidParams{Context: "StopWorkflowRunInput"} 45308 if s.Name == nil { 45309 invalidParams.Add(request.NewErrParamRequired("Name")) 45310 } 45311 if s.Name != nil && len(*s.Name) < 1 { 45312 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 45313 } 45314 if s.RunId == nil { 45315 invalidParams.Add(request.NewErrParamRequired("RunId")) 45316 } 45317 if s.RunId != nil && len(*s.RunId) < 1 { 45318 invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) 45319 } 45320 45321 if invalidParams.Len() > 0 { 45322 return invalidParams 45323 } 45324 return nil 45325 } 45326 45327 // SetName sets the Name field's value. 45328 func (s *StopWorkflowRunInput) SetName(v string) *StopWorkflowRunInput { 45329 s.Name = &v 45330 return s 45331 } 45332 45333 // SetRunId sets the RunId field's value. 45334 func (s *StopWorkflowRunInput) SetRunId(v string) *StopWorkflowRunInput { 45335 s.RunId = &v 45336 return s 45337 } 45338 45339 type StopWorkflowRunOutput struct { 45340 _ struct{} `type:"structure"` 45341 } 45342 45343 // String returns the string representation. 45344 // 45345 // API parameter values that are decorated as "sensitive" in the API will not 45346 // be included in the string output. The member name will be present, but the 45347 // value will be replaced with "sensitive". 45348 func (s StopWorkflowRunOutput) String() string { 45349 return awsutil.Prettify(s) 45350 } 45351 45352 // GoString returns the string representation. 45353 // 45354 // API parameter values that are decorated as "sensitive" in the API will not 45355 // be included in the string output. The member name will be present, but the 45356 // value will be replaced with "sensitive". 45357 func (s StopWorkflowRunOutput) GoString() string { 45358 return s.String() 45359 } 45360 45361 // Describes the physical storage of table data. 45362 type StorageDescriptor struct { 45363 _ struct{} `type:"structure"` 45364 45365 // A list of reducer grouping columns, clustering columns, and bucketing columns 45366 // in the table. 45367 BucketColumns []*string `type:"list"` 45368 45369 // A list of the Columns in the table. 45370 Columns []*Column `type:"list"` 45371 45372 // True if the data in the table is compressed, or False if not. 45373 Compressed *bool `type:"boolean"` 45374 45375 // The input format: SequenceFileInputFormat (binary), or TextInputFormat, or 45376 // a custom format. 45377 InputFormat *string `type:"string"` 45378 45379 // The physical location of the table. By default, this takes the form of the 45380 // warehouse location, followed by the database location in the warehouse, followed 45381 // by the table name. 45382 Location *string `type:"string"` 45383 45384 // Must be specified if the table contains any dimension columns. 45385 NumberOfBuckets *int64 `type:"integer"` 45386 45387 // The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, 45388 // or a custom format. 45389 OutputFormat *string `type:"string"` 45390 45391 // The user-supplied properties in key-value form. 45392 Parameters map[string]*string `type:"map"` 45393 45394 // An object that references a schema stored in the Glue Schema Registry. 45395 // 45396 // When creating a table, you can pass an empty list of columns for the schema, 45397 // and instead use a schema reference. 45398 SchemaReference *SchemaReference `type:"structure"` 45399 45400 // The serialization/deserialization (SerDe) information. 45401 SerdeInfo *SerDeInfo `type:"structure"` 45402 45403 // The information about values that appear frequently in a column (skewed values). 45404 SkewedInfo *SkewedInfo `type:"structure"` 45405 45406 // A list specifying the sort order of each bucket in the table. 45407 SortColumns []*Order `type:"list"` 45408 45409 // True if the table data is stored in subdirectories, or False if not. 45410 StoredAsSubDirectories *bool `type:"boolean"` 45411 } 45412 45413 // String returns the string representation. 45414 // 45415 // API parameter values that are decorated as "sensitive" in the API will not 45416 // be included in the string output. The member name will be present, but the 45417 // value will be replaced with "sensitive". 45418 func (s StorageDescriptor) String() string { 45419 return awsutil.Prettify(s) 45420 } 45421 45422 // GoString returns the string representation. 45423 // 45424 // API parameter values that are decorated as "sensitive" in the API will not 45425 // be included in the string output. The member name will be present, but the 45426 // value will be replaced with "sensitive". 45427 func (s StorageDescriptor) GoString() string { 45428 return s.String() 45429 } 45430 45431 // Validate inspects the fields of the type to determine if they are valid. 45432 func (s *StorageDescriptor) Validate() error { 45433 invalidParams := request.ErrInvalidParams{Context: "StorageDescriptor"} 45434 if s.Columns != nil { 45435 for i, v := range s.Columns { 45436 if v == nil { 45437 continue 45438 } 45439 if err := v.Validate(); err != nil { 45440 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams)) 45441 } 45442 } 45443 } 45444 if s.SchemaReference != nil { 45445 if err := s.SchemaReference.Validate(); err != nil { 45446 invalidParams.AddNested("SchemaReference", err.(request.ErrInvalidParams)) 45447 } 45448 } 45449 if s.SerdeInfo != nil { 45450 if err := s.SerdeInfo.Validate(); err != nil { 45451 invalidParams.AddNested("SerdeInfo", err.(request.ErrInvalidParams)) 45452 } 45453 } 45454 if s.SortColumns != nil { 45455 for i, v := range s.SortColumns { 45456 if v == nil { 45457 continue 45458 } 45459 if err := v.Validate(); err != nil { 45460 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortColumns", i), err.(request.ErrInvalidParams)) 45461 } 45462 } 45463 } 45464 45465 if invalidParams.Len() > 0 { 45466 return invalidParams 45467 } 45468 return nil 45469 } 45470 45471 // SetBucketColumns sets the BucketColumns field's value. 45472 func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor { 45473 s.BucketColumns = v 45474 return s 45475 } 45476 45477 // SetColumns sets the Columns field's value. 45478 func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor { 45479 s.Columns = v 45480 return s 45481 } 45482 45483 // SetCompressed sets the Compressed field's value. 45484 func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor { 45485 s.Compressed = &v 45486 return s 45487 } 45488 45489 // SetInputFormat sets the InputFormat field's value. 45490 func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor { 45491 s.InputFormat = &v 45492 return s 45493 } 45494 45495 // SetLocation sets the Location field's value. 45496 func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor { 45497 s.Location = &v 45498 return s 45499 } 45500 45501 // SetNumberOfBuckets sets the NumberOfBuckets field's value. 45502 func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor { 45503 s.NumberOfBuckets = &v 45504 return s 45505 } 45506 45507 // SetOutputFormat sets the OutputFormat field's value. 45508 func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor { 45509 s.OutputFormat = &v 45510 return s 45511 } 45512 45513 // SetParameters sets the Parameters field's value. 45514 func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor { 45515 s.Parameters = v 45516 return s 45517 } 45518 45519 // SetSchemaReference sets the SchemaReference field's value. 45520 func (s *StorageDescriptor) SetSchemaReference(v *SchemaReference) *StorageDescriptor { 45521 s.SchemaReference = v 45522 return s 45523 } 45524 45525 // SetSerdeInfo sets the SerdeInfo field's value. 45526 func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor { 45527 s.SerdeInfo = v 45528 return s 45529 } 45530 45531 // SetSkewedInfo sets the SkewedInfo field's value. 45532 func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor { 45533 s.SkewedInfo = v 45534 return s 45535 } 45536 45537 // SetSortColumns sets the SortColumns field's value. 45538 func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor { 45539 s.SortColumns = v 45540 return s 45541 } 45542 45543 // SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value. 45544 func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor { 45545 s.StoredAsSubDirectories = &v 45546 return s 45547 } 45548 45549 // Defines column statistics supported for character sequence data values. 45550 type StringColumnStatisticsData struct { 45551 _ struct{} `type:"structure"` 45552 45553 // The average string length in the column. 45554 // 45555 // AverageLength is a required field 45556 AverageLength *float64 `type:"double" required:"true"` 45557 45558 // The size of the longest string in the column. 45559 // 45560 // MaximumLength is a required field 45561 MaximumLength *int64 `type:"long" required:"true"` 45562 45563 // The number of distinct values in a column. 45564 // 45565 // NumberOfDistinctValues is a required field 45566 NumberOfDistinctValues *int64 `type:"long" required:"true"` 45567 45568 // The number of null values in the column. 45569 // 45570 // NumberOfNulls is a required field 45571 NumberOfNulls *int64 `type:"long" required:"true"` 45572 } 45573 45574 // String returns the string representation. 45575 // 45576 // API parameter values that are decorated as "sensitive" in the API will not 45577 // be included in the string output. The member name will be present, but the 45578 // value will be replaced with "sensitive". 45579 func (s StringColumnStatisticsData) String() string { 45580 return awsutil.Prettify(s) 45581 } 45582 45583 // GoString returns the string representation. 45584 // 45585 // API parameter values that are decorated as "sensitive" in the API will not 45586 // be included in the string output. The member name will be present, but the 45587 // value will be replaced with "sensitive". 45588 func (s StringColumnStatisticsData) GoString() string { 45589 return s.String() 45590 } 45591 45592 // Validate inspects the fields of the type to determine if they are valid. 45593 func (s *StringColumnStatisticsData) Validate() error { 45594 invalidParams := request.ErrInvalidParams{Context: "StringColumnStatisticsData"} 45595 if s.AverageLength == nil { 45596 invalidParams.Add(request.NewErrParamRequired("AverageLength")) 45597 } 45598 if s.MaximumLength == nil { 45599 invalidParams.Add(request.NewErrParamRequired("MaximumLength")) 45600 } 45601 if s.NumberOfDistinctValues == nil { 45602 invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues")) 45603 } 45604 if s.NumberOfNulls == nil { 45605 invalidParams.Add(request.NewErrParamRequired("NumberOfNulls")) 45606 } 45607 45608 if invalidParams.Len() > 0 { 45609 return invalidParams 45610 } 45611 return nil 45612 } 45613 45614 // SetAverageLength sets the AverageLength field's value. 45615 func (s *StringColumnStatisticsData) SetAverageLength(v float64) *StringColumnStatisticsData { 45616 s.AverageLength = &v 45617 return s 45618 } 45619 45620 // SetMaximumLength sets the MaximumLength field's value. 45621 func (s *StringColumnStatisticsData) SetMaximumLength(v int64) *StringColumnStatisticsData { 45622 s.MaximumLength = &v 45623 return s 45624 } 45625 45626 // SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value. 45627 func (s *StringColumnStatisticsData) SetNumberOfDistinctValues(v int64) *StringColumnStatisticsData { 45628 s.NumberOfDistinctValues = &v 45629 return s 45630 } 45631 45632 // SetNumberOfNulls sets the NumberOfNulls field's value. 45633 func (s *StringColumnStatisticsData) SetNumberOfNulls(v int64) *StringColumnStatisticsData { 45634 s.NumberOfNulls = &v 45635 return s 45636 } 45637 45638 // The database and table in the Glue Data Catalog that is used for input or 45639 // output data. 45640 type Table struct { 45641 _ struct{} `type:"structure"` 45642 45643 // A unique identifier for the Glue Data Catalog. 45644 CatalogId *string `min:"1" type:"string"` 45645 45646 // The name of the connection to the Glue Data Catalog. 45647 ConnectionName *string `min:"1" type:"string"` 45648 45649 // A database name in the Glue Data Catalog. 45650 // 45651 // DatabaseName is a required field 45652 DatabaseName *string `min:"1" type:"string" required:"true"` 45653 45654 // A table name in the Glue Data Catalog. 45655 // 45656 // TableName is a required field 45657 TableName *string `min:"1" type:"string" required:"true"` 45658 } 45659 45660 // String returns the string representation. 45661 // 45662 // API parameter values that are decorated as "sensitive" in the API will not 45663 // be included in the string output. The member name will be present, but the 45664 // value will be replaced with "sensitive". 45665 func (s Table) String() string { 45666 return awsutil.Prettify(s) 45667 } 45668 45669 // GoString returns the string representation. 45670 // 45671 // API parameter values that are decorated as "sensitive" in the API will not 45672 // be included in the string output. The member name will be present, but the 45673 // value will be replaced with "sensitive". 45674 func (s Table) GoString() string { 45675 return s.String() 45676 } 45677 45678 // Validate inspects the fields of the type to determine if they are valid. 45679 func (s *Table) Validate() error { 45680 invalidParams := request.ErrInvalidParams{Context: "Table"} 45681 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 45682 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 45683 } 45684 if s.ConnectionName != nil && len(*s.ConnectionName) < 1 { 45685 invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1)) 45686 } 45687 if s.DatabaseName == nil { 45688 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 45689 } 45690 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 45691 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 45692 } 45693 if s.TableName == nil { 45694 invalidParams.Add(request.NewErrParamRequired("TableName")) 45695 } 45696 if s.TableName != nil && len(*s.TableName) < 1 { 45697 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 45698 } 45699 45700 if invalidParams.Len() > 0 { 45701 return invalidParams 45702 } 45703 return nil 45704 } 45705 45706 // SetCatalogId sets the CatalogId field's value. 45707 func (s *Table) SetCatalogId(v string) *Table { 45708 s.CatalogId = &v 45709 return s 45710 } 45711 45712 // SetConnectionName sets the ConnectionName field's value. 45713 func (s *Table) SetConnectionName(v string) *Table { 45714 s.ConnectionName = &v 45715 return s 45716 } 45717 45718 // SetDatabaseName sets the DatabaseName field's value. 45719 func (s *Table) SetDatabaseName(v string) *Table { 45720 s.DatabaseName = &v 45721 return s 45722 } 45723 45724 // SetTableName sets the TableName field's value. 45725 func (s *Table) SetTableName(v string) *Table { 45726 s.TableName = &v 45727 return s 45728 } 45729 45730 // Represents a collection of related data organized in columns and rows. 45731 type TableData struct { 45732 _ struct{} `type:"structure"` 45733 45734 // The ID of the Data Catalog in which the table resides. 45735 CatalogId *string `min:"1" type:"string"` 45736 45737 // The time when the table definition was created in the Data Catalog. 45738 CreateTime *time.Time `type:"timestamp"` 45739 45740 // The person or entity who created the table. 45741 CreatedBy *string `min:"1" type:"string"` 45742 45743 // The name of the database where the table metadata resides. For Hive compatibility, 45744 // this must be all lowercase. 45745 DatabaseName *string `min:"1" type:"string"` 45746 45747 // A description of the table. 45748 Description *string `type:"string"` 45749 45750 // Indicates whether the table has been registered with Lake Formation. 45751 IsRegisteredWithLakeFormation *bool `type:"boolean"` 45752 45753 // The last time that the table was accessed. This is usually taken from HDFS, 45754 // and might not be reliable. 45755 LastAccessTime *time.Time `type:"timestamp"` 45756 45757 // The last time that column statistics were computed for this table. 45758 LastAnalyzedTime *time.Time `type:"timestamp"` 45759 45760 // The table name. For Hive compatibility, this must be entirely lowercase. 45761 // 45762 // Name is a required field 45763 Name *string `min:"1" type:"string" required:"true"` 45764 45765 // The owner of the table. 45766 Owner *string `min:"1" type:"string"` 45767 45768 // These key-value pairs define properties associated with the table. 45769 Parameters map[string]*string `type:"map"` 45770 45771 // A list of columns by which the table is partitioned. Only primitive types 45772 // are supported as partition keys. 45773 // 45774 // When you create a table used by Amazon Athena, and you do not specify any 45775 // partitionKeys, you must at least set the value of partitionKeys to an empty 45776 // list. For example: 45777 // 45778 // "PartitionKeys": [] 45779 PartitionKeys []*Column `type:"list"` 45780 45781 // The retention time for this table. 45782 Retention *int64 `type:"integer"` 45783 45784 // A storage descriptor containing information about the physical storage of 45785 // this table. 45786 StorageDescriptor *StorageDescriptor `type:"structure"` 45787 45788 // The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). 45789 TableType *string `type:"string"` 45790 45791 // A TableIdentifier structure that describes a target table for resource linking. 45792 TargetTable *TableIdentifier `type:"structure"` 45793 45794 // The last time that the table was updated. 45795 UpdateTime *time.Time `type:"timestamp"` 45796 45797 // If the table is a view, the expanded text of the view; otherwise null. 45798 ViewExpandedText *string `type:"string"` 45799 45800 // If the table is a view, the original text of the view; otherwise null. 45801 ViewOriginalText *string `type:"string"` 45802 } 45803 45804 // String returns the string representation. 45805 // 45806 // API parameter values that are decorated as "sensitive" in the API will not 45807 // be included in the string output. The member name will be present, but the 45808 // value will be replaced with "sensitive". 45809 func (s TableData) String() string { 45810 return awsutil.Prettify(s) 45811 } 45812 45813 // GoString returns the string representation. 45814 // 45815 // API parameter values that are decorated as "sensitive" in the API will not 45816 // be included in the string output. The member name will be present, but the 45817 // value will be replaced with "sensitive". 45818 func (s TableData) GoString() string { 45819 return s.String() 45820 } 45821 45822 // SetCatalogId sets the CatalogId field's value. 45823 func (s *TableData) SetCatalogId(v string) *TableData { 45824 s.CatalogId = &v 45825 return s 45826 } 45827 45828 // SetCreateTime sets the CreateTime field's value. 45829 func (s *TableData) SetCreateTime(v time.Time) *TableData { 45830 s.CreateTime = &v 45831 return s 45832 } 45833 45834 // SetCreatedBy sets the CreatedBy field's value. 45835 func (s *TableData) SetCreatedBy(v string) *TableData { 45836 s.CreatedBy = &v 45837 return s 45838 } 45839 45840 // SetDatabaseName sets the DatabaseName field's value. 45841 func (s *TableData) SetDatabaseName(v string) *TableData { 45842 s.DatabaseName = &v 45843 return s 45844 } 45845 45846 // SetDescription sets the Description field's value. 45847 func (s *TableData) SetDescription(v string) *TableData { 45848 s.Description = &v 45849 return s 45850 } 45851 45852 // SetIsRegisteredWithLakeFormation sets the IsRegisteredWithLakeFormation field's value. 45853 func (s *TableData) SetIsRegisteredWithLakeFormation(v bool) *TableData { 45854 s.IsRegisteredWithLakeFormation = &v 45855 return s 45856 } 45857 45858 // SetLastAccessTime sets the LastAccessTime field's value. 45859 func (s *TableData) SetLastAccessTime(v time.Time) *TableData { 45860 s.LastAccessTime = &v 45861 return s 45862 } 45863 45864 // SetLastAnalyzedTime sets the LastAnalyzedTime field's value. 45865 func (s *TableData) SetLastAnalyzedTime(v time.Time) *TableData { 45866 s.LastAnalyzedTime = &v 45867 return s 45868 } 45869 45870 // SetName sets the Name field's value. 45871 func (s *TableData) SetName(v string) *TableData { 45872 s.Name = &v 45873 return s 45874 } 45875 45876 // SetOwner sets the Owner field's value. 45877 func (s *TableData) SetOwner(v string) *TableData { 45878 s.Owner = &v 45879 return s 45880 } 45881 45882 // SetParameters sets the Parameters field's value. 45883 func (s *TableData) SetParameters(v map[string]*string) *TableData { 45884 s.Parameters = v 45885 return s 45886 } 45887 45888 // SetPartitionKeys sets the PartitionKeys field's value. 45889 func (s *TableData) SetPartitionKeys(v []*Column) *TableData { 45890 s.PartitionKeys = v 45891 return s 45892 } 45893 45894 // SetRetention sets the Retention field's value. 45895 func (s *TableData) SetRetention(v int64) *TableData { 45896 s.Retention = &v 45897 return s 45898 } 45899 45900 // SetStorageDescriptor sets the StorageDescriptor field's value. 45901 func (s *TableData) SetStorageDescriptor(v *StorageDescriptor) *TableData { 45902 s.StorageDescriptor = v 45903 return s 45904 } 45905 45906 // SetTableType sets the TableType field's value. 45907 func (s *TableData) SetTableType(v string) *TableData { 45908 s.TableType = &v 45909 return s 45910 } 45911 45912 // SetTargetTable sets the TargetTable field's value. 45913 func (s *TableData) SetTargetTable(v *TableIdentifier) *TableData { 45914 s.TargetTable = v 45915 return s 45916 } 45917 45918 // SetUpdateTime sets the UpdateTime field's value. 45919 func (s *TableData) SetUpdateTime(v time.Time) *TableData { 45920 s.UpdateTime = &v 45921 return s 45922 } 45923 45924 // SetViewExpandedText sets the ViewExpandedText field's value. 45925 func (s *TableData) SetViewExpandedText(v string) *TableData { 45926 s.ViewExpandedText = &v 45927 return s 45928 } 45929 45930 // SetViewOriginalText sets the ViewOriginalText field's value. 45931 func (s *TableData) SetViewOriginalText(v string) *TableData { 45932 s.ViewOriginalText = &v 45933 return s 45934 } 45935 45936 // An error record for table operations. 45937 type TableError struct { 45938 _ struct{} `type:"structure"` 45939 45940 // The details about the error. 45941 ErrorDetail *ErrorDetail `type:"structure"` 45942 45943 // The name of the table. For Hive compatibility, this must be entirely lowercase. 45944 TableName *string `min:"1" type:"string"` 45945 } 45946 45947 // String returns the string representation. 45948 // 45949 // API parameter values that are decorated as "sensitive" in the API will not 45950 // be included in the string output. The member name will be present, but the 45951 // value will be replaced with "sensitive". 45952 func (s TableError) String() string { 45953 return awsutil.Prettify(s) 45954 } 45955 45956 // GoString returns the string representation. 45957 // 45958 // API parameter values that are decorated as "sensitive" in the API will not 45959 // be included in the string output. The member name will be present, but the 45960 // value will be replaced with "sensitive". 45961 func (s TableError) GoString() string { 45962 return s.String() 45963 } 45964 45965 // SetErrorDetail sets the ErrorDetail field's value. 45966 func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError { 45967 s.ErrorDetail = v 45968 return s 45969 } 45970 45971 // SetTableName sets the TableName field's value. 45972 func (s *TableError) SetTableName(v string) *TableError { 45973 s.TableName = &v 45974 return s 45975 } 45976 45977 // A structure that describes a target table for resource linking. 45978 type TableIdentifier struct { 45979 _ struct{} `type:"structure"` 45980 45981 // The ID of the Data Catalog in which the table resides. 45982 CatalogId *string `min:"1" type:"string"` 45983 45984 // The name of the catalog database that contains the target table. 45985 DatabaseName *string `min:"1" type:"string"` 45986 45987 // The name of the target table. 45988 Name *string `min:"1" type:"string"` 45989 } 45990 45991 // String returns the string representation. 45992 // 45993 // API parameter values that are decorated as "sensitive" in the API will not 45994 // be included in the string output. The member name will be present, but the 45995 // value will be replaced with "sensitive". 45996 func (s TableIdentifier) String() string { 45997 return awsutil.Prettify(s) 45998 } 45999 46000 // GoString returns the string representation. 46001 // 46002 // API parameter values that are decorated as "sensitive" in the API will not 46003 // be included in the string output. The member name will be present, but the 46004 // value will be replaced with "sensitive". 46005 func (s TableIdentifier) GoString() string { 46006 return s.String() 46007 } 46008 46009 // Validate inspects the fields of the type to determine if they are valid. 46010 func (s *TableIdentifier) Validate() error { 46011 invalidParams := request.ErrInvalidParams{Context: "TableIdentifier"} 46012 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 46013 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 46014 } 46015 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 46016 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 46017 } 46018 if s.Name != nil && len(*s.Name) < 1 { 46019 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 46020 } 46021 46022 if invalidParams.Len() > 0 { 46023 return invalidParams 46024 } 46025 return nil 46026 } 46027 46028 // SetCatalogId sets the CatalogId field's value. 46029 func (s *TableIdentifier) SetCatalogId(v string) *TableIdentifier { 46030 s.CatalogId = &v 46031 return s 46032 } 46033 46034 // SetDatabaseName sets the DatabaseName field's value. 46035 func (s *TableIdentifier) SetDatabaseName(v string) *TableIdentifier { 46036 s.DatabaseName = &v 46037 return s 46038 } 46039 46040 // SetName sets the Name field's value. 46041 func (s *TableIdentifier) SetName(v string) *TableIdentifier { 46042 s.Name = &v 46043 return s 46044 } 46045 46046 // A structure used to define a table. 46047 type TableInput struct { 46048 _ struct{} `type:"structure"` 46049 46050 // A description of the table. 46051 Description *string `type:"string"` 46052 46053 // The last time that the table was accessed. 46054 LastAccessTime *time.Time `type:"timestamp"` 46055 46056 // The last time that column statistics were computed for this table. 46057 LastAnalyzedTime *time.Time `type:"timestamp"` 46058 46059 // The table name. For Hive compatibility, this is folded to lowercase when 46060 // it is stored. 46061 // 46062 // Name is a required field 46063 Name *string `min:"1" type:"string" required:"true"` 46064 46065 // The table owner. 46066 Owner *string `min:"1" type:"string"` 46067 46068 // These key-value pairs define properties associated with the table. 46069 Parameters map[string]*string `type:"map"` 46070 46071 // A list of columns by which the table is partitioned. Only primitive types 46072 // are supported as partition keys. 46073 // 46074 // When you create a table used by Amazon Athena, and you do not specify any 46075 // partitionKeys, you must at least set the value of partitionKeys to an empty 46076 // list. For example: 46077 // 46078 // "PartitionKeys": [] 46079 PartitionKeys []*Column `type:"list"` 46080 46081 // The retention time for this table. 46082 Retention *int64 `type:"integer"` 46083 46084 // A storage descriptor containing information about the physical storage of 46085 // this table. 46086 StorageDescriptor *StorageDescriptor `type:"structure"` 46087 46088 // The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). 46089 TableType *string `type:"string"` 46090 46091 // A TableIdentifier structure that describes a target table for resource linking. 46092 TargetTable *TableIdentifier `type:"structure"` 46093 46094 // If the table is a view, the expanded text of the view; otherwise null. 46095 ViewExpandedText *string `type:"string"` 46096 46097 // If the table is a view, the original text of the view; otherwise null. 46098 ViewOriginalText *string `type:"string"` 46099 } 46100 46101 // String returns the string representation. 46102 // 46103 // API parameter values that are decorated as "sensitive" in the API will not 46104 // be included in the string output. The member name will be present, but the 46105 // value will be replaced with "sensitive". 46106 func (s TableInput) String() string { 46107 return awsutil.Prettify(s) 46108 } 46109 46110 // GoString returns the string representation. 46111 // 46112 // API parameter values that are decorated as "sensitive" in the API will not 46113 // be included in the string output. The member name will be present, but the 46114 // value will be replaced with "sensitive". 46115 func (s TableInput) GoString() string { 46116 return s.String() 46117 } 46118 46119 // Validate inspects the fields of the type to determine if they are valid. 46120 func (s *TableInput) Validate() error { 46121 invalidParams := request.ErrInvalidParams{Context: "TableInput"} 46122 if s.Name == nil { 46123 invalidParams.Add(request.NewErrParamRequired("Name")) 46124 } 46125 if s.Name != nil && len(*s.Name) < 1 { 46126 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 46127 } 46128 if s.Owner != nil && len(*s.Owner) < 1 { 46129 invalidParams.Add(request.NewErrParamMinLen("Owner", 1)) 46130 } 46131 if s.PartitionKeys != nil { 46132 for i, v := range s.PartitionKeys { 46133 if v == nil { 46134 continue 46135 } 46136 if err := v.Validate(); err != nil { 46137 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionKeys", i), err.(request.ErrInvalidParams)) 46138 } 46139 } 46140 } 46141 if s.StorageDescriptor != nil { 46142 if err := s.StorageDescriptor.Validate(); err != nil { 46143 invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams)) 46144 } 46145 } 46146 if s.TargetTable != nil { 46147 if err := s.TargetTable.Validate(); err != nil { 46148 invalidParams.AddNested("TargetTable", err.(request.ErrInvalidParams)) 46149 } 46150 } 46151 46152 if invalidParams.Len() > 0 { 46153 return invalidParams 46154 } 46155 return nil 46156 } 46157 46158 // SetDescription sets the Description field's value. 46159 func (s *TableInput) SetDescription(v string) *TableInput { 46160 s.Description = &v 46161 return s 46162 } 46163 46164 // SetLastAccessTime sets the LastAccessTime field's value. 46165 func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput { 46166 s.LastAccessTime = &v 46167 return s 46168 } 46169 46170 // SetLastAnalyzedTime sets the LastAnalyzedTime field's value. 46171 func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput { 46172 s.LastAnalyzedTime = &v 46173 return s 46174 } 46175 46176 // SetName sets the Name field's value. 46177 func (s *TableInput) SetName(v string) *TableInput { 46178 s.Name = &v 46179 return s 46180 } 46181 46182 // SetOwner sets the Owner field's value. 46183 func (s *TableInput) SetOwner(v string) *TableInput { 46184 s.Owner = &v 46185 return s 46186 } 46187 46188 // SetParameters sets the Parameters field's value. 46189 func (s *TableInput) SetParameters(v map[string]*string) *TableInput { 46190 s.Parameters = v 46191 return s 46192 } 46193 46194 // SetPartitionKeys sets the PartitionKeys field's value. 46195 func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput { 46196 s.PartitionKeys = v 46197 return s 46198 } 46199 46200 // SetRetention sets the Retention field's value. 46201 func (s *TableInput) SetRetention(v int64) *TableInput { 46202 s.Retention = &v 46203 return s 46204 } 46205 46206 // SetStorageDescriptor sets the StorageDescriptor field's value. 46207 func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput { 46208 s.StorageDescriptor = v 46209 return s 46210 } 46211 46212 // SetTableType sets the TableType field's value. 46213 func (s *TableInput) SetTableType(v string) *TableInput { 46214 s.TableType = &v 46215 return s 46216 } 46217 46218 // SetTargetTable sets the TargetTable field's value. 46219 func (s *TableInput) SetTargetTable(v *TableIdentifier) *TableInput { 46220 s.TargetTable = v 46221 return s 46222 } 46223 46224 // SetViewExpandedText sets the ViewExpandedText field's value. 46225 func (s *TableInput) SetViewExpandedText(v string) *TableInput { 46226 s.ViewExpandedText = &v 46227 return s 46228 } 46229 46230 // SetViewOriginalText sets the ViewOriginalText field's value. 46231 func (s *TableInput) SetViewOriginalText(v string) *TableInput { 46232 s.ViewOriginalText = &v 46233 return s 46234 } 46235 46236 // Specifies a version of a table. 46237 type TableVersion struct { 46238 _ struct{} `type:"structure"` 46239 46240 // The table in question. 46241 Table *TableData `type:"structure"` 46242 46243 // The ID value that identifies this table version. A VersionId is a string 46244 // representation of an integer. Each version is incremented by 1. 46245 VersionId *string `min:"1" type:"string"` 46246 } 46247 46248 // String returns the string representation. 46249 // 46250 // API parameter values that are decorated as "sensitive" in the API will not 46251 // be included in the string output. The member name will be present, but the 46252 // value will be replaced with "sensitive". 46253 func (s TableVersion) String() string { 46254 return awsutil.Prettify(s) 46255 } 46256 46257 // GoString returns the string representation. 46258 // 46259 // API parameter values that are decorated as "sensitive" in the API will not 46260 // be included in the string output. The member name will be present, but the 46261 // value will be replaced with "sensitive". 46262 func (s TableVersion) GoString() string { 46263 return s.String() 46264 } 46265 46266 // SetTable sets the Table field's value. 46267 func (s *TableVersion) SetTable(v *TableData) *TableVersion { 46268 s.Table = v 46269 return s 46270 } 46271 46272 // SetVersionId sets the VersionId field's value. 46273 func (s *TableVersion) SetVersionId(v string) *TableVersion { 46274 s.VersionId = &v 46275 return s 46276 } 46277 46278 // An error record for table-version operations. 46279 type TableVersionError struct { 46280 _ struct{} `type:"structure"` 46281 46282 // The details about the error. 46283 ErrorDetail *ErrorDetail `type:"structure"` 46284 46285 // The name of the table in question. 46286 TableName *string `min:"1" type:"string"` 46287 46288 // The ID value of the version in question. A VersionID is a string representation 46289 // of an integer. Each version is incremented by 1. 46290 VersionId *string `min:"1" type:"string"` 46291 } 46292 46293 // String returns the string representation. 46294 // 46295 // API parameter values that are decorated as "sensitive" in the API will not 46296 // be included in the string output. The member name will be present, but the 46297 // value will be replaced with "sensitive". 46298 func (s TableVersionError) String() string { 46299 return awsutil.Prettify(s) 46300 } 46301 46302 // GoString returns the string representation. 46303 // 46304 // API parameter values that are decorated as "sensitive" in the API will not 46305 // be included in the string output. The member name will be present, but the 46306 // value will be replaced with "sensitive". 46307 func (s TableVersionError) GoString() string { 46308 return s.String() 46309 } 46310 46311 // SetErrorDetail sets the ErrorDetail field's value. 46312 func (s *TableVersionError) SetErrorDetail(v *ErrorDetail) *TableVersionError { 46313 s.ErrorDetail = v 46314 return s 46315 } 46316 46317 // SetTableName sets the TableName field's value. 46318 func (s *TableVersionError) SetTableName(v string) *TableVersionError { 46319 s.TableName = &v 46320 return s 46321 } 46322 46323 // SetVersionId sets the VersionId field's value. 46324 func (s *TableVersionError) SetVersionId(v string) *TableVersionError { 46325 s.VersionId = &v 46326 return s 46327 } 46328 46329 type TagResourceInput struct { 46330 _ struct{} `type:"structure"` 46331 46332 // The ARN of the Glue resource to which to add the tags. For more information 46333 // about Glue resource ARNs, see the Glue ARN string pattern (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id). 46334 // 46335 // ResourceArn is a required field 46336 ResourceArn *string `min:"1" type:"string" required:"true"` 46337 46338 // Tags to add to this resource. 46339 // 46340 // TagsToAdd is a required field 46341 TagsToAdd map[string]*string `type:"map" required:"true"` 46342 } 46343 46344 // String returns the string representation. 46345 // 46346 // API parameter values that are decorated as "sensitive" in the API will not 46347 // be included in the string output. The member name will be present, but the 46348 // value will be replaced with "sensitive". 46349 func (s TagResourceInput) String() string { 46350 return awsutil.Prettify(s) 46351 } 46352 46353 // GoString returns the string representation. 46354 // 46355 // API parameter values that are decorated as "sensitive" in the API will not 46356 // be included in the string output. The member name will be present, but the 46357 // value will be replaced with "sensitive". 46358 func (s TagResourceInput) GoString() string { 46359 return s.String() 46360 } 46361 46362 // Validate inspects the fields of the type to determine if they are valid. 46363 func (s *TagResourceInput) Validate() error { 46364 invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} 46365 if s.ResourceArn == nil { 46366 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 46367 } 46368 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 46369 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 46370 } 46371 if s.TagsToAdd == nil { 46372 invalidParams.Add(request.NewErrParamRequired("TagsToAdd")) 46373 } 46374 46375 if invalidParams.Len() > 0 { 46376 return invalidParams 46377 } 46378 return nil 46379 } 46380 46381 // SetResourceArn sets the ResourceArn field's value. 46382 func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { 46383 s.ResourceArn = &v 46384 return s 46385 } 46386 46387 // SetTagsToAdd sets the TagsToAdd field's value. 46388 func (s *TagResourceInput) SetTagsToAdd(v map[string]*string) *TagResourceInput { 46389 s.TagsToAdd = v 46390 return s 46391 } 46392 46393 type TagResourceOutput struct { 46394 _ struct{} `type:"structure"` 46395 } 46396 46397 // String returns the string representation. 46398 // 46399 // API parameter values that are decorated as "sensitive" in the API will not 46400 // be included in the string output. The member name will be present, but the 46401 // value will be replaced with "sensitive". 46402 func (s TagResourceOutput) String() string { 46403 return awsutil.Prettify(s) 46404 } 46405 46406 // GoString returns the string representation. 46407 // 46408 // API parameter values that are decorated as "sensitive" in the API will not 46409 // be included in the string output. The member name will be present, but the 46410 // value will be replaced with "sensitive". 46411 func (s TagResourceOutput) GoString() string { 46412 return s.String() 46413 } 46414 46415 // The sampling parameters that are associated with the machine learning transform. 46416 type TaskRun struct { 46417 _ struct{} `type:"structure"` 46418 46419 // The last point in time that the requested task run was completed. 46420 CompletedOn *time.Time `type:"timestamp"` 46421 46422 // The list of error strings associated with this task run. 46423 ErrorString *string `type:"string"` 46424 46425 // The amount of time (in seconds) that the task run consumed resources. 46426 ExecutionTime *int64 `type:"integer"` 46427 46428 // The last point in time that the requested task run was updated. 46429 LastModifiedOn *time.Time `type:"timestamp"` 46430 46431 // The names of the log group for secure logging, associated with this task 46432 // run. 46433 LogGroupName *string `type:"string"` 46434 46435 // Specifies configuration properties associated with this task run. 46436 Properties *TaskRunProperties `type:"structure"` 46437 46438 // The date and time that this task run started. 46439 StartedOn *time.Time `type:"timestamp"` 46440 46441 // The current status of the requested task run. 46442 Status *string `type:"string" enum:"TaskStatusType"` 46443 46444 // The unique identifier for this task run. 46445 TaskRunId *string `min:"1" type:"string"` 46446 46447 // The unique identifier for the transform. 46448 TransformId *string `min:"1" type:"string"` 46449 } 46450 46451 // String returns the string representation. 46452 // 46453 // API parameter values that are decorated as "sensitive" in the API will not 46454 // be included in the string output. The member name will be present, but the 46455 // value will be replaced with "sensitive". 46456 func (s TaskRun) String() string { 46457 return awsutil.Prettify(s) 46458 } 46459 46460 // GoString returns the string representation. 46461 // 46462 // API parameter values that are decorated as "sensitive" in the API will not 46463 // be included in the string output. The member name will be present, but the 46464 // value will be replaced with "sensitive". 46465 func (s TaskRun) GoString() string { 46466 return s.String() 46467 } 46468 46469 // SetCompletedOn sets the CompletedOn field's value. 46470 func (s *TaskRun) SetCompletedOn(v time.Time) *TaskRun { 46471 s.CompletedOn = &v 46472 return s 46473 } 46474 46475 // SetErrorString sets the ErrorString field's value. 46476 func (s *TaskRun) SetErrorString(v string) *TaskRun { 46477 s.ErrorString = &v 46478 return s 46479 } 46480 46481 // SetExecutionTime sets the ExecutionTime field's value. 46482 func (s *TaskRun) SetExecutionTime(v int64) *TaskRun { 46483 s.ExecutionTime = &v 46484 return s 46485 } 46486 46487 // SetLastModifiedOn sets the LastModifiedOn field's value. 46488 func (s *TaskRun) SetLastModifiedOn(v time.Time) *TaskRun { 46489 s.LastModifiedOn = &v 46490 return s 46491 } 46492 46493 // SetLogGroupName sets the LogGroupName field's value. 46494 func (s *TaskRun) SetLogGroupName(v string) *TaskRun { 46495 s.LogGroupName = &v 46496 return s 46497 } 46498 46499 // SetProperties sets the Properties field's value. 46500 func (s *TaskRun) SetProperties(v *TaskRunProperties) *TaskRun { 46501 s.Properties = v 46502 return s 46503 } 46504 46505 // SetStartedOn sets the StartedOn field's value. 46506 func (s *TaskRun) SetStartedOn(v time.Time) *TaskRun { 46507 s.StartedOn = &v 46508 return s 46509 } 46510 46511 // SetStatus sets the Status field's value. 46512 func (s *TaskRun) SetStatus(v string) *TaskRun { 46513 s.Status = &v 46514 return s 46515 } 46516 46517 // SetTaskRunId sets the TaskRunId field's value. 46518 func (s *TaskRun) SetTaskRunId(v string) *TaskRun { 46519 s.TaskRunId = &v 46520 return s 46521 } 46522 46523 // SetTransformId sets the TransformId field's value. 46524 func (s *TaskRun) SetTransformId(v string) *TaskRun { 46525 s.TransformId = &v 46526 return s 46527 } 46528 46529 // The criteria that are used to filter the task runs for the machine learning 46530 // transform. 46531 type TaskRunFilterCriteria struct { 46532 _ struct{} `type:"structure"` 46533 46534 // Filter on task runs started after this date. 46535 StartedAfter *time.Time `type:"timestamp"` 46536 46537 // Filter on task runs started before this date. 46538 StartedBefore *time.Time `type:"timestamp"` 46539 46540 // The current status of the task run. 46541 Status *string `type:"string" enum:"TaskStatusType"` 46542 46543 // The type of task run. 46544 TaskRunType *string `type:"string" enum:"TaskType"` 46545 } 46546 46547 // String returns the string representation. 46548 // 46549 // API parameter values that are decorated as "sensitive" in the API will not 46550 // be included in the string output. The member name will be present, but the 46551 // value will be replaced with "sensitive". 46552 func (s TaskRunFilterCriteria) String() string { 46553 return awsutil.Prettify(s) 46554 } 46555 46556 // GoString returns the string representation. 46557 // 46558 // API parameter values that are decorated as "sensitive" in the API will not 46559 // be included in the string output. The member name will be present, but the 46560 // value will be replaced with "sensitive". 46561 func (s TaskRunFilterCriteria) GoString() string { 46562 return s.String() 46563 } 46564 46565 // SetStartedAfter sets the StartedAfter field's value. 46566 func (s *TaskRunFilterCriteria) SetStartedAfter(v time.Time) *TaskRunFilterCriteria { 46567 s.StartedAfter = &v 46568 return s 46569 } 46570 46571 // SetStartedBefore sets the StartedBefore field's value. 46572 func (s *TaskRunFilterCriteria) SetStartedBefore(v time.Time) *TaskRunFilterCriteria { 46573 s.StartedBefore = &v 46574 return s 46575 } 46576 46577 // SetStatus sets the Status field's value. 46578 func (s *TaskRunFilterCriteria) SetStatus(v string) *TaskRunFilterCriteria { 46579 s.Status = &v 46580 return s 46581 } 46582 46583 // SetTaskRunType sets the TaskRunType field's value. 46584 func (s *TaskRunFilterCriteria) SetTaskRunType(v string) *TaskRunFilterCriteria { 46585 s.TaskRunType = &v 46586 return s 46587 } 46588 46589 // The configuration properties for the task run. 46590 type TaskRunProperties struct { 46591 _ struct{} `type:"structure"` 46592 46593 // The configuration properties for an exporting labels task run. 46594 ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties `type:"structure"` 46595 46596 // The configuration properties for a find matches task run. 46597 FindMatchesTaskRunProperties *FindMatchesTaskRunProperties `type:"structure"` 46598 46599 // The configuration properties for an importing labels task run. 46600 ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties `type:"structure"` 46601 46602 // The configuration properties for a labeling set generation task run. 46603 LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties `type:"structure"` 46604 46605 // The type of task run. 46606 TaskType *string `type:"string" enum:"TaskType"` 46607 } 46608 46609 // String returns the string representation. 46610 // 46611 // API parameter values that are decorated as "sensitive" in the API will not 46612 // be included in the string output. The member name will be present, but the 46613 // value will be replaced with "sensitive". 46614 func (s TaskRunProperties) String() string { 46615 return awsutil.Prettify(s) 46616 } 46617 46618 // GoString returns the string representation. 46619 // 46620 // API parameter values that are decorated as "sensitive" in the API will not 46621 // be included in the string output. The member name will be present, but the 46622 // value will be replaced with "sensitive". 46623 func (s TaskRunProperties) GoString() string { 46624 return s.String() 46625 } 46626 46627 // SetExportLabelsTaskRunProperties sets the ExportLabelsTaskRunProperties field's value. 46628 func (s *TaskRunProperties) SetExportLabelsTaskRunProperties(v *ExportLabelsTaskRunProperties) *TaskRunProperties { 46629 s.ExportLabelsTaskRunProperties = v 46630 return s 46631 } 46632 46633 // SetFindMatchesTaskRunProperties sets the FindMatchesTaskRunProperties field's value. 46634 func (s *TaskRunProperties) SetFindMatchesTaskRunProperties(v *FindMatchesTaskRunProperties) *TaskRunProperties { 46635 s.FindMatchesTaskRunProperties = v 46636 return s 46637 } 46638 46639 // SetImportLabelsTaskRunProperties sets the ImportLabelsTaskRunProperties field's value. 46640 func (s *TaskRunProperties) SetImportLabelsTaskRunProperties(v *ImportLabelsTaskRunProperties) *TaskRunProperties { 46641 s.ImportLabelsTaskRunProperties = v 46642 return s 46643 } 46644 46645 // SetLabelingSetGenerationTaskRunProperties sets the LabelingSetGenerationTaskRunProperties field's value. 46646 func (s *TaskRunProperties) SetLabelingSetGenerationTaskRunProperties(v *LabelingSetGenerationTaskRunProperties) *TaskRunProperties { 46647 s.LabelingSetGenerationTaskRunProperties = v 46648 return s 46649 } 46650 46651 // SetTaskType sets the TaskType field's value. 46652 func (s *TaskRunProperties) SetTaskType(v string) *TaskRunProperties { 46653 s.TaskType = &v 46654 return s 46655 } 46656 46657 // The sorting criteria that are used to sort the list of task runs for the 46658 // machine learning transform. 46659 type TaskRunSortCriteria struct { 46660 _ struct{} `type:"structure"` 46661 46662 // The column to be used to sort the list of task runs for the machine learning 46663 // transform. 46664 // 46665 // Column is a required field 46666 Column *string `type:"string" required:"true" enum:"TaskRunSortColumnType"` 46667 46668 // The sort direction to be used to sort the list of task runs for the machine 46669 // learning transform. 46670 // 46671 // SortDirection is a required field 46672 SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"` 46673 } 46674 46675 // String returns the string representation. 46676 // 46677 // API parameter values that are decorated as "sensitive" in the API will not 46678 // be included in the string output. The member name will be present, but the 46679 // value will be replaced with "sensitive". 46680 func (s TaskRunSortCriteria) String() string { 46681 return awsutil.Prettify(s) 46682 } 46683 46684 // GoString returns the string representation. 46685 // 46686 // API parameter values that are decorated as "sensitive" in the API will not 46687 // be included in the string output. The member name will be present, but the 46688 // value will be replaced with "sensitive". 46689 func (s TaskRunSortCriteria) GoString() string { 46690 return s.String() 46691 } 46692 46693 // Validate inspects the fields of the type to determine if they are valid. 46694 func (s *TaskRunSortCriteria) Validate() error { 46695 invalidParams := request.ErrInvalidParams{Context: "TaskRunSortCriteria"} 46696 if s.Column == nil { 46697 invalidParams.Add(request.NewErrParamRequired("Column")) 46698 } 46699 if s.SortDirection == nil { 46700 invalidParams.Add(request.NewErrParamRequired("SortDirection")) 46701 } 46702 46703 if invalidParams.Len() > 0 { 46704 return invalidParams 46705 } 46706 return nil 46707 } 46708 46709 // SetColumn sets the Column field's value. 46710 func (s *TaskRunSortCriteria) SetColumn(v string) *TaskRunSortCriteria { 46711 s.Column = &v 46712 return s 46713 } 46714 46715 // SetSortDirection sets the SortDirection field's value. 46716 func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria { 46717 s.SortDirection = &v 46718 return s 46719 } 46720 46721 // The encryption-at-rest settings of the transform that apply to accessing 46722 // user data. Machine learning transforms can access user data encrypted in 46723 // Amazon S3 using KMS. 46724 // 46725 // Additionally, imported labels and trained transforms can now be encrypted 46726 // using a customer provided KMS key. 46727 type TransformEncryption struct { 46728 _ struct{} `type:"structure"` 46729 46730 // An MLUserDataEncryption object containing the encryption mode and customer-provided 46731 // KMS key ID. 46732 MlUserDataEncryption *MLUserDataEncryption `type:"structure"` 46733 46734 // The name of the security configuration. 46735 TaskRunSecurityConfigurationName *string `min:"1" type:"string"` 46736 } 46737 46738 // String returns the string representation. 46739 // 46740 // API parameter values that are decorated as "sensitive" in the API will not 46741 // be included in the string output. The member name will be present, but the 46742 // value will be replaced with "sensitive". 46743 func (s TransformEncryption) String() string { 46744 return awsutil.Prettify(s) 46745 } 46746 46747 // GoString returns the string representation. 46748 // 46749 // API parameter values that are decorated as "sensitive" in the API will not 46750 // be included in the string output. The member name will be present, but the 46751 // value will be replaced with "sensitive". 46752 func (s TransformEncryption) GoString() string { 46753 return s.String() 46754 } 46755 46756 // Validate inspects the fields of the type to determine if they are valid. 46757 func (s *TransformEncryption) Validate() error { 46758 invalidParams := request.ErrInvalidParams{Context: "TransformEncryption"} 46759 if s.TaskRunSecurityConfigurationName != nil && len(*s.TaskRunSecurityConfigurationName) < 1 { 46760 invalidParams.Add(request.NewErrParamMinLen("TaskRunSecurityConfigurationName", 1)) 46761 } 46762 if s.MlUserDataEncryption != nil { 46763 if err := s.MlUserDataEncryption.Validate(); err != nil { 46764 invalidParams.AddNested("MlUserDataEncryption", err.(request.ErrInvalidParams)) 46765 } 46766 } 46767 46768 if invalidParams.Len() > 0 { 46769 return invalidParams 46770 } 46771 return nil 46772 } 46773 46774 // SetMlUserDataEncryption sets the MlUserDataEncryption field's value. 46775 func (s *TransformEncryption) SetMlUserDataEncryption(v *MLUserDataEncryption) *TransformEncryption { 46776 s.MlUserDataEncryption = v 46777 return s 46778 } 46779 46780 // SetTaskRunSecurityConfigurationName sets the TaskRunSecurityConfigurationName field's value. 46781 func (s *TransformEncryption) SetTaskRunSecurityConfigurationName(v string) *TransformEncryption { 46782 s.TaskRunSecurityConfigurationName = &v 46783 return s 46784 } 46785 46786 // The criteria used to filter the machine learning transforms. 46787 type TransformFilterCriteria struct { 46788 _ struct{} `type:"structure"` 46789 46790 // The time and date after which the transforms were created. 46791 CreatedAfter *time.Time `type:"timestamp"` 46792 46793 // The time and date before which the transforms were created. 46794 CreatedBefore *time.Time `type:"timestamp"` 46795 46796 // This value determines which version of Glue this machine learning transform 46797 // is compatible with. Glue 1.0 is recommended for most customers. If the value 46798 // is not set, the Glue compatibility defaults to Glue 0.9. For more information, 46799 // see Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions) 46800 // in the developer guide. 46801 GlueVersion *string `min:"1" type:"string"` 46802 46803 // Filter on transforms last modified after this date. 46804 LastModifiedAfter *time.Time `type:"timestamp"` 46805 46806 // Filter on transforms last modified before this date. 46807 LastModifiedBefore *time.Time `type:"timestamp"` 46808 46809 // A unique transform name that is used to filter the machine learning transforms. 46810 Name *string `min:"1" type:"string"` 46811 46812 // Filters on datasets with a specific schema. The Map<Column, Type> object 46813 // is an array of key-value pairs representing the schema this transform accepts, 46814 // where Column is the name of a column, and Type is the type of the data such 46815 // as an integer or string. Has an upper bound of 100 columns. 46816 Schema []*SchemaColumn `type:"list"` 46817 46818 // Filters the list of machine learning transforms by the last known status 46819 // of the transforms (to indicate whether a transform can be used or not). One 46820 // of "NOT_READY", "READY", or "DELETING". 46821 Status *string `type:"string" enum:"TransformStatusType"` 46822 46823 // The type of machine learning transform that is used to filter the machine 46824 // learning transforms. 46825 TransformType *string `type:"string" enum:"TransformType"` 46826 } 46827 46828 // String returns the string representation. 46829 // 46830 // API parameter values that are decorated as "sensitive" in the API will not 46831 // be included in the string output. The member name will be present, but the 46832 // value will be replaced with "sensitive". 46833 func (s TransformFilterCriteria) String() string { 46834 return awsutil.Prettify(s) 46835 } 46836 46837 // GoString returns the string representation. 46838 // 46839 // API parameter values that are decorated as "sensitive" in the API will not 46840 // be included in the string output. The member name will be present, but the 46841 // value will be replaced with "sensitive". 46842 func (s TransformFilterCriteria) GoString() string { 46843 return s.String() 46844 } 46845 46846 // Validate inspects the fields of the type to determine if they are valid. 46847 func (s *TransformFilterCriteria) Validate() error { 46848 invalidParams := request.ErrInvalidParams{Context: "TransformFilterCriteria"} 46849 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 46850 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 46851 } 46852 if s.Name != nil && len(*s.Name) < 1 { 46853 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 46854 } 46855 if s.Schema != nil { 46856 for i, v := range s.Schema { 46857 if v == nil { 46858 continue 46859 } 46860 if err := v.Validate(); err != nil { 46861 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams)) 46862 } 46863 } 46864 } 46865 46866 if invalidParams.Len() > 0 { 46867 return invalidParams 46868 } 46869 return nil 46870 } 46871 46872 // SetCreatedAfter sets the CreatedAfter field's value. 46873 func (s *TransformFilterCriteria) SetCreatedAfter(v time.Time) *TransformFilterCriteria { 46874 s.CreatedAfter = &v 46875 return s 46876 } 46877 46878 // SetCreatedBefore sets the CreatedBefore field's value. 46879 func (s *TransformFilterCriteria) SetCreatedBefore(v time.Time) *TransformFilterCriteria { 46880 s.CreatedBefore = &v 46881 return s 46882 } 46883 46884 // SetGlueVersion sets the GlueVersion field's value. 46885 func (s *TransformFilterCriteria) SetGlueVersion(v string) *TransformFilterCriteria { 46886 s.GlueVersion = &v 46887 return s 46888 } 46889 46890 // SetLastModifiedAfter sets the LastModifiedAfter field's value. 46891 func (s *TransformFilterCriteria) SetLastModifiedAfter(v time.Time) *TransformFilterCriteria { 46892 s.LastModifiedAfter = &v 46893 return s 46894 } 46895 46896 // SetLastModifiedBefore sets the LastModifiedBefore field's value. 46897 func (s *TransformFilterCriteria) SetLastModifiedBefore(v time.Time) *TransformFilterCriteria { 46898 s.LastModifiedBefore = &v 46899 return s 46900 } 46901 46902 // SetName sets the Name field's value. 46903 func (s *TransformFilterCriteria) SetName(v string) *TransformFilterCriteria { 46904 s.Name = &v 46905 return s 46906 } 46907 46908 // SetSchema sets the Schema field's value. 46909 func (s *TransformFilterCriteria) SetSchema(v []*SchemaColumn) *TransformFilterCriteria { 46910 s.Schema = v 46911 return s 46912 } 46913 46914 // SetStatus sets the Status field's value. 46915 func (s *TransformFilterCriteria) SetStatus(v string) *TransformFilterCriteria { 46916 s.Status = &v 46917 return s 46918 } 46919 46920 // SetTransformType sets the TransformType field's value. 46921 func (s *TransformFilterCriteria) SetTransformType(v string) *TransformFilterCriteria { 46922 s.TransformType = &v 46923 return s 46924 } 46925 46926 // The algorithm-specific parameters that are associated with the machine learning 46927 // transform. 46928 type TransformParameters struct { 46929 _ struct{} `type:"structure"` 46930 46931 // The parameters for the find matches algorithm. 46932 FindMatchesParameters *FindMatchesParameters `type:"structure"` 46933 46934 // The type of machine learning transform. 46935 // 46936 // For information about the types of machine learning transforms, see Creating 46937 // Machine Learning Transforms (https://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html). 46938 // 46939 // TransformType is a required field 46940 TransformType *string `type:"string" required:"true" enum:"TransformType"` 46941 } 46942 46943 // String returns the string representation. 46944 // 46945 // API parameter values that are decorated as "sensitive" in the API will not 46946 // be included in the string output. The member name will be present, but the 46947 // value will be replaced with "sensitive". 46948 func (s TransformParameters) String() string { 46949 return awsutil.Prettify(s) 46950 } 46951 46952 // GoString returns the string representation. 46953 // 46954 // API parameter values that are decorated as "sensitive" in the API will not 46955 // be included in the string output. The member name will be present, but the 46956 // value will be replaced with "sensitive". 46957 func (s TransformParameters) GoString() string { 46958 return s.String() 46959 } 46960 46961 // Validate inspects the fields of the type to determine if they are valid. 46962 func (s *TransformParameters) Validate() error { 46963 invalidParams := request.ErrInvalidParams{Context: "TransformParameters"} 46964 if s.TransformType == nil { 46965 invalidParams.Add(request.NewErrParamRequired("TransformType")) 46966 } 46967 if s.FindMatchesParameters != nil { 46968 if err := s.FindMatchesParameters.Validate(); err != nil { 46969 invalidParams.AddNested("FindMatchesParameters", err.(request.ErrInvalidParams)) 46970 } 46971 } 46972 46973 if invalidParams.Len() > 0 { 46974 return invalidParams 46975 } 46976 return nil 46977 } 46978 46979 // SetFindMatchesParameters sets the FindMatchesParameters field's value. 46980 func (s *TransformParameters) SetFindMatchesParameters(v *FindMatchesParameters) *TransformParameters { 46981 s.FindMatchesParameters = v 46982 return s 46983 } 46984 46985 // SetTransformType sets the TransformType field's value. 46986 func (s *TransformParameters) SetTransformType(v string) *TransformParameters { 46987 s.TransformType = &v 46988 return s 46989 } 46990 46991 // The sorting criteria that are associated with the machine learning transform. 46992 type TransformSortCriteria struct { 46993 _ struct{} `type:"structure"` 46994 46995 // The column to be used in the sorting criteria that are associated with the 46996 // machine learning transform. 46997 // 46998 // Column is a required field 46999 Column *string `type:"string" required:"true" enum:"TransformSortColumnType"` 47000 47001 // The sort direction to be used in the sorting criteria that are associated 47002 // with the machine learning transform. 47003 // 47004 // SortDirection is a required field 47005 SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"` 47006 } 47007 47008 // String returns the string representation. 47009 // 47010 // API parameter values that are decorated as "sensitive" in the API will not 47011 // be included in the string output. The member name will be present, but the 47012 // value will be replaced with "sensitive". 47013 func (s TransformSortCriteria) String() string { 47014 return awsutil.Prettify(s) 47015 } 47016 47017 // GoString returns the string representation. 47018 // 47019 // API parameter values that are decorated as "sensitive" in the API will not 47020 // be included in the string output. The member name will be present, but the 47021 // value will be replaced with "sensitive". 47022 func (s TransformSortCriteria) GoString() string { 47023 return s.String() 47024 } 47025 47026 // Validate inspects the fields of the type to determine if they are valid. 47027 func (s *TransformSortCriteria) Validate() error { 47028 invalidParams := request.ErrInvalidParams{Context: "TransformSortCriteria"} 47029 if s.Column == nil { 47030 invalidParams.Add(request.NewErrParamRequired("Column")) 47031 } 47032 if s.SortDirection == nil { 47033 invalidParams.Add(request.NewErrParamRequired("SortDirection")) 47034 } 47035 47036 if invalidParams.Len() > 0 { 47037 return invalidParams 47038 } 47039 return nil 47040 } 47041 47042 // SetColumn sets the Column field's value. 47043 func (s *TransformSortCriteria) SetColumn(v string) *TransformSortCriteria { 47044 s.Column = &v 47045 return s 47046 } 47047 47048 // SetSortDirection sets the SortDirection field's value. 47049 func (s *TransformSortCriteria) SetSortDirection(v string) *TransformSortCriteria { 47050 s.SortDirection = &v 47051 return s 47052 } 47053 47054 // Information about a specific trigger. 47055 type Trigger struct { 47056 _ struct{} `type:"structure"` 47057 47058 // The actions initiated by this trigger. 47059 Actions []*Action `type:"list"` 47060 47061 // A description of this trigger. 47062 Description *string `type:"string"` 47063 47064 // Batch condition that must be met (specified number of events received or 47065 // batch time window expired) before EventBridge event trigger fires. 47066 EventBatchingCondition *EventBatchingCondition `type:"structure"` 47067 47068 // Reserved for future use. 47069 Id *string `min:"1" type:"string"` 47070 47071 // The name of the trigger. 47072 Name *string `min:"1" type:"string"` 47073 47074 // The predicate of this trigger, which defines when it will fire. 47075 Predicate *Predicate `type:"structure"` 47076 47077 // A cron expression used to specify the schedule (see Time-Based Schedules 47078 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 47079 // For example, to run something every day at 12:15 UTC, you would specify: 47080 // cron(15 12 * * ? *). 47081 Schedule *string `type:"string"` 47082 47083 // The current state of the trigger. 47084 State *string `type:"string" enum:"TriggerState"` 47085 47086 // The type of trigger that this is. 47087 Type *string `type:"string" enum:"TriggerType"` 47088 47089 // The name of the workflow associated with the trigger. 47090 WorkflowName *string `min:"1" type:"string"` 47091 } 47092 47093 // String returns the string representation. 47094 // 47095 // API parameter values that are decorated as "sensitive" in the API will not 47096 // be included in the string output. The member name will be present, but the 47097 // value will be replaced with "sensitive". 47098 func (s Trigger) String() string { 47099 return awsutil.Prettify(s) 47100 } 47101 47102 // GoString returns the string representation. 47103 // 47104 // API parameter values that are decorated as "sensitive" in the API will not 47105 // be included in the string output. The member name will be present, but the 47106 // value will be replaced with "sensitive". 47107 func (s Trigger) GoString() string { 47108 return s.String() 47109 } 47110 47111 // SetActions sets the Actions field's value. 47112 func (s *Trigger) SetActions(v []*Action) *Trigger { 47113 s.Actions = v 47114 return s 47115 } 47116 47117 // SetDescription sets the Description field's value. 47118 func (s *Trigger) SetDescription(v string) *Trigger { 47119 s.Description = &v 47120 return s 47121 } 47122 47123 // SetEventBatchingCondition sets the EventBatchingCondition field's value. 47124 func (s *Trigger) SetEventBatchingCondition(v *EventBatchingCondition) *Trigger { 47125 s.EventBatchingCondition = v 47126 return s 47127 } 47128 47129 // SetId sets the Id field's value. 47130 func (s *Trigger) SetId(v string) *Trigger { 47131 s.Id = &v 47132 return s 47133 } 47134 47135 // SetName sets the Name field's value. 47136 func (s *Trigger) SetName(v string) *Trigger { 47137 s.Name = &v 47138 return s 47139 } 47140 47141 // SetPredicate sets the Predicate field's value. 47142 func (s *Trigger) SetPredicate(v *Predicate) *Trigger { 47143 s.Predicate = v 47144 return s 47145 } 47146 47147 // SetSchedule sets the Schedule field's value. 47148 func (s *Trigger) SetSchedule(v string) *Trigger { 47149 s.Schedule = &v 47150 return s 47151 } 47152 47153 // SetState sets the State field's value. 47154 func (s *Trigger) SetState(v string) *Trigger { 47155 s.State = &v 47156 return s 47157 } 47158 47159 // SetType sets the Type field's value. 47160 func (s *Trigger) SetType(v string) *Trigger { 47161 s.Type = &v 47162 return s 47163 } 47164 47165 // SetWorkflowName sets the WorkflowName field's value. 47166 func (s *Trigger) SetWorkflowName(v string) *Trigger { 47167 s.WorkflowName = &v 47168 return s 47169 } 47170 47171 // The details of a Trigger node present in the workflow. 47172 type TriggerNodeDetails struct { 47173 _ struct{} `type:"structure"` 47174 47175 // The information of the trigger represented by the trigger node. 47176 Trigger *Trigger `type:"structure"` 47177 } 47178 47179 // String returns the string representation. 47180 // 47181 // API parameter values that are decorated as "sensitive" in the API will not 47182 // be included in the string output. The member name will be present, but the 47183 // value will be replaced with "sensitive". 47184 func (s TriggerNodeDetails) String() string { 47185 return awsutil.Prettify(s) 47186 } 47187 47188 // GoString returns the string representation. 47189 // 47190 // API parameter values that are decorated as "sensitive" in the API will not 47191 // be included in the string output. The member name will be present, but the 47192 // value will be replaced with "sensitive". 47193 func (s TriggerNodeDetails) GoString() string { 47194 return s.String() 47195 } 47196 47197 // SetTrigger sets the Trigger field's value. 47198 func (s *TriggerNodeDetails) SetTrigger(v *Trigger) *TriggerNodeDetails { 47199 s.Trigger = v 47200 return s 47201 } 47202 47203 // A structure used to provide information used to update a trigger. This object 47204 // updates the previous trigger definition by overwriting it completely. 47205 type TriggerUpdate struct { 47206 _ struct{} `type:"structure"` 47207 47208 // The actions initiated by this trigger. 47209 Actions []*Action `type:"list"` 47210 47211 // A description of this trigger. 47212 Description *string `type:"string"` 47213 47214 // Batch condition that must be met (specified number of events received or 47215 // batch time window expired) before EventBridge event trigger fires. 47216 EventBatchingCondition *EventBatchingCondition `type:"structure"` 47217 47218 // Reserved for future use. 47219 Name *string `min:"1" type:"string"` 47220 47221 // The predicate of this trigger, which defines when it will fire. 47222 Predicate *Predicate `type:"structure"` 47223 47224 // A cron expression used to specify the schedule (see Time-Based Schedules 47225 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 47226 // For example, to run something every day at 12:15 UTC, you would specify: 47227 // cron(15 12 * * ? *). 47228 Schedule *string `type:"string"` 47229 } 47230 47231 // String returns the string representation. 47232 // 47233 // API parameter values that are decorated as "sensitive" in the API will not 47234 // be included in the string output. The member name will be present, but the 47235 // value will be replaced with "sensitive". 47236 func (s TriggerUpdate) String() string { 47237 return awsutil.Prettify(s) 47238 } 47239 47240 // GoString returns the string representation. 47241 // 47242 // API parameter values that are decorated as "sensitive" in the API will not 47243 // be included in the string output. The member name will be present, but the 47244 // value will be replaced with "sensitive". 47245 func (s TriggerUpdate) GoString() string { 47246 return s.String() 47247 } 47248 47249 // Validate inspects the fields of the type to determine if they are valid. 47250 func (s *TriggerUpdate) Validate() error { 47251 invalidParams := request.ErrInvalidParams{Context: "TriggerUpdate"} 47252 if s.Name != nil && len(*s.Name) < 1 { 47253 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 47254 } 47255 if s.Actions != nil { 47256 for i, v := range s.Actions { 47257 if v == nil { 47258 continue 47259 } 47260 if err := v.Validate(); err != nil { 47261 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) 47262 } 47263 } 47264 } 47265 if s.EventBatchingCondition != nil { 47266 if err := s.EventBatchingCondition.Validate(); err != nil { 47267 invalidParams.AddNested("EventBatchingCondition", err.(request.ErrInvalidParams)) 47268 } 47269 } 47270 if s.Predicate != nil { 47271 if err := s.Predicate.Validate(); err != nil { 47272 invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams)) 47273 } 47274 } 47275 47276 if invalidParams.Len() > 0 { 47277 return invalidParams 47278 } 47279 return nil 47280 } 47281 47282 // SetActions sets the Actions field's value. 47283 func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate { 47284 s.Actions = v 47285 return s 47286 } 47287 47288 // SetDescription sets the Description field's value. 47289 func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate { 47290 s.Description = &v 47291 return s 47292 } 47293 47294 // SetEventBatchingCondition sets the EventBatchingCondition field's value. 47295 func (s *TriggerUpdate) SetEventBatchingCondition(v *EventBatchingCondition) *TriggerUpdate { 47296 s.EventBatchingCondition = v 47297 return s 47298 } 47299 47300 // SetName sets the Name field's value. 47301 func (s *TriggerUpdate) SetName(v string) *TriggerUpdate { 47302 s.Name = &v 47303 return s 47304 } 47305 47306 // SetPredicate sets the Predicate field's value. 47307 func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate { 47308 s.Predicate = v 47309 return s 47310 } 47311 47312 // SetSchedule sets the Schedule field's value. 47313 func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate { 47314 s.Schedule = &v 47315 return s 47316 } 47317 47318 type UntagResourceInput struct { 47319 _ struct{} `type:"structure"` 47320 47321 // The Amazon Resource Name (ARN) of the resource from which to remove the tags. 47322 // 47323 // ResourceArn is a required field 47324 ResourceArn *string `min:"1" type:"string" required:"true"` 47325 47326 // Tags to remove from this resource. 47327 // 47328 // TagsToRemove is a required field 47329 TagsToRemove []*string `type:"list" required:"true"` 47330 } 47331 47332 // String returns the string representation. 47333 // 47334 // API parameter values that are decorated as "sensitive" in the API will not 47335 // be included in the string output. The member name will be present, but the 47336 // value will be replaced with "sensitive". 47337 func (s UntagResourceInput) String() string { 47338 return awsutil.Prettify(s) 47339 } 47340 47341 // GoString returns the string representation. 47342 // 47343 // API parameter values that are decorated as "sensitive" in the API will not 47344 // be included in the string output. The member name will be present, but the 47345 // value will be replaced with "sensitive". 47346 func (s UntagResourceInput) GoString() string { 47347 return s.String() 47348 } 47349 47350 // Validate inspects the fields of the type to determine if they are valid. 47351 func (s *UntagResourceInput) Validate() error { 47352 invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} 47353 if s.ResourceArn == nil { 47354 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 47355 } 47356 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 47357 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 47358 } 47359 if s.TagsToRemove == nil { 47360 invalidParams.Add(request.NewErrParamRequired("TagsToRemove")) 47361 } 47362 47363 if invalidParams.Len() > 0 { 47364 return invalidParams 47365 } 47366 return nil 47367 } 47368 47369 // SetResourceArn sets the ResourceArn field's value. 47370 func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { 47371 s.ResourceArn = &v 47372 return s 47373 } 47374 47375 // SetTagsToRemove sets the TagsToRemove field's value. 47376 func (s *UntagResourceInput) SetTagsToRemove(v []*string) *UntagResourceInput { 47377 s.TagsToRemove = v 47378 return s 47379 } 47380 47381 type UntagResourceOutput struct { 47382 _ struct{} `type:"structure"` 47383 } 47384 47385 // String returns the string representation. 47386 // 47387 // API parameter values that are decorated as "sensitive" in the API will not 47388 // be included in the string output. The member name will be present, but the 47389 // value will be replaced with "sensitive". 47390 func (s UntagResourceOutput) String() string { 47391 return awsutil.Prettify(s) 47392 } 47393 47394 // GoString returns the string representation. 47395 // 47396 // API parameter values that are decorated as "sensitive" in the API will not 47397 // be included in the string output. The member name will be present, but the 47398 // value will be replaced with "sensitive". 47399 func (s UntagResourceOutput) GoString() string { 47400 return s.String() 47401 } 47402 47403 type UpdateBlueprintInput struct { 47404 _ struct{} `type:"structure"` 47405 47406 // Specifies a path in Amazon S3 where the blueprint is published. 47407 // 47408 // BlueprintLocation is a required field 47409 BlueprintLocation *string `min:"1" type:"string" required:"true"` 47410 47411 // A description of the blueprint. 47412 Description *string `min:"1" type:"string"` 47413 47414 // The name of the blueprint. 47415 // 47416 // Name is a required field 47417 Name *string `min:"1" type:"string" required:"true"` 47418 } 47419 47420 // String returns the string representation. 47421 // 47422 // API parameter values that are decorated as "sensitive" in the API will not 47423 // be included in the string output. The member name will be present, but the 47424 // value will be replaced with "sensitive". 47425 func (s UpdateBlueprintInput) String() string { 47426 return awsutil.Prettify(s) 47427 } 47428 47429 // GoString returns the string representation. 47430 // 47431 // API parameter values that are decorated as "sensitive" in the API will not 47432 // be included in the string output. The member name will be present, but the 47433 // value will be replaced with "sensitive". 47434 func (s UpdateBlueprintInput) GoString() string { 47435 return s.String() 47436 } 47437 47438 // Validate inspects the fields of the type to determine if they are valid. 47439 func (s *UpdateBlueprintInput) Validate() error { 47440 invalidParams := request.ErrInvalidParams{Context: "UpdateBlueprintInput"} 47441 if s.BlueprintLocation == nil { 47442 invalidParams.Add(request.NewErrParamRequired("BlueprintLocation")) 47443 } 47444 if s.BlueprintLocation != nil && len(*s.BlueprintLocation) < 1 { 47445 invalidParams.Add(request.NewErrParamMinLen("BlueprintLocation", 1)) 47446 } 47447 if s.Description != nil && len(*s.Description) < 1 { 47448 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 47449 } 47450 if s.Name == nil { 47451 invalidParams.Add(request.NewErrParamRequired("Name")) 47452 } 47453 if s.Name != nil && len(*s.Name) < 1 { 47454 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 47455 } 47456 47457 if invalidParams.Len() > 0 { 47458 return invalidParams 47459 } 47460 return nil 47461 } 47462 47463 // SetBlueprintLocation sets the BlueprintLocation field's value. 47464 func (s *UpdateBlueprintInput) SetBlueprintLocation(v string) *UpdateBlueprintInput { 47465 s.BlueprintLocation = &v 47466 return s 47467 } 47468 47469 // SetDescription sets the Description field's value. 47470 func (s *UpdateBlueprintInput) SetDescription(v string) *UpdateBlueprintInput { 47471 s.Description = &v 47472 return s 47473 } 47474 47475 // SetName sets the Name field's value. 47476 func (s *UpdateBlueprintInput) SetName(v string) *UpdateBlueprintInput { 47477 s.Name = &v 47478 return s 47479 } 47480 47481 type UpdateBlueprintOutput struct { 47482 _ struct{} `type:"structure"` 47483 47484 // Returns the name of the blueprint that was updated. 47485 Name *string `min:"1" type:"string"` 47486 } 47487 47488 // String returns the string representation. 47489 // 47490 // API parameter values that are decorated as "sensitive" in the API will not 47491 // be included in the string output. The member name will be present, but the 47492 // value will be replaced with "sensitive". 47493 func (s UpdateBlueprintOutput) String() string { 47494 return awsutil.Prettify(s) 47495 } 47496 47497 // GoString returns the string representation. 47498 // 47499 // API parameter values that are decorated as "sensitive" in the API will not 47500 // be included in the string output. The member name will be present, but the 47501 // value will be replaced with "sensitive". 47502 func (s UpdateBlueprintOutput) GoString() string { 47503 return s.String() 47504 } 47505 47506 // SetName sets the Name field's value. 47507 func (s *UpdateBlueprintOutput) SetName(v string) *UpdateBlueprintOutput { 47508 s.Name = &v 47509 return s 47510 } 47511 47512 type UpdateClassifierInput struct { 47513 _ struct{} `type:"structure"` 47514 47515 // A CsvClassifier object with updated fields. 47516 CsvClassifier *UpdateCsvClassifierRequest `type:"structure"` 47517 47518 // A GrokClassifier object with updated fields. 47519 GrokClassifier *UpdateGrokClassifierRequest `type:"structure"` 47520 47521 // A JsonClassifier object with updated fields. 47522 JsonClassifier *UpdateJsonClassifierRequest `type:"structure"` 47523 47524 // An XMLClassifier object with updated fields. 47525 XMLClassifier *UpdateXMLClassifierRequest `type:"structure"` 47526 } 47527 47528 // String returns the string representation. 47529 // 47530 // API parameter values that are decorated as "sensitive" in the API will not 47531 // be included in the string output. The member name will be present, but the 47532 // value will be replaced with "sensitive". 47533 func (s UpdateClassifierInput) String() string { 47534 return awsutil.Prettify(s) 47535 } 47536 47537 // GoString returns the string representation. 47538 // 47539 // API parameter values that are decorated as "sensitive" in the API will not 47540 // be included in the string output. The member name will be present, but the 47541 // value will be replaced with "sensitive". 47542 func (s UpdateClassifierInput) GoString() string { 47543 return s.String() 47544 } 47545 47546 // Validate inspects the fields of the type to determine if they are valid. 47547 func (s *UpdateClassifierInput) Validate() error { 47548 invalidParams := request.ErrInvalidParams{Context: "UpdateClassifierInput"} 47549 if s.CsvClassifier != nil { 47550 if err := s.CsvClassifier.Validate(); err != nil { 47551 invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams)) 47552 } 47553 } 47554 if s.GrokClassifier != nil { 47555 if err := s.GrokClassifier.Validate(); err != nil { 47556 invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams)) 47557 } 47558 } 47559 if s.JsonClassifier != nil { 47560 if err := s.JsonClassifier.Validate(); err != nil { 47561 invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams)) 47562 } 47563 } 47564 if s.XMLClassifier != nil { 47565 if err := s.XMLClassifier.Validate(); err != nil { 47566 invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams)) 47567 } 47568 } 47569 47570 if invalidParams.Len() > 0 { 47571 return invalidParams 47572 } 47573 return nil 47574 } 47575 47576 // SetCsvClassifier sets the CsvClassifier field's value. 47577 func (s *UpdateClassifierInput) SetCsvClassifier(v *UpdateCsvClassifierRequest) *UpdateClassifierInput { 47578 s.CsvClassifier = v 47579 return s 47580 } 47581 47582 // SetGrokClassifier sets the GrokClassifier field's value. 47583 func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput { 47584 s.GrokClassifier = v 47585 return s 47586 } 47587 47588 // SetJsonClassifier sets the JsonClassifier field's value. 47589 func (s *UpdateClassifierInput) SetJsonClassifier(v *UpdateJsonClassifierRequest) *UpdateClassifierInput { 47590 s.JsonClassifier = v 47591 return s 47592 } 47593 47594 // SetXMLClassifier sets the XMLClassifier field's value. 47595 func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput { 47596 s.XMLClassifier = v 47597 return s 47598 } 47599 47600 type UpdateClassifierOutput struct { 47601 _ struct{} `type:"structure"` 47602 } 47603 47604 // String returns the string representation. 47605 // 47606 // API parameter values that are decorated as "sensitive" in the API will not 47607 // be included in the string output. The member name will be present, but the 47608 // value will be replaced with "sensitive". 47609 func (s UpdateClassifierOutput) String() string { 47610 return awsutil.Prettify(s) 47611 } 47612 47613 // GoString returns the string representation. 47614 // 47615 // API parameter values that are decorated as "sensitive" in the API will not 47616 // be included in the string output. The member name will be present, but the 47617 // value will be replaced with "sensitive". 47618 func (s UpdateClassifierOutput) GoString() string { 47619 return s.String() 47620 } 47621 47622 type UpdateColumnStatisticsForPartitionInput struct { 47623 _ struct{} `type:"structure"` 47624 47625 // The ID of the Data Catalog where the partitions in question reside. If none 47626 // is supplied, the Amazon Web Services account ID is used by default. 47627 CatalogId *string `min:"1" type:"string"` 47628 47629 // A list of the column statistics. 47630 // 47631 // ColumnStatisticsList is a required field 47632 ColumnStatisticsList []*ColumnStatistics `type:"list" required:"true"` 47633 47634 // The name of the catalog database where the partitions reside. 47635 // 47636 // DatabaseName is a required field 47637 DatabaseName *string `min:"1" type:"string" required:"true"` 47638 47639 // A list of partition values identifying the partition. 47640 // 47641 // PartitionValues is a required field 47642 PartitionValues []*string `type:"list" required:"true"` 47643 47644 // The name of the partitions' table. 47645 // 47646 // TableName is a required field 47647 TableName *string `min:"1" type:"string" required:"true"` 47648 } 47649 47650 // String returns the string representation. 47651 // 47652 // API parameter values that are decorated as "sensitive" in the API will not 47653 // be included in the string output. The member name will be present, but the 47654 // value will be replaced with "sensitive". 47655 func (s UpdateColumnStatisticsForPartitionInput) String() string { 47656 return awsutil.Prettify(s) 47657 } 47658 47659 // GoString returns the string representation. 47660 // 47661 // API parameter values that are decorated as "sensitive" in the API will not 47662 // be included in the string output. The member name will be present, but the 47663 // value will be replaced with "sensitive". 47664 func (s UpdateColumnStatisticsForPartitionInput) GoString() string { 47665 return s.String() 47666 } 47667 47668 // Validate inspects the fields of the type to determine if they are valid. 47669 func (s *UpdateColumnStatisticsForPartitionInput) Validate() error { 47670 invalidParams := request.ErrInvalidParams{Context: "UpdateColumnStatisticsForPartitionInput"} 47671 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 47672 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 47673 } 47674 if s.ColumnStatisticsList == nil { 47675 invalidParams.Add(request.NewErrParamRequired("ColumnStatisticsList")) 47676 } 47677 if s.DatabaseName == nil { 47678 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 47679 } 47680 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 47681 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 47682 } 47683 if s.PartitionValues == nil { 47684 invalidParams.Add(request.NewErrParamRequired("PartitionValues")) 47685 } 47686 if s.TableName == nil { 47687 invalidParams.Add(request.NewErrParamRequired("TableName")) 47688 } 47689 if s.TableName != nil && len(*s.TableName) < 1 { 47690 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 47691 } 47692 if s.ColumnStatisticsList != nil { 47693 for i, v := range s.ColumnStatisticsList { 47694 if v == nil { 47695 continue 47696 } 47697 if err := v.Validate(); err != nil { 47698 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnStatisticsList", i), err.(request.ErrInvalidParams)) 47699 } 47700 } 47701 } 47702 47703 if invalidParams.Len() > 0 { 47704 return invalidParams 47705 } 47706 return nil 47707 } 47708 47709 // SetCatalogId sets the CatalogId field's value. 47710 func (s *UpdateColumnStatisticsForPartitionInput) SetCatalogId(v string) *UpdateColumnStatisticsForPartitionInput { 47711 s.CatalogId = &v 47712 return s 47713 } 47714 47715 // SetColumnStatisticsList sets the ColumnStatisticsList field's value. 47716 func (s *UpdateColumnStatisticsForPartitionInput) SetColumnStatisticsList(v []*ColumnStatistics) *UpdateColumnStatisticsForPartitionInput { 47717 s.ColumnStatisticsList = v 47718 return s 47719 } 47720 47721 // SetDatabaseName sets the DatabaseName field's value. 47722 func (s *UpdateColumnStatisticsForPartitionInput) SetDatabaseName(v string) *UpdateColumnStatisticsForPartitionInput { 47723 s.DatabaseName = &v 47724 return s 47725 } 47726 47727 // SetPartitionValues sets the PartitionValues field's value. 47728 func (s *UpdateColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *UpdateColumnStatisticsForPartitionInput { 47729 s.PartitionValues = v 47730 return s 47731 } 47732 47733 // SetTableName sets the TableName field's value. 47734 func (s *UpdateColumnStatisticsForPartitionInput) SetTableName(v string) *UpdateColumnStatisticsForPartitionInput { 47735 s.TableName = &v 47736 return s 47737 } 47738 47739 type UpdateColumnStatisticsForPartitionOutput struct { 47740 _ struct{} `type:"structure"` 47741 47742 // Error occurred during updating column statistics data. 47743 Errors []*ColumnStatisticsError `type:"list"` 47744 } 47745 47746 // String returns the string representation. 47747 // 47748 // API parameter values that are decorated as "sensitive" in the API will not 47749 // be included in the string output. The member name will be present, but the 47750 // value will be replaced with "sensitive". 47751 func (s UpdateColumnStatisticsForPartitionOutput) String() string { 47752 return awsutil.Prettify(s) 47753 } 47754 47755 // GoString returns the string representation. 47756 // 47757 // API parameter values that are decorated as "sensitive" in the API will not 47758 // be included in the string output. The member name will be present, but the 47759 // value will be replaced with "sensitive". 47760 func (s UpdateColumnStatisticsForPartitionOutput) GoString() string { 47761 return s.String() 47762 } 47763 47764 // SetErrors sets the Errors field's value. 47765 func (s *UpdateColumnStatisticsForPartitionOutput) SetErrors(v []*ColumnStatisticsError) *UpdateColumnStatisticsForPartitionOutput { 47766 s.Errors = v 47767 return s 47768 } 47769 47770 type UpdateColumnStatisticsForTableInput struct { 47771 _ struct{} `type:"structure"` 47772 47773 // The ID of the Data Catalog where the partitions in question reside. If none 47774 // is supplied, the Amazon Web Services account ID is used by default. 47775 CatalogId *string `min:"1" type:"string"` 47776 47777 // A list of the column statistics. 47778 // 47779 // ColumnStatisticsList is a required field 47780 ColumnStatisticsList []*ColumnStatistics `type:"list" required:"true"` 47781 47782 // The name of the catalog database where the partitions reside. 47783 // 47784 // DatabaseName is a required field 47785 DatabaseName *string `min:"1" type:"string" required:"true"` 47786 47787 // The name of the partitions' table. 47788 // 47789 // TableName is a required field 47790 TableName *string `min:"1" type:"string" required:"true"` 47791 } 47792 47793 // String returns the string representation. 47794 // 47795 // API parameter values that are decorated as "sensitive" in the API will not 47796 // be included in the string output. The member name will be present, but the 47797 // value will be replaced with "sensitive". 47798 func (s UpdateColumnStatisticsForTableInput) String() string { 47799 return awsutil.Prettify(s) 47800 } 47801 47802 // GoString returns the string representation. 47803 // 47804 // API parameter values that are decorated as "sensitive" in the API will not 47805 // be included in the string output. The member name will be present, but the 47806 // value will be replaced with "sensitive". 47807 func (s UpdateColumnStatisticsForTableInput) GoString() string { 47808 return s.String() 47809 } 47810 47811 // Validate inspects the fields of the type to determine if they are valid. 47812 func (s *UpdateColumnStatisticsForTableInput) Validate() error { 47813 invalidParams := request.ErrInvalidParams{Context: "UpdateColumnStatisticsForTableInput"} 47814 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 47815 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 47816 } 47817 if s.ColumnStatisticsList == nil { 47818 invalidParams.Add(request.NewErrParamRequired("ColumnStatisticsList")) 47819 } 47820 if s.DatabaseName == nil { 47821 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 47822 } 47823 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 47824 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 47825 } 47826 if s.TableName == nil { 47827 invalidParams.Add(request.NewErrParamRequired("TableName")) 47828 } 47829 if s.TableName != nil && len(*s.TableName) < 1 { 47830 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 47831 } 47832 if s.ColumnStatisticsList != nil { 47833 for i, v := range s.ColumnStatisticsList { 47834 if v == nil { 47835 continue 47836 } 47837 if err := v.Validate(); err != nil { 47838 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnStatisticsList", i), err.(request.ErrInvalidParams)) 47839 } 47840 } 47841 } 47842 47843 if invalidParams.Len() > 0 { 47844 return invalidParams 47845 } 47846 return nil 47847 } 47848 47849 // SetCatalogId sets the CatalogId field's value. 47850 func (s *UpdateColumnStatisticsForTableInput) SetCatalogId(v string) *UpdateColumnStatisticsForTableInput { 47851 s.CatalogId = &v 47852 return s 47853 } 47854 47855 // SetColumnStatisticsList sets the ColumnStatisticsList field's value. 47856 func (s *UpdateColumnStatisticsForTableInput) SetColumnStatisticsList(v []*ColumnStatistics) *UpdateColumnStatisticsForTableInput { 47857 s.ColumnStatisticsList = v 47858 return s 47859 } 47860 47861 // SetDatabaseName sets the DatabaseName field's value. 47862 func (s *UpdateColumnStatisticsForTableInput) SetDatabaseName(v string) *UpdateColumnStatisticsForTableInput { 47863 s.DatabaseName = &v 47864 return s 47865 } 47866 47867 // SetTableName sets the TableName field's value. 47868 func (s *UpdateColumnStatisticsForTableInput) SetTableName(v string) *UpdateColumnStatisticsForTableInput { 47869 s.TableName = &v 47870 return s 47871 } 47872 47873 type UpdateColumnStatisticsForTableOutput struct { 47874 _ struct{} `type:"structure"` 47875 47876 // List of ColumnStatisticsErrors. 47877 Errors []*ColumnStatisticsError `type:"list"` 47878 } 47879 47880 // String returns the string representation. 47881 // 47882 // API parameter values that are decorated as "sensitive" in the API will not 47883 // be included in the string output. The member name will be present, but the 47884 // value will be replaced with "sensitive". 47885 func (s UpdateColumnStatisticsForTableOutput) String() string { 47886 return awsutil.Prettify(s) 47887 } 47888 47889 // GoString returns the string representation. 47890 // 47891 // API parameter values that are decorated as "sensitive" in the API will not 47892 // be included in the string output. The member name will be present, but the 47893 // value will be replaced with "sensitive". 47894 func (s UpdateColumnStatisticsForTableOutput) GoString() string { 47895 return s.String() 47896 } 47897 47898 // SetErrors sets the Errors field's value. 47899 func (s *UpdateColumnStatisticsForTableOutput) SetErrors(v []*ColumnStatisticsError) *UpdateColumnStatisticsForTableOutput { 47900 s.Errors = v 47901 return s 47902 } 47903 47904 type UpdateConnectionInput struct { 47905 _ struct{} `type:"structure"` 47906 47907 // The ID of the Data Catalog in which the connection resides. If none is provided, 47908 // the Amazon Web Services account ID is used by default. 47909 CatalogId *string `min:"1" type:"string"` 47910 47911 // A ConnectionInput object that redefines the connection in question. 47912 // 47913 // ConnectionInput is a required field 47914 ConnectionInput *ConnectionInput `type:"structure" required:"true"` 47915 47916 // The name of the connection definition to update. 47917 // 47918 // Name is a required field 47919 Name *string `min:"1" type:"string" required:"true"` 47920 } 47921 47922 // String returns the string representation. 47923 // 47924 // API parameter values that are decorated as "sensitive" in the API will not 47925 // be included in the string output. The member name will be present, but the 47926 // value will be replaced with "sensitive". 47927 func (s UpdateConnectionInput) String() string { 47928 return awsutil.Prettify(s) 47929 } 47930 47931 // GoString returns the string representation. 47932 // 47933 // API parameter values that are decorated as "sensitive" in the API will not 47934 // be included in the string output. The member name will be present, but the 47935 // value will be replaced with "sensitive". 47936 func (s UpdateConnectionInput) GoString() string { 47937 return s.String() 47938 } 47939 47940 // Validate inspects the fields of the type to determine if they are valid. 47941 func (s *UpdateConnectionInput) Validate() error { 47942 invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"} 47943 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 47944 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 47945 } 47946 if s.ConnectionInput == nil { 47947 invalidParams.Add(request.NewErrParamRequired("ConnectionInput")) 47948 } 47949 if s.Name == nil { 47950 invalidParams.Add(request.NewErrParamRequired("Name")) 47951 } 47952 if s.Name != nil && len(*s.Name) < 1 { 47953 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 47954 } 47955 if s.ConnectionInput != nil { 47956 if err := s.ConnectionInput.Validate(); err != nil { 47957 invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams)) 47958 } 47959 } 47960 47961 if invalidParams.Len() > 0 { 47962 return invalidParams 47963 } 47964 return nil 47965 } 47966 47967 // SetCatalogId sets the CatalogId field's value. 47968 func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput { 47969 s.CatalogId = &v 47970 return s 47971 } 47972 47973 // SetConnectionInput sets the ConnectionInput field's value. 47974 func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput { 47975 s.ConnectionInput = v 47976 return s 47977 } 47978 47979 // SetName sets the Name field's value. 47980 func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput { 47981 s.Name = &v 47982 return s 47983 } 47984 47985 type UpdateConnectionOutput struct { 47986 _ struct{} `type:"structure"` 47987 } 47988 47989 // String returns the string representation. 47990 // 47991 // API parameter values that are decorated as "sensitive" in the API will not 47992 // be included in the string output. The member name will be present, but the 47993 // value will be replaced with "sensitive". 47994 func (s UpdateConnectionOutput) String() string { 47995 return awsutil.Prettify(s) 47996 } 47997 47998 // GoString returns the string representation. 47999 // 48000 // API parameter values that are decorated as "sensitive" in the API will not 48001 // be included in the string output. The member name will be present, but the 48002 // value will be replaced with "sensitive". 48003 func (s UpdateConnectionOutput) GoString() string { 48004 return s.String() 48005 } 48006 48007 type UpdateCrawlerInput struct { 48008 _ struct{} `type:"structure"` 48009 48010 // A list of custom classifiers that the user has registered. By default, all 48011 // built-in classifiers are included in a crawl, but these custom classifiers 48012 // always override the default classifiers for a given classification. 48013 Classifiers []*string `type:"list"` 48014 48015 // Crawler configuration information. This versioned JSON string allows users 48016 // to specify aspects of a crawler's behavior. For more information, see Configuring 48017 // a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html). 48018 Configuration *string `type:"string"` 48019 48020 // The name of the SecurityConfiguration structure to be used by this crawler. 48021 CrawlerSecurityConfiguration *string `type:"string"` 48022 48023 // The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*. 48024 DatabaseName *string `type:"string"` 48025 48026 // A description of the new crawler. 48027 Description *string `type:"string"` 48028 48029 // Specifies data lineage configuration settings for the crawler. 48030 LineageConfiguration *LineageConfiguration `type:"structure"` 48031 48032 // Name of the new crawler. 48033 // 48034 // Name is a required field 48035 Name *string `min:"1" type:"string" required:"true"` 48036 48037 // A policy that specifies whether to crawl the entire dataset again, or to 48038 // crawl only folders that were added since the last crawler run. 48039 RecrawlPolicy *RecrawlPolicy `type:"structure"` 48040 48041 // The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by 48042 // the new crawler to access customer resources. 48043 Role *string `type:"string"` 48044 48045 // A cron expression used to specify the schedule (see Time-Based Schedules 48046 // for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 48047 // For example, to run something every day at 12:15 UTC, you would specify: 48048 // cron(15 12 * * ? *). 48049 Schedule *string `type:"string"` 48050 48051 // The policy for the crawler's update and deletion behavior. 48052 SchemaChangePolicy *SchemaChangePolicy `type:"structure"` 48053 48054 // The table prefix used for catalog tables that are created. 48055 TablePrefix *string `type:"string"` 48056 48057 // A list of targets to crawl. 48058 Targets *CrawlerTargets `type:"structure"` 48059 } 48060 48061 // String returns the string representation. 48062 // 48063 // API parameter values that are decorated as "sensitive" in the API will not 48064 // be included in the string output. The member name will be present, but the 48065 // value will be replaced with "sensitive". 48066 func (s UpdateCrawlerInput) String() string { 48067 return awsutil.Prettify(s) 48068 } 48069 48070 // GoString returns the string representation. 48071 // 48072 // API parameter values that are decorated as "sensitive" in the API will not 48073 // be included in the string output. The member name will be present, but the 48074 // value will be replaced with "sensitive". 48075 func (s UpdateCrawlerInput) GoString() string { 48076 return s.String() 48077 } 48078 48079 // Validate inspects the fields of the type to determine if they are valid. 48080 func (s *UpdateCrawlerInput) Validate() error { 48081 invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerInput"} 48082 if s.Name == nil { 48083 invalidParams.Add(request.NewErrParamRequired("Name")) 48084 } 48085 if s.Name != nil && len(*s.Name) < 1 { 48086 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48087 } 48088 if s.Targets != nil { 48089 if err := s.Targets.Validate(); err != nil { 48090 invalidParams.AddNested("Targets", err.(request.ErrInvalidParams)) 48091 } 48092 } 48093 48094 if invalidParams.Len() > 0 { 48095 return invalidParams 48096 } 48097 return nil 48098 } 48099 48100 // SetClassifiers sets the Classifiers field's value. 48101 func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput { 48102 s.Classifiers = v 48103 return s 48104 } 48105 48106 // SetConfiguration sets the Configuration field's value. 48107 func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput { 48108 s.Configuration = &v 48109 return s 48110 } 48111 48112 // SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value. 48113 func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput { 48114 s.CrawlerSecurityConfiguration = &v 48115 return s 48116 } 48117 48118 // SetDatabaseName sets the DatabaseName field's value. 48119 func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput { 48120 s.DatabaseName = &v 48121 return s 48122 } 48123 48124 // SetDescription sets the Description field's value. 48125 func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput { 48126 s.Description = &v 48127 return s 48128 } 48129 48130 // SetLineageConfiguration sets the LineageConfiguration field's value. 48131 func (s *UpdateCrawlerInput) SetLineageConfiguration(v *LineageConfiguration) *UpdateCrawlerInput { 48132 s.LineageConfiguration = v 48133 return s 48134 } 48135 48136 // SetName sets the Name field's value. 48137 func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput { 48138 s.Name = &v 48139 return s 48140 } 48141 48142 // SetRecrawlPolicy sets the RecrawlPolicy field's value. 48143 func (s *UpdateCrawlerInput) SetRecrawlPolicy(v *RecrawlPolicy) *UpdateCrawlerInput { 48144 s.RecrawlPolicy = v 48145 return s 48146 } 48147 48148 // SetRole sets the Role field's value. 48149 func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput { 48150 s.Role = &v 48151 return s 48152 } 48153 48154 // SetSchedule sets the Schedule field's value. 48155 func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput { 48156 s.Schedule = &v 48157 return s 48158 } 48159 48160 // SetSchemaChangePolicy sets the SchemaChangePolicy field's value. 48161 func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput { 48162 s.SchemaChangePolicy = v 48163 return s 48164 } 48165 48166 // SetTablePrefix sets the TablePrefix field's value. 48167 func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput { 48168 s.TablePrefix = &v 48169 return s 48170 } 48171 48172 // SetTargets sets the Targets field's value. 48173 func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput { 48174 s.Targets = v 48175 return s 48176 } 48177 48178 type UpdateCrawlerOutput struct { 48179 _ struct{} `type:"structure"` 48180 } 48181 48182 // String returns the string representation. 48183 // 48184 // API parameter values that are decorated as "sensitive" in the API will not 48185 // be included in the string output. The member name will be present, but the 48186 // value will be replaced with "sensitive". 48187 func (s UpdateCrawlerOutput) String() string { 48188 return awsutil.Prettify(s) 48189 } 48190 48191 // GoString returns the string representation. 48192 // 48193 // API parameter values that are decorated as "sensitive" in the API will not 48194 // be included in the string output. The member name will be present, but the 48195 // value will be replaced with "sensitive". 48196 func (s UpdateCrawlerOutput) GoString() string { 48197 return s.String() 48198 } 48199 48200 type UpdateCrawlerScheduleInput struct { 48201 _ struct{} `type:"structure"` 48202 48203 // The name of the crawler whose schedule to update. 48204 // 48205 // CrawlerName is a required field 48206 CrawlerName *string `min:"1" type:"string" required:"true"` 48207 48208 // The updated cron expression used to specify the schedule (see Time-Based 48209 // Schedules for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). 48210 // For example, to run something every day at 12:15 UTC, you would specify: 48211 // cron(15 12 * * ? *). 48212 Schedule *string `type:"string"` 48213 } 48214 48215 // String returns the string representation. 48216 // 48217 // API parameter values that are decorated as "sensitive" in the API will not 48218 // be included in the string output. The member name will be present, but the 48219 // value will be replaced with "sensitive". 48220 func (s UpdateCrawlerScheduleInput) String() string { 48221 return awsutil.Prettify(s) 48222 } 48223 48224 // GoString returns the string representation. 48225 // 48226 // API parameter values that are decorated as "sensitive" in the API will not 48227 // be included in the string output. The member name will be present, but the 48228 // value will be replaced with "sensitive". 48229 func (s UpdateCrawlerScheduleInput) GoString() string { 48230 return s.String() 48231 } 48232 48233 // Validate inspects the fields of the type to determine if they are valid. 48234 func (s *UpdateCrawlerScheduleInput) Validate() error { 48235 invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerScheduleInput"} 48236 if s.CrawlerName == nil { 48237 invalidParams.Add(request.NewErrParamRequired("CrawlerName")) 48238 } 48239 if s.CrawlerName != nil && len(*s.CrawlerName) < 1 { 48240 invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1)) 48241 } 48242 48243 if invalidParams.Len() > 0 { 48244 return invalidParams 48245 } 48246 return nil 48247 } 48248 48249 // SetCrawlerName sets the CrawlerName field's value. 48250 func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput { 48251 s.CrawlerName = &v 48252 return s 48253 } 48254 48255 // SetSchedule sets the Schedule field's value. 48256 func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput { 48257 s.Schedule = &v 48258 return s 48259 } 48260 48261 type UpdateCrawlerScheduleOutput struct { 48262 _ struct{} `type:"structure"` 48263 } 48264 48265 // String returns the string representation. 48266 // 48267 // API parameter values that are decorated as "sensitive" in the API will not 48268 // be included in the string output. The member name will be present, but the 48269 // value will be replaced with "sensitive". 48270 func (s UpdateCrawlerScheduleOutput) String() string { 48271 return awsutil.Prettify(s) 48272 } 48273 48274 // GoString returns the string representation. 48275 // 48276 // API parameter values that are decorated as "sensitive" in the API will not 48277 // be included in the string output. The member name will be present, but the 48278 // value will be replaced with "sensitive". 48279 func (s UpdateCrawlerScheduleOutput) GoString() string { 48280 return s.String() 48281 } 48282 48283 // Specifies a custom CSV classifier to be updated. 48284 type UpdateCsvClassifierRequest struct { 48285 _ struct{} `type:"structure"` 48286 48287 // Enables the processing of files that contain only one column. 48288 AllowSingleColumn *bool `type:"boolean"` 48289 48290 // Indicates whether the CSV file contains a header. 48291 ContainsHeader *string `type:"string" enum:"CsvHeaderOption"` 48292 48293 // A custom symbol to denote what separates each column entry in the row. 48294 Delimiter *string `min:"1" type:"string"` 48295 48296 // Specifies not to trim values before identifying the type of column values. 48297 // The default value is true. 48298 DisableValueTrimming *bool `type:"boolean"` 48299 48300 // A list of strings representing column names. 48301 Header []*string `type:"list"` 48302 48303 // The name of the classifier. 48304 // 48305 // Name is a required field 48306 Name *string `min:"1" type:"string" required:"true"` 48307 48308 // A custom symbol to denote what combines content into a single column value. 48309 // It must be different from the column delimiter. 48310 QuoteSymbol *string `min:"1" type:"string"` 48311 } 48312 48313 // String returns the string representation. 48314 // 48315 // API parameter values that are decorated as "sensitive" in the API will not 48316 // be included in the string output. The member name will be present, but the 48317 // value will be replaced with "sensitive". 48318 func (s UpdateCsvClassifierRequest) String() string { 48319 return awsutil.Prettify(s) 48320 } 48321 48322 // GoString returns the string representation. 48323 // 48324 // API parameter values that are decorated as "sensitive" in the API will not 48325 // be included in the string output. The member name will be present, but the 48326 // value will be replaced with "sensitive". 48327 func (s UpdateCsvClassifierRequest) GoString() string { 48328 return s.String() 48329 } 48330 48331 // Validate inspects the fields of the type to determine if they are valid. 48332 func (s *UpdateCsvClassifierRequest) Validate() error { 48333 invalidParams := request.ErrInvalidParams{Context: "UpdateCsvClassifierRequest"} 48334 if s.Delimiter != nil && len(*s.Delimiter) < 1 { 48335 invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) 48336 } 48337 if s.Name == nil { 48338 invalidParams.Add(request.NewErrParamRequired("Name")) 48339 } 48340 if s.Name != nil && len(*s.Name) < 1 { 48341 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48342 } 48343 if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 { 48344 invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1)) 48345 } 48346 48347 if invalidParams.Len() > 0 { 48348 return invalidParams 48349 } 48350 return nil 48351 } 48352 48353 // SetAllowSingleColumn sets the AllowSingleColumn field's value. 48354 func (s *UpdateCsvClassifierRequest) SetAllowSingleColumn(v bool) *UpdateCsvClassifierRequest { 48355 s.AllowSingleColumn = &v 48356 return s 48357 } 48358 48359 // SetContainsHeader sets the ContainsHeader field's value. 48360 func (s *UpdateCsvClassifierRequest) SetContainsHeader(v string) *UpdateCsvClassifierRequest { 48361 s.ContainsHeader = &v 48362 return s 48363 } 48364 48365 // SetDelimiter sets the Delimiter field's value. 48366 func (s *UpdateCsvClassifierRequest) SetDelimiter(v string) *UpdateCsvClassifierRequest { 48367 s.Delimiter = &v 48368 return s 48369 } 48370 48371 // SetDisableValueTrimming sets the DisableValueTrimming field's value. 48372 func (s *UpdateCsvClassifierRequest) SetDisableValueTrimming(v bool) *UpdateCsvClassifierRequest { 48373 s.DisableValueTrimming = &v 48374 return s 48375 } 48376 48377 // SetHeader sets the Header field's value. 48378 func (s *UpdateCsvClassifierRequest) SetHeader(v []*string) *UpdateCsvClassifierRequest { 48379 s.Header = v 48380 return s 48381 } 48382 48383 // SetName sets the Name field's value. 48384 func (s *UpdateCsvClassifierRequest) SetName(v string) *UpdateCsvClassifierRequest { 48385 s.Name = &v 48386 return s 48387 } 48388 48389 // SetQuoteSymbol sets the QuoteSymbol field's value. 48390 func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest { 48391 s.QuoteSymbol = &v 48392 return s 48393 } 48394 48395 type UpdateDatabaseInput struct { 48396 _ struct{} `type:"structure"` 48397 48398 // The ID of the Data Catalog in which the metadata database resides. If none 48399 // is provided, the Amazon Web Services account ID is used by default. 48400 CatalogId *string `min:"1" type:"string"` 48401 48402 // A DatabaseInput object specifying the new definition of the metadata database 48403 // in the catalog. 48404 // 48405 // DatabaseInput is a required field 48406 DatabaseInput *DatabaseInput `type:"structure" required:"true"` 48407 48408 // The name of the database to update in the catalog. For Hive compatibility, 48409 // this is folded to lowercase. 48410 // 48411 // Name is a required field 48412 Name *string `min:"1" type:"string" required:"true"` 48413 } 48414 48415 // String returns the string representation. 48416 // 48417 // API parameter values that are decorated as "sensitive" in the API will not 48418 // be included in the string output. The member name will be present, but the 48419 // value will be replaced with "sensitive". 48420 func (s UpdateDatabaseInput) String() string { 48421 return awsutil.Prettify(s) 48422 } 48423 48424 // GoString returns the string representation. 48425 // 48426 // API parameter values that are decorated as "sensitive" in the API will not 48427 // be included in the string output. The member name will be present, but the 48428 // value will be replaced with "sensitive". 48429 func (s UpdateDatabaseInput) GoString() string { 48430 return s.String() 48431 } 48432 48433 // Validate inspects the fields of the type to determine if they are valid. 48434 func (s *UpdateDatabaseInput) Validate() error { 48435 invalidParams := request.ErrInvalidParams{Context: "UpdateDatabaseInput"} 48436 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 48437 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 48438 } 48439 if s.DatabaseInput == nil { 48440 invalidParams.Add(request.NewErrParamRequired("DatabaseInput")) 48441 } 48442 if s.Name == nil { 48443 invalidParams.Add(request.NewErrParamRequired("Name")) 48444 } 48445 if s.Name != nil && len(*s.Name) < 1 { 48446 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48447 } 48448 if s.DatabaseInput != nil { 48449 if err := s.DatabaseInput.Validate(); err != nil { 48450 invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams)) 48451 } 48452 } 48453 48454 if invalidParams.Len() > 0 { 48455 return invalidParams 48456 } 48457 return nil 48458 } 48459 48460 // SetCatalogId sets the CatalogId field's value. 48461 func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput { 48462 s.CatalogId = &v 48463 return s 48464 } 48465 48466 // SetDatabaseInput sets the DatabaseInput field's value. 48467 func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput { 48468 s.DatabaseInput = v 48469 return s 48470 } 48471 48472 // SetName sets the Name field's value. 48473 func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput { 48474 s.Name = &v 48475 return s 48476 } 48477 48478 type UpdateDatabaseOutput struct { 48479 _ struct{} `type:"structure"` 48480 } 48481 48482 // String returns the string representation. 48483 // 48484 // API parameter values that are decorated as "sensitive" in the API will not 48485 // be included in the string output. The member name will be present, but the 48486 // value will be replaced with "sensitive". 48487 func (s UpdateDatabaseOutput) String() string { 48488 return awsutil.Prettify(s) 48489 } 48490 48491 // GoString returns the string representation. 48492 // 48493 // API parameter values that are decorated as "sensitive" in the API will not 48494 // be included in the string output. The member name will be present, but the 48495 // value will be replaced with "sensitive". 48496 func (s UpdateDatabaseOutput) GoString() string { 48497 return s.String() 48498 } 48499 48500 type UpdateDevEndpointInput struct { 48501 _ struct{} `type:"structure"` 48502 48503 // The map of arguments to add the map of arguments used to configure the DevEndpoint. 48504 // 48505 // Valid arguments are: 48506 // 48507 // * "--enable-glue-datacatalog": "" 48508 // 48509 // You can specify a version of Python support for development endpoints by 48510 // using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint 48511 // APIs. If no arguments are provided, the version defaults to Python 2. 48512 AddArguments map[string]*string `type:"map"` 48513 48514 // The list of public keys for the DevEndpoint to use. 48515 AddPublicKeys []*string `type:"list"` 48516 48517 // Custom Python or Java libraries to be loaded in the DevEndpoint. 48518 CustomLibraries *DevEndpointCustomLibraries `type:"structure"` 48519 48520 // The list of argument keys to be deleted from the map of arguments used to 48521 // configure the DevEndpoint. 48522 DeleteArguments []*string `type:"list"` 48523 48524 // The list of public keys to be deleted from the DevEndpoint. 48525 DeletePublicKeys []*string `type:"list"` 48526 48527 // The name of the DevEndpoint to be updated. 48528 // 48529 // EndpointName is a required field 48530 EndpointName *string `type:"string" required:"true"` 48531 48532 // The public key for the DevEndpoint to use. 48533 PublicKey *string `type:"string"` 48534 48535 // True if the list of custom libraries to be loaded in the development endpoint 48536 // needs to be updated, or False if otherwise. 48537 UpdateEtlLibraries *bool `type:"boolean"` 48538 } 48539 48540 // String returns the string representation. 48541 // 48542 // API parameter values that are decorated as "sensitive" in the API will not 48543 // be included in the string output. The member name will be present, but the 48544 // value will be replaced with "sensitive". 48545 func (s UpdateDevEndpointInput) String() string { 48546 return awsutil.Prettify(s) 48547 } 48548 48549 // GoString returns the string representation. 48550 // 48551 // API parameter values that are decorated as "sensitive" in the API will not 48552 // be included in the string output. The member name will be present, but the 48553 // value will be replaced with "sensitive". 48554 func (s UpdateDevEndpointInput) GoString() string { 48555 return s.String() 48556 } 48557 48558 // Validate inspects the fields of the type to determine if they are valid. 48559 func (s *UpdateDevEndpointInput) Validate() error { 48560 invalidParams := request.ErrInvalidParams{Context: "UpdateDevEndpointInput"} 48561 if s.EndpointName == nil { 48562 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 48563 } 48564 48565 if invalidParams.Len() > 0 { 48566 return invalidParams 48567 } 48568 return nil 48569 } 48570 48571 // SetAddArguments sets the AddArguments field's value. 48572 func (s *UpdateDevEndpointInput) SetAddArguments(v map[string]*string) *UpdateDevEndpointInput { 48573 s.AddArguments = v 48574 return s 48575 } 48576 48577 // SetAddPublicKeys sets the AddPublicKeys field's value. 48578 func (s *UpdateDevEndpointInput) SetAddPublicKeys(v []*string) *UpdateDevEndpointInput { 48579 s.AddPublicKeys = v 48580 return s 48581 } 48582 48583 // SetCustomLibraries sets the CustomLibraries field's value. 48584 func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput { 48585 s.CustomLibraries = v 48586 return s 48587 } 48588 48589 // SetDeleteArguments sets the DeleteArguments field's value. 48590 func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput { 48591 s.DeleteArguments = v 48592 return s 48593 } 48594 48595 // SetDeletePublicKeys sets the DeletePublicKeys field's value. 48596 func (s *UpdateDevEndpointInput) SetDeletePublicKeys(v []*string) *UpdateDevEndpointInput { 48597 s.DeletePublicKeys = v 48598 return s 48599 } 48600 48601 // SetEndpointName sets the EndpointName field's value. 48602 func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput { 48603 s.EndpointName = &v 48604 return s 48605 } 48606 48607 // SetPublicKey sets the PublicKey field's value. 48608 func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput { 48609 s.PublicKey = &v 48610 return s 48611 } 48612 48613 // SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value. 48614 func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput { 48615 s.UpdateEtlLibraries = &v 48616 return s 48617 } 48618 48619 type UpdateDevEndpointOutput struct { 48620 _ struct{} `type:"structure"` 48621 } 48622 48623 // String returns the string representation. 48624 // 48625 // API parameter values that are decorated as "sensitive" in the API will not 48626 // be included in the string output. The member name will be present, but the 48627 // value will be replaced with "sensitive". 48628 func (s UpdateDevEndpointOutput) String() string { 48629 return awsutil.Prettify(s) 48630 } 48631 48632 // GoString returns the string representation. 48633 // 48634 // API parameter values that are decorated as "sensitive" in the API will not 48635 // be included in the string output. The member name will be present, but the 48636 // value will be replaced with "sensitive". 48637 func (s UpdateDevEndpointOutput) GoString() string { 48638 return s.String() 48639 } 48640 48641 // Specifies a grok classifier to update when passed to UpdateClassifier. 48642 type UpdateGrokClassifierRequest struct { 48643 _ struct{} `type:"structure"` 48644 48645 // An identifier of the data format that the classifier matches, such as Twitter, 48646 // JSON, Omniture logs, Amazon CloudWatch Logs, and so on. 48647 Classification *string `type:"string"` 48648 48649 // Optional custom grok patterns used by this classifier. 48650 CustomPatterns *string `type:"string"` 48651 48652 // The grok pattern used by this classifier. 48653 GrokPattern *string `min:"1" type:"string"` 48654 48655 // The name of the GrokClassifier. 48656 // 48657 // Name is a required field 48658 Name *string `min:"1" type:"string" required:"true"` 48659 } 48660 48661 // String returns the string representation. 48662 // 48663 // API parameter values that are decorated as "sensitive" in the API will not 48664 // be included in the string output. The member name will be present, but the 48665 // value will be replaced with "sensitive". 48666 func (s UpdateGrokClassifierRequest) String() string { 48667 return awsutil.Prettify(s) 48668 } 48669 48670 // GoString returns the string representation. 48671 // 48672 // API parameter values that are decorated as "sensitive" in the API will not 48673 // be included in the string output. The member name will be present, but the 48674 // value will be replaced with "sensitive". 48675 func (s UpdateGrokClassifierRequest) GoString() string { 48676 return s.String() 48677 } 48678 48679 // Validate inspects the fields of the type to determine if they are valid. 48680 func (s *UpdateGrokClassifierRequest) Validate() error { 48681 invalidParams := request.ErrInvalidParams{Context: "UpdateGrokClassifierRequest"} 48682 if s.GrokPattern != nil && len(*s.GrokPattern) < 1 { 48683 invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1)) 48684 } 48685 if s.Name == nil { 48686 invalidParams.Add(request.NewErrParamRequired("Name")) 48687 } 48688 if s.Name != nil && len(*s.Name) < 1 { 48689 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48690 } 48691 48692 if invalidParams.Len() > 0 { 48693 return invalidParams 48694 } 48695 return nil 48696 } 48697 48698 // SetClassification sets the Classification field's value. 48699 func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest { 48700 s.Classification = &v 48701 return s 48702 } 48703 48704 // SetCustomPatterns sets the CustomPatterns field's value. 48705 func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest { 48706 s.CustomPatterns = &v 48707 return s 48708 } 48709 48710 // SetGrokPattern sets the GrokPattern field's value. 48711 func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest { 48712 s.GrokPattern = &v 48713 return s 48714 } 48715 48716 // SetName sets the Name field's value. 48717 func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest { 48718 s.Name = &v 48719 return s 48720 } 48721 48722 type UpdateJobInput struct { 48723 _ struct{} `type:"structure"` 48724 48725 // The name of the job definition to update. 48726 // 48727 // JobName is a required field 48728 JobName *string `min:"1" type:"string" required:"true"` 48729 48730 // Specifies the values with which to update the job definition. 48731 // 48732 // JobUpdate is a required field 48733 JobUpdate *JobUpdate `type:"structure" required:"true"` 48734 } 48735 48736 // String returns the string representation. 48737 // 48738 // API parameter values that are decorated as "sensitive" in the API will not 48739 // be included in the string output. The member name will be present, but the 48740 // value will be replaced with "sensitive". 48741 func (s UpdateJobInput) String() string { 48742 return awsutil.Prettify(s) 48743 } 48744 48745 // GoString returns the string representation. 48746 // 48747 // API parameter values that are decorated as "sensitive" in the API will not 48748 // be included in the string output. The member name will be present, but the 48749 // value will be replaced with "sensitive". 48750 func (s UpdateJobInput) GoString() string { 48751 return s.String() 48752 } 48753 48754 // Validate inspects the fields of the type to determine if they are valid. 48755 func (s *UpdateJobInput) Validate() error { 48756 invalidParams := request.ErrInvalidParams{Context: "UpdateJobInput"} 48757 if s.JobName == nil { 48758 invalidParams.Add(request.NewErrParamRequired("JobName")) 48759 } 48760 if s.JobName != nil && len(*s.JobName) < 1 { 48761 invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) 48762 } 48763 if s.JobUpdate == nil { 48764 invalidParams.Add(request.NewErrParamRequired("JobUpdate")) 48765 } 48766 if s.JobUpdate != nil { 48767 if err := s.JobUpdate.Validate(); err != nil { 48768 invalidParams.AddNested("JobUpdate", err.(request.ErrInvalidParams)) 48769 } 48770 } 48771 48772 if invalidParams.Len() > 0 { 48773 return invalidParams 48774 } 48775 return nil 48776 } 48777 48778 // SetJobName sets the JobName field's value. 48779 func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput { 48780 s.JobName = &v 48781 return s 48782 } 48783 48784 // SetJobUpdate sets the JobUpdate field's value. 48785 func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput { 48786 s.JobUpdate = v 48787 return s 48788 } 48789 48790 type UpdateJobOutput struct { 48791 _ struct{} `type:"structure"` 48792 48793 // Returns the name of the updated job definition. 48794 JobName *string `min:"1" type:"string"` 48795 } 48796 48797 // String returns the string representation. 48798 // 48799 // API parameter values that are decorated as "sensitive" in the API will not 48800 // be included in the string output. The member name will be present, but the 48801 // value will be replaced with "sensitive". 48802 func (s UpdateJobOutput) String() string { 48803 return awsutil.Prettify(s) 48804 } 48805 48806 // GoString returns the string representation. 48807 // 48808 // API parameter values that are decorated as "sensitive" in the API will not 48809 // be included in the string output. The member name will be present, but the 48810 // value will be replaced with "sensitive". 48811 func (s UpdateJobOutput) GoString() string { 48812 return s.String() 48813 } 48814 48815 // SetJobName sets the JobName field's value. 48816 func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput { 48817 s.JobName = &v 48818 return s 48819 } 48820 48821 // Specifies a JSON classifier to be updated. 48822 type UpdateJsonClassifierRequest struct { 48823 _ struct{} `type:"structure"` 48824 48825 // A JsonPath string defining the JSON data for the classifier to classify. 48826 // Glue supports a subset of JsonPath, as described in Writing JsonPath Custom 48827 // Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json). 48828 JsonPath *string `type:"string"` 48829 48830 // The name of the classifier. 48831 // 48832 // Name is a required field 48833 Name *string `min:"1" type:"string" required:"true"` 48834 } 48835 48836 // String returns the string representation. 48837 // 48838 // API parameter values that are decorated as "sensitive" in the API will not 48839 // be included in the string output. The member name will be present, but the 48840 // value will be replaced with "sensitive". 48841 func (s UpdateJsonClassifierRequest) String() string { 48842 return awsutil.Prettify(s) 48843 } 48844 48845 // GoString returns the string representation. 48846 // 48847 // API parameter values that are decorated as "sensitive" in the API will not 48848 // be included in the string output. The member name will be present, but the 48849 // value will be replaced with "sensitive". 48850 func (s UpdateJsonClassifierRequest) GoString() string { 48851 return s.String() 48852 } 48853 48854 // Validate inspects the fields of the type to determine if they are valid. 48855 func (s *UpdateJsonClassifierRequest) Validate() error { 48856 invalidParams := request.ErrInvalidParams{Context: "UpdateJsonClassifierRequest"} 48857 if s.Name == nil { 48858 invalidParams.Add(request.NewErrParamRequired("Name")) 48859 } 48860 if s.Name != nil && len(*s.Name) < 1 { 48861 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48862 } 48863 48864 if invalidParams.Len() > 0 { 48865 return invalidParams 48866 } 48867 return nil 48868 } 48869 48870 // SetJsonPath sets the JsonPath field's value. 48871 func (s *UpdateJsonClassifierRequest) SetJsonPath(v string) *UpdateJsonClassifierRequest { 48872 s.JsonPath = &v 48873 return s 48874 } 48875 48876 // SetName sets the Name field's value. 48877 func (s *UpdateJsonClassifierRequest) SetName(v string) *UpdateJsonClassifierRequest { 48878 s.Name = &v 48879 return s 48880 } 48881 48882 type UpdateMLTransformInput struct { 48883 _ struct{} `type:"structure"` 48884 48885 // A description of the transform. The default is an empty string. 48886 Description *string `type:"string"` 48887 48888 // This value determines which version of Glue this machine learning transform 48889 // is compatible with. Glue 1.0 is recommended for most customers. If the value 48890 // is not set, the Glue compatibility defaults to Glue 0.9. For more information, 48891 // see Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions) 48892 // in the developer guide. 48893 GlueVersion *string `min:"1" type:"string"` 48894 48895 // The number of Glue data processing units (DPUs) that are allocated to task 48896 // runs for this transform. You can allocate from 2 to 100 DPUs; the default 48897 // is 10. A DPU is a relative measure of processing power that consists of 4 48898 // vCPUs of compute capacity and 16 GB of memory. For more information, see 48899 // the Glue pricing page (https://aws.amazon.com/glue/pricing/). 48900 // 48901 // When the WorkerType field is set to a value other than Standard, the MaxCapacity 48902 // field is set automatically and becomes read-only. 48903 MaxCapacity *float64 `type:"double"` 48904 48905 // The maximum number of times to retry a task for this transform after a task 48906 // run fails. 48907 MaxRetries *int64 `type:"integer"` 48908 48909 // The unique name that you gave the transform when you created it. 48910 Name *string `min:"1" type:"string"` 48911 48912 // The number of workers of a defined workerType that are allocated when this 48913 // task runs. 48914 NumberOfWorkers *int64 `type:"integer"` 48915 48916 // The configuration parameters that are specific to the transform type (algorithm) 48917 // used. Conditionally dependent on the transform type. 48918 Parameters *TransformParameters `type:"structure"` 48919 48920 // The name or Amazon Resource Name (ARN) of the IAM role with the required 48921 // permissions. 48922 Role *string `type:"string"` 48923 48924 // The timeout for a task run for this transform in minutes. This is the maximum 48925 // time that a task run for this transform can consume resources before it is 48926 // terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). 48927 Timeout *int64 `min:"1" type:"integer"` 48928 48929 // A unique identifier that was generated when the transform was created. 48930 // 48931 // TransformId is a required field 48932 TransformId *string `min:"1" type:"string" required:"true"` 48933 48934 // The type of predefined worker that is allocated when this task runs. Accepts 48935 // a value of Standard, G.1X, or G.2X. 48936 // 48937 // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of 48938 // memory and a 50GB disk, and 2 executors per worker. 48939 // 48940 // * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory 48941 // and a 64GB disk, and 1 executor per worker. 48942 // 48943 // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory 48944 // and a 128GB disk, and 1 executor per worker. 48945 WorkerType *string `type:"string" enum:"WorkerType"` 48946 } 48947 48948 // String returns the string representation. 48949 // 48950 // API parameter values that are decorated as "sensitive" in the API will not 48951 // be included in the string output. The member name will be present, but the 48952 // value will be replaced with "sensitive". 48953 func (s UpdateMLTransformInput) String() string { 48954 return awsutil.Prettify(s) 48955 } 48956 48957 // GoString returns the string representation. 48958 // 48959 // API parameter values that are decorated as "sensitive" in the API will not 48960 // be included in the string output. The member name will be present, but the 48961 // value will be replaced with "sensitive". 48962 func (s UpdateMLTransformInput) GoString() string { 48963 return s.String() 48964 } 48965 48966 // Validate inspects the fields of the type to determine if they are valid. 48967 func (s *UpdateMLTransformInput) Validate() error { 48968 invalidParams := request.ErrInvalidParams{Context: "UpdateMLTransformInput"} 48969 if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { 48970 invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) 48971 } 48972 if s.Name != nil && len(*s.Name) < 1 { 48973 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 48974 } 48975 if s.Timeout != nil && *s.Timeout < 1 { 48976 invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) 48977 } 48978 if s.TransformId == nil { 48979 invalidParams.Add(request.NewErrParamRequired("TransformId")) 48980 } 48981 if s.TransformId != nil && len(*s.TransformId) < 1 { 48982 invalidParams.Add(request.NewErrParamMinLen("TransformId", 1)) 48983 } 48984 if s.Parameters != nil { 48985 if err := s.Parameters.Validate(); err != nil { 48986 invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams)) 48987 } 48988 } 48989 48990 if invalidParams.Len() > 0 { 48991 return invalidParams 48992 } 48993 return nil 48994 } 48995 48996 // SetDescription sets the Description field's value. 48997 func (s *UpdateMLTransformInput) SetDescription(v string) *UpdateMLTransformInput { 48998 s.Description = &v 48999 return s 49000 } 49001 49002 // SetGlueVersion sets the GlueVersion field's value. 49003 func (s *UpdateMLTransformInput) SetGlueVersion(v string) *UpdateMLTransformInput { 49004 s.GlueVersion = &v 49005 return s 49006 } 49007 49008 // SetMaxCapacity sets the MaxCapacity field's value. 49009 func (s *UpdateMLTransformInput) SetMaxCapacity(v float64) *UpdateMLTransformInput { 49010 s.MaxCapacity = &v 49011 return s 49012 } 49013 49014 // SetMaxRetries sets the MaxRetries field's value. 49015 func (s *UpdateMLTransformInput) SetMaxRetries(v int64) *UpdateMLTransformInput { 49016 s.MaxRetries = &v 49017 return s 49018 } 49019 49020 // SetName sets the Name field's value. 49021 func (s *UpdateMLTransformInput) SetName(v string) *UpdateMLTransformInput { 49022 s.Name = &v 49023 return s 49024 } 49025 49026 // SetNumberOfWorkers sets the NumberOfWorkers field's value. 49027 func (s *UpdateMLTransformInput) SetNumberOfWorkers(v int64) *UpdateMLTransformInput { 49028 s.NumberOfWorkers = &v 49029 return s 49030 } 49031 49032 // SetParameters sets the Parameters field's value. 49033 func (s *UpdateMLTransformInput) SetParameters(v *TransformParameters) *UpdateMLTransformInput { 49034 s.Parameters = v 49035 return s 49036 } 49037 49038 // SetRole sets the Role field's value. 49039 func (s *UpdateMLTransformInput) SetRole(v string) *UpdateMLTransformInput { 49040 s.Role = &v 49041 return s 49042 } 49043 49044 // SetTimeout sets the Timeout field's value. 49045 func (s *UpdateMLTransformInput) SetTimeout(v int64) *UpdateMLTransformInput { 49046 s.Timeout = &v 49047 return s 49048 } 49049 49050 // SetTransformId sets the TransformId field's value. 49051 func (s *UpdateMLTransformInput) SetTransformId(v string) *UpdateMLTransformInput { 49052 s.TransformId = &v 49053 return s 49054 } 49055 49056 // SetWorkerType sets the WorkerType field's value. 49057 func (s *UpdateMLTransformInput) SetWorkerType(v string) *UpdateMLTransformInput { 49058 s.WorkerType = &v 49059 return s 49060 } 49061 49062 type UpdateMLTransformOutput struct { 49063 _ struct{} `type:"structure"` 49064 49065 // The unique identifier for the transform that was updated. 49066 TransformId *string `min:"1" type:"string"` 49067 } 49068 49069 // String returns the string representation. 49070 // 49071 // API parameter values that are decorated as "sensitive" in the API will not 49072 // be included in the string output. The member name will be present, but the 49073 // value will be replaced with "sensitive". 49074 func (s UpdateMLTransformOutput) String() string { 49075 return awsutil.Prettify(s) 49076 } 49077 49078 // GoString returns the string representation. 49079 // 49080 // API parameter values that are decorated as "sensitive" in the API will not 49081 // be included in the string output. The member name will be present, but the 49082 // value will be replaced with "sensitive". 49083 func (s UpdateMLTransformOutput) GoString() string { 49084 return s.String() 49085 } 49086 49087 // SetTransformId sets the TransformId field's value. 49088 func (s *UpdateMLTransformOutput) SetTransformId(v string) *UpdateMLTransformOutput { 49089 s.TransformId = &v 49090 return s 49091 } 49092 49093 type UpdatePartitionInput struct { 49094 _ struct{} `type:"structure"` 49095 49096 // The ID of the Data Catalog where the partition to be updated resides. If 49097 // none is provided, the Amazon Web Services account ID is used by default. 49098 CatalogId *string `min:"1" type:"string"` 49099 49100 // The name of the catalog database in which the table in question resides. 49101 // 49102 // DatabaseName is a required field 49103 DatabaseName *string `min:"1" type:"string" required:"true"` 49104 49105 // The new partition object to update the partition to. 49106 // 49107 // The Values property can't be changed. If you want to change the partition 49108 // key values for a partition, delete and recreate the partition. 49109 // 49110 // PartitionInput is a required field 49111 PartitionInput *PartitionInput `type:"structure" required:"true"` 49112 49113 // List of partition key values that define the partition to update. 49114 // 49115 // PartitionValueList is a required field 49116 PartitionValueList []*string `type:"list" required:"true"` 49117 49118 // The name of the table in which the partition to be updated is located. 49119 // 49120 // TableName is a required field 49121 TableName *string `min:"1" type:"string" required:"true"` 49122 } 49123 49124 // String returns the string representation. 49125 // 49126 // API parameter values that are decorated as "sensitive" in the API will not 49127 // be included in the string output. The member name will be present, but the 49128 // value will be replaced with "sensitive". 49129 func (s UpdatePartitionInput) String() string { 49130 return awsutil.Prettify(s) 49131 } 49132 49133 // GoString returns the string representation. 49134 // 49135 // API parameter values that are decorated as "sensitive" in the API will not 49136 // be included in the string output. The member name will be present, but the 49137 // value will be replaced with "sensitive". 49138 func (s UpdatePartitionInput) GoString() string { 49139 return s.String() 49140 } 49141 49142 // Validate inspects the fields of the type to determine if they are valid. 49143 func (s *UpdatePartitionInput) Validate() error { 49144 invalidParams := request.ErrInvalidParams{Context: "UpdatePartitionInput"} 49145 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 49146 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 49147 } 49148 if s.DatabaseName == nil { 49149 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 49150 } 49151 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 49152 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 49153 } 49154 if s.PartitionInput == nil { 49155 invalidParams.Add(request.NewErrParamRequired("PartitionInput")) 49156 } 49157 if s.PartitionValueList == nil { 49158 invalidParams.Add(request.NewErrParamRequired("PartitionValueList")) 49159 } 49160 if s.TableName == nil { 49161 invalidParams.Add(request.NewErrParamRequired("TableName")) 49162 } 49163 if s.TableName != nil && len(*s.TableName) < 1 { 49164 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 49165 } 49166 if s.PartitionInput != nil { 49167 if err := s.PartitionInput.Validate(); err != nil { 49168 invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams)) 49169 } 49170 } 49171 49172 if invalidParams.Len() > 0 { 49173 return invalidParams 49174 } 49175 return nil 49176 } 49177 49178 // SetCatalogId sets the CatalogId field's value. 49179 func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput { 49180 s.CatalogId = &v 49181 return s 49182 } 49183 49184 // SetDatabaseName sets the DatabaseName field's value. 49185 func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput { 49186 s.DatabaseName = &v 49187 return s 49188 } 49189 49190 // SetPartitionInput sets the PartitionInput field's value. 49191 func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput { 49192 s.PartitionInput = v 49193 return s 49194 } 49195 49196 // SetPartitionValueList sets the PartitionValueList field's value. 49197 func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput { 49198 s.PartitionValueList = v 49199 return s 49200 } 49201 49202 // SetTableName sets the TableName field's value. 49203 func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput { 49204 s.TableName = &v 49205 return s 49206 } 49207 49208 type UpdatePartitionOutput struct { 49209 _ struct{} `type:"structure"` 49210 } 49211 49212 // String returns the string representation. 49213 // 49214 // API parameter values that are decorated as "sensitive" in the API will not 49215 // be included in the string output. The member name will be present, but the 49216 // value will be replaced with "sensitive". 49217 func (s UpdatePartitionOutput) String() string { 49218 return awsutil.Prettify(s) 49219 } 49220 49221 // GoString returns the string representation. 49222 // 49223 // API parameter values that are decorated as "sensitive" in the API will not 49224 // be included in the string output. The member name will be present, but the 49225 // value will be replaced with "sensitive". 49226 func (s UpdatePartitionOutput) GoString() string { 49227 return s.String() 49228 } 49229 49230 type UpdateRegistryInput struct { 49231 _ struct{} `type:"structure"` 49232 49233 // A description of the registry. If description is not provided, this field 49234 // will not be updated. 49235 // 49236 // Description is a required field 49237 Description *string `type:"string" required:"true"` 49238 49239 // This is a wrapper structure that may contain the registry name and Amazon 49240 // Resource Name (ARN). 49241 // 49242 // RegistryId is a required field 49243 RegistryId *RegistryId `type:"structure" required:"true"` 49244 } 49245 49246 // String returns the string representation. 49247 // 49248 // API parameter values that are decorated as "sensitive" in the API will not 49249 // be included in the string output. The member name will be present, but the 49250 // value will be replaced with "sensitive". 49251 func (s UpdateRegistryInput) String() string { 49252 return awsutil.Prettify(s) 49253 } 49254 49255 // GoString returns the string representation. 49256 // 49257 // API parameter values that are decorated as "sensitive" in the API will not 49258 // be included in the string output. The member name will be present, but the 49259 // value will be replaced with "sensitive". 49260 func (s UpdateRegistryInput) GoString() string { 49261 return s.String() 49262 } 49263 49264 // Validate inspects the fields of the type to determine if they are valid. 49265 func (s *UpdateRegistryInput) Validate() error { 49266 invalidParams := request.ErrInvalidParams{Context: "UpdateRegistryInput"} 49267 if s.Description == nil { 49268 invalidParams.Add(request.NewErrParamRequired("Description")) 49269 } 49270 if s.RegistryId == nil { 49271 invalidParams.Add(request.NewErrParamRequired("RegistryId")) 49272 } 49273 if s.RegistryId != nil { 49274 if err := s.RegistryId.Validate(); err != nil { 49275 invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams)) 49276 } 49277 } 49278 49279 if invalidParams.Len() > 0 { 49280 return invalidParams 49281 } 49282 return nil 49283 } 49284 49285 // SetDescription sets the Description field's value. 49286 func (s *UpdateRegistryInput) SetDescription(v string) *UpdateRegistryInput { 49287 s.Description = &v 49288 return s 49289 } 49290 49291 // SetRegistryId sets the RegistryId field's value. 49292 func (s *UpdateRegistryInput) SetRegistryId(v *RegistryId) *UpdateRegistryInput { 49293 s.RegistryId = v 49294 return s 49295 } 49296 49297 type UpdateRegistryOutput struct { 49298 _ struct{} `type:"structure"` 49299 49300 // The Amazon Resource name (ARN) of the updated registry. 49301 RegistryArn *string `min:"1" type:"string"` 49302 49303 // The name of the updated registry. 49304 RegistryName *string `min:"1" type:"string"` 49305 } 49306 49307 // String returns the string representation. 49308 // 49309 // API parameter values that are decorated as "sensitive" in the API will not 49310 // be included in the string output. The member name will be present, but the 49311 // value will be replaced with "sensitive". 49312 func (s UpdateRegistryOutput) String() string { 49313 return awsutil.Prettify(s) 49314 } 49315 49316 // GoString returns the string representation. 49317 // 49318 // API parameter values that are decorated as "sensitive" in the API will not 49319 // be included in the string output. The member name will be present, but the 49320 // value will be replaced with "sensitive". 49321 func (s UpdateRegistryOutput) GoString() string { 49322 return s.String() 49323 } 49324 49325 // SetRegistryArn sets the RegistryArn field's value. 49326 func (s *UpdateRegistryOutput) SetRegistryArn(v string) *UpdateRegistryOutput { 49327 s.RegistryArn = &v 49328 return s 49329 } 49330 49331 // SetRegistryName sets the RegistryName field's value. 49332 func (s *UpdateRegistryOutput) SetRegistryName(v string) *UpdateRegistryOutput { 49333 s.RegistryName = &v 49334 return s 49335 } 49336 49337 type UpdateSchemaInput struct { 49338 _ struct{} `type:"structure"` 49339 49340 // The new compatibility setting for the schema. 49341 Compatibility *string `type:"string" enum:"Compatibility"` 49342 49343 // The new description for the schema. 49344 Description *string `type:"string"` 49345 49346 // This is a wrapper structure to contain schema identity fields. The structure 49347 // contains: 49348 // 49349 // * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One 49350 // of SchemaArn or SchemaName has to be provided. 49351 // 49352 // * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName 49353 // has to be provided. 49354 // 49355 // SchemaId is a required field 49356 SchemaId *SchemaId `type:"structure" required:"true"` 49357 49358 // Version number required for check pointing. One of VersionNumber or Compatibility 49359 // has to be provided. 49360 SchemaVersionNumber *SchemaVersionNumber `type:"structure"` 49361 } 49362 49363 // String returns the string representation. 49364 // 49365 // API parameter values that are decorated as "sensitive" in the API will not 49366 // be included in the string output. The member name will be present, but the 49367 // value will be replaced with "sensitive". 49368 func (s UpdateSchemaInput) String() string { 49369 return awsutil.Prettify(s) 49370 } 49371 49372 // GoString returns the string representation. 49373 // 49374 // API parameter values that are decorated as "sensitive" in the API will not 49375 // be included in the string output. The member name will be present, but the 49376 // value will be replaced with "sensitive". 49377 func (s UpdateSchemaInput) GoString() string { 49378 return s.String() 49379 } 49380 49381 // Validate inspects the fields of the type to determine if they are valid. 49382 func (s *UpdateSchemaInput) Validate() error { 49383 invalidParams := request.ErrInvalidParams{Context: "UpdateSchemaInput"} 49384 if s.SchemaId == nil { 49385 invalidParams.Add(request.NewErrParamRequired("SchemaId")) 49386 } 49387 if s.SchemaId != nil { 49388 if err := s.SchemaId.Validate(); err != nil { 49389 invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams)) 49390 } 49391 } 49392 if s.SchemaVersionNumber != nil { 49393 if err := s.SchemaVersionNumber.Validate(); err != nil { 49394 invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams)) 49395 } 49396 } 49397 49398 if invalidParams.Len() > 0 { 49399 return invalidParams 49400 } 49401 return nil 49402 } 49403 49404 // SetCompatibility sets the Compatibility field's value. 49405 func (s *UpdateSchemaInput) SetCompatibility(v string) *UpdateSchemaInput { 49406 s.Compatibility = &v 49407 return s 49408 } 49409 49410 // SetDescription sets the Description field's value. 49411 func (s *UpdateSchemaInput) SetDescription(v string) *UpdateSchemaInput { 49412 s.Description = &v 49413 return s 49414 } 49415 49416 // SetSchemaId sets the SchemaId field's value. 49417 func (s *UpdateSchemaInput) SetSchemaId(v *SchemaId) *UpdateSchemaInput { 49418 s.SchemaId = v 49419 return s 49420 } 49421 49422 // SetSchemaVersionNumber sets the SchemaVersionNumber field's value. 49423 func (s *UpdateSchemaInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *UpdateSchemaInput { 49424 s.SchemaVersionNumber = v 49425 return s 49426 } 49427 49428 type UpdateSchemaOutput struct { 49429 _ struct{} `type:"structure"` 49430 49431 // The name of the registry that contains the schema. 49432 RegistryName *string `min:"1" type:"string"` 49433 49434 // The Amazon Resource Name (ARN) of the schema. 49435 SchemaArn *string `min:"1" type:"string"` 49436 49437 // The name of the schema. 49438 SchemaName *string `min:"1" type:"string"` 49439 } 49440 49441 // String returns the string representation. 49442 // 49443 // API parameter values that are decorated as "sensitive" in the API will not 49444 // be included in the string output. The member name will be present, but the 49445 // value will be replaced with "sensitive". 49446 func (s UpdateSchemaOutput) String() string { 49447 return awsutil.Prettify(s) 49448 } 49449 49450 // GoString returns the string representation. 49451 // 49452 // API parameter values that are decorated as "sensitive" in the API will not 49453 // be included in the string output. The member name will be present, but the 49454 // value will be replaced with "sensitive". 49455 func (s UpdateSchemaOutput) GoString() string { 49456 return s.String() 49457 } 49458 49459 // SetRegistryName sets the RegistryName field's value. 49460 func (s *UpdateSchemaOutput) SetRegistryName(v string) *UpdateSchemaOutput { 49461 s.RegistryName = &v 49462 return s 49463 } 49464 49465 // SetSchemaArn sets the SchemaArn field's value. 49466 func (s *UpdateSchemaOutput) SetSchemaArn(v string) *UpdateSchemaOutput { 49467 s.SchemaArn = &v 49468 return s 49469 } 49470 49471 // SetSchemaName sets the SchemaName field's value. 49472 func (s *UpdateSchemaOutput) SetSchemaName(v string) *UpdateSchemaOutput { 49473 s.SchemaName = &v 49474 return s 49475 } 49476 49477 type UpdateTableInput struct { 49478 _ struct{} `type:"structure"` 49479 49480 // The ID of the Data Catalog where the table resides. If none is provided, 49481 // the Amazon Web Services account ID is used by default. 49482 CatalogId *string `min:"1" type:"string"` 49483 49484 // The name of the catalog database in which the table resides. For Hive compatibility, 49485 // this name is entirely lowercase. 49486 // 49487 // DatabaseName is a required field 49488 DatabaseName *string `min:"1" type:"string" required:"true"` 49489 49490 // By default, UpdateTable always creates an archived version of the table before 49491 // updating it. However, if skipArchive is set to true, UpdateTable does not 49492 // create the archived version. 49493 SkipArchive *bool `type:"boolean"` 49494 49495 // An updated TableInput object to define the metadata table in the catalog. 49496 // 49497 // TableInput is a required field 49498 TableInput *TableInput `type:"structure" required:"true"` 49499 } 49500 49501 // String returns the string representation. 49502 // 49503 // API parameter values that are decorated as "sensitive" in the API will not 49504 // be included in the string output. The member name will be present, but the 49505 // value will be replaced with "sensitive". 49506 func (s UpdateTableInput) String() string { 49507 return awsutil.Prettify(s) 49508 } 49509 49510 // GoString returns the string representation. 49511 // 49512 // API parameter values that are decorated as "sensitive" in the API will not 49513 // be included in the string output. The member name will be present, but the 49514 // value will be replaced with "sensitive". 49515 func (s UpdateTableInput) GoString() string { 49516 return s.String() 49517 } 49518 49519 // Validate inspects the fields of the type to determine if they are valid. 49520 func (s *UpdateTableInput) Validate() error { 49521 invalidParams := request.ErrInvalidParams{Context: "UpdateTableInput"} 49522 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 49523 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 49524 } 49525 if s.DatabaseName == nil { 49526 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 49527 } 49528 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 49529 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 49530 } 49531 if s.TableInput == nil { 49532 invalidParams.Add(request.NewErrParamRequired("TableInput")) 49533 } 49534 if s.TableInput != nil { 49535 if err := s.TableInput.Validate(); err != nil { 49536 invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams)) 49537 } 49538 } 49539 49540 if invalidParams.Len() > 0 { 49541 return invalidParams 49542 } 49543 return nil 49544 } 49545 49546 // SetCatalogId sets the CatalogId field's value. 49547 func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput { 49548 s.CatalogId = &v 49549 return s 49550 } 49551 49552 // SetDatabaseName sets the DatabaseName field's value. 49553 func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput { 49554 s.DatabaseName = &v 49555 return s 49556 } 49557 49558 // SetSkipArchive sets the SkipArchive field's value. 49559 func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput { 49560 s.SkipArchive = &v 49561 return s 49562 } 49563 49564 // SetTableInput sets the TableInput field's value. 49565 func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput { 49566 s.TableInput = v 49567 return s 49568 } 49569 49570 type UpdateTableOutput struct { 49571 _ struct{} `type:"structure"` 49572 } 49573 49574 // String returns the string representation. 49575 // 49576 // API parameter values that are decorated as "sensitive" in the API will not 49577 // be included in the string output. The member name will be present, but the 49578 // value will be replaced with "sensitive". 49579 func (s UpdateTableOutput) String() string { 49580 return awsutil.Prettify(s) 49581 } 49582 49583 // GoString returns the string representation. 49584 // 49585 // API parameter values that are decorated as "sensitive" in the API will not 49586 // be included in the string output. The member name will be present, but the 49587 // value will be replaced with "sensitive". 49588 func (s UpdateTableOutput) GoString() string { 49589 return s.String() 49590 } 49591 49592 type UpdateTriggerInput struct { 49593 _ struct{} `type:"structure"` 49594 49595 // The name of the trigger to update. 49596 // 49597 // Name is a required field 49598 Name *string `min:"1" type:"string" required:"true"` 49599 49600 // The new values with which to update the trigger. 49601 // 49602 // TriggerUpdate is a required field 49603 TriggerUpdate *TriggerUpdate `type:"structure" required:"true"` 49604 } 49605 49606 // String returns the string representation. 49607 // 49608 // API parameter values that are decorated as "sensitive" in the API will not 49609 // be included in the string output. The member name will be present, but the 49610 // value will be replaced with "sensitive". 49611 func (s UpdateTriggerInput) String() string { 49612 return awsutil.Prettify(s) 49613 } 49614 49615 // GoString returns the string representation. 49616 // 49617 // API parameter values that are decorated as "sensitive" in the API will not 49618 // be included in the string output. The member name will be present, but the 49619 // value will be replaced with "sensitive". 49620 func (s UpdateTriggerInput) GoString() string { 49621 return s.String() 49622 } 49623 49624 // Validate inspects the fields of the type to determine if they are valid. 49625 func (s *UpdateTriggerInput) Validate() error { 49626 invalidParams := request.ErrInvalidParams{Context: "UpdateTriggerInput"} 49627 if s.Name == nil { 49628 invalidParams.Add(request.NewErrParamRequired("Name")) 49629 } 49630 if s.Name != nil && len(*s.Name) < 1 { 49631 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 49632 } 49633 if s.TriggerUpdate == nil { 49634 invalidParams.Add(request.NewErrParamRequired("TriggerUpdate")) 49635 } 49636 if s.TriggerUpdate != nil { 49637 if err := s.TriggerUpdate.Validate(); err != nil { 49638 invalidParams.AddNested("TriggerUpdate", err.(request.ErrInvalidParams)) 49639 } 49640 } 49641 49642 if invalidParams.Len() > 0 { 49643 return invalidParams 49644 } 49645 return nil 49646 } 49647 49648 // SetName sets the Name field's value. 49649 func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput { 49650 s.Name = &v 49651 return s 49652 } 49653 49654 // SetTriggerUpdate sets the TriggerUpdate field's value. 49655 func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput { 49656 s.TriggerUpdate = v 49657 return s 49658 } 49659 49660 type UpdateTriggerOutput struct { 49661 _ struct{} `type:"structure"` 49662 49663 // The resulting trigger definition. 49664 Trigger *Trigger `type:"structure"` 49665 } 49666 49667 // String returns the string representation. 49668 // 49669 // API parameter values that are decorated as "sensitive" in the API will not 49670 // be included in the string output. The member name will be present, but the 49671 // value will be replaced with "sensitive". 49672 func (s UpdateTriggerOutput) String() string { 49673 return awsutil.Prettify(s) 49674 } 49675 49676 // GoString returns the string representation. 49677 // 49678 // API parameter values that are decorated as "sensitive" in the API will not 49679 // be included in the string output. The member name will be present, but the 49680 // value will be replaced with "sensitive". 49681 func (s UpdateTriggerOutput) GoString() string { 49682 return s.String() 49683 } 49684 49685 // SetTrigger sets the Trigger field's value. 49686 func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput { 49687 s.Trigger = v 49688 return s 49689 } 49690 49691 type UpdateUserDefinedFunctionInput struct { 49692 _ struct{} `type:"structure"` 49693 49694 // The ID of the Data Catalog where the function to be updated is located. If 49695 // none is provided, the Amazon Web Services account ID is used by default. 49696 CatalogId *string `min:"1" type:"string"` 49697 49698 // The name of the catalog database where the function to be updated is located. 49699 // 49700 // DatabaseName is a required field 49701 DatabaseName *string `min:"1" type:"string" required:"true"` 49702 49703 // A FunctionInput object that redefines the function in the Data Catalog. 49704 // 49705 // FunctionInput is a required field 49706 FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"` 49707 49708 // The name of the function. 49709 // 49710 // FunctionName is a required field 49711 FunctionName *string `min:"1" type:"string" required:"true"` 49712 } 49713 49714 // String returns the string representation. 49715 // 49716 // API parameter values that are decorated as "sensitive" in the API will not 49717 // be included in the string output. The member name will be present, but the 49718 // value will be replaced with "sensitive". 49719 func (s UpdateUserDefinedFunctionInput) String() string { 49720 return awsutil.Prettify(s) 49721 } 49722 49723 // GoString returns the string representation. 49724 // 49725 // API parameter values that are decorated as "sensitive" in the API will not 49726 // be included in the string output. The member name will be present, but the 49727 // value will be replaced with "sensitive". 49728 func (s UpdateUserDefinedFunctionInput) GoString() string { 49729 return s.String() 49730 } 49731 49732 // Validate inspects the fields of the type to determine if they are valid. 49733 func (s *UpdateUserDefinedFunctionInput) Validate() error { 49734 invalidParams := request.ErrInvalidParams{Context: "UpdateUserDefinedFunctionInput"} 49735 if s.CatalogId != nil && len(*s.CatalogId) < 1 { 49736 invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) 49737 } 49738 if s.DatabaseName == nil { 49739 invalidParams.Add(request.NewErrParamRequired("DatabaseName")) 49740 } 49741 if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { 49742 invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) 49743 } 49744 if s.FunctionInput == nil { 49745 invalidParams.Add(request.NewErrParamRequired("FunctionInput")) 49746 } 49747 if s.FunctionName == nil { 49748 invalidParams.Add(request.NewErrParamRequired("FunctionName")) 49749 } 49750 if s.FunctionName != nil && len(*s.FunctionName) < 1 { 49751 invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) 49752 } 49753 if s.FunctionInput != nil { 49754 if err := s.FunctionInput.Validate(); err != nil { 49755 invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams)) 49756 } 49757 } 49758 49759 if invalidParams.Len() > 0 { 49760 return invalidParams 49761 } 49762 return nil 49763 } 49764 49765 // SetCatalogId sets the CatalogId field's value. 49766 func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput { 49767 s.CatalogId = &v 49768 return s 49769 } 49770 49771 // SetDatabaseName sets the DatabaseName field's value. 49772 func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput { 49773 s.DatabaseName = &v 49774 return s 49775 } 49776 49777 // SetFunctionInput sets the FunctionInput field's value. 49778 func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput { 49779 s.FunctionInput = v 49780 return s 49781 } 49782 49783 // SetFunctionName sets the FunctionName field's value. 49784 func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput { 49785 s.FunctionName = &v 49786 return s 49787 } 49788 49789 type UpdateUserDefinedFunctionOutput struct { 49790 _ struct{} `type:"structure"` 49791 } 49792 49793 // String returns the string representation. 49794 // 49795 // API parameter values that are decorated as "sensitive" in the API will not 49796 // be included in the string output. The member name will be present, but the 49797 // value will be replaced with "sensitive". 49798 func (s UpdateUserDefinedFunctionOutput) String() string { 49799 return awsutil.Prettify(s) 49800 } 49801 49802 // GoString returns the string representation. 49803 // 49804 // API parameter values that are decorated as "sensitive" in the API will not 49805 // be included in the string output. The member name will be present, but the 49806 // value will be replaced with "sensitive". 49807 func (s UpdateUserDefinedFunctionOutput) GoString() string { 49808 return s.String() 49809 } 49810 49811 type UpdateWorkflowInput struct { 49812 _ struct{} `type:"structure"` 49813 49814 // A collection of properties to be used as part of each execution of the workflow. 49815 DefaultRunProperties map[string]*string `type:"map"` 49816 49817 // The description of the workflow. 49818 Description *string `type:"string"` 49819 49820 // You can use this parameter to prevent unwanted multiple updates to data, 49821 // to control costs, or in some cases, to prevent exceeding the maximum number 49822 // of concurrent runs of any of the component jobs. If you leave this parameter 49823 // blank, there is no limit to the number of concurrent workflow runs. 49824 MaxConcurrentRuns *int64 `type:"integer"` 49825 49826 // Name of the workflow to be updated. 49827 // 49828 // Name is a required field 49829 Name *string `min:"1" type:"string" required:"true"` 49830 } 49831 49832 // String returns the string representation. 49833 // 49834 // API parameter values that are decorated as "sensitive" in the API will not 49835 // be included in the string output. The member name will be present, but the 49836 // value will be replaced with "sensitive". 49837 func (s UpdateWorkflowInput) String() string { 49838 return awsutil.Prettify(s) 49839 } 49840 49841 // GoString returns the string representation. 49842 // 49843 // API parameter values that are decorated as "sensitive" in the API will not 49844 // be included in the string output. The member name will be present, but the 49845 // value will be replaced with "sensitive". 49846 func (s UpdateWorkflowInput) GoString() string { 49847 return s.String() 49848 } 49849 49850 // Validate inspects the fields of the type to determine if they are valid. 49851 func (s *UpdateWorkflowInput) Validate() error { 49852 invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"} 49853 if s.Name == nil { 49854 invalidParams.Add(request.NewErrParamRequired("Name")) 49855 } 49856 if s.Name != nil && len(*s.Name) < 1 { 49857 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 49858 } 49859 49860 if invalidParams.Len() > 0 { 49861 return invalidParams 49862 } 49863 return nil 49864 } 49865 49866 // SetDefaultRunProperties sets the DefaultRunProperties field's value. 49867 func (s *UpdateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *UpdateWorkflowInput { 49868 s.DefaultRunProperties = v 49869 return s 49870 } 49871 49872 // SetDescription sets the Description field's value. 49873 func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput { 49874 s.Description = &v 49875 return s 49876 } 49877 49878 // SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. 49879 func (s *UpdateWorkflowInput) SetMaxConcurrentRuns(v int64) *UpdateWorkflowInput { 49880 s.MaxConcurrentRuns = &v 49881 return s 49882 } 49883 49884 // SetName sets the Name field's value. 49885 func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput { 49886 s.Name = &v 49887 return s 49888 } 49889 49890 type UpdateWorkflowOutput struct { 49891 _ struct{} `type:"structure"` 49892 49893 // The name of the workflow which was specified in input. 49894 Name *string `min:"1" type:"string"` 49895 } 49896 49897 // String returns the string representation. 49898 // 49899 // API parameter values that are decorated as "sensitive" in the API will not 49900 // be included in the string output. The member name will be present, but the 49901 // value will be replaced with "sensitive". 49902 func (s UpdateWorkflowOutput) String() string { 49903 return awsutil.Prettify(s) 49904 } 49905 49906 // GoString returns the string representation. 49907 // 49908 // API parameter values that are decorated as "sensitive" in the API will not 49909 // be included in the string output. The member name will be present, but the 49910 // value will be replaced with "sensitive". 49911 func (s UpdateWorkflowOutput) GoString() string { 49912 return s.String() 49913 } 49914 49915 // SetName sets the Name field's value. 49916 func (s *UpdateWorkflowOutput) SetName(v string) *UpdateWorkflowOutput { 49917 s.Name = &v 49918 return s 49919 } 49920 49921 // Specifies an XML classifier to be updated. 49922 type UpdateXMLClassifierRequest struct { 49923 _ struct{} `type:"structure"` 49924 49925 // An identifier of the data format that the classifier matches. 49926 Classification *string `type:"string"` 49927 49928 // The name of the classifier. 49929 // 49930 // Name is a required field 49931 Name *string `min:"1" type:"string" required:"true"` 49932 49933 // The XML tag designating the element that contains each record in an XML document 49934 // being parsed. This cannot identify a self-closing element (closed by />). 49935 // An empty row element that contains only attributes can be parsed as long 49936 // as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> 49937 // is okay, but <row item_a="A" item_b="B" /> is not). 49938 RowTag *string `type:"string"` 49939 } 49940 49941 // String returns the string representation. 49942 // 49943 // API parameter values that are decorated as "sensitive" in the API will not 49944 // be included in the string output. The member name will be present, but the 49945 // value will be replaced with "sensitive". 49946 func (s UpdateXMLClassifierRequest) String() string { 49947 return awsutil.Prettify(s) 49948 } 49949 49950 // GoString returns the string representation. 49951 // 49952 // API parameter values that are decorated as "sensitive" in the API will not 49953 // be included in the string output. The member name will be present, but the 49954 // value will be replaced with "sensitive". 49955 func (s UpdateXMLClassifierRequest) GoString() string { 49956 return s.String() 49957 } 49958 49959 // Validate inspects the fields of the type to determine if they are valid. 49960 func (s *UpdateXMLClassifierRequest) Validate() error { 49961 invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"} 49962 if s.Name == nil { 49963 invalidParams.Add(request.NewErrParamRequired("Name")) 49964 } 49965 if s.Name != nil && len(*s.Name) < 1 { 49966 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 49967 } 49968 49969 if invalidParams.Len() > 0 { 49970 return invalidParams 49971 } 49972 return nil 49973 } 49974 49975 // SetClassification sets the Classification field's value. 49976 func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest { 49977 s.Classification = &v 49978 return s 49979 } 49980 49981 // SetName sets the Name field's value. 49982 func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest { 49983 s.Name = &v 49984 return s 49985 } 49986 49987 // SetRowTag sets the RowTag field's value. 49988 func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest { 49989 s.RowTag = &v 49990 return s 49991 } 49992 49993 // Represents the equivalent of a Hive user-defined function (UDF) definition. 49994 type UserDefinedFunction struct { 49995 _ struct{} `type:"structure"` 49996 49997 // The ID of the Data Catalog in which the function resides. 49998 CatalogId *string `min:"1" type:"string"` 49999 50000 // The Java class that contains the function code. 50001 ClassName *string `min:"1" type:"string"` 50002 50003 // The time at which the function was created. 50004 CreateTime *time.Time `type:"timestamp"` 50005 50006 // The name of the catalog database that contains the function. 50007 DatabaseName *string `min:"1" type:"string"` 50008 50009 // The name of the function. 50010 FunctionName *string `min:"1" type:"string"` 50011 50012 // The owner of the function. 50013 OwnerName *string `min:"1" type:"string"` 50014 50015 // The owner type. 50016 OwnerType *string `type:"string" enum:"PrincipalType"` 50017 50018 // The resource URIs for the function. 50019 ResourceUris []*ResourceUri `type:"list"` 50020 } 50021 50022 // String returns the string representation. 50023 // 50024 // API parameter values that are decorated as "sensitive" in the API will not 50025 // be included in the string output. The member name will be present, but the 50026 // value will be replaced with "sensitive". 50027 func (s UserDefinedFunction) String() string { 50028 return awsutil.Prettify(s) 50029 } 50030 50031 // GoString returns the string representation. 50032 // 50033 // API parameter values that are decorated as "sensitive" in the API will not 50034 // be included in the string output. The member name will be present, but the 50035 // value will be replaced with "sensitive". 50036 func (s UserDefinedFunction) GoString() string { 50037 return s.String() 50038 } 50039 50040 // SetCatalogId sets the CatalogId field's value. 50041 func (s *UserDefinedFunction) SetCatalogId(v string) *UserDefinedFunction { 50042 s.CatalogId = &v 50043 return s 50044 } 50045 50046 // SetClassName sets the ClassName field's value. 50047 func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction { 50048 s.ClassName = &v 50049 return s 50050 } 50051 50052 // SetCreateTime sets the CreateTime field's value. 50053 func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction { 50054 s.CreateTime = &v 50055 return s 50056 } 50057 50058 // SetDatabaseName sets the DatabaseName field's value. 50059 func (s *UserDefinedFunction) SetDatabaseName(v string) *UserDefinedFunction { 50060 s.DatabaseName = &v 50061 return s 50062 } 50063 50064 // SetFunctionName sets the FunctionName field's value. 50065 func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction { 50066 s.FunctionName = &v 50067 return s 50068 } 50069 50070 // SetOwnerName sets the OwnerName field's value. 50071 func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction { 50072 s.OwnerName = &v 50073 return s 50074 } 50075 50076 // SetOwnerType sets the OwnerType field's value. 50077 func (s *UserDefinedFunction) SetOwnerType(v string) *UserDefinedFunction { 50078 s.OwnerType = &v 50079 return s 50080 } 50081 50082 // SetResourceUris sets the ResourceUris field's value. 50083 func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunction { 50084 s.ResourceUris = v 50085 return s 50086 } 50087 50088 // A structure used to create or update a user-defined function. 50089 type UserDefinedFunctionInput struct { 50090 _ struct{} `type:"structure"` 50091 50092 // The Java class that contains the function code. 50093 ClassName *string `min:"1" type:"string"` 50094 50095 // The name of the function. 50096 FunctionName *string `min:"1" type:"string"` 50097 50098 // The owner of the function. 50099 OwnerName *string `min:"1" type:"string"` 50100 50101 // The owner type. 50102 OwnerType *string `type:"string" enum:"PrincipalType"` 50103 50104 // The resource URIs for the function. 50105 ResourceUris []*ResourceUri `type:"list"` 50106 } 50107 50108 // String returns the string representation. 50109 // 50110 // API parameter values that are decorated as "sensitive" in the API will not 50111 // be included in the string output. The member name will be present, but the 50112 // value will be replaced with "sensitive". 50113 func (s UserDefinedFunctionInput) String() string { 50114 return awsutil.Prettify(s) 50115 } 50116 50117 // GoString returns the string representation. 50118 // 50119 // API parameter values that are decorated as "sensitive" in the API will not 50120 // be included in the string output. The member name will be present, but the 50121 // value will be replaced with "sensitive". 50122 func (s UserDefinedFunctionInput) GoString() string { 50123 return s.String() 50124 } 50125 50126 // Validate inspects the fields of the type to determine if they are valid. 50127 func (s *UserDefinedFunctionInput) Validate() error { 50128 invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"} 50129 if s.ClassName != nil && len(*s.ClassName) < 1 { 50130 invalidParams.Add(request.NewErrParamMinLen("ClassName", 1)) 50131 } 50132 if s.FunctionName != nil && len(*s.FunctionName) < 1 { 50133 invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) 50134 } 50135 if s.OwnerName != nil && len(*s.OwnerName) < 1 { 50136 invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1)) 50137 } 50138 if s.ResourceUris != nil { 50139 for i, v := range s.ResourceUris { 50140 if v == nil { 50141 continue 50142 } 50143 if err := v.Validate(); err != nil { 50144 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams)) 50145 } 50146 } 50147 } 50148 50149 if invalidParams.Len() > 0 { 50150 return invalidParams 50151 } 50152 return nil 50153 } 50154 50155 // SetClassName sets the ClassName field's value. 50156 func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput { 50157 s.ClassName = &v 50158 return s 50159 } 50160 50161 // SetFunctionName sets the FunctionName field's value. 50162 func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput { 50163 s.FunctionName = &v 50164 return s 50165 } 50166 50167 // SetOwnerName sets the OwnerName field's value. 50168 func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput { 50169 s.OwnerName = &v 50170 return s 50171 } 50172 50173 // SetOwnerType sets the OwnerType field's value. 50174 func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput { 50175 s.OwnerType = &v 50176 return s 50177 } 50178 50179 // SetResourceUris sets the ResourceUris field's value. 50180 func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput { 50181 s.ResourceUris = v 50182 return s 50183 } 50184 50185 // A value could not be validated. 50186 type ValidationException struct { 50187 _ struct{} `type:"structure"` 50188 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 50189 50190 // A message describing the problem. 50191 Message_ *string `locationName:"Message" type:"string"` 50192 } 50193 50194 // String returns the string representation. 50195 // 50196 // API parameter values that are decorated as "sensitive" in the API will not 50197 // be included in the string output. The member name will be present, but the 50198 // value will be replaced with "sensitive". 50199 func (s ValidationException) String() string { 50200 return awsutil.Prettify(s) 50201 } 50202 50203 // GoString returns the string representation. 50204 // 50205 // API parameter values that are decorated as "sensitive" in the API will not 50206 // be included in the string output. The member name will be present, but the 50207 // value will be replaced with "sensitive". 50208 func (s ValidationException) GoString() string { 50209 return s.String() 50210 } 50211 50212 func newErrorValidationException(v protocol.ResponseMetadata) error { 50213 return &ValidationException{ 50214 RespMetadata: v, 50215 } 50216 } 50217 50218 // Code returns the exception type name. 50219 func (s *ValidationException) Code() string { 50220 return "ValidationException" 50221 } 50222 50223 // Message returns the exception's message. 50224 func (s *ValidationException) Message() string { 50225 if s.Message_ != nil { 50226 return *s.Message_ 50227 } 50228 return "" 50229 } 50230 50231 // OrigErr always returns nil, satisfies awserr.Error interface. 50232 func (s *ValidationException) OrigErr() error { 50233 return nil 50234 } 50235 50236 func (s *ValidationException) Error() string { 50237 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 50238 } 50239 50240 // Status code returns the HTTP status code for the request's response error. 50241 func (s *ValidationException) StatusCode() int { 50242 return s.RespMetadata.StatusCode 50243 } 50244 50245 // RequestID returns the service's response RequestID for request. 50246 func (s *ValidationException) RequestID() string { 50247 return s.RespMetadata.RequestID 50248 } 50249 50250 // There was a version conflict. 50251 type VersionMismatchException struct { 50252 _ struct{} `type:"structure"` 50253 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 50254 50255 // A message describing the problem. 50256 Message_ *string `locationName:"Message" type:"string"` 50257 } 50258 50259 // String returns the string representation. 50260 // 50261 // API parameter values that are decorated as "sensitive" in the API will not 50262 // be included in the string output. The member name will be present, but the 50263 // value will be replaced with "sensitive". 50264 func (s VersionMismatchException) String() string { 50265 return awsutil.Prettify(s) 50266 } 50267 50268 // GoString returns the string representation. 50269 // 50270 // API parameter values that are decorated as "sensitive" in the API will not 50271 // be included in the string output. The member name will be present, but the 50272 // value will be replaced with "sensitive". 50273 func (s VersionMismatchException) GoString() string { 50274 return s.String() 50275 } 50276 50277 func newErrorVersionMismatchException(v protocol.ResponseMetadata) error { 50278 return &VersionMismatchException{ 50279 RespMetadata: v, 50280 } 50281 } 50282 50283 // Code returns the exception type name. 50284 func (s *VersionMismatchException) Code() string { 50285 return "VersionMismatchException" 50286 } 50287 50288 // Message returns the exception's message. 50289 func (s *VersionMismatchException) Message() string { 50290 if s.Message_ != nil { 50291 return *s.Message_ 50292 } 50293 return "" 50294 } 50295 50296 // OrigErr always returns nil, satisfies awserr.Error interface. 50297 func (s *VersionMismatchException) OrigErr() error { 50298 return nil 50299 } 50300 50301 func (s *VersionMismatchException) Error() string { 50302 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 50303 } 50304 50305 // Status code returns the HTTP status code for the request's response error. 50306 func (s *VersionMismatchException) StatusCode() int { 50307 return s.RespMetadata.StatusCode 50308 } 50309 50310 // RequestID returns the service's response RequestID for request. 50311 func (s *VersionMismatchException) RequestID() string { 50312 return s.RespMetadata.RequestID 50313 } 50314 50315 // A workflow is a collection of multiple dependent Glue jobs and crawlers that 50316 // are run to complete a complex ETL task. A workflow manages the execution 50317 // and monitoring of all its jobs and crawlers. 50318 type Workflow struct { 50319 _ struct{} `type:"structure"` 50320 50321 // This structure indicates the details of the blueprint that this particular 50322 // workflow is created from. 50323 BlueprintDetails *BlueprintDetails `type:"structure"` 50324 50325 // The date and time when the workflow was created. 50326 CreatedOn *time.Time `type:"timestamp"` 50327 50328 // A collection of properties to be used as part of each execution of the workflow. 50329 // The run properties are made available to each job in the workflow. A job 50330 // can modify the properties for the next jobs in the flow. 50331 DefaultRunProperties map[string]*string `type:"map"` 50332 50333 // A description of the workflow. 50334 Description *string `type:"string"` 50335 50336 // The graph representing all the Glue components that belong to the workflow 50337 // as nodes and directed connections between them as edges. 50338 Graph *WorkflowGraph `type:"structure"` 50339 50340 // The date and time when the workflow was last modified. 50341 LastModifiedOn *time.Time `type:"timestamp"` 50342 50343 // The information about the last execution of the workflow. 50344 LastRun *WorkflowRun `type:"structure"` 50345 50346 // You can use this parameter to prevent unwanted multiple updates to data, 50347 // to control costs, or in some cases, to prevent exceeding the maximum number 50348 // of concurrent runs of any of the component jobs. If you leave this parameter 50349 // blank, there is no limit to the number of concurrent workflow runs. 50350 MaxConcurrentRuns *int64 `type:"integer"` 50351 50352 // The name of the workflow. 50353 Name *string `min:"1" type:"string"` 50354 } 50355 50356 // String returns the string representation. 50357 // 50358 // API parameter values that are decorated as "sensitive" in the API will not 50359 // be included in the string output. The member name will be present, but the 50360 // value will be replaced with "sensitive". 50361 func (s Workflow) String() string { 50362 return awsutil.Prettify(s) 50363 } 50364 50365 // GoString returns the string representation. 50366 // 50367 // API parameter values that are decorated as "sensitive" in the API will not 50368 // be included in the string output. The member name will be present, but the 50369 // value will be replaced with "sensitive". 50370 func (s Workflow) GoString() string { 50371 return s.String() 50372 } 50373 50374 // SetBlueprintDetails sets the BlueprintDetails field's value. 50375 func (s *Workflow) SetBlueprintDetails(v *BlueprintDetails) *Workflow { 50376 s.BlueprintDetails = v 50377 return s 50378 } 50379 50380 // SetCreatedOn sets the CreatedOn field's value. 50381 func (s *Workflow) SetCreatedOn(v time.Time) *Workflow { 50382 s.CreatedOn = &v 50383 return s 50384 } 50385 50386 // SetDefaultRunProperties sets the DefaultRunProperties field's value. 50387 func (s *Workflow) SetDefaultRunProperties(v map[string]*string) *Workflow { 50388 s.DefaultRunProperties = v 50389 return s 50390 } 50391 50392 // SetDescription sets the Description field's value. 50393 func (s *Workflow) SetDescription(v string) *Workflow { 50394 s.Description = &v 50395 return s 50396 } 50397 50398 // SetGraph sets the Graph field's value. 50399 func (s *Workflow) SetGraph(v *WorkflowGraph) *Workflow { 50400 s.Graph = v 50401 return s 50402 } 50403 50404 // SetLastModifiedOn sets the LastModifiedOn field's value. 50405 func (s *Workflow) SetLastModifiedOn(v time.Time) *Workflow { 50406 s.LastModifiedOn = &v 50407 return s 50408 } 50409 50410 // SetLastRun sets the LastRun field's value. 50411 func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow { 50412 s.LastRun = v 50413 return s 50414 } 50415 50416 // SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. 50417 func (s *Workflow) SetMaxConcurrentRuns(v int64) *Workflow { 50418 s.MaxConcurrentRuns = &v 50419 return s 50420 } 50421 50422 // SetName sets the Name field's value. 50423 func (s *Workflow) SetName(v string) *Workflow { 50424 s.Name = &v 50425 return s 50426 } 50427 50428 // A workflow graph represents the complete workflow containing all the Glue 50429 // components present in the workflow and all the directed connections between 50430 // them. 50431 type WorkflowGraph struct { 50432 _ struct{} `type:"structure"` 50433 50434 // A list of all the directed connections between the nodes belonging to the 50435 // workflow. 50436 Edges []*Edge `type:"list"` 50437 50438 // A list of the the Glue components belong to the workflow represented as nodes. 50439 Nodes []*Node `type:"list"` 50440 } 50441 50442 // String returns the string representation. 50443 // 50444 // API parameter values that are decorated as "sensitive" in the API will not 50445 // be included in the string output. The member name will be present, but the 50446 // value will be replaced with "sensitive". 50447 func (s WorkflowGraph) String() string { 50448 return awsutil.Prettify(s) 50449 } 50450 50451 // GoString returns the string representation. 50452 // 50453 // API parameter values that are decorated as "sensitive" in the API will not 50454 // be included in the string output. The member name will be present, but the 50455 // value will be replaced with "sensitive". 50456 func (s WorkflowGraph) GoString() string { 50457 return s.String() 50458 } 50459 50460 // SetEdges sets the Edges field's value. 50461 func (s *WorkflowGraph) SetEdges(v []*Edge) *WorkflowGraph { 50462 s.Edges = v 50463 return s 50464 } 50465 50466 // SetNodes sets the Nodes field's value. 50467 func (s *WorkflowGraph) SetNodes(v []*Node) *WorkflowGraph { 50468 s.Nodes = v 50469 return s 50470 } 50471 50472 // A workflow run is an execution of a workflow providing all the runtime information. 50473 type WorkflowRun struct { 50474 _ struct{} `type:"structure"` 50475 50476 // The date and time when the workflow run completed. 50477 CompletedOn *time.Time `type:"timestamp"` 50478 50479 // This error message describes any error that may have occurred in starting 50480 // the workflow run. Currently the only error message is "Concurrent runs exceeded 50481 // for workflow: foo." 50482 ErrorMessage *string `type:"string"` 50483 50484 // The graph representing all the Glue components that belong to the workflow 50485 // as nodes and directed connections between them as edges. 50486 Graph *WorkflowGraph `type:"structure"` 50487 50488 // Name of the workflow that was run. 50489 Name *string `min:"1" type:"string"` 50490 50491 // The ID of the previous workflow run. 50492 PreviousRunId *string `min:"1" type:"string"` 50493 50494 // The date and time when the workflow run was started. 50495 StartedOn *time.Time `type:"timestamp"` 50496 50497 // The batch condition that started the workflow run. 50498 StartingEventBatchCondition *StartingEventBatchCondition `type:"structure"` 50499 50500 // The statistics of the run. 50501 Statistics *WorkflowRunStatistics `type:"structure"` 50502 50503 // The status of the workflow run. 50504 Status *string `type:"string" enum:"WorkflowRunStatus"` 50505 50506 // The ID of this workflow run. 50507 WorkflowRunId *string `min:"1" type:"string"` 50508 50509 // The workflow run properties which were set during the run. 50510 WorkflowRunProperties map[string]*string `type:"map"` 50511 } 50512 50513 // String returns the string representation. 50514 // 50515 // API parameter values that are decorated as "sensitive" in the API will not 50516 // be included in the string output. The member name will be present, but the 50517 // value will be replaced with "sensitive". 50518 func (s WorkflowRun) String() string { 50519 return awsutil.Prettify(s) 50520 } 50521 50522 // GoString returns the string representation. 50523 // 50524 // API parameter values that are decorated as "sensitive" in the API will not 50525 // be included in the string output. The member name will be present, but the 50526 // value will be replaced with "sensitive". 50527 func (s WorkflowRun) GoString() string { 50528 return s.String() 50529 } 50530 50531 // SetCompletedOn sets the CompletedOn field's value. 50532 func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun { 50533 s.CompletedOn = &v 50534 return s 50535 } 50536 50537 // SetErrorMessage sets the ErrorMessage field's value. 50538 func (s *WorkflowRun) SetErrorMessage(v string) *WorkflowRun { 50539 s.ErrorMessage = &v 50540 return s 50541 } 50542 50543 // SetGraph sets the Graph field's value. 50544 func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun { 50545 s.Graph = v 50546 return s 50547 } 50548 50549 // SetName sets the Name field's value. 50550 func (s *WorkflowRun) SetName(v string) *WorkflowRun { 50551 s.Name = &v 50552 return s 50553 } 50554 50555 // SetPreviousRunId sets the PreviousRunId field's value. 50556 func (s *WorkflowRun) SetPreviousRunId(v string) *WorkflowRun { 50557 s.PreviousRunId = &v 50558 return s 50559 } 50560 50561 // SetStartedOn sets the StartedOn field's value. 50562 func (s *WorkflowRun) SetStartedOn(v time.Time) *WorkflowRun { 50563 s.StartedOn = &v 50564 return s 50565 } 50566 50567 // SetStartingEventBatchCondition sets the StartingEventBatchCondition field's value. 50568 func (s *WorkflowRun) SetStartingEventBatchCondition(v *StartingEventBatchCondition) *WorkflowRun { 50569 s.StartingEventBatchCondition = v 50570 return s 50571 } 50572 50573 // SetStatistics sets the Statistics field's value. 50574 func (s *WorkflowRun) SetStatistics(v *WorkflowRunStatistics) *WorkflowRun { 50575 s.Statistics = v 50576 return s 50577 } 50578 50579 // SetStatus sets the Status field's value. 50580 func (s *WorkflowRun) SetStatus(v string) *WorkflowRun { 50581 s.Status = &v 50582 return s 50583 } 50584 50585 // SetWorkflowRunId sets the WorkflowRunId field's value. 50586 func (s *WorkflowRun) SetWorkflowRunId(v string) *WorkflowRun { 50587 s.WorkflowRunId = &v 50588 return s 50589 } 50590 50591 // SetWorkflowRunProperties sets the WorkflowRunProperties field's value. 50592 func (s *WorkflowRun) SetWorkflowRunProperties(v map[string]*string) *WorkflowRun { 50593 s.WorkflowRunProperties = v 50594 return s 50595 } 50596 50597 // Workflow run statistics provides statistics about the workflow run. 50598 type WorkflowRunStatistics struct { 50599 _ struct{} `type:"structure"` 50600 50601 // Total number of Actions that have failed. 50602 FailedActions *int64 `type:"integer"` 50603 50604 // Total number Actions in running state. 50605 RunningActions *int64 `type:"integer"` 50606 50607 // Total number of Actions that have stopped. 50608 StoppedActions *int64 `type:"integer"` 50609 50610 // Total number of Actions that have succeeded. 50611 SucceededActions *int64 `type:"integer"` 50612 50613 // Total number of Actions that timed out. 50614 TimeoutActions *int64 `type:"integer"` 50615 50616 // Total number of Actions in the workflow run. 50617 TotalActions *int64 `type:"integer"` 50618 } 50619 50620 // String returns the string representation. 50621 // 50622 // API parameter values that are decorated as "sensitive" in the API will not 50623 // be included in the string output. The member name will be present, but the 50624 // value will be replaced with "sensitive". 50625 func (s WorkflowRunStatistics) String() string { 50626 return awsutil.Prettify(s) 50627 } 50628 50629 // GoString returns the string representation. 50630 // 50631 // API parameter values that are decorated as "sensitive" in the API will not 50632 // be included in the string output. The member name will be present, but the 50633 // value will be replaced with "sensitive". 50634 func (s WorkflowRunStatistics) GoString() string { 50635 return s.String() 50636 } 50637 50638 // SetFailedActions sets the FailedActions field's value. 50639 func (s *WorkflowRunStatistics) SetFailedActions(v int64) *WorkflowRunStatistics { 50640 s.FailedActions = &v 50641 return s 50642 } 50643 50644 // SetRunningActions sets the RunningActions field's value. 50645 func (s *WorkflowRunStatistics) SetRunningActions(v int64) *WorkflowRunStatistics { 50646 s.RunningActions = &v 50647 return s 50648 } 50649 50650 // SetStoppedActions sets the StoppedActions field's value. 50651 func (s *WorkflowRunStatistics) SetStoppedActions(v int64) *WorkflowRunStatistics { 50652 s.StoppedActions = &v 50653 return s 50654 } 50655 50656 // SetSucceededActions sets the SucceededActions field's value. 50657 func (s *WorkflowRunStatistics) SetSucceededActions(v int64) *WorkflowRunStatistics { 50658 s.SucceededActions = &v 50659 return s 50660 } 50661 50662 // SetTimeoutActions sets the TimeoutActions field's value. 50663 func (s *WorkflowRunStatistics) SetTimeoutActions(v int64) *WorkflowRunStatistics { 50664 s.TimeoutActions = &v 50665 return s 50666 } 50667 50668 // SetTotalActions sets the TotalActions field's value. 50669 func (s *WorkflowRunStatistics) SetTotalActions(v int64) *WorkflowRunStatistics { 50670 s.TotalActions = &v 50671 return s 50672 } 50673 50674 // A classifier for XML content. 50675 type XMLClassifier struct { 50676 _ struct{} `type:"structure"` 50677 50678 // An identifier of the data format that the classifier matches. 50679 // 50680 // Classification is a required field 50681 Classification *string `type:"string" required:"true"` 50682 50683 // The time that this classifier was registered. 50684 CreationTime *time.Time `type:"timestamp"` 50685 50686 // The time that this classifier was last updated. 50687 LastUpdated *time.Time `type:"timestamp"` 50688 50689 // The name of the classifier. 50690 // 50691 // Name is a required field 50692 Name *string `min:"1" type:"string" required:"true"` 50693 50694 // The XML tag designating the element that contains each record in an XML document 50695 // being parsed. This can't identify a self-closing element (closed by />). 50696 // An empty row element that contains only attributes can be parsed as long 50697 // as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> 50698 // is okay, but <row item_a="A" item_b="B" /> is not). 50699 RowTag *string `type:"string"` 50700 50701 // The version of this classifier. 50702 Version *int64 `type:"long"` 50703 } 50704 50705 // String returns the string representation. 50706 // 50707 // API parameter values that are decorated as "sensitive" in the API will not 50708 // be included in the string output. The member name will be present, but the 50709 // value will be replaced with "sensitive". 50710 func (s XMLClassifier) String() string { 50711 return awsutil.Prettify(s) 50712 } 50713 50714 // GoString returns the string representation. 50715 // 50716 // API parameter values that are decorated as "sensitive" in the API will not 50717 // be included in the string output. The member name will be present, but the 50718 // value will be replaced with "sensitive". 50719 func (s XMLClassifier) GoString() string { 50720 return s.String() 50721 } 50722 50723 // SetClassification sets the Classification field's value. 50724 func (s *XMLClassifier) SetClassification(v string) *XMLClassifier { 50725 s.Classification = &v 50726 return s 50727 } 50728 50729 // SetCreationTime sets the CreationTime field's value. 50730 func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier { 50731 s.CreationTime = &v 50732 return s 50733 } 50734 50735 // SetLastUpdated sets the LastUpdated field's value. 50736 func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier { 50737 s.LastUpdated = &v 50738 return s 50739 } 50740 50741 // SetName sets the Name field's value. 50742 func (s *XMLClassifier) SetName(v string) *XMLClassifier { 50743 s.Name = &v 50744 return s 50745 } 50746 50747 // SetRowTag sets the RowTag field's value. 50748 func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier { 50749 s.RowTag = &v 50750 return s 50751 } 50752 50753 // SetVersion sets the Version field's value. 50754 func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier { 50755 s.Version = &v 50756 return s 50757 } 50758 50759 const ( 50760 // BackfillErrorCodeEncryptedPartitionError is a BackfillErrorCode enum value 50761 BackfillErrorCodeEncryptedPartitionError = "ENCRYPTED_PARTITION_ERROR" 50762 50763 // BackfillErrorCodeInternalError is a BackfillErrorCode enum value 50764 BackfillErrorCodeInternalError = "INTERNAL_ERROR" 50765 50766 // BackfillErrorCodeInvalidPartitionTypeDataError is a BackfillErrorCode enum value 50767 BackfillErrorCodeInvalidPartitionTypeDataError = "INVALID_PARTITION_TYPE_DATA_ERROR" 50768 50769 // BackfillErrorCodeMissingPartitionValueError is a BackfillErrorCode enum value 50770 BackfillErrorCodeMissingPartitionValueError = "MISSING_PARTITION_VALUE_ERROR" 50771 50772 // BackfillErrorCodeUnsupportedPartitionCharacterError is a BackfillErrorCode enum value 50773 BackfillErrorCodeUnsupportedPartitionCharacterError = "UNSUPPORTED_PARTITION_CHARACTER_ERROR" 50774 ) 50775 50776 // BackfillErrorCode_Values returns all elements of the BackfillErrorCode enum 50777 func BackfillErrorCode_Values() []string { 50778 return []string{ 50779 BackfillErrorCodeEncryptedPartitionError, 50780 BackfillErrorCodeInternalError, 50781 BackfillErrorCodeInvalidPartitionTypeDataError, 50782 BackfillErrorCodeMissingPartitionValueError, 50783 BackfillErrorCodeUnsupportedPartitionCharacterError, 50784 } 50785 } 50786 50787 const ( 50788 // BlueprintRunStateRunning is a BlueprintRunState enum value 50789 BlueprintRunStateRunning = "RUNNING" 50790 50791 // BlueprintRunStateSucceeded is a BlueprintRunState enum value 50792 BlueprintRunStateSucceeded = "SUCCEEDED" 50793 50794 // BlueprintRunStateFailed is a BlueprintRunState enum value 50795 BlueprintRunStateFailed = "FAILED" 50796 50797 // BlueprintRunStateRollingBack is a BlueprintRunState enum value 50798 BlueprintRunStateRollingBack = "ROLLING_BACK" 50799 ) 50800 50801 // BlueprintRunState_Values returns all elements of the BlueprintRunState enum 50802 func BlueprintRunState_Values() []string { 50803 return []string{ 50804 BlueprintRunStateRunning, 50805 BlueprintRunStateSucceeded, 50806 BlueprintRunStateFailed, 50807 BlueprintRunStateRollingBack, 50808 } 50809 } 50810 50811 const ( 50812 // BlueprintStatusCreating is a BlueprintStatus enum value 50813 BlueprintStatusCreating = "CREATING" 50814 50815 // BlueprintStatusActive is a BlueprintStatus enum value 50816 BlueprintStatusActive = "ACTIVE" 50817 50818 // BlueprintStatusUpdating is a BlueprintStatus enum value 50819 BlueprintStatusUpdating = "UPDATING" 50820 50821 // BlueprintStatusFailed is a BlueprintStatus enum value 50822 BlueprintStatusFailed = "FAILED" 50823 ) 50824 50825 // BlueprintStatus_Values returns all elements of the BlueprintStatus enum 50826 func BlueprintStatus_Values() []string { 50827 return []string{ 50828 BlueprintStatusCreating, 50829 BlueprintStatusActive, 50830 BlueprintStatusUpdating, 50831 BlueprintStatusFailed, 50832 } 50833 } 50834 50835 const ( 50836 // CatalogEncryptionModeDisabled is a CatalogEncryptionMode enum value 50837 CatalogEncryptionModeDisabled = "DISABLED" 50838 50839 // CatalogEncryptionModeSseKms is a CatalogEncryptionMode enum value 50840 CatalogEncryptionModeSseKms = "SSE-KMS" 50841 ) 50842 50843 // CatalogEncryptionMode_Values returns all elements of the CatalogEncryptionMode enum 50844 func CatalogEncryptionMode_Values() []string { 50845 return []string{ 50846 CatalogEncryptionModeDisabled, 50847 CatalogEncryptionModeSseKms, 50848 } 50849 } 50850 50851 const ( 50852 // CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value 50853 CloudWatchEncryptionModeDisabled = "DISABLED" 50854 50855 // CloudWatchEncryptionModeSseKms is a CloudWatchEncryptionMode enum value 50856 CloudWatchEncryptionModeSseKms = "SSE-KMS" 50857 ) 50858 50859 // CloudWatchEncryptionMode_Values returns all elements of the CloudWatchEncryptionMode enum 50860 func CloudWatchEncryptionMode_Values() []string { 50861 return []string{ 50862 CloudWatchEncryptionModeDisabled, 50863 CloudWatchEncryptionModeSseKms, 50864 } 50865 } 50866 50867 const ( 50868 // ColumnStatisticsTypeBoolean is a ColumnStatisticsType enum value 50869 ColumnStatisticsTypeBoolean = "BOOLEAN" 50870 50871 // ColumnStatisticsTypeDate is a ColumnStatisticsType enum value 50872 ColumnStatisticsTypeDate = "DATE" 50873 50874 // ColumnStatisticsTypeDecimal is a ColumnStatisticsType enum value 50875 ColumnStatisticsTypeDecimal = "DECIMAL" 50876 50877 // ColumnStatisticsTypeDouble is a ColumnStatisticsType enum value 50878 ColumnStatisticsTypeDouble = "DOUBLE" 50879 50880 // ColumnStatisticsTypeLong is a ColumnStatisticsType enum value 50881 ColumnStatisticsTypeLong = "LONG" 50882 50883 // ColumnStatisticsTypeString is a ColumnStatisticsType enum value 50884 ColumnStatisticsTypeString = "STRING" 50885 50886 // ColumnStatisticsTypeBinary is a ColumnStatisticsType enum value 50887 ColumnStatisticsTypeBinary = "BINARY" 50888 ) 50889 50890 // ColumnStatisticsType_Values returns all elements of the ColumnStatisticsType enum 50891 func ColumnStatisticsType_Values() []string { 50892 return []string{ 50893 ColumnStatisticsTypeBoolean, 50894 ColumnStatisticsTypeDate, 50895 ColumnStatisticsTypeDecimal, 50896 ColumnStatisticsTypeDouble, 50897 ColumnStatisticsTypeLong, 50898 ColumnStatisticsTypeString, 50899 ColumnStatisticsTypeBinary, 50900 } 50901 } 50902 50903 const ( 50904 // ComparatorEquals is a Comparator enum value 50905 ComparatorEquals = "EQUALS" 50906 50907 // ComparatorGreaterThan is a Comparator enum value 50908 ComparatorGreaterThan = "GREATER_THAN" 50909 50910 // ComparatorLessThan is a Comparator enum value 50911 ComparatorLessThan = "LESS_THAN" 50912 50913 // ComparatorGreaterThanEquals is a Comparator enum value 50914 ComparatorGreaterThanEquals = "GREATER_THAN_EQUALS" 50915 50916 // ComparatorLessThanEquals is a Comparator enum value 50917 ComparatorLessThanEquals = "LESS_THAN_EQUALS" 50918 ) 50919 50920 // Comparator_Values returns all elements of the Comparator enum 50921 func Comparator_Values() []string { 50922 return []string{ 50923 ComparatorEquals, 50924 ComparatorGreaterThan, 50925 ComparatorLessThan, 50926 ComparatorGreaterThanEquals, 50927 ComparatorLessThanEquals, 50928 } 50929 } 50930 50931 const ( 50932 // CompatibilityNone is a Compatibility enum value 50933 CompatibilityNone = "NONE" 50934 50935 // CompatibilityDisabled is a Compatibility enum value 50936 CompatibilityDisabled = "DISABLED" 50937 50938 // CompatibilityBackward is a Compatibility enum value 50939 CompatibilityBackward = "BACKWARD" 50940 50941 // CompatibilityBackwardAll is a Compatibility enum value 50942 CompatibilityBackwardAll = "BACKWARD_ALL" 50943 50944 // CompatibilityForward is a Compatibility enum value 50945 CompatibilityForward = "FORWARD" 50946 50947 // CompatibilityForwardAll is a Compatibility enum value 50948 CompatibilityForwardAll = "FORWARD_ALL" 50949 50950 // CompatibilityFull is a Compatibility enum value 50951 CompatibilityFull = "FULL" 50952 50953 // CompatibilityFullAll is a Compatibility enum value 50954 CompatibilityFullAll = "FULL_ALL" 50955 ) 50956 50957 // Compatibility_Values returns all elements of the Compatibility enum 50958 func Compatibility_Values() []string { 50959 return []string{ 50960 CompatibilityNone, 50961 CompatibilityDisabled, 50962 CompatibilityBackward, 50963 CompatibilityBackwardAll, 50964 CompatibilityForward, 50965 CompatibilityForwardAll, 50966 CompatibilityFull, 50967 CompatibilityFullAll, 50968 } 50969 } 50970 50971 const ( 50972 // ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value 50973 ConnectionPropertyKeyHost = "HOST" 50974 50975 // ConnectionPropertyKeyPort is a ConnectionPropertyKey enum value 50976 ConnectionPropertyKeyPort = "PORT" 50977 50978 // ConnectionPropertyKeyUsername is a ConnectionPropertyKey enum value 50979 ConnectionPropertyKeyUsername = "USERNAME" 50980 50981 // ConnectionPropertyKeyPassword is a ConnectionPropertyKey enum value 50982 ConnectionPropertyKeyPassword = "PASSWORD" 50983 50984 // ConnectionPropertyKeyEncryptedPassword is a ConnectionPropertyKey enum value 50985 ConnectionPropertyKeyEncryptedPassword = "ENCRYPTED_PASSWORD" 50986 50987 // ConnectionPropertyKeyJdbcDriverJarUri is a ConnectionPropertyKey enum value 50988 ConnectionPropertyKeyJdbcDriverJarUri = "JDBC_DRIVER_JAR_URI" 50989 50990 // ConnectionPropertyKeyJdbcDriverClassName is a ConnectionPropertyKey enum value 50991 ConnectionPropertyKeyJdbcDriverClassName = "JDBC_DRIVER_CLASS_NAME" 50992 50993 // ConnectionPropertyKeyJdbcEngine is a ConnectionPropertyKey enum value 50994 ConnectionPropertyKeyJdbcEngine = "JDBC_ENGINE" 50995 50996 // ConnectionPropertyKeyJdbcEngineVersion is a ConnectionPropertyKey enum value 50997 ConnectionPropertyKeyJdbcEngineVersion = "JDBC_ENGINE_VERSION" 50998 50999 // ConnectionPropertyKeyConfigFiles is a ConnectionPropertyKey enum value 51000 ConnectionPropertyKeyConfigFiles = "CONFIG_FILES" 51001 51002 // ConnectionPropertyKeyInstanceId is a ConnectionPropertyKey enum value 51003 ConnectionPropertyKeyInstanceId = "INSTANCE_ID" 51004 51005 // ConnectionPropertyKeyJdbcConnectionUrl is a ConnectionPropertyKey enum value 51006 ConnectionPropertyKeyJdbcConnectionUrl = "JDBC_CONNECTION_URL" 51007 51008 // ConnectionPropertyKeyJdbcEnforceSsl is a ConnectionPropertyKey enum value 51009 ConnectionPropertyKeyJdbcEnforceSsl = "JDBC_ENFORCE_SSL" 51010 51011 // ConnectionPropertyKeyCustomJdbcCert is a ConnectionPropertyKey enum value 51012 ConnectionPropertyKeyCustomJdbcCert = "CUSTOM_JDBC_CERT" 51013 51014 // ConnectionPropertyKeySkipCustomJdbcCertValidation is a ConnectionPropertyKey enum value 51015 ConnectionPropertyKeySkipCustomJdbcCertValidation = "SKIP_CUSTOM_JDBC_CERT_VALIDATION" 51016 51017 // ConnectionPropertyKeyCustomJdbcCertString is a ConnectionPropertyKey enum value 51018 ConnectionPropertyKeyCustomJdbcCertString = "CUSTOM_JDBC_CERT_STRING" 51019 51020 // ConnectionPropertyKeyConnectionUrl is a ConnectionPropertyKey enum value 51021 ConnectionPropertyKeyConnectionUrl = "CONNECTION_URL" 51022 51023 // ConnectionPropertyKeyKafkaBootstrapServers is a ConnectionPropertyKey enum value 51024 ConnectionPropertyKeyKafkaBootstrapServers = "KAFKA_BOOTSTRAP_SERVERS" 51025 51026 // ConnectionPropertyKeyKafkaSslEnabled is a ConnectionPropertyKey enum value 51027 ConnectionPropertyKeyKafkaSslEnabled = "KAFKA_SSL_ENABLED" 51028 51029 // ConnectionPropertyKeyKafkaCustomCert is a ConnectionPropertyKey enum value 51030 ConnectionPropertyKeyKafkaCustomCert = "KAFKA_CUSTOM_CERT" 51031 51032 // ConnectionPropertyKeyKafkaSkipCustomCertValidation is a ConnectionPropertyKey enum value 51033 ConnectionPropertyKeyKafkaSkipCustomCertValidation = "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" 51034 51035 // ConnectionPropertyKeyKafkaClientKeystore is a ConnectionPropertyKey enum value 51036 ConnectionPropertyKeyKafkaClientKeystore = "KAFKA_CLIENT_KEYSTORE" 51037 51038 // ConnectionPropertyKeyKafkaClientKeystorePassword is a ConnectionPropertyKey enum value 51039 ConnectionPropertyKeyKafkaClientKeystorePassword = "KAFKA_CLIENT_KEYSTORE_PASSWORD" 51040 51041 // ConnectionPropertyKeyKafkaClientKeyPassword is a ConnectionPropertyKey enum value 51042 ConnectionPropertyKeyKafkaClientKeyPassword = "KAFKA_CLIENT_KEY_PASSWORD" 51043 51044 // ConnectionPropertyKeyEncryptedKafkaClientKeystorePassword is a ConnectionPropertyKey enum value 51045 ConnectionPropertyKeyEncryptedKafkaClientKeystorePassword = "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" 51046 51047 // ConnectionPropertyKeyEncryptedKafkaClientKeyPassword is a ConnectionPropertyKey enum value 51048 ConnectionPropertyKeyEncryptedKafkaClientKeyPassword = "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" 51049 51050 // ConnectionPropertyKeySecretId is a ConnectionPropertyKey enum value 51051 ConnectionPropertyKeySecretId = "SECRET_ID" 51052 51053 // ConnectionPropertyKeyConnectorUrl is a ConnectionPropertyKey enum value 51054 ConnectionPropertyKeyConnectorUrl = "CONNECTOR_URL" 51055 51056 // ConnectionPropertyKeyConnectorType is a ConnectionPropertyKey enum value 51057 ConnectionPropertyKeyConnectorType = "CONNECTOR_TYPE" 51058 51059 // ConnectionPropertyKeyConnectorClassName is a ConnectionPropertyKey enum value 51060 ConnectionPropertyKeyConnectorClassName = "CONNECTOR_CLASS_NAME" 51061 ) 51062 51063 // ConnectionPropertyKey_Values returns all elements of the ConnectionPropertyKey enum 51064 func ConnectionPropertyKey_Values() []string { 51065 return []string{ 51066 ConnectionPropertyKeyHost, 51067 ConnectionPropertyKeyPort, 51068 ConnectionPropertyKeyUsername, 51069 ConnectionPropertyKeyPassword, 51070 ConnectionPropertyKeyEncryptedPassword, 51071 ConnectionPropertyKeyJdbcDriverJarUri, 51072 ConnectionPropertyKeyJdbcDriverClassName, 51073 ConnectionPropertyKeyJdbcEngine, 51074 ConnectionPropertyKeyJdbcEngineVersion, 51075 ConnectionPropertyKeyConfigFiles, 51076 ConnectionPropertyKeyInstanceId, 51077 ConnectionPropertyKeyJdbcConnectionUrl, 51078 ConnectionPropertyKeyJdbcEnforceSsl, 51079 ConnectionPropertyKeyCustomJdbcCert, 51080 ConnectionPropertyKeySkipCustomJdbcCertValidation, 51081 ConnectionPropertyKeyCustomJdbcCertString, 51082 ConnectionPropertyKeyConnectionUrl, 51083 ConnectionPropertyKeyKafkaBootstrapServers, 51084 ConnectionPropertyKeyKafkaSslEnabled, 51085 ConnectionPropertyKeyKafkaCustomCert, 51086 ConnectionPropertyKeyKafkaSkipCustomCertValidation, 51087 ConnectionPropertyKeyKafkaClientKeystore, 51088 ConnectionPropertyKeyKafkaClientKeystorePassword, 51089 ConnectionPropertyKeyKafkaClientKeyPassword, 51090 ConnectionPropertyKeyEncryptedKafkaClientKeystorePassword, 51091 ConnectionPropertyKeyEncryptedKafkaClientKeyPassword, 51092 ConnectionPropertyKeySecretId, 51093 ConnectionPropertyKeyConnectorUrl, 51094 ConnectionPropertyKeyConnectorType, 51095 ConnectionPropertyKeyConnectorClassName, 51096 } 51097 } 51098 51099 const ( 51100 // ConnectionTypeJdbc is a ConnectionType enum value 51101 ConnectionTypeJdbc = "JDBC" 51102 51103 // ConnectionTypeSftp is a ConnectionType enum value 51104 ConnectionTypeSftp = "SFTP" 51105 51106 // ConnectionTypeMongodb is a ConnectionType enum value 51107 ConnectionTypeMongodb = "MONGODB" 51108 51109 // ConnectionTypeKafka is a ConnectionType enum value 51110 ConnectionTypeKafka = "KAFKA" 51111 51112 // ConnectionTypeNetwork is a ConnectionType enum value 51113 ConnectionTypeNetwork = "NETWORK" 51114 51115 // ConnectionTypeMarketplace is a ConnectionType enum value 51116 ConnectionTypeMarketplace = "MARKETPLACE" 51117 51118 // ConnectionTypeCustom is a ConnectionType enum value 51119 ConnectionTypeCustom = "CUSTOM" 51120 ) 51121 51122 // ConnectionType_Values returns all elements of the ConnectionType enum 51123 func ConnectionType_Values() []string { 51124 return []string{ 51125 ConnectionTypeJdbc, 51126 ConnectionTypeSftp, 51127 ConnectionTypeMongodb, 51128 ConnectionTypeKafka, 51129 ConnectionTypeNetwork, 51130 ConnectionTypeMarketplace, 51131 ConnectionTypeCustom, 51132 } 51133 } 51134 51135 const ( 51136 // CrawlStateRunning is a CrawlState enum value 51137 CrawlStateRunning = "RUNNING" 51138 51139 // CrawlStateCancelling is a CrawlState enum value 51140 CrawlStateCancelling = "CANCELLING" 51141 51142 // CrawlStateCancelled is a CrawlState enum value 51143 CrawlStateCancelled = "CANCELLED" 51144 51145 // CrawlStateSucceeded is a CrawlState enum value 51146 CrawlStateSucceeded = "SUCCEEDED" 51147 51148 // CrawlStateFailed is a CrawlState enum value 51149 CrawlStateFailed = "FAILED" 51150 ) 51151 51152 // CrawlState_Values returns all elements of the CrawlState enum 51153 func CrawlState_Values() []string { 51154 return []string{ 51155 CrawlStateRunning, 51156 CrawlStateCancelling, 51157 CrawlStateCancelled, 51158 CrawlStateSucceeded, 51159 CrawlStateFailed, 51160 } 51161 } 51162 51163 const ( 51164 // CrawlerLineageSettingsEnable is a CrawlerLineageSettings enum value 51165 CrawlerLineageSettingsEnable = "ENABLE" 51166 51167 // CrawlerLineageSettingsDisable is a CrawlerLineageSettings enum value 51168 CrawlerLineageSettingsDisable = "DISABLE" 51169 ) 51170 51171 // CrawlerLineageSettings_Values returns all elements of the CrawlerLineageSettings enum 51172 func CrawlerLineageSettings_Values() []string { 51173 return []string{ 51174 CrawlerLineageSettingsEnable, 51175 CrawlerLineageSettingsDisable, 51176 } 51177 } 51178 51179 const ( 51180 // CrawlerStateReady is a CrawlerState enum value 51181 CrawlerStateReady = "READY" 51182 51183 // CrawlerStateRunning is a CrawlerState enum value 51184 CrawlerStateRunning = "RUNNING" 51185 51186 // CrawlerStateStopping is a CrawlerState enum value 51187 CrawlerStateStopping = "STOPPING" 51188 ) 51189 51190 // CrawlerState_Values returns all elements of the CrawlerState enum 51191 func CrawlerState_Values() []string { 51192 return []string{ 51193 CrawlerStateReady, 51194 CrawlerStateRunning, 51195 CrawlerStateStopping, 51196 } 51197 } 51198 51199 const ( 51200 // CsvHeaderOptionUnknown is a CsvHeaderOption enum value 51201 CsvHeaderOptionUnknown = "UNKNOWN" 51202 51203 // CsvHeaderOptionPresent is a CsvHeaderOption enum value 51204 CsvHeaderOptionPresent = "PRESENT" 51205 51206 // CsvHeaderOptionAbsent is a CsvHeaderOption enum value 51207 CsvHeaderOptionAbsent = "ABSENT" 51208 ) 51209 51210 // CsvHeaderOption_Values returns all elements of the CsvHeaderOption enum 51211 func CsvHeaderOption_Values() []string { 51212 return []string{ 51213 CsvHeaderOptionUnknown, 51214 CsvHeaderOptionPresent, 51215 CsvHeaderOptionAbsent, 51216 } 51217 } 51218 51219 const ( 51220 // DataFormatAvro is a DataFormat enum value 51221 DataFormatAvro = "AVRO" 51222 51223 // DataFormatJson is a DataFormat enum value 51224 DataFormatJson = "JSON" 51225 ) 51226 51227 // DataFormat_Values returns all elements of the DataFormat enum 51228 func DataFormat_Values() []string { 51229 return []string{ 51230 DataFormatAvro, 51231 DataFormatJson, 51232 } 51233 } 51234 51235 const ( 51236 // DeleteBehaviorLog is a DeleteBehavior enum value 51237 DeleteBehaviorLog = "LOG" 51238 51239 // DeleteBehaviorDeleteFromDatabase is a DeleteBehavior enum value 51240 DeleteBehaviorDeleteFromDatabase = "DELETE_FROM_DATABASE" 51241 51242 // DeleteBehaviorDeprecateInDatabase is a DeleteBehavior enum value 51243 DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE" 51244 ) 51245 51246 // DeleteBehavior_Values returns all elements of the DeleteBehavior enum 51247 func DeleteBehavior_Values() []string { 51248 return []string{ 51249 DeleteBehaviorLog, 51250 DeleteBehaviorDeleteFromDatabase, 51251 DeleteBehaviorDeprecateInDatabase, 51252 } 51253 } 51254 51255 const ( 51256 // EnableHybridValuesTrue is a EnableHybridValues enum value 51257 EnableHybridValuesTrue = "TRUE" 51258 51259 // EnableHybridValuesFalse is a EnableHybridValues enum value 51260 EnableHybridValuesFalse = "FALSE" 51261 ) 51262 51263 // EnableHybridValues_Values returns all elements of the EnableHybridValues enum 51264 func EnableHybridValues_Values() []string { 51265 return []string{ 51266 EnableHybridValuesTrue, 51267 EnableHybridValuesFalse, 51268 } 51269 } 51270 51271 const ( 51272 // ExistConditionMustExist is a ExistCondition enum value 51273 ExistConditionMustExist = "MUST_EXIST" 51274 51275 // ExistConditionNotExist is a ExistCondition enum value 51276 ExistConditionNotExist = "NOT_EXIST" 51277 51278 // ExistConditionNone is a ExistCondition enum value 51279 ExistConditionNone = "NONE" 51280 ) 51281 51282 // ExistCondition_Values returns all elements of the ExistCondition enum 51283 func ExistCondition_Values() []string { 51284 return []string{ 51285 ExistConditionMustExist, 51286 ExistConditionNotExist, 51287 ExistConditionNone, 51288 } 51289 } 51290 51291 const ( 51292 // JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value 51293 JobBookmarksEncryptionModeDisabled = "DISABLED" 51294 51295 // JobBookmarksEncryptionModeCseKms is a JobBookmarksEncryptionMode enum value 51296 JobBookmarksEncryptionModeCseKms = "CSE-KMS" 51297 ) 51298 51299 // JobBookmarksEncryptionMode_Values returns all elements of the JobBookmarksEncryptionMode enum 51300 func JobBookmarksEncryptionMode_Values() []string { 51301 return []string{ 51302 JobBookmarksEncryptionModeDisabled, 51303 JobBookmarksEncryptionModeCseKms, 51304 } 51305 } 51306 51307 const ( 51308 // JobRunStateStarting is a JobRunState enum value 51309 JobRunStateStarting = "STARTING" 51310 51311 // JobRunStateRunning is a JobRunState enum value 51312 JobRunStateRunning = "RUNNING" 51313 51314 // JobRunStateStopping is a JobRunState enum value 51315 JobRunStateStopping = "STOPPING" 51316 51317 // JobRunStateStopped is a JobRunState enum value 51318 JobRunStateStopped = "STOPPED" 51319 51320 // JobRunStateSucceeded is a JobRunState enum value 51321 JobRunStateSucceeded = "SUCCEEDED" 51322 51323 // JobRunStateFailed is a JobRunState enum value 51324 JobRunStateFailed = "FAILED" 51325 51326 // JobRunStateTimeout is a JobRunState enum value 51327 JobRunStateTimeout = "TIMEOUT" 51328 ) 51329 51330 // JobRunState_Values returns all elements of the JobRunState enum 51331 func JobRunState_Values() []string { 51332 return []string{ 51333 JobRunStateStarting, 51334 JobRunStateRunning, 51335 JobRunStateStopping, 51336 JobRunStateStopped, 51337 JobRunStateSucceeded, 51338 JobRunStateFailed, 51339 JobRunStateTimeout, 51340 } 51341 } 51342 51343 const ( 51344 // LanguagePython is a Language enum value 51345 LanguagePython = "PYTHON" 51346 51347 // LanguageScala is a Language enum value 51348 LanguageScala = "SCALA" 51349 ) 51350 51351 // Language_Values returns all elements of the Language enum 51352 func Language_Values() []string { 51353 return []string{ 51354 LanguagePython, 51355 LanguageScala, 51356 } 51357 } 51358 51359 const ( 51360 // LastCrawlStatusSucceeded is a LastCrawlStatus enum value 51361 LastCrawlStatusSucceeded = "SUCCEEDED" 51362 51363 // LastCrawlStatusCancelled is a LastCrawlStatus enum value 51364 LastCrawlStatusCancelled = "CANCELLED" 51365 51366 // LastCrawlStatusFailed is a LastCrawlStatus enum value 51367 LastCrawlStatusFailed = "FAILED" 51368 ) 51369 51370 // LastCrawlStatus_Values returns all elements of the LastCrawlStatus enum 51371 func LastCrawlStatus_Values() []string { 51372 return []string{ 51373 LastCrawlStatusSucceeded, 51374 LastCrawlStatusCancelled, 51375 LastCrawlStatusFailed, 51376 } 51377 } 51378 51379 const ( 51380 // LogicalAnd is a Logical enum value 51381 LogicalAnd = "AND" 51382 51383 // LogicalAny is a Logical enum value 51384 LogicalAny = "ANY" 51385 ) 51386 51387 // Logical_Values returns all elements of the Logical enum 51388 func Logical_Values() []string { 51389 return []string{ 51390 LogicalAnd, 51391 LogicalAny, 51392 } 51393 } 51394 51395 const ( 51396 // LogicalOperatorEquals is a LogicalOperator enum value 51397 LogicalOperatorEquals = "EQUALS" 51398 ) 51399 51400 // LogicalOperator_Values returns all elements of the LogicalOperator enum 51401 func LogicalOperator_Values() []string { 51402 return []string{ 51403 LogicalOperatorEquals, 51404 } 51405 } 51406 51407 const ( 51408 // MLUserDataEncryptionModeStringDisabled is a MLUserDataEncryptionModeString enum value 51409 MLUserDataEncryptionModeStringDisabled = "DISABLED" 51410 51411 // MLUserDataEncryptionModeStringSseKms is a MLUserDataEncryptionModeString enum value 51412 MLUserDataEncryptionModeStringSseKms = "SSE-KMS" 51413 ) 51414 51415 // MLUserDataEncryptionModeString_Values returns all elements of the MLUserDataEncryptionModeString enum 51416 func MLUserDataEncryptionModeString_Values() []string { 51417 return []string{ 51418 MLUserDataEncryptionModeStringDisabled, 51419 MLUserDataEncryptionModeStringSseKms, 51420 } 51421 } 51422 51423 const ( 51424 // NodeTypeCrawler is a NodeType enum value 51425 NodeTypeCrawler = "CRAWLER" 51426 51427 // NodeTypeJob is a NodeType enum value 51428 NodeTypeJob = "JOB" 51429 51430 // NodeTypeTrigger is a NodeType enum value 51431 NodeTypeTrigger = "TRIGGER" 51432 ) 51433 51434 // NodeType_Values returns all elements of the NodeType enum 51435 func NodeType_Values() []string { 51436 return []string{ 51437 NodeTypeCrawler, 51438 NodeTypeJob, 51439 NodeTypeTrigger, 51440 } 51441 } 51442 51443 const ( 51444 // PartitionIndexStatusCreating is a PartitionIndexStatus enum value 51445 PartitionIndexStatusCreating = "CREATING" 51446 51447 // PartitionIndexStatusActive is a PartitionIndexStatus enum value 51448 PartitionIndexStatusActive = "ACTIVE" 51449 51450 // PartitionIndexStatusDeleting is a PartitionIndexStatus enum value 51451 PartitionIndexStatusDeleting = "DELETING" 51452 51453 // PartitionIndexStatusFailed is a PartitionIndexStatus enum value 51454 PartitionIndexStatusFailed = "FAILED" 51455 ) 51456 51457 // PartitionIndexStatus_Values returns all elements of the PartitionIndexStatus enum 51458 func PartitionIndexStatus_Values() []string { 51459 return []string{ 51460 PartitionIndexStatusCreating, 51461 PartitionIndexStatusActive, 51462 PartitionIndexStatusDeleting, 51463 PartitionIndexStatusFailed, 51464 } 51465 } 51466 51467 const ( 51468 // PermissionAll is a Permission enum value 51469 PermissionAll = "ALL" 51470 51471 // PermissionSelect is a Permission enum value 51472 PermissionSelect = "SELECT" 51473 51474 // PermissionAlter is a Permission enum value 51475 PermissionAlter = "ALTER" 51476 51477 // PermissionDrop is a Permission enum value 51478 PermissionDrop = "DROP" 51479 51480 // PermissionDelete is a Permission enum value 51481 PermissionDelete = "DELETE" 51482 51483 // PermissionInsert is a Permission enum value 51484 PermissionInsert = "INSERT" 51485 51486 // PermissionCreateDatabase is a Permission enum value 51487 PermissionCreateDatabase = "CREATE_DATABASE" 51488 51489 // PermissionCreateTable is a Permission enum value 51490 PermissionCreateTable = "CREATE_TABLE" 51491 51492 // PermissionDataLocationAccess is a Permission enum value 51493 PermissionDataLocationAccess = "DATA_LOCATION_ACCESS" 51494 ) 51495 51496 // Permission_Values returns all elements of the Permission enum 51497 func Permission_Values() []string { 51498 return []string{ 51499 PermissionAll, 51500 PermissionSelect, 51501 PermissionAlter, 51502 PermissionDrop, 51503 PermissionDelete, 51504 PermissionInsert, 51505 PermissionCreateDatabase, 51506 PermissionCreateTable, 51507 PermissionDataLocationAccess, 51508 } 51509 } 51510 51511 const ( 51512 // PrincipalTypeUser is a PrincipalType enum value 51513 PrincipalTypeUser = "USER" 51514 51515 // PrincipalTypeRole is a PrincipalType enum value 51516 PrincipalTypeRole = "ROLE" 51517 51518 // PrincipalTypeGroup is a PrincipalType enum value 51519 PrincipalTypeGroup = "GROUP" 51520 ) 51521 51522 // PrincipalType_Values returns all elements of the PrincipalType enum 51523 func PrincipalType_Values() []string { 51524 return []string{ 51525 PrincipalTypeUser, 51526 PrincipalTypeRole, 51527 PrincipalTypeGroup, 51528 } 51529 } 51530 51531 const ( 51532 // RecrawlBehaviorCrawlEverything is a RecrawlBehavior enum value 51533 RecrawlBehaviorCrawlEverything = "CRAWL_EVERYTHING" 51534 51535 // RecrawlBehaviorCrawlNewFoldersOnly is a RecrawlBehavior enum value 51536 RecrawlBehaviorCrawlNewFoldersOnly = "CRAWL_NEW_FOLDERS_ONLY" 51537 ) 51538 51539 // RecrawlBehavior_Values returns all elements of the RecrawlBehavior enum 51540 func RecrawlBehavior_Values() []string { 51541 return []string{ 51542 RecrawlBehaviorCrawlEverything, 51543 RecrawlBehaviorCrawlNewFoldersOnly, 51544 } 51545 } 51546 51547 const ( 51548 // RegistryStatusAvailable is a RegistryStatus enum value 51549 RegistryStatusAvailable = "AVAILABLE" 51550 51551 // RegistryStatusDeleting is a RegistryStatus enum value 51552 RegistryStatusDeleting = "DELETING" 51553 ) 51554 51555 // RegistryStatus_Values returns all elements of the RegistryStatus enum 51556 func RegistryStatus_Values() []string { 51557 return []string{ 51558 RegistryStatusAvailable, 51559 RegistryStatusDeleting, 51560 } 51561 } 51562 51563 const ( 51564 // ResourceShareTypeForeign is a ResourceShareType enum value 51565 ResourceShareTypeForeign = "FOREIGN" 51566 51567 // ResourceShareTypeAll is a ResourceShareType enum value 51568 ResourceShareTypeAll = "ALL" 51569 ) 51570 51571 // ResourceShareType_Values returns all elements of the ResourceShareType enum 51572 func ResourceShareType_Values() []string { 51573 return []string{ 51574 ResourceShareTypeForeign, 51575 ResourceShareTypeAll, 51576 } 51577 } 51578 51579 const ( 51580 // ResourceTypeJar is a ResourceType enum value 51581 ResourceTypeJar = "JAR" 51582 51583 // ResourceTypeFile is a ResourceType enum value 51584 ResourceTypeFile = "FILE" 51585 51586 // ResourceTypeArchive is a ResourceType enum value 51587 ResourceTypeArchive = "ARCHIVE" 51588 ) 51589 51590 // ResourceType_Values returns all elements of the ResourceType enum 51591 func ResourceType_Values() []string { 51592 return []string{ 51593 ResourceTypeJar, 51594 ResourceTypeFile, 51595 ResourceTypeArchive, 51596 } 51597 } 51598 51599 const ( 51600 // S3EncryptionModeDisabled is a S3EncryptionMode enum value 51601 S3EncryptionModeDisabled = "DISABLED" 51602 51603 // S3EncryptionModeSseKms is a S3EncryptionMode enum value 51604 S3EncryptionModeSseKms = "SSE-KMS" 51605 51606 // S3EncryptionModeSseS3 is a S3EncryptionMode enum value 51607 S3EncryptionModeSseS3 = "SSE-S3" 51608 ) 51609 51610 // S3EncryptionMode_Values returns all elements of the S3EncryptionMode enum 51611 func S3EncryptionMode_Values() []string { 51612 return []string{ 51613 S3EncryptionModeDisabled, 51614 S3EncryptionModeSseKms, 51615 S3EncryptionModeSseS3, 51616 } 51617 } 51618 51619 const ( 51620 // ScheduleStateScheduled is a ScheduleState enum value 51621 ScheduleStateScheduled = "SCHEDULED" 51622 51623 // ScheduleStateNotScheduled is a ScheduleState enum value 51624 ScheduleStateNotScheduled = "NOT_SCHEDULED" 51625 51626 // ScheduleStateTransitioning is a ScheduleState enum value 51627 ScheduleStateTransitioning = "TRANSITIONING" 51628 ) 51629 51630 // ScheduleState_Values returns all elements of the ScheduleState enum 51631 func ScheduleState_Values() []string { 51632 return []string{ 51633 ScheduleStateScheduled, 51634 ScheduleStateNotScheduled, 51635 ScheduleStateTransitioning, 51636 } 51637 } 51638 51639 const ( 51640 // SchemaDiffTypeSyntaxDiff is a SchemaDiffType enum value 51641 SchemaDiffTypeSyntaxDiff = "SYNTAX_DIFF" 51642 ) 51643 51644 // SchemaDiffType_Values returns all elements of the SchemaDiffType enum 51645 func SchemaDiffType_Values() []string { 51646 return []string{ 51647 SchemaDiffTypeSyntaxDiff, 51648 } 51649 } 51650 51651 const ( 51652 // SchemaStatusAvailable is a SchemaStatus enum value 51653 SchemaStatusAvailable = "AVAILABLE" 51654 51655 // SchemaStatusPending is a SchemaStatus enum value 51656 SchemaStatusPending = "PENDING" 51657 51658 // SchemaStatusDeleting is a SchemaStatus enum value 51659 SchemaStatusDeleting = "DELETING" 51660 ) 51661 51662 // SchemaStatus_Values returns all elements of the SchemaStatus enum 51663 func SchemaStatus_Values() []string { 51664 return []string{ 51665 SchemaStatusAvailable, 51666 SchemaStatusPending, 51667 SchemaStatusDeleting, 51668 } 51669 } 51670 51671 const ( 51672 // SchemaVersionStatusAvailable is a SchemaVersionStatus enum value 51673 SchemaVersionStatusAvailable = "AVAILABLE" 51674 51675 // SchemaVersionStatusPending is a SchemaVersionStatus enum value 51676 SchemaVersionStatusPending = "PENDING" 51677 51678 // SchemaVersionStatusFailure is a SchemaVersionStatus enum value 51679 SchemaVersionStatusFailure = "FAILURE" 51680 51681 // SchemaVersionStatusDeleting is a SchemaVersionStatus enum value 51682 SchemaVersionStatusDeleting = "DELETING" 51683 ) 51684 51685 // SchemaVersionStatus_Values returns all elements of the SchemaVersionStatus enum 51686 func SchemaVersionStatus_Values() []string { 51687 return []string{ 51688 SchemaVersionStatusAvailable, 51689 SchemaVersionStatusPending, 51690 SchemaVersionStatusFailure, 51691 SchemaVersionStatusDeleting, 51692 } 51693 } 51694 51695 const ( 51696 // SortAsc is a Sort enum value 51697 SortAsc = "ASC" 51698 51699 // SortDesc is a Sort enum value 51700 SortDesc = "DESC" 51701 ) 51702 51703 // Sort_Values returns all elements of the Sort enum 51704 func Sort_Values() []string { 51705 return []string{ 51706 SortAsc, 51707 SortDesc, 51708 } 51709 } 51710 51711 const ( 51712 // SortDirectionTypeDescending is a SortDirectionType enum value 51713 SortDirectionTypeDescending = "DESCENDING" 51714 51715 // SortDirectionTypeAscending is a SortDirectionType enum value 51716 SortDirectionTypeAscending = "ASCENDING" 51717 ) 51718 51719 // SortDirectionType_Values returns all elements of the SortDirectionType enum 51720 func SortDirectionType_Values() []string { 51721 return []string{ 51722 SortDirectionTypeDescending, 51723 SortDirectionTypeAscending, 51724 } 51725 } 51726 51727 const ( 51728 // TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value 51729 TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE" 51730 51731 // TaskRunSortColumnTypeStatus is a TaskRunSortColumnType enum value 51732 TaskRunSortColumnTypeStatus = "STATUS" 51733 51734 // TaskRunSortColumnTypeStarted is a TaskRunSortColumnType enum value 51735 TaskRunSortColumnTypeStarted = "STARTED" 51736 ) 51737 51738 // TaskRunSortColumnType_Values returns all elements of the TaskRunSortColumnType enum 51739 func TaskRunSortColumnType_Values() []string { 51740 return []string{ 51741 TaskRunSortColumnTypeTaskRunType, 51742 TaskRunSortColumnTypeStatus, 51743 TaskRunSortColumnTypeStarted, 51744 } 51745 } 51746 51747 const ( 51748 // TaskStatusTypeStarting is a TaskStatusType enum value 51749 TaskStatusTypeStarting = "STARTING" 51750 51751 // TaskStatusTypeRunning is a TaskStatusType enum value 51752 TaskStatusTypeRunning = "RUNNING" 51753 51754 // TaskStatusTypeStopping is a TaskStatusType enum value 51755 TaskStatusTypeStopping = "STOPPING" 51756 51757 // TaskStatusTypeStopped is a TaskStatusType enum value 51758 TaskStatusTypeStopped = "STOPPED" 51759 51760 // TaskStatusTypeSucceeded is a TaskStatusType enum value 51761 TaskStatusTypeSucceeded = "SUCCEEDED" 51762 51763 // TaskStatusTypeFailed is a TaskStatusType enum value 51764 TaskStatusTypeFailed = "FAILED" 51765 51766 // TaskStatusTypeTimeout is a TaskStatusType enum value 51767 TaskStatusTypeTimeout = "TIMEOUT" 51768 ) 51769 51770 // TaskStatusType_Values returns all elements of the TaskStatusType enum 51771 func TaskStatusType_Values() []string { 51772 return []string{ 51773 TaskStatusTypeStarting, 51774 TaskStatusTypeRunning, 51775 TaskStatusTypeStopping, 51776 TaskStatusTypeStopped, 51777 TaskStatusTypeSucceeded, 51778 TaskStatusTypeFailed, 51779 TaskStatusTypeTimeout, 51780 } 51781 } 51782 51783 const ( 51784 // TaskTypeEvaluation is a TaskType enum value 51785 TaskTypeEvaluation = "EVALUATION" 51786 51787 // TaskTypeLabelingSetGeneration is a TaskType enum value 51788 TaskTypeLabelingSetGeneration = "LABELING_SET_GENERATION" 51789 51790 // TaskTypeImportLabels is a TaskType enum value 51791 TaskTypeImportLabels = "IMPORT_LABELS" 51792 51793 // TaskTypeExportLabels is a TaskType enum value 51794 TaskTypeExportLabels = "EXPORT_LABELS" 51795 51796 // TaskTypeFindMatches is a TaskType enum value 51797 TaskTypeFindMatches = "FIND_MATCHES" 51798 ) 51799 51800 // TaskType_Values returns all elements of the TaskType enum 51801 func TaskType_Values() []string { 51802 return []string{ 51803 TaskTypeEvaluation, 51804 TaskTypeLabelingSetGeneration, 51805 TaskTypeImportLabels, 51806 TaskTypeExportLabels, 51807 TaskTypeFindMatches, 51808 } 51809 } 51810 51811 const ( 51812 // TransformSortColumnTypeName is a TransformSortColumnType enum value 51813 TransformSortColumnTypeName = "NAME" 51814 51815 // TransformSortColumnTypeTransformType is a TransformSortColumnType enum value 51816 TransformSortColumnTypeTransformType = "TRANSFORM_TYPE" 51817 51818 // TransformSortColumnTypeStatus is a TransformSortColumnType enum value 51819 TransformSortColumnTypeStatus = "STATUS" 51820 51821 // TransformSortColumnTypeCreated is a TransformSortColumnType enum value 51822 TransformSortColumnTypeCreated = "CREATED" 51823 51824 // TransformSortColumnTypeLastModified is a TransformSortColumnType enum value 51825 TransformSortColumnTypeLastModified = "LAST_MODIFIED" 51826 ) 51827 51828 // TransformSortColumnType_Values returns all elements of the TransformSortColumnType enum 51829 func TransformSortColumnType_Values() []string { 51830 return []string{ 51831 TransformSortColumnTypeName, 51832 TransformSortColumnTypeTransformType, 51833 TransformSortColumnTypeStatus, 51834 TransformSortColumnTypeCreated, 51835 TransformSortColumnTypeLastModified, 51836 } 51837 } 51838 51839 const ( 51840 // TransformStatusTypeNotReady is a TransformStatusType enum value 51841 TransformStatusTypeNotReady = "NOT_READY" 51842 51843 // TransformStatusTypeReady is a TransformStatusType enum value 51844 TransformStatusTypeReady = "READY" 51845 51846 // TransformStatusTypeDeleting is a TransformStatusType enum value 51847 TransformStatusTypeDeleting = "DELETING" 51848 ) 51849 51850 // TransformStatusType_Values returns all elements of the TransformStatusType enum 51851 func TransformStatusType_Values() []string { 51852 return []string{ 51853 TransformStatusTypeNotReady, 51854 TransformStatusTypeReady, 51855 TransformStatusTypeDeleting, 51856 } 51857 } 51858 51859 const ( 51860 // TransformTypeFindMatches is a TransformType enum value 51861 TransformTypeFindMatches = "FIND_MATCHES" 51862 ) 51863 51864 // TransformType_Values returns all elements of the TransformType enum 51865 func TransformType_Values() []string { 51866 return []string{ 51867 TransformTypeFindMatches, 51868 } 51869 } 51870 51871 const ( 51872 // TriggerStateCreating is a TriggerState enum value 51873 TriggerStateCreating = "CREATING" 51874 51875 // TriggerStateCreated is a TriggerState enum value 51876 TriggerStateCreated = "CREATED" 51877 51878 // TriggerStateActivating is a TriggerState enum value 51879 TriggerStateActivating = "ACTIVATING" 51880 51881 // TriggerStateActivated is a TriggerState enum value 51882 TriggerStateActivated = "ACTIVATED" 51883 51884 // TriggerStateDeactivating is a TriggerState enum value 51885 TriggerStateDeactivating = "DEACTIVATING" 51886 51887 // TriggerStateDeactivated is a TriggerState enum value 51888 TriggerStateDeactivated = "DEACTIVATED" 51889 51890 // TriggerStateDeleting is a TriggerState enum value 51891 TriggerStateDeleting = "DELETING" 51892 51893 // TriggerStateUpdating is a TriggerState enum value 51894 TriggerStateUpdating = "UPDATING" 51895 ) 51896 51897 // TriggerState_Values returns all elements of the TriggerState enum 51898 func TriggerState_Values() []string { 51899 return []string{ 51900 TriggerStateCreating, 51901 TriggerStateCreated, 51902 TriggerStateActivating, 51903 TriggerStateActivated, 51904 TriggerStateDeactivating, 51905 TriggerStateDeactivated, 51906 TriggerStateDeleting, 51907 TriggerStateUpdating, 51908 } 51909 } 51910 51911 const ( 51912 // TriggerTypeScheduled is a TriggerType enum value 51913 TriggerTypeScheduled = "SCHEDULED" 51914 51915 // TriggerTypeConditional is a TriggerType enum value 51916 TriggerTypeConditional = "CONDITIONAL" 51917 51918 // TriggerTypeOnDemand is a TriggerType enum value 51919 TriggerTypeOnDemand = "ON_DEMAND" 51920 51921 // TriggerTypeEvent is a TriggerType enum value 51922 TriggerTypeEvent = "EVENT" 51923 ) 51924 51925 // TriggerType_Values returns all elements of the TriggerType enum 51926 func TriggerType_Values() []string { 51927 return []string{ 51928 TriggerTypeScheduled, 51929 TriggerTypeConditional, 51930 TriggerTypeOnDemand, 51931 TriggerTypeEvent, 51932 } 51933 } 51934 51935 const ( 51936 // UpdateBehaviorLog is a UpdateBehavior enum value 51937 UpdateBehaviorLog = "LOG" 51938 51939 // UpdateBehaviorUpdateInDatabase is a UpdateBehavior enum value 51940 UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE" 51941 ) 51942 51943 // UpdateBehavior_Values returns all elements of the UpdateBehavior enum 51944 func UpdateBehavior_Values() []string { 51945 return []string{ 51946 UpdateBehaviorLog, 51947 UpdateBehaviorUpdateInDatabase, 51948 } 51949 } 51950 51951 const ( 51952 // WorkerTypeStandard is a WorkerType enum value 51953 WorkerTypeStandard = "Standard" 51954 51955 // WorkerTypeG1x is a WorkerType enum value 51956 WorkerTypeG1x = "G.1X" 51957 51958 // WorkerTypeG2x is a WorkerType enum value 51959 WorkerTypeG2x = "G.2X" 51960 ) 51961 51962 // WorkerType_Values returns all elements of the WorkerType enum 51963 func WorkerType_Values() []string { 51964 return []string{ 51965 WorkerTypeStandard, 51966 WorkerTypeG1x, 51967 WorkerTypeG2x, 51968 } 51969 } 51970 51971 const ( 51972 // WorkflowRunStatusRunning is a WorkflowRunStatus enum value 51973 WorkflowRunStatusRunning = "RUNNING" 51974 51975 // WorkflowRunStatusCompleted is a WorkflowRunStatus enum value 51976 WorkflowRunStatusCompleted = "COMPLETED" 51977 51978 // WorkflowRunStatusStopping is a WorkflowRunStatus enum value 51979 WorkflowRunStatusStopping = "STOPPING" 51980 51981 // WorkflowRunStatusStopped is a WorkflowRunStatus enum value 51982 WorkflowRunStatusStopped = "STOPPED" 51983 51984 // WorkflowRunStatusError is a WorkflowRunStatus enum value 51985 WorkflowRunStatusError = "ERROR" 51986 ) 51987 51988 // WorkflowRunStatus_Values returns all elements of the WorkflowRunStatus enum 51989 func WorkflowRunStatus_Values() []string { 51990 return []string{ 51991 WorkflowRunStatusRunning, 51992 WorkflowRunStatusCompleted, 51993 WorkflowRunStatusStopping, 51994 WorkflowRunStatusStopped, 51995 WorkflowRunStatusError, 51996 } 51997 }