1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package glue
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13	"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
14)
15
16const 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
42func (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
92func (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.
106func (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
113const 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
139func (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
174func (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.
188func (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
195const 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
221func (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
262func (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.
276func (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
283const 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
309func (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. AWS 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
359func (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.
373func (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
380const 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
406func (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
447func (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.
461func (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
468const opBatchGetCrawlers = "BatchGetCrawlers"
469
470// BatchGetCrawlersRequest generates a "aws/request.Request" representing the
471// client's request for the BatchGetCrawlers 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 BatchGetCrawlers for more information on using the BatchGetCrawlers
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 BatchGetCrawlersRequest method.
486//    req, resp := client.BatchGetCrawlersRequest(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/BatchGetCrawlers
494func (c *Glue) BatchGetCrawlersRequest(input *BatchGetCrawlersInput) (req *request.Request, output *BatchGetCrawlersOutput) {
495	op := &request.Operation{
496		Name:       opBatchGetCrawlers,
497		HTTPMethod: "POST",
498		HTTPPath:   "/",
499	}
500
501	if input == nil {
502		input = &BatchGetCrawlersInput{}
503	}
504
505	output = &BatchGetCrawlersOutput{}
506	req = c.newRequest(op, input, output)
507	return
508}
509
510// BatchGetCrawlers API operation for AWS Glue.
511//
512// Returns a list of resource metadata for a given list of crawler names. After
513// calling the ListCrawlers operation, you can call this operation to access
514// the data to which you have been granted permissions. This operation supports
515// all IAM permissions, including permission conditions that uses tags.
516//
517// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
518// with awserr.Error's Code and Message methods to get detailed information about
519// the error.
520//
521// See the AWS API reference guide for AWS Glue's
522// API operation BatchGetCrawlers for usage and error information.
523//
524// Returned Error Types:
525//   * InvalidInputException
526//   The input provided was not valid.
527//
528//   * OperationTimeoutException
529//   The operation timed out.
530//
531// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlers
532func (c *Glue) BatchGetCrawlers(input *BatchGetCrawlersInput) (*BatchGetCrawlersOutput, error) {
533	req, out := c.BatchGetCrawlersRequest(input)
534	return out, req.Send()
535}
536
537// BatchGetCrawlersWithContext is the same as BatchGetCrawlers with the addition of
538// the ability to pass a context and additional request options.
539//
540// See BatchGetCrawlers 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.
546func (c *Glue) BatchGetCrawlersWithContext(ctx aws.Context, input *BatchGetCrawlersInput, opts ...request.Option) (*BatchGetCrawlersOutput, error) {
547	req, out := c.BatchGetCrawlersRequest(input)
548	req.SetContext(ctx)
549	req.ApplyOptions(opts...)
550	return out, req.Send()
551}
552
553const opBatchGetDevEndpoints = "BatchGetDevEndpoints"
554
555// BatchGetDevEndpointsRequest generates a "aws/request.Request" representing the
556// client's request for the BatchGetDevEndpoints 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 BatchGetDevEndpoints for more information on using the BatchGetDevEndpoints
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 BatchGetDevEndpointsRequest method.
571//    req, resp := client.BatchGetDevEndpointsRequest(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/BatchGetDevEndpoints
579func (c *Glue) BatchGetDevEndpointsRequest(input *BatchGetDevEndpointsInput) (req *request.Request, output *BatchGetDevEndpointsOutput) {
580	op := &request.Operation{
581		Name:       opBatchGetDevEndpoints,
582		HTTPMethod: "POST",
583		HTTPPath:   "/",
584	}
585
586	if input == nil {
587		input = &BatchGetDevEndpointsInput{}
588	}
589
590	output = &BatchGetDevEndpointsOutput{}
591	req = c.newRequest(op, input, output)
592	return
593}
594
595// BatchGetDevEndpoints API operation for AWS Glue.
596//
597// Returns a list of resource metadata for a given list of development endpoint
598// names. After calling the ListDevEndpoints operation, you can call this operation
599// to access the data to which you have been granted permissions. This operation
600// supports 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 BatchGetDevEndpoints for usage and error information.
608//
609// Returned Error Types:
610//   * AccessDeniedException
611//   Access to a resource was denied.
612//
613//   * InternalServiceException
614//   An internal service error occurred.
615//
616//   * OperationTimeoutException
617//   The operation timed out.
618//
619//   * InvalidInputException
620//   The input provided was not valid.
621//
622// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetDevEndpoints
623func (c *Glue) BatchGetDevEndpoints(input *BatchGetDevEndpointsInput) (*BatchGetDevEndpointsOutput, error) {
624	req, out := c.BatchGetDevEndpointsRequest(input)
625	return out, req.Send()
626}
627
628// BatchGetDevEndpointsWithContext is the same as BatchGetDevEndpoints with the addition of
629// the ability to pass a context and additional request options.
630//
631// See BatchGetDevEndpoints for details on how to use this API operation.
632//
633// The context must be non-nil and will be used for request cancellation. If
634// the context is nil a panic will occur. In the future the SDK may create
635// sub-contexts for http.Requests. See https://golang.org/pkg/context/
636// for more information on using Contexts.
637func (c *Glue) BatchGetDevEndpointsWithContext(ctx aws.Context, input *BatchGetDevEndpointsInput, opts ...request.Option) (*BatchGetDevEndpointsOutput, error) {
638	req, out := c.BatchGetDevEndpointsRequest(input)
639	req.SetContext(ctx)
640	req.ApplyOptions(opts...)
641	return out, req.Send()
642}
643
644const opBatchGetJobs = "BatchGetJobs"
645
646// BatchGetJobsRequest generates a "aws/request.Request" representing the
647// client's request for the BatchGetJobs operation. The "output" return
648// value will be populated with the request's response once the request completes
649// successfully.
650//
651// Use "Send" method on the returned Request to send the API call to the service.
652// the "output" return value is not valid until after Send returns without error.
653//
654// See BatchGetJobs for more information on using the BatchGetJobs
655// API call, and error handling.
656//
657// This method is useful when you want to inject custom logic or configuration
658// into the SDK's request lifecycle. Such as custom headers, or retry logic.
659//
660//
661//    // Example sending a request using the BatchGetJobsRequest method.
662//    req, resp := client.BatchGetJobsRequest(params)
663//
664//    err := req.Send()
665//    if err == nil { // resp is now filled
666//        fmt.Println(resp)
667//    }
668//
669// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs
670func (c *Glue) BatchGetJobsRequest(input *BatchGetJobsInput) (req *request.Request, output *BatchGetJobsOutput) {
671	op := &request.Operation{
672		Name:       opBatchGetJobs,
673		HTTPMethod: "POST",
674		HTTPPath:   "/",
675	}
676
677	if input == nil {
678		input = &BatchGetJobsInput{}
679	}
680
681	output = &BatchGetJobsOutput{}
682	req = c.newRequest(op, input, output)
683	return
684}
685
686// BatchGetJobs API operation for AWS Glue.
687//
688// Returns a list of resource metadata for a given list of job names. After
689// calling the ListJobs operation, you can call this operation to access the
690// data to which you have been granted permissions. This operation supports
691// all IAM permissions, including permission conditions that uses tags.
692//
693// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
694// with awserr.Error's Code and Message methods to get detailed information about
695// the error.
696//
697// See the AWS API reference guide for AWS Glue's
698// API operation BatchGetJobs for usage and error information.
699//
700// Returned Error Types:
701//   * InternalServiceException
702//   An internal service error occurred.
703//
704//   * OperationTimeoutException
705//   The operation timed out.
706//
707//   * InvalidInputException
708//   The input provided was not valid.
709//
710// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs
711func (c *Glue) BatchGetJobs(input *BatchGetJobsInput) (*BatchGetJobsOutput, error) {
712	req, out := c.BatchGetJobsRequest(input)
713	return out, req.Send()
714}
715
716// BatchGetJobsWithContext is the same as BatchGetJobs with the addition of
717// the ability to pass a context and additional request options.
718//
719// See BatchGetJobs for details on how to use this API operation.
720//
721// The context must be non-nil and will be used for request cancellation. If
722// the context is nil a panic will occur. In the future the SDK may create
723// sub-contexts for http.Requests. See https://golang.org/pkg/context/
724// for more information on using Contexts.
725func (c *Glue) BatchGetJobsWithContext(ctx aws.Context, input *BatchGetJobsInput, opts ...request.Option) (*BatchGetJobsOutput, error) {
726	req, out := c.BatchGetJobsRequest(input)
727	req.SetContext(ctx)
728	req.ApplyOptions(opts...)
729	return out, req.Send()
730}
731
732const opBatchGetPartition = "BatchGetPartition"
733
734// BatchGetPartitionRequest generates a "aws/request.Request" representing the
735// client's request for the BatchGetPartition operation. The "output" return
736// value will be populated with the request's response once the request completes
737// successfully.
738//
739// Use "Send" method on the returned Request to send the API call to the service.
740// the "output" return value is not valid until after Send returns without error.
741//
742// See BatchGetPartition for more information on using the BatchGetPartition
743// API call, and error handling.
744//
745// This method is useful when you want to inject custom logic or configuration
746// into the SDK's request lifecycle. Such as custom headers, or retry logic.
747//
748//
749//    // Example sending a request using the BatchGetPartitionRequest method.
750//    req, resp := client.BatchGetPartitionRequest(params)
751//
752//    err := req.Send()
753//    if err == nil { // resp is now filled
754//        fmt.Println(resp)
755//    }
756//
757// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition
758func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *request.Request, output *BatchGetPartitionOutput) {
759	op := &request.Operation{
760		Name:       opBatchGetPartition,
761		HTTPMethod: "POST",
762		HTTPPath:   "/",
763	}
764
765	if input == nil {
766		input = &BatchGetPartitionInput{}
767	}
768
769	output = &BatchGetPartitionOutput{}
770	req = c.newRequest(op, input, output)
771	return
772}
773
774// BatchGetPartition API operation for AWS Glue.
775//
776// Retrieves partitions in a batch request.
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 BatchGetPartition for usage and error information.
784//
785// Returned Error Types:
786//   * InvalidInputException
787//   The input provided was not valid.
788//
789//   * EntityNotFoundException
790//   A specified entity does not exist
791//
792//   * OperationTimeoutException
793//   The operation timed out.
794//
795//   * InternalServiceException
796//   An internal service error occurred.
797//
798//   * EncryptionException
799//   An encryption operation failed.
800//
801// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition
802func (c *Glue) BatchGetPartition(input *BatchGetPartitionInput) (*BatchGetPartitionOutput, error) {
803	req, out := c.BatchGetPartitionRequest(input)
804	return out, req.Send()
805}
806
807// BatchGetPartitionWithContext is the same as BatchGetPartition with the addition of
808// the ability to pass a context and additional request options.
809//
810// See BatchGetPartition for details on how to use this API operation.
811//
812// The context must be non-nil and will be used for request cancellation. If
813// the context is nil a panic will occur. In the future the SDK may create
814// sub-contexts for http.Requests. See https://golang.org/pkg/context/
815// for more information on using Contexts.
816func (c *Glue) BatchGetPartitionWithContext(ctx aws.Context, input *BatchGetPartitionInput, opts ...request.Option) (*BatchGetPartitionOutput, error) {
817	req, out := c.BatchGetPartitionRequest(input)
818	req.SetContext(ctx)
819	req.ApplyOptions(opts...)
820	return out, req.Send()
821}
822
823const opBatchGetTriggers = "BatchGetTriggers"
824
825// BatchGetTriggersRequest generates a "aws/request.Request" representing the
826// client's request for the BatchGetTriggers operation. The "output" return
827// value will be populated with the request's response once the request completes
828// successfully.
829//
830// Use "Send" method on the returned Request to send the API call to the service.
831// the "output" return value is not valid until after Send returns without error.
832//
833// See BatchGetTriggers for more information on using the BatchGetTriggers
834// API call, and error handling.
835//
836// This method is useful when you want to inject custom logic or configuration
837// into the SDK's request lifecycle. Such as custom headers, or retry logic.
838//
839//
840//    // Example sending a request using the BatchGetTriggersRequest method.
841//    req, resp := client.BatchGetTriggersRequest(params)
842//
843//    err := req.Send()
844//    if err == nil { // resp is now filled
845//        fmt.Println(resp)
846//    }
847//
848// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers
849func (c *Glue) BatchGetTriggersRequest(input *BatchGetTriggersInput) (req *request.Request, output *BatchGetTriggersOutput) {
850	op := &request.Operation{
851		Name:       opBatchGetTriggers,
852		HTTPMethod: "POST",
853		HTTPPath:   "/",
854	}
855
856	if input == nil {
857		input = &BatchGetTriggersInput{}
858	}
859
860	output = &BatchGetTriggersOutput{}
861	req = c.newRequest(op, input, output)
862	return
863}
864
865// BatchGetTriggers API operation for AWS Glue.
866//
867// Returns a list of resource metadata for a given list of trigger names. After
868// calling the ListTriggers operation, you can call this operation to access
869// the data to which you have been granted permissions. This operation supports
870// all IAM permissions, including permission conditions that uses tags.
871//
872// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
873// with awserr.Error's Code and Message methods to get detailed information about
874// the error.
875//
876// See the AWS API reference guide for AWS Glue's
877// API operation BatchGetTriggers for usage and error information.
878//
879// Returned Error Types:
880//   * InternalServiceException
881//   An internal service error occurred.
882//
883//   * OperationTimeoutException
884//   The operation timed out.
885//
886//   * InvalidInputException
887//   The input provided was not valid.
888//
889// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers
890func (c *Glue) BatchGetTriggers(input *BatchGetTriggersInput) (*BatchGetTriggersOutput, error) {
891	req, out := c.BatchGetTriggersRequest(input)
892	return out, req.Send()
893}
894
895// BatchGetTriggersWithContext is the same as BatchGetTriggers with the addition of
896// the ability to pass a context and additional request options.
897//
898// See BatchGetTriggers for details on how to use this API operation.
899//
900// The context must be non-nil and will be used for request cancellation. If
901// the context is nil a panic will occur. In the future the SDK may create
902// sub-contexts for http.Requests. See https://golang.org/pkg/context/
903// for more information on using Contexts.
904func (c *Glue) BatchGetTriggersWithContext(ctx aws.Context, input *BatchGetTriggersInput, opts ...request.Option) (*BatchGetTriggersOutput, error) {
905	req, out := c.BatchGetTriggersRequest(input)
906	req.SetContext(ctx)
907	req.ApplyOptions(opts...)
908	return out, req.Send()
909}
910
911const opBatchGetWorkflows = "BatchGetWorkflows"
912
913// BatchGetWorkflowsRequest generates a "aws/request.Request" representing the
914// client's request for the BatchGetWorkflows operation. The "output" return
915// value will be populated with the request's response once the request completes
916// successfully.
917//
918// Use "Send" method on the returned Request to send the API call to the service.
919// the "output" return value is not valid until after Send returns without error.
920//
921// See BatchGetWorkflows for more information on using the BatchGetWorkflows
922// API call, and error handling.
923//
924// This method is useful when you want to inject custom logic or configuration
925// into the SDK's request lifecycle. Such as custom headers, or retry logic.
926//
927//
928//    // Example sending a request using the BatchGetWorkflowsRequest method.
929//    req, resp := client.BatchGetWorkflowsRequest(params)
930//
931//    err := req.Send()
932//    if err == nil { // resp is now filled
933//        fmt.Println(resp)
934//    }
935//
936// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows
937func (c *Glue) BatchGetWorkflowsRequest(input *BatchGetWorkflowsInput) (req *request.Request, output *BatchGetWorkflowsOutput) {
938	op := &request.Operation{
939		Name:       opBatchGetWorkflows,
940		HTTPMethod: "POST",
941		HTTPPath:   "/",
942	}
943
944	if input == nil {
945		input = &BatchGetWorkflowsInput{}
946	}
947
948	output = &BatchGetWorkflowsOutput{}
949	req = c.newRequest(op, input, output)
950	return
951}
952
953// BatchGetWorkflows API operation for AWS Glue.
954//
955// Returns a list of resource metadata for a given list of workflow names. After
956// calling the ListWorkflows operation, you can call this operation to access
957// the data to which you have been granted permissions. This operation supports
958// all IAM permissions, including permission conditions that uses tags.
959//
960// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
961// with awserr.Error's Code and Message methods to get detailed information about
962// the error.
963//
964// See the AWS API reference guide for AWS Glue's
965// API operation BatchGetWorkflows for usage and error information.
966//
967// Returned Error Types:
968//   * InternalServiceException
969//   An internal service error occurred.
970//
971//   * OperationTimeoutException
972//   The operation timed out.
973//
974//   * InvalidInputException
975//   The input provided was not valid.
976//
977// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows
978func (c *Glue) BatchGetWorkflows(input *BatchGetWorkflowsInput) (*BatchGetWorkflowsOutput, error) {
979	req, out := c.BatchGetWorkflowsRequest(input)
980	return out, req.Send()
981}
982
983// BatchGetWorkflowsWithContext is the same as BatchGetWorkflows with the addition of
984// the ability to pass a context and additional request options.
985//
986// See BatchGetWorkflows for details on how to use this API operation.
987//
988// The context must be non-nil and will be used for request cancellation. If
989// the context is nil a panic will occur. In the future the SDK may create
990// sub-contexts for http.Requests. See https://golang.org/pkg/context/
991// for more information on using Contexts.
992func (c *Glue) BatchGetWorkflowsWithContext(ctx aws.Context, input *BatchGetWorkflowsInput, opts ...request.Option) (*BatchGetWorkflowsOutput, error) {
993	req, out := c.BatchGetWorkflowsRequest(input)
994	req.SetContext(ctx)
995	req.ApplyOptions(opts...)
996	return out, req.Send()
997}
998
999const opBatchStopJobRun = "BatchStopJobRun"
1000
1001// BatchStopJobRunRequest generates a "aws/request.Request" representing the
1002// client's request for the BatchStopJobRun operation. The "output" return
1003// value will be populated with the request's response once the request completes
1004// successfully.
1005//
1006// Use "Send" method on the returned Request to send the API call to the service.
1007// the "output" return value is not valid until after Send returns without error.
1008//
1009// See BatchStopJobRun for more information on using the BatchStopJobRun
1010// API call, and error handling.
1011//
1012// This method is useful when you want to inject custom logic or configuration
1013// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1014//
1015//
1016//    // Example sending a request using the BatchStopJobRunRequest method.
1017//    req, resp := client.BatchStopJobRunRequest(params)
1018//
1019//    err := req.Send()
1020//    if err == nil { // resp is now filled
1021//        fmt.Println(resp)
1022//    }
1023//
1024// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun
1025func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request.Request, output *BatchStopJobRunOutput) {
1026	op := &request.Operation{
1027		Name:       opBatchStopJobRun,
1028		HTTPMethod: "POST",
1029		HTTPPath:   "/",
1030	}
1031
1032	if input == nil {
1033		input = &BatchStopJobRunInput{}
1034	}
1035
1036	output = &BatchStopJobRunOutput{}
1037	req = c.newRequest(op, input, output)
1038	return
1039}
1040
1041// BatchStopJobRun API operation for AWS Glue.
1042//
1043// Stops one or more job runs for a specified job definition.
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 BatchStopJobRun for usage and error information.
1051//
1052// Returned Error Types:
1053//   * InvalidInputException
1054//   The input provided was not valid.
1055//
1056//   * InternalServiceException
1057//   An internal service error occurred.
1058//
1059//   * OperationTimeoutException
1060//   The operation timed out.
1061//
1062// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun
1063func (c *Glue) BatchStopJobRun(input *BatchStopJobRunInput) (*BatchStopJobRunOutput, error) {
1064	req, out := c.BatchStopJobRunRequest(input)
1065	return out, req.Send()
1066}
1067
1068// BatchStopJobRunWithContext is the same as BatchStopJobRun with the addition of
1069// the ability to pass a context and additional request options.
1070//
1071// See BatchStopJobRun 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.
1077func (c *Glue) BatchStopJobRunWithContext(ctx aws.Context, input *BatchStopJobRunInput, opts ...request.Option) (*BatchStopJobRunOutput, error) {
1078	req, out := c.BatchStopJobRunRequest(input)
1079	req.SetContext(ctx)
1080	req.ApplyOptions(opts...)
1081	return out, req.Send()
1082}
1083
1084const opBatchUpdatePartition = "BatchUpdatePartition"
1085
1086// BatchUpdatePartitionRequest generates a "aws/request.Request" representing the
1087// client's request for the BatchUpdatePartition 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 BatchUpdatePartition for more information on using the BatchUpdatePartition
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 BatchUpdatePartitionRequest method.
1102//    req, resp := client.BatchUpdatePartitionRequest(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/BatchUpdatePartition
1110func (c *Glue) BatchUpdatePartitionRequest(input *BatchUpdatePartitionInput) (req *request.Request, output *BatchUpdatePartitionOutput) {
1111	op := &request.Operation{
1112		Name:       opBatchUpdatePartition,
1113		HTTPMethod: "POST",
1114		HTTPPath:   "/",
1115	}
1116
1117	if input == nil {
1118		input = &BatchUpdatePartitionInput{}
1119	}
1120
1121	output = &BatchUpdatePartitionOutput{}
1122	req = c.newRequest(op, input, output)
1123	return
1124}
1125
1126// BatchUpdatePartition API operation for AWS Glue.
1127//
1128// Updates one or more partitions in a batch operation.
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 BatchUpdatePartition for usage and error information.
1136//
1137// Returned Error Types:
1138//   * InvalidInputException
1139//   The input provided was not valid.
1140//
1141//   * EntityNotFoundException
1142//   A specified entity does not exist
1143//
1144//   * OperationTimeoutException
1145//   The operation timed out.
1146//
1147//   * InternalServiceException
1148//   An internal service error occurred.
1149//
1150//   * EncryptionException
1151//   An encryption operation failed.
1152//
1153// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition
1154func (c *Glue) BatchUpdatePartition(input *BatchUpdatePartitionInput) (*BatchUpdatePartitionOutput, error) {
1155	req, out := c.BatchUpdatePartitionRequest(input)
1156	return out, req.Send()
1157}
1158
1159// BatchUpdatePartitionWithContext is the same as BatchUpdatePartition with the addition of
1160// the ability to pass a context and additional request options.
1161//
1162// See BatchUpdatePartition for details on how to use this API operation.
1163//
1164// The context must be non-nil and will be used for request cancellation. If
1165// the context is nil a panic will occur. In the future the SDK may create
1166// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1167// for more information on using Contexts.
1168func (c *Glue) BatchUpdatePartitionWithContext(ctx aws.Context, input *BatchUpdatePartitionInput, opts ...request.Option) (*BatchUpdatePartitionOutput, error) {
1169	req, out := c.BatchUpdatePartitionRequest(input)
1170	req.SetContext(ctx)
1171	req.ApplyOptions(opts...)
1172	return out, req.Send()
1173}
1174
1175const opCancelMLTaskRun = "CancelMLTaskRun"
1176
1177// CancelMLTaskRunRequest generates a "aws/request.Request" representing the
1178// client's request for the CancelMLTaskRun operation. The "output" return
1179// value will be populated with the request's response once the request completes
1180// successfully.
1181//
1182// Use "Send" method on the returned Request to send the API call to the service.
1183// the "output" return value is not valid until after Send returns without error.
1184//
1185// See CancelMLTaskRun for more information on using the CancelMLTaskRun
1186// API call, and error handling.
1187//
1188// This method is useful when you want to inject custom logic or configuration
1189// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1190//
1191//
1192//    // Example sending a request using the CancelMLTaskRunRequest method.
1193//    req, resp := client.CancelMLTaskRunRequest(params)
1194//
1195//    err := req.Send()
1196//    if err == nil { // resp is now filled
1197//        fmt.Println(resp)
1198//    }
1199//
1200// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun
1201func (c *Glue) CancelMLTaskRunRequest(input *CancelMLTaskRunInput) (req *request.Request, output *CancelMLTaskRunOutput) {
1202	op := &request.Operation{
1203		Name:       opCancelMLTaskRun,
1204		HTTPMethod: "POST",
1205		HTTPPath:   "/",
1206	}
1207
1208	if input == nil {
1209		input = &CancelMLTaskRunInput{}
1210	}
1211
1212	output = &CancelMLTaskRunOutput{}
1213	req = c.newRequest(op, input, output)
1214	return
1215}
1216
1217// CancelMLTaskRun API operation for AWS Glue.
1218//
1219// Cancels (stops) a task run. Machine learning task runs are asynchronous tasks
1220// that AWS Glue runs on your behalf as part of various machine learning workflows.
1221// You can cancel a machine learning task run at any time by calling CancelMLTaskRun
1222// with a task run's parent transform's TransformID and the task run's TaskRunId.
1223//
1224// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1225// with awserr.Error's Code and Message methods to get detailed information about
1226// the error.
1227//
1228// See the AWS API reference guide for AWS Glue's
1229// API operation CancelMLTaskRun for usage and error information.
1230//
1231// Returned Error Types:
1232//   * EntityNotFoundException
1233//   A specified entity does not exist
1234//
1235//   * InvalidInputException
1236//   The input provided was not valid.
1237//
1238//   * OperationTimeoutException
1239//   The operation timed out.
1240//
1241//   * InternalServiceException
1242//   An internal service error occurred.
1243//
1244// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun
1245func (c *Glue) CancelMLTaskRun(input *CancelMLTaskRunInput) (*CancelMLTaskRunOutput, error) {
1246	req, out := c.CancelMLTaskRunRequest(input)
1247	return out, req.Send()
1248}
1249
1250// CancelMLTaskRunWithContext is the same as CancelMLTaskRun with the addition of
1251// the ability to pass a context and additional request options.
1252//
1253// See CancelMLTaskRun for details on how to use this API operation.
1254//
1255// The context must be non-nil and will be used for request cancellation. If
1256// the context is nil a panic will occur. In the future the SDK may create
1257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1258// for more information on using Contexts.
1259func (c *Glue) CancelMLTaskRunWithContext(ctx aws.Context, input *CancelMLTaskRunInput, opts ...request.Option) (*CancelMLTaskRunOutput, error) {
1260	req, out := c.CancelMLTaskRunRequest(input)
1261	req.SetContext(ctx)
1262	req.ApplyOptions(opts...)
1263	return out, req.Send()
1264}
1265
1266const opCheckSchemaVersionValidity = "CheckSchemaVersionValidity"
1267
1268// CheckSchemaVersionValidityRequest generates a "aws/request.Request" representing the
1269// client's request for the CheckSchemaVersionValidity operation. The "output" return
1270// value will be populated with the request's response once the request completes
1271// successfully.
1272//
1273// Use "Send" method on the returned Request to send the API call to the service.
1274// the "output" return value is not valid until after Send returns without error.
1275//
1276// See CheckSchemaVersionValidity for more information on using the CheckSchemaVersionValidity
1277// API call, and error handling.
1278//
1279// This method is useful when you want to inject custom logic or configuration
1280// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1281//
1282//
1283//    // Example sending a request using the CheckSchemaVersionValidityRequest method.
1284//    req, resp := client.CheckSchemaVersionValidityRequest(params)
1285//
1286//    err := req.Send()
1287//    if err == nil { // resp is now filled
1288//        fmt.Println(resp)
1289//    }
1290//
1291// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity
1292func (c *Glue) CheckSchemaVersionValidityRequest(input *CheckSchemaVersionValidityInput) (req *request.Request, output *CheckSchemaVersionValidityOutput) {
1293	op := &request.Operation{
1294		Name:       opCheckSchemaVersionValidity,
1295		HTTPMethod: "POST",
1296		HTTPPath:   "/",
1297	}
1298
1299	if input == nil {
1300		input = &CheckSchemaVersionValidityInput{}
1301	}
1302
1303	output = &CheckSchemaVersionValidityOutput{}
1304	req = c.newRequest(op, input, output)
1305	return
1306}
1307
1308// CheckSchemaVersionValidity API operation for AWS Glue.
1309//
1310// Validates the supplied schema. This call has no side effects, it simply validates
1311// using the supplied schema using DataFormat as the format. Since it does not
1312// take a schema set name, no compatibility checks are performed.
1313//
1314// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1315// with awserr.Error's Code and Message methods to get detailed information about
1316// the error.
1317//
1318// See the AWS API reference guide for AWS Glue's
1319// API operation CheckSchemaVersionValidity for usage and error information.
1320//
1321// Returned Error Types:
1322//   * InvalidInputException
1323//   The input provided was not valid.
1324//
1325//   * AccessDeniedException
1326//   Access to a resource was denied.
1327//
1328//   * InternalServiceException
1329//   An internal service error occurred.
1330//
1331// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity
1332func (c *Glue) CheckSchemaVersionValidity(input *CheckSchemaVersionValidityInput) (*CheckSchemaVersionValidityOutput, error) {
1333	req, out := c.CheckSchemaVersionValidityRequest(input)
1334	return out, req.Send()
1335}
1336
1337// CheckSchemaVersionValidityWithContext is the same as CheckSchemaVersionValidity with the addition of
1338// the ability to pass a context and additional request options.
1339//
1340// See CheckSchemaVersionValidity for details on how to use this API operation.
1341//
1342// The context must be non-nil and will be used for request cancellation. If
1343// the context is nil a panic will occur. In the future the SDK may create
1344// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1345// for more information on using Contexts.
1346func (c *Glue) CheckSchemaVersionValidityWithContext(ctx aws.Context, input *CheckSchemaVersionValidityInput, opts ...request.Option) (*CheckSchemaVersionValidityOutput, error) {
1347	req, out := c.CheckSchemaVersionValidityRequest(input)
1348	req.SetContext(ctx)
1349	req.ApplyOptions(opts...)
1350	return out, req.Send()
1351}
1352
1353const opCreateClassifier = "CreateClassifier"
1354
1355// CreateClassifierRequest generates a "aws/request.Request" representing the
1356// client's request for the CreateClassifier operation. The "output" return
1357// value will be populated with the request's response once the request completes
1358// successfully.
1359//
1360// Use "Send" method on the returned Request to send the API call to the service.
1361// the "output" return value is not valid until after Send returns without error.
1362//
1363// See CreateClassifier for more information on using the CreateClassifier
1364// API call, and error handling.
1365//
1366// This method is useful when you want to inject custom logic or configuration
1367// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1368//
1369//
1370//    // Example sending a request using the CreateClassifierRequest method.
1371//    req, resp := client.CreateClassifierRequest(params)
1372//
1373//    err := req.Send()
1374//    if err == nil { // resp is now filled
1375//        fmt.Println(resp)
1376//    }
1377//
1378// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier
1379func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *request.Request, output *CreateClassifierOutput) {
1380	op := &request.Operation{
1381		Name:       opCreateClassifier,
1382		HTTPMethod: "POST",
1383		HTTPPath:   "/",
1384	}
1385
1386	if input == nil {
1387		input = &CreateClassifierInput{}
1388	}
1389
1390	output = &CreateClassifierOutput{}
1391	req = c.newRequest(op, input, output)
1392	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1393	return
1394}
1395
1396// CreateClassifier API operation for AWS Glue.
1397//
1398// Creates a classifier in the user's account. This can be a GrokClassifier,
1399// an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which
1400// field of the request is present.
1401//
1402// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1403// with awserr.Error's Code and Message methods to get detailed information about
1404// the error.
1405//
1406// See the AWS API reference guide for AWS Glue's
1407// API operation CreateClassifier for usage and error information.
1408//
1409// Returned Error Types:
1410//   * AlreadyExistsException
1411//   A resource to be created or added already exists.
1412//
1413//   * InvalidInputException
1414//   The input provided was not valid.
1415//
1416//   * OperationTimeoutException
1417//   The operation timed out.
1418//
1419// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier
1420func (c *Glue) CreateClassifier(input *CreateClassifierInput) (*CreateClassifierOutput, error) {
1421	req, out := c.CreateClassifierRequest(input)
1422	return out, req.Send()
1423}
1424
1425// CreateClassifierWithContext is the same as CreateClassifier with the addition of
1426// the ability to pass a context and additional request options.
1427//
1428// See CreateClassifier for details on how to use this API operation.
1429//
1430// The context must be non-nil and will be used for request cancellation. If
1431// the context is nil a panic will occur. In the future the SDK may create
1432// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1433// for more information on using Contexts.
1434func (c *Glue) CreateClassifierWithContext(ctx aws.Context, input *CreateClassifierInput, opts ...request.Option) (*CreateClassifierOutput, error) {
1435	req, out := c.CreateClassifierRequest(input)
1436	req.SetContext(ctx)
1437	req.ApplyOptions(opts...)
1438	return out, req.Send()
1439}
1440
1441const opCreateConnection = "CreateConnection"
1442
1443// CreateConnectionRequest generates a "aws/request.Request" representing the
1444// client's request for the CreateConnection operation. The "output" return
1445// value will be populated with the request's response once the request completes
1446// successfully.
1447//
1448// Use "Send" method on the returned Request to send the API call to the service.
1449// the "output" return value is not valid until after Send returns without error.
1450//
1451// See CreateConnection for more information on using the CreateConnection
1452// API call, and error handling.
1453//
1454// This method is useful when you want to inject custom logic or configuration
1455// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1456//
1457//
1458//    // Example sending a request using the CreateConnectionRequest method.
1459//    req, resp := client.CreateConnectionRequest(params)
1460//
1461//    err := req.Send()
1462//    if err == nil { // resp is now filled
1463//        fmt.Println(resp)
1464//    }
1465//
1466// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection
1467func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) {
1468	op := &request.Operation{
1469		Name:       opCreateConnection,
1470		HTTPMethod: "POST",
1471		HTTPPath:   "/",
1472	}
1473
1474	if input == nil {
1475		input = &CreateConnectionInput{}
1476	}
1477
1478	output = &CreateConnectionOutput{}
1479	req = c.newRequest(op, input, output)
1480	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1481	return
1482}
1483
1484// CreateConnection API operation for AWS Glue.
1485//
1486// Creates a connection definition in the Data Catalog.
1487//
1488// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1489// with awserr.Error's Code and Message methods to get detailed information about
1490// the error.
1491//
1492// See the AWS API reference guide for AWS Glue's
1493// API operation CreateConnection for usage and error information.
1494//
1495// Returned Error Types:
1496//   * AlreadyExistsException
1497//   A resource to be created or added already exists.
1498//
1499//   * InvalidInputException
1500//   The input provided was not valid.
1501//
1502//   * OperationTimeoutException
1503//   The operation timed out.
1504//
1505//   * ResourceNumberLimitExceededException
1506//   A resource numerical limit was exceeded.
1507//
1508//   * EncryptionException
1509//   An encryption operation failed.
1510//
1511// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection
1512func (c *Glue) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) {
1513	req, out := c.CreateConnectionRequest(input)
1514	return out, req.Send()
1515}
1516
1517// CreateConnectionWithContext is the same as CreateConnection with the addition of
1518// the ability to pass a context and additional request options.
1519//
1520// See CreateConnection for details on how to use this API operation.
1521//
1522// The context must be non-nil and will be used for request cancellation. If
1523// the context is nil a panic will occur. In the future the SDK may create
1524// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1525// for more information on using Contexts.
1526func (c *Glue) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*CreateConnectionOutput, error) {
1527	req, out := c.CreateConnectionRequest(input)
1528	req.SetContext(ctx)
1529	req.ApplyOptions(opts...)
1530	return out, req.Send()
1531}
1532
1533const opCreateCrawler = "CreateCrawler"
1534
1535// CreateCrawlerRequest generates a "aws/request.Request" representing the
1536// client's request for the CreateCrawler operation. The "output" return
1537// value will be populated with the request's response once the request completes
1538// successfully.
1539//
1540// Use "Send" method on the returned Request to send the API call to the service.
1541// the "output" return value is not valid until after Send returns without error.
1542//
1543// See CreateCrawler for more information on using the CreateCrawler
1544// API call, and error handling.
1545//
1546// This method is useful when you want to inject custom logic or configuration
1547// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1548//
1549//
1550//    // Example sending a request using the CreateCrawlerRequest method.
1551//    req, resp := client.CreateCrawlerRequest(params)
1552//
1553//    err := req.Send()
1554//    if err == nil { // resp is now filled
1555//        fmt.Println(resp)
1556//    }
1557//
1558// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler
1559func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Request, output *CreateCrawlerOutput) {
1560	op := &request.Operation{
1561		Name:       opCreateCrawler,
1562		HTTPMethod: "POST",
1563		HTTPPath:   "/",
1564	}
1565
1566	if input == nil {
1567		input = &CreateCrawlerInput{}
1568	}
1569
1570	output = &CreateCrawlerOutput{}
1571	req = c.newRequest(op, input, output)
1572	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1573	return
1574}
1575
1576// CreateCrawler API operation for AWS Glue.
1577//
1578// Creates a new crawler with specified targets, role, configuration, and optional
1579// schedule. At least one crawl target must be specified, in the s3Targets field,
1580// the jdbcTargets field, or the DynamoDBTargets field.
1581//
1582// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1583// with awserr.Error's Code and Message methods to get detailed information about
1584// the error.
1585//
1586// See the AWS API reference guide for AWS Glue's
1587// API operation CreateCrawler for usage and error information.
1588//
1589// Returned Error Types:
1590//   * InvalidInputException
1591//   The input provided was not valid.
1592//
1593//   * AlreadyExistsException
1594//   A resource to be created or added already exists.
1595//
1596//   * OperationTimeoutException
1597//   The operation timed out.
1598//
1599//   * ResourceNumberLimitExceededException
1600//   A resource numerical limit was exceeded.
1601//
1602// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler
1603func (c *Glue) CreateCrawler(input *CreateCrawlerInput) (*CreateCrawlerOutput, error) {
1604	req, out := c.CreateCrawlerRequest(input)
1605	return out, req.Send()
1606}
1607
1608// CreateCrawlerWithContext is the same as CreateCrawler with the addition of
1609// the ability to pass a context and additional request options.
1610//
1611// See CreateCrawler for details on how to use this API operation.
1612//
1613// The context must be non-nil and will be used for request cancellation. If
1614// the context is nil a panic will occur. In the future the SDK may create
1615// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1616// for more information on using Contexts.
1617func (c *Glue) CreateCrawlerWithContext(ctx aws.Context, input *CreateCrawlerInput, opts ...request.Option) (*CreateCrawlerOutput, error) {
1618	req, out := c.CreateCrawlerRequest(input)
1619	req.SetContext(ctx)
1620	req.ApplyOptions(opts...)
1621	return out, req.Send()
1622}
1623
1624const opCreateDatabase = "CreateDatabase"
1625
1626// CreateDatabaseRequest generates a "aws/request.Request" representing the
1627// client's request for the CreateDatabase operation. The "output" return
1628// value will be populated with the request's response once the request completes
1629// successfully.
1630//
1631// Use "Send" method on the returned Request to send the API call to the service.
1632// the "output" return value is not valid until after Send returns without error.
1633//
1634// See CreateDatabase for more information on using the CreateDatabase
1635// API call, and error handling.
1636//
1637// This method is useful when you want to inject custom logic or configuration
1638// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1639//
1640//
1641//    // Example sending a request using the CreateDatabaseRequest method.
1642//    req, resp := client.CreateDatabaseRequest(params)
1643//
1644//    err := req.Send()
1645//    if err == nil { // resp is now filled
1646//        fmt.Println(resp)
1647//    }
1648//
1649// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase
1650func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) {
1651	op := &request.Operation{
1652		Name:       opCreateDatabase,
1653		HTTPMethod: "POST",
1654		HTTPPath:   "/",
1655	}
1656
1657	if input == nil {
1658		input = &CreateDatabaseInput{}
1659	}
1660
1661	output = &CreateDatabaseOutput{}
1662	req = c.newRequest(op, input, output)
1663	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1664	return
1665}
1666
1667// CreateDatabase API operation for AWS Glue.
1668//
1669// Creates a new database in a Data Catalog.
1670//
1671// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1672// with awserr.Error's Code and Message methods to get detailed information about
1673// the error.
1674//
1675// See the AWS API reference guide for AWS Glue's
1676// API operation CreateDatabase for usage and error information.
1677//
1678// Returned Error Types:
1679//   * InvalidInputException
1680//   The input provided was not valid.
1681//
1682//   * AlreadyExistsException
1683//   A resource to be created or added already exists.
1684//
1685//   * ResourceNumberLimitExceededException
1686//   A resource numerical limit was exceeded.
1687//
1688//   * InternalServiceException
1689//   An internal service error occurred.
1690//
1691//   * OperationTimeoutException
1692//   The operation timed out.
1693//
1694//   * EncryptionException
1695//   An encryption operation failed.
1696//
1697// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase
1698func (c *Glue) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) {
1699	req, out := c.CreateDatabaseRequest(input)
1700	return out, req.Send()
1701}
1702
1703// CreateDatabaseWithContext is the same as CreateDatabase with the addition of
1704// the ability to pass a context and additional request options.
1705//
1706// See CreateDatabase for details on how to use this API operation.
1707//
1708// The context must be non-nil and will be used for request cancellation. If
1709// the context is nil a panic will occur. In the future the SDK may create
1710// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1711// for more information on using Contexts.
1712func (c *Glue) CreateDatabaseWithContext(ctx aws.Context, input *CreateDatabaseInput, opts ...request.Option) (*CreateDatabaseOutput, error) {
1713	req, out := c.CreateDatabaseRequest(input)
1714	req.SetContext(ctx)
1715	req.ApplyOptions(opts...)
1716	return out, req.Send()
1717}
1718
1719const opCreateDevEndpoint = "CreateDevEndpoint"
1720
1721// CreateDevEndpointRequest generates a "aws/request.Request" representing the
1722// client's request for the CreateDevEndpoint operation. The "output" return
1723// value will be populated with the request's response once the request completes
1724// successfully.
1725//
1726// Use "Send" method on the returned Request to send the API call to the service.
1727// the "output" return value is not valid until after Send returns without error.
1728//
1729// See CreateDevEndpoint for more information on using the CreateDevEndpoint
1730// API call, and error handling.
1731//
1732// This method is useful when you want to inject custom logic or configuration
1733// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1734//
1735//
1736//    // Example sending a request using the CreateDevEndpointRequest method.
1737//    req, resp := client.CreateDevEndpointRequest(params)
1738//
1739//    err := req.Send()
1740//    if err == nil { // resp is now filled
1741//        fmt.Println(resp)
1742//    }
1743//
1744// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint
1745func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *request.Request, output *CreateDevEndpointOutput) {
1746	op := &request.Operation{
1747		Name:       opCreateDevEndpoint,
1748		HTTPMethod: "POST",
1749		HTTPPath:   "/",
1750	}
1751
1752	if input == nil {
1753		input = &CreateDevEndpointInput{}
1754	}
1755
1756	output = &CreateDevEndpointOutput{}
1757	req = c.newRequest(op, input, output)
1758	return
1759}
1760
1761// CreateDevEndpoint API operation for AWS Glue.
1762//
1763// Creates a new development endpoint.
1764//
1765// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1766// with awserr.Error's Code and Message methods to get detailed information about
1767// the error.
1768//
1769// See the AWS API reference guide for AWS Glue's
1770// API operation CreateDevEndpoint for usage and error information.
1771//
1772// Returned Error Types:
1773//   * AccessDeniedException
1774//   Access to a resource was denied.
1775//
1776//   * AlreadyExistsException
1777//   A resource to be created or added already exists.
1778//
1779//   * IdempotentParameterMismatchException
1780//   The same unique identifier was associated with two different records.
1781//
1782//   * InternalServiceException
1783//   An internal service error occurred.
1784//
1785//   * OperationTimeoutException
1786//   The operation timed out.
1787//
1788//   * InvalidInputException
1789//   The input provided was not valid.
1790//
1791//   * ValidationException
1792//   A value could not be validated.
1793//
1794//   * ResourceNumberLimitExceededException
1795//   A resource numerical limit was exceeded.
1796//
1797// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint
1798func (c *Glue) CreateDevEndpoint(input *CreateDevEndpointInput) (*CreateDevEndpointOutput, error) {
1799	req, out := c.CreateDevEndpointRequest(input)
1800	return out, req.Send()
1801}
1802
1803// CreateDevEndpointWithContext is the same as CreateDevEndpoint with the addition of
1804// the ability to pass a context and additional request options.
1805//
1806// See CreateDevEndpoint for details on how to use this API operation.
1807//
1808// The context must be non-nil and will be used for request cancellation. If
1809// the context is nil a panic will occur. In the future the SDK may create
1810// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1811// for more information on using Contexts.
1812func (c *Glue) CreateDevEndpointWithContext(ctx aws.Context, input *CreateDevEndpointInput, opts ...request.Option) (*CreateDevEndpointOutput, error) {
1813	req, out := c.CreateDevEndpointRequest(input)
1814	req.SetContext(ctx)
1815	req.ApplyOptions(opts...)
1816	return out, req.Send()
1817}
1818
1819const opCreateJob = "CreateJob"
1820
1821// CreateJobRequest generates a "aws/request.Request" representing the
1822// client's request for the CreateJob operation. The "output" return
1823// value will be populated with the request's response once the request completes
1824// successfully.
1825//
1826// Use "Send" method on the returned Request to send the API call to the service.
1827// the "output" return value is not valid until after Send returns without error.
1828//
1829// See CreateJob for more information on using the CreateJob
1830// API call, and error handling.
1831//
1832// This method is useful when you want to inject custom logic or configuration
1833// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1834//
1835//
1836//    // Example sending a request using the CreateJobRequest method.
1837//    req, resp := client.CreateJobRequest(params)
1838//
1839//    err := req.Send()
1840//    if err == nil { // resp is now filled
1841//        fmt.Println(resp)
1842//    }
1843//
1844// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob
1845func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) {
1846	op := &request.Operation{
1847		Name:       opCreateJob,
1848		HTTPMethod: "POST",
1849		HTTPPath:   "/",
1850	}
1851
1852	if input == nil {
1853		input = &CreateJobInput{}
1854	}
1855
1856	output = &CreateJobOutput{}
1857	req = c.newRequest(op, input, output)
1858	return
1859}
1860
1861// CreateJob API operation for AWS Glue.
1862//
1863// Creates a new job definition.
1864//
1865// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1866// with awserr.Error's Code and Message methods to get detailed information about
1867// the error.
1868//
1869// See the AWS API reference guide for AWS Glue's
1870// API operation CreateJob for usage and error information.
1871//
1872// Returned Error Types:
1873//   * InvalidInputException
1874//   The input provided was not valid.
1875//
1876//   * IdempotentParameterMismatchException
1877//   The same unique identifier was associated with two different records.
1878//
1879//   * AlreadyExistsException
1880//   A resource to be created or added already exists.
1881//
1882//   * InternalServiceException
1883//   An internal service error occurred.
1884//
1885//   * OperationTimeoutException
1886//   The operation timed out.
1887//
1888//   * ResourceNumberLimitExceededException
1889//   A resource numerical limit was exceeded.
1890//
1891//   * ConcurrentModificationException
1892//   Two processes are trying to modify a resource simultaneously.
1893//
1894// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob
1895func (c *Glue) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) {
1896	req, out := c.CreateJobRequest(input)
1897	return out, req.Send()
1898}
1899
1900// CreateJobWithContext is the same as CreateJob with the addition of
1901// the ability to pass a context and additional request options.
1902//
1903// See CreateJob for details on how to use this API operation.
1904//
1905// The context must be non-nil and will be used for request cancellation. If
1906// the context is nil a panic will occur. In the future the SDK may create
1907// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1908// for more information on using Contexts.
1909func (c *Glue) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error) {
1910	req, out := c.CreateJobRequest(input)
1911	req.SetContext(ctx)
1912	req.ApplyOptions(opts...)
1913	return out, req.Send()
1914}
1915
1916const opCreateMLTransform = "CreateMLTransform"
1917
1918// CreateMLTransformRequest generates a "aws/request.Request" representing the
1919// client's request for the CreateMLTransform operation. The "output" return
1920// value will be populated with the request's response once the request completes
1921// successfully.
1922//
1923// Use "Send" method on the returned Request to send the API call to the service.
1924// the "output" return value is not valid until after Send returns without error.
1925//
1926// See CreateMLTransform for more information on using the CreateMLTransform
1927// API call, and error handling.
1928//
1929// This method is useful when you want to inject custom logic or configuration
1930// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1931//
1932//
1933//    // Example sending a request using the CreateMLTransformRequest method.
1934//    req, resp := client.CreateMLTransformRequest(params)
1935//
1936//    err := req.Send()
1937//    if err == nil { // resp is now filled
1938//        fmt.Println(resp)
1939//    }
1940//
1941// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform
1942func (c *Glue) CreateMLTransformRequest(input *CreateMLTransformInput) (req *request.Request, output *CreateMLTransformOutput) {
1943	op := &request.Operation{
1944		Name:       opCreateMLTransform,
1945		HTTPMethod: "POST",
1946		HTTPPath:   "/",
1947	}
1948
1949	if input == nil {
1950		input = &CreateMLTransformInput{}
1951	}
1952
1953	output = &CreateMLTransformOutput{}
1954	req = c.newRequest(op, input, output)
1955	return
1956}
1957
1958// CreateMLTransform API operation for AWS Glue.
1959//
1960// Creates an AWS Glue machine learning transform. This operation creates the
1961// transform and all the necessary parameters to train it.
1962//
1963// Call this operation as the first step in the process of using a machine learning
1964// transform (such as the FindMatches transform) for deduplicating data. You
1965// can provide an optional Description, in addition to the parameters that you
1966// want to use for your algorithm.
1967//
1968// You must also specify certain parameters for the tasks that AWS Glue runs
1969// on your behalf as part of learning from your data and creating a high-quality
1970// machine learning transform. These parameters include Role, and optionally,
1971// AllocatedCapacity, Timeout, and MaxRetries. For more information, see Jobs
1972// (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html).
1973//
1974// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1975// with awserr.Error's Code and Message methods to get detailed information about
1976// the error.
1977//
1978// See the AWS API reference guide for AWS Glue's
1979// API operation CreateMLTransform for usage and error information.
1980//
1981// Returned Error Types:
1982//   * AlreadyExistsException
1983//   A resource to be created or added already exists.
1984//
1985//   * InvalidInputException
1986//   The input provided was not valid.
1987//
1988//   * OperationTimeoutException
1989//   The operation timed out.
1990//
1991//   * InternalServiceException
1992//   An internal service error occurred.
1993//
1994//   * AccessDeniedException
1995//   Access to a resource was denied.
1996//
1997//   * ResourceNumberLimitExceededException
1998//   A resource numerical limit was exceeded.
1999//
2000//   * IdempotentParameterMismatchException
2001//   The same unique identifier was associated with two different records.
2002//
2003// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform
2004func (c *Glue) CreateMLTransform(input *CreateMLTransformInput) (*CreateMLTransformOutput, error) {
2005	req, out := c.CreateMLTransformRequest(input)
2006	return out, req.Send()
2007}
2008
2009// CreateMLTransformWithContext is the same as CreateMLTransform with the addition of
2010// the ability to pass a context and additional request options.
2011//
2012// See CreateMLTransform for details on how to use this API operation.
2013//
2014// The context must be non-nil and will be used for request cancellation. If
2015// the context is nil a panic will occur. In the future the SDK may create
2016// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2017// for more information on using Contexts.
2018func (c *Glue) CreateMLTransformWithContext(ctx aws.Context, input *CreateMLTransformInput, opts ...request.Option) (*CreateMLTransformOutput, error) {
2019	req, out := c.CreateMLTransformRequest(input)
2020	req.SetContext(ctx)
2021	req.ApplyOptions(opts...)
2022	return out, req.Send()
2023}
2024
2025const opCreatePartition = "CreatePartition"
2026
2027// CreatePartitionRequest generates a "aws/request.Request" representing the
2028// client's request for the CreatePartition operation. The "output" return
2029// value will be populated with the request's response once the request completes
2030// successfully.
2031//
2032// Use "Send" method on the returned Request to send the API call to the service.
2033// the "output" return value is not valid until after Send returns without error.
2034//
2035// See CreatePartition for more information on using the CreatePartition
2036// API call, and error handling.
2037//
2038// This method is useful when you want to inject custom logic or configuration
2039// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2040//
2041//
2042//    // Example sending a request using the CreatePartitionRequest method.
2043//    req, resp := client.CreatePartitionRequest(params)
2044//
2045//    err := req.Send()
2046//    if err == nil { // resp is now filled
2047//        fmt.Println(resp)
2048//    }
2049//
2050// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition
2051func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request.Request, output *CreatePartitionOutput) {
2052	op := &request.Operation{
2053		Name:       opCreatePartition,
2054		HTTPMethod: "POST",
2055		HTTPPath:   "/",
2056	}
2057
2058	if input == nil {
2059		input = &CreatePartitionInput{}
2060	}
2061
2062	output = &CreatePartitionOutput{}
2063	req = c.newRequest(op, input, output)
2064	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2065	return
2066}
2067
2068// CreatePartition API operation for AWS Glue.
2069//
2070// Creates a new partition.
2071//
2072// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2073// with awserr.Error's Code and Message methods to get detailed information about
2074// the error.
2075//
2076// See the AWS API reference guide for AWS Glue's
2077// API operation CreatePartition for usage and error information.
2078//
2079// Returned Error Types:
2080//   * InvalidInputException
2081//   The input provided was not valid.
2082//
2083//   * AlreadyExistsException
2084//   A resource to be created or added already exists.
2085//
2086//   * ResourceNumberLimitExceededException
2087//   A resource numerical limit was exceeded.
2088//
2089//   * InternalServiceException
2090//   An internal service error occurred.
2091//
2092//   * EntityNotFoundException
2093//   A specified entity does not exist
2094//
2095//   * OperationTimeoutException
2096//   The operation timed out.
2097//
2098//   * EncryptionException
2099//   An encryption operation failed.
2100//
2101// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition
2102func (c *Glue) CreatePartition(input *CreatePartitionInput) (*CreatePartitionOutput, error) {
2103	req, out := c.CreatePartitionRequest(input)
2104	return out, req.Send()
2105}
2106
2107// CreatePartitionWithContext is the same as CreatePartition with the addition of
2108// the ability to pass a context and additional request options.
2109//
2110// See CreatePartition for details on how to use this API operation.
2111//
2112// The context must be non-nil and will be used for request cancellation. If
2113// the context is nil a panic will occur. In the future the SDK may create
2114// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2115// for more information on using Contexts.
2116func (c *Glue) CreatePartitionWithContext(ctx aws.Context, input *CreatePartitionInput, opts ...request.Option) (*CreatePartitionOutput, error) {
2117	req, out := c.CreatePartitionRequest(input)
2118	req.SetContext(ctx)
2119	req.ApplyOptions(opts...)
2120	return out, req.Send()
2121}
2122
2123const opCreatePartitionIndex = "CreatePartitionIndex"
2124
2125// CreatePartitionIndexRequest generates a "aws/request.Request" representing the
2126// client's request for the CreatePartitionIndex operation. The "output" return
2127// value will be populated with the request's response once the request completes
2128// successfully.
2129//
2130// Use "Send" method on the returned Request to send the API call to the service.
2131// the "output" return value is not valid until after Send returns without error.
2132//
2133// See CreatePartitionIndex for more information on using the CreatePartitionIndex
2134// API call, and error handling.
2135//
2136// This method is useful when you want to inject custom logic or configuration
2137// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2138//
2139//
2140//    // Example sending a request using the CreatePartitionIndexRequest method.
2141//    req, resp := client.CreatePartitionIndexRequest(params)
2142//
2143//    err := req.Send()
2144//    if err == nil { // resp is now filled
2145//        fmt.Println(resp)
2146//    }
2147//
2148// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex
2149func (c *Glue) CreatePartitionIndexRequest(input *CreatePartitionIndexInput) (req *request.Request, output *CreatePartitionIndexOutput) {
2150	op := &request.Operation{
2151		Name:       opCreatePartitionIndex,
2152		HTTPMethod: "POST",
2153		HTTPPath:   "/",
2154	}
2155
2156	if input == nil {
2157		input = &CreatePartitionIndexInput{}
2158	}
2159
2160	output = &CreatePartitionIndexOutput{}
2161	req = c.newRequest(op, input, output)
2162	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2163	return
2164}
2165
2166// CreatePartitionIndex API operation for AWS Glue.
2167//
2168// Creates a specified partition index in an existing table.
2169//
2170// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2171// with awserr.Error's Code and Message methods to get detailed information about
2172// the error.
2173//
2174// See the AWS API reference guide for AWS Glue's
2175// API operation CreatePartitionIndex for usage and error information.
2176//
2177// Returned Error Types:
2178//   * AlreadyExistsException
2179//   A resource to be created or added already exists.
2180//
2181//   * InvalidInputException
2182//   The input provided was not valid.
2183//
2184//   * EntityNotFoundException
2185//   A specified entity does not exist
2186//
2187//   * ResourceNumberLimitExceededException
2188//   A resource numerical limit was exceeded.
2189//
2190//   * InternalServiceException
2191//   An internal service error occurred.
2192//
2193//   * OperationTimeoutException
2194//   The operation timed out.
2195//
2196//   * EncryptionException
2197//   An encryption operation failed.
2198//
2199// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex
2200func (c *Glue) CreatePartitionIndex(input *CreatePartitionIndexInput) (*CreatePartitionIndexOutput, error) {
2201	req, out := c.CreatePartitionIndexRequest(input)
2202	return out, req.Send()
2203}
2204
2205// CreatePartitionIndexWithContext is the same as CreatePartitionIndex with the addition of
2206// the ability to pass a context and additional request options.
2207//
2208// See CreatePartitionIndex for details on how to use this API operation.
2209//
2210// The context must be non-nil and will be used for request cancellation. If
2211// the context is nil a panic will occur. In the future the SDK may create
2212// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2213// for more information on using Contexts.
2214func (c *Glue) CreatePartitionIndexWithContext(ctx aws.Context, input *CreatePartitionIndexInput, opts ...request.Option) (*CreatePartitionIndexOutput, error) {
2215	req, out := c.CreatePartitionIndexRequest(input)
2216	req.SetContext(ctx)
2217	req.ApplyOptions(opts...)
2218	return out, req.Send()
2219}
2220
2221const opCreateRegistry = "CreateRegistry"
2222
2223// CreateRegistryRequest generates a "aws/request.Request" representing the
2224// client's request for the CreateRegistry operation. The "output" return
2225// value will be populated with the request's response once the request completes
2226// successfully.
2227//
2228// Use "Send" method on the returned Request to send the API call to the service.
2229// the "output" return value is not valid until after Send returns without error.
2230//
2231// See CreateRegistry for more information on using the CreateRegistry
2232// API call, and error handling.
2233//
2234// This method is useful when you want to inject custom logic or configuration
2235// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2236//
2237//
2238//    // Example sending a request using the CreateRegistryRequest method.
2239//    req, resp := client.CreateRegistryRequest(params)
2240//
2241//    err := req.Send()
2242//    if err == nil { // resp is now filled
2243//        fmt.Println(resp)
2244//    }
2245//
2246// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry
2247func (c *Glue) CreateRegistryRequest(input *CreateRegistryInput) (req *request.Request, output *CreateRegistryOutput) {
2248	op := &request.Operation{
2249		Name:       opCreateRegistry,
2250		HTTPMethod: "POST",
2251		HTTPPath:   "/",
2252	}
2253
2254	if input == nil {
2255		input = &CreateRegistryInput{}
2256	}
2257
2258	output = &CreateRegistryOutput{}
2259	req = c.newRequest(op, input, output)
2260	return
2261}
2262
2263// CreateRegistry API operation for AWS Glue.
2264//
2265// Creates a new registry which may be used to hold a collection of schemas.
2266//
2267// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2268// with awserr.Error's Code and Message methods to get detailed information about
2269// the error.
2270//
2271// See the AWS API reference guide for AWS Glue's
2272// API operation CreateRegistry for usage and error information.
2273//
2274// Returned Error Types:
2275//   * InvalidInputException
2276//   The input provided was not valid.
2277//
2278//   * AccessDeniedException
2279//   Access to a resource was denied.
2280//
2281//   * AlreadyExistsException
2282//   A resource to be created or added already exists.
2283//
2284//   * ResourceNumberLimitExceededException
2285//   A resource numerical limit was exceeded.
2286//
2287//   * InternalServiceException
2288//   An internal service error occurred.
2289//
2290// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry
2291func (c *Glue) CreateRegistry(input *CreateRegistryInput) (*CreateRegistryOutput, error) {
2292	req, out := c.CreateRegistryRequest(input)
2293	return out, req.Send()
2294}
2295
2296// CreateRegistryWithContext is the same as CreateRegistry with the addition of
2297// the ability to pass a context and additional request options.
2298//
2299// See CreateRegistry for details on how to use this API operation.
2300//
2301// The context must be non-nil and will be used for request cancellation. If
2302// the context is nil a panic will occur. In the future the SDK may create
2303// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2304// for more information on using Contexts.
2305func (c *Glue) CreateRegistryWithContext(ctx aws.Context, input *CreateRegistryInput, opts ...request.Option) (*CreateRegistryOutput, error) {
2306	req, out := c.CreateRegistryRequest(input)
2307	req.SetContext(ctx)
2308	req.ApplyOptions(opts...)
2309	return out, req.Send()
2310}
2311
2312const opCreateSchema = "CreateSchema"
2313
2314// CreateSchemaRequest generates a "aws/request.Request" representing the
2315// client's request for the CreateSchema operation. The "output" return
2316// value will be populated with the request's response once the request completes
2317// successfully.
2318//
2319// Use "Send" method on the returned Request to send the API call to the service.
2320// the "output" return value is not valid until after Send returns without error.
2321//
2322// See CreateSchema for more information on using the CreateSchema
2323// API call, and error handling.
2324//
2325// This method is useful when you want to inject custom logic or configuration
2326// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2327//
2328//
2329//    // Example sending a request using the CreateSchemaRequest method.
2330//    req, resp := client.CreateSchemaRequest(params)
2331//
2332//    err := req.Send()
2333//    if err == nil { // resp is now filled
2334//        fmt.Println(resp)
2335//    }
2336//
2337// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema
2338func (c *Glue) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) {
2339	op := &request.Operation{
2340		Name:       opCreateSchema,
2341		HTTPMethod: "POST",
2342		HTTPPath:   "/",
2343	}
2344
2345	if input == nil {
2346		input = &CreateSchemaInput{}
2347	}
2348
2349	output = &CreateSchemaOutput{}
2350	req = c.newRequest(op, input, output)
2351	return
2352}
2353
2354// CreateSchema API operation for AWS Glue.
2355//
2356// Creates a new schema set and registers the schema definition. Returns an
2357// error if the schema set already exists without actually registering the version.
2358//
2359// When the schema set is created, a version checkpoint will be set to the first
2360// version. Compatibility mode "DISABLED" restricts any additional schema versions
2361// from being added after the first schema version. For all other compatibility
2362// modes, validation of compatibility settings will be applied only from the
2363// second version onwards when the RegisterSchemaVersion API is used.
2364//
2365// When this API is called without a RegistryId, this will create an entry for
2366// a "default-registry" in the registry database tables, if it is not already
2367// present.
2368//
2369// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2370// with awserr.Error's Code and Message methods to get detailed information about
2371// the error.
2372//
2373// See the AWS API reference guide for AWS Glue's
2374// API operation CreateSchema for usage and error information.
2375//
2376// Returned Error Types:
2377//   * InvalidInputException
2378//   The input provided was not valid.
2379//
2380//   * AccessDeniedException
2381//   Access to a resource was denied.
2382//
2383//   * EntityNotFoundException
2384//   A specified entity does not exist
2385//
2386//   * AlreadyExistsException
2387//   A resource to be created or added already exists.
2388//
2389//   * ResourceNumberLimitExceededException
2390//   A resource numerical limit was exceeded.
2391//
2392//   * InternalServiceException
2393//   An internal service error occurred.
2394//
2395// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema
2396func (c *Glue) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) {
2397	req, out := c.CreateSchemaRequest(input)
2398	return out, req.Send()
2399}
2400
2401// CreateSchemaWithContext is the same as CreateSchema with the addition of
2402// the ability to pass a context and additional request options.
2403//
2404// See CreateSchema for details on how to use this API operation.
2405//
2406// The context must be non-nil and will be used for request cancellation. If
2407// the context is nil a panic will occur. In the future the SDK may create
2408// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2409// for more information on using Contexts.
2410func (c *Glue) CreateSchemaWithContext(ctx aws.Context, input *CreateSchemaInput, opts ...request.Option) (*CreateSchemaOutput, error) {
2411	req, out := c.CreateSchemaRequest(input)
2412	req.SetContext(ctx)
2413	req.ApplyOptions(opts...)
2414	return out, req.Send()
2415}
2416
2417const opCreateScript = "CreateScript"
2418
2419// CreateScriptRequest generates a "aws/request.Request" representing the
2420// client's request for the CreateScript operation. The "output" return
2421// value will be populated with the request's response once the request completes
2422// successfully.
2423//
2424// Use "Send" method on the returned Request to send the API call to the service.
2425// the "output" return value is not valid until after Send returns without error.
2426//
2427// See CreateScript for more information on using the CreateScript
2428// API call, and error handling.
2429//
2430// This method is useful when you want to inject custom logic or configuration
2431// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2432//
2433//
2434//    // Example sending a request using the CreateScriptRequest method.
2435//    req, resp := client.CreateScriptRequest(params)
2436//
2437//    err := req.Send()
2438//    if err == nil { // resp is now filled
2439//        fmt.Println(resp)
2440//    }
2441//
2442// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript
2443func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) {
2444	op := &request.Operation{
2445		Name:       opCreateScript,
2446		HTTPMethod: "POST",
2447		HTTPPath:   "/",
2448	}
2449
2450	if input == nil {
2451		input = &CreateScriptInput{}
2452	}
2453
2454	output = &CreateScriptOutput{}
2455	req = c.newRequest(op, input, output)
2456	return
2457}
2458
2459// CreateScript API operation for AWS Glue.
2460//
2461// Transforms a directed acyclic graph (DAG) into code.
2462//
2463// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2464// with awserr.Error's Code and Message methods to get detailed information about
2465// the error.
2466//
2467// See the AWS API reference guide for AWS Glue's
2468// API operation CreateScript for usage and error information.
2469//
2470// Returned Error Types:
2471//   * InvalidInputException
2472//   The input provided was not valid.
2473//
2474//   * InternalServiceException
2475//   An internal service error occurred.
2476//
2477//   * OperationTimeoutException
2478//   The operation timed out.
2479//
2480// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript
2481func (c *Glue) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) {
2482	req, out := c.CreateScriptRequest(input)
2483	return out, req.Send()
2484}
2485
2486// CreateScriptWithContext is the same as CreateScript with the addition of
2487// the ability to pass a context and additional request options.
2488//
2489// See CreateScript for details on how to use this API operation.
2490//
2491// The context must be non-nil and will be used for request cancellation. If
2492// the context is nil a panic will occur. In the future the SDK may create
2493// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2494// for more information on using Contexts.
2495func (c *Glue) CreateScriptWithContext(ctx aws.Context, input *CreateScriptInput, opts ...request.Option) (*CreateScriptOutput, error) {
2496	req, out := c.CreateScriptRequest(input)
2497	req.SetContext(ctx)
2498	req.ApplyOptions(opts...)
2499	return out, req.Send()
2500}
2501
2502const opCreateSecurityConfiguration = "CreateSecurityConfiguration"
2503
2504// CreateSecurityConfigurationRequest generates a "aws/request.Request" representing the
2505// client's request for the CreateSecurityConfiguration operation. The "output" return
2506// value will be populated with the request's response once the request completes
2507// successfully.
2508//
2509// Use "Send" method on the returned Request to send the API call to the service.
2510// the "output" return value is not valid until after Send returns without error.
2511//
2512// See CreateSecurityConfiguration for more information on using the CreateSecurityConfiguration
2513// API call, and error handling.
2514//
2515// This method is useful when you want to inject custom logic or configuration
2516// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2517//
2518//
2519//    // Example sending a request using the CreateSecurityConfigurationRequest method.
2520//    req, resp := client.CreateSecurityConfigurationRequest(params)
2521//
2522//    err := req.Send()
2523//    if err == nil { // resp is now filled
2524//        fmt.Println(resp)
2525//    }
2526//
2527// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration
2528func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) {
2529	op := &request.Operation{
2530		Name:       opCreateSecurityConfiguration,
2531		HTTPMethod: "POST",
2532		HTTPPath:   "/",
2533	}
2534
2535	if input == nil {
2536		input = &CreateSecurityConfigurationInput{}
2537	}
2538
2539	output = &CreateSecurityConfigurationOutput{}
2540	req = c.newRequest(op, input, output)
2541	return
2542}
2543
2544// CreateSecurityConfiguration API operation for AWS Glue.
2545//
2546// Creates a new security configuration. A security configuration is a set of
2547// security properties that can be used by AWS Glue. You can use a security
2548// configuration to encrypt data at rest. For information about using security
2549// configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs,
2550// and Development Endpoints (https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html).
2551//
2552// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2553// with awserr.Error's Code and Message methods to get detailed information about
2554// the error.
2555//
2556// See the AWS API reference guide for AWS Glue's
2557// API operation CreateSecurityConfiguration for usage and error information.
2558//
2559// Returned Error Types:
2560//   * AlreadyExistsException
2561//   A resource to be created or added already exists.
2562//
2563//   * InvalidInputException
2564//   The input provided was not valid.
2565//
2566//   * InternalServiceException
2567//   An internal service error occurred.
2568//
2569//   * OperationTimeoutException
2570//   The operation timed out.
2571//
2572//   * ResourceNumberLimitExceededException
2573//   A resource numerical limit was exceeded.
2574//
2575// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration
2576func (c *Glue) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) {
2577	req, out := c.CreateSecurityConfigurationRequest(input)
2578	return out, req.Send()
2579}
2580
2581// CreateSecurityConfigurationWithContext is the same as CreateSecurityConfiguration with the addition of
2582// the ability to pass a context and additional request options.
2583//
2584// See CreateSecurityConfiguration for details on how to use this API operation.
2585//
2586// The context must be non-nil and will be used for request cancellation. If
2587// the context is nil a panic will occur. In the future the SDK may create
2588// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2589// for more information on using Contexts.
2590func (c *Glue) CreateSecurityConfigurationWithContext(ctx aws.Context, input *CreateSecurityConfigurationInput, opts ...request.Option) (*CreateSecurityConfigurationOutput, error) {
2591	req, out := c.CreateSecurityConfigurationRequest(input)
2592	req.SetContext(ctx)
2593	req.ApplyOptions(opts...)
2594	return out, req.Send()
2595}
2596
2597const opCreateTable = "CreateTable"
2598
2599// CreateTableRequest generates a "aws/request.Request" representing the
2600// client's request for the CreateTable operation. The "output" return
2601// value will be populated with the request's response once the request completes
2602// successfully.
2603//
2604// Use "Send" method on the returned Request to send the API call to the service.
2605// the "output" return value is not valid until after Send returns without error.
2606//
2607// See CreateTable for more information on using the CreateTable
2608// API call, and error handling.
2609//
2610// This method is useful when you want to inject custom logic or configuration
2611// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2612//
2613//
2614//    // Example sending a request using the CreateTableRequest method.
2615//    req, resp := client.CreateTableRequest(params)
2616//
2617//    err := req.Send()
2618//    if err == nil { // resp is now filled
2619//        fmt.Println(resp)
2620//    }
2621//
2622// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable
2623func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) {
2624	op := &request.Operation{
2625		Name:       opCreateTable,
2626		HTTPMethod: "POST",
2627		HTTPPath:   "/",
2628	}
2629
2630	if input == nil {
2631		input = &CreateTableInput{}
2632	}
2633
2634	output = &CreateTableOutput{}
2635	req = c.newRequest(op, input, output)
2636	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2637	return
2638}
2639
2640// CreateTable API operation for AWS Glue.
2641//
2642// Creates a new table definition in the Data Catalog.
2643//
2644// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2645// with awserr.Error's Code and Message methods to get detailed information about
2646// the error.
2647//
2648// See the AWS API reference guide for AWS Glue's
2649// API operation CreateTable for usage and error information.
2650//
2651// Returned Error Types:
2652//   * AlreadyExistsException
2653//   A resource to be created or added already exists.
2654//
2655//   * InvalidInputException
2656//   The input provided was not valid.
2657//
2658//   * EntityNotFoundException
2659//   A specified entity does not exist
2660//
2661//   * ResourceNumberLimitExceededException
2662//   A resource numerical limit was exceeded.
2663//
2664//   * InternalServiceException
2665//   An internal service error occurred.
2666//
2667//   * OperationTimeoutException
2668//   The operation timed out.
2669//
2670//   * EncryptionException
2671//   An encryption operation failed.
2672//
2673// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable
2674func (c *Glue) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) {
2675	req, out := c.CreateTableRequest(input)
2676	return out, req.Send()
2677}
2678
2679// CreateTableWithContext is the same as CreateTable with the addition of
2680// the ability to pass a context and additional request options.
2681//
2682// See CreateTable for details on how to use this API operation.
2683//
2684// The context must be non-nil and will be used for request cancellation. If
2685// the context is nil a panic will occur. In the future the SDK may create
2686// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2687// for more information on using Contexts.
2688func (c *Glue) CreateTableWithContext(ctx aws.Context, input *CreateTableInput, opts ...request.Option) (*CreateTableOutput, error) {
2689	req, out := c.CreateTableRequest(input)
2690	req.SetContext(ctx)
2691	req.ApplyOptions(opts...)
2692	return out, req.Send()
2693}
2694
2695const opCreateTrigger = "CreateTrigger"
2696
2697// CreateTriggerRequest generates a "aws/request.Request" representing the
2698// client's request for the CreateTrigger operation. The "output" return
2699// value will be populated with the request's response once the request completes
2700// successfully.
2701//
2702// Use "Send" method on the returned Request to send the API call to the service.
2703// the "output" return value is not valid until after Send returns without error.
2704//
2705// See CreateTrigger for more information on using the CreateTrigger
2706// API call, and error handling.
2707//
2708// This method is useful when you want to inject custom logic or configuration
2709// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2710//
2711//
2712//    // Example sending a request using the CreateTriggerRequest method.
2713//    req, resp := client.CreateTriggerRequest(params)
2714//
2715//    err := req.Send()
2716//    if err == nil { // resp is now filled
2717//        fmt.Println(resp)
2718//    }
2719//
2720// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger
2721func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Request, output *CreateTriggerOutput) {
2722	op := &request.Operation{
2723		Name:       opCreateTrigger,
2724		HTTPMethod: "POST",
2725		HTTPPath:   "/",
2726	}
2727
2728	if input == nil {
2729		input = &CreateTriggerInput{}
2730	}
2731
2732	output = &CreateTriggerOutput{}
2733	req = c.newRequest(op, input, output)
2734	return
2735}
2736
2737// CreateTrigger API operation for AWS Glue.
2738//
2739// Creates a new trigger.
2740//
2741// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2742// with awserr.Error's Code and Message methods to get detailed information about
2743// the error.
2744//
2745// See the AWS API reference guide for AWS Glue's
2746// API operation CreateTrigger for usage and error information.
2747//
2748// Returned Error Types:
2749//   * AlreadyExistsException
2750//   A resource to be created or added already exists.
2751//
2752//   * EntityNotFoundException
2753//   A specified entity does not exist
2754//
2755//   * InvalidInputException
2756//   The input provided was not valid.
2757//
2758//   * IdempotentParameterMismatchException
2759//   The same unique identifier was associated with two different records.
2760//
2761//   * InternalServiceException
2762//   An internal service error occurred.
2763//
2764//   * OperationTimeoutException
2765//   The operation timed out.
2766//
2767//   * ResourceNumberLimitExceededException
2768//   A resource numerical limit was exceeded.
2769//
2770//   * ConcurrentModificationException
2771//   Two processes are trying to modify a resource simultaneously.
2772//
2773// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger
2774func (c *Glue) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error) {
2775	req, out := c.CreateTriggerRequest(input)
2776	return out, req.Send()
2777}
2778
2779// CreateTriggerWithContext is the same as CreateTrigger with the addition of
2780// the ability to pass a context and additional request options.
2781//
2782// See CreateTrigger for details on how to use this API operation.
2783//
2784// The context must be non-nil and will be used for request cancellation. If
2785// the context is nil a panic will occur. In the future the SDK may create
2786// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2787// for more information on using Contexts.
2788func (c *Glue) CreateTriggerWithContext(ctx aws.Context, input *CreateTriggerInput, opts ...request.Option) (*CreateTriggerOutput, error) {
2789	req, out := c.CreateTriggerRequest(input)
2790	req.SetContext(ctx)
2791	req.ApplyOptions(opts...)
2792	return out, req.Send()
2793}
2794
2795const opCreateUserDefinedFunction = "CreateUserDefinedFunction"
2796
2797// CreateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
2798// client's request for the CreateUserDefinedFunction operation. The "output" return
2799// value will be populated with the request's response once the request completes
2800// successfully.
2801//
2802// Use "Send" method on the returned Request to send the API call to the service.
2803// the "output" return value is not valid until after Send returns without error.
2804//
2805// See CreateUserDefinedFunction for more information on using the CreateUserDefinedFunction
2806// API call, and error handling.
2807//
2808// This method is useful when you want to inject custom logic or configuration
2809// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2810//
2811//
2812//    // Example sending a request using the CreateUserDefinedFunctionRequest method.
2813//    req, resp := client.CreateUserDefinedFunctionRequest(params)
2814//
2815//    err := req.Send()
2816//    if err == nil { // resp is now filled
2817//        fmt.Println(resp)
2818//    }
2819//
2820// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction
2821func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunctionInput) (req *request.Request, output *CreateUserDefinedFunctionOutput) {
2822	op := &request.Operation{
2823		Name:       opCreateUserDefinedFunction,
2824		HTTPMethod: "POST",
2825		HTTPPath:   "/",
2826	}
2827
2828	if input == nil {
2829		input = &CreateUserDefinedFunctionInput{}
2830	}
2831
2832	output = &CreateUserDefinedFunctionOutput{}
2833	req = c.newRequest(op, input, output)
2834	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2835	return
2836}
2837
2838// CreateUserDefinedFunction API operation for AWS Glue.
2839//
2840// Creates a new function definition in the Data Catalog.
2841//
2842// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2843// with awserr.Error's Code and Message methods to get detailed information about
2844// the error.
2845//
2846// See the AWS API reference guide for AWS Glue's
2847// API operation CreateUserDefinedFunction for usage and error information.
2848//
2849// Returned Error Types:
2850//   * AlreadyExistsException
2851//   A resource to be created or added already exists.
2852//
2853//   * InvalidInputException
2854//   The input provided was not valid.
2855//
2856//   * InternalServiceException
2857//   An internal service error occurred.
2858//
2859//   * EntityNotFoundException
2860//   A specified entity does not exist
2861//
2862//   * OperationTimeoutException
2863//   The operation timed out.
2864//
2865//   * ResourceNumberLimitExceededException
2866//   A resource numerical limit was exceeded.
2867//
2868//   * EncryptionException
2869//   An encryption operation failed.
2870//
2871// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction
2872func (c *Glue) CreateUserDefinedFunction(input *CreateUserDefinedFunctionInput) (*CreateUserDefinedFunctionOutput, error) {
2873	req, out := c.CreateUserDefinedFunctionRequest(input)
2874	return out, req.Send()
2875}
2876
2877// CreateUserDefinedFunctionWithContext is the same as CreateUserDefinedFunction with the addition of
2878// the ability to pass a context and additional request options.
2879//
2880// See CreateUserDefinedFunction for details on how to use this API operation.
2881//
2882// The context must be non-nil and will be used for request cancellation. If
2883// the context is nil a panic will occur. In the future the SDK may create
2884// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2885// for more information on using Contexts.
2886func (c *Glue) CreateUserDefinedFunctionWithContext(ctx aws.Context, input *CreateUserDefinedFunctionInput, opts ...request.Option) (*CreateUserDefinedFunctionOutput, error) {
2887	req, out := c.CreateUserDefinedFunctionRequest(input)
2888	req.SetContext(ctx)
2889	req.ApplyOptions(opts...)
2890	return out, req.Send()
2891}
2892
2893const opCreateWorkflow = "CreateWorkflow"
2894
2895// CreateWorkflowRequest generates a "aws/request.Request" representing the
2896// client's request for the CreateWorkflow operation. The "output" return
2897// value will be populated with the request's response once the request completes
2898// successfully.
2899//
2900// Use "Send" method on the returned Request to send the API call to the service.
2901// the "output" return value is not valid until after Send returns without error.
2902//
2903// See CreateWorkflow for more information on using the CreateWorkflow
2904// API call, and error handling.
2905//
2906// This method is useful when you want to inject custom logic or configuration
2907// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2908//
2909//
2910//    // Example sending a request using the CreateWorkflowRequest method.
2911//    req, resp := client.CreateWorkflowRequest(params)
2912//
2913//    err := req.Send()
2914//    if err == nil { // resp is now filled
2915//        fmt.Println(resp)
2916//    }
2917//
2918// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow
2919func (c *Glue) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) {
2920	op := &request.Operation{
2921		Name:       opCreateWorkflow,
2922		HTTPMethod: "POST",
2923		HTTPPath:   "/",
2924	}
2925
2926	if input == nil {
2927		input = &CreateWorkflowInput{}
2928	}
2929
2930	output = &CreateWorkflowOutput{}
2931	req = c.newRequest(op, input, output)
2932	return
2933}
2934
2935// CreateWorkflow API operation for AWS Glue.
2936//
2937// Creates a new workflow.
2938//
2939// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2940// with awserr.Error's Code and Message methods to get detailed information about
2941// the error.
2942//
2943// See the AWS API reference guide for AWS Glue's
2944// API operation CreateWorkflow for usage and error information.
2945//
2946// Returned Error Types:
2947//   * AlreadyExistsException
2948//   A resource to be created or added already exists.
2949//
2950//   * InvalidInputException
2951//   The input provided was not valid.
2952//
2953//   * InternalServiceException
2954//   An internal service error occurred.
2955//
2956//   * OperationTimeoutException
2957//   The operation timed out.
2958//
2959//   * ResourceNumberLimitExceededException
2960//   A resource numerical limit was exceeded.
2961//
2962//   * ConcurrentModificationException
2963//   Two processes are trying to modify a resource simultaneously.
2964//
2965// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow
2966func (c *Glue) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) {
2967	req, out := c.CreateWorkflowRequest(input)
2968	return out, req.Send()
2969}
2970
2971// CreateWorkflowWithContext is the same as CreateWorkflow with the addition of
2972// the ability to pass a context and additional request options.
2973//
2974// See CreateWorkflow for details on how to use this API operation.
2975//
2976// The context must be non-nil and will be used for request cancellation. If
2977// the context is nil a panic will occur. In the future the SDK may create
2978// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2979// for more information on using Contexts.
2980func (c *Glue) CreateWorkflowWithContext(ctx aws.Context, input *CreateWorkflowInput, opts ...request.Option) (*CreateWorkflowOutput, error) {
2981	req, out := c.CreateWorkflowRequest(input)
2982	req.SetContext(ctx)
2983	req.ApplyOptions(opts...)
2984	return out, req.Send()
2985}
2986
2987const opDeleteClassifier = "DeleteClassifier"
2988
2989// DeleteClassifierRequest generates a "aws/request.Request" representing the
2990// client's request for the DeleteClassifier operation. The "output" return
2991// value will be populated with the request's response once the request completes
2992// successfully.
2993//
2994// Use "Send" method on the returned Request to send the API call to the service.
2995// the "output" return value is not valid until after Send returns without error.
2996//
2997// See DeleteClassifier for more information on using the DeleteClassifier
2998// API call, and error handling.
2999//
3000// This method is useful when you want to inject custom logic or configuration
3001// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3002//
3003//
3004//    // Example sending a request using the DeleteClassifierRequest method.
3005//    req, resp := client.DeleteClassifierRequest(params)
3006//
3007//    err := req.Send()
3008//    if err == nil { // resp is now filled
3009//        fmt.Println(resp)
3010//    }
3011//
3012// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier
3013func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *request.Request, output *DeleteClassifierOutput) {
3014	op := &request.Operation{
3015		Name:       opDeleteClassifier,
3016		HTTPMethod: "POST",
3017		HTTPPath:   "/",
3018	}
3019
3020	if input == nil {
3021		input = &DeleteClassifierInput{}
3022	}
3023
3024	output = &DeleteClassifierOutput{}
3025	req = c.newRequest(op, input, output)
3026	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3027	return
3028}
3029
3030// DeleteClassifier API operation for AWS Glue.
3031//
3032// Removes a classifier from the Data Catalog.
3033//
3034// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3035// with awserr.Error's Code and Message methods to get detailed information about
3036// the error.
3037//
3038// See the AWS API reference guide for AWS Glue's
3039// API operation DeleteClassifier for usage and error information.
3040//
3041// Returned Error Types:
3042//   * EntityNotFoundException
3043//   A specified entity does not exist
3044//
3045//   * OperationTimeoutException
3046//   The operation timed out.
3047//
3048// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier
3049func (c *Glue) DeleteClassifier(input *DeleteClassifierInput) (*DeleteClassifierOutput, error) {
3050	req, out := c.DeleteClassifierRequest(input)
3051	return out, req.Send()
3052}
3053
3054// DeleteClassifierWithContext is the same as DeleteClassifier with the addition of
3055// the ability to pass a context and additional request options.
3056//
3057// See DeleteClassifier for details on how to use this API operation.
3058//
3059// The context must be non-nil and will be used for request cancellation. If
3060// the context is nil a panic will occur. In the future the SDK may create
3061// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3062// for more information on using Contexts.
3063func (c *Glue) DeleteClassifierWithContext(ctx aws.Context, input *DeleteClassifierInput, opts ...request.Option) (*DeleteClassifierOutput, error) {
3064	req, out := c.DeleteClassifierRequest(input)
3065	req.SetContext(ctx)
3066	req.ApplyOptions(opts...)
3067	return out, req.Send()
3068}
3069
3070const opDeleteColumnStatisticsForPartition = "DeleteColumnStatisticsForPartition"
3071
3072// DeleteColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the
3073// client's request for the DeleteColumnStatisticsForPartition operation. The "output" return
3074// value will be populated with the request's response once the request completes
3075// successfully.
3076//
3077// Use "Send" method on the returned Request to send the API call to the service.
3078// the "output" return value is not valid until after Send returns without error.
3079//
3080// See DeleteColumnStatisticsForPartition for more information on using the DeleteColumnStatisticsForPartition
3081// API call, and error handling.
3082//
3083// This method is useful when you want to inject custom logic or configuration
3084// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3085//
3086//
3087//    // Example sending a request using the DeleteColumnStatisticsForPartitionRequest method.
3088//    req, resp := client.DeleteColumnStatisticsForPartitionRequest(params)
3089//
3090//    err := req.Send()
3091//    if err == nil { // resp is now filled
3092//        fmt.Println(resp)
3093//    }
3094//
3095// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition
3096func (c *Glue) DeleteColumnStatisticsForPartitionRequest(input *DeleteColumnStatisticsForPartitionInput) (req *request.Request, output *DeleteColumnStatisticsForPartitionOutput) {
3097	op := &request.Operation{
3098		Name:       opDeleteColumnStatisticsForPartition,
3099		HTTPMethod: "POST",
3100		HTTPPath:   "/",
3101	}
3102
3103	if input == nil {
3104		input = &DeleteColumnStatisticsForPartitionInput{}
3105	}
3106
3107	output = &DeleteColumnStatisticsForPartitionOutput{}
3108	req = c.newRequest(op, input, output)
3109	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3110	return
3111}
3112
3113// DeleteColumnStatisticsForPartition API operation for AWS Glue.
3114//
3115// Delete the partition column statistics of a column.
3116//
3117// The Identity and Access Management (IAM) permission required for this operation
3118// is DeletePartition.
3119//
3120// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3121// with awserr.Error's Code and Message methods to get detailed information about
3122// the error.
3123//
3124// See the AWS API reference guide for AWS Glue's
3125// API operation DeleteColumnStatisticsForPartition for usage and error information.
3126//
3127// Returned Error Types:
3128//   * EntityNotFoundException
3129//   A specified entity does not exist
3130//
3131//   * InvalidInputException
3132//   The input provided was not valid.
3133//
3134//   * InternalServiceException
3135//   An internal service error occurred.
3136//
3137//   * OperationTimeoutException
3138//   The operation timed out.
3139//
3140//   * EncryptionException
3141//   An encryption operation failed.
3142//
3143// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition
3144func (c *Glue) DeleteColumnStatisticsForPartition(input *DeleteColumnStatisticsForPartitionInput) (*DeleteColumnStatisticsForPartitionOutput, error) {
3145	req, out := c.DeleteColumnStatisticsForPartitionRequest(input)
3146	return out, req.Send()
3147}
3148
3149// DeleteColumnStatisticsForPartitionWithContext is the same as DeleteColumnStatisticsForPartition with the addition of
3150// the ability to pass a context and additional request options.
3151//
3152// See DeleteColumnStatisticsForPartition for details on how to use this API operation.
3153//
3154// The context must be non-nil and will be used for request cancellation. If
3155// the context is nil a panic will occur. In the future the SDK may create
3156// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3157// for more information on using Contexts.
3158func (c *Glue) DeleteColumnStatisticsForPartitionWithContext(ctx aws.Context, input *DeleteColumnStatisticsForPartitionInput, opts ...request.Option) (*DeleteColumnStatisticsForPartitionOutput, error) {
3159	req, out := c.DeleteColumnStatisticsForPartitionRequest(input)
3160	req.SetContext(ctx)
3161	req.ApplyOptions(opts...)
3162	return out, req.Send()
3163}
3164
3165const opDeleteColumnStatisticsForTable = "DeleteColumnStatisticsForTable"
3166
3167// DeleteColumnStatisticsForTableRequest generates a "aws/request.Request" representing the
3168// client's request for the DeleteColumnStatisticsForTable operation. The "output" return
3169// value will be populated with the request's response once the request completes
3170// successfully.
3171//
3172// Use "Send" method on the returned Request to send the API call to the service.
3173// the "output" return value is not valid until after Send returns without error.
3174//
3175// See DeleteColumnStatisticsForTable for more information on using the DeleteColumnStatisticsForTable
3176// API call, and error handling.
3177//
3178// This method is useful when you want to inject custom logic or configuration
3179// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3180//
3181//
3182//    // Example sending a request using the DeleteColumnStatisticsForTableRequest method.
3183//    req, resp := client.DeleteColumnStatisticsForTableRequest(params)
3184//
3185//    err := req.Send()
3186//    if err == nil { // resp is now filled
3187//        fmt.Println(resp)
3188//    }
3189//
3190// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable
3191func (c *Glue) DeleteColumnStatisticsForTableRequest(input *DeleteColumnStatisticsForTableInput) (req *request.Request, output *DeleteColumnStatisticsForTableOutput) {
3192	op := &request.Operation{
3193		Name:       opDeleteColumnStatisticsForTable,
3194		HTTPMethod: "POST",
3195		HTTPPath:   "/",
3196	}
3197
3198	if input == nil {
3199		input = &DeleteColumnStatisticsForTableInput{}
3200	}
3201
3202	output = &DeleteColumnStatisticsForTableOutput{}
3203	req = c.newRequest(op, input, output)
3204	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3205	return
3206}
3207
3208// DeleteColumnStatisticsForTable API operation for AWS Glue.
3209//
3210// Retrieves table statistics of columns.
3211//
3212// The Identity and Access Management (IAM) permission required for this operation
3213// is DeleteTable.
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 DeleteColumnStatisticsForTable for usage and error information.
3221//
3222// Returned Error Types:
3223//   * EntityNotFoundException
3224//   A specified entity does not exist
3225//
3226//   * InvalidInputException
3227//   The input provided was not valid.
3228//
3229//   * InternalServiceException
3230//   An internal service error occurred.
3231//
3232//   * OperationTimeoutException
3233//   The operation timed out.
3234//
3235//   * EncryptionException
3236//   An encryption operation failed.
3237//
3238// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable
3239func (c *Glue) DeleteColumnStatisticsForTable(input *DeleteColumnStatisticsForTableInput) (*DeleteColumnStatisticsForTableOutput, error) {
3240	req, out := c.DeleteColumnStatisticsForTableRequest(input)
3241	return out, req.Send()
3242}
3243
3244// DeleteColumnStatisticsForTableWithContext is the same as DeleteColumnStatisticsForTable with the addition of
3245// the ability to pass a context and additional request options.
3246//
3247// See DeleteColumnStatisticsForTable for details on how to use this API operation.
3248//
3249// The context must be non-nil and will be used for request cancellation. If
3250// the context is nil a panic will occur. In the future the SDK may create
3251// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3252// for more information on using Contexts.
3253func (c *Glue) DeleteColumnStatisticsForTableWithContext(ctx aws.Context, input *DeleteColumnStatisticsForTableInput, opts ...request.Option) (*DeleteColumnStatisticsForTableOutput, error) {
3254	req, out := c.DeleteColumnStatisticsForTableRequest(input)
3255	req.SetContext(ctx)
3256	req.ApplyOptions(opts...)
3257	return out, req.Send()
3258}
3259
3260const opDeleteConnection = "DeleteConnection"
3261
3262// DeleteConnectionRequest generates a "aws/request.Request" representing the
3263// client's request for the DeleteConnection operation. The "output" return
3264// value will be populated with the request's response once the request completes
3265// successfully.
3266//
3267// Use "Send" method on the returned Request to send the API call to the service.
3268// the "output" return value is not valid until after Send returns without error.
3269//
3270// See DeleteConnection for more information on using the DeleteConnection
3271// API call, and error handling.
3272//
3273// This method is useful when you want to inject custom logic or configuration
3274// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3275//
3276//
3277//    // Example sending a request using the DeleteConnectionRequest method.
3278//    req, resp := client.DeleteConnectionRequest(params)
3279//
3280//    err := req.Send()
3281//    if err == nil { // resp is now filled
3282//        fmt.Println(resp)
3283//    }
3284//
3285// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection
3286func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) {
3287	op := &request.Operation{
3288		Name:       opDeleteConnection,
3289		HTTPMethod: "POST",
3290		HTTPPath:   "/",
3291	}
3292
3293	if input == nil {
3294		input = &DeleteConnectionInput{}
3295	}
3296
3297	output = &DeleteConnectionOutput{}
3298	req = c.newRequest(op, input, output)
3299	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3300	return
3301}
3302
3303// DeleteConnection API operation for AWS Glue.
3304//
3305// Deletes a connection from the Data Catalog.
3306//
3307// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3308// with awserr.Error's Code and Message methods to get detailed information about
3309// the error.
3310//
3311// See the AWS API reference guide for AWS Glue's
3312// API operation DeleteConnection for usage and error information.
3313//
3314// Returned Error Types:
3315//   * EntityNotFoundException
3316//   A specified entity does not exist
3317//
3318//   * OperationTimeoutException
3319//   The operation timed out.
3320//
3321// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection
3322func (c *Glue) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) {
3323	req, out := c.DeleteConnectionRequest(input)
3324	return out, req.Send()
3325}
3326
3327// DeleteConnectionWithContext is the same as DeleteConnection with the addition of
3328// the ability to pass a context and additional request options.
3329//
3330// See DeleteConnection for details on how to use this API operation.
3331//
3332// The context must be non-nil and will be used for request cancellation. If
3333// the context is nil a panic will occur. In the future the SDK may create
3334// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3335// for more information on using Contexts.
3336func (c *Glue) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error) {
3337	req, out := c.DeleteConnectionRequest(input)
3338	req.SetContext(ctx)
3339	req.ApplyOptions(opts...)
3340	return out, req.Send()
3341}
3342
3343const opDeleteCrawler = "DeleteCrawler"
3344
3345// DeleteCrawlerRequest generates a "aws/request.Request" representing the
3346// client's request for the DeleteCrawler operation. The "output" return
3347// value will be populated with the request's response once the request completes
3348// successfully.
3349//
3350// Use "Send" method on the returned Request to send the API call to the service.
3351// the "output" return value is not valid until after Send returns without error.
3352//
3353// See DeleteCrawler for more information on using the DeleteCrawler
3354// API call, and error handling.
3355//
3356// This method is useful when you want to inject custom logic or configuration
3357// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3358//
3359//
3360//    // Example sending a request using the DeleteCrawlerRequest method.
3361//    req, resp := client.DeleteCrawlerRequest(params)
3362//
3363//    err := req.Send()
3364//    if err == nil { // resp is now filled
3365//        fmt.Println(resp)
3366//    }
3367//
3368// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler
3369func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Request, output *DeleteCrawlerOutput) {
3370	op := &request.Operation{
3371		Name:       opDeleteCrawler,
3372		HTTPMethod: "POST",
3373		HTTPPath:   "/",
3374	}
3375
3376	if input == nil {
3377		input = &DeleteCrawlerInput{}
3378	}
3379
3380	output = &DeleteCrawlerOutput{}
3381	req = c.newRequest(op, input, output)
3382	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3383	return
3384}
3385
3386// DeleteCrawler API operation for AWS Glue.
3387//
3388// Removes a specified crawler from the AWS Glue Data Catalog, unless the crawler
3389// state is RUNNING.
3390//
3391// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3392// with awserr.Error's Code and Message methods to get detailed information about
3393// the error.
3394//
3395// See the AWS API reference guide for AWS Glue's
3396// API operation DeleteCrawler for usage and error information.
3397//
3398// Returned Error Types:
3399//   * EntityNotFoundException
3400//   A specified entity does not exist
3401//
3402//   * CrawlerRunningException
3403//   The operation cannot be performed because the crawler is already running.
3404//
3405//   * SchedulerTransitioningException
3406//   The specified scheduler is transitioning.
3407//
3408//   * OperationTimeoutException
3409//   The operation timed out.
3410//
3411// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler
3412func (c *Glue) DeleteCrawler(input *DeleteCrawlerInput) (*DeleteCrawlerOutput, error) {
3413	req, out := c.DeleteCrawlerRequest(input)
3414	return out, req.Send()
3415}
3416
3417// DeleteCrawlerWithContext is the same as DeleteCrawler with the addition of
3418// the ability to pass a context and additional request options.
3419//
3420// See DeleteCrawler for details on how to use this API operation.
3421//
3422// The context must be non-nil and will be used for request cancellation. If
3423// the context is nil a panic will occur. In the future the SDK may create
3424// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3425// for more information on using Contexts.
3426func (c *Glue) DeleteCrawlerWithContext(ctx aws.Context, input *DeleteCrawlerInput, opts ...request.Option) (*DeleteCrawlerOutput, error) {
3427	req, out := c.DeleteCrawlerRequest(input)
3428	req.SetContext(ctx)
3429	req.ApplyOptions(opts...)
3430	return out, req.Send()
3431}
3432
3433const opDeleteDatabase = "DeleteDatabase"
3434
3435// DeleteDatabaseRequest generates a "aws/request.Request" representing the
3436// client's request for the DeleteDatabase operation. The "output" return
3437// value will be populated with the request's response once the request completes
3438// successfully.
3439//
3440// Use "Send" method on the returned Request to send the API call to the service.
3441// the "output" return value is not valid until after Send returns without error.
3442//
3443// See DeleteDatabase for more information on using the DeleteDatabase
3444// API call, and error handling.
3445//
3446// This method is useful when you want to inject custom logic or configuration
3447// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3448//
3449//
3450//    // Example sending a request using the DeleteDatabaseRequest method.
3451//    req, resp := client.DeleteDatabaseRequest(params)
3452//
3453//    err := req.Send()
3454//    if err == nil { // resp is now filled
3455//        fmt.Println(resp)
3456//    }
3457//
3458// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase
3459func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) {
3460	op := &request.Operation{
3461		Name:       opDeleteDatabase,
3462		HTTPMethod: "POST",
3463		HTTPPath:   "/",
3464	}
3465
3466	if input == nil {
3467		input = &DeleteDatabaseInput{}
3468	}
3469
3470	output = &DeleteDatabaseOutput{}
3471	req = c.newRequest(op, input, output)
3472	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3473	return
3474}
3475
3476// DeleteDatabase API operation for AWS Glue.
3477//
3478// Removes a specified database from a Data Catalog.
3479//
3480// After completing this operation, you no longer have access to the tables
3481// (and all table versions and partitions that might belong to the tables) and
3482// the user-defined functions in the deleted database. AWS Glue deletes these
3483// "orphaned" resources asynchronously in a timely manner, at the discretion
3484// of the service.
3485//
3486// To ensure the immediate deletion of all related resources, before calling
3487// DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition
3488// or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable,
3489// to delete any resources that belong to the database.
3490//
3491// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3492// with awserr.Error's Code and Message methods to get detailed information about
3493// the error.
3494//
3495// See the AWS API reference guide for AWS Glue's
3496// API operation DeleteDatabase for usage and error information.
3497//
3498// Returned Error Types:
3499//   * EntityNotFoundException
3500//   A specified entity does not exist
3501//
3502//   * InvalidInputException
3503//   The input provided was not valid.
3504//
3505//   * InternalServiceException
3506//   An internal service error occurred.
3507//
3508//   * OperationTimeoutException
3509//   The operation timed out.
3510//
3511// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase
3512func (c *Glue) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) {
3513	req, out := c.DeleteDatabaseRequest(input)
3514	return out, req.Send()
3515}
3516
3517// DeleteDatabaseWithContext is the same as DeleteDatabase with the addition of
3518// the ability to pass a context and additional request options.
3519//
3520// See DeleteDatabase for details on how to use this API operation.
3521//
3522// The context must be non-nil and will be used for request cancellation. If
3523// the context is nil a panic will occur. In the future the SDK may create
3524// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3525// for more information on using Contexts.
3526func (c *Glue) DeleteDatabaseWithContext(ctx aws.Context, input *DeleteDatabaseInput, opts ...request.Option) (*DeleteDatabaseOutput, error) {
3527	req, out := c.DeleteDatabaseRequest(input)
3528	req.SetContext(ctx)
3529	req.ApplyOptions(opts...)
3530	return out, req.Send()
3531}
3532
3533const opDeleteDevEndpoint = "DeleteDevEndpoint"
3534
3535// DeleteDevEndpointRequest generates a "aws/request.Request" representing the
3536// client's request for the DeleteDevEndpoint operation. The "output" return
3537// value will be populated with the request's response once the request completes
3538// successfully.
3539//
3540// Use "Send" method on the returned Request to send the API call to the service.
3541// the "output" return value is not valid until after Send returns without error.
3542//
3543// See DeleteDevEndpoint for more information on using the DeleteDevEndpoint
3544// API call, and error handling.
3545//
3546// This method is useful when you want to inject custom logic or configuration
3547// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3548//
3549//
3550//    // Example sending a request using the DeleteDevEndpointRequest method.
3551//    req, resp := client.DeleteDevEndpointRequest(params)
3552//
3553//    err := req.Send()
3554//    if err == nil { // resp is now filled
3555//        fmt.Println(resp)
3556//    }
3557//
3558// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint
3559func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *request.Request, output *DeleteDevEndpointOutput) {
3560	op := &request.Operation{
3561		Name:       opDeleteDevEndpoint,
3562		HTTPMethod: "POST",
3563		HTTPPath:   "/",
3564	}
3565
3566	if input == nil {
3567		input = &DeleteDevEndpointInput{}
3568	}
3569
3570	output = &DeleteDevEndpointOutput{}
3571	req = c.newRequest(op, input, output)
3572	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3573	return
3574}
3575
3576// DeleteDevEndpoint API operation for AWS Glue.
3577//
3578// Deletes a specified development endpoint.
3579//
3580// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3581// with awserr.Error's Code and Message methods to get detailed information about
3582// the error.
3583//
3584// See the AWS API reference guide for AWS Glue's
3585// API operation DeleteDevEndpoint for usage and error information.
3586//
3587// Returned Error Types:
3588//   * EntityNotFoundException
3589//   A specified entity does not exist
3590//
3591//   * InternalServiceException
3592//   An internal service error occurred.
3593//
3594//   * OperationTimeoutException
3595//   The operation timed out.
3596//
3597//   * InvalidInputException
3598//   The input provided was not valid.
3599//
3600// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint
3601func (c *Glue) DeleteDevEndpoint(input *DeleteDevEndpointInput) (*DeleteDevEndpointOutput, error) {
3602	req, out := c.DeleteDevEndpointRequest(input)
3603	return out, req.Send()
3604}
3605
3606// DeleteDevEndpointWithContext is the same as DeleteDevEndpoint with the addition of
3607// the ability to pass a context and additional request options.
3608//
3609// See DeleteDevEndpoint for details on how to use this API operation.
3610//
3611// The context must be non-nil and will be used for request cancellation. If
3612// the context is nil a panic will occur. In the future the SDK may create
3613// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3614// for more information on using Contexts.
3615func (c *Glue) DeleteDevEndpointWithContext(ctx aws.Context, input *DeleteDevEndpointInput, opts ...request.Option) (*DeleteDevEndpointOutput, error) {
3616	req, out := c.DeleteDevEndpointRequest(input)
3617	req.SetContext(ctx)
3618	req.ApplyOptions(opts...)
3619	return out, req.Send()
3620}
3621
3622const opDeleteJob = "DeleteJob"
3623
3624// DeleteJobRequest generates a "aws/request.Request" representing the
3625// client's request for the DeleteJob operation. The "output" return
3626// value will be populated with the request's response once the request completes
3627// successfully.
3628//
3629// Use "Send" method on the returned Request to send the API call to the service.
3630// the "output" return value is not valid until after Send returns without error.
3631//
3632// See DeleteJob for more information on using the DeleteJob
3633// API call, and error handling.
3634//
3635// This method is useful when you want to inject custom logic or configuration
3636// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3637//
3638//
3639//    // Example sending a request using the DeleteJobRequest method.
3640//    req, resp := client.DeleteJobRequest(params)
3641//
3642//    err := req.Send()
3643//    if err == nil { // resp is now filled
3644//        fmt.Println(resp)
3645//    }
3646//
3647// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob
3648func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) {
3649	op := &request.Operation{
3650		Name:       opDeleteJob,
3651		HTTPMethod: "POST",
3652		HTTPPath:   "/",
3653	}
3654
3655	if input == nil {
3656		input = &DeleteJobInput{}
3657	}
3658
3659	output = &DeleteJobOutput{}
3660	req = c.newRequest(op, input, output)
3661	return
3662}
3663
3664// DeleteJob API operation for AWS Glue.
3665//
3666// Deletes a specified job definition. If the job definition is not found, no
3667// exception is thrown.
3668//
3669// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3670// with awserr.Error's Code and Message methods to get detailed information about
3671// the error.
3672//
3673// See the AWS API reference guide for AWS Glue's
3674// API operation DeleteJob for usage and error information.
3675//
3676// Returned Error Types:
3677//   * InvalidInputException
3678//   The input provided was not valid.
3679//
3680//   * InternalServiceException
3681//   An internal service error occurred.
3682//
3683//   * OperationTimeoutException
3684//   The operation timed out.
3685//
3686// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob
3687func (c *Glue) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) {
3688	req, out := c.DeleteJobRequest(input)
3689	return out, req.Send()
3690}
3691
3692// DeleteJobWithContext is the same as DeleteJob with the addition of
3693// the ability to pass a context and additional request options.
3694//
3695// See DeleteJob for details on how to use this API operation.
3696//
3697// The context must be non-nil and will be used for request cancellation. If
3698// the context is nil a panic will occur. In the future the SDK may create
3699// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3700// for more information on using Contexts.
3701func (c *Glue) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts ...request.Option) (*DeleteJobOutput, error) {
3702	req, out := c.DeleteJobRequest(input)
3703	req.SetContext(ctx)
3704	req.ApplyOptions(opts...)
3705	return out, req.Send()
3706}
3707
3708const opDeleteMLTransform = "DeleteMLTransform"
3709
3710// DeleteMLTransformRequest generates a "aws/request.Request" representing the
3711// client's request for the DeleteMLTransform operation. The "output" return
3712// value will be populated with the request's response once the request completes
3713// successfully.
3714//
3715// Use "Send" method on the returned Request to send the API call to the service.
3716// the "output" return value is not valid until after Send returns without error.
3717//
3718// See DeleteMLTransform for more information on using the DeleteMLTransform
3719// API call, and error handling.
3720//
3721// This method is useful when you want to inject custom logic or configuration
3722// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3723//
3724//
3725//    // Example sending a request using the DeleteMLTransformRequest method.
3726//    req, resp := client.DeleteMLTransformRequest(params)
3727//
3728//    err := req.Send()
3729//    if err == nil { // resp is now filled
3730//        fmt.Println(resp)
3731//    }
3732//
3733// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform
3734func (c *Glue) DeleteMLTransformRequest(input *DeleteMLTransformInput) (req *request.Request, output *DeleteMLTransformOutput) {
3735	op := &request.Operation{
3736		Name:       opDeleteMLTransform,
3737		HTTPMethod: "POST",
3738		HTTPPath:   "/",
3739	}
3740
3741	if input == nil {
3742		input = &DeleteMLTransformInput{}
3743	}
3744
3745	output = &DeleteMLTransformOutput{}
3746	req = c.newRequest(op, input, output)
3747	return
3748}
3749
3750// DeleteMLTransform API operation for AWS Glue.
3751//
3752// Deletes an AWS Glue machine learning transform. Machine learning transforms
3753// are a special type of transform that use machine learning to learn the details
3754// of the transformation to be performed by learning from examples provided
3755// by humans. These transformations are then saved by AWS Glue. If you no longer
3756// need a transform, you can delete it by calling DeleteMLTransforms. However,
3757// any AWS Glue jobs that still reference the deleted transform will no longer
3758// succeed.
3759//
3760// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3761// with awserr.Error's Code and Message methods to get detailed information about
3762// the error.
3763//
3764// See the AWS API reference guide for AWS Glue's
3765// API operation DeleteMLTransform for usage and error information.
3766//
3767// Returned Error Types:
3768//   * EntityNotFoundException
3769//   A specified entity does not exist
3770//
3771//   * InvalidInputException
3772//   The input provided was not valid.
3773//
3774//   * OperationTimeoutException
3775//   The operation timed out.
3776//
3777//   * InternalServiceException
3778//   An internal service error occurred.
3779//
3780// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform
3781func (c *Glue) DeleteMLTransform(input *DeleteMLTransformInput) (*DeleteMLTransformOutput, error) {
3782	req, out := c.DeleteMLTransformRequest(input)
3783	return out, req.Send()
3784}
3785
3786// DeleteMLTransformWithContext is the same as DeleteMLTransform with the addition of
3787// the ability to pass a context and additional request options.
3788//
3789// See DeleteMLTransform 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.
3795func (c *Glue) DeleteMLTransformWithContext(ctx aws.Context, input *DeleteMLTransformInput, opts ...request.Option) (*DeleteMLTransformOutput, error) {
3796	req, out := c.DeleteMLTransformRequest(input)
3797	req.SetContext(ctx)
3798	req.ApplyOptions(opts...)
3799	return out, req.Send()
3800}
3801
3802const opDeletePartition = "DeletePartition"
3803
3804// DeletePartitionRequest generates a "aws/request.Request" representing the
3805// client's request for the DeletePartition 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 DeletePartition for more information on using the DeletePartition
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 DeletePartitionRequest method.
3820//    req, resp := client.DeletePartitionRequest(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/DeletePartition
3828func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request.Request, output *DeletePartitionOutput) {
3829	op := &request.Operation{
3830		Name:       opDeletePartition,
3831		HTTPMethod: "POST",
3832		HTTPPath:   "/",
3833	}
3834
3835	if input == nil {
3836		input = &DeletePartitionInput{}
3837	}
3838
3839	output = &DeletePartitionOutput{}
3840	req = c.newRequest(op, input, output)
3841	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3842	return
3843}
3844
3845// DeletePartition API operation for AWS Glue.
3846//
3847// Deletes a specified partition.
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 DeletePartition for usage and error information.
3855//
3856// Returned Error Types:
3857//   * EntityNotFoundException
3858//   A specified entity does not exist
3859//
3860//   * InvalidInputException
3861//   The input provided was not valid.
3862//
3863//   * InternalServiceException
3864//   An internal service error occurred.
3865//
3866//   * OperationTimeoutException
3867//   The operation timed out.
3868//
3869// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition
3870func (c *Glue) DeletePartition(input *DeletePartitionInput) (*DeletePartitionOutput, error) {
3871	req, out := c.DeletePartitionRequest(input)
3872	return out, req.Send()
3873}
3874
3875// DeletePartitionWithContext is the same as DeletePartition with the addition of
3876// the ability to pass a context and additional request options.
3877//
3878// See DeletePartition 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.
3884func (c *Glue) DeletePartitionWithContext(ctx aws.Context, input *DeletePartitionInput, opts ...request.Option) (*DeletePartitionOutput, error) {
3885	req, out := c.DeletePartitionRequest(input)
3886	req.SetContext(ctx)
3887	req.ApplyOptions(opts...)
3888	return out, req.Send()
3889}
3890
3891const opDeletePartitionIndex = "DeletePartitionIndex"
3892
3893// DeletePartitionIndexRequest generates a "aws/request.Request" representing the
3894// client's request for the DeletePartitionIndex 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 DeletePartitionIndex for more information on using the DeletePartitionIndex
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 DeletePartitionIndexRequest method.
3909//    req, resp := client.DeletePartitionIndexRequest(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/DeletePartitionIndex
3917func (c *Glue) DeletePartitionIndexRequest(input *DeletePartitionIndexInput) (req *request.Request, output *DeletePartitionIndexOutput) {
3918	op := &request.Operation{
3919		Name:       opDeletePartitionIndex,
3920		HTTPMethod: "POST",
3921		HTTPPath:   "/",
3922	}
3923
3924	if input == nil {
3925		input = &DeletePartitionIndexInput{}
3926	}
3927
3928	output = &DeletePartitionIndexOutput{}
3929	req = c.newRequest(op, input, output)
3930	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3931	return
3932}
3933
3934// DeletePartitionIndex API operation for AWS Glue.
3935//
3936// Deletes a specified partition index from an existing table.
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 DeletePartitionIndex for usage and error information.
3944//
3945// Returned Error Types:
3946//   * InternalServiceException
3947//   An internal service error occurred.
3948//
3949//   * OperationTimeoutException
3950//   The operation timed out.
3951//
3952//   * InvalidInputException
3953//   The input provided was not valid.
3954//
3955//   * EntityNotFoundException
3956//   A specified entity does not exist
3957//
3958//   * ConflictException
3959//   The CreatePartitions API was called on a table that has indexes enabled.
3960//
3961//   * EncryptionException
3962//   An encryption operation failed.
3963//
3964// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndex
3965func (c *Glue) DeletePartitionIndex(input *DeletePartitionIndexInput) (*DeletePartitionIndexOutput, error) {
3966	req, out := c.DeletePartitionIndexRequest(input)
3967	return out, req.Send()
3968}
3969
3970// DeletePartitionIndexWithContext is the same as DeletePartitionIndex with the addition of
3971// the ability to pass a context and additional request options.
3972//
3973// See DeletePartitionIndex for details on how to use this API operation.
3974//
3975// The context must be non-nil and will be used for request cancellation. If
3976// the context is nil a panic will occur. In the future the SDK may create
3977// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3978// for more information on using Contexts.
3979func (c *Glue) DeletePartitionIndexWithContext(ctx aws.Context, input *DeletePartitionIndexInput, opts ...request.Option) (*DeletePartitionIndexOutput, error) {
3980	req, out := c.DeletePartitionIndexRequest(input)
3981	req.SetContext(ctx)
3982	req.ApplyOptions(opts...)
3983	return out, req.Send()
3984}
3985
3986const opDeleteRegistry = "DeleteRegistry"
3987
3988// DeleteRegistryRequest generates a "aws/request.Request" representing the
3989// client's request for the DeleteRegistry operation. The "output" return
3990// value will be populated with the request's response once the request completes
3991// successfully.
3992//
3993// Use "Send" method on the returned Request to send the API call to the service.
3994// the "output" return value is not valid until after Send returns without error.
3995//
3996// See DeleteRegistry for more information on using the DeleteRegistry
3997// API call, and error handling.
3998//
3999// This method is useful when you want to inject custom logic or configuration
4000// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4001//
4002//
4003//    // Example sending a request using the DeleteRegistryRequest method.
4004//    req, resp := client.DeleteRegistryRequest(params)
4005//
4006//    err := req.Send()
4007//    if err == nil { // resp is now filled
4008//        fmt.Println(resp)
4009//    }
4010//
4011// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry
4012func (c *Glue) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.Request, output *DeleteRegistryOutput) {
4013	op := &request.Operation{
4014		Name:       opDeleteRegistry,
4015		HTTPMethod: "POST",
4016		HTTPPath:   "/",
4017	}
4018
4019	if input == nil {
4020		input = &DeleteRegistryInput{}
4021	}
4022
4023	output = &DeleteRegistryOutput{}
4024	req = c.newRequest(op, input, output)
4025	return
4026}
4027
4028// DeleteRegistry API operation for AWS Glue.
4029//
4030// Delete the entire registry including schema and all of its versions. To get
4031// the status of the delete operation, you can call the GetRegistry API after
4032// the asynchronous call. Deleting a registry will disable all online operations
4033// for the registry such as the UpdateRegistry, CreateSchema, UpdateSchema,
4034// and RegisterSchemaVersion APIs.
4035//
4036// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4037// with awserr.Error's Code and Message methods to get detailed information about
4038// the error.
4039//
4040// See the AWS API reference guide for AWS Glue's
4041// API operation DeleteRegistry for usage and error information.
4042//
4043// Returned Error Types:
4044//   * InvalidInputException
4045//   The input provided was not valid.
4046//
4047//   * EntityNotFoundException
4048//   A specified entity does not exist
4049//
4050//   * AccessDeniedException
4051//   Access to a resource was denied.
4052//
4053//   * ConcurrentModificationException
4054//   Two processes are trying to modify a resource simultaneously.
4055//
4056// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry
4057func (c *Glue) DeleteRegistry(input *DeleteRegistryInput) (*DeleteRegistryOutput, error) {
4058	req, out := c.DeleteRegistryRequest(input)
4059	return out, req.Send()
4060}
4061
4062// DeleteRegistryWithContext is the same as DeleteRegistry with the addition of
4063// the ability to pass a context and additional request options.
4064//
4065// See DeleteRegistry for details on how to use this API operation.
4066//
4067// The context must be non-nil and will be used for request cancellation. If
4068// the context is nil a panic will occur. In the future the SDK may create
4069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4070// for more information on using Contexts.
4071func (c *Glue) DeleteRegistryWithContext(ctx aws.Context, input *DeleteRegistryInput, opts ...request.Option) (*DeleteRegistryOutput, error) {
4072	req, out := c.DeleteRegistryRequest(input)
4073	req.SetContext(ctx)
4074	req.ApplyOptions(opts...)
4075	return out, req.Send()
4076}
4077
4078const opDeleteResourcePolicy = "DeleteResourcePolicy"
4079
4080// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the
4081// client's request for the DeleteResourcePolicy operation. The "output" return
4082// value will be populated with the request's response once the request completes
4083// successfully.
4084//
4085// Use "Send" method on the returned Request to send the API call to the service.
4086// the "output" return value is not valid until after Send returns without error.
4087//
4088// See DeleteResourcePolicy for more information on using the DeleteResourcePolicy
4089// API call, and error handling.
4090//
4091// This method is useful when you want to inject custom logic or configuration
4092// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4093//
4094//
4095//    // Example sending a request using the DeleteResourcePolicyRequest method.
4096//    req, resp := client.DeleteResourcePolicyRequest(params)
4097//
4098//    err := req.Send()
4099//    if err == nil { // resp is now filled
4100//        fmt.Println(resp)
4101//    }
4102//
4103// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy
4104func (c *Glue) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) {
4105	op := &request.Operation{
4106		Name:       opDeleteResourcePolicy,
4107		HTTPMethod: "POST",
4108		HTTPPath:   "/",
4109	}
4110
4111	if input == nil {
4112		input = &DeleteResourcePolicyInput{}
4113	}
4114
4115	output = &DeleteResourcePolicyOutput{}
4116	req = c.newRequest(op, input, output)
4117	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4118	return
4119}
4120
4121// DeleteResourcePolicy API operation for AWS Glue.
4122//
4123// Deletes a specified policy.
4124//
4125// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4126// with awserr.Error's Code and Message methods to get detailed information about
4127// the error.
4128//
4129// See the AWS API reference guide for AWS Glue's
4130// API operation DeleteResourcePolicy for usage and error information.
4131//
4132// Returned Error Types:
4133//   * EntityNotFoundException
4134//   A specified entity does not exist
4135//
4136//   * InternalServiceException
4137//   An internal service error occurred.
4138//
4139//   * OperationTimeoutException
4140//   The operation timed out.
4141//
4142//   * InvalidInputException
4143//   The input provided was not valid.
4144//
4145//   * ConditionCheckFailureException
4146//   A specified condition was not satisfied.
4147//
4148// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy
4149func (c *Glue) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) {
4150	req, out := c.DeleteResourcePolicyRequest(input)
4151	return out, req.Send()
4152}
4153
4154// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of
4155// the ability to pass a context and additional request options.
4156//
4157// See DeleteResourcePolicy for details on how to use this API operation.
4158//
4159// The context must be non-nil and will be used for request cancellation. If
4160// the context is nil a panic will occur. In the future the SDK may create
4161// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4162// for more information on using Contexts.
4163func (c *Glue) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) {
4164	req, out := c.DeleteResourcePolicyRequest(input)
4165	req.SetContext(ctx)
4166	req.ApplyOptions(opts...)
4167	return out, req.Send()
4168}
4169
4170const opDeleteSchema = "DeleteSchema"
4171
4172// DeleteSchemaRequest generates a "aws/request.Request" representing the
4173// client's request for the DeleteSchema operation. The "output" return
4174// value will be populated with the request's response once the request completes
4175// successfully.
4176//
4177// Use "Send" method on the returned Request to send the API call to the service.
4178// the "output" return value is not valid until after Send returns without error.
4179//
4180// See DeleteSchema for more information on using the DeleteSchema
4181// API call, and error handling.
4182//
4183// This method is useful when you want to inject custom logic or configuration
4184// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4185//
4186//
4187//    // Example sending a request using the DeleteSchemaRequest method.
4188//    req, resp := client.DeleteSchemaRequest(params)
4189//
4190//    err := req.Send()
4191//    if err == nil { // resp is now filled
4192//        fmt.Println(resp)
4193//    }
4194//
4195// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema
4196func (c *Glue) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) {
4197	op := &request.Operation{
4198		Name:       opDeleteSchema,
4199		HTTPMethod: "POST",
4200		HTTPPath:   "/",
4201	}
4202
4203	if input == nil {
4204		input = &DeleteSchemaInput{}
4205	}
4206
4207	output = &DeleteSchemaOutput{}
4208	req = c.newRequest(op, input, output)
4209	return
4210}
4211
4212// DeleteSchema API operation for AWS Glue.
4213//
4214// Deletes the entire schema set, including the schema set and all of its versions.
4215// To get the status of the delete operation, you can call GetSchema API after
4216// the asynchronous call. Deleting a registry will disable all online operations
4217// for the schema, such as the GetSchemaByDefinition, and RegisterSchemaVersion
4218// APIs.
4219//
4220// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4221// with awserr.Error's Code and Message methods to get detailed information about
4222// the error.
4223//
4224// See the AWS API reference guide for AWS Glue's
4225// API operation DeleteSchema for usage and error information.
4226//
4227// Returned Error Types:
4228//   * InvalidInputException
4229//   The input provided was not valid.
4230//
4231//   * EntityNotFoundException
4232//   A specified entity does not exist
4233//
4234//   * AccessDeniedException
4235//   Access to a resource was denied.
4236//
4237//   * ConcurrentModificationException
4238//   Two processes are trying to modify a resource simultaneously.
4239//
4240// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema
4241func (c *Glue) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) {
4242	req, out := c.DeleteSchemaRequest(input)
4243	return out, req.Send()
4244}
4245
4246// DeleteSchemaWithContext is the same as DeleteSchema with the addition of
4247// the ability to pass a context and additional request options.
4248//
4249// See DeleteSchema for details on how to use this API operation.
4250//
4251// The context must be non-nil and will be used for request cancellation. If
4252// the context is nil a panic will occur. In the future the SDK may create
4253// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4254// for more information on using Contexts.
4255func (c *Glue) DeleteSchemaWithContext(ctx aws.Context, input *DeleteSchemaInput, opts ...request.Option) (*DeleteSchemaOutput, error) {
4256	req, out := c.DeleteSchemaRequest(input)
4257	req.SetContext(ctx)
4258	req.ApplyOptions(opts...)
4259	return out, req.Send()
4260}
4261
4262const opDeleteSchemaVersions = "DeleteSchemaVersions"
4263
4264// DeleteSchemaVersionsRequest generates a "aws/request.Request" representing the
4265// client's request for the DeleteSchemaVersions operation. The "output" return
4266// value will be populated with the request's response once the request completes
4267// successfully.
4268//
4269// Use "Send" method on the returned Request to send the API call to the service.
4270// the "output" return value is not valid until after Send returns without error.
4271//
4272// See DeleteSchemaVersions for more information on using the DeleteSchemaVersions
4273// API call, and error handling.
4274//
4275// This method is useful when you want to inject custom logic or configuration
4276// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4277//
4278//
4279//    // Example sending a request using the DeleteSchemaVersionsRequest method.
4280//    req, resp := client.DeleteSchemaVersionsRequest(params)
4281//
4282//    err := req.Send()
4283//    if err == nil { // resp is now filled
4284//        fmt.Println(resp)
4285//    }
4286//
4287// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions
4288func (c *Glue) DeleteSchemaVersionsRequest(input *DeleteSchemaVersionsInput) (req *request.Request, output *DeleteSchemaVersionsOutput) {
4289	op := &request.Operation{
4290		Name:       opDeleteSchemaVersions,
4291		HTTPMethod: "POST",
4292		HTTPPath:   "/",
4293	}
4294
4295	if input == nil {
4296		input = &DeleteSchemaVersionsInput{}
4297	}
4298
4299	output = &DeleteSchemaVersionsOutput{}
4300	req = c.newRequest(op, input, output)
4301	return
4302}
4303
4304// DeleteSchemaVersions API operation for AWS Glue.
4305//
4306// Remove versions from the specified schema. A version number or range may
4307// be supplied. If the compatibility mode forbids deleting of a version that
4308// is necessary, such as BACKWARDS_FULL, an error is returned. Calling the GetSchemaVersions
4309// API after this call will list the status of the deleted versions.
4310//
4311// When the range of version numbers contain check pointed version, the API
4312// will return a 409 conflict and will not proceed with the deletion. You have
4313// to remove the checkpoint first using the DeleteSchemaCheckpoint API before
4314// using this API.
4315//
4316// You cannot use the DeleteSchemaVersions API to delete the first schema version
4317// in the schema set. The first schema version can only be deleted by the DeleteSchema
4318// API. This operation will also delete the attached SchemaVersionMetadata under
4319// the schema versions. Hard deletes will be enforced on the database.
4320//
4321// If the compatibility mode forbids deleting of a version that is necessary,
4322// such as BACKWARDS_FULL, an error is returned.
4323//
4324// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4325// with awserr.Error's Code and Message methods to get detailed information about
4326// the error.
4327//
4328// See the AWS API reference guide for AWS Glue's
4329// API operation DeleteSchemaVersions for usage and error information.
4330//
4331// Returned Error Types:
4332//   * InvalidInputException
4333//   The input provided was not valid.
4334//
4335//   * EntityNotFoundException
4336//   A specified entity does not exist
4337//
4338//   * AccessDeniedException
4339//   Access to a resource was denied.
4340//
4341//   * ConcurrentModificationException
4342//   Two processes are trying to modify a resource simultaneously.
4343//
4344// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions
4345func (c *Glue) DeleteSchemaVersions(input *DeleteSchemaVersionsInput) (*DeleteSchemaVersionsOutput, error) {
4346	req, out := c.DeleteSchemaVersionsRequest(input)
4347	return out, req.Send()
4348}
4349
4350// DeleteSchemaVersionsWithContext is the same as DeleteSchemaVersions with the addition of
4351// the ability to pass a context and additional request options.
4352//
4353// See DeleteSchemaVersions for details on how to use this API operation.
4354//
4355// The context must be non-nil and will be used for request cancellation. If
4356// the context is nil a panic will occur. In the future the SDK may create
4357// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4358// for more information on using Contexts.
4359func (c *Glue) DeleteSchemaVersionsWithContext(ctx aws.Context, input *DeleteSchemaVersionsInput, opts ...request.Option) (*DeleteSchemaVersionsOutput, error) {
4360	req, out := c.DeleteSchemaVersionsRequest(input)
4361	req.SetContext(ctx)
4362	req.ApplyOptions(opts...)
4363	return out, req.Send()
4364}
4365
4366const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration"
4367
4368// DeleteSecurityConfigurationRequest generates a "aws/request.Request" representing the
4369// client's request for the DeleteSecurityConfiguration operation. The "output" return
4370// value will be populated with the request's response once the request completes
4371// successfully.
4372//
4373// Use "Send" method on the returned Request to send the API call to the service.
4374// the "output" return value is not valid until after Send returns without error.
4375//
4376// See DeleteSecurityConfiguration for more information on using the DeleteSecurityConfiguration
4377// API call, and error handling.
4378//
4379// This method is useful when you want to inject custom logic or configuration
4380// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4381//
4382//
4383//    // Example sending a request using the DeleteSecurityConfigurationRequest method.
4384//    req, resp := client.DeleteSecurityConfigurationRequest(params)
4385//
4386//    err := req.Send()
4387//    if err == nil { // resp is now filled
4388//        fmt.Println(resp)
4389//    }
4390//
4391// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration
4392func (c *Glue) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) {
4393	op := &request.Operation{
4394		Name:       opDeleteSecurityConfiguration,
4395		HTTPMethod: "POST",
4396		HTTPPath:   "/",
4397	}
4398
4399	if input == nil {
4400		input = &DeleteSecurityConfigurationInput{}
4401	}
4402
4403	output = &DeleteSecurityConfigurationOutput{}
4404	req = c.newRequest(op, input, output)
4405	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4406	return
4407}
4408
4409// DeleteSecurityConfiguration API operation for AWS Glue.
4410//
4411// Deletes a specified security configuration.
4412//
4413// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4414// with awserr.Error's Code and Message methods to get detailed information about
4415// the error.
4416//
4417// See the AWS API reference guide for AWS Glue's
4418// API operation DeleteSecurityConfiguration for usage and error information.
4419//
4420// Returned Error Types:
4421//   * EntityNotFoundException
4422//   A specified entity does not exist
4423//
4424//   * InvalidInputException
4425//   The input provided was not valid.
4426//
4427//   * InternalServiceException
4428//   An internal service error occurred.
4429//
4430//   * OperationTimeoutException
4431//   The operation timed out.
4432//
4433// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration
4434func (c *Glue) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) {
4435	req, out := c.DeleteSecurityConfigurationRequest(input)
4436	return out, req.Send()
4437}
4438
4439// DeleteSecurityConfigurationWithContext is the same as DeleteSecurityConfiguration with the addition of
4440// the ability to pass a context and additional request options.
4441//
4442// See DeleteSecurityConfiguration for details on how to use this API operation.
4443//
4444// The context must be non-nil and will be used for request cancellation. If
4445// the context is nil a panic will occur. In the future the SDK may create
4446// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4447// for more information on using Contexts.
4448func (c *Glue) DeleteSecurityConfigurationWithContext(ctx aws.Context, input *DeleteSecurityConfigurationInput, opts ...request.Option) (*DeleteSecurityConfigurationOutput, error) {
4449	req, out := c.DeleteSecurityConfigurationRequest(input)
4450	req.SetContext(ctx)
4451	req.ApplyOptions(opts...)
4452	return out, req.Send()
4453}
4454
4455const opDeleteTable = "DeleteTable"
4456
4457// DeleteTableRequest generates a "aws/request.Request" representing the
4458// client's request for the DeleteTable operation. The "output" return
4459// value will be populated with the request's response once the request completes
4460// successfully.
4461//
4462// Use "Send" method on the returned Request to send the API call to the service.
4463// the "output" return value is not valid until after Send returns without error.
4464//
4465// See DeleteTable for more information on using the DeleteTable
4466// API call, and error handling.
4467//
4468// This method is useful when you want to inject custom logic or configuration
4469// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4470//
4471//
4472//    // Example sending a request using the DeleteTableRequest method.
4473//    req, resp := client.DeleteTableRequest(params)
4474//
4475//    err := req.Send()
4476//    if err == nil { // resp is now filled
4477//        fmt.Println(resp)
4478//    }
4479//
4480// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable
4481func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) {
4482	op := &request.Operation{
4483		Name:       opDeleteTable,
4484		HTTPMethod: "POST",
4485		HTTPPath:   "/",
4486	}
4487
4488	if input == nil {
4489		input = &DeleteTableInput{}
4490	}
4491
4492	output = &DeleteTableOutput{}
4493	req = c.newRequest(op, input, output)
4494	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4495	return
4496}
4497
4498// DeleteTable API operation for AWS Glue.
4499//
4500// Removes a table definition from the Data Catalog.
4501//
4502// After completing this operation, you no longer have access to the table versions
4503// and partitions that belong to the deleted table. AWS Glue deletes these "orphaned"
4504// resources asynchronously in a timely manner, at the discretion of the service.
4505//
4506// To ensure the immediate deletion of all related resources, before calling
4507// DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition
4508// or BatchDeletePartition, to delete any resources that belong to the table.
4509//
4510// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4511// with awserr.Error's Code and Message methods to get detailed information about
4512// the error.
4513//
4514// See the AWS API reference guide for AWS Glue's
4515// API operation DeleteTable for usage and error information.
4516//
4517// Returned Error Types:
4518//   * EntityNotFoundException
4519//   A specified entity does not exist
4520//
4521//   * InvalidInputException
4522//   The input provided was not valid.
4523//
4524//   * InternalServiceException
4525//   An internal service error occurred.
4526//
4527//   * OperationTimeoutException
4528//   The operation timed out.
4529//
4530// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable
4531func (c *Glue) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) {
4532	req, out := c.DeleteTableRequest(input)
4533	return out, req.Send()
4534}
4535
4536// DeleteTableWithContext is the same as DeleteTable with the addition of
4537// the ability to pass a context and additional request options.
4538//
4539// See DeleteTable for details on how to use this API operation.
4540//
4541// The context must be non-nil and will be used for request cancellation. If
4542// the context is nil a panic will occur. In the future the SDK may create
4543// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4544// for more information on using Contexts.
4545func (c *Glue) DeleteTableWithContext(ctx aws.Context, input *DeleteTableInput, opts ...request.Option) (*DeleteTableOutput, error) {
4546	req, out := c.DeleteTableRequest(input)
4547	req.SetContext(ctx)
4548	req.ApplyOptions(opts...)
4549	return out, req.Send()
4550}
4551
4552const opDeleteTableVersion = "DeleteTableVersion"
4553
4554// DeleteTableVersionRequest generates a "aws/request.Request" representing the
4555// client's request for the DeleteTableVersion operation. The "output" return
4556// value will be populated with the request's response once the request completes
4557// successfully.
4558//
4559// Use "Send" method on the returned Request to send the API call to the service.
4560// the "output" return value is not valid until after Send returns without error.
4561//
4562// See DeleteTableVersion for more information on using the DeleteTableVersion
4563// API call, and error handling.
4564//
4565// This method is useful when you want to inject custom logic or configuration
4566// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4567//
4568//
4569//    // Example sending a request using the DeleteTableVersionRequest method.
4570//    req, resp := client.DeleteTableVersionRequest(params)
4571//
4572//    err := req.Send()
4573//    if err == nil { // resp is now filled
4574//        fmt.Println(resp)
4575//    }
4576//
4577// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion
4578func (c *Glue) DeleteTableVersionRequest(input *DeleteTableVersionInput) (req *request.Request, output *DeleteTableVersionOutput) {
4579	op := &request.Operation{
4580		Name:       opDeleteTableVersion,
4581		HTTPMethod: "POST",
4582		HTTPPath:   "/",
4583	}
4584
4585	if input == nil {
4586		input = &DeleteTableVersionInput{}
4587	}
4588
4589	output = &DeleteTableVersionOutput{}
4590	req = c.newRequest(op, input, output)
4591	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4592	return
4593}
4594
4595// DeleteTableVersion API operation for AWS Glue.
4596//
4597// Deletes a specified version of a table.
4598//
4599// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4600// with awserr.Error's Code and Message methods to get detailed information about
4601// the error.
4602//
4603// See the AWS API reference guide for AWS Glue's
4604// API operation DeleteTableVersion for usage and error information.
4605//
4606// Returned Error Types:
4607//   * EntityNotFoundException
4608//   A specified entity does not exist
4609//
4610//   * InvalidInputException
4611//   The input provided was not valid.
4612//
4613//   * InternalServiceException
4614//   An internal service error occurred.
4615//
4616//   * OperationTimeoutException
4617//   The operation timed out.
4618//
4619// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion
4620func (c *Glue) DeleteTableVersion(input *DeleteTableVersionInput) (*DeleteTableVersionOutput, error) {
4621	req, out := c.DeleteTableVersionRequest(input)
4622	return out, req.Send()
4623}
4624
4625// DeleteTableVersionWithContext is the same as DeleteTableVersion with the addition of
4626// the ability to pass a context and additional request options.
4627//
4628// See DeleteTableVersion for details on how to use this API operation.
4629//
4630// The context must be non-nil and will be used for request cancellation. If
4631// the context is nil a panic will occur. In the future the SDK may create
4632// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4633// for more information on using Contexts.
4634func (c *Glue) DeleteTableVersionWithContext(ctx aws.Context, input *DeleteTableVersionInput, opts ...request.Option) (*DeleteTableVersionOutput, error) {
4635	req, out := c.DeleteTableVersionRequest(input)
4636	req.SetContext(ctx)
4637	req.ApplyOptions(opts...)
4638	return out, req.Send()
4639}
4640
4641const opDeleteTrigger = "DeleteTrigger"
4642
4643// DeleteTriggerRequest generates a "aws/request.Request" representing the
4644// client's request for the DeleteTrigger operation. The "output" return
4645// value will be populated with the request's response once the request completes
4646// successfully.
4647//
4648// Use "Send" method on the returned Request to send the API call to the service.
4649// the "output" return value is not valid until after Send returns without error.
4650//
4651// See DeleteTrigger for more information on using the DeleteTrigger
4652// API call, and error handling.
4653//
4654// This method is useful when you want to inject custom logic or configuration
4655// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4656//
4657//
4658//    // Example sending a request using the DeleteTriggerRequest method.
4659//    req, resp := client.DeleteTriggerRequest(params)
4660//
4661//    err := req.Send()
4662//    if err == nil { // resp is now filled
4663//        fmt.Println(resp)
4664//    }
4665//
4666// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger
4667func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Request, output *DeleteTriggerOutput) {
4668	op := &request.Operation{
4669		Name:       opDeleteTrigger,
4670		HTTPMethod: "POST",
4671		HTTPPath:   "/",
4672	}
4673
4674	if input == nil {
4675		input = &DeleteTriggerInput{}
4676	}
4677
4678	output = &DeleteTriggerOutput{}
4679	req = c.newRequest(op, input, output)
4680	return
4681}
4682
4683// DeleteTrigger API operation for AWS Glue.
4684//
4685// Deletes a specified trigger. If the trigger is not found, no exception is
4686// thrown.
4687//
4688// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4689// with awserr.Error's Code and Message methods to get detailed information about
4690// the error.
4691//
4692// See the AWS API reference guide for AWS Glue's
4693// API operation DeleteTrigger for usage and error information.
4694//
4695// Returned Error Types:
4696//   * InvalidInputException
4697//   The input provided was not valid.
4698//
4699//   * InternalServiceException
4700//   An internal service error occurred.
4701//
4702//   * OperationTimeoutException
4703//   The operation timed out.
4704//
4705//   * ConcurrentModificationException
4706//   Two processes are trying to modify a resource simultaneously.
4707//
4708// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger
4709func (c *Glue) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error) {
4710	req, out := c.DeleteTriggerRequest(input)
4711	return out, req.Send()
4712}
4713
4714// DeleteTriggerWithContext is the same as DeleteTrigger with the addition of
4715// the ability to pass a context and additional request options.
4716//
4717// See DeleteTrigger for details on how to use this API operation.
4718//
4719// The context must be non-nil and will be used for request cancellation. If
4720// the context is nil a panic will occur. In the future the SDK may create
4721// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4722// for more information on using Contexts.
4723func (c *Glue) DeleteTriggerWithContext(ctx aws.Context, input *DeleteTriggerInput, opts ...request.Option) (*DeleteTriggerOutput, error) {
4724	req, out := c.DeleteTriggerRequest(input)
4725	req.SetContext(ctx)
4726	req.ApplyOptions(opts...)
4727	return out, req.Send()
4728}
4729
4730const opDeleteUserDefinedFunction = "DeleteUserDefinedFunction"
4731
4732// DeleteUserDefinedFunctionRequest generates a "aws/request.Request" representing the
4733// client's request for the DeleteUserDefinedFunction operation. The "output" return
4734// value will be populated with the request's response once the request completes
4735// successfully.
4736//
4737// Use "Send" method on the returned Request to send the API call to the service.
4738// the "output" return value is not valid until after Send returns without error.
4739//
4740// See DeleteUserDefinedFunction for more information on using the DeleteUserDefinedFunction
4741// API call, and error handling.
4742//
4743// This method is useful when you want to inject custom logic or configuration
4744// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4745//
4746//
4747//    // Example sending a request using the DeleteUserDefinedFunctionRequest method.
4748//    req, resp := client.DeleteUserDefinedFunctionRequest(params)
4749//
4750//    err := req.Send()
4751//    if err == nil { // resp is now filled
4752//        fmt.Println(resp)
4753//    }
4754//
4755// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction
4756func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunctionInput) (req *request.Request, output *DeleteUserDefinedFunctionOutput) {
4757	op := &request.Operation{
4758		Name:       opDeleteUserDefinedFunction,
4759		HTTPMethod: "POST",
4760		HTTPPath:   "/",
4761	}
4762
4763	if input == nil {
4764		input = &DeleteUserDefinedFunctionInput{}
4765	}
4766
4767	output = &DeleteUserDefinedFunctionOutput{}
4768	req = c.newRequest(op, input, output)
4769	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4770	return
4771}
4772
4773// DeleteUserDefinedFunction API operation for AWS Glue.
4774//
4775// Deletes an existing function definition from the Data Catalog.
4776//
4777// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4778// with awserr.Error's Code and Message methods to get detailed information about
4779// the error.
4780//
4781// See the AWS API reference guide for AWS Glue's
4782// API operation DeleteUserDefinedFunction for usage and error information.
4783//
4784// Returned Error Types:
4785//   * EntityNotFoundException
4786//   A specified entity does not exist
4787//
4788//   * InvalidInputException
4789//   The input provided was not valid.
4790//
4791//   * InternalServiceException
4792//   An internal service error occurred.
4793//
4794//   * OperationTimeoutException
4795//   The operation timed out.
4796//
4797// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction
4798func (c *Glue) DeleteUserDefinedFunction(input *DeleteUserDefinedFunctionInput) (*DeleteUserDefinedFunctionOutput, error) {
4799	req, out := c.DeleteUserDefinedFunctionRequest(input)
4800	return out, req.Send()
4801}
4802
4803// DeleteUserDefinedFunctionWithContext is the same as DeleteUserDefinedFunction with the addition of
4804// the ability to pass a context and additional request options.
4805//
4806// See DeleteUserDefinedFunction for details on how to use this API operation.
4807//
4808// The context must be non-nil and will be used for request cancellation. If
4809// the context is nil a panic will occur. In the future the SDK may create
4810// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4811// for more information on using Contexts.
4812func (c *Glue) DeleteUserDefinedFunctionWithContext(ctx aws.Context, input *DeleteUserDefinedFunctionInput, opts ...request.Option) (*DeleteUserDefinedFunctionOutput, error) {
4813	req, out := c.DeleteUserDefinedFunctionRequest(input)
4814	req.SetContext(ctx)
4815	req.ApplyOptions(opts...)
4816	return out, req.Send()
4817}
4818
4819const opDeleteWorkflow = "DeleteWorkflow"
4820
4821// DeleteWorkflowRequest generates a "aws/request.Request" representing the
4822// client's request for the DeleteWorkflow operation. The "output" return
4823// value will be populated with the request's response once the request completes
4824// successfully.
4825//
4826// Use "Send" method on the returned Request to send the API call to the service.
4827// the "output" return value is not valid until after Send returns without error.
4828//
4829// See DeleteWorkflow for more information on using the DeleteWorkflow
4830// API call, and error handling.
4831//
4832// This method is useful when you want to inject custom logic or configuration
4833// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4834//
4835//
4836//    // Example sending a request using the DeleteWorkflowRequest method.
4837//    req, resp := client.DeleteWorkflowRequest(params)
4838//
4839//    err := req.Send()
4840//    if err == nil { // resp is now filled
4841//        fmt.Println(resp)
4842//    }
4843//
4844// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow
4845func (c *Glue) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) {
4846	op := &request.Operation{
4847		Name:       opDeleteWorkflow,
4848		HTTPMethod: "POST",
4849		HTTPPath:   "/",
4850	}
4851
4852	if input == nil {
4853		input = &DeleteWorkflowInput{}
4854	}
4855
4856	output = &DeleteWorkflowOutput{}
4857	req = c.newRequest(op, input, output)
4858	return
4859}
4860
4861// DeleteWorkflow API operation for AWS Glue.
4862//
4863// Deletes a workflow.
4864//
4865// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4866// with awserr.Error's Code and Message methods to get detailed information about
4867// the error.
4868//
4869// See the AWS API reference guide for AWS Glue's
4870// API operation DeleteWorkflow for usage and error information.
4871//
4872// Returned Error Types:
4873//   * InvalidInputException
4874//   The input provided was not valid.
4875//
4876//   * InternalServiceException
4877//   An internal service error occurred.
4878//
4879//   * OperationTimeoutException
4880//   The operation timed out.
4881//
4882//   * ConcurrentModificationException
4883//   Two processes are trying to modify a resource simultaneously.
4884//
4885// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow
4886func (c *Glue) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) {
4887	req, out := c.DeleteWorkflowRequest(input)
4888	return out, req.Send()
4889}
4890
4891// DeleteWorkflowWithContext is the same as DeleteWorkflow with the addition of
4892// the ability to pass a context and additional request options.
4893//
4894// See DeleteWorkflow for details on how to use this API operation.
4895//
4896// The context must be non-nil and will be used for request cancellation. If
4897// the context is nil a panic will occur. In the future the SDK may create
4898// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4899// for more information on using Contexts.
4900func (c *Glue) DeleteWorkflowWithContext(ctx aws.Context, input *DeleteWorkflowInput, opts ...request.Option) (*DeleteWorkflowOutput, error) {
4901	req, out := c.DeleteWorkflowRequest(input)
4902	req.SetContext(ctx)
4903	req.ApplyOptions(opts...)
4904	return out, req.Send()
4905}
4906
4907const opGetCatalogImportStatus = "GetCatalogImportStatus"
4908
4909// GetCatalogImportStatusRequest generates a "aws/request.Request" representing the
4910// client's request for the GetCatalogImportStatus operation. The "output" return
4911// value will be populated with the request's response once the request completes
4912// successfully.
4913//
4914// Use "Send" method on the returned Request to send the API call to the service.
4915// the "output" return value is not valid until after Send returns without error.
4916//
4917// See GetCatalogImportStatus for more information on using the GetCatalogImportStatus
4918// API call, and error handling.
4919//
4920// This method is useful when you want to inject custom logic or configuration
4921// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4922//
4923//
4924//    // Example sending a request using the GetCatalogImportStatusRequest method.
4925//    req, resp := client.GetCatalogImportStatusRequest(params)
4926//
4927//    err := req.Send()
4928//    if err == nil { // resp is now filled
4929//        fmt.Println(resp)
4930//    }
4931//
4932// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus
4933func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) (req *request.Request, output *GetCatalogImportStatusOutput) {
4934	op := &request.Operation{
4935		Name:       opGetCatalogImportStatus,
4936		HTTPMethod: "POST",
4937		HTTPPath:   "/",
4938	}
4939
4940	if input == nil {
4941		input = &GetCatalogImportStatusInput{}
4942	}
4943
4944	output = &GetCatalogImportStatusOutput{}
4945	req = c.newRequest(op, input, output)
4946	return
4947}
4948
4949// GetCatalogImportStatus API operation for AWS Glue.
4950//
4951// Retrieves the status of a migration operation.
4952//
4953// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4954// with awserr.Error's Code and Message methods to get detailed information about
4955// the error.
4956//
4957// See the AWS API reference guide for AWS Glue's
4958// API operation GetCatalogImportStatus for usage and error information.
4959//
4960// Returned Error Types:
4961//   * InternalServiceException
4962//   An internal service error occurred.
4963//
4964//   * OperationTimeoutException
4965//   The operation timed out.
4966//
4967// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus
4968func (c *Glue) GetCatalogImportStatus(input *GetCatalogImportStatusInput) (*GetCatalogImportStatusOutput, error) {
4969	req, out := c.GetCatalogImportStatusRequest(input)
4970	return out, req.Send()
4971}
4972
4973// GetCatalogImportStatusWithContext is the same as GetCatalogImportStatus with the addition of
4974// the ability to pass a context and additional request options.
4975//
4976// See GetCatalogImportStatus for details on how to use this API operation.
4977//
4978// The context must be non-nil and will be used for request cancellation. If
4979// the context is nil a panic will occur. In the future the SDK may create
4980// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4981// for more information on using Contexts.
4982func (c *Glue) GetCatalogImportStatusWithContext(ctx aws.Context, input *GetCatalogImportStatusInput, opts ...request.Option) (*GetCatalogImportStatusOutput, error) {
4983	req, out := c.GetCatalogImportStatusRequest(input)
4984	req.SetContext(ctx)
4985	req.ApplyOptions(opts...)
4986	return out, req.Send()
4987}
4988
4989const opGetClassifier = "GetClassifier"
4990
4991// GetClassifierRequest generates a "aws/request.Request" representing the
4992// client's request for the GetClassifier operation. The "output" return
4993// value will be populated with the request's response once the request completes
4994// successfully.
4995//
4996// Use "Send" method on the returned Request to send the API call to the service.
4997// the "output" return value is not valid until after Send returns without error.
4998//
4999// See GetClassifier for more information on using the GetClassifier
5000// API call, and error handling.
5001//
5002// This method is useful when you want to inject custom logic or configuration
5003// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5004//
5005//
5006//    // Example sending a request using the GetClassifierRequest method.
5007//    req, resp := client.GetClassifierRequest(params)
5008//
5009//    err := req.Send()
5010//    if err == nil { // resp is now filled
5011//        fmt.Println(resp)
5012//    }
5013//
5014// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier
5015func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Request, output *GetClassifierOutput) {
5016	op := &request.Operation{
5017		Name:       opGetClassifier,
5018		HTTPMethod: "POST",
5019		HTTPPath:   "/",
5020	}
5021
5022	if input == nil {
5023		input = &GetClassifierInput{}
5024	}
5025
5026	output = &GetClassifierOutput{}
5027	req = c.newRequest(op, input, output)
5028	return
5029}
5030
5031// GetClassifier API operation for AWS Glue.
5032//
5033// Retrieve a classifier by name.
5034//
5035// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5036// with awserr.Error's Code and Message methods to get detailed information about
5037// the error.
5038//
5039// See the AWS API reference guide for AWS Glue's
5040// API operation GetClassifier for usage and error information.
5041//
5042// Returned Error Types:
5043//   * EntityNotFoundException
5044//   A specified entity does not exist
5045//
5046//   * OperationTimeoutException
5047//   The operation timed out.
5048//
5049// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier
5050func (c *Glue) GetClassifier(input *GetClassifierInput) (*GetClassifierOutput, error) {
5051	req, out := c.GetClassifierRequest(input)
5052	return out, req.Send()
5053}
5054
5055// GetClassifierWithContext is the same as GetClassifier with the addition of
5056// the ability to pass a context and additional request options.
5057//
5058// See GetClassifier for details on how to use this API operation.
5059//
5060// The context must be non-nil and will be used for request cancellation. If
5061// the context is nil a panic will occur. In the future the SDK may create
5062// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5063// for more information on using Contexts.
5064func (c *Glue) GetClassifierWithContext(ctx aws.Context, input *GetClassifierInput, opts ...request.Option) (*GetClassifierOutput, error) {
5065	req, out := c.GetClassifierRequest(input)
5066	req.SetContext(ctx)
5067	req.ApplyOptions(opts...)
5068	return out, req.Send()
5069}
5070
5071const opGetClassifiers = "GetClassifiers"
5072
5073// GetClassifiersRequest generates a "aws/request.Request" representing the
5074// client's request for the GetClassifiers operation. The "output" return
5075// value will be populated with the request's response once the request completes
5076// successfully.
5077//
5078// Use "Send" method on the returned Request to send the API call to the service.
5079// the "output" return value is not valid until after Send returns without error.
5080//
5081// See GetClassifiers for more information on using the GetClassifiers
5082// API call, and error handling.
5083//
5084// This method is useful when you want to inject custom logic or configuration
5085// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5086//
5087//
5088//    // Example sending a request using the GetClassifiersRequest method.
5089//    req, resp := client.GetClassifiersRequest(params)
5090//
5091//    err := req.Send()
5092//    if err == nil { // resp is now filled
5093//        fmt.Println(resp)
5094//    }
5095//
5096// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers
5097func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.Request, output *GetClassifiersOutput) {
5098	op := &request.Operation{
5099		Name:       opGetClassifiers,
5100		HTTPMethod: "POST",
5101		HTTPPath:   "/",
5102		Paginator: &request.Paginator{
5103			InputTokens:     []string{"NextToken"},
5104			OutputTokens:    []string{"NextToken"},
5105			LimitToken:      "MaxResults",
5106			TruncationToken: "",
5107		},
5108	}
5109
5110	if input == nil {
5111		input = &GetClassifiersInput{}
5112	}
5113
5114	output = &GetClassifiersOutput{}
5115	req = c.newRequest(op, input, output)
5116	return
5117}
5118
5119// GetClassifiers API operation for AWS Glue.
5120//
5121// Lists all classifier objects in the Data Catalog.
5122//
5123// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5124// with awserr.Error's Code and Message methods to get detailed information about
5125// the error.
5126//
5127// See the AWS API reference guide for AWS Glue's
5128// API operation GetClassifiers for usage and error information.
5129//
5130// Returned Error Types:
5131//   * OperationTimeoutException
5132//   The operation timed out.
5133//
5134// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers
5135func (c *Glue) GetClassifiers(input *GetClassifiersInput) (*GetClassifiersOutput, error) {
5136	req, out := c.GetClassifiersRequest(input)
5137	return out, req.Send()
5138}
5139
5140// GetClassifiersWithContext is the same as GetClassifiers with the addition of
5141// the ability to pass a context and additional request options.
5142//
5143// See GetClassifiers for details on how to use this API operation.
5144//
5145// The context must be non-nil and will be used for request cancellation. If
5146// the context is nil a panic will occur. In the future the SDK may create
5147// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5148// for more information on using Contexts.
5149func (c *Glue) GetClassifiersWithContext(ctx aws.Context, input *GetClassifiersInput, opts ...request.Option) (*GetClassifiersOutput, error) {
5150	req, out := c.GetClassifiersRequest(input)
5151	req.SetContext(ctx)
5152	req.ApplyOptions(opts...)
5153	return out, req.Send()
5154}
5155
5156// GetClassifiersPages iterates over the pages of a GetClassifiers operation,
5157// calling the "fn" function with the response data for each page. To stop
5158// iterating, return false from the fn function.
5159//
5160// See GetClassifiers method for more information on how to use this operation.
5161//
5162// Note: This operation can generate multiple requests to a service.
5163//
5164//    // Example iterating over at most 3 pages of a GetClassifiers operation.
5165//    pageNum := 0
5166//    err := client.GetClassifiersPages(params,
5167//        func(page *glue.GetClassifiersOutput, lastPage bool) bool {
5168//            pageNum++
5169//            fmt.Println(page)
5170//            return pageNum <= 3
5171//        })
5172//
5173func (c *Glue) GetClassifiersPages(input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool) error {
5174	return c.GetClassifiersPagesWithContext(aws.BackgroundContext(), input, fn)
5175}
5176
5177// GetClassifiersPagesWithContext same as GetClassifiersPages except
5178// it takes a Context and allows setting request options on the pages.
5179//
5180// The context must be non-nil and will be used for request cancellation. If
5181// the context is nil a panic will occur. In the future the SDK may create
5182// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5183// for more information on using Contexts.
5184func (c *Glue) GetClassifiersPagesWithContext(ctx aws.Context, input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool, opts ...request.Option) error {
5185	p := request.Pagination{
5186		NewRequest: func() (*request.Request, error) {
5187			var inCpy *GetClassifiersInput
5188			if input != nil {
5189				tmp := *input
5190				inCpy = &tmp
5191			}
5192			req, _ := c.GetClassifiersRequest(inCpy)
5193			req.SetContext(ctx)
5194			req.ApplyOptions(opts...)
5195			return req, nil
5196		},
5197	}
5198
5199	for p.Next() {
5200		if !fn(p.Page().(*GetClassifiersOutput), !p.HasNextPage()) {
5201			break
5202		}
5203	}
5204
5205	return p.Err()
5206}
5207
5208const opGetColumnStatisticsForPartition = "GetColumnStatisticsForPartition"
5209
5210// GetColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the
5211// client's request for the GetColumnStatisticsForPartition operation. The "output" return
5212// value will be populated with the request's response once the request completes
5213// successfully.
5214//
5215// Use "Send" method on the returned Request to send the API call to the service.
5216// the "output" return value is not valid until after Send returns without error.
5217//
5218// See GetColumnStatisticsForPartition for more information on using the GetColumnStatisticsForPartition
5219// API call, and error handling.
5220//
5221// This method is useful when you want to inject custom logic or configuration
5222// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5223//
5224//
5225//    // Example sending a request using the GetColumnStatisticsForPartitionRequest method.
5226//    req, resp := client.GetColumnStatisticsForPartitionRequest(params)
5227//
5228//    err := req.Send()
5229//    if err == nil { // resp is now filled
5230//        fmt.Println(resp)
5231//    }
5232//
5233// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition
5234func (c *Glue) GetColumnStatisticsForPartitionRequest(input *GetColumnStatisticsForPartitionInput) (req *request.Request, output *GetColumnStatisticsForPartitionOutput) {
5235	op := &request.Operation{
5236		Name:       opGetColumnStatisticsForPartition,
5237		HTTPMethod: "POST",
5238		HTTPPath:   "/",
5239	}
5240
5241	if input == nil {
5242		input = &GetColumnStatisticsForPartitionInput{}
5243	}
5244
5245	output = &GetColumnStatisticsForPartitionOutput{}
5246	req = c.newRequest(op, input, output)
5247	return
5248}
5249
5250// GetColumnStatisticsForPartition API operation for AWS Glue.
5251//
5252// Retrieves partition statistics of columns.
5253//
5254// The Identity and Access Management (IAM) permission required for this operation
5255// is GetPartition.
5256//
5257// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5258// with awserr.Error's Code and Message methods to get detailed information about
5259// the error.
5260//
5261// See the AWS API reference guide for AWS Glue's
5262// API operation GetColumnStatisticsForPartition for usage and error information.
5263//
5264// Returned Error Types:
5265//   * EntityNotFoundException
5266//   A specified entity does not exist
5267//
5268//   * InvalidInputException
5269//   The input provided was not valid.
5270//
5271//   * InternalServiceException
5272//   An internal service error occurred.
5273//
5274//   * OperationTimeoutException
5275//   The operation timed out.
5276//
5277//   * EncryptionException
5278//   An encryption operation failed.
5279//
5280// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition
5281func (c *Glue) GetColumnStatisticsForPartition(input *GetColumnStatisticsForPartitionInput) (*GetColumnStatisticsForPartitionOutput, error) {
5282	req, out := c.GetColumnStatisticsForPartitionRequest(input)
5283	return out, req.Send()
5284}
5285
5286// GetColumnStatisticsForPartitionWithContext is the same as GetColumnStatisticsForPartition with the addition of
5287// the ability to pass a context and additional request options.
5288//
5289// See GetColumnStatisticsForPartition for details on how to use this API operation.
5290//
5291// The context must be non-nil and will be used for request cancellation. If
5292// the context is nil a panic will occur. In the future the SDK may create
5293// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5294// for more information on using Contexts.
5295func (c *Glue) GetColumnStatisticsForPartitionWithContext(ctx aws.Context, input *GetColumnStatisticsForPartitionInput, opts ...request.Option) (*GetColumnStatisticsForPartitionOutput, error) {
5296	req, out := c.GetColumnStatisticsForPartitionRequest(input)
5297	req.SetContext(ctx)
5298	req.ApplyOptions(opts...)
5299	return out, req.Send()
5300}
5301
5302const opGetColumnStatisticsForTable = "GetColumnStatisticsForTable"
5303
5304// GetColumnStatisticsForTableRequest generates a "aws/request.Request" representing the
5305// client's request for the GetColumnStatisticsForTable operation. The "output" return
5306// value will be populated with the request's response once the request completes
5307// successfully.
5308//
5309// Use "Send" method on the returned Request to send the API call to the service.
5310// the "output" return value is not valid until after Send returns without error.
5311//
5312// See GetColumnStatisticsForTable for more information on using the GetColumnStatisticsForTable
5313// API call, and error handling.
5314//
5315// This method is useful when you want to inject custom logic or configuration
5316// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5317//
5318//
5319//    // Example sending a request using the GetColumnStatisticsForTableRequest method.
5320//    req, resp := client.GetColumnStatisticsForTableRequest(params)
5321//
5322//    err := req.Send()
5323//    if err == nil { // resp is now filled
5324//        fmt.Println(resp)
5325//    }
5326//
5327// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable
5328func (c *Glue) GetColumnStatisticsForTableRequest(input *GetColumnStatisticsForTableInput) (req *request.Request, output *GetColumnStatisticsForTableOutput) {
5329	op := &request.Operation{
5330		Name:       opGetColumnStatisticsForTable,
5331		HTTPMethod: "POST",
5332		HTTPPath:   "/",
5333	}
5334
5335	if input == nil {
5336		input = &GetColumnStatisticsForTableInput{}
5337	}
5338
5339	output = &GetColumnStatisticsForTableOutput{}
5340	req = c.newRequest(op, input, output)
5341	return
5342}
5343
5344// GetColumnStatisticsForTable API operation for AWS Glue.
5345//
5346// Retrieves table statistics of columns.
5347//
5348// The Identity and Access Management (IAM) permission required for this operation
5349// is GetTable.
5350//
5351// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5352// with awserr.Error's Code and Message methods to get detailed information about
5353// the error.
5354//
5355// See the AWS API reference guide for AWS Glue's
5356// API operation GetColumnStatisticsForTable for usage and error information.
5357//
5358// Returned Error Types:
5359//   * EntityNotFoundException
5360//   A specified entity does not exist
5361//
5362//   * InvalidInputException
5363//   The input provided was not valid.
5364//
5365//   * InternalServiceException
5366//   An internal service error occurred.
5367//
5368//   * OperationTimeoutException
5369//   The operation timed out.
5370//
5371//   * EncryptionException
5372//   An encryption operation failed.
5373//
5374// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable
5375func (c *Glue) GetColumnStatisticsForTable(input *GetColumnStatisticsForTableInput) (*GetColumnStatisticsForTableOutput, error) {
5376	req, out := c.GetColumnStatisticsForTableRequest(input)
5377	return out, req.Send()
5378}
5379
5380// GetColumnStatisticsForTableWithContext is the same as GetColumnStatisticsForTable with the addition of
5381// the ability to pass a context and additional request options.
5382//
5383// See GetColumnStatisticsForTable for details on how to use this API operation.
5384//
5385// The context must be non-nil and will be used for request cancellation. If
5386// the context is nil a panic will occur. In the future the SDK may create
5387// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5388// for more information on using Contexts.
5389func (c *Glue) GetColumnStatisticsForTableWithContext(ctx aws.Context, input *GetColumnStatisticsForTableInput, opts ...request.Option) (*GetColumnStatisticsForTableOutput, error) {
5390	req, out := c.GetColumnStatisticsForTableRequest(input)
5391	req.SetContext(ctx)
5392	req.ApplyOptions(opts...)
5393	return out, req.Send()
5394}
5395
5396const opGetConnection = "GetConnection"
5397
5398// GetConnectionRequest generates a "aws/request.Request" representing the
5399// client's request for the GetConnection operation. The "output" return
5400// value will be populated with the request's response once the request completes
5401// successfully.
5402//
5403// Use "Send" method on the returned Request to send the API call to the service.
5404// the "output" return value is not valid until after Send returns without error.
5405//
5406// See GetConnection for more information on using the GetConnection
5407// API call, and error handling.
5408//
5409// This method is useful when you want to inject custom logic or configuration
5410// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5411//
5412//
5413//    // Example sending a request using the GetConnectionRequest method.
5414//    req, resp := client.GetConnectionRequest(params)
5415//
5416//    err := req.Send()
5417//    if err == nil { // resp is now filled
5418//        fmt.Println(resp)
5419//    }
5420//
5421// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
5422func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) {
5423	op := &request.Operation{
5424		Name:       opGetConnection,
5425		HTTPMethod: "POST",
5426		HTTPPath:   "/",
5427	}
5428
5429	if input == nil {
5430		input = &GetConnectionInput{}
5431	}
5432
5433	output = &GetConnectionOutput{}
5434	req = c.newRequest(op, input, output)
5435	return
5436}
5437
5438// GetConnection API operation for AWS Glue.
5439//
5440// Retrieves a connection definition from the Data Catalog.
5441//
5442// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5443// with awserr.Error's Code and Message methods to get detailed information about
5444// the error.
5445//
5446// See the AWS API reference guide for AWS Glue's
5447// API operation GetConnection for usage and error information.
5448//
5449// Returned Error Types:
5450//   * EntityNotFoundException
5451//   A specified entity does not exist
5452//
5453//   * OperationTimeoutException
5454//   The operation timed out.
5455//
5456//   * InvalidInputException
5457//   The input provided was not valid.
5458//
5459//   * EncryptionException
5460//   An encryption operation failed.
5461//
5462// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
5463func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) {
5464	req, out := c.GetConnectionRequest(input)
5465	return out, req.Send()
5466}
5467
5468// GetConnectionWithContext is the same as GetConnection with the addition of
5469// the ability to pass a context and additional request options.
5470//
5471// See GetConnection for details on how to use this API operation.
5472//
5473// The context must be non-nil and will be used for request cancellation. If
5474// the context is nil a panic will occur. In the future the SDK may create
5475// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5476// for more information on using Contexts.
5477func (c *Glue) GetConnectionWithContext(ctx aws.Context, input *GetConnectionInput, opts ...request.Option) (*GetConnectionOutput, error) {
5478	req, out := c.GetConnectionRequest(input)
5479	req.SetContext(ctx)
5480	req.ApplyOptions(opts...)
5481	return out, req.Send()
5482}
5483
5484const opGetConnections = "GetConnections"
5485
5486// GetConnectionsRequest generates a "aws/request.Request" representing the
5487// client's request for the GetConnections operation. The "output" return
5488// value will be populated with the request's response once the request completes
5489// successfully.
5490//
5491// Use "Send" method on the returned Request to send the API call to the service.
5492// the "output" return value is not valid until after Send returns without error.
5493//
5494// See GetConnections for more information on using the GetConnections
5495// API call, and error handling.
5496//
5497// This method is useful when you want to inject custom logic or configuration
5498// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5499//
5500//
5501//    // Example sending a request using the GetConnectionsRequest method.
5502//    req, resp := client.GetConnectionsRequest(params)
5503//
5504//    err := req.Send()
5505//    if err == nil { // resp is now filled
5506//        fmt.Println(resp)
5507//    }
5508//
5509// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
5510func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) {
5511	op := &request.Operation{
5512		Name:       opGetConnections,
5513		HTTPMethod: "POST",
5514		HTTPPath:   "/",
5515		Paginator: &request.Paginator{
5516			InputTokens:     []string{"NextToken"},
5517			OutputTokens:    []string{"NextToken"},
5518			LimitToken:      "MaxResults",
5519			TruncationToken: "",
5520		},
5521	}
5522
5523	if input == nil {
5524		input = &GetConnectionsInput{}
5525	}
5526
5527	output = &GetConnectionsOutput{}
5528	req = c.newRequest(op, input, output)
5529	return
5530}
5531
5532// GetConnections API operation for AWS Glue.
5533//
5534// Retrieves a list of connection definitions from the Data Catalog.
5535//
5536// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5537// with awserr.Error's Code and Message methods to get detailed information about
5538// the error.
5539//
5540// See the AWS API reference guide for AWS Glue's
5541// API operation GetConnections for usage and error information.
5542//
5543// Returned Error Types:
5544//   * EntityNotFoundException
5545//   A specified entity does not exist
5546//
5547//   * OperationTimeoutException
5548//   The operation timed out.
5549//
5550//   * InvalidInputException
5551//   The input provided was not valid.
5552//
5553//   * EncryptionException
5554//   An encryption operation failed.
5555//
5556// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
5557func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) {
5558	req, out := c.GetConnectionsRequest(input)
5559	return out, req.Send()
5560}
5561
5562// GetConnectionsWithContext is the same as GetConnections with the addition of
5563// the ability to pass a context and additional request options.
5564//
5565// See GetConnections for details on how to use this API operation.
5566//
5567// The context must be non-nil and will be used for request cancellation. If
5568// the context is nil a panic will occur. In the future the SDK may create
5569// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5570// for more information on using Contexts.
5571func (c *Glue) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error) {
5572	req, out := c.GetConnectionsRequest(input)
5573	req.SetContext(ctx)
5574	req.ApplyOptions(opts...)
5575	return out, req.Send()
5576}
5577
5578// GetConnectionsPages iterates over the pages of a GetConnections operation,
5579// calling the "fn" function with the response data for each page. To stop
5580// iterating, return false from the fn function.
5581//
5582// See GetConnections method for more information on how to use this operation.
5583//
5584// Note: This operation can generate multiple requests to a service.
5585//
5586//    // Example iterating over at most 3 pages of a GetConnections operation.
5587//    pageNum := 0
5588//    err := client.GetConnectionsPages(params,
5589//        func(page *glue.GetConnectionsOutput, lastPage bool) bool {
5590//            pageNum++
5591//            fmt.Println(page)
5592//            return pageNum <= 3
5593//        })
5594//
5595func (c *Glue) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error {
5596	return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn)
5597}
5598
5599// GetConnectionsPagesWithContext same as GetConnectionsPages except
5600// it takes a Context and allows setting request options on the pages.
5601//
5602// The context must be non-nil and will be used for request cancellation. If
5603// the context is nil a panic will occur. In the future the SDK may create
5604// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5605// for more information on using Contexts.
5606func (c *Glue) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error {
5607	p := request.Pagination{
5608		NewRequest: func() (*request.Request, error) {
5609			var inCpy *GetConnectionsInput
5610			if input != nil {
5611				tmp := *input
5612				inCpy = &tmp
5613			}
5614			req, _ := c.GetConnectionsRequest(inCpy)
5615			req.SetContext(ctx)
5616			req.ApplyOptions(opts...)
5617			return req, nil
5618		},
5619	}
5620
5621	for p.Next() {
5622		if !fn(p.Page().(*GetConnectionsOutput), !p.HasNextPage()) {
5623			break
5624		}
5625	}
5626
5627	return p.Err()
5628}
5629
5630const opGetCrawler = "GetCrawler"
5631
5632// GetCrawlerRequest generates a "aws/request.Request" representing the
5633// client's request for the GetCrawler operation. The "output" return
5634// value will be populated with the request's response once the request completes
5635// successfully.
5636//
5637// Use "Send" method on the returned Request to send the API call to the service.
5638// the "output" return value is not valid until after Send returns without error.
5639//
5640// See GetCrawler for more information on using the GetCrawler
5641// API call, and error handling.
5642//
5643// This method is useful when you want to inject custom logic or configuration
5644// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5645//
5646//
5647//    // Example sending a request using the GetCrawlerRequest method.
5648//    req, resp := client.GetCrawlerRequest(params)
5649//
5650//    err := req.Send()
5651//    if err == nil { // resp is now filled
5652//        fmt.Println(resp)
5653//    }
5654//
5655// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
5656func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) {
5657	op := &request.Operation{
5658		Name:       opGetCrawler,
5659		HTTPMethod: "POST",
5660		HTTPPath:   "/",
5661	}
5662
5663	if input == nil {
5664		input = &GetCrawlerInput{}
5665	}
5666
5667	output = &GetCrawlerOutput{}
5668	req = c.newRequest(op, input, output)
5669	return
5670}
5671
5672// GetCrawler API operation for AWS Glue.
5673//
5674// Retrieves metadata for a specified crawler.
5675//
5676// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5677// with awserr.Error's Code and Message methods to get detailed information about
5678// the error.
5679//
5680// See the AWS API reference guide for AWS Glue's
5681// API operation GetCrawler for usage and error information.
5682//
5683// Returned Error Types:
5684//   * EntityNotFoundException
5685//   A specified entity does not exist
5686//
5687//   * OperationTimeoutException
5688//   The operation timed out.
5689//
5690// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
5691func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) {
5692	req, out := c.GetCrawlerRequest(input)
5693	return out, req.Send()
5694}
5695
5696// GetCrawlerWithContext is the same as GetCrawler with the addition of
5697// the ability to pass a context and additional request options.
5698//
5699// See GetCrawler for details on how to use this API operation.
5700//
5701// The context must be non-nil and will be used for request cancellation. If
5702// the context is nil a panic will occur. In the future the SDK may create
5703// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5704// for more information on using Contexts.
5705func (c *Glue) GetCrawlerWithContext(ctx aws.Context, input *GetCrawlerInput, opts ...request.Option) (*GetCrawlerOutput, error) {
5706	req, out := c.GetCrawlerRequest(input)
5707	req.SetContext(ctx)
5708	req.ApplyOptions(opts...)
5709	return out, req.Send()
5710}
5711
5712const opGetCrawlerMetrics = "GetCrawlerMetrics"
5713
5714// GetCrawlerMetricsRequest generates a "aws/request.Request" representing the
5715// client's request for the GetCrawlerMetrics operation. The "output" return
5716// value will be populated with the request's response once the request completes
5717// successfully.
5718//
5719// Use "Send" method on the returned Request to send the API call to the service.
5720// the "output" return value is not valid until after Send returns without error.
5721//
5722// See GetCrawlerMetrics for more information on using the GetCrawlerMetrics
5723// API call, and error handling.
5724//
5725// This method is useful when you want to inject custom logic or configuration
5726// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5727//
5728//
5729//    // Example sending a request using the GetCrawlerMetricsRequest method.
5730//    req, resp := client.GetCrawlerMetricsRequest(params)
5731//
5732//    err := req.Send()
5733//    if err == nil { // resp is now filled
5734//        fmt.Println(resp)
5735//    }
5736//
5737// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
5738func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) {
5739	op := &request.Operation{
5740		Name:       opGetCrawlerMetrics,
5741		HTTPMethod: "POST",
5742		HTTPPath:   "/",
5743		Paginator: &request.Paginator{
5744			InputTokens:     []string{"NextToken"},
5745			OutputTokens:    []string{"NextToken"},
5746			LimitToken:      "MaxResults",
5747			TruncationToken: "",
5748		},
5749	}
5750
5751	if input == nil {
5752		input = &GetCrawlerMetricsInput{}
5753	}
5754
5755	output = &GetCrawlerMetricsOutput{}
5756	req = c.newRequest(op, input, output)
5757	return
5758}
5759
5760// GetCrawlerMetrics API operation for AWS Glue.
5761//
5762// Retrieves metrics about specified crawlers.
5763//
5764// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5765// with awserr.Error's Code and Message methods to get detailed information about
5766// the error.
5767//
5768// See the AWS API reference guide for AWS Glue's
5769// API operation GetCrawlerMetrics for usage and error information.
5770//
5771// Returned Error Types:
5772//   * OperationTimeoutException
5773//   The operation timed out.
5774//
5775// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
5776func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) {
5777	req, out := c.GetCrawlerMetricsRequest(input)
5778	return out, req.Send()
5779}
5780
5781// GetCrawlerMetricsWithContext is the same as GetCrawlerMetrics with the addition of
5782// the ability to pass a context and additional request options.
5783//
5784// See GetCrawlerMetrics for details on how to use this API operation.
5785//
5786// The context must be non-nil and will be used for request cancellation. If
5787// the context is nil a panic will occur. In the future the SDK may create
5788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5789// for more information on using Contexts.
5790func (c *Glue) GetCrawlerMetricsWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, opts ...request.Option) (*GetCrawlerMetricsOutput, error) {
5791	req, out := c.GetCrawlerMetricsRequest(input)
5792	req.SetContext(ctx)
5793	req.ApplyOptions(opts...)
5794	return out, req.Send()
5795}
5796
5797// GetCrawlerMetricsPages iterates over the pages of a GetCrawlerMetrics operation,
5798// calling the "fn" function with the response data for each page. To stop
5799// iterating, return false from the fn function.
5800//
5801// See GetCrawlerMetrics method for more information on how to use this operation.
5802//
5803// Note: This operation can generate multiple requests to a service.
5804//
5805//    // Example iterating over at most 3 pages of a GetCrawlerMetrics operation.
5806//    pageNum := 0
5807//    err := client.GetCrawlerMetricsPages(params,
5808//        func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool {
5809//            pageNum++
5810//            fmt.Println(page)
5811//            return pageNum <= 3
5812//        })
5813//
5814func (c *Glue) GetCrawlerMetricsPages(input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool) error {
5815	return c.GetCrawlerMetricsPagesWithContext(aws.BackgroundContext(), input, fn)
5816}
5817
5818// GetCrawlerMetricsPagesWithContext same as GetCrawlerMetricsPages except
5819// it takes a Context and allows setting request options on the pages.
5820//
5821// The context must be non-nil and will be used for request cancellation. If
5822// the context is nil a panic will occur. In the future the SDK may create
5823// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5824// for more information on using Contexts.
5825func (c *Glue) GetCrawlerMetricsPagesWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool, opts ...request.Option) error {
5826	p := request.Pagination{
5827		NewRequest: func() (*request.Request, error) {
5828			var inCpy *GetCrawlerMetricsInput
5829			if input != nil {
5830				tmp := *input
5831				inCpy = &tmp
5832			}
5833			req, _ := c.GetCrawlerMetricsRequest(inCpy)
5834			req.SetContext(ctx)
5835			req.ApplyOptions(opts...)
5836			return req, nil
5837		},
5838	}
5839
5840	for p.Next() {
5841		if !fn(p.Page().(*GetCrawlerMetricsOutput), !p.HasNextPage()) {
5842			break
5843		}
5844	}
5845
5846	return p.Err()
5847}
5848
5849const opGetCrawlers = "GetCrawlers"
5850
5851// GetCrawlersRequest generates a "aws/request.Request" representing the
5852// client's request for the GetCrawlers operation. The "output" return
5853// value will be populated with the request's response once the request completes
5854// successfully.
5855//
5856// Use "Send" method on the returned Request to send the API call to the service.
5857// the "output" return value is not valid until after Send returns without error.
5858//
5859// See GetCrawlers for more information on using the GetCrawlers
5860// API call, and error handling.
5861//
5862// This method is useful when you want to inject custom logic or configuration
5863// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5864//
5865//
5866//    // Example sending a request using the GetCrawlersRequest method.
5867//    req, resp := client.GetCrawlersRequest(params)
5868//
5869//    err := req.Send()
5870//    if err == nil { // resp is now filled
5871//        fmt.Println(resp)
5872//    }
5873//
5874// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
5875func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) {
5876	op := &request.Operation{
5877		Name:       opGetCrawlers,
5878		HTTPMethod: "POST",
5879		HTTPPath:   "/",
5880		Paginator: &request.Paginator{
5881			InputTokens:     []string{"NextToken"},
5882			OutputTokens:    []string{"NextToken"},
5883			LimitToken:      "MaxResults",
5884			TruncationToken: "",
5885		},
5886	}
5887
5888	if input == nil {
5889		input = &GetCrawlersInput{}
5890	}
5891
5892	output = &GetCrawlersOutput{}
5893	req = c.newRequest(op, input, output)
5894	return
5895}
5896
5897// GetCrawlers API operation for AWS Glue.
5898//
5899// Retrieves metadata for all crawlers defined in the customer account.
5900//
5901// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5902// with awserr.Error's Code and Message methods to get detailed information about
5903// the error.
5904//
5905// See the AWS API reference guide for AWS Glue's
5906// API operation GetCrawlers for usage and error information.
5907//
5908// Returned Error Types:
5909//   * OperationTimeoutException
5910//   The operation timed out.
5911//
5912// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
5913func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) {
5914	req, out := c.GetCrawlersRequest(input)
5915	return out, req.Send()
5916}
5917
5918// GetCrawlersWithContext is the same as GetCrawlers with the addition of
5919// the ability to pass a context and additional request options.
5920//
5921// See GetCrawlers for details on how to use this API operation.
5922//
5923// The context must be non-nil and will be used for request cancellation. If
5924// the context is nil a panic will occur. In the future the SDK may create
5925// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5926// for more information on using Contexts.
5927func (c *Glue) GetCrawlersWithContext(ctx aws.Context, input *GetCrawlersInput, opts ...request.Option) (*GetCrawlersOutput, error) {
5928	req, out := c.GetCrawlersRequest(input)
5929	req.SetContext(ctx)
5930	req.ApplyOptions(opts...)
5931	return out, req.Send()
5932}
5933
5934// GetCrawlersPages iterates over the pages of a GetCrawlers operation,
5935// calling the "fn" function with the response data for each page. To stop
5936// iterating, return false from the fn function.
5937//
5938// See GetCrawlers method for more information on how to use this operation.
5939//
5940// Note: This operation can generate multiple requests to a service.
5941//
5942//    // Example iterating over at most 3 pages of a GetCrawlers operation.
5943//    pageNum := 0
5944//    err := client.GetCrawlersPages(params,
5945//        func(page *glue.GetCrawlersOutput, lastPage bool) bool {
5946//            pageNum++
5947//            fmt.Println(page)
5948//            return pageNum <= 3
5949//        })
5950//
5951func (c *Glue) GetCrawlersPages(input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool) error {
5952	return c.GetCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
5953}
5954
5955// GetCrawlersPagesWithContext same as GetCrawlersPages except
5956// it takes a Context and allows setting request options on the pages.
5957//
5958// The context must be non-nil and will be used for request cancellation. If
5959// the context is nil a panic will occur. In the future the SDK may create
5960// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5961// for more information on using Contexts.
5962func (c *Glue) GetCrawlersPagesWithContext(ctx aws.Context, input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool, opts ...request.Option) error {
5963	p := request.Pagination{
5964		NewRequest: func() (*request.Request, error) {
5965			var inCpy *GetCrawlersInput
5966			if input != nil {
5967				tmp := *input
5968				inCpy = &tmp
5969			}
5970			req, _ := c.GetCrawlersRequest(inCpy)
5971			req.SetContext(ctx)
5972			req.ApplyOptions(opts...)
5973			return req, nil
5974		},
5975	}
5976
5977	for p.Next() {
5978		if !fn(p.Page().(*GetCrawlersOutput), !p.HasNextPage()) {
5979			break
5980		}
5981	}
5982
5983	return p.Err()
5984}
5985
5986const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings"
5987
5988// GetDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
5989// client's request for the GetDataCatalogEncryptionSettings 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 GetDataCatalogEncryptionSettings for more information on using the GetDataCatalogEncryptionSettings
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 GetDataCatalogEncryptionSettingsRequest method.
6004//    req, resp := client.GetDataCatalogEncryptionSettingsRequest(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/GetDataCatalogEncryptionSettings
6012func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) {
6013	op := &request.Operation{
6014		Name:       opGetDataCatalogEncryptionSettings,
6015		HTTPMethod: "POST",
6016		HTTPPath:   "/",
6017	}
6018
6019	if input == nil {
6020		input = &GetDataCatalogEncryptionSettingsInput{}
6021	}
6022
6023	output = &GetDataCatalogEncryptionSettingsOutput{}
6024	req = c.newRequest(op, input, output)
6025	return
6026}
6027
6028// GetDataCatalogEncryptionSettings API operation for AWS Glue.
6029//
6030// Retrieves the security configuration for a specified 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 GetDataCatalogEncryptionSettings for usage and error information.
6038//
6039// Returned Error Types:
6040//   * InternalServiceException
6041//   An internal service error occurred.
6042//
6043//   * InvalidInputException
6044//   The input provided was not valid.
6045//
6046//   * OperationTimeoutException
6047//   The operation timed out.
6048//
6049// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings
6050func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) {
6051	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
6052	return out, req.Send()
6053}
6054
6055// GetDataCatalogEncryptionSettingsWithContext is the same as GetDataCatalogEncryptionSettings with the addition of
6056// the ability to pass a context and additional request options.
6057//
6058// See GetDataCatalogEncryptionSettings for details on how to use this API operation.
6059//
6060// The context must be non-nil and will be used for request cancellation. If
6061// the context is nil a panic will occur. In the future the SDK may create
6062// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6063// for more information on using Contexts.
6064func (c *Glue) GetDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *GetDataCatalogEncryptionSettingsInput, opts ...request.Option) (*GetDataCatalogEncryptionSettingsOutput, error) {
6065	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
6066	req.SetContext(ctx)
6067	req.ApplyOptions(opts...)
6068	return out, req.Send()
6069}
6070
6071const opGetDatabase = "GetDatabase"
6072
6073// GetDatabaseRequest generates a "aws/request.Request" representing the
6074// client's request for the GetDatabase operation. The "output" return
6075// value will be populated with the request's response once the request completes
6076// successfully.
6077//
6078// Use "Send" method on the returned Request to send the API call to the service.
6079// the "output" return value is not valid until after Send returns without error.
6080//
6081// See GetDatabase for more information on using the GetDatabase
6082// API call, and error handling.
6083//
6084// This method is useful when you want to inject custom logic or configuration
6085// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6086//
6087//
6088//    // Example sending a request using the GetDatabaseRequest method.
6089//    req, resp := client.GetDatabaseRequest(params)
6090//
6091//    err := req.Send()
6092//    if err == nil { // resp is now filled
6093//        fmt.Println(resp)
6094//    }
6095//
6096// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
6097func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) {
6098	op := &request.Operation{
6099		Name:       opGetDatabase,
6100		HTTPMethod: "POST",
6101		HTTPPath:   "/",
6102	}
6103
6104	if input == nil {
6105		input = &GetDatabaseInput{}
6106	}
6107
6108	output = &GetDatabaseOutput{}
6109	req = c.newRequest(op, input, output)
6110	return
6111}
6112
6113// GetDatabase API operation for AWS Glue.
6114//
6115// Retrieves the definition of a specified database.
6116//
6117// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6118// with awserr.Error's Code and Message methods to get detailed information about
6119// the error.
6120//
6121// See the AWS API reference guide for AWS Glue's
6122// API operation GetDatabase for usage and error information.
6123//
6124// Returned Error Types:
6125//   * InvalidInputException
6126//   The input provided was not valid.
6127//
6128//   * EntityNotFoundException
6129//   A specified entity does not exist
6130//
6131//   * InternalServiceException
6132//   An internal service error occurred.
6133//
6134//   * OperationTimeoutException
6135//   The operation timed out.
6136//
6137//   * EncryptionException
6138//   An encryption operation failed.
6139//
6140// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
6141func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) {
6142	req, out := c.GetDatabaseRequest(input)
6143	return out, req.Send()
6144}
6145
6146// GetDatabaseWithContext is the same as GetDatabase with the addition of
6147// the ability to pass a context and additional request options.
6148//
6149// See GetDatabase for details on how to use this API operation.
6150//
6151// The context must be non-nil and will be used for request cancellation. If
6152// the context is nil a panic will occur. In the future the SDK may create
6153// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6154// for more information on using Contexts.
6155func (c *Glue) GetDatabaseWithContext(ctx aws.Context, input *GetDatabaseInput, opts ...request.Option) (*GetDatabaseOutput, error) {
6156	req, out := c.GetDatabaseRequest(input)
6157	req.SetContext(ctx)
6158	req.ApplyOptions(opts...)
6159	return out, req.Send()
6160}
6161
6162const opGetDatabases = "GetDatabases"
6163
6164// GetDatabasesRequest generates a "aws/request.Request" representing the
6165// client's request for the GetDatabases operation. The "output" return
6166// value will be populated with the request's response once the request completes
6167// successfully.
6168//
6169// Use "Send" method on the returned Request to send the API call to the service.
6170// the "output" return value is not valid until after Send returns without error.
6171//
6172// See GetDatabases for more information on using the GetDatabases
6173// API call, and error handling.
6174//
6175// This method is useful when you want to inject custom logic or configuration
6176// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6177//
6178//
6179//    // Example sending a request using the GetDatabasesRequest method.
6180//    req, resp := client.GetDatabasesRequest(params)
6181//
6182//    err := req.Send()
6183//    if err == nil { // resp is now filled
6184//        fmt.Println(resp)
6185//    }
6186//
6187// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
6188func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) {
6189	op := &request.Operation{
6190		Name:       opGetDatabases,
6191		HTTPMethod: "POST",
6192		HTTPPath:   "/",
6193		Paginator: &request.Paginator{
6194			InputTokens:     []string{"NextToken"},
6195			OutputTokens:    []string{"NextToken"},
6196			LimitToken:      "MaxResults",
6197			TruncationToken: "",
6198		},
6199	}
6200
6201	if input == nil {
6202		input = &GetDatabasesInput{}
6203	}
6204
6205	output = &GetDatabasesOutput{}
6206	req = c.newRequest(op, input, output)
6207	return
6208}
6209
6210// GetDatabases API operation for AWS Glue.
6211//
6212// Retrieves all databases defined in a given Data Catalog.
6213//
6214// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6215// with awserr.Error's Code and Message methods to get detailed information about
6216// the error.
6217//
6218// See the AWS API reference guide for AWS Glue's
6219// API operation GetDatabases for usage and error information.
6220//
6221// Returned Error Types:
6222//   * InvalidInputException
6223//   The input provided was not valid.
6224//
6225//   * InternalServiceException
6226//   An internal service error occurred.
6227//
6228//   * OperationTimeoutException
6229//   The operation timed out.
6230//
6231//   * EncryptionException
6232//   An encryption operation failed.
6233//
6234// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
6235func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) {
6236	req, out := c.GetDatabasesRequest(input)
6237	return out, req.Send()
6238}
6239
6240// GetDatabasesWithContext is the same as GetDatabases with the addition of
6241// the ability to pass a context and additional request options.
6242//
6243// See GetDatabases for details on how to use this API operation.
6244//
6245// The context must be non-nil and will be used for request cancellation. If
6246// the context is nil a panic will occur. In the future the SDK may create
6247// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6248// for more information on using Contexts.
6249func (c *Glue) GetDatabasesWithContext(ctx aws.Context, input *GetDatabasesInput, opts ...request.Option) (*GetDatabasesOutput, error) {
6250	req, out := c.GetDatabasesRequest(input)
6251	req.SetContext(ctx)
6252	req.ApplyOptions(opts...)
6253	return out, req.Send()
6254}
6255
6256// GetDatabasesPages iterates over the pages of a GetDatabases operation,
6257// calling the "fn" function with the response data for each page. To stop
6258// iterating, return false from the fn function.
6259//
6260// See GetDatabases method for more information on how to use this operation.
6261//
6262// Note: This operation can generate multiple requests to a service.
6263//
6264//    // Example iterating over at most 3 pages of a GetDatabases operation.
6265//    pageNum := 0
6266//    err := client.GetDatabasesPages(params,
6267//        func(page *glue.GetDatabasesOutput, lastPage bool) bool {
6268//            pageNum++
6269//            fmt.Println(page)
6270//            return pageNum <= 3
6271//        })
6272//
6273func (c *Glue) GetDatabasesPages(input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool) error {
6274	return c.GetDatabasesPagesWithContext(aws.BackgroundContext(), input, fn)
6275}
6276
6277// GetDatabasesPagesWithContext same as GetDatabasesPages except
6278// it takes a Context and allows setting request options on the pages.
6279//
6280// The context must be non-nil and will be used for request cancellation. If
6281// the context is nil a panic will occur. In the future the SDK may create
6282// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6283// for more information on using Contexts.
6284func (c *Glue) GetDatabasesPagesWithContext(ctx aws.Context, input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool, opts ...request.Option) error {
6285	p := request.Pagination{
6286		NewRequest: func() (*request.Request, error) {
6287			var inCpy *GetDatabasesInput
6288			if input != nil {
6289				tmp := *input
6290				inCpy = &tmp
6291			}
6292			req, _ := c.GetDatabasesRequest(inCpy)
6293			req.SetContext(ctx)
6294			req.ApplyOptions(opts...)
6295			return req, nil
6296		},
6297	}
6298
6299	for p.Next() {
6300		if !fn(p.Page().(*GetDatabasesOutput), !p.HasNextPage()) {
6301			break
6302		}
6303	}
6304
6305	return p.Err()
6306}
6307
6308const opGetDataflowGraph = "GetDataflowGraph"
6309
6310// GetDataflowGraphRequest generates a "aws/request.Request" representing the
6311// client's request for the GetDataflowGraph operation. The "output" return
6312// value will be populated with the request's response once the request completes
6313// successfully.
6314//
6315// Use "Send" method on the returned Request to send the API call to the service.
6316// the "output" return value is not valid until after Send returns without error.
6317//
6318// See GetDataflowGraph for more information on using the GetDataflowGraph
6319// API call, and error handling.
6320//
6321// This method is useful when you want to inject custom logic or configuration
6322// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6323//
6324//
6325//    // Example sending a request using the GetDataflowGraphRequest method.
6326//    req, resp := client.GetDataflowGraphRequest(params)
6327//
6328//    err := req.Send()
6329//    if err == nil { // resp is now filled
6330//        fmt.Println(resp)
6331//    }
6332//
6333// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
6334func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) {
6335	op := &request.Operation{
6336		Name:       opGetDataflowGraph,
6337		HTTPMethod: "POST",
6338		HTTPPath:   "/",
6339	}
6340
6341	if input == nil {
6342		input = &GetDataflowGraphInput{}
6343	}
6344
6345	output = &GetDataflowGraphOutput{}
6346	req = c.newRequest(op, input, output)
6347	return
6348}
6349
6350// GetDataflowGraph API operation for AWS Glue.
6351//
6352// Transforms a Python script into a directed acyclic graph (DAG).
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 GetDataflowGraph for usage and error information.
6360//
6361// Returned Error Types:
6362//   * InvalidInputException
6363//   The input provided was not valid.
6364//
6365//   * InternalServiceException
6366//   An internal service error occurred.
6367//
6368//   * OperationTimeoutException
6369//   The operation timed out.
6370//
6371// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
6372func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) {
6373	req, out := c.GetDataflowGraphRequest(input)
6374	return out, req.Send()
6375}
6376
6377// GetDataflowGraphWithContext is the same as GetDataflowGraph with the addition of
6378// the ability to pass a context and additional request options.
6379//
6380// See GetDataflowGraph for details on how to use this API operation.
6381//
6382// The context must be non-nil and will be used for request cancellation. If
6383// the context is nil a panic will occur. In the future the SDK may create
6384// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6385// for more information on using Contexts.
6386func (c *Glue) GetDataflowGraphWithContext(ctx aws.Context, input *GetDataflowGraphInput, opts ...request.Option) (*GetDataflowGraphOutput, error) {
6387	req, out := c.GetDataflowGraphRequest(input)
6388	req.SetContext(ctx)
6389	req.ApplyOptions(opts...)
6390	return out, req.Send()
6391}
6392
6393const opGetDevEndpoint = "GetDevEndpoint"
6394
6395// GetDevEndpointRequest generates a "aws/request.Request" representing the
6396// client's request for the GetDevEndpoint operation. The "output" return
6397// value will be populated with the request's response once the request completes
6398// successfully.
6399//
6400// Use "Send" method on the returned Request to send the API call to the service.
6401// the "output" return value is not valid until after Send returns without error.
6402//
6403// See GetDevEndpoint for more information on using the GetDevEndpoint
6404// API call, and error handling.
6405//
6406// This method is useful when you want to inject custom logic or configuration
6407// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6408//
6409//
6410//    // Example sending a request using the GetDevEndpointRequest method.
6411//    req, resp := client.GetDevEndpointRequest(params)
6412//
6413//    err := req.Send()
6414//    if err == nil { // resp is now filled
6415//        fmt.Println(resp)
6416//    }
6417//
6418// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
6419func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) {
6420	op := &request.Operation{
6421		Name:       opGetDevEndpoint,
6422		HTTPMethod: "POST",
6423		HTTPPath:   "/",
6424	}
6425
6426	if input == nil {
6427		input = &GetDevEndpointInput{}
6428	}
6429
6430	output = &GetDevEndpointOutput{}
6431	req = c.newRequest(op, input, output)
6432	return
6433}
6434
6435// GetDevEndpoint API operation for AWS Glue.
6436//
6437// Retrieves information about a specified development endpoint.
6438//
6439// When you create a development endpoint in a virtual private cloud (VPC),
6440// AWS Glue returns only a private IP address, and the public IP address field
6441// is not populated. When you create a non-VPC development endpoint, AWS Glue
6442// returns only a public IP address.
6443//
6444// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6445// with awserr.Error's Code and Message methods to get detailed information about
6446// the error.
6447//
6448// See the AWS API reference guide for AWS Glue's
6449// API operation GetDevEndpoint for usage and error information.
6450//
6451// Returned Error Types:
6452//   * EntityNotFoundException
6453//   A specified entity does not exist
6454//
6455//   * InternalServiceException
6456//   An internal service error occurred.
6457//
6458//   * OperationTimeoutException
6459//   The operation timed out.
6460//
6461//   * InvalidInputException
6462//   The input provided was not valid.
6463//
6464// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
6465func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) {
6466	req, out := c.GetDevEndpointRequest(input)
6467	return out, req.Send()
6468}
6469
6470// GetDevEndpointWithContext is the same as GetDevEndpoint with the addition of
6471// the ability to pass a context and additional request options.
6472//
6473// See GetDevEndpoint for details on how to use this API operation.
6474//
6475// The context must be non-nil and will be used for request cancellation. If
6476// the context is nil a panic will occur. In the future the SDK may create
6477// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6478// for more information on using Contexts.
6479func (c *Glue) GetDevEndpointWithContext(ctx aws.Context, input *GetDevEndpointInput, opts ...request.Option) (*GetDevEndpointOutput, error) {
6480	req, out := c.GetDevEndpointRequest(input)
6481	req.SetContext(ctx)
6482	req.ApplyOptions(opts...)
6483	return out, req.Send()
6484}
6485
6486const opGetDevEndpoints = "GetDevEndpoints"
6487
6488// GetDevEndpointsRequest generates a "aws/request.Request" representing the
6489// client's request for the GetDevEndpoints operation. The "output" return
6490// value will be populated with the request's response once the request completes
6491// successfully.
6492//
6493// Use "Send" method on the returned Request to send the API call to the service.
6494// the "output" return value is not valid until after Send returns without error.
6495//
6496// See GetDevEndpoints for more information on using the GetDevEndpoints
6497// API call, and error handling.
6498//
6499// This method is useful when you want to inject custom logic or configuration
6500// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6501//
6502//
6503//    // Example sending a request using the GetDevEndpointsRequest method.
6504//    req, resp := client.GetDevEndpointsRequest(params)
6505//
6506//    err := req.Send()
6507//    if err == nil { // resp is now filled
6508//        fmt.Println(resp)
6509//    }
6510//
6511// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
6512func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) {
6513	op := &request.Operation{
6514		Name:       opGetDevEndpoints,
6515		HTTPMethod: "POST",
6516		HTTPPath:   "/",
6517		Paginator: &request.Paginator{
6518			InputTokens:     []string{"NextToken"},
6519			OutputTokens:    []string{"NextToken"},
6520			LimitToken:      "MaxResults",
6521			TruncationToken: "",
6522		},
6523	}
6524
6525	if input == nil {
6526		input = &GetDevEndpointsInput{}
6527	}
6528
6529	output = &GetDevEndpointsOutput{}
6530	req = c.newRequest(op, input, output)
6531	return
6532}
6533
6534// GetDevEndpoints API operation for AWS Glue.
6535//
6536// Retrieves all the development endpoints in this AWS account.
6537//
6538// When you create a development endpoint in a virtual private cloud (VPC),
6539// AWS Glue returns only a private IP address and the public IP address field
6540// is not populated. When you create a non-VPC development endpoint, AWS Glue
6541// returns only a public IP address.
6542//
6543// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6544// with awserr.Error's Code and Message methods to get detailed information about
6545// the error.
6546//
6547// See the AWS API reference guide for AWS Glue's
6548// API operation GetDevEndpoints for usage and error information.
6549//
6550// Returned Error Types:
6551//   * EntityNotFoundException
6552//   A specified entity does not exist
6553//
6554//   * InternalServiceException
6555//   An internal service error occurred.
6556//
6557//   * OperationTimeoutException
6558//   The operation timed out.
6559//
6560//   * InvalidInputException
6561//   The input provided was not valid.
6562//
6563// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
6564func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) {
6565	req, out := c.GetDevEndpointsRequest(input)
6566	return out, req.Send()
6567}
6568
6569// GetDevEndpointsWithContext is the same as GetDevEndpoints with the addition of
6570// the ability to pass a context and additional request options.
6571//
6572// See GetDevEndpoints for details on how to use this API operation.
6573//
6574// The context must be non-nil and will be used for request cancellation. If
6575// the context is nil a panic will occur. In the future the SDK may create
6576// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6577// for more information on using Contexts.
6578func (c *Glue) GetDevEndpointsWithContext(ctx aws.Context, input *GetDevEndpointsInput, opts ...request.Option) (*GetDevEndpointsOutput, error) {
6579	req, out := c.GetDevEndpointsRequest(input)
6580	req.SetContext(ctx)
6581	req.ApplyOptions(opts...)
6582	return out, req.Send()
6583}
6584
6585// GetDevEndpointsPages iterates over the pages of a GetDevEndpoints operation,
6586// calling the "fn" function with the response data for each page. To stop
6587// iterating, return false from the fn function.
6588//
6589// See GetDevEndpoints method for more information on how to use this operation.
6590//
6591// Note: This operation can generate multiple requests to a service.
6592//
6593//    // Example iterating over at most 3 pages of a GetDevEndpoints operation.
6594//    pageNum := 0
6595//    err := client.GetDevEndpointsPages(params,
6596//        func(page *glue.GetDevEndpointsOutput, lastPage bool) bool {
6597//            pageNum++
6598//            fmt.Println(page)
6599//            return pageNum <= 3
6600//        })
6601//
6602func (c *Glue) GetDevEndpointsPages(input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool) error {
6603	return c.GetDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
6604}
6605
6606// GetDevEndpointsPagesWithContext same as GetDevEndpointsPages except
6607// it takes a Context and allows setting request options on the pages.
6608//
6609// The context must be non-nil and will be used for request cancellation. If
6610// the context is nil a panic will occur. In the future the SDK may create
6611// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6612// for more information on using Contexts.
6613func (c *Glue) GetDevEndpointsPagesWithContext(ctx aws.Context, input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool, opts ...request.Option) error {
6614	p := request.Pagination{
6615		NewRequest: func() (*request.Request, error) {
6616			var inCpy *GetDevEndpointsInput
6617			if input != nil {
6618				tmp := *input
6619				inCpy = &tmp
6620			}
6621			req, _ := c.GetDevEndpointsRequest(inCpy)
6622			req.SetContext(ctx)
6623			req.ApplyOptions(opts...)
6624			return req, nil
6625		},
6626	}
6627
6628	for p.Next() {
6629		if !fn(p.Page().(*GetDevEndpointsOutput), !p.HasNextPage()) {
6630			break
6631		}
6632	}
6633
6634	return p.Err()
6635}
6636
6637const opGetJob = "GetJob"
6638
6639// GetJobRequest generates a "aws/request.Request" representing the
6640// client's request for the GetJob operation. The "output" return
6641// value will be populated with the request's response once the request completes
6642// successfully.
6643//
6644// Use "Send" method on the returned Request to send the API call to the service.
6645// the "output" return value is not valid until after Send returns without error.
6646//
6647// See GetJob for more information on using the GetJob
6648// API call, and error handling.
6649//
6650// This method is useful when you want to inject custom logic or configuration
6651// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6652//
6653//
6654//    // Example sending a request using the GetJobRequest method.
6655//    req, resp := client.GetJobRequest(params)
6656//
6657//    err := req.Send()
6658//    if err == nil { // resp is now filled
6659//        fmt.Println(resp)
6660//    }
6661//
6662// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
6663func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) {
6664	op := &request.Operation{
6665		Name:       opGetJob,
6666		HTTPMethod: "POST",
6667		HTTPPath:   "/",
6668	}
6669
6670	if input == nil {
6671		input = &GetJobInput{}
6672	}
6673
6674	output = &GetJobOutput{}
6675	req = c.newRequest(op, input, output)
6676	return
6677}
6678
6679// GetJob API operation for AWS Glue.
6680//
6681// Retrieves an existing job definition.
6682//
6683// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6684// with awserr.Error's Code and Message methods to get detailed information about
6685// the error.
6686//
6687// See the AWS API reference guide for AWS Glue's
6688// API operation GetJob for usage and error information.
6689//
6690// Returned Error Types:
6691//   * InvalidInputException
6692//   The input provided was not valid.
6693//
6694//   * EntityNotFoundException
6695//   A specified entity does not exist
6696//
6697//   * InternalServiceException
6698//   An internal service error occurred.
6699//
6700//   * OperationTimeoutException
6701//   The operation timed out.
6702//
6703// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
6704func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) {
6705	req, out := c.GetJobRequest(input)
6706	return out, req.Send()
6707}
6708
6709// GetJobWithContext is the same as GetJob with the addition of
6710// the ability to pass a context and additional request options.
6711//
6712// See GetJob for details on how to use this API operation.
6713//
6714// The context must be non-nil and will be used for request cancellation. If
6715// the context is nil a panic will occur. In the future the SDK may create
6716// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6717// for more information on using Contexts.
6718func (c *Glue) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) {
6719	req, out := c.GetJobRequest(input)
6720	req.SetContext(ctx)
6721	req.ApplyOptions(opts...)
6722	return out, req.Send()
6723}
6724
6725const opGetJobBookmark = "GetJobBookmark"
6726
6727// GetJobBookmarkRequest generates a "aws/request.Request" representing the
6728// client's request for the GetJobBookmark operation. The "output" return
6729// value will be populated with the request's response once the request completes
6730// successfully.
6731//
6732// Use "Send" method on the returned Request to send the API call to the service.
6733// the "output" return value is not valid until after Send returns without error.
6734//
6735// See GetJobBookmark for more information on using the GetJobBookmark
6736// API call, and error handling.
6737//
6738// This method is useful when you want to inject custom logic or configuration
6739// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6740//
6741//
6742//    // Example sending a request using the GetJobBookmarkRequest method.
6743//    req, resp := client.GetJobBookmarkRequest(params)
6744//
6745//    err := req.Send()
6746//    if err == nil { // resp is now filled
6747//        fmt.Println(resp)
6748//    }
6749//
6750// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
6751func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.Request, output *GetJobBookmarkOutput) {
6752	op := &request.Operation{
6753		Name:       opGetJobBookmark,
6754		HTTPMethod: "POST",
6755		HTTPPath:   "/",
6756	}
6757
6758	if input == nil {
6759		input = &GetJobBookmarkInput{}
6760	}
6761
6762	output = &GetJobBookmarkOutput{}
6763	req = c.newRequest(op, input, output)
6764	return
6765}
6766
6767// GetJobBookmark API operation for AWS Glue.
6768//
6769// Returns information on a job bookmark entry.
6770//
6771// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6772// with awserr.Error's Code and Message methods to get detailed information about
6773// the error.
6774//
6775// See the AWS API reference guide for AWS Glue's
6776// API operation GetJobBookmark for usage and error information.
6777//
6778// Returned Error Types:
6779//   * EntityNotFoundException
6780//   A specified entity does not exist
6781//
6782//   * InvalidInputException
6783//   The input provided was not valid.
6784//
6785//   * InternalServiceException
6786//   An internal service error occurred.
6787//
6788//   * OperationTimeoutException
6789//   The operation timed out.
6790//
6791//   * ValidationException
6792//   A value could not be validated.
6793//
6794// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
6795func (c *Glue) GetJobBookmark(input *GetJobBookmarkInput) (*GetJobBookmarkOutput, error) {
6796	req, out := c.GetJobBookmarkRequest(input)
6797	return out, req.Send()
6798}
6799
6800// GetJobBookmarkWithContext is the same as GetJobBookmark with the addition of
6801// the ability to pass a context and additional request options.
6802//
6803// See GetJobBookmark for details on how to use this API operation.
6804//
6805// The context must be non-nil and will be used for request cancellation. If
6806// the context is nil a panic will occur. In the future the SDK may create
6807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6808// for more information on using Contexts.
6809func (c *Glue) GetJobBookmarkWithContext(ctx aws.Context, input *GetJobBookmarkInput, opts ...request.Option) (*GetJobBookmarkOutput, error) {
6810	req, out := c.GetJobBookmarkRequest(input)
6811	req.SetContext(ctx)
6812	req.ApplyOptions(opts...)
6813	return out, req.Send()
6814}
6815
6816const opGetJobRun = "GetJobRun"
6817
6818// GetJobRunRequest generates a "aws/request.Request" representing the
6819// client's request for the GetJobRun operation. The "output" return
6820// value will be populated with the request's response once the request completes
6821// successfully.
6822//
6823// Use "Send" method on the returned Request to send the API call to the service.
6824// the "output" return value is not valid until after Send returns without error.
6825//
6826// See GetJobRun for more information on using the GetJobRun
6827// API call, and error handling.
6828//
6829// This method is useful when you want to inject custom logic or configuration
6830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6831//
6832//
6833//    // Example sending a request using the GetJobRunRequest method.
6834//    req, resp := client.GetJobRunRequest(params)
6835//
6836//    err := req.Send()
6837//    if err == nil { // resp is now filled
6838//        fmt.Println(resp)
6839//    }
6840//
6841// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
6842func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) {
6843	op := &request.Operation{
6844		Name:       opGetJobRun,
6845		HTTPMethod: "POST",
6846		HTTPPath:   "/",
6847	}
6848
6849	if input == nil {
6850		input = &GetJobRunInput{}
6851	}
6852
6853	output = &GetJobRunOutput{}
6854	req = c.newRequest(op, input, output)
6855	return
6856}
6857
6858// GetJobRun API operation for AWS Glue.
6859//
6860// Retrieves the metadata for a given job run.
6861//
6862// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6863// with awserr.Error's Code and Message methods to get detailed information about
6864// the error.
6865//
6866// See the AWS API reference guide for AWS Glue's
6867// API operation GetJobRun for usage and error information.
6868//
6869// Returned Error Types:
6870//   * InvalidInputException
6871//   The input provided was not valid.
6872//
6873//   * EntityNotFoundException
6874//   A specified entity does not exist
6875//
6876//   * InternalServiceException
6877//   An internal service error occurred.
6878//
6879//   * OperationTimeoutException
6880//   The operation timed out.
6881//
6882// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
6883func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) {
6884	req, out := c.GetJobRunRequest(input)
6885	return out, req.Send()
6886}
6887
6888// GetJobRunWithContext is the same as GetJobRun with the addition of
6889// the ability to pass a context and additional request options.
6890//
6891// See GetJobRun for details on how to use this API operation.
6892//
6893// The context must be non-nil and will be used for request cancellation. If
6894// the context is nil a panic will occur. In the future the SDK may create
6895// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6896// for more information on using Contexts.
6897func (c *Glue) GetJobRunWithContext(ctx aws.Context, input *GetJobRunInput, opts ...request.Option) (*GetJobRunOutput, error) {
6898	req, out := c.GetJobRunRequest(input)
6899	req.SetContext(ctx)
6900	req.ApplyOptions(opts...)
6901	return out, req.Send()
6902}
6903
6904const opGetJobRuns = "GetJobRuns"
6905
6906// GetJobRunsRequest generates a "aws/request.Request" representing the
6907// client's request for the GetJobRuns operation. The "output" return
6908// value will be populated with the request's response once the request completes
6909// successfully.
6910//
6911// Use "Send" method on the returned Request to send the API call to the service.
6912// the "output" return value is not valid until after Send returns without error.
6913//
6914// See GetJobRuns for more information on using the GetJobRuns
6915// API call, and error handling.
6916//
6917// This method is useful when you want to inject custom logic or configuration
6918// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6919//
6920//
6921//    // Example sending a request using the GetJobRunsRequest method.
6922//    req, resp := client.GetJobRunsRequest(params)
6923//
6924//    err := req.Send()
6925//    if err == nil { // resp is now filled
6926//        fmt.Println(resp)
6927//    }
6928//
6929// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
6930func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) {
6931	op := &request.Operation{
6932		Name:       opGetJobRuns,
6933		HTTPMethod: "POST",
6934		HTTPPath:   "/",
6935		Paginator: &request.Paginator{
6936			InputTokens:     []string{"NextToken"},
6937			OutputTokens:    []string{"NextToken"},
6938			LimitToken:      "MaxResults",
6939			TruncationToken: "",
6940		},
6941	}
6942
6943	if input == nil {
6944		input = &GetJobRunsInput{}
6945	}
6946
6947	output = &GetJobRunsOutput{}
6948	req = c.newRequest(op, input, output)
6949	return
6950}
6951
6952// GetJobRuns API operation for AWS Glue.
6953//
6954// Retrieves metadata for all runs of a given job definition.
6955//
6956// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6957// with awserr.Error's Code and Message methods to get detailed information about
6958// the error.
6959//
6960// See the AWS API reference guide for AWS Glue's
6961// API operation GetJobRuns for usage and error information.
6962//
6963// Returned Error Types:
6964//   * InvalidInputException
6965//   The input provided was not valid.
6966//
6967//   * EntityNotFoundException
6968//   A specified entity does not exist
6969//
6970//   * InternalServiceException
6971//   An internal service error occurred.
6972//
6973//   * OperationTimeoutException
6974//   The operation timed out.
6975//
6976// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
6977func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) {
6978	req, out := c.GetJobRunsRequest(input)
6979	return out, req.Send()
6980}
6981
6982// GetJobRunsWithContext is the same as GetJobRuns with the addition of
6983// the ability to pass a context and additional request options.
6984//
6985// See GetJobRuns for details on how to use this API operation.
6986//
6987// The context must be non-nil and will be used for request cancellation. If
6988// the context is nil a panic will occur. In the future the SDK may create
6989// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6990// for more information on using Contexts.
6991func (c *Glue) GetJobRunsWithContext(ctx aws.Context, input *GetJobRunsInput, opts ...request.Option) (*GetJobRunsOutput, error) {
6992	req, out := c.GetJobRunsRequest(input)
6993	req.SetContext(ctx)
6994	req.ApplyOptions(opts...)
6995	return out, req.Send()
6996}
6997
6998// GetJobRunsPages iterates over the pages of a GetJobRuns operation,
6999// calling the "fn" function with the response data for each page. To stop
7000// iterating, return false from the fn function.
7001//
7002// See GetJobRuns method for more information on how to use this operation.
7003//
7004// Note: This operation can generate multiple requests to a service.
7005//
7006//    // Example iterating over at most 3 pages of a GetJobRuns operation.
7007//    pageNum := 0
7008//    err := client.GetJobRunsPages(params,
7009//        func(page *glue.GetJobRunsOutput, lastPage bool) bool {
7010//            pageNum++
7011//            fmt.Println(page)
7012//            return pageNum <= 3
7013//        })
7014//
7015func (c *Glue) GetJobRunsPages(input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool) error {
7016	return c.GetJobRunsPagesWithContext(aws.BackgroundContext(), input, fn)
7017}
7018
7019// GetJobRunsPagesWithContext same as GetJobRunsPages except
7020// it takes a Context and allows setting request options on the pages.
7021//
7022// The context must be non-nil and will be used for request cancellation. If
7023// the context is nil a panic will occur. In the future the SDK may create
7024// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7025// for more information on using Contexts.
7026func (c *Glue) GetJobRunsPagesWithContext(ctx aws.Context, input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool, opts ...request.Option) error {
7027	p := request.Pagination{
7028		NewRequest: func() (*request.Request, error) {
7029			var inCpy *GetJobRunsInput
7030			if input != nil {
7031				tmp := *input
7032				inCpy = &tmp
7033			}
7034			req, _ := c.GetJobRunsRequest(inCpy)
7035			req.SetContext(ctx)
7036			req.ApplyOptions(opts...)
7037			return req, nil
7038		},
7039	}
7040
7041	for p.Next() {
7042		if !fn(p.Page().(*GetJobRunsOutput), !p.HasNextPage()) {
7043			break
7044		}
7045	}
7046
7047	return p.Err()
7048}
7049
7050const opGetJobs = "GetJobs"
7051
7052// GetJobsRequest generates a "aws/request.Request" representing the
7053// client's request for the GetJobs operation. The "output" return
7054// value will be populated with the request's response once the request completes
7055// successfully.
7056//
7057// Use "Send" method on the returned Request to send the API call to the service.
7058// the "output" return value is not valid until after Send returns without error.
7059//
7060// See GetJobs for more information on using the GetJobs
7061// API call, and error handling.
7062//
7063// This method is useful when you want to inject custom logic or configuration
7064// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7065//
7066//
7067//    // Example sending a request using the GetJobsRequest method.
7068//    req, resp := client.GetJobsRequest(params)
7069//
7070//    err := req.Send()
7071//    if err == nil { // resp is now filled
7072//        fmt.Println(resp)
7073//    }
7074//
7075// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
7076func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) {
7077	op := &request.Operation{
7078		Name:       opGetJobs,
7079		HTTPMethod: "POST",
7080		HTTPPath:   "/",
7081		Paginator: &request.Paginator{
7082			InputTokens:     []string{"NextToken"},
7083			OutputTokens:    []string{"NextToken"},
7084			LimitToken:      "MaxResults",
7085			TruncationToken: "",
7086		},
7087	}
7088
7089	if input == nil {
7090		input = &GetJobsInput{}
7091	}
7092
7093	output = &GetJobsOutput{}
7094	req = c.newRequest(op, input, output)
7095	return
7096}
7097
7098// GetJobs API operation for AWS Glue.
7099//
7100// Retrieves all current job definitions.
7101//
7102// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7103// with awserr.Error's Code and Message methods to get detailed information about
7104// the error.
7105//
7106// See the AWS API reference guide for AWS Glue's
7107// API operation GetJobs for usage and error information.
7108//
7109// Returned Error Types:
7110//   * InvalidInputException
7111//   The input provided was not valid.
7112//
7113//   * EntityNotFoundException
7114//   A specified entity does not exist
7115//
7116//   * InternalServiceException
7117//   An internal service error occurred.
7118//
7119//   * OperationTimeoutException
7120//   The operation timed out.
7121//
7122// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
7123func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) {
7124	req, out := c.GetJobsRequest(input)
7125	return out, req.Send()
7126}
7127
7128// GetJobsWithContext is the same as GetJobs with the addition of
7129// the ability to pass a context and additional request options.
7130//
7131// See GetJobs for details on how to use this API operation.
7132//
7133// The context must be non-nil and will be used for request cancellation. If
7134// the context is nil a panic will occur. In the future the SDK may create
7135// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7136// for more information on using Contexts.
7137func (c *Glue) GetJobsWithContext(ctx aws.Context, input *GetJobsInput, opts ...request.Option) (*GetJobsOutput, error) {
7138	req, out := c.GetJobsRequest(input)
7139	req.SetContext(ctx)
7140	req.ApplyOptions(opts...)
7141	return out, req.Send()
7142}
7143
7144// GetJobsPages iterates over the pages of a GetJobs operation,
7145// calling the "fn" function with the response data for each page. To stop
7146// iterating, return false from the fn function.
7147//
7148// See GetJobs method for more information on how to use this operation.
7149//
7150// Note: This operation can generate multiple requests to a service.
7151//
7152//    // Example iterating over at most 3 pages of a GetJobs operation.
7153//    pageNum := 0
7154//    err := client.GetJobsPages(params,
7155//        func(page *glue.GetJobsOutput, lastPage bool) bool {
7156//            pageNum++
7157//            fmt.Println(page)
7158//            return pageNum <= 3
7159//        })
7160//
7161func (c *Glue) GetJobsPages(input *GetJobsInput, fn func(*GetJobsOutput, bool) bool) error {
7162	return c.GetJobsPagesWithContext(aws.BackgroundContext(), input, fn)
7163}
7164
7165// GetJobsPagesWithContext same as GetJobsPages except
7166// it takes a Context and allows setting request options on the pages.
7167//
7168// The context must be non-nil and will be used for request cancellation. If
7169// the context is nil a panic will occur. In the future the SDK may create
7170// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7171// for more information on using Contexts.
7172func (c *Glue) GetJobsPagesWithContext(ctx aws.Context, input *GetJobsInput, fn func(*GetJobsOutput, bool) bool, opts ...request.Option) error {
7173	p := request.Pagination{
7174		NewRequest: func() (*request.Request, error) {
7175			var inCpy *GetJobsInput
7176			if input != nil {
7177				tmp := *input
7178				inCpy = &tmp
7179			}
7180			req, _ := c.GetJobsRequest(inCpy)
7181			req.SetContext(ctx)
7182			req.ApplyOptions(opts...)
7183			return req, nil
7184		},
7185	}
7186
7187	for p.Next() {
7188		if !fn(p.Page().(*GetJobsOutput), !p.HasNextPage()) {
7189			break
7190		}
7191	}
7192
7193	return p.Err()
7194}
7195
7196const opGetMLTaskRun = "GetMLTaskRun"
7197
7198// GetMLTaskRunRequest generates a "aws/request.Request" representing the
7199// client's request for the GetMLTaskRun operation. The "output" return
7200// value will be populated with the request's response once the request completes
7201// successfully.
7202//
7203// Use "Send" method on the returned Request to send the API call to the service.
7204// the "output" return value is not valid until after Send returns without error.
7205//
7206// See GetMLTaskRun for more information on using the GetMLTaskRun
7207// API call, and error handling.
7208//
7209// This method is useful when you want to inject custom logic or configuration
7210// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7211//
7212//
7213//    // Example sending a request using the GetMLTaskRunRequest method.
7214//    req, resp := client.GetMLTaskRunRequest(params)
7215//
7216//    err := req.Send()
7217//    if err == nil { // resp is now filled
7218//        fmt.Println(resp)
7219//    }
7220//
7221// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
7222func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Request, output *GetMLTaskRunOutput) {
7223	op := &request.Operation{
7224		Name:       opGetMLTaskRun,
7225		HTTPMethod: "POST",
7226		HTTPPath:   "/",
7227	}
7228
7229	if input == nil {
7230		input = &GetMLTaskRunInput{}
7231	}
7232
7233	output = &GetMLTaskRunOutput{}
7234	req = c.newRequest(op, input, output)
7235	return
7236}
7237
7238// GetMLTaskRun API operation for AWS Glue.
7239//
7240// Gets details for a specific task run on a machine learning transform. Machine
7241// learning task runs are asynchronous tasks that AWS Glue runs on your behalf
7242// as part of various machine learning workflows. You can check the stats of
7243// any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's
7244// TransformID.
7245//
7246// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7247// with awserr.Error's Code and Message methods to get detailed information about
7248// the error.
7249//
7250// See the AWS API reference guide for AWS Glue's
7251// API operation GetMLTaskRun for usage and error information.
7252//
7253// Returned Error Types:
7254//   * EntityNotFoundException
7255//   A specified entity does not exist
7256//
7257//   * InvalidInputException
7258//   The input provided was not valid.
7259//
7260//   * OperationTimeoutException
7261//   The operation timed out.
7262//
7263//   * InternalServiceException
7264//   An internal service error occurred.
7265//
7266// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
7267func (c *Glue) GetMLTaskRun(input *GetMLTaskRunInput) (*GetMLTaskRunOutput, error) {
7268	req, out := c.GetMLTaskRunRequest(input)
7269	return out, req.Send()
7270}
7271
7272// GetMLTaskRunWithContext is the same as GetMLTaskRun with the addition of
7273// the ability to pass a context and additional request options.
7274//
7275// See GetMLTaskRun for details on how to use this API operation.
7276//
7277// The context must be non-nil and will be used for request cancellation. If
7278// the context is nil a panic will occur. In the future the SDK may create
7279// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7280// for more information on using Contexts.
7281func (c *Glue) GetMLTaskRunWithContext(ctx aws.Context, input *GetMLTaskRunInput, opts ...request.Option) (*GetMLTaskRunOutput, error) {
7282	req, out := c.GetMLTaskRunRequest(input)
7283	req.SetContext(ctx)
7284	req.ApplyOptions(opts...)
7285	return out, req.Send()
7286}
7287
7288const opGetMLTaskRuns = "GetMLTaskRuns"
7289
7290// GetMLTaskRunsRequest generates a "aws/request.Request" representing the
7291// client's request for the GetMLTaskRuns operation. The "output" return
7292// value will be populated with the request's response once the request completes
7293// successfully.
7294//
7295// Use "Send" method on the returned Request to send the API call to the service.
7296// the "output" return value is not valid until after Send returns without error.
7297//
7298// See GetMLTaskRuns for more information on using the GetMLTaskRuns
7299// API call, and error handling.
7300//
7301// This method is useful when you want to inject custom logic or configuration
7302// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7303//
7304//
7305//    // Example sending a request using the GetMLTaskRunsRequest method.
7306//    req, resp := client.GetMLTaskRunsRequest(params)
7307//
7308//    err := req.Send()
7309//    if err == nil { // resp is now filled
7310//        fmt.Println(resp)
7311//    }
7312//
7313// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
7314func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Request, output *GetMLTaskRunsOutput) {
7315	op := &request.Operation{
7316		Name:       opGetMLTaskRuns,
7317		HTTPMethod: "POST",
7318		HTTPPath:   "/",
7319		Paginator: &request.Paginator{
7320			InputTokens:     []string{"NextToken"},
7321			OutputTokens:    []string{"NextToken"},
7322			LimitToken:      "MaxResults",
7323			TruncationToken: "",
7324		},
7325	}
7326
7327	if input == nil {
7328		input = &GetMLTaskRunsInput{}
7329	}
7330
7331	output = &GetMLTaskRunsOutput{}
7332	req = c.newRequest(op, input, output)
7333	return
7334}
7335
7336// GetMLTaskRuns API operation for AWS Glue.
7337//
7338// Gets a list of runs for a machine learning transform. Machine learning task
7339// runs are asynchronous tasks that AWS Glue runs on your behalf as part of
7340// various machine learning workflows. You can get a sortable, filterable list
7341// of machine learning task runs by calling GetMLTaskRuns with their parent
7342// transform's TransformID and other optional parameters as documented in this
7343// section.
7344//
7345// This operation returns a list of historic runs and must be paginated.
7346//
7347// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7348// with awserr.Error's Code and Message methods to get detailed information about
7349// the error.
7350//
7351// See the AWS API reference guide for AWS Glue's
7352// API operation GetMLTaskRuns for usage and error information.
7353//
7354// Returned Error Types:
7355//   * EntityNotFoundException
7356//   A specified entity does not exist
7357//
7358//   * InvalidInputException
7359//   The input provided was not valid.
7360//
7361//   * OperationTimeoutException
7362//   The operation timed out.
7363//
7364//   * InternalServiceException
7365//   An internal service error occurred.
7366//
7367// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
7368func (c *Glue) GetMLTaskRuns(input *GetMLTaskRunsInput) (*GetMLTaskRunsOutput, error) {
7369	req, out := c.GetMLTaskRunsRequest(input)
7370	return out, req.Send()
7371}
7372
7373// GetMLTaskRunsWithContext is the same as GetMLTaskRuns with the addition of
7374// the ability to pass a context and additional request options.
7375//
7376// See GetMLTaskRuns for details on how to use this API operation.
7377//
7378// The context must be non-nil and will be used for request cancellation. If
7379// the context is nil a panic will occur. In the future the SDK may create
7380// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7381// for more information on using Contexts.
7382func (c *Glue) GetMLTaskRunsWithContext(ctx aws.Context, input *GetMLTaskRunsInput, opts ...request.Option) (*GetMLTaskRunsOutput, error) {
7383	req, out := c.GetMLTaskRunsRequest(input)
7384	req.SetContext(ctx)
7385	req.ApplyOptions(opts...)
7386	return out, req.Send()
7387}
7388
7389// GetMLTaskRunsPages iterates over the pages of a GetMLTaskRuns operation,
7390// calling the "fn" function with the response data for each page. To stop
7391// iterating, return false from the fn function.
7392//
7393// See GetMLTaskRuns method for more information on how to use this operation.
7394//
7395// Note: This operation can generate multiple requests to a service.
7396//
7397//    // Example iterating over at most 3 pages of a GetMLTaskRuns operation.
7398//    pageNum := 0
7399//    err := client.GetMLTaskRunsPages(params,
7400//        func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool {
7401//            pageNum++
7402//            fmt.Println(page)
7403//            return pageNum <= 3
7404//        })
7405//
7406func (c *Glue) GetMLTaskRunsPages(input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool) error {
7407	return c.GetMLTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn)
7408}
7409
7410// GetMLTaskRunsPagesWithContext same as GetMLTaskRunsPages except
7411// it takes a Context and allows setting request options on the pages.
7412//
7413// The context must be non-nil and will be used for request cancellation. If
7414// the context is nil a panic will occur. In the future the SDK may create
7415// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7416// for more information on using Contexts.
7417func (c *Glue) GetMLTaskRunsPagesWithContext(ctx aws.Context, input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool, opts ...request.Option) error {
7418	p := request.Pagination{
7419		NewRequest: func() (*request.Request, error) {
7420			var inCpy *GetMLTaskRunsInput
7421			if input != nil {
7422				tmp := *input
7423				inCpy = &tmp
7424			}
7425			req, _ := c.GetMLTaskRunsRequest(inCpy)
7426			req.SetContext(ctx)
7427			req.ApplyOptions(opts...)
7428			return req, nil
7429		},
7430	}
7431
7432	for p.Next() {
7433		if !fn(p.Page().(*GetMLTaskRunsOutput), !p.HasNextPage()) {
7434			break
7435		}
7436	}
7437
7438	return p.Err()
7439}
7440
7441const opGetMLTransform = "GetMLTransform"
7442
7443// GetMLTransformRequest generates a "aws/request.Request" representing the
7444// client's request for the GetMLTransform operation. The "output" return
7445// value will be populated with the request's response once the request completes
7446// successfully.
7447//
7448// Use "Send" method on the returned Request to send the API call to the service.
7449// the "output" return value is not valid until after Send returns without error.
7450//
7451// See GetMLTransform for more information on using the GetMLTransform
7452// API call, and error handling.
7453//
7454// This method is useful when you want to inject custom logic or configuration
7455// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7456//
7457//
7458//    // Example sending a request using the GetMLTransformRequest method.
7459//    req, resp := client.GetMLTransformRequest(params)
7460//
7461//    err := req.Send()
7462//    if err == nil { // resp is now filled
7463//        fmt.Println(resp)
7464//    }
7465//
7466// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
7467func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.Request, output *GetMLTransformOutput) {
7468	op := &request.Operation{
7469		Name:       opGetMLTransform,
7470		HTTPMethod: "POST",
7471		HTTPPath:   "/",
7472	}
7473
7474	if input == nil {
7475		input = &GetMLTransformInput{}
7476	}
7477
7478	output = &GetMLTransformOutput{}
7479	req = c.newRequest(op, input, output)
7480	return
7481}
7482
7483// GetMLTransform API operation for AWS Glue.
7484//
7485// Gets an AWS Glue machine learning transform artifact and all its corresponding
7486// metadata. Machine learning transforms are a special type of transform that
7487// use machine learning to learn the details of the transformation to be performed
7488// by learning from examples provided by humans. These transformations are then
7489// saved by AWS Glue. You can retrieve their metadata by calling GetMLTransform.
7490//
7491// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7492// with awserr.Error's Code and Message methods to get detailed information about
7493// the error.
7494//
7495// See the AWS API reference guide for AWS Glue's
7496// API operation GetMLTransform for usage and error information.
7497//
7498// Returned Error Types:
7499//   * EntityNotFoundException
7500//   A specified entity does not exist
7501//
7502//   * InvalidInputException
7503//   The input provided was not valid.
7504//
7505//   * OperationTimeoutException
7506//   The operation timed out.
7507//
7508//   * InternalServiceException
7509//   An internal service error occurred.
7510//
7511// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
7512func (c *Glue) GetMLTransform(input *GetMLTransformInput) (*GetMLTransformOutput, error) {
7513	req, out := c.GetMLTransformRequest(input)
7514	return out, req.Send()
7515}
7516
7517// GetMLTransformWithContext is the same as GetMLTransform with the addition of
7518// the ability to pass a context and additional request options.
7519//
7520// See GetMLTransform for details on how to use this API operation.
7521//
7522// The context must be non-nil and will be used for request cancellation. If
7523// the context is nil a panic will occur. In the future the SDK may create
7524// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7525// for more information on using Contexts.
7526func (c *Glue) GetMLTransformWithContext(ctx aws.Context, input *GetMLTransformInput, opts ...request.Option) (*GetMLTransformOutput, error) {
7527	req, out := c.GetMLTransformRequest(input)
7528	req.SetContext(ctx)
7529	req.ApplyOptions(opts...)
7530	return out, req.Send()
7531}
7532
7533const opGetMLTransforms = "GetMLTransforms"
7534
7535// GetMLTransformsRequest generates a "aws/request.Request" representing the
7536// client's request for the GetMLTransforms operation. The "output" return
7537// value will be populated with the request's response once the request completes
7538// successfully.
7539//
7540// Use "Send" method on the returned Request to send the API call to the service.
7541// the "output" return value is not valid until after Send returns without error.
7542//
7543// See GetMLTransforms for more information on using the GetMLTransforms
7544// API call, and error handling.
7545//
7546// This method is useful when you want to inject custom logic or configuration
7547// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7548//
7549//
7550//    // Example sending a request using the GetMLTransformsRequest method.
7551//    req, resp := client.GetMLTransformsRequest(params)
7552//
7553//    err := req.Send()
7554//    if err == nil { // resp is now filled
7555//        fmt.Println(resp)
7556//    }
7557//
7558// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
7559func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request.Request, output *GetMLTransformsOutput) {
7560	op := &request.Operation{
7561		Name:       opGetMLTransforms,
7562		HTTPMethod: "POST",
7563		HTTPPath:   "/",
7564		Paginator: &request.Paginator{
7565			InputTokens:     []string{"NextToken"},
7566			OutputTokens:    []string{"NextToken"},
7567			LimitToken:      "MaxResults",
7568			TruncationToken: "",
7569		},
7570	}
7571
7572	if input == nil {
7573		input = &GetMLTransformsInput{}
7574	}
7575
7576	output = &GetMLTransformsOutput{}
7577	req = c.newRequest(op, input, output)
7578	return
7579}
7580
7581// GetMLTransforms API operation for AWS Glue.
7582//
7583// Gets a sortable, filterable list of existing AWS Glue machine learning transforms.
7584// Machine learning transforms are a special type of transform that use machine
7585// learning to learn the details of the transformation to be performed by learning
7586// from examples provided by humans. These transformations are then saved by
7587// AWS Glue, and you can retrieve their metadata by calling GetMLTransforms.
7588//
7589// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7590// with awserr.Error's Code and Message methods to get detailed information about
7591// the error.
7592//
7593// See the AWS API reference guide for AWS Glue's
7594// API operation GetMLTransforms for usage and error information.
7595//
7596// Returned Error Types:
7597//   * EntityNotFoundException
7598//   A specified entity does not exist
7599//
7600//   * InvalidInputException
7601//   The input provided was not valid.
7602//
7603//   * OperationTimeoutException
7604//   The operation timed out.
7605//
7606//   * InternalServiceException
7607//   An internal service error occurred.
7608//
7609// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
7610func (c *Glue) GetMLTransforms(input *GetMLTransformsInput) (*GetMLTransformsOutput, error) {
7611	req, out := c.GetMLTransformsRequest(input)
7612	return out, req.Send()
7613}
7614
7615// GetMLTransformsWithContext is the same as GetMLTransforms with the addition of
7616// the ability to pass a context and additional request options.
7617//
7618// See GetMLTransforms for details on how to use this API operation.
7619//
7620// The context must be non-nil and will be used for request cancellation. If
7621// the context is nil a panic will occur. In the future the SDK may create
7622// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7623// for more information on using Contexts.
7624func (c *Glue) GetMLTransformsWithContext(ctx aws.Context, input *GetMLTransformsInput, opts ...request.Option) (*GetMLTransformsOutput, error) {
7625	req, out := c.GetMLTransformsRequest(input)
7626	req.SetContext(ctx)
7627	req.ApplyOptions(opts...)
7628	return out, req.Send()
7629}
7630
7631// GetMLTransformsPages iterates over the pages of a GetMLTransforms operation,
7632// calling the "fn" function with the response data for each page. To stop
7633// iterating, return false from the fn function.
7634//
7635// See GetMLTransforms method for more information on how to use this operation.
7636//
7637// Note: This operation can generate multiple requests to a service.
7638//
7639//    // Example iterating over at most 3 pages of a GetMLTransforms operation.
7640//    pageNum := 0
7641//    err := client.GetMLTransformsPages(params,
7642//        func(page *glue.GetMLTransformsOutput, lastPage bool) bool {
7643//            pageNum++
7644//            fmt.Println(page)
7645//            return pageNum <= 3
7646//        })
7647//
7648func (c *Glue) GetMLTransformsPages(input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool) error {
7649	return c.GetMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn)
7650}
7651
7652// GetMLTransformsPagesWithContext same as GetMLTransformsPages except
7653// it takes a Context and allows setting request options on the pages.
7654//
7655// The context must be non-nil and will be used for request cancellation. If
7656// the context is nil a panic will occur. In the future the SDK may create
7657// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7658// for more information on using Contexts.
7659func (c *Glue) GetMLTransformsPagesWithContext(ctx aws.Context, input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool, opts ...request.Option) error {
7660	p := request.Pagination{
7661		NewRequest: func() (*request.Request, error) {
7662			var inCpy *GetMLTransformsInput
7663			if input != nil {
7664				tmp := *input
7665				inCpy = &tmp
7666			}
7667			req, _ := c.GetMLTransformsRequest(inCpy)
7668			req.SetContext(ctx)
7669			req.ApplyOptions(opts...)
7670			return req, nil
7671		},
7672	}
7673
7674	for p.Next() {
7675		if !fn(p.Page().(*GetMLTransformsOutput), !p.HasNextPage()) {
7676			break
7677		}
7678	}
7679
7680	return p.Err()
7681}
7682
7683const opGetMapping = "GetMapping"
7684
7685// GetMappingRequest generates a "aws/request.Request" representing the
7686// client's request for the GetMapping operation. The "output" return
7687// value will be populated with the request's response once the request completes
7688// successfully.
7689//
7690// Use "Send" method on the returned Request to send the API call to the service.
7691// the "output" return value is not valid until after Send returns without error.
7692//
7693// See GetMapping for more information on using the GetMapping
7694// API call, and error handling.
7695//
7696// This method is useful when you want to inject custom logic or configuration
7697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7698//
7699//
7700//    // Example sending a request using the GetMappingRequest method.
7701//    req, resp := client.GetMappingRequest(params)
7702//
7703//    err := req.Send()
7704//    if err == nil { // resp is now filled
7705//        fmt.Println(resp)
7706//    }
7707//
7708// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
7709func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) {
7710	op := &request.Operation{
7711		Name:       opGetMapping,
7712		HTTPMethod: "POST",
7713		HTTPPath:   "/",
7714	}
7715
7716	if input == nil {
7717		input = &GetMappingInput{}
7718	}
7719
7720	output = &GetMappingOutput{}
7721	req = c.newRequest(op, input, output)
7722	return
7723}
7724
7725// GetMapping API operation for AWS Glue.
7726//
7727// Creates mappings.
7728//
7729// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7730// with awserr.Error's Code and Message methods to get detailed information about
7731// the error.
7732//
7733// See the AWS API reference guide for AWS Glue's
7734// API operation GetMapping for usage and error information.
7735//
7736// Returned Error Types:
7737//   * InvalidInputException
7738//   The input provided was not valid.
7739//
7740//   * InternalServiceException
7741//   An internal service error occurred.
7742//
7743//   * OperationTimeoutException
7744//   The operation timed out.
7745//
7746//   * EntityNotFoundException
7747//   A specified entity does not exist
7748//
7749// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
7750func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) {
7751	req, out := c.GetMappingRequest(input)
7752	return out, req.Send()
7753}
7754
7755// GetMappingWithContext is the same as GetMapping with the addition of
7756// the ability to pass a context and additional request options.
7757//
7758// See GetMapping for details on how to use this API operation.
7759//
7760// The context must be non-nil and will be used for request cancellation. If
7761// the context is nil a panic will occur. In the future the SDK may create
7762// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7763// for more information on using Contexts.
7764func (c *Glue) GetMappingWithContext(ctx aws.Context, input *GetMappingInput, opts ...request.Option) (*GetMappingOutput, error) {
7765	req, out := c.GetMappingRequest(input)
7766	req.SetContext(ctx)
7767	req.ApplyOptions(opts...)
7768	return out, req.Send()
7769}
7770
7771const opGetPartition = "GetPartition"
7772
7773// GetPartitionRequest generates a "aws/request.Request" representing the
7774// client's request for the GetPartition operation. The "output" return
7775// value will be populated with the request's response once the request completes
7776// successfully.
7777//
7778// Use "Send" method on the returned Request to send the API call to the service.
7779// the "output" return value is not valid until after Send returns without error.
7780//
7781// See GetPartition for more information on using the GetPartition
7782// API call, and error handling.
7783//
7784// This method is useful when you want to inject custom logic or configuration
7785// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7786//
7787//
7788//    // Example sending a request using the GetPartitionRequest method.
7789//    req, resp := client.GetPartitionRequest(params)
7790//
7791//    err := req.Send()
7792//    if err == nil { // resp is now filled
7793//        fmt.Println(resp)
7794//    }
7795//
7796// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
7797func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) {
7798	op := &request.Operation{
7799		Name:       opGetPartition,
7800		HTTPMethod: "POST",
7801		HTTPPath:   "/",
7802	}
7803
7804	if input == nil {
7805		input = &GetPartitionInput{}
7806	}
7807
7808	output = &GetPartitionOutput{}
7809	req = c.newRequest(op, input, output)
7810	return
7811}
7812
7813// GetPartition API operation for AWS Glue.
7814//
7815// Retrieves information about a specified partition.
7816//
7817// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7818// with awserr.Error's Code and Message methods to get detailed information about
7819// the error.
7820//
7821// See the AWS API reference guide for AWS Glue's
7822// API operation GetPartition for usage and error information.
7823//
7824// Returned Error Types:
7825//   * EntityNotFoundException
7826//   A specified entity does not exist
7827//
7828//   * InvalidInputException
7829//   The input provided was not valid.
7830//
7831//   * InternalServiceException
7832//   An internal service error occurred.
7833//
7834//   * OperationTimeoutException
7835//   The operation timed out.
7836//
7837//   * EncryptionException
7838//   An encryption operation failed.
7839//
7840// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
7841func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) {
7842	req, out := c.GetPartitionRequest(input)
7843	return out, req.Send()
7844}
7845
7846// GetPartitionWithContext is the same as GetPartition with the addition of
7847// the ability to pass a context and additional request options.
7848//
7849// See GetPartition for details on how to use this API operation.
7850//
7851// The context must be non-nil and will be used for request cancellation. If
7852// the context is nil a panic will occur. In the future the SDK may create
7853// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7854// for more information on using Contexts.
7855func (c *Glue) GetPartitionWithContext(ctx aws.Context, input *GetPartitionInput, opts ...request.Option) (*GetPartitionOutput, error) {
7856	req, out := c.GetPartitionRequest(input)
7857	req.SetContext(ctx)
7858	req.ApplyOptions(opts...)
7859	return out, req.Send()
7860}
7861
7862const opGetPartitionIndexes = "GetPartitionIndexes"
7863
7864// GetPartitionIndexesRequest generates a "aws/request.Request" representing the
7865// client's request for the GetPartitionIndexes operation. The "output" return
7866// value will be populated with the request's response once the request completes
7867// successfully.
7868//
7869// Use "Send" method on the returned Request to send the API call to the service.
7870// the "output" return value is not valid until after Send returns without error.
7871//
7872// See GetPartitionIndexes for more information on using the GetPartitionIndexes
7873// API call, and error handling.
7874//
7875// This method is useful when you want to inject custom logic or configuration
7876// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7877//
7878//
7879//    // Example sending a request using the GetPartitionIndexesRequest method.
7880//    req, resp := client.GetPartitionIndexesRequest(params)
7881//
7882//    err := req.Send()
7883//    if err == nil { // resp is now filled
7884//        fmt.Println(resp)
7885//    }
7886//
7887// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes
7888func (c *Glue) GetPartitionIndexesRequest(input *GetPartitionIndexesInput) (req *request.Request, output *GetPartitionIndexesOutput) {
7889	op := &request.Operation{
7890		Name:       opGetPartitionIndexes,
7891		HTTPMethod: "POST",
7892		HTTPPath:   "/",
7893		Paginator: &request.Paginator{
7894			InputTokens:     []string{"NextToken"},
7895			OutputTokens:    []string{"NextToken"},
7896			LimitToken:      "",
7897			TruncationToken: "",
7898		},
7899	}
7900
7901	if input == nil {
7902		input = &GetPartitionIndexesInput{}
7903	}
7904
7905	output = &GetPartitionIndexesOutput{}
7906	req = c.newRequest(op, input, output)
7907	return
7908}
7909
7910// GetPartitionIndexes API operation for AWS Glue.
7911//
7912// Retrieves the partition indexes associated with a table.
7913//
7914// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7915// with awserr.Error's Code and Message methods to get detailed information about
7916// the error.
7917//
7918// See the AWS API reference guide for AWS Glue's
7919// API operation GetPartitionIndexes for usage and error information.
7920//
7921// Returned Error Types:
7922//   * InternalServiceException
7923//   An internal service error occurred.
7924//
7925//   * OperationTimeoutException
7926//   The operation timed out.
7927//
7928//   * InvalidInputException
7929//   The input provided was not valid.
7930//
7931//   * EntityNotFoundException
7932//   A specified entity does not exist
7933//
7934//   * ConflictException
7935//   The CreatePartitions API was called on a table that has indexes enabled.
7936//
7937// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes
7938func (c *Glue) GetPartitionIndexes(input *GetPartitionIndexesInput) (*GetPartitionIndexesOutput, error) {
7939	req, out := c.GetPartitionIndexesRequest(input)
7940	return out, req.Send()
7941}
7942
7943// GetPartitionIndexesWithContext is the same as GetPartitionIndexes with the addition of
7944// the ability to pass a context and additional request options.
7945//
7946// See GetPartitionIndexes for details on how to use this API operation.
7947//
7948// The context must be non-nil and will be used for request cancellation. If
7949// the context is nil a panic will occur. In the future the SDK may create
7950// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7951// for more information on using Contexts.
7952func (c *Glue) GetPartitionIndexesWithContext(ctx aws.Context, input *GetPartitionIndexesInput, opts ...request.Option) (*GetPartitionIndexesOutput, error) {
7953	req, out := c.GetPartitionIndexesRequest(input)
7954	req.SetContext(ctx)
7955	req.ApplyOptions(opts...)
7956	return out, req.Send()
7957}
7958
7959// GetPartitionIndexesPages iterates over the pages of a GetPartitionIndexes operation,
7960// calling the "fn" function with the response data for each page. To stop
7961// iterating, return false from the fn function.
7962//
7963// See GetPartitionIndexes method for more information on how to use this operation.
7964//
7965// Note: This operation can generate multiple requests to a service.
7966//
7967//    // Example iterating over at most 3 pages of a GetPartitionIndexes operation.
7968//    pageNum := 0
7969//    err := client.GetPartitionIndexesPages(params,
7970//        func(page *glue.GetPartitionIndexesOutput, lastPage bool) bool {
7971//            pageNum++
7972//            fmt.Println(page)
7973//            return pageNum <= 3
7974//        })
7975//
7976func (c *Glue) GetPartitionIndexesPages(input *GetPartitionIndexesInput, fn func(*GetPartitionIndexesOutput, bool) bool) error {
7977	return c.GetPartitionIndexesPagesWithContext(aws.BackgroundContext(), input, fn)
7978}
7979
7980// GetPartitionIndexesPagesWithContext same as GetPartitionIndexesPages except
7981// it takes a Context and allows setting request options on the pages.
7982//
7983// The context must be non-nil and will be used for request cancellation. If
7984// the context is nil a panic will occur. In the future the SDK may create
7985// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7986// for more information on using Contexts.
7987func (c *Glue) GetPartitionIndexesPagesWithContext(ctx aws.Context, input *GetPartitionIndexesInput, fn func(*GetPartitionIndexesOutput, bool) bool, opts ...request.Option) error {
7988	p := request.Pagination{
7989		NewRequest: func() (*request.Request, error) {
7990			var inCpy *GetPartitionIndexesInput
7991			if input != nil {
7992				tmp := *input
7993				inCpy = &tmp
7994			}
7995			req, _ := c.GetPartitionIndexesRequest(inCpy)
7996			req.SetContext(ctx)
7997			req.ApplyOptions(opts...)
7998			return req, nil
7999		},
8000	}
8001
8002	for p.Next() {
8003		if !fn(p.Page().(*GetPartitionIndexesOutput), !p.HasNextPage()) {
8004			break
8005		}
8006	}
8007
8008	return p.Err()
8009}
8010
8011const opGetPartitions = "GetPartitions"
8012
8013// GetPartitionsRequest generates a "aws/request.Request" representing the
8014// client's request for the GetPartitions operation. The "output" return
8015// value will be populated with the request's response once the request completes
8016// successfully.
8017//
8018// Use "Send" method on the returned Request to send the API call to the service.
8019// the "output" return value is not valid until after Send returns without error.
8020//
8021// See GetPartitions for more information on using the GetPartitions
8022// API call, and error handling.
8023//
8024// This method is useful when you want to inject custom logic or configuration
8025// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8026//
8027//
8028//    // Example sending a request using the GetPartitionsRequest method.
8029//    req, resp := client.GetPartitionsRequest(params)
8030//
8031//    err := req.Send()
8032//    if err == nil { // resp is now filled
8033//        fmt.Println(resp)
8034//    }
8035//
8036// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
8037func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) {
8038	op := &request.Operation{
8039		Name:       opGetPartitions,
8040		HTTPMethod: "POST",
8041		HTTPPath:   "/",
8042		Paginator: &request.Paginator{
8043			InputTokens:     []string{"NextToken"},
8044			OutputTokens:    []string{"NextToken"},
8045			LimitToken:      "MaxResults",
8046			TruncationToken: "",
8047		},
8048	}
8049
8050	if input == nil {
8051		input = &GetPartitionsInput{}
8052	}
8053
8054	output = &GetPartitionsOutput{}
8055	req = c.newRequest(op, input, output)
8056	return
8057}
8058
8059// GetPartitions API operation for AWS Glue.
8060//
8061// Retrieves information about the partitions in a table.
8062//
8063// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8064// with awserr.Error's Code and Message methods to get detailed information about
8065// the error.
8066//
8067// See the AWS API reference guide for AWS Glue's
8068// API operation GetPartitions for usage and error information.
8069//
8070// Returned Error Types:
8071//   * EntityNotFoundException
8072//   A specified entity does not exist
8073//
8074//   * InvalidInputException
8075//   The input provided was not valid.
8076//
8077//   * OperationTimeoutException
8078//   The operation timed out.
8079//
8080//   * InternalServiceException
8081//   An internal service error occurred.
8082//
8083//   * EncryptionException
8084//   An encryption operation failed.
8085//
8086// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
8087func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) {
8088	req, out := c.GetPartitionsRequest(input)
8089	return out, req.Send()
8090}
8091
8092// GetPartitionsWithContext is the same as GetPartitions with the addition of
8093// the ability to pass a context and additional request options.
8094//
8095// See GetPartitions for details on how to use this API operation.
8096//
8097// The context must be non-nil and will be used for request cancellation. If
8098// the context is nil a panic will occur. In the future the SDK may create
8099// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8100// for more information on using Contexts.
8101func (c *Glue) GetPartitionsWithContext(ctx aws.Context, input *GetPartitionsInput, opts ...request.Option) (*GetPartitionsOutput, error) {
8102	req, out := c.GetPartitionsRequest(input)
8103	req.SetContext(ctx)
8104	req.ApplyOptions(opts...)
8105	return out, req.Send()
8106}
8107
8108// GetPartitionsPages iterates over the pages of a GetPartitions operation,
8109// calling the "fn" function with the response data for each page. To stop
8110// iterating, return false from the fn function.
8111//
8112// See GetPartitions method for more information on how to use this operation.
8113//
8114// Note: This operation can generate multiple requests to a service.
8115//
8116//    // Example iterating over at most 3 pages of a GetPartitions operation.
8117//    pageNum := 0
8118//    err := client.GetPartitionsPages(params,
8119//        func(page *glue.GetPartitionsOutput, lastPage bool) bool {
8120//            pageNum++
8121//            fmt.Println(page)
8122//            return pageNum <= 3
8123//        })
8124//
8125func (c *Glue) GetPartitionsPages(input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool) error {
8126	return c.GetPartitionsPagesWithContext(aws.BackgroundContext(), input, fn)
8127}
8128
8129// GetPartitionsPagesWithContext same as GetPartitionsPages except
8130// it takes a Context and allows setting request options on the pages.
8131//
8132// The context must be non-nil and will be used for request cancellation. If
8133// the context is nil a panic will occur. In the future the SDK may create
8134// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8135// for more information on using Contexts.
8136func (c *Glue) GetPartitionsPagesWithContext(ctx aws.Context, input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool, opts ...request.Option) error {
8137	p := request.Pagination{
8138		NewRequest: func() (*request.Request, error) {
8139			var inCpy *GetPartitionsInput
8140			if input != nil {
8141				tmp := *input
8142				inCpy = &tmp
8143			}
8144			req, _ := c.GetPartitionsRequest(inCpy)
8145			req.SetContext(ctx)
8146			req.ApplyOptions(opts...)
8147			return req, nil
8148		},
8149	}
8150
8151	for p.Next() {
8152		if !fn(p.Page().(*GetPartitionsOutput), !p.HasNextPage()) {
8153			break
8154		}
8155	}
8156
8157	return p.Err()
8158}
8159
8160const opGetPlan = "GetPlan"
8161
8162// GetPlanRequest generates a "aws/request.Request" representing the
8163// client's request for the GetPlan operation. The "output" return
8164// value will be populated with the request's response once the request completes
8165// successfully.
8166//
8167// Use "Send" method on the returned Request to send the API call to the service.
8168// the "output" return value is not valid until after Send returns without error.
8169//
8170// See GetPlan for more information on using the GetPlan
8171// API call, and error handling.
8172//
8173// This method is useful when you want to inject custom logic or configuration
8174// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8175//
8176//
8177//    // Example sending a request using the GetPlanRequest method.
8178//    req, resp := client.GetPlanRequest(params)
8179//
8180//    err := req.Send()
8181//    if err == nil { // resp is now filled
8182//        fmt.Println(resp)
8183//    }
8184//
8185// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
8186func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) {
8187	op := &request.Operation{
8188		Name:       opGetPlan,
8189		HTTPMethod: "POST",
8190		HTTPPath:   "/",
8191	}
8192
8193	if input == nil {
8194		input = &GetPlanInput{}
8195	}
8196
8197	output = &GetPlanOutput{}
8198	req = c.newRequest(op, input, output)
8199	return
8200}
8201
8202// GetPlan API operation for AWS Glue.
8203//
8204// Gets code to perform a specified mapping.
8205//
8206// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8207// with awserr.Error's Code and Message methods to get detailed information about
8208// the error.
8209//
8210// See the AWS API reference guide for AWS Glue's
8211// API operation GetPlan for usage and error information.
8212//
8213// Returned Error Types:
8214//   * InvalidInputException
8215//   The input provided was not valid.
8216//
8217//   * InternalServiceException
8218//   An internal service error occurred.
8219//
8220//   * OperationTimeoutException
8221//   The operation timed out.
8222//
8223// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
8224func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) {
8225	req, out := c.GetPlanRequest(input)
8226	return out, req.Send()
8227}
8228
8229// GetPlanWithContext is the same as GetPlan with the addition of
8230// the ability to pass a context and additional request options.
8231//
8232// See GetPlan for details on how to use this API operation.
8233//
8234// The context must be non-nil and will be used for request cancellation. If
8235// the context is nil a panic will occur. In the future the SDK may create
8236// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8237// for more information on using Contexts.
8238func (c *Glue) GetPlanWithContext(ctx aws.Context, input *GetPlanInput, opts ...request.Option) (*GetPlanOutput, error) {
8239	req, out := c.GetPlanRequest(input)
8240	req.SetContext(ctx)
8241	req.ApplyOptions(opts...)
8242	return out, req.Send()
8243}
8244
8245const opGetRegistry = "GetRegistry"
8246
8247// GetRegistryRequest generates a "aws/request.Request" representing the
8248// client's request for the GetRegistry operation. The "output" return
8249// value will be populated with the request's response once the request completes
8250// successfully.
8251//
8252// Use "Send" method on the returned Request to send the API call to the service.
8253// the "output" return value is not valid until after Send returns without error.
8254//
8255// See GetRegistry for more information on using the GetRegistry
8256// API call, and error handling.
8257//
8258// This method is useful when you want to inject custom logic or configuration
8259// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8260//
8261//
8262//    // Example sending a request using the GetRegistryRequest method.
8263//    req, resp := client.GetRegistryRequest(params)
8264//
8265//    err := req.Send()
8266//    if err == nil { // resp is now filled
8267//        fmt.Println(resp)
8268//    }
8269//
8270// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry
8271func (c *Glue) GetRegistryRequest(input *GetRegistryInput) (req *request.Request, output *GetRegistryOutput) {
8272	op := &request.Operation{
8273		Name:       opGetRegistry,
8274		HTTPMethod: "POST",
8275		HTTPPath:   "/",
8276	}
8277
8278	if input == nil {
8279		input = &GetRegistryInput{}
8280	}
8281
8282	output = &GetRegistryOutput{}
8283	req = c.newRequest(op, input, output)
8284	return
8285}
8286
8287// GetRegistry API operation for AWS Glue.
8288//
8289// Describes the specified registry in detail.
8290//
8291// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8292// with awserr.Error's Code and Message methods to get detailed information about
8293// the error.
8294//
8295// See the AWS API reference guide for AWS Glue's
8296// API operation GetRegistry for usage and error information.
8297//
8298// Returned Error Types:
8299//   * InvalidInputException
8300//   The input provided was not valid.
8301//
8302//   * AccessDeniedException
8303//   Access to a resource was denied.
8304//
8305//   * EntityNotFoundException
8306//   A specified entity does not exist
8307//
8308//   * InternalServiceException
8309//   An internal service error occurred.
8310//
8311// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry
8312func (c *Glue) GetRegistry(input *GetRegistryInput) (*GetRegistryOutput, error) {
8313	req, out := c.GetRegistryRequest(input)
8314	return out, req.Send()
8315}
8316
8317// GetRegistryWithContext is the same as GetRegistry with the addition of
8318// the ability to pass a context and additional request options.
8319//
8320// See GetRegistry for details on how to use this API operation.
8321//
8322// The context must be non-nil and will be used for request cancellation. If
8323// the context is nil a panic will occur. In the future the SDK may create
8324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8325// for more information on using Contexts.
8326func (c *Glue) GetRegistryWithContext(ctx aws.Context, input *GetRegistryInput, opts ...request.Option) (*GetRegistryOutput, error) {
8327	req, out := c.GetRegistryRequest(input)
8328	req.SetContext(ctx)
8329	req.ApplyOptions(opts...)
8330	return out, req.Send()
8331}
8332
8333const opGetResourcePolicies = "GetResourcePolicies"
8334
8335// GetResourcePoliciesRequest generates a "aws/request.Request" representing the
8336// client's request for the GetResourcePolicies operation. The "output" return
8337// value will be populated with the request's response once the request completes
8338// successfully.
8339//
8340// Use "Send" method on the returned Request to send the API call to the service.
8341// the "output" return value is not valid until after Send returns without error.
8342//
8343// See GetResourcePolicies for more information on using the GetResourcePolicies
8344// API call, and error handling.
8345//
8346// This method is useful when you want to inject custom logic or configuration
8347// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8348//
8349//
8350//    // Example sending a request using the GetResourcePoliciesRequest method.
8351//    req, resp := client.GetResourcePoliciesRequest(params)
8352//
8353//    err := req.Send()
8354//    if err == nil { // resp is now filled
8355//        fmt.Println(resp)
8356//    }
8357//
8358// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies
8359func (c *Glue) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) {
8360	op := &request.Operation{
8361		Name:       opGetResourcePolicies,
8362		HTTPMethod: "POST",
8363		HTTPPath:   "/",
8364		Paginator: &request.Paginator{
8365			InputTokens:     []string{"NextToken"},
8366			OutputTokens:    []string{"NextToken"},
8367			LimitToken:      "MaxResults",
8368			TruncationToken: "",
8369		},
8370	}
8371
8372	if input == nil {
8373		input = &GetResourcePoliciesInput{}
8374	}
8375
8376	output = &GetResourcePoliciesOutput{}
8377	req = c.newRequest(op, input, output)
8378	return
8379}
8380
8381// GetResourcePolicies API operation for AWS Glue.
8382//
8383// Retrieves the security configurations for the resource policies set on individual
8384// resources, and also the account-level policy.
8385//
8386// This operation also returns the Data Catalog resource policy. However, if
8387// you enabled metadata encryption in Data Catalog settings, and you do not
8388// have permission on the AWS KMS key, the operation can't return the Data Catalog
8389// resource policy.
8390//
8391// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8392// with awserr.Error's Code and Message methods to get detailed information about
8393// the error.
8394//
8395// See the AWS API reference guide for AWS Glue's
8396// API operation GetResourcePolicies for usage and error information.
8397//
8398// Returned Error Types:
8399//   * InternalServiceException
8400//   An internal service error occurred.
8401//
8402//   * OperationTimeoutException
8403//   The operation timed out.
8404//
8405//   * InvalidInputException
8406//   The input provided was not valid.
8407//
8408//   * EncryptionException
8409//   An encryption operation failed.
8410//
8411// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies
8412func (c *Glue) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) {
8413	req, out := c.GetResourcePoliciesRequest(input)
8414	return out, req.Send()
8415}
8416
8417// GetResourcePoliciesWithContext is the same as GetResourcePolicies with the addition of
8418// the ability to pass a context and additional request options.
8419//
8420// See GetResourcePolicies for details on how to use this API operation.
8421//
8422// The context must be non-nil and will be used for request cancellation. If
8423// the context is nil a panic will occur. In the future the SDK may create
8424// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8425// for more information on using Contexts.
8426func (c *Glue) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error) {
8427	req, out := c.GetResourcePoliciesRequest(input)
8428	req.SetContext(ctx)
8429	req.ApplyOptions(opts...)
8430	return out, req.Send()
8431}
8432
8433// GetResourcePoliciesPages iterates over the pages of a GetResourcePolicies operation,
8434// calling the "fn" function with the response data for each page. To stop
8435// iterating, return false from the fn function.
8436//
8437// See GetResourcePolicies method for more information on how to use this operation.
8438//
8439// Note: This operation can generate multiple requests to a service.
8440//
8441//    // Example iterating over at most 3 pages of a GetResourcePolicies operation.
8442//    pageNum := 0
8443//    err := client.GetResourcePoliciesPages(params,
8444//        func(page *glue.GetResourcePoliciesOutput, lastPage bool) bool {
8445//            pageNum++
8446//            fmt.Println(page)
8447//            return pageNum <= 3
8448//        })
8449//
8450func (c *Glue) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error {
8451	return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
8452}
8453
8454// GetResourcePoliciesPagesWithContext same as GetResourcePoliciesPages except
8455// it takes a Context and allows setting request options on the pages.
8456//
8457// The context must be non-nil and will be used for request cancellation. If
8458// the context is nil a panic will occur. In the future the SDK may create
8459// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8460// for more information on using Contexts.
8461func (c *Glue) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool, opts ...request.Option) error {
8462	p := request.Pagination{
8463		NewRequest: func() (*request.Request, error) {
8464			var inCpy *GetResourcePoliciesInput
8465			if input != nil {
8466				tmp := *input
8467				inCpy = &tmp
8468			}
8469			req, _ := c.GetResourcePoliciesRequest(inCpy)
8470			req.SetContext(ctx)
8471			req.ApplyOptions(opts...)
8472			return req, nil
8473		},
8474	}
8475
8476	for p.Next() {
8477		if !fn(p.Page().(*GetResourcePoliciesOutput), !p.HasNextPage()) {
8478			break
8479		}
8480	}
8481
8482	return p.Err()
8483}
8484
8485const opGetResourcePolicy = "GetResourcePolicy"
8486
8487// GetResourcePolicyRequest generates a "aws/request.Request" representing the
8488// client's request for the GetResourcePolicy operation. The "output" return
8489// value will be populated with the request's response once the request completes
8490// successfully.
8491//
8492// Use "Send" method on the returned Request to send the API call to the service.
8493// the "output" return value is not valid until after Send returns without error.
8494//
8495// See GetResourcePolicy for more information on using the GetResourcePolicy
8496// API call, and error handling.
8497//
8498// This method is useful when you want to inject custom logic or configuration
8499// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8500//
8501//
8502//    // Example sending a request using the GetResourcePolicyRequest method.
8503//    req, resp := client.GetResourcePolicyRequest(params)
8504//
8505//    err := req.Send()
8506//    if err == nil { // resp is now filled
8507//        fmt.Println(resp)
8508//    }
8509//
8510// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
8511func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) {
8512	op := &request.Operation{
8513		Name:       opGetResourcePolicy,
8514		HTTPMethod: "POST",
8515		HTTPPath:   "/",
8516	}
8517
8518	if input == nil {
8519		input = &GetResourcePolicyInput{}
8520	}
8521
8522	output = &GetResourcePolicyOutput{}
8523	req = c.newRequest(op, input, output)
8524	return
8525}
8526
8527// GetResourcePolicy API operation for AWS Glue.
8528//
8529// Retrieves a specified resource policy.
8530//
8531// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8532// with awserr.Error's Code and Message methods to get detailed information about
8533// the error.
8534//
8535// See the AWS API reference guide for AWS Glue's
8536// API operation GetResourcePolicy for usage and error information.
8537//
8538// Returned Error Types:
8539//   * EntityNotFoundException
8540//   A specified entity does not exist
8541//
8542//   * InternalServiceException
8543//   An internal service error occurred.
8544//
8545//   * OperationTimeoutException
8546//   The operation timed out.
8547//
8548//   * InvalidInputException
8549//   The input provided was not valid.
8550//
8551// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
8552func (c *Glue) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) {
8553	req, out := c.GetResourcePolicyRequest(input)
8554	return out, req.Send()
8555}
8556
8557// GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of
8558// the ability to pass a context and additional request options.
8559//
8560// See GetResourcePolicy for details on how to use this API operation.
8561//
8562// The context must be non-nil and will be used for request cancellation. If
8563// the context is nil a panic will occur. In the future the SDK may create
8564// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8565// for more information on using Contexts.
8566func (c *Glue) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) {
8567	req, out := c.GetResourcePolicyRequest(input)
8568	req.SetContext(ctx)
8569	req.ApplyOptions(opts...)
8570	return out, req.Send()
8571}
8572
8573const opGetSchema = "GetSchema"
8574
8575// GetSchemaRequest generates a "aws/request.Request" representing the
8576// client's request for the GetSchema operation. The "output" return
8577// value will be populated with the request's response once the request completes
8578// successfully.
8579//
8580// Use "Send" method on the returned Request to send the API call to the service.
8581// the "output" return value is not valid until after Send returns without error.
8582//
8583// See GetSchema for more information on using the GetSchema
8584// API call, and error handling.
8585//
8586// This method is useful when you want to inject custom logic or configuration
8587// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8588//
8589//
8590//    // Example sending a request using the GetSchemaRequest method.
8591//    req, resp := client.GetSchemaRequest(params)
8592//
8593//    err := req.Send()
8594//    if err == nil { // resp is now filled
8595//        fmt.Println(resp)
8596//    }
8597//
8598// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema
8599func (c *Glue) GetSchemaRequest(input *GetSchemaInput) (req *request.Request, output *GetSchemaOutput) {
8600	op := &request.Operation{
8601		Name:       opGetSchema,
8602		HTTPMethod: "POST",
8603		HTTPPath:   "/",
8604	}
8605
8606	if input == nil {
8607		input = &GetSchemaInput{}
8608	}
8609
8610	output = &GetSchemaOutput{}
8611	req = c.newRequest(op, input, output)
8612	return
8613}
8614
8615// GetSchema API operation for AWS Glue.
8616//
8617// Describes the specified schema in detail.
8618//
8619// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8620// with awserr.Error's Code and Message methods to get detailed information about
8621// the error.
8622//
8623// See the AWS API reference guide for AWS Glue's
8624// API operation GetSchema for usage and error information.
8625//
8626// Returned Error Types:
8627//   * InvalidInputException
8628//   The input provided was not valid.
8629//
8630//   * AccessDeniedException
8631//   Access to a resource was denied.
8632//
8633//   * EntityNotFoundException
8634//   A specified entity does not exist
8635//
8636//   * InternalServiceException
8637//   An internal service error occurred.
8638//
8639// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema
8640func (c *Glue) GetSchema(input *GetSchemaInput) (*GetSchemaOutput, error) {
8641	req, out := c.GetSchemaRequest(input)
8642	return out, req.Send()
8643}
8644
8645// GetSchemaWithContext is the same as GetSchema with the addition of
8646// the ability to pass a context and additional request options.
8647//
8648// See GetSchema for details on how to use this API operation.
8649//
8650// The context must be non-nil and will be used for request cancellation. If
8651// the context is nil a panic will occur. In the future the SDK may create
8652// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8653// for more information on using Contexts.
8654func (c *Glue) GetSchemaWithContext(ctx aws.Context, input *GetSchemaInput, opts ...request.Option) (*GetSchemaOutput, error) {
8655	req, out := c.GetSchemaRequest(input)
8656	req.SetContext(ctx)
8657	req.ApplyOptions(opts...)
8658	return out, req.Send()
8659}
8660
8661const opGetSchemaByDefinition = "GetSchemaByDefinition"
8662
8663// GetSchemaByDefinitionRequest generates a "aws/request.Request" representing the
8664// client's request for the GetSchemaByDefinition operation. The "output" return
8665// value will be populated with the request's response once the request completes
8666// successfully.
8667//
8668// Use "Send" method on the returned Request to send the API call to the service.
8669// the "output" return value is not valid until after Send returns without error.
8670//
8671// See GetSchemaByDefinition for more information on using the GetSchemaByDefinition
8672// API call, and error handling.
8673//
8674// This method is useful when you want to inject custom logic or configuration
8675// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8676//
8677//
8678//    // Example sending a request using the GetSchemaByDefinitionRequest method.
8679//    req, resp := client.GetSchemaByDefinitionRequest(params)
8680//
8681//    err := req.Send()
8682//    if err == nil { // resp is now filled
8683//        fmt.Println(resp)
8684//    }
8685//
8686// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition
8687func (c *Glue) GetSchemaByDefinitionRequest(input *GetSchemaByDefinitionInput) (req *request.Request, output *GetSchemaByDefinitionOutput) {
8688	op := &request.Operation{
8689		Name:       opGetSchemaByDefinition,
8690		HTTPMethod: "POST",
8691		HTTPPath:   "/",
8692	}
8693
8694	if input == nil {
8695		input = &GetSchemaByDefinitionInput{}
8696	}
8697
8698	output = &GetSchemaByDefinitionOutput{}
8699	req = c.newRequest(op, input, output)
8700	return
8701}
8702
8703// GetSchemaByDefinition API operation for AWS Glue.
8704//
8705// Retrieves a schema by the SchemaDefinition. The schema definition is sent
8706// to the Schema Registry, canonicalized, and hashed. If the hash is matched
8707// within the scope of the SchemaName or ARN (or the default registry, if none
8708// is supplied), that schema’s metadata is returned. Otherwise, a 404 or NotFound
8709// error is returned. Schema versions in Deleted statuses will not be included
8710// in the results.
8711//
8712// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8713// with awserr.Error's Code and Message methods to get detailed information about
8714// the error.
8715//
8716// See the AWS API reference guide for AWS Glue's
8717// API operation GetSchemaByDefinition for usage and error information.
8718//
8719// Returned Error Types:
8720//   * InvalidInputException
8721//   The input provided was not valid.
8722//
8723//   * AccessDeniedException
8724//   Access to a resource was denied.
8725//
8726//   * EntityNotFoundException
8727//   A specified entity does not exist
8728//
8729//   * InternalServiceException
8730//   An internal service error occurred.
8731//
8732// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition
8733func (c *Glue) GetSchemaByDefinition(input *GetSchemaByDefinitionInput) (*GetSchemaByDefinitionOutput, error) {
8734	req, out := c.GetSchemaByDefinitionRequest(input)
8735	return out, req.Send()
8736}
8737
8738// GetSchemaByDefinitionWithContext is the same as GetSchemaByDefinition with the addition of
8739// the ability to pass a context and additional request options.
8740//
8741// See GetSchemaByDefinition for details on how to use this API operation.
8742//
8743// The context must be non-nil and will be used for request cancellation. If
8744// the context is nil a panic will occur. In the future the SDK may create
8745// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8746// for more information on using Contexts.
8747func (c *Glue) GetSchemaByDefinitionWithContext(ctx aws.Context, input *GetSchemaByDefinitionInput, opts ...request.Option) (*GetSchemaByDefinitionOutput, error) {
8748	req, out := c.GetSchemaByDefinitionRequest(input)
8749	req.SetContext(ctx)
8750	req.ApplyOptions(opts...)
8751	return out, req.Send()
8752}
8753
8754const opGetSchemaVersion = "GetSchemaVersion"
8755
8756// GetSchemaVersionRequest generates a "aws/request.Request" representing the
8757// client's request for the GetSchemaVersion operation. The "output" return
8758// value will be populated with the request's response once the request completes
8759// successfully.
8760//
8761// Use "Send" method on the returned Request to send the API call to the service.
8762// the "output" return value is not valid until after Send returns without error.
8763//
8764// See GetSchemaVersion for more information on using the GetSchemaVersion
8765// API call, and error handling.
8766//
8767// This method is useful when you want to inject custom logic or configuration
8768// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8769//
8770//
8771//    // Example sending a request using the GetSchemaVersionRequest method.
8772//    req, resp := client.GetSchemaVersionRequest(params)
8773//
8774//    err := req.Send()
8775//    if err == nil { // resp is now filled
8776//        fmt.Println(resp)
8777//    }
8778//
8779// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion
8780func (c *Glue) GetSchemaVersionRequest(input *GetSchemaVersionInput) (req *request.Request, output *GetSchemaVersionOutput) {
8781	op := &request.Operation{
8782		Name:       opGetSchemaVersion,
8783		HTTPMethod: "POST",
8784		HTTPPath:   "/",
8785	}
8786
8787	if input == nil {
8788		input = &GetSchemaVersionInput{}
8789	}
8790
8791	output = &GetSchemaVersionOutput{}
8792	req = c.newRequest(op, input, output)
8793	return
8794}
8795
8796// GetSchemaVersion API operation for AWS Glue.
8797//
8798// Get the specified schema by its unique ID assigned when a version of the
8799// schema is created or registered. Schema versions in Deleted status will not
8800// be included in the results.
8801//
8802// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8803// with awserr.Error's Code and Message methods to get detailed information about
8804// the error.
8805//
8806// See the AWS API reference guide for AWS Glue's
8807// API operation GetSchemaVersion for usage and error information.
8808//
8809// Returned Error Types:
8810//   * InvalidInputException
8811//   The input provided was not valid.
8812//
8813//   * AccessDeniedException
8814//   Access to a resource was denied.
8815//
8816//   * EntityNotFoundException
8817//   A specified entity does not exist
8818//
8819//   * InternalServiceException
8820//   An internal service error occurred.
8821//
8822// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion
8823func (c *Glue) GetSchemaVersion(input *GetSchemaVersionInput) (*GetSchemaVersionOutput, error) {
8824	req, out := c.GetSchemaVersionRequest(input)
8825	return out, req.Send()
8826}
8827
8828// GetSchemaVersionWithContext is the same as GetSchemaVersion with the addition of
8829// the ability to pass a context and additional request options.
8830//
8831// See GetSchemaVersion for details on how to use this API operation.
8832//
8833// The context must be non-nil and will be used for request cancellation. If
8834// the context is nil a panic will occur. In the future the SDK may create
8835// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8836// for more information on using Contexts.
8837func (c *Glue) GetSchemaVersionWithContext(ctx aws.Context, input *GetSchemaVersionInput, opts ...request.Option) (*GetSchemaVersionOutput, error) {
8838	req, out := c.GetSchemaVersionRequest(input)
8839	req.SetContext(ctx)
8840	req.ApplyOptions(opts...)
8841	return out, req.Send()
8842}
8843
8844const opGetSchemaVersionsDiff = "GetSchemaVersionsDiff"
8845
8846// GetSchemaVersionsDiffRequest generates a "aws/request.Request" representing the
8847// client's request for the GetSchemaVersionsDiff operation. The "output" return
8848// value will be populated with the request's response once the request completes
8849// successfully.
8850//
8851// Use "Send" method on the returned Request to send the API call to the service.
8852// the "output" return value is not valid until after Send returns without error.
8853//
8854// See GetSchemaVersionsDiff for more information on using the GetSchemaVersionsDiff
8855// API call, and error handling.
8856//
8857// This method is useful when you want to inject custom logic or configuration
8858// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8859//
8860//
8861//    // Example sending a request using the GetSchemaVersionsDiffRequest method.
8862//    req, resp := client.GetSchemaVersionsDiffRequest(params)
8863//
8864//    err := req.Send()
8865//    if err == nil { // resp is now filled
8866//        fmt.Println(resp)
8867//    }
8868//
8869// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff
8870func (c *Glue) GetSchemaVersionsDiffRequest(input *GetSchemaVersionsDiffInput) (req *request.Request, output *GetSchemaVersionsDiffOutput) {
8871	op := &request.Operation{
8872		Name:       opGetSchemaVersionsDiff,
8873		HTTPMethod: "POST",
8874		HTTPPath:   "/",
8875	}
8876
8877	if input == nil {
8878		input = &GetSchemaVersionsDiffInput{}
8879	}
8880
8881	output = &GetSchemaVersionsDiffOutput{}
8882	req = c.newRequest(op, input, output)
8883	return
8884}
8885
8886// GetSchemaVersionsDiff API operation for AWS Glue.
8887//
8888// Fetches the schema version difference in the specified difference type between
8889// two stored schema versions in the Schema Registry.
8890//
8891// This API allows you to compare two schema versions between two schema definitions
8892// under the same schema.
8893//
8894// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8895// with awserr.Error's Code and Message methods to get detailed information about
8896// the error.
8897//
8898// See the AWS API reference guide for AWS Glue's
8899// API operation GetSchemaVersionsDiff for usage and error information.
8900//
8901// Returned Error Types:
8902//   * InvalidInputException
8903//   The input provided was not valid.
8904//
8905//   * EntityNotFoundException
8906//   A specified entity does not exist
8907//
8908//   * AccessDeniedException
8909//   Access to a resource was denied.
8910//
8911//   * InternalServiceException
8912//   An internal service error occurred.
8913//
8914// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff
8915func (c *Glue) GetSchemaVersionsDiff(input *GetSchemaVersionsDiffInput) (*GetSchemaVersionsDiffOutput, error) {
8916	req, out := c.GetSchemaVersionsDiffRequest(input)
8917	return out, req.Send()
8918}
8919
8920// GetSchemaVersionsDiffWithContext is the same as GetSchemaVersionsDiff with the addition of
8921// the ability to pass a context and additional request options.
8922//
8923// See GetSchemaVersionsDiff for details on how to use this API operation.
8924//
8925// The context must be non-nil and will be used for request cancellation. If
8926// the context is nil a panic will occur. In the future the SDK may create
8927// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8928// for more information on using Contexts.
8929func (c *Glue) GetSchemaVersionsDiffWithContext(ctx aws.Context, input *GetSchemaVersionsDiffInput, opts ...request.Option) (*GetSchemaVersionsDiffOutput, error) {
8930	req, out := c.GetSchemaVersionsDiffRequest(input)
8931	req.SetContext(ctx)
8932	req.ApplyOptions(opts...)
8933	return out, req.Send()
8934}
8935
8936const opGetSecurityConfiguration = "GetSecurityConfiguration"
8937
8938// GetSecurityConfigurationRequest generates a "aws/request.Request" representing the
8939// client's request for the GetSecurityConfiguration operation. The "output" return
8940// value will be populated with the request's response once the request completes
8941// successfully.
8942//
8943// Use "Send" method on the returned Request to send the API call to the service.
8944// the "output" return value is not valid until after Send returns without error.
8945//
8946// See GetSecurityConfiguration for more information on using the GetSecurityConfiguration
8947// API call, and error handling.
8948//
8949// This method is useful when you want to inject custom logic or configuration
8950// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8951//
8952//
8953//    // Example sending a request using the GetSecurityConfigurationRequest method.
8954//    req, resp := client.GetSecurityConfigurationRequest(params)
8955//
8956//    err := req.Send()
8957//    if err == nil { // resp is now filled
8958//        fmt.Println(resp)
8959//    }
8960//
8961// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
8962func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationInput) (req *request.Request, output *GetSecurityConfigurationOutput) {
8963	op := &request.Operation{
8964		Name:       opGetSecurityConfiguration,
8965		HTTPMethod: "POST",
8966		HTTPPath:   "/",
8967	}
8968
8969	if input == nil {
8970		input = &GetSecurityConfigurationInput{}
8971	}
8972
8973	output = &GetSecurityConfigurationOutput{}
8974	req = c.newRequest(op, input, output)
8975	return
8976}
8977
8978// GetSecurityConfiguration API operation for AWS Glue.
8979//
8980// Retrieves a specified security configuration.
8981//
8982// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8983// with awserr.Error's Code and Message methods to get detailed information about
8984// the error.
8985//
8986// See the AWS API reference guide for AWS Glue's
8987// API operation GetSecurityConfiguration for usage and error information.
8988//
8989// Returned Error Types:
8990//   * EntityNotFoundException
8991//   A specified entity does not exist
8992//
8993//   * InvalidInputException
8994//   The input provided was not valid.
8995//
8996//   * InternalServiceException
8997//   An internal service error occurred.
8998//
8999//   * OperationTimeoutException
9000//   The operation timed out.
9001//
9002// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
9003func (c *Glue) GetSecurityConfiguration(input *GetSecurityConfigurationInput) (*GetSecurityConfigurationOutput, error) {
9004	req, out := c.GetSecurityConfigurationRequest(input)
9005	return out, req.Send()
9006}
9007
9008// GetSecurityConfigurationWithContext is the same as GetSecurityConfiguration with the addition of
9009// the ability to pass a context and additional request options.
9010//
9011// See GetSecurityConfiguration for details on how to use this API operation.
9012//
9013// The context must be non-nil and will be used for request cancellation. If
9014// the context is nil a panic will occur. In the future the SDK may create
9015// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9016// for more information on using Contexts.
9017func (c *Glue) GetSecurityConfigurationWithContext(ctx aws.Context, input *GetSecurityConfigurationInput, opts ...request.Option) (*GetSecurityConfigurationOutput, error) {
9018	req, out := c.GetSecurityConfigurationRequest(input)
9019	req.SetContext(ctx)
9020	req.ApplyOptions(opts...)
9021	return out, req.Send()
9022}
9023
9024const opGetSecurityConfigurations = "GetSecurityConfigurations"
9025
9026// GetSecurityConfigurationsRequest generates a "aws/request.Request" representing the
9027// client's request for the GetSecurityConfigurations operation. The "output" return
9028// value will be populated with the request's response once the request completes
9029// successfully.
9030//
9031// Use "Send" method on the returned Request to send the API call to the service.
9032// the "output" return value is not valid until after Send returns without error.
9033//
9034// See GetSecurityConfigurations for more information on using the GetSecurityConfigurations
9035// API call, and error handling.
9036//
9037// This method is useful when you want to inject custom logic or configuration
9038// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9039//
9040//
9041//    // Example sending a request using the GetSecurityConfigurationsRequest method.
9042//    req, resp := client.GetSecurityConfigurationsRequest(params)
9043//
9044//    err := req.Send()
9045//    if err == nil { // resp is now filled
9046//        fmt.Println(resp)
9047//    }
9048//
9049// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
9050func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurationsInput) (req *request.Request, output *GetSecurityConfigurationsOutput) {
9051	op := &request.Operation{
9052		Name:       opGetSecurityConfigurations,
9053		HTTPMethod: "POST",
9054		HTTPPath:   "/",
9055		Paginator: &request.Paginator{
9056			InputTokens:     []string{"NextToken"},
9057			OutputTokens:    []string{"NextToken"},
9058			LimitToken:      "MaxResults",
9059			TruncationToken: "",
9060		},
9061	}
9062
9063	if input == nil {
9064		input = &GetSecurityConfigurationsInput{}
9065	}
9066
9067	output = &GetSecurityConfigurationsOutput{}
9068	req = c.newRequest(op, input, output)
9069	return
9070}
9071
9072// GetSecurityConfigurations API operation for AWS Glue.
9073//
9074// Retrieves a list of all security configurations.
9075//
9076// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9077// with awserr.Error's Code and Message methods to get detailed information about
9078// the error.
9079//
9080// See the AWS API reference guide for AWS Glue's
9081// API operation GetSecurityConfigurations for usage and error information.
9082//
9083// Returned Error Types:
9084//   * EntityNotFoundException
9085//   A specified entity does not exist
9086//
9087//   * InvalidInputException
9088//   The input provided was not valid.
9089//
9090//   * InternalServiceException
9091//   An internal service error occurred.
9092//
9093//   * OperationTimeoutException
9094//   The operation timed out.
9095//
9096// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
9097func (c *Glue) GetSecurityConfigurations(input *GetSecurityConfigurationsInput) (*GetSecurityConfigurationsOutput, error) {
9098	req, out := c.GetSecurityConfigurationsRequest(input)
9099	return out, req.Send()
9100}
9101
9102// GetSecurityConfigurationsWithContext is the same as GetSecurityConfigurations with the addition of
9103// the ability to pass a context and additional request options.
9104//
9105// See GetSecurityConfigurations for details on how to use this API operation.
9106//
9107// The context must be non-nil and will be used for request cancellation. If
9108// the context is nil a panic will occur. In the future the SDK may create
9109// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9110// for more information on using Contexts.
9111func (c *Glue) GetSecurityConfigurationsWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, opts ...request.Option) (*GetSecurityConfigurationsOutput, error) {
9112	req, out := c.GetSecurityConfigurationsRequest(input)
9113	req.SetContext(ctx)
9114	req.ApplyOptions(opts...)
9115	return out, req.Send()
9116}
9117
9118// GetSecurityConfigurationsPages iterates over the pages of a GetSecurityConfigurations operation,
9119// calling the "fn" function with the response data for each page. To stop
9120// iterating, return false from the fn function.
9121//
9122// See GetSecurityConfigurations method for more information on how to use this operation.
9123//
9124// Note: This operation can generate multiple requests to a service.
9125//
9126//    // Example iterating over at most 3 pages of a GetSecurityConfigurations operation.
9127//    pageNum := 0
9128//    err := client.GetSecurityConfigurationsPages(params,
9129//        func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool {
9130//            pageNum++
9131//            fmt.Println(page)
9132//            return pageNum <= 3
9133//        })
9134//
9135func (c *Glue) GetSecurityConfigurationsPages(input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool) error {
9136	return c.GetSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn)
9137}
9138
9139// GetSecurityConfigurationsPagesWithContext same as GetSecurityConfigurationsPages except
9140// it takes a Context and allows setting request options on the pages.
9141//
9142// The context must be non-nil and will be used for request cancellation. If
9143// the context is nil a panic will occur. In the future the SDK may create
9144// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9145// for more information on using Contexts.
9146func (c *Glue) GetSecurityConfigurationsPagesWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool, opts ...request.Option) error {
9147	p := request.Pagination{
9148		NewRequest: func() (*request.Request, error) {
9149			var inCpy *GetSecurityConfigurationsInput
9150			if input != nil {
9151				tmp := *input
9152				inCpy = &tmp
9153			}
9154			req, _ := c.GetSecurityConfigurationsRequest(inCpy)
9155			req.SetContext(ctx)
9156			req.ApplyOptions(opts...)
9157			return req, nil
9158		},
9159	}
9160
9161	for p.Next() {
9162		if !fn(p.Page().(*GetSecurityConfigurationsOutput), !p.HasNextPage()) {
9163			break
9164		}
9165	}
9166
9167	return p.Err()
9168}
9169
9170const opGetTable = "GetTable"
9171
9172// GetTableRequest generates a "aws/request.Request" representing the
9173// client's request for the GetTable operation. The "output" return
9174// value will be populated with the request's response once the request completes
9175// successfully.
9176//
9177// Use "Send" method on the returned Request to send the API call to the service.
9178// the "output" return value is not valid until after Send returns without error.
9179//
9180// See GetTable for more information on using the GetTable
9181// API call, and error handling.
9182//
9183// This method is useful when you want to inject custom logic or configuration
9184// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9185//
9186//
9187//    // Example sending a request using the GetTableRequest method.
9188//    req, resp := client.GetTableRequest(params)
9189//
9190//    err := req.Send()
9191//    if err == nil { // resp is now filled
9192//        fmt.Println(resp)
9193//    }
9194//
9195// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
9196func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) {
9197	op := &request.Operation{
9198		Name:       opGetTable,
9199		HTTPMethod: "POST",
9200		HTTPPath:   "/",
9201	}
9202
9203	if input == nil {
9204		input = &GetTableInput{}
9205	}
9206
9207	output = &GetTableOutput{}
9208	req = c.newRequest(op, input, output)
9209	return
9210}
9211
9212// GetTable API operation for AWS Glue.
9213//
9214// Retrieves the Table definition in a Data Catalog for a specified table.
9215//
9216// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9217// with awserr.Error's Code and Message methods to get detailed information about
9218// the error.
9219//
9220// See the AWS API reference guide for AWS Glue's
9221// API operation GetTable for usage and error information.
9222//
9223// Returned Error Types:
9224//   * EntityNotFoundException
9225//   A specified entity does not exist
9226//
9227//   * InvalidInputException
9228//   The input provided was not valid.
9229//
9230//   * InternalServiceException
9231//   An internal service error occurred.
9232//
9233//   * OperationTimeoutException
9234//   The operation timed out.
9235//
9236//   * EncryptionException
9237//   An encryption operation failed.
9238//
9239// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
9240func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) {
9241	req, out := c.GetTableRequest(input)
9242	return out, req.Send()
9243}
9244
9245// GetTableWithContext is the same as GetTable with the addition of
9246// the ability to pass a context and additional request options.
9247//
9248// See GetTable for details on how to use this API operation.
9249//
9250// The context must be non-nil and will be used for request cancellation. If
9251// the context is nil a panic will occur. In the future the SDK may create
9252// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9253// for more information on using Contexts.
9254func (c *Glue) GetTableWithContext(ctx aws.Context, input *GetTableInput, opts ...request.Option) (*GetTableOutput, error) {
9255	req, out := c.GetTableRequest(input)
9256	req.SetContext(ctx)
9257	req.ApplyOptions(opts...)
9258	return out, req.Send()
9259}
9260
9261const opGetTableVersion = "GetTableVersion"
9262
9263// GetTableVersionRequest generates a "aws/request.Request" representing the
9264// client's request for the GetTableVersion operation. The "output" return
9265// value will be populated with the request's response once the request completes
9266// successfully.
9267//
9268// Use "Send" method on the returned Request to send the API call to the service.
9269// the "output" return value is not valid until after Send returns without error.
9270//
9271// See GetTableVersion for more information on using the GetTableVersion
9272// API call, and error handling.
9273//
9274// This method is useful when you want to inject custom logic or configuration
9275// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9276//
9277//
9278//    // Example sending a request using the GetTableVersionRequest method.
9279//    req, resp := client.GetTableVersionRequest(params)
9280//
9281//    err := req.Send()
9282//    if err == nil { // resp is now filled
9283//        fmt.Println(resp)
9284//    }
9285//
9286// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
9287func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request.Request, output *GetTableVersionOutput) {
9288	op := &request.Operation{
9289		Name:       opGetTableVersion,
9290		HTTPMethod: "POST",
9291		HTTPPath:   "/",
9292	}
9293
9294	if input == nil {
9295		input = &GetTableVersionInput{}
9296	}
9297
9298	output = &GetTableVersionOutput{}
9299	req = c.newRequest(op, input, output)
9300	return
9301}
9302
9303// GetTableVersion API operation for AWS Glue.
9304//
9305// Retrieves a specified version of a table.
9306//
9307// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9308// with awserr.Error's Code and Message methods to get detailed information about
9309// the error.
9310//
9311// See the AWS API reference guide for AWS Glue's
9312// API operation GetTableVersion for usage and error information.
9313//
9314// Returned Error Types:
9315//   * EntityNotFoundException
9316//   A specified entity does not exist
9317//
9318//   * InvalidInputException
9319//   The input provided was not valid.
9320//
9321//   * InternalServiceException
9322//   An internal service error occurred.
9323//
9324//   * OperationTimeoutException
9325//   The operation timed out.
9326//
9327//   * EncryptionException
9328//   An encryption operation failed.
9329//
9330// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
9331func (c *Glue) GetTableVersion(input *GetTableVersionInput) (*GetTableVersionOutput, error) {
9332	req, out := c.GetTableVersionRequest(input)
9333	return out, req.Send()
9334}
9335
9336// GetTableVersionWithContext is the same as GetTableVersion with the addition of
9337// the ability to pass a context and additional request options.
9338//
9339// See GetTableVersion for details on how to use this API operation.
9340//
9341// The context must be non-nil and will be used for request cancellation. If
9342// the context is nil a panic will occur. In the future the SDK may create
9343// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9344// for more information on using Contexts.
9345func (c *Glue) GetTableVersionWithContext(ctx aws.Context, input *GetTableVersionInput, opts ...request.Option) (*GetTableVersionOutput, error) {
9346	req, out := c.GetTableVersionRequest(input)
9347	req.SetContext(ctx)
9348	req.ApplyOptions(opts...)
9349	return out, req.Send()
9350}
9351
9352const opGetTableVersions = "GetTableVersions"
9353
9354// GetTableVersionsRequest generates a "aws/request.Request" representing the
9355// client's request for the GetTableVersions operation. The "output" return
9356// value will be populated with the request's response once the request completes
9357// successfully.
9358//
9359// Use "Send" method on the returned Request to send the API call to the service.
9360// the "output" return value is not valid until after Send returns without error.
9361//
9362// See GetTableVersions for more information on using the GetTableVersions
9363// API call, and error handling.
9364//
9365// This method is useful when you want to inject custom logic or configuration
9366// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9367//
9368//
9369//    // Example sending a request using the GetTableVersionsRequest method.
9370//    req, resp := client.GetTableVersionsRequest(params)
9371//
9372//    err := req.Send()
9373//    if err == nil { // resp is now filled
9374//        fmt.Println(resp)
9375//    }
9376//
9377// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
9378func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) {
9379	op := &request.Operation{
9380		Name:       opGetTableVersions,
9381		HTTPMethod: "POST",
9382		HTTPPath:   "/",
9383		Paginator: &request.Paginator{
9384			InputTokens:     []string{"NextToken"},
9385			OutputTokens:    []string{"NextToken"},
9386			LimitToken:      "MaxResults",
9387			TruncationToken: "",
9388		},
9389	}
9390
9391	if input == nil {
9392		input = &GetTableVersionsInput{}
9393	}
9394
9395	output = &GetTableVersionsOutput{}
9396	req = c.newRequest(op, input, output)
9397	return
9398}
9399
9400// GetTableVersions API operation for AWS Glue.
9401//
9402// Retrieves a list of strings that identify available versions of a specified
9403// table.
9404//
9405// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9406// with awserr.Error's Code and Message methods to get detailed information about
9407// the error.
9408//
9409// See the AWS API reference guide for AWS Glue's
9410// API operation GetTableVersions for usage and error information.
9411//
9412// Returned Error Types:
9413//   * EntityNotFoundException
9414//   A specified entity does not exist
9415//
9416//   * InvalidInputException
9417//   The input provided was not valid.
9418//
9419//   * InternalServiceException
9420//   An internal service error occurred.
9421//
9422//   * OperationTimeoutException
9423//   The operation timed out.
9424//
9425//   * EncryptionException
9426//   An encryption operation failed.
9427//
9428// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
9429func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) {
9430	req, out := c.GetTableVersionsRequest(input)
9431	return out, req.Send()
9432}
9433
9434// GetTableVersionsWithContext is the same as GetTableVersions with the addition of
9435// the ability to pass a context and additional request options.
9436//
9437// See GetTableVersions for details on how to use this API operation.
9438//
9439// The context must be non-nil and will be used for request cancellation. If
9440// the context is nil a panic will occur. In the future the SDK may create
9441// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9442// for more information on using Contexts.
9443func (c *Glue) GetTableVersionsWithContext(ctx aws.Context, input *GetTableVersionsInput, opts ...request.Option) (*GetTableVersionsOutput, error) {
9444	req, out := c.GetTableVersionsRequest(input)
9445	req.SetContext(ctx)
9446	req.ApplyOptions(opts...)
9447	return out, req.Send()
9448}
9449
9450// GetTableVersionsPages iterates over the pages of a GetTableVersions operation,
9451// calling the "fn" function with the response data for each page. To stop
9452// iterating, return false from the fn function.
9453//
9454// See GetTableVersions method for more information on how to use this operation.
9455//
9456// Note: This operation can generate multiple requests to a service.
9457//
9458//    // Example iterating over at most 3 pages of a GetTableVersions operation.
9459//    pageNum := 0
9460//    err := client.GetTableVersionsPages(params,
9461//        func(page *glue.GetTableVersionsOutput, lastPage bool) bool {
9462//            pageNum++
9463//            fmt.Println(page)
9464//            return pageNum <= 3
9465//        })
9466//
9467func (c *Glue) GetTableVersionsPages(input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool) error {
9468	return c.GetTableVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
9469}
9470
9471// GetTableVersionsPagesWithContext same as GetTableVersionsPages except
9472// it takes a Context and allows setting request options on the pages.
9473//
9474// The context must be non-nil and will be used for request cancellation. If
9475// the context is nil a panic will occur. In the future the SDK may create
9476// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9477// for more information on using Contexts.
9478func (c *Glue) GetTableVersionsPagesWithContext(ctx aws.Context, input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool, opts ...request.Option) error {
9479	p := request.Pagination{
9480		NewRequest: func() (*request.Request, error) {
9481			var inCpy *GetTableVersionsInput
9482			if input != nil {
9483				tmp := *input
9484				inCpy = &tmp
9485			}
9486			req, _ := c.GetTableVersionsRequest(inCpy)
9487			req.SetContext(ctx)
9488			req.ApplyOptions(opts...)
9489			return req, nil
9490		},
9491	}
9492
9493	for p.Next() {
9494		if !fn(p.Page().(*GetTableVersionsOutput), !p.HasNextPage()) {
9495			break
9496		}
9497	}
9498
9499	return p.Err()
9500}
9501
9502const opGetTables = "GetTables"
9503
9504// GetTablesRequest generates a "aws/request.Request" representing the
9505// client's request for the GetTables operation. The "output" return
9506// value will be populated with the request's response once the request completes
9507// successfully.
9508//
9509// Use "Send" method on the returned Request to send the API call to the service.
9510// the "output" return value is not valid until after Send returns without error.
9511//
9512// See GetTables for more information on using the GetTables
9513// API call, and error handling.
9514//
9515// This method is useful when you want to inject custom logic or configuration
9516// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9517//
9518//
9519//    // Example sending a request using the GetTablesRequest method.
9520//    req, resp := client.GetTablesRequest(params)
9521//
9522//    err := req.Send()
9523//    if err == nil { // resp is now filled
9524//        fmt.Println(resp)
9525//    }
9526//
9527// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
9528func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) {
9529	op := &request.Operation{
9530		Name:       opGetTables,
9531		HTTPMethod: "POST",
9532		HTTPPath:   "/",
9533		Paginator: &request.Paginator{
9534			InputTokens:     []string{"NextToken"},
9535			OutputTokens:    []string{"NextToken"},
9536			LimitToken:      "MaxResults",
9537			TruncationToken: "",
9538		},
9539	}
9540
9541	if input == nil {
9542		input = &GetTablesInput{}
9543	}
9544
9545	output = &GetTablesOutput{}
9546	req = c.newRequest(op, input, output)
9547	return
9548}
9549
9550// GetTables API operation for AWS Glue.
9551//
9552// Retrieves the definitions of some or all of the tables in a given Database.
9553//
9554// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9555// with awserr.Error's Code and Message methods to get detailed information about
9556// the error.
9557//
9558// See the AWS API reference guide for AWS Glue's
9559// API operation GetTables for usage and error information.
9560//
9561// Returned Error Types:
9562//   * EntityNotFoundException
9563//   A specified entity does not exist
9564//
9565//   * InvalidInputException
9566//   The input provided was not valid.
9567//
9568//   * OperationTimeoutException
9569//   The operation timed out.
9570//
9571//   * InternalServiceException
9572//   An internal service error occurred.
9573//
9574//   * EncryptionException
9575//   An encryption operation failed.
9576//
9577// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
9578func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) {
9579	req, out := c.GetTablesRequest(input)
9580	return out, req.Send()
9581}
9582
9583// GetTablesWithContext is the same as GetTables with the addition of
9584// the ability to pass a context and additional request options.
9585//
9586// See GetTables for details on how to use this API operation.
9587//
9588// The context must be non-nil and will be used for request cancellation. If
9589// the context is nil a panic will occur. In the future the SDK may create
9590// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9591// for more information on using Contexts.
9592func (c *Glue) GetTablesWithContext(ctx aws.Context, input *GetTablesInput, opts ...request.Option) (*GetTablesOutput, error) {
9593	req, out := c.GetTablesRequest(input)
9594	req.SetContext(ctx)
9595	req.ApplyOptions(opts...)
9596	return out, req.Send()
9597}
9598
9599// GetTablesPages iterates over the pages of a GetTables operation,
9600// calling the "fn" function with the response data for each page. To stop
9601// iterating, return false from the fn function.
9602//
9603// See GetTables method for more information on how to use this operation.
9604//
9605// Note: This operation can generate multiple requests to a service.
9606//
9607//    // Example iterating over at most 3 pages of a GetTables operation.
9608//    pageNum := 0
9609//    err := client.GetTablesPages(params,
9610//        func(page *glue.GetTablesOutput, lastPage bool) bool {
9611//            pageNum++
9612//            fmt.Println(page)
9613//            return pageNum <= 3
9614//        })
9615//
9616func (c *Glue) GetTablesPages(input *GetTablesInput, fn func(*GetTablesOutput, bool) bool) error {
9617	return c.GetTablesPagesWithContext(aws.BackgroundContext(), input, fn)
9618}
9619
9620// GetTablesPagesWithContext same as GetTablesPages except
9621// it takes a Context and allows setting request options on the pages.
9622//
9623// The context must be non-nil and will be used for request cancellation. If
9624// the context is nil a panic will occur. In the future the SDK may create
9625// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9626// for more information on using Contexts.
9627func (c *Glue) GetTablesPagesWithContext(ctx aws.Context, input *GetTablesInput, fn func(*GetTablesOutput, bool) bool, opts ...request.Option) error {
9628	p := request.Pagination{
9629		NewRequest: func() (*request.Request, error) {
9630			var inCpy *GetTablesInput
9631			if input != nil {
9632				tmp := *input
9633				inCpy = &tmp
9634			}
9635			req, _ := c.GetTablesRequest(inCpy)
9636			req.SetContext(ctx)
9637			req.ApplyOptions(opts...)
9638			return req, nil
9639		},
9640	}
9641
9642	for p.Next() {
9643		if !fn(p.Page().(*GetTablesOutput), !p.HasNextPage()) {
9644			break
9645		}
9646	}
9647
9648	return p.Err()
9649}
9650
9651const opGetTags = "GetTags"
9652
9653// GetTagsRequest generates a "aws/request.Request" representing the
9654// client's request for the GetTags operation. The "output" return
9655// value will be populated with the request's response once the request completes
9656// successfully.
9657//
9658// Use "Send" method on the returned Request to send the API call to the service.
9659// the "output" return value is not valid until after Send returns without error.
9660//
9661// See GetTags for more information on using the GetTags
9662// API call, and error handling.
9663//
9664// This method is useful when you want to inject custom logic or configuration
9665// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9666//
9667//
9668//    // Example sending a request using the GetTagsRequest method.
9669//    req, resp := client.GetTagsRequest(params)
9670//
9671//    err := req.Send()
9672//    if err == nil { // resp is now filled
9673//        fmt.Println(resp)
9674//    }
9675//
9676// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
9677func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) {
9678	op := &request.Operation{
9679		Name:       opGetTags,
9680		HTTPMethod: "POST",
9681		HTTPPath:   "/",
9682	}
9683
9684	if input == nil {
9685		input = &GetTagsInput{}
9686	}
9687
9688	output = &GetTagsOutput{}
9689	req = c.newRequest(op, input, output)
9690	return
9691}
9692
9693// GetTags API operation for AWS Glue.
9694//
9695// Retrieves a list of tags associated with a resource.
9696//
9697// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9698// with awserr.Error's Code and Message methods to get detailed information about
9699// the error.
9700//
9701// See the AWS API reference guide for AWS Glue's
9702// API operation GetTags for usage and error information.
9703//
9704// Returned Error Types:
9705//   * InvalidInputException
9706//   The input provided was not valid.
9707//
9708//   * InternalServiceException
9709//   An internal service error occurred.
9710//
9711//   * OperationTimeoutException
9712//   The operation timed out.
9713//
9714//   * EntityNotFoundException
9715//   A specified entity does not exist
9716//
9717// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
9718func (c *Glue) GetTags(input *GetTagsInput) (*GetTagsOutput, error) {
9719	req, out := c.GetTagsRequest(input)
9720	return out, req.Send()
9721}
9722
9723// GetTagsWithContext is the same as GetTags with the addition of
9724// the ability to pass a context and additional request options.
9725//
9726// See GetTags for details on how to use this API operation.
9727//
9728// The context must be non-nil and will be used for request cancellation. If
9729// the context is nil a panic will occur. In the future the SDK may create
9730// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9731// for more information on using Contexts.
9732func (c *Glue) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error) {
9733	req, out := c.GetTagsRequest(input)
9734	req.SetContext(ctx)
9735	req.ApplyOptions(opts...)
9736	return out, req.Send()
9737}
9738
9739const opGetTrigger = "GetTrigger"
9740
9741// GetTriggerRequest generates a "aws/request.Request" representing the
9742// client's request for the GetTrigger operation. The "output" return
9743// value will be populated with the request's response once the request completes
9744// successfully.
9745//
9746// Use "Send" method on the returned Request to send the API call to the service.
9747// the "output" return value is not valid until after Send returns without error.
9748//
9749// See GetTrigger for more information on using the GetTrigger
9750// API call, and error handling.
9751//
9752// This method is useful when you want to inject custom logic or configuration
9753// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9754//
9755//
9756//    // Example sending a request using the GetTriggerRequest method.
9757//    req, resp := client.GetTriggerRequest(params)
9758//
9759//    err := req.Send()
9760//    if err == nil { // resp is now filled
9761//        fmt.Println(resp)
9762//    }
9763//
9764// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
9765func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) {
9766	op := &request.Operation{
9767		Name:       opGetTrigger,
9768		HTTPMethod: "POST",
9769		HTTPPath:   "/",
9770	}
9771
9772	if input == nil {
9773		input = &GetTriggerInput{}
9774	}
9775
9776	output = &GetTriggerOutput{}
9777	req = c.newRequest(op, input, output)
9778	return
9779}
9780
9781// GetTrigger API operation for AWS Glue.
9782//
9783// Retrieves the definition of a trigger.
9784//
9785// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9786// with awserr.Error's Code and Message methods to get detailed information about
9787// the error.
9788//
9789// See the AWS API reference guide for AWS Glue's
9790// API operation GetTrigger for usage and error information.
9791//
9792// Returned Error Types:
9793//   * EntityNotFoundException
9794//   A specified entity does not exist
9795//
9796//   * InvalidInputException
9797//   The input provided was not valid.
9798//
9799//   * InternalServiceException
9800//   An internal service error occurred.
9801//
9802//   * OperationTimeoutException
9803//   The operation timed out.
9804//
9805// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
9806func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) {
9807	req, out := c.GetTriggerRequest(input)
9808	return out, req.Send()
9809}
9810
9811// GetTriggerWithContext is the same as GetTrigger with the addition of
9812// the ability to pass a context and additional request options.
9813//
9814// See GetTrigger for details on how to use this API operation.
9815//
9816// The context must be non-nil and will be used for request cancellation. If
9817// the context is nil a panic will occur. In the future the SDK may create
9818// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9819// for more information on using Contexts.
9820func (c *Glue) GetTriggerWithContext(ctx aws.Context, input *GetTriggerInput, opts ...request.Option) (*GetTriggerOutput, error) {
9821	req, out := c.GetTriggerRequest(input)
9822	req.SetContext(ctx)
9823	req.ApplyOptions(opts...)
9824	return out, req.Send()
9825}
9826
9827const opGetTriggers = "GetTriggers"
9828
9829// GetTriggersRequest generates a "aws/request.Request" representing the
9830// client's request for the GetTriggers operation. The "output" return
9831// value will be populated with the request's response once the request completes
9832// successfully.
9833//
9834// Use "Send" method on the returned Request to send the API call to the service.
9835// the "output" return value is not valid until after Send returns without error.
9836//
9837// See GetTriggers for more information on using the GetTriggers
9838// API call, and error handling.
9839//
9840// This method is useful when you want to inject custom logic or configuration
9841// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9842//
9843//
9844//    // Example sending a request using the GetTriggersRequest method.
9845//    req, resp := client.GetTriggersRequest(params)
9846//
9847//    err := req.Send()
9848//    if err == nil { // resp is now filled
9849//        fmt.Println(resp)
9850//    }
9851//
9852// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
9853func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) {
9854	op := &request.Operation{
9855		Name:       opGetTriggers,
9856		HTTPMethod: "POST",
9857		HTTPPath:   "/",
9858		Paginator: &request.Paginator{
9859			InputTokens:     []string{"NextToken"},
9860			OutputTokens:    []string{"NextToken"},
9861			LimitToken:      "MaxResults",
9862			TruncationToken: "",
9863		},
9864	}
9865
9866	if input == nil {
9867		input = &GetTriggersInput{}
9868	}
9869
9870	output = &GetTriggersOutput{}
9871	req = c.newRequest(op, input, output)
9872	return
9873}
9874
9875// GetTriggers API operation for AWS Glue.
9876//
9877// Gets all the triggers associated with a job.
9878//
9879// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9880// with awserr.Error's Code and Message methods to get detailed information about
9881// the error.
9882//
9883// See the AWS API reference guide for AWS Glue's
9884// API operation GetTriggers for usage and error information.
9885//
9886// Returned Error Types:
9887//   * EntityNotFoundException
9888//   A specified entity does not exist
9889//
9890//   * InvalidInputException
9891//   The input provided was not valid.
9892//
9893//   * InternalServiceException
9894//   An internal service error occurred.
9895//
9896//   * OperationTimeoutException
9897//   The operation timed out.
9898//
9899// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
9900func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) {
9901	req, out := c.GetTriggersRequest(input)
9902	return out, req.Send()
9903}
9904
9905// GetTriggersWithContext is the same as GetTriggers with the addition of
9906// the ability to pass a context and additional request options.
9907//
9908// See GetTriggers for details on how to use this API operation.
9909//
9910// The context must be non-nil and will be used for request cancellation. If
9911// the context is nil a panic will occur. In the future the SDK may create
9912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9913// for more information on using Contexts.
9914func (c *Glue) GetTriggersWithContext(ctx aws.Context, input *GetTriggersInput, opts ...request.Option) (*GetTriggersOutput, error) {
9915	req, out := c.GetTriggersRequest(input)
9916	req.SetContext(ctx)
9917	req.ApplyOptions(opts...)
9918	return out, req.Send()
9919}
9920
9921// GetTriggersPages iterates over the pages of a GetTriggers operation,
9922// calling the "fn" function with the response data for each page. To stop
9923// iterating, return false from the fn function.
9924//
9925// See GetTriggers method for more information on how to use this operation.
9926//
9927// Note: This operation can generate multiple requests to a service.
9928//
9929//    // Example iterating over at most 3 pages of a GetTriggers operation.
9930//    pageNum := 0
9931//    err := client.GetTriggersPages(params,
9932//        func(page *glue.GetTriggersOutput, lastPage bool) bool {
9933//            pageNum++
9934//            fmt.Println(page)
9935//            return pageNum <= 3
9936//        })
9937//
9938func (c *Glue) GetTriggersPages(input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool) error {
9939	return c.GetTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
9940}
9941
9942// GetTriggersPagesWithContext same as GetTriggersPages except
9943// it takes a Context and allows setting request options on the pages.
9944//
9945// The context must be non-nil and will be used for request cancellation. If
9946// the context is nil a panic will occur. In the future the SDK may create
9947// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9948// for more information on using Contexts.
9949func (c *Glue) GetTriggersPagesWithContext(ctx aws.Context, input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool, opts ...request.Option) error {
9950	p := request.Pagination{
9951		NewRequest: func() (*request.Request, error) {
9952			var inCpy *GetTriggersInput
9953			if input != nil {
9954				tmp := *input
9955				inCpy = &tmp
9956			}
9957			req, _ := c.GetTriggersRequest(inCpy)
9958			req.SetContext(ctx)
9959			req.ApplyOptions(opts...)
9960			return req, nil
9961		},
9962	}
9963
9964	for p.Next() {
9965		if !fn(p.Page().(*GetTriggersOutput), !p.HasNextPage()) {
9966			break
9967		}
9968	}
9969
9970	return p.Err()
9971}
9972
9973const opGetUserDefinedFunction = "GetUserDefinedFunction"
9974
9975// GetUserDefinedFunctionRequest generates a "aws/request.Request" representing the
9976// client's request for the GetUserDefinedFunction operation. The "output" return
9977// value will be populated with the request's response once the request completes
9978// successfully.
9979//
9980// Use "Send" method on the returned Request to send the API call to the service.
9981// the "output" return value is not valid until after Send returns without error.
9982//
9983// See GetUserDefinedFunction for more information on using the GetUserDefinedFunction
9984// API call, and error handling.
9985//
9986// This method is useful when you want to inject custom logic or configuration
9987// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9988//
9989//
9990//    // Example sending a request using the GetUserDefinedFunctionRequest method.
9991//    req, resp := client.GetUserDefinedFunctionRequest(params)
9992//
9993//    err := req.Send()
9994//    if err == nil { // resp is now filled
9995//        fmt.Println(resp)
9996//    }
9997//
9998// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
9999func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) {
10000	op := &request.Operation{
10001		Name:       opGetUserDefinedFunction,
10002		HTTPMethod: "POST",
10003		HTTPPath:   "/",
10004	}
10005
10006	if input == nil {
10007		input = &GetUserDefinedFunctionInput{}
10008	}
10009
10010	output = &GetUserDefinedFunctionOutput{}
10011	req = c.newRequest(op, input, output)
10012	return
10013}
10014
10015// GetUserDefinedFunction API operation for AWS Glue.
10016//
10017// Retrieves a specified function definition from the Data Catalog.
10018//
10019// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10020// with awserr.Error's Code and Message methods to get detailed information about
10021// the error.
10022//
10023// See the AWS API reference guide for AWS Glue's
10024// API operation GetUserDefinedFunction for usage and error information.
10025//
10026// Returned Error Types:
10027//   * EntityNotFoundException
10028//   A specified entity does not exist
10029//
10030//   * InvalidInputException
10031//   The input provided was not valid.
10032//
10033//   * InternalServiceException
10034//   An internal service error occurred.
10035//
10036//   * OperationTimeoutException
10037//   The operation timed out.
10038//
10039//   * EncryptionException
10040//   An encryption operation failed.
10041//
10042// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
10043func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) {
10044	req, out := c.GetUserDefinedFunctionRequest(input)
10045	return out, req.Send()
10046}
10047
10048// GetUserDefinedFunctionWithContext is the same as GetUserDefinedFunction with the addition of
10049// the ability to pass a context and additional request options.
10050//
10051// See GetUserDefinedFunction for details on how to use this API operation.
10052//
10053// The context must be non-nil and will be used for request cancellation. If
10054// the context is nil a panic will occur. In the future the SDK may create
10055// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10056// for more information on using Contexts.
10057func (c *Glue) GetUserDefinedFunctionWithContext(ctx aws.Context, input *GetUserDefinedFunctionInput, opts ...request.Option) (*GetUserDefinedFunctionOutput, error) {
10058	req, out := c.GetUserDefinedFunctionRequest(input)
10059	req.SetContext(ctx)
10060	req.ApplyOptions(opts...)
10061	return out, req.Send()
10062}
10063
10064const opGetUserDefinedFunctions = "GetUserDefinedFunctions"
10065
10066// GetUserDefinedFunctionsRequest generates a "aws/request.Request" representing the
10067// client's request for the GetUserDefinedFunctions operation. The "output" return
10068// value will be populated with the request's response once the request completes
10069// successfully.
10070//
10071// Use "Send" method on the returned Request to send the API call to the service.
10072// the "output" return value is not valid until after Send returns without error.
10073//
10074// See GetUserDefinedFunctions for more information on using the GetUserDefinedFunctions
10075// API call, and error handling.
10076//
10077// This method is useful when you want to inject custom logic or configuration
10078// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10079//
10080//
10081//    // Example sending a request using the GetUserDefinedFunctionsRequest method.
10082//    req, resp := client.GetUserDefinedFunctionsRequest(params)
10083//
10084//    err := req.Send()
10085//    if err == nil { // resp is now filled
10086//        fmt.Println(resp)
10087//    }
10088//
10089// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
10090func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) {
10091	op := &request.Operation{
10092		Name:       opGetUserDefinedFunctions,
10093		HTTPMethod: "POST",
10094		HTTPPath:   "/",
10095		Paginator: &request.Paginator{
10096			InputTokens:     []string{"NextToken"},
10097			OutputTokens:    []string{"NextToken"},
10098			LimitToken:      "MaxResults",
10099			TruncationToken: "",
10100		},
10101	}
10102
10103	if input == nil {
10104		input = &GetUserDefinedFunctionsInput{}
10105	}
10106
10107	output = &GetUserDefinedFunctionsOutput{}
10108	req = c.newRequest(op, input, output)
10109	return
10110}
10111
10112// GetUserDefinedFunctions API operation for AWS Glue.
10113//
10114// Retrieves multiple function definitions from the Data Catalog.
10115//
10116// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10117// with awserr.Error's Code and Message methods to get detailed information about
10118// the error.
10119//
10120// See the AWS API reference guide for AWS Glue's
10121// API operation GetUserDefinedFunctions for usage and error information.
10122//
10123// Returned Error Types:
10124//   * EntityNotFoundException
10125//   A specified entity does not exist
10126//
10127//   * InvalidInputException
10128//   The input provided was not valid.
10129//
10130//   * OperationTimeoutException
10131//   The operation timed out.
10132//
10133//   * InternalServiceException
10134//   An internal service error occurred.
10135//
10136//   * EncryptionException
10137//   An encryption operation failed.
10138//
10139// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
10140func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) {
10141	req, out := c.GetUserDefinedFunctionsRequest(input)
10142	return out, req.Send()
10143}
10144
10145// GetUserDefinedFunctionsWithContext is the same as GetUserDefinedFunctions with the addition of
10146// the ability to pass a context and additional request options.
10147//
10148// See GetUserDefinedFunctions for details on how to use this API operation.
10149//
10150// The context must be non-nil and will be used for request cancellation. If
10151// the context is nil a panic will occur. In the future the SDK may create
10152// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10153// for more information on using Contexts.
10154func (c *Glue) GetUserDefinedFunctionsWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, opts ...request.Option) (*GetUserDefinedFunctionsOutput, error) {
10155	req, out := c.GetUserDefinedFunctionsRequest(input)
10156	req.SetContext(ctx)
10157	req.ApplyOptions(opts...)
10158	return out, req.Send()
10159}
10160
10161// GetUserDefinedFunctionsPages iterates over the pages of a GetUserDefinedFunctions operation,
10162// calling the "fn" function with the response data for each page. To stop
10163// iterating, return false from the fn function.
10164//
10165// See GetUserDefinedFunctions method for more information on how to use this operation.
10166//
10167// Note: This operation can generate multiple requests to a service.
10168//
10169//    // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation.
10170//    pageNum := 0
10171//    err := client.GetUserDefinedFunctionsPages(params,
10172//        func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool {
10173//            pageNum++
10174//            fmt.Println(page)
10175//            return pageNum <= 3
10176//        })
10177//
10178func (c *Glue) GetUserDefinedFunctionsPages(input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool) error {
10179	return c.GetUserDefinedFunctionsPagesWithContext(aws.BackgroundContext(), input, fn)
10180}
10181
10182// GetUserDefinedFunctionsPagesWithContext same as GetUserDefinedFunctionsPages except
10183// it takes a Context and allows setting request options on the pages.
10184//
10185// The context must be non-nil and will be used for request cancellation. If
10186// the context is nil a panic will occur. In the future the SDK may create
10187// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10188// for more information on using Contexts.
10189func (c *Glue) GetUserDefinedFunctionsPagesWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool, opts ...request.Option) error {
10190	p := request.Pagination{
10191		NewRequest: func() (*request.Request, error) {
10192			var inCpy *GetUserDefinedFunctionsInput
10193			if input != nil {
10194				tmp := *input
10195				inCpy = &tmp
10196			}
10197			req, _ := c.GetUserDefinedFunctionsRequest(inCpy)
10198			req.SetContext(ctx)
10199			req.ApplyOptions(opts...)
10200			return req, nil
10201		},
10202	}
10203
10204	for p.Next() {
10205		if !fn(p.Page().(*GetUserDefinedFunctionsOutput), !p.HasNextPage()) {
10206			break
10207		}
10208	}
10209
10210	return p.Err()
10211}
10212
10213const opGetWorkflow = "GetWorkflow"
10214
10215// GetWorkflowRequest generates a "aws/request.Request" representing the
10216// client's request for the GetWorkflow operation. The "output" return
10217// value will be populated with the request's response once the request completes
10218// successfully.
10219//
10220// Use "Send" method on the returned Request to send the API call to the service.
10221// the "output" return value is not valid until after Send returns without error.
10222//
10223// See GetWorkflow for more information on using the GetWorkflow
10224// API call, and error handling.
10225//
10226// This method is useful when you want to inject custom logic or configuration
10227// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10228//
10229//
10230//    // Example sending a request using the GetWorkflowRequest method.
10231//    req, resp := client.GetWorkflowRequest(params)
10232//
10233//    err := req.Send()
10234//    if err == nil { // resp is now filled
10235//        fmt.Println(resp)
10236//    }
10237//
10238// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
10239func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) {
10240	op := &request.Operation{
10241		Name:       opGetWorkflow,
10242		HTTPMethod: "POST",
10243		HTTPPath:   "/",
10244	}
10245
10246	if input == nil {
10247		input = &GetWorkflowInput{}
10248	}
10249
10250	output = &GetWorkflowOutput{}
10251	req = c.newRequest(op, input, output)
10252	return
10253}
10254
10255// GetWorkflow API operation for AWS Glue.
10256//
10257// Retrieves resource metadata for a workflow.
10258//
10259// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10260// with awserr.Error's Code and Message methods to get detailed information about
10261// the error.
10262//
10263// See the AWS API reference guide for AWS Glue's
10264// API operation GetWorkflow for usage and error information.
10265//
10266// Returned Error Types:
10267//   * InvalidInputException
10268//   The input provided was not valid.
10269//
10270//   * EntityNotFoundException
10271//   A specified entity does not exist
10272//
10273//   * InternalServiceException
10274//   An internal service error occurred.
10275//
10276//   * OperationTimeoutException
10277//   The operation timed out.
10278//
10279// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
10280func (c *Glue) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) {
10281	req, out := c.GetWorkflowRequest(input)
10282	return out, req.Send()
10283}
10284
10285// GetWorkflowWithContext is the same as GetWorkflow with the addition of
10286// the ability to pass a context and additional request options.
10287//
10288// See GetWorkflow for details on how to use this API operation.
10289//
10290// The context must be non-nil and will be used for request cancellation. If
10291// the context is nil a panic will occur. In the future the SDK may create
10292// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10293// for more information on using Contexts.
10294func (c *Glue) GetWorkflowWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.Option) (*GetWorkflowOutput, error) {
10295	req, out := c.GetWorkflowRequest(input)
10296	req.SetContext(ctx)
10297	req.ApplyOptions(opts...)
10298	return out, req.Send()
10299}
10300
10301const opGetWorkflowRun = "GetWorkflowRun"
10302
10303// GetWorkflowRunRequest generates a "aws/request.Request" representing the
10304// client's request for the GetWorkflowRun operation. The "output" return
10305// value will be populated with the request's response once the request completes
10306// successfully.
10307//
10308// Use "Send" method on the returned Request to send the API call to the service.
10309// the "output" return value is not valid until after Send returns without error.
10310//
10311// See GetWorkflowRun for more information on using the GetWorkflowRun
10312// API call, and error handling.
10313//
10314// This method is useful when you want to inject custom logic or configuration
10315// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10316//
10317//
10318//    // Example sending a request using the GetWorkflowRunRequest method.
10319//    req, resp := client.GetWorkflowRunRequest(params)
10320//
10321//    err := req.Send()
10322//    if err == nil { // resp is now filled
10323//        fmt.Println(resp)
10324//    }
10325//
10326// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
10327func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.Request, output *GetWorkflowRunOutput) {
10328	op := &request.Operation{
10329		Name:       opGetWorkflowRun,
10330		HTTPMethod: "POST",
10331		HTTPPath:   "/",
10332	}
10333
10334	if input == nil {
10335		input = &GetWorkflowRunInput{}
10336	}
10337
10338	output = &GetWorkflowRunOutput{}
10339	req = c.newRequest(op, input, output)
10340	return
10341}
10342
10343// GetWorkflowRun API operation for AWS Glue.
10344//
10345// Retrieves the metadata for a given workflow run.
10346//
10347// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10348// with awserr.Error's Code and Message methods to get detailed information about
10349// the error.
10350//
10351// See the AWS API reference guide for AWS Glue's
10352// API operation GetWorkflowRun for usage and error information.
10353//
10354// Returned Error Types:
10355//   * InvalidInputException
10356//   The input provided was not valid.
10357//
10358//   * EntityNotFoundException
10359//   A specified entity does not exist
10360//
10361//   * InternalServiceException
10362//   An internal service error occurred.
10363//
10364//   * OperationTimeoutException
10365//   The operation timed out.
10366//
10367// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
10368func (c *Glue) GetWorkflowRun(input *GetWorkflowRunInput) (*GetWorkflowRunOutput, error) {
10369	req, out := c.GetWorkflowRunRequest(input)
10370	return out, req.Send()
10371}
10372
10373// GetWorkflowRunWithContext is the same as GetWorkflowRun with the addition of
10374// the ability to pass a context and additional request options.
10375//
10376// See GetWorkflowRun for details on how to use this API operation.
10377//
10378// The context must be non-nil and will be used for request cancellation. If
10379// the context is nil a panic will occur. In the future the SDK may create
10380// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10381// for more information on using Contexts.
10382func (c *Glue) GetWorkflowRunWithContext(ctx aws.Context, input *GetWorkflowRunInput, opts ...request.Option) (*GetWorkflowRunOutput, error) {
10383	req, out := c.GetWorkflowRunRequest(input)
10384	req.SetContext(ctx)
10385	req.ApplyOptions(opts...)
10386	return out, req.Send()
10387}
10388
10389const opGetWorkflowRunProperties = "GetWorkflowRunProperties"
10390
10391// GetWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
10392// client's request for the GetWorkflowRunProperties operation. The "output" return
10393// value will be populated with the request's response once the request completes
10394// successfully.
10395//
10396// Use "Send" method on the returned Request to send the API call to the service.
10397// the "output" return value is not valid until after Send returns without error.
10398//
10399// See GetWorkflowRunProperties for more information on using the GetWorkflowRunProperties
10400// API call, and error handling.
10401//
10402// This method is useful when you want to inject custom logic or configuration
10403// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10404//
10405//
10406//    // Example sending a request using the GetWorkflowRunPropertiesRequest method.
10407//    req, resp := client.GetWorkflowRunPropertiesRequest(params)
10408//
10409//    err := req.Send()
10410//    if err == nil { // resp is now filled
10411//        fmt.Println(resp)
10412//    }
10413//
10414// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
10415func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesInput) (req *request.Request, output *GetWorkflowRunPropertiesOutput) {
10416	op := &request.Operation{
10417		Name:       opGetWorkflowRunProperties,
10418		HTTPMethod: "POST",
10419		HTTPPath:   "/",
10420	}
10421
10422	if input == nil {
10423		input = &GetWorkflowRunPropertiesInput{}
10424	}
10425
10426	output = &GetWorkflowRunPropertiesOutput{}
10427	req = c.newRequest(op, input, output)
10428	return
10429}
10430
10431// GetWorkflowRunProperties API operation for AWS Glue.
10432//
10433// Retrieves the workflow run properties which were set during the run.
10434//
10435// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10436// with awserr.Error's Code and Message methods to get detailed information about
10437// the error.
10438//
10439// See the AWS API reference guide for AWS Glue's
10440// API operation GetWorkflowRunProperties for usage and error information.
10441//
10442// Returned Error Types:
10443//   * InvalidInputException
10444//   The input provided was not valid.
10445//
10446//   * EntityNotFoundException
10447//   A specified entity does not exist
10448//
10449//   * InternalServiceException
10450//   An internal service error occurred.
10451//
10452//   * OperationTimeoutException
10453//   The operation timed out.
10454//
10455// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
10456func (c *Glue) GetWorkflowRunProperties(input *GetWorkflowRunPropertiesInput) (*GetWorkflowRunPropertiesOutput, error) {
10457	req, out := c.GetWorkflowRunPropertiesRequest(input)
10458	return out, req.Send()
10459}
10460
10461// GetWorkflowRunPropertiesWithContext is the same as GetWorkflowRunProperties with the addition of
10462// the ability to pass a context and additional request options.
10463//
10464// See GetWorkflowRunProperties for details on how to use this API operation.
10465//
10466// The context must be non-nil and will be used for request cancellation. If
10467// the context is nil a panic will occur. In the future the SDK may create
10468// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10469// for more information on using Contexts.
10470func (c *Glue) GetWorkflowRunPropertiesWithContext(ctx aws.Context, input *GetWorkflowRunPropertiesInput, opts ...request.Option) (*GetWorkflowRunPropertiesOutput, error) {
10471	req, out := c.GetWorkflowRunPropertiesRequest(input)
10472	req.SetContext(ctx)
10473	req.ApplyOptions(opts...)
10474	return out, req.Send()
10475}
10476
10477const opGetWorkflowRuns = "GetWorkflowRuns"
10478
10479// GetWorkflowRunsRequest generates a "aws/request.Request" representing the
10480// client's request for the GetWorkflowRuns operation. The "output" return
10481// value will be populated with the request's response once the request completes
10482// successfully.
10483//
10484// Use "Send" method on the returned Request to send the API call to the service.
10485// the "output" return value is not valid until after Send returns without error.
10486//
10487// See GetWorkflowRuns for more information on using the GetWorkflowRuns
10488// API call, and error handling.
10489//
10490// This method is useful when you want to inject custom logic or configuration
10491// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10492//
10493//
10494//    // Example sending a request using the GetWorkflowRunsRequest method.
10495//    req, resp := client.GetWorkflowRunsRequest(params)
10496//
10497//    err := req.Send()
10498//    if err == nil { // resp is now filled
10499//        fmt.Println(resp)
10500//    }
10501//
10502// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
10503func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request.Request, output *GetWorkflowRunsOutput) {
10504	op := &request.Operation{
10505		Name:       opGetWorkflowRuns,
10506		HTTPMethod: "POST",
10507		HTTPPath:   "/",
10508		Paginator: &request.Paginator{
10509			InputTokens:     []string{"NextToken"},
10510			OutputTokens:    []string{"NextToken"},
10511			LimitToken:      "MaxResults",
10512			TruncationToken: "",
10513		},
10514	}
10515
10516	if input == nil {
10517		input = &GetWorkflowRunsInput{}
10518	}
10519
10520	output = &GetWorkflowRunsOutput{}
10521	req = c.newRequest(op, input, output)
10522	return
10523}
10524
10525// GetWorkflowRuns API operation for AWS Glue.
10526//
10527// Retrieves metadata for all runs of a given workflow.
10528//
10529// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10530// with awserr.Error's Code and Message methods to get detailed information about
10531// the error.
10532//
10533// See the AWS API reference guide for AWS Glue's
10534// API operation GetWorkflowRuns for usage and error information.
10535//
10536// Returned Error Types:
10537//   * InvalidInputException
10538//   The input provided was not valid.
10539//
10540//   * EntityNotFoundException
10541//   A specified entity does not exist
10542//
10543//   * InternalServiceException
10544//   An internal service error occurred.
10545//
10546//   * OperationTimeoutException
10547//   The operation timed out.
10548//
10549// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
10550func (c *Glue) GetWorkflowRuns(input *GetWorkflowRunsInput) (*GetWorkflowRunsOutput, error) {
10551	req, out := c.GetWorkflowRunsRequest(input)
10552	return out, req.Send()
10553}
10554
10555// GetWorkflowRunsWithContext is the same as GetWorkflowRuns with the addition of
10556// the ability to pass a context and additional request options.
10557//
10558// See GetWorkflowRuns for details on how to use this API operation.
10559//
10560// The context must be non-nil and will be used for request cancellation. If
10561// the context is nil a panic will occur. In the future the SDK may create
10562// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10563// for more information on using Contexts.
10564func (c *Glue) GetWorkflowRunsWithContext(ctx aws.Context, input *GetWorkflowRunsInput, opts ...request.Option) (*GetWorkflowRunsOutput, error) {
10565	req, out := c.GetWorkflowRunsRequest(input)
10566	req.SetContext(ctx)
10567	req.ApplyOptions(opts...)
10568	return out, req.Send()
10569}
10570
10571// GetWorkflowRunsPages iterates over the pages of a GetWorkflowRuns operation,
10572// calling the "fn" function with the response data for each page. To stop
10573// iterating, return false from the fn function.
10574//
10575// See GetWorkflowRuns method for more information on how to use this operation.
10576//
10577// Note: This operation can generate multiple requests to a service.
10578//
10579//    // Example iterating over at most 3 pages of a GetWorkflowRuns operation.
10580//    pageNum := 0
10581//    err := client.GetWorkflowRunsPages(params,
10582//        func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool {
10583//            pageNum++
10584//            fmt.Println(page)
10585//            return pageNum <= 3
10586//        })
10587//
10588func (c *Glue) GetWorkflowRunsPages(input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool) error {
10589	return c.GetWorkflowRunsPagesWithContext(aws.BackgroundContext(), input, fn)
10590}
10591
10592// GetWorkflowRunsPagesWithContext same as GetWorkflowRunsPages except
10593// it takes a Context and allows setting request options on the pages.
10594//
10595// The context must be non-nil and will be used for request cancellation. If
10596// the context is nil a panic will occur. In the future the SDK may create
10597// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10598// for more information on using Contexts.
10599func (c *Glue) GetWorkflowRunsPagesWithContext(ctx aws.Context, input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool, opts ...request.Option) error {
10600	p := request.Pagination{
10601		NewRequest: func() (*request.Request, error) {
10602			var inCpy *GetWorkflowRunsInput
10603			if input != nil {
10604				tmp := *input
10605				inCpy = &tmp
10606			}
10607			req, _ := c.GetWorkflowRunsRequest(inCpy)
10608			req.SetContext(ctx)
10609			req.ApplyOptions(opts...)
10610			return req, nil
10611		},
10612	}
10613
10614	for p.Next() {
10615		if !fn(p.Page().(*GetWorkflowRunsOutput), !p.HasNextPage()) {
10616			break
10617		}
10618	}
10619
10620	return p.Err()
10621}
10622
10623const opImportCatalogToGlue = "ImportCatalogToGlue"
10624
10625// ImportCatalogToGlueRequest generates a "aws/request.Request" representing the
10626// client's request for the ImportCatalogToGlue operation. The "output" return
10627// value will be populated with the request's response once the request completes
10628// successfully.
10629//
10630// Use "Send" method on the returned Request to send the API call to the service.
10631// the "output" return value is not valid until after Send returns without error.
10632//
10633// See ImportCatalogToGlue for more information on using the ImportCatalogToGlue
10634// API call, and error handling.
10635//
10636// This method is useful when you want to inject custom logic or configuration
10637// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10638//
10639//
10640//    // Example sending a request using the ImportCatalogToGlueRequest method.
10641//    req, resp := client.ImportCatalogToGlueRequest(params)
10642//
10643//    err := req.Send()
10644//    if err == nil { // resp is now filled
10645//        fmt.Println(resp)
10646//    }
10647//
10648// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
10649func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) {
10650	op := &request.Operation{
10651		Name:       opImportCatalogToGlue,
10652		HTTPMethod: "POST",
10653		HTTPPath:   "/",
10654	}
10655
10656	if input == nil {
10657		input = &ImportCatalogToGlueInput{}
10658	}
10659
10660	output = &ImportCatalogToGlueOutput{}
10661	req = c.newRequest(op, input, output)
10662	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10663	return
10664}
10665
10666// ImportCatalogToGlue API operation for AWS Glue.
10667//
10668// Imports an existing Amazon Athena Data Catalog to AWS Glue
10669//
10670// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10671// with awserr.Error's Code and Message methods to get detailed information about
10672// the error.
10673//
10674// See the AWS API reference guide for AWS Glue's
10675// API operation ImportCatalogToGlue for usage and error information.
10676//
10677// Returned Error Types:
10678//   * InternalServiceException
10679//   An internal service error occurred.
10680//
10681//   * OperationTimeoutException
10682//   The operation timed out.
10683//
10684// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
10685func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) {
10686	req, out := c.ImportCatalogToGlueRequest(input)
10687	return out, req.Send()
10688}
10689
10690// ImportCatalogToGlueWithContext is the same as ImportCatalogToGlue with the addition of
10691// the ability to pass a context and additional request options.
10692//
10693// See ImportCatalogToGlue for details on how to use this API operation.
10694//
10695// The context must be non-nil and will be used for request cancellation. If
10696// the context is nil a panic will occur. In the future the SDK may create
10697// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10698// for more information on using Contexts.
10699func (c *Glue) ImportCatalogToGlueWithContext(ctx aws.Context, input *ImportCatalogToGlueInput, opts ...request.Option) (*ImportCatalogToGlueOutput, error) {
10700	req, out := c.ImportCatalogToGlueRequest(input)
10701	req.SetContext(ctx)
10702	req.ApplyOptions(opts...)
10703	return out, req.Send()
10704}
10705
10706const opListCrawlers = "ListCrawlers"
10707
10708// ListCrawlersRequest generates a "aws/request.Request" representing the
10709// client's request for the ListCrawlers operation. The "output" return
10710// value will be populated with the request's response once the request completes
10711// successfully.
10712//
10713// Use "Send" method on the returned Request to send the API call to the service.
10714// the "output" return value is not valid until after Send returns without error.
10715//
10716// See ListCrawlers for more information on using the ListCrawlers
10717// API call, and error handling.
10718//
10719// This method is useful when you want to inject custom logic or configuration
10720// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10721//
10722//
10723//    // Example sending a request using the ListCrawlersRequest method.
10724//    req, resp := client.ListCrawlersRequest(params)
10725//
10726//    err := req.Send()
10727//    if err == nil { // resp is now filled
10728//        fmt.Println(resp)
10729//    }
10730//
10731// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
10732func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Request, output *ListCrawlersOutput) {
10733	op := &request.Operation{
10734		Name:       opListCrawlers,
10735		HTTPMethod: "POST",
10736		HTTPPath:   "/",
10737		Paginator: &request.Paginator{
10738			InputTokens:     []string{"NextToken"},
10739			OutputTokens:    []string{"NextToken"},
10740			LimitToken:      "MaxResults",
10741			TruncationToken: "",
10742		},
10743	}
10744
10745	if input == nil {
10746		input = &ListCrawlersInput{}
10747	}
10748
10749	output = &ListCrawlersOutput{}
10750	req = c.newRequest(op, input, output)
10751	return
10752}
10753
10754// ListCrawlers API operation for AWS Glue.
10755//
10756// Retrieves the names of all crawler resources in this AWS account, or the
10757// resources with the specified tag. This operation allows you to see which
10758// resources are available in your account, and their names.
10759//
10760// This operation takes the optional Tags field, which you can use as a filter
10761// on the response so that tagged resources can be retrieved as a group. If
10762// you choose to use tags filtering, only resources with the tag are retrieved.
10763//
10764// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10765// with awserr.Error's Code and Message methods to get detailed information about
10766// the error.
10767//
10768// See the AWS API reference guide for AWS Glue's
10769// API operation ListCrawlers for usage and error information.
10770//
10771// Returned Error Types:
10772//   * OperationTimeoutException
10773//   The operation timed out.
10774//
10775// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
10776func (c *Glue) ListCrawlers(input *ListCrawlersInput) (*ListCrawlersOutput, error) {
10777	req, out := c.ListCrawlersRequest(input)
10778	return out, req.Send()
10779}
10780
10781// ListCrawlersWithContext is the same as ListCrawlers with the addition of
10782// the ability to pass a context and additional request options.
10783//
10784// See ListCrawlers for details on how to use this API operation.
10785//
10786// The context must be non-nil and will be used for request cancellation. If
10787// the context is nil a panic will occur. In the future the SDK may create
10788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10789// for more information on using Contexts.
10790func (c *Glue) ListCrawlersWithContext(ctx aws.Context, input *ListCrawlersInput, opts ...request.Option) (*ListCrawlersOutput, error) {
10791	req, out := c.ListCrawlersRequest(input)
10792	req.SetContext(ctx)
10793	req.ApplyOptions(opts...)
10794	return out, req.Send()
10795}
10796
10797// ListCrawlersPages iterates over the pages of a ListCrawlers operation,
10798// calling the "fn" function with the response data for each page. To stop
10799// iterating, return false from the fn function.
10800//
10801// See ListCrawlers method for more information on how to use this operation.
10802//
10803// Note: This operation can generate multiple requests to a service.
10804//
10805//    // Example iterating over at most 3 pages of a ListCrawlers operation.
10806//    pageNum := 0
10807//    err := client.ListCrawlersPages(params,
10808//        func(page *glue.ListCrawlersOutput, lastPage bool) bool {
10809//            pageNum++
10810//            fmt.Println(page)
10811//            return pageNum <= 3
10812//        })
10813//
10814func (c *Glue) ListCrawlersPages(input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool) error {
10815	return c.ListCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
10816}
10817
10818// ListCrawlersPagesWithContext same as ListCrawlersPages except
10819// it takes a Context and allows setting request options on the pages.
10820//
10821// The context must be non-nil and will be used for request cancellation. If
10822// the context is nil a panic will occur. In the future the SDK may create
10823// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10824// for more information on using Contexts.
10825func (c *Glue) ListCrawlersPagesWithContext(ctx aws.Context, input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool, opts ...request.Option) error {
10826	p := request.Pagination{
10827		NewRequest: func() (*request.Request, error) {
10828			var inCpy *ListCrawlersInput
10829			if input != nil {
10830				tmp := *input
10831				inCpy = &tmp
10832			}
10833			req, _ := c.ListCrawlersRequest(inCpy)
10834			req.SetContext(ctx)
10835			req.ApplyOptions(opts...)
10836			return req, nil
10837		},
10838	}
10839
10840	for p.Next() {
10841		if !fn(p.Page().(*ListCrawlersOutput), !p.HasNextPage()) {
10842			break
10843		}
10844	}
10845
10846	return p.Err()
10847}
10848
10849const opListDevEndpoints = "ListDevEndpoints"
10850
10851// ListDevEndpointsRequest generates a "aws/request.Request" representing the
10852// client's request for the ListDevEndpoints operation. The "output" return
10853// value will be populated with the request's response once the request completes
10854// successfully.
10855//
10856// Use "Send" method on the returned Request to send the API call to the service.
10857// the "output" return value is not valid until after Send returns without error.
10858//
10859// See ListDevEndpoints for more information on using the ListDevEndpoints
10860// API call, and error handling.
10861//
10862// This method is useful when you want to inject custom logic or configuration
10863// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10864//
10865//
10866//    // Example sending a request using the ListDevEndpointsRequest method.
10867//    req, resp := client.ListDevEndpointsRequest(params)
10868//
10869//    err := req.Send()
10870//    if err == nil { // resp is now filled
10871//        fmt.Println(resp)
10872//    }
10873//
10874// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
10875func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *request.Request, output *ListDevEndpointsOutput) {
10876	op := &request.Operation{
10877		Name:       opListDevEndpoints,
10878		HTTPMethod: "POST",
10879		HTTPPath:   "/",
10880		Paginator: &request.Paginator{
10881			InputTokens:     []string{"NextToken"},
10882			OutputTokens:    []string{"NextToken"},
10883			LimitToken:      "MaxResults",
10884			TruncationToken: "",
10885		},
10886	}
10887
10888	if input == nil {
10889		input = &ListDevEndpointsInput{}
10890	}
10891
10892	output = &ListDevEndpointsOutput{}
10893	req = c.newRequest(op, input, output)
10894	return
10895}
10896
10897// ListDevEndpoints API operation for AWS Glue.
10898//
10899// Retrieves the names of all DevEndpoint resources in this AWS account, or
10900// the resources with the specified tag. This operation allows you to see which
10901// resources are available in your account, and their names.
10902//
10903// This operation takes the optional Tags field, which you can use as a filter
10904// on the response so that tagged resources can be retrieved as a group. If
10905// you choose to use tags filtering, only resources with the tag are retrieved.
10906//
10907// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10908// with awserr.Error's Code and Message methods to get detailed information about
10909// the error.
10910//
10911// See the AWS API reference guide for AWS Glue's
10912// API operation ListDevEndpoints for usage and error information.
10913//
10914// Returned Error Types:
10915//   * InvalidInputException
10916//   The input provided was not valid.
10917//
10918//   * EntityNotFoundException
10919//   A specified entity does not exist
10920//
10921//   * InternalServiceException
10922//   An internal service error occurred.
10923//
10924//   * OperationTimeoutException
10925//   The operation timed out.
10926//
10927// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
10928func (c *Glue) ListDevEndpoints(input *ListDevEndpointsInput) (*ListDevEndpointsOutput, error) {
10929	req, out := c.ListDevEndpointsRequest(input)
10930	return out, req.Send()
10931}
10932
10933// ListDevEndpointsWithContext is the same as ListDevEndpoints with the addition of
10934// the ability to pass a context and additional request options.
10935//
10936// See ListDevEndpoints for details on how to use this API operation.
10937//
10938// The context must be non-nil and will be used for request cancellation. If
10939// the context is nil a panic will occur. In the future the SDK may create
10940// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10941// for more information on using Contexts.
10942func (c *Glue) ListDevEndpointsWithContext(ctx aws.Context, input *ListDevEndpointsInput, opts ...request.Option) (*ListDevEndpointsOutput, error) {
10943	req, out := c.ListDevEndpointsRequest(input)
10944	req.SetContext(ctx)
10945	req.ApplyOptions(opts...)
10946	return out, req.Send()
10947}
10948
10949// ListDevEndpointsPages iterates over the pages of a ListDevEndpoints operation,
10950// calling the "fn" function with the response data for each page. To stop
10951// iterating, return false from the fn function.
10952//
10953// See ListDevEndpoints method for more information on how to use this operation.
10954//
10955// Note: This operation can generate multiple requests to a service.
10956//
10957//    // Example iterating over at most 3 pages of a ListDevEndpoints operation.
10958//    pageNum := 0
10959//    err := client.ListDevEndpointsPages(params,
10960//        func(page *glue.ListDevEndpointsOutput, lastPage bool) bool {
10961//            pageNum++
10962//            fmt.Println(page)
10963//            return pageNum <= 3
10964//        })
10965//
10966func (c *Glue) ListDevEndpointsPages(input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool) error {
10967	return c.ListDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
10968}
10969
10970// ListDevEndpointsPagesWithContext same as ListDevEndpointsPages except
10971// it takes a Context and allows setting request options on the pages.
10972//
10973// The context must be non-nil and will be used for request cancellation. If
10974// the context is nil a panic will occur. In the future the SDK may create
10975// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10976// for more information on using Contexts.
10977func (c *Glue) ListDevEndpointsPagesWithContext(ctx aws.Context, input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool, opts ...request.Option) error {
10978	p := request.Pagination{
10979		NewRequest: func() (*request.Request, error) {
10980			var inCpy *ListDevEndpointsInput
10981			if input != nil {
10982				tmp := *input
10983				inCpy = &tmp
10984			}
10985			req, _ := c.ListDevEndpointsRequest(inCpy)
10986			req.SetContext(ctx)
10987			req.ApplyOptions(opts...)
10988			return req, nil
10989		},
10990	}
10991
10992	for p.Next() {
10993		if !fn(p.Page().(*ListDevEndpointsOutput), !p.HasNextPage()) {
10994			break
10995		}
10996	}
10997
10998	return p.Err()
10999}
11000
11001const opListJobs = "ListJobs"
11002
11003// ListJobsRequest generates a "aws/request.Request" representing the
11004// client's request for the ListJobs operation. The "output" return
11005// value will be populated with the request's response once the request completes
11006// successfully.
11007//
11008// Use "Send" method on the returned Request to send the API call to the service.
11009// the "output" return value is not valid until after Send returns without error.
11010//
11011// See ListJobs for more information on using the ListJobs
11012// API call, and error handling.
11013//
11014// This method is useful when you want to inject custom logic or configuration
11015// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11016//
11017//
11018//    // Example sending a request using the ListJobsRequest method.
11019//    req, resp := client.ListJobsRequest(params)
11020//
11021//    err := req.Send()
11022//    if err == nil { // resp is now filled
11023//        fmt.Println(resp)
11024//    }
11025//
11026// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
11027func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) {
11028	op := &request.Operation{
11029		Name:       opListJobs,
11030		HTTPMethod: "POST",
11031		HTTPPath:   "/",
11032		Paginator: &request.Paginator{
11033			InputTokens:     []string{"NextToken"},
11034			OutputTokens:    []string{"NextToken"},
11035			LimitToken:      "MaxResults",
11036			TruncationToken: "",
11037		},
11038	}
11039
11040	if input == nil {
11041		input = &ListJobsInput{}
11042	}
11043
11044	output = &ListJobsOutput{}
11045	req = c.newRequest(op, input, output)
11046	return
11047}
11048
11049// ListJobs API operation for AWS Glue.
11050//
11051// Retrieves the names of all job resources in this AWS account, or the resources
11052// with the specified tag. This operation allows you to see which resources
11053// are available in your account, and their names.
11054//
11055// This operation takes the optional Tags field, which you can use as a filter
11056// on the response so that tagged resources can be retrieved as a group. If
11057// you choose to use tags filtering, only resources with the tag are retrieved.
11058//
11059// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11060// with awserr.Error's Code and Message methods to get detailed information about
11061// the error.
11062//
11063// See the AWS API reference guide for AWS Glue's
11064// API operation ListJobs for usage and error information.
11065//
11066// Returned Error Types:
11067//   * InvalidInputException
11068//   The input provided was not valid.
11069//
11070//   * EntityNotFoundException
11071//   A specified entity does not exist
11072//
11073//   * InternalServiceException
11074//   An internal service error occurred.
11075//
11076//   * OperationTimeoutException
11077//   The operation timed out.
11078//
11079// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
11080func (c *Glue) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) {
11081	req, out := c.ListJobsRequest(input)
11082	return out, req.Send()
11083}
11084
11085// ListJobsWithContext is the same as ListJobs with the addition of
11086// the ability to pass a context and additional request options.
11087//
11088// See ListJobs for details on how to use this API operation.
11089//
11090// The context must be non-nil and will be used for request cancellation. If
11091// the context is nil a panic will occur. In the future the SDK may create
11092// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11093// for more information on using Contexts.
11094func (c *Glue) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) {
11095	req, out := c.ListJobsRequest(input)
11096	req.SetContext(ctx)
11097	req.ApplyOptions(opts...)
11098	return out, req.Send()
11099}
11100
11101// ListJobsPages iterates over the pages of a ListJobs operation,
11102// calling the "fn" function with the response data for each page. To stop
11103// iterating, return false from the fn function.
11104//
11105// See ListJobs method for more information on how to use this operation.
11106//
11107// Note: This operation can generate multiple requests to a service.
11108//
11109//    // Example iterating over at most 3 pages of a ListJobs operation.
11110//    pageNum := 0
11111//    err := client.ListJobsPages(params,
11112//        func(page *glue.ListJobsOutput, lastPage bool) bool {
11113//            pageNum++
11114//            fmt.Println(page)
11115//            return pageNum <= 3
11116//        })
11117//
11118func (c *Glue) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error {
11119	return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn)
11120}
11121
11122// ListJobsPagesWithContext same as ListJobsPages except
11123// it takes a Context and allows setting request options on the pages.
11124//
11125// The context must be non-nil and will be used for request cancellation. If
11126// the context is nil a panic will occur. In the future the SDK may create
11127// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11128// for more information on using Contexts.
11129func (c *Glue) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error {
11130	p := request.Pagination{
11131		NewRequest: func() (*request.Request, error) {
11132			var inCpy *ListJobsInput
11133			if input != nil {
11134				tmp := *input
11135				inCpy = &tmp
11136			}
11137			req, _ := c.ListJobsRequest(inCpy)
11138			req.SetContext(ctx)
11139			req.ApplyOptions(opts...)
11140			return req, nil
11141		},
11142	}
11143
11144	for p.Next() {
11145		if !fn(p.Page().(*ListJobsOutput), !p.HasNextPage()) {
11146			break
11147		}
11148	}
11149
11150	return p.Err()
11151}
11152
11153const opListMLTransforms = "ListMLTransforms"
11154
11155// ListMLTransformsRequest generates a "aws/request.Request" representing the
11156// client's request for the ListMLTransforms operation. The "output" return
11157// value will be populated with the request's response once the request completes
11158// successfully.
11159//
11160// Use "Send" method on the returned Request to send the API call to the service.
11161// the "output" return value is not valid until after Send returns without error.
11162//
11163// See ListMLTransforms for more information on using the ListMLTransforms
11164// API call, and error handling.
11165//
11166// This method is useful when you want to inject custom logic or configuration
11167// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11168//
11169//
11170//    // Example sending a request using the ListMLTransformsRequest method.
11171//    req, resp := client.ListMLTransformsRequest(params)
11172//
11173//    err := req.Send()
11174//    if err == nil { // resp is now filled
11175//        fmt.Println(resp)
11176//    }
11177//
11178// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms
11179func (c *Glue) ListMLTransformsRequest(input *ListMLTransformsInput) (req *request.Request, output *ListMLTransformsOutput) {
11180	op := &request.Operation{
11181		Name:       opListMLTransforms,
11182		HTTPMethod: "POST",
11183		HTTPPath:   "/",
11184		Paginator: &request.Paginator{
11185			InputTokens:     []string{"NextToken"},
11186			OutputTokens:    []string{"NextToken"},
11187			LimitToken:      "MaxResults",
11188			TruncationToken: "",
11189		},
11190	}
11191
11192	if input == nil {
11193		input = &ListMLTransformsInput{}
11194	}
11195
11196	output = &ListMLTransformsOutput{}
11197	req = c.newRequest(op, input, output)
11198	return
11199}
11200
11201// ListMLTransforms API operation for AWS Glue.
11202//
11203// Retrieves a sortable, filterable list of existing AWS Glue machine learning
11204// transforms in this AWS account, or the resources with the specified tag.
11205// This operation takes the optional Tags field, which you can use as a filter
11206// of the responses so that tagged resources can be retrieved as a group. If
11207// you choose to use tag filtering, only resources with the tags are retrieved.
11208//
11209// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11210// with awserr.Error's Code and Message methods to get detailed information about
11211// the error.
11212//
11213// See the AWS API reference guide for AWS Glue's
11214// API operation ListMLTransforms for usage and error information.
11215//
11216// Returned Error Types:
11217//   * EntityNotFoundException
11218//   A specified entity does not exist
11219//
11220//   * InvalidInputException
11221//   The input provided was not valid.
11222//
11223//   * OperationTimeoutException
11224//   The operation timed out.
11225//
11226//   * InternalServiceException
11227//   An internal service error occurred.
11228//
11229// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms
11230func (c *Glue) ListMLTransforms(input *ListMLTransformsInput) (*ListMLTransformsOutput, error) {
11231	req, out := c.ListMLTransformsRequest(input)
11232	return out, req.Send()
11233}
11234
11235// ListMLTransformsWithContext is the same as ListMLTransforms with the addition of
11236// the ability to pass a context and additional request options.
11237//
11238// See ListMLTransforms for details on how to use this API operation.
11239//
11240// The context must be non-nil and will be used for request cancellation. If
11241// the context is nil a panic will occur. In the future the SDK may create
11242// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11243// for more information on using Contexts.
11244func (c *Glue) ListMLTransformsWithContext(ctx aws.Context, input *ListMLTransformsInput, opts ...request.Option) (*ListMLTransformsOutput, error) {
11245	req, out := c.ListMLTransformsRequest(input)
11246	req.SetContext(ctx)
11247	req.ApplyOptions(opts...)
11248	return out, req.Send()
11249}
11250
11251// ListMLTransformsPages iterates over the pages of a ListMLTransforms operation,
11252// calling the "fn" function with the response data for each page. To stop
11253// iterating, return false from the fn function.
11254//
11255// See ListMLTransforms method for more information on how to use this operation.
11256//
11257// Note: This operation can generate multiple requests to a service.
11258//
11259//    // Example iterating over at most 3 pages of a ListMLTransforms operation.
11260//    pageNum := 0
11261//    err := client.ListMLTransformsPages(params,
11262//        func(page *glue.ListMLTransformsOutput, lastPage bool) bool {
11263//            pageNum++
11264//            fmt.Println(page)
11265//            return pageNum <= 3
11266//        })
11267//
11268func (c *Glue) ListMLTransformsPages(input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool) error {
11269	return c.ListMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn)
11270}
11271
11272// ListMLTransformsPagesWithContext same as ListMLTransformsPages except
11273// it takes a Context and allows setting request options on the pages.
11274//
11275// The context must be non-nil and will be used for request cancellation. If
11276// the context is nil a panic will occur. In the future the SDK may create
11277// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11278// for more information on using Contexts.
11279func (c *Glue) ListMLTransformsPagesWithContext(ctx aws.Context, input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool, opts ...request.Option) error {
11280	p := request.Pagination{
11281		NewRequest: func() (*request.Request, error) {
11282			var inCpy *ListMLTransformsInput
11283			if input != nil {
11284				tmp := *input
11285				inCpy = &tmp
11286			}
11287			req, _ := c.ListMLTransformsRequest(inCpy)
11288			req.SetContext(ctx)
11289			req.ApplyOptions(opts...)
11290			return req, nil
11291		},
11292	}
11293
11294	for p.Next() {
11295		if !fn(p.Page().(*ListMLTransformsOutput), !p.HasNextPage()) {
11296			break
11297		}
11298	}
11299
11300	return p.Err()
11301}
11302
11303const opListRegistries = "ListRegistries"
11304
11305// ListRegistriesRequest generates a "aws/request.Request" representing the
11306// client's request for the ListRegistries operation. The "output" return
11307// value will be populated with the request's response once the request completes
11308// successfully.
11309//
11310// Use "Send" method on the returned Request to send the API call to the service.
11311// the "output" return value is not valid until after Send returns without error.
11312//
11313// See ListRegistries for more information on using the ListRegistries
11314// API call, and error handling.
11315//
11316// This method is useful when you want to inject custom logic or configuration
11317// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11318//
11319//
11320//    // Example sending a request using the ListRegistriesRequest method.
11321//    req, resp := client.ListRegistriesRequest(params)
11322//
11323//    err := req.Send()
11324//    if err == nil { // resp is now filled
11325//        fmt.Println(resp)
11326//    }
11327//
11328// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries
11329func (c *Glue) ListRegistriesRequest(input *ListRegistriesInput) (req *request.Request, output *ListRegistriesOutput) {
11330	op := &request.Operation{
11331		Name:       opListRegistries,
11332		HTTPMethod: "POST",
11333		HTTPPath:   "/",
11334		Paginator: &request.Paginator{
11335			InputTokens:     []string{"NextToken"},
11336			OutputTokens:    []string{"NextToken"},
11337			LimitToken:      "MaxResults",
11338			TruncationToken: "",
11339		},
11340	}
11341
11342	if input == nil {
11343		input = &ListRegistriesInput{}
11344	}
11345
11346	output = &ListRegistriesOutput{}
11347	req = c.newRequest(op, input, output)
11348	return
11349}
11350
11351// ListRegistries API operation for AWS Glue.
11352//
11353// Returns a list of registries that you have created, with minimal registry
11354// information. Registries in the Deleting status will not be included in the
11355// results. Empty results will be returned if there are no registries available.
11356//
11357// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11358// with awserr.Error's Code and Message methods to get detailed information about
11359// the error.
11360//
11361// See the AWS API reference guide for AWS Glue's
11362// API operation ListRegistries for usage and error information.
11363//
11364// Returned Error Types:
11365//   * InvalidInputException
11366//   The input provided was not valid.
11367//
11368//   * AccessDeniedException
11369//   Access to a resource was denied.
11370//
11371//   * InternalServiceException
11372//   An internal service error occurred.
11373//
11374// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries
11375func (c *Glue) ListRegistries(input *ListRegistriesInput) (*ListRegistriesOutput, error) {
11376	req, out := c.ListRegistriesRequest(input)
11377	return out, req.Send()
11378}
11379
11380// ListRegistriesWithContext is the same as ListRegistries with the addition of
11381// the ability to pass a context and additional request options.
11382//
11383// See ListRegistries for details on how to use this API operation.
11384//
11385// The context must be non-nil and will be used for request cancellation. If
11386// the context is nil a panic will occur. In the future the SDK may create
11387// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11388// for more information on using Contexts.
11389func (c *Glue) ListRegistriesWithContext(ctx aws.Context, input *ListRegistriesInput, opts ...request.Option) (*ListRegistriesOutput, error) {
11390	req, out := c.ListRegistriesRequest(input)
11391	req.SetContext(ctx)
11392	req.ApplyOptions(opts...)
11393	return out, req.Send()
11394}
11395
11396// ListRegistriesPages iterates over the pages of a ListRegistries operation,
11397// calling the "fn" function with the response data for each page. To stop
11398// iterating, return false from the fn function.
11399//
11400// See ListRegistries method for more information on how to use this operation.
11401//
11402// Note: This operation can generate multiple requests to a service.
11403//
11404//    // Example iterating over at most 3 pages of a ListRegistries operation.
11405//    pageNum := 0
11406//    err := client.ListRegistriesPages(params,
11407//        func(page *glue.ListRegistriesOutput, lastPage bool) bool {
11408//            pageNum++
11409//            fmt.Println(page)
11410//            return pageNum <= 3
11411//        })
11412//
11413func (c *Glue) ListRegistriesPages(input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool) error {
11414	return c.ListRegistriesPagesWithContext(aws.BackgroundContext(), input, fn)
11415}
11416
11417// ListRegistriesPagesWithContext same as ListRegistriesPages except
11418// it takes a Context and allows setting request options on the pages.
11419//
11420// The context must be non-nil and will be used for request cancellation. If
11421// the context is nil a panic will occur. In the future the SDK may create
11422// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11423// for more information on using Contexts.
11424func (c *Glue) ListRegistriesPagesWithContext(ctx aws.Context, input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool, opts ...request.Option) error {
11425	p := request.Pagination{
11426		NewRequest: func() (*request.Request, error) {
11427			var inCpy *ListRegistriesInput
11428			if input != nil {
11429				tmp := *input
11430				inCpy = &tmp
11431			}
11432			req, _ := c.ListRegistriesRequest(inCpy)
11433			req.SetContext(ctx)
11434			req.ApplyOptions(opts...)
11435			return req, nil
11436		},
11437	}
11438
11439	for p.Next() {
11440		if !fn(p.Page().(*ListRegistriesOutput), !p.HasNextPage()) {
11441			break
11442		}
11443	}
11444
11445	return p.Err()
11446}
11447
11448const opListSchemaVersions = "ListSchemaVersions"
11449
11450// ListSchemaVersionsRequest generates a "aws/request.Request" representing the
11451// client's request for the ListSchemaVersions operation. The "output" return
11452// value will be populated with the request's response once the request completes
11453// successfully.
11454//
11455// Use "Send" method on the returned Request to send the API call to the service.
11456// the "output" return value is not valid until after Send returns without error.
11457//
11458// See ListSchemaVersions for more information on using the ListSchemaVersions
11459// API call, and error handling.
11460//
11461// This method is useful when you want to inject custom logic or configuration
11462// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11463//
11464//
11465//    // Example sending a request using the ListSchemaVersionsRequest method.
11466//    req, resp := client.ListSchemaVersionsRequest(params)
11467//
11468//    err := req.Send()
11469//    if err == nil { // resp is now filled
11470//        fmt.Println(resp)
11471//    }
11472//
11473// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions
11474func (c *Glue) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *request.Request, output *ListSchemaVersionsOutput) {
11475	op := &request.Operation{
11476		Name:       opListSchemaVersions,
11477		HTTPMethod: "POST",
11478		HTTPPath:   "/",
11479		Paginator: &request.Paginator{
11480			InputTokens:     []string{"NextToken"},
11481			OutputTokens:    []string{"NextToken"},
11482			LimitToken:      "MaxResults",
11483			TruncationToken: "",
11484		},
11485	}
11486
11487	if input == nil {
11488		input = &ListSchemaVersionsInput{}
11489	}
11490
11491	output = &ListSchemaVersionsOutput{}
11492	req = c.newRequest(op, input, output)
11493	return
11494}
11495
11496// ListSchemaVersions API operation for AWS Glue.
11497//
11498// Returns a list of schema versions that you have created, with minimal information.
11499// Schema versions in Deleted status will not be included in the results. Empty
11500// results will be returned if there are no schema versions available.
11501//
11502// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11503// with awserr.Error's Code and Message methods to get detailed information about
11504// the error.
11505//
11506// See the AWS API reference guide for AWS Glue's
11507// API operation ListSchemaVersions for usage and error information.
11508//
11509// Returned Error Types:
11510//   * InvalidInputException
11511//   The input provided was not valid.
11512//
11513//   * AccessDeniedException
11514//   Access to a resource was denied.
11515//
11516//   * EntityNotFoundException
11517//   A specified entity does not exist
11518//
11519//   * InternalServiceException
11520//   An internal service error occurred.
11521//
11522// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions
11523func (c *Glue) ListSchemaVersions(input *ListSchemaVersionsInput) (*ListSchemaVersionsOutput, error) {
11524	req, out := c.ListSchemaVersionsRequest(input)
11525	return out, req.Send()
11526}
11527
11528// ListSchemaVersionsWithContext is the same as ListSchemaVersions with the addition of
11529// the ability to pass a context and additional request options.
11530//
11531// See ListSchemaVersions for details on how to use this API operation.
11532//
11533// The context must be non-nil and will be used for request cancellation. If
11534// the context is nil a panic will occur. In the future the SDK may create
11535// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11536// for more information on using Contexts.
11537func (c *Glue) ListSchemaVersionsWithContext(ctx aws.Context, input *ListSchemaVersionsInput, opts ...request.Option) (*ListSchemaVersionsOutput, error) {
11538	req, out := c.ListSchemaVersionsRequest(input)
11539	req.SetContext(ctx)
11540	req.ApplyOptions(opts...)
11541	return out, req.Send()
11542}
11543
11544// ListSchemaVersionsPages iterates over the pages of a ListSchemaVersions operation,
11545// calling the "fn" function with the response data for each page. To stop
11546// iterating, return false from the fn function.
11547//
11548// See ListSchemaVersions method for more information on how to use this operation.
11549//
11550// Note: This operation can generate multiple requests to a service.
11551//
11552//    // Example iterating over at most 3 pages of a ListSchemaVersions operation.
11553//    pageNum := 0
11554//    err := client.ListSchemaVersionsPages(params,
11555//        func(page *glue.ListSchemaVersionsOutput, lastPage bool) bool {
11556//            pageNum++
11557//            fmt.Println(page)
11558//            return pageNum <= 3
11559//        })
11560//
11561func (c *Glue) ListSchemaVersionsPages(input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool) error {
11562	return c.ListSchemaVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
11563}
11564
11565// ListSchemaVersionsPagesWithContext same as ListSchemaVersionsPages except
11566// it takes a Context and allows setting request options on the pages.
11567//
11568// The context must be non-nil and will be used for request cancellation. If
11569// the context is nil a panic will occur. In the future the SDK may create
11570// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11571// for more information on using Contexts.
11572func (c *Glue) ListSchemaVersionsPagesWithContext(ctx aws.Context, input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool, opts ...request.Option) error {
11573	p := request.Pagination{
11574		NewRequest: func() (*request.Request, error) {
11575			var inCpy *ListSchemaVersionsInput
11576			if input != nil {
11577				tmp := *input
11578				inCpy = &tmp
11579			}
11580			req, _ := c.ListSchemaVersionsRequest(inCpy)
11581			req.SetContext(ctx)
11582			req.ApplyOptions(opts...)
11583			return req, nil
11584		},
11585	}
11586
11587	for p.Next() {
11588		if !fn(p.Page().(*ListSchemaVersionsOutput), !p.HasNextPage()) {
11589			break
11590		}
11591	}
11592
11593	return p.Err()
11594}
11595
11596const opListSchemas = "ListSchemas"
11597
11598// ListSchemasRequest generates a "aws/request.Request" representing the
11599// client's request for the ListSchemas operation. The "output" return
11600// value will be populated with the request's response once the request completes
11601// successfully.
11602//
11603// Use "Send" method on the returned Request to send the API call to the service.
11604// the "output" return value is not valid until after Send returns without error.
11605//
11606// See ListSchemas for more information on using the ListSchemas
11607// API call, and error handling.
11608//
11609// This method is useful when you want to inject custom logic or configuration
11610// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11611//
11612//
11613//    // Example sending a request using the ListSchemasRequest method.
11614//    req, resp := client.ListSchemasRequest(params)
11615//
11616//    err := req.Send()
11617//    if err == nil { // resp is now filled
11618//        fmt.Println(resp)
11619//    }
11620//
11621// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas
11622func (c *Glue) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) {
11623	op := &request.Operation{
11624		Name:       opListSchemas,
11625		HTTPMethod: "POST",
11626		HTTPPath:   "/",
11627		Paginator: &request.Paginator{
11628			InputTokens:     []string{"NextToken"},
11629			OutputTokens:    []string{"NextToken"},
11630			LimitToken:      "MaxResults",
11631			TruncationToken: "",
11632		},
11633	}
11634
11635	if input == nil {
11636		input = &ListSchemasInput{}
11637	}
11638
11639	output = &ListSchemasOutput{}
11640	req = c.newRequest(op, input, output)
11641	return
11642}
11643
11644// ListSchemas API operation for AWS Glue.
11645//
11646// Returns a list of schemas with minimal details. Schemas in Deleting status
11647// will not be included in the results. Empty results will be returned if there
11648// are no schemas available.
11649//
11650// When the RegistryId is not provided, all the schemas across registries will
11651// be part of the API response.
11652//
11653// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11654// with awserr.Error's Code and Message methods to get detailed information about
11655// the error.
11656//
11657// See the AWS API reference guide for AWS Glue's
11658// API operation ListSchemas for usage and error information.
11659//
11660// Returned Error Types:
11661//   * InvalidInputException
11662//   The input provided was not valid.
11663//
11664//   * AccessDeniedException
11665//   Access to a resource was denied.
11666//
11667//   * EntityNotFoundException
11668//   A specified entity does not exist
11669//
11670//   * InternalServiceException
11671//   An internal service error occurred.
11672//
11673// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas
11674func (c *Glue) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) {
11675	req, out := c.ListSchemasRequest(input)
11676	return out, req.Send()
11677}
11678
11679// ListSchemasWithContext is the same as ListSchemas with the addition of
11680// the ability to pass a context and additional request options.
11681//
11682// See ListSchemas for details on how to use this API operation.
11683//
11684// The context must be non-nil and will be used for request cancellation. If
11685// the context is nil a panic will occur. In the future the SDK may create
11686// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11687// for more information on using Contexts.
11688func (c *Glue) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, opts ...request.Option) (*ListSchemasOutput, error) {
11689	req, out := c.ListSchemasRequest(input)
11690	req.SetContext(ctx)
11691	req.ApplyOptions(opts...)
11692	return out, req.Send()
11693}
11694
11695// ListSchemasPages iterates over the pages of a ListSchemas operation,
11696// calling the "fn" function with the response data for each page. To stop
11697// iterating, return false from the fn function.
11698//
11699// See ListSchemas method for more information on how to use this operation.
11700//
11701// Note: This operation can generate multiple requests to a service.
11702//
11703//    // Example iterating over at most 3 pages of a ListSchemas operation.
11704//    pageNum := 0
11705//    err := client.ListSchemasPages(params,
11706//        func(page *glue.ListSchemasOutput, lastPage bool) bool {
11707//            pageNum++
11708//            fmt.Println(page)
11709//            return pageNum <= 3
11710//        })
11711//
11712func (c *Glue) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error {
11713	return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn)
11714}
11715
11716// ListSchemasPagesWithContext same as ListSchemasPages except
11717// it takes a Context and allows setting request options on the pages.
11718//
11719// The context must be non-nil and will be used for request cancellation. If
11720// the context is nil a panic will occur. In the future the SDK may create
11721// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11722// for more information on using Contexts.
11723func (c *Glue) ListSchemasPagesWithContext(ctx aws.Context, input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool, opts ...request.Option) error {
11724	p := request.Pagination{
11725		NewRequest: func() (*request.Request, error) {
11726			var inCpy *ListSchemasInput
11727			if input != nil {
11728				tmp := *input
11729				inCpy = &tmp
11730			}
11731			req, _ := c.ListSchemasRequest(inCpy)
11732			req.SetContext(ctx)
11733			req.ApplyOptions(opts...)
11734			return req, nil
11735		},
11736	}
11737
11738	for p.Next() {
11739		if !fn(p.Page().(*ListSchemasOutput), !p.HasNextPage()) {
11740			break
11741		}
11742	}
11743
11744	return p.Err()
11745}
11746
11747const opListTriggers = "ListTriggers"
11748
11749// ListTriggersRequest generates a "aws/request.Request" representing the
11750// client's request for the ListTriggers operation. The "output" return
11751// value will be populated with the request's response once the request completes
11752// successfully.
11753//
11754// Use "Send" method on the returned Request to send the API call to the service.
11755// the "output" return value is not valid until after Send returns without error.
11756//
11757// See ListTriggers for more information on using the ListTriggers
11758// API call, and error handling.
11759//
11760// This method is useful when you want to inject custom logic or configuration
11761// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11762//
11763//
11764//    // Example sending a request using the ListTriggersRequest method.
11765//    req, resp := client.ListTriggersRequest(params)
11766//
11767//    err := req.Send()
11768//    if err == nil { // resp is now filled
11769//        fmt.Println(resp)
11770//    }
11771//
11772// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
11773func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) {
11774	op := &request.Operation{
11775		Name:       opListTriggers,
11776		HTTPMethod: "POST",
11777		HTTPPath:   "/",
11778		Paginator: &request.Paginator{
11779			InputTokens:     []string{"NextToken"},
11780			OutputTokens:    []string{"NextToken"},
11781			LimitToken:      "MaxResults",
11782			TruncationToken: "",
11783		},
11784	}
11785
11786	if input == nil {
11787		input = &ListTriggersInput{}
11788	}
11789
11790	output = &ListTriggersOutput{}
11791	req = c.newRequest(op, input, output)
11792	return
11793}
11794
11795// ListTriggers API operation for AWS Glue.
11796//
11797// Retrieves the names of all trigger resources in this AWS account, or the
11798// resources with the specified tag. This operation allows you to see which
11799// resources are available in your account, and their names.
11800//
11801// This operation takes the optional Tags field, which you can use as a filter
11802// on the response so that tagged resources can be retrieved as a group. If
11803// you choose to use tags filtering, only resources with the tag are retrieved.
11804//
11805// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11806// with awserr.Error's Code and Message methods to get detailed information about
11807// the error.
11808//
11809// See the AWS API reference guide for AWS Glue's
11810// API operation ListTriggers for usage and error information.
11811//
11812// Returned Error Types:
11813//   * EntityNotFoundException
11814//   A specified entity does not exist
11815//
11816//   * InvalidInputException
11817//   The input provided was not valid.
11818//
11819//   * InternalServiceException
11820//   An internal service error occurred.
11821//
11822//   * OperationTimeoutException
11823//   The operation timed out.
11824//
11825// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
11826func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) {
11827	req, out := c.ListTriggersRequest(input)
11828	return out, req.Send()
11829}
11830
11831// ListTriggersWithContext is the same as ListTriggers with the addition of
11832// the ability to pass a context and additional request options.
11833//
11834// See ListTriggers for details on how to use this API operation.
11835//
11836// The context must be non-nil and will be used for request cancellation. If
11837// the context is nil a panic will occur. In the future the SDK may create
11838// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11839// for more information on using Contexts.
11840func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput, opts ...request.Option) (*ListTriggersOutput, error) {
11841	req, out := c.ListTriggersRequest(input)
11842	req.SetContext(ctx)
11843	req.ApplyOptions(opts...)
11844	return out, req.Send()
11845}
11846
11847// ListTriggersPages iterates over the pages of a ListTriggers operation,
11848// calling the "fn" function with the response data for each page. To stop
11849// iterating, return false from the fn function.
11850//
11851// See ListTriggers method for more information on how to use this operation.
11852//
11853// Note: This operation can generate multiple requests to a service.
11854//
11855//    // Example iterating over at most 3 pages of a ListTriggers operation.
11856//    pageNum := 0
11857//    err := client.ListTriggersPages(params,
11858//        func(page *glue.ListTriggersOutput, lastPage bool) bool {
11859//            pageNum++
11860//            fmt.Println(page)
11861//            return pageNum <= 3
11862//        })
11863//
11864func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error {
11865	return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
11866}
11867
11868// ListTriggersPagesWithContext same as ListTriggersPages except
11869// it takes a Context and allows setting request options on the pages.
11870//
11871// The context must be non-nil and will be used for request cancellation. If
11872// the context is nil a panic will occur. In the future the SDK may create
11873// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11874// for more information on using Contexts.
11875func (c *Glue) ListTriggersPagesWithContext(ctx aws.Context, input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool, opts ...request.Option) error {
11876	p := request.Pagination{
11877		NewRequest: func() (*request.Request, error) {
11878			var inCpy *ListTriggersInput
11879			if input != nil {
11880				tmp := *input
11881				inCpy = &tmp
11882			}
11883			req, _ := c.ListTriggersRequest(inCpy)
11884			req.SetContext(ctx)
11885			req.ApplyOptions(opts...)
11886			return req, nil
11887		},
11888	}
11889
11890	for p.Next() {
11891		if !fn(p.Page().(*ListTriggersOutput), !p.HasNextPage()) {
11892			break
11893		}
11894	}
11895
11896	return p.Err()
11897}
11898
11899const opListWorkflows = "ListWorkflows"
11900
11901// ListWorkflowsRequest generates a "aws/request.Request" representing the
11902// client's request for the ListWorkflows operation. The "output" return
11903// value will be populated with the request's response once the request completes
11904// successfully.
11905//
11906// Use "Send" method on the returned Request to send the API call to the service.
11907// the "output" return value is not valid until after Send returns without error.
11908//
11909// See ListWorkflows for more information on using the ListWorkflows
11910// API call, and error handling.
11911//
11912// This method is useful when you want to inject custom logic or configuration
11913// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11914//
11915//
11916//    // Example sending a request using the ListWorkflowsRequest method.
11917//    req, resp := client.ListWorkflowsRequest(params)
11918//
11919//    err := req.Send()
11920//    if err == nil { // resp is now filled
11921//        fmt.Println(resp)
11922//    }
11923//
11924// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
11925func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) {
11926	op := &request.Operation{
11927		Name:       opListWorkflows,
11928		HTTPMethod: "POST",
11929		HTTPPath:   "/",
11930		Paginator: &request.Paginator{
11931			InputTokens:     []string{"NextToken"},
11932			OutputTokens:    []string{"NextToken"},
11933			LimitToken:      "MaxResults",
11934			TruncationToken: "",
11935		},
11936	}
11937
11938	if input == nil {
11939		input = &ListWorkflowsInput{}
11940	}
11941
11942	output = &ListWorkflowsOutput{}
11943	req = c.newRequest(op, input, output)
11944	return
11945}
11946
11947// ListWorkflows API operation for AWS Glue.
11948//
11949// Lists names of workflows created in the account.
11950//
11951// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11952// with awserr.Error's Code and Message methods to get detailed information about
11953// the error.
11954//
11955// See the AWS API reference guide for AWS Glue's
11956// API operation ListWorkflows for usage and error information.
11957//
11958// Returned Error Types:
11959//   * InvalidInputException
11960//   The input provided was not valid.
11961//
11962//   * InternalServiceException
11963//   An internal service error occurred.
11964//
11965//   * OperationTimeoutException
11966//   The operation timed out.
11967//
11968// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
11969func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) {
11970	req, out := c.ListWorkflowsRequest(input)
11971	return out, req.Send()
11972}
11973
11974// ListWorkflowsWithContext is the same as ListWorkflows with the addition of
11975// the ability to pass a context and additional request options.
11976//
11977// See ListWorkflows for details on how to use this API operation.
11978//
11979// The context must be non-nil and will be used for request cancellation. If
11980// the context is nil a panic will occur. In the future the SDK may create
11981// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11982// for more information on using Contexts.
11983func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) {
11984	req, out := c.ListWorkflowsRequest(input)
11985	req.SetContext(ctx)
11986	req.ApplyOptions(opts...)
11987	return out, req.Send()
11988}
11989
11990// ListWorkflowsPages iterates over the pages of a ListWorkflows operation,
11991// calling the "fn" function with the response data for each page. To stop
11992// iterating, return false from the fn function.
11993//
11994// See ListWorkflows method for more information on how to use this operation.
11995//
11996// Note: This operation can generate multiple requests to a service.
11997//
11998//    // Example iterating over at most 3 pages of a ListWorkflows operation.
11999//    pageNum := 0
12000//    err := client.ListWorkflowsPages(params,
12001//        func(page *glue.ListWorkflowsOutput, lastPage bool) bool {
12002//            pageNum++
12003//            fmt.Println(page)
12004//            return pageNum <= 3
12005//        })
12006//
12007func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error {
12008	return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn)
12009}
12010
12011// ListWorkflowsPagesWithContext same as ListWorkflowsPages except
12012// it takes a Context and allows setting request options on the pages.
12013//
12014// The context must be non-nil and will be used for request cancellation. If
12015// the context is nil a panic will occur. In the future the SDK may create
12016// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12017// for more information on using Contexts.
12018func (c *Glue) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error {
12019	p := request.Pagination{
12020		NewRequest: func() (*request.Request, error) {
12021			var inCpy *ListWorkflowsInput
12022			if input != nil {
12023				tmp := *input
12024				inCpy = &tmp
12025			}
12026			req, _ := c.ListWorkflowsRequest(inCpy)
12027			req.SetContext(ctx)
12028			req.ApplyOptions(opts...)
12029			return req, nil
12030		},
12031	}
12032
12033	for p.Next() {
12034		if !fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage()) {
12035			break
12036		}
12037	}
12038
12039	return p.Err()
12040}
12041
12042const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings"
12043
12044// PutDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
12045// client's request for the PutDataCatalogEncryptionSettings operation. The "output" return
12046// value will be populated with the request's response once the request completes
12047// successfully.
12048//
12049// Use "Send" method on the returned Request to send the API call to the service.
12050// the "output" return value is not valid until after Send returns without error.
12051//
12052// See PutDataCatalogEncryptionSettings for more information on using the PutDataCatalogEncryptionSettings
12053// API call, and error handling.
12054//
12055// This method is useful when you want to inject custom logic or configuration
12056// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12057//
12058//
12059//    // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method.
12060//    req, resp := client.PutDataCatalogEncryptionSettingsRequest(params)
12061//
12062//    err := req.Send()
12063//    if err == nil { // resp is now filled
12064//        fmt.Println(resp)
12065//    }
12066//
12067// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
12068func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) {
12069	op := &request.Operation{
12070		Name:       opPutDataCatalogEncryptionSettings,
12071		HTTPMethod: "POST",
12072		HTTPPath:   "/",
12073	}
12074
12075	if input == nil {
12076		input = &PutDataCatalogEncryptionSettingsInput{}
12077	}
12078
12079	output = &PutDataCatalogEncryptionSettingsOutput{}
12080	req = c.newRequest(op, input, output)
12081	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12082	return
12083}
12084
12085// PutDataCatalogEncryptionSettings API operation for AWS Glue.
12086//
12087// Sets the security configuration for a specified catalog. After the configuration
12088// has been set, the specified encryption is applied to every catalog write
12089// thereafter.
12090//
12091// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12092// with awserr.Error's Code and Message methods to get detailed information about
12093// the error.
12094//
12095// See the AWS API reference guide for AWS Glue's
12096// API operation PutDataCatalogEncryptionSettings for usage and error information.
12097//
12098// Returned Error Types:
12099//   * InternalServiceException
12100//   An internal service error occurred.
12101//
12102//   * InvalidInputException
12103//   The input provided was not valid.
12104//
12105//   * OperationTimeoutException
12106//   The operation timed out.
12107//
12108// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
12109func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) {
12110	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
12111	return out, req.Send()
12112}
12113
12114// PutDataCatalogEncryptionSettingsWithContext is the same as PutDataCatalogEncryptionSettings with the addition of
12115// the ability to pass a context and additional request options.
12116//
12117// See PutDataCatalogEncryptionSettings for details on how to use this API operation.
12118//
12119// The context must be non-nil and will be used for request cancellation. If
12120// the context is nil a panic will occur. In the future the SDK may create
12121// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12122// for more information on using Contexts.
12123func (c *Glue) PutDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *PutDataCatalogEncryptionSettingsInput, opts ...request.Option) (*PutDataCatalogEncryptionSettingsOutput, error) {
12124	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
12125	req.SetContext(ctx)
12126	req.ApplyOptions(opts...)
12127	return out, req.Send()
12128}
12129
12130const opPutResourcePolicy = "PutResourcePolicy"
12131
12132// PutResourcePolicyRequest generates a "aws/request.Request" representing the
12133// client's request for the PutResourcePolicy operation. The "output" return
12134// value will be populated with the request's response once the request completes
12135// successfully.
12136//
12137// Use "Send" method on the returned Request to send the API call to the service.
12138// the "output" return value is not valid until after Send returns without error.
12139//
12140// See PutResourcePolicy for more information on using the PutResourcePolicy
12141// API call, and error handling.
12142//
12143// This method is useful when you want to inject custom logic or configuration
12144// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12145//
12146//
12147//    // Example sending a request using the PutResourcePolicyRequest method.
12148//    req, resp := client.PutResourcePolicyRequest(params)
12149//
12150//    err := req.Send()
12151//    if err == nil { // resp is now filled
12152//        fmt.Println(resp)
12153//    }
12154//
12155// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
12156func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) {
12157	op := &request.Operation{
12158		Name:       opPutResourcePolicy,
12159		HTTPMethod: "POST",
12160		HTTPPath:   "/",
12161	}
12162
12163	if input == nil {
12164		input = &PutResourcePolicyInput{}
12165	}
12166
12167	output = &PutResourcePolicyOutput{}
12168	req = c.newRequest(op, input, output)
12169	return
12170}
12171
12172// PutResourcePolicy API operation for AWS Glue.
12173//
12174// Sets the Data Catalog resource policy for access control.
12175//
12176// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12177// with awserr.Error's Code and Message methods to get detailed information about
12178// the error.
12179//
12180// See the AWS API reference guide for AWS Glue's
12181// API operation PutResourcePolicy for usage and error information.
12182//
12183// Returned Error Types:
12184//   * EntityNotFoundException
12185//   A specified entity does not exist
12186//
12187//   * InternalServiceException
12188//   An internal service error occurred.
12189//
12190//   * OperationTimeoutException
12191//   The operation timed out.
12192//
12193//   * InvalidInputException
12194//   The input provided was not valid.
12195//
12196//   * ConditionCheckFailureException
12197//   A specified condition was not satisfied.
12198//
12199// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
12200func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) {
12201	req, out := c.PutResourcePolicyRequest(input)
12202	return out, req.Send()
12203}
12204
12205// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of
12206// the ability to pass a context and additional request options.
12207//
12208// See PutResourcePolicy for details on how to use this API operation.
12209//
12210// The context must be non-nil and will be used for request cancellation. If
12211// the context is nil a panic will occur. In the future the SDK may create
12212// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12213// for more information on using Contexts.
12214func (c *Glue) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) {
12215	req, out := c.PutResourcePolicyRequest(input)
12216	req.SetContext(ctx)
12217	req.ApplyOptions(opts...)
12218	return out, req.Send()
12219}
12220
12221const opPutSchemaVersionMetadata = "PutSchemaVersionMetadata"
12222
12223// PutSchemaVersionMetadataRequest generates a "aws/request.Request" representing the
12224// client's request for the PutSchemaVersionMetadata operation. The "output" return
12225// value will be populated with the request's response once the request completes
12226// successfully.
12227//
12228// Use "Send" method on the returned Request to send the API call to the service.
12229// the "output" return value is not valid until after Send returns without error.
12230//
12231// See PutSchemaVersionMetadata for more information on using the PutSchemaVersionMetadata
12232// API call, and error handling.
12233//
12234// This method is useful when you want to inject custom logic or configuration
12235// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12236//
12237//
12238//    // Example sending a request using the PutSchemaVersionMetadataRequest method.
12239//    req, resp := client.PutSchemaVersionMetadataRequest(params)
12240//
12241//    err := req.Send()
12242//    if err == nil { // resp is now filled
12243//        fmt.Println(resp)
12244//    }
12245//
12246// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata
12247func (c *Glue) PutSchemaVersionMetadataRequest(input *PutSchemaVersionMetadataInput) (req *request.Request, output *PutSchemaVersionMetadataOutput) {
12248	op := &request.Operation{
12249		Name:       opPutSchemaVersionMetadata,
12250		HTTPMethod: "POST",
12251		HTTPPath:   "/",
12252	}
12253
12254	if input == nil {
12255		input = &PutSchemaVersionMetadataInput{}
12256	}
12257
12258	output = &PutSchemaVersionMetadataOutput{}
12259	req = c.newRequest(op, input, output)
12260	return
12261}
12262
12263// PutSchemaVersionMetadata API operation for AWS Glue.
12264//
12265// Puts the metadata key value pair for a specified schema version ID. A maximum
12266// of 10 key value pairs will be allowed per schema version. They can be added
12267// over one or more calls.
12268//
12269// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12270// with awserr.Error's Code and Message methods to get detailed information about
12271// the error.
12272//
12273// See the AWS API reference guide for AWS Glue's
12274// API operation PutSchemaVersionMetadata for usage and error information.
12275//
12276// Returned Error Types:
12277//   * InvalidInputException
12278//   The input provided was not valid.
12279//
12280//   * AccessDeniedException
12281//   Access to a resource was denied.
12282//
12283//   * AlreadyExistsException
12284//   A resource to be created or added already exists.
12285//
12286//   * EntityNotFoundException
12287//   A specified entity does not exist
12288//
12289//   * ResourceNumberLimitExceededException
12290//   A resource numerical limit was exceeded.
12291//
12292// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata
12293func (c *Glue) PutSchemaVersionMetadata(input *PutSchemaVersionMetadataInput) (*PutSchemaVersionMetadataOutput, error) {
12294	req, out := c.PutSchemaVersionMetadataRequest(input)
12295	return out, req.Send()
12296}
12297
12298// PutSchemaVersionMetadataWithContext is the same as PutSchemaVersionMetadata with the addition of
12299// the ability to pass a context and additional request options.
12300//
12301// See PutSchemaVersionMetadata for details on how to use this API operation.
12302//
12303// The context must be non-nil and will be used for request cancellation. If
12304// the context is nil a panic will occur. In the future the SDK may create
12305// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12306// for more information on using Contexts.
12307func (c *Glue) PutSchemaVersionMetadataWithContext(ctx aws.Context, input *PutSchemaVersionMetadataInput, opts ...request.Option) (*PutSchemaVersionMetadataOutput, error) {
12308	req, out := c.PutSchemaVersionMetadataRequest(input)
12309	req.SetContext(ctx)
12310	req.ApplyOptions(opts...)
12311	return out, req.Send()
12312}
12313
12314const opPutWorkflowRunProperties = "PutWorkflowRunProperties"
12315
12316// PutWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
12317// client's request for the PutWorkflowRunProperties operation. The "output" return
12318// value will be populated with the request's response once the request completes
12319// successfully.
12320//
12321// Use "Send" method on the returned Request to send the API call to the service.
12322// the "output" return value is not valid until after Send returns without error.
12323//
12324// See PutWorkflowRunProperties for more information on using the PutWorkflowRunProperties
12325// API call, and error handling.
12326//
12327// This method is useful when you want to inject custom logic or configuration
12328// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12329//
12330//
12331//    // Example sending a request using the PutWorkflowRunPropertiesRequest method.
12332//    req, resp := client.PutWorkflowRunPropertiesRequest(params)
12333//
12334//    err := req.Send()
12335//    if err == nil { // resp is now filled
12336//        fmt.Println(resp)
12337//    }
12338//
12339// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
12340func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) {
12341	op := &request.Operation{
12342		Name:       opPutWorkflowRunProperties,
12343		HTTPMethod: "POST",
12344		HTTPPath:   "/",
12345	}
12346
12347	if input == nil {
12348		input = &PutWorkflowRunPropertiesInput{}
12349	}
12350
12351	output = &PutWorkflowRunPropertiesOutput{}
12352	req = c.newRequest(op, input, output)
12353	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12354	return
12355}
12356
12357// PutWorkflowRunProperties API operation for AWS Glue.
12358//
12359// Puts the specified workflow run properties for the given workflow run. If
12360// a property already exists for the specified run, then it overrides the value
12361// otherwise adds the property to existing properties.
12362//
12363// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12364// with awserr.Error's Code and Message methods to get detailed information about
12365// the error.
12366//
12367// See the AWS API reference guide for AWS Glue's
12368// API operation PutWorkflowRunProperties for usage and error information.
12369//
12370// Returned Error Types:
12371//   * AlreadyExistsException
12372//   A resource to be created or added already exists.
12373//
12374//   * EntityNotFoundException
12375//   A specified entity does not exist
12376//
12377//   * InvalidInputException
12378//   The input provided was not valid.
12379//
12380//   * InternalServiceException
12381//   An internal service error occurred.
12382//
12383//   * OperationTimeoutException
12384//   The operation timed out.
12385//
12386//   * ResourceNumberLimitExceededException
12387//   A resource numerical limit was exceeded.
12388//
12389//   * ConcurrentModificationException
12390//   Two processes are trying to modify a resource simultaneously.
12391//
12392// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
12393func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) {
12394	req, out := c.PutWorkflowRunPropertiesRequest(input)
12395	return out, req.Send()
12396}
12397
12398// PutWorkflowRunPropertiesWithContext is the same as PutWorkflowRunProperties with the addition of
12399// the ability to pass a context and additional request options.
12400//
12401// See PutWorkflowRunProperties for details on how to use this API operation.
12402//
12403// The context must be non-nil and will be used for request cancellation. If
12404// the context is nil a panic will occur. In the future the SDK may create
12405// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12406// for more information on using Contexts.
12407func (c *Glue) PutWorkflowRunPropertiesWithContext(ctx aws.Context, input *PutWorkflowRunPropertiesInput, opts ...request.Option) (*PutWorkflowRunPropertiesOutput, error) {
12408	req, out := c.PutWorkflowRunPropertiesRequest(input)
12409	req.SetContext(ctx)
12410	req.ApplyOptions(opts...)
12411	return out, req.Send()
12412}
12413
12414const opQuerySchemaVersionMetadata = "QuerySchemaVersionMetadata"
12415
12416// QuerySchemaVersionMetadataRequest generates a "aws/request.Request" representing the
12417// client's request for the QuerySchemaVersionMetadata operation. The "output" return
12418// value will be populated with the request's response once the request completes
12419// successfully.
12420//
12421// Use "Send" method on the returned Request to send the API call to the service.
12422// the "output" return value is not valid until after Send returns without error.
12423//
12424// See QuerySchemaVersionMetadata for more information on using the QuerySchemaVersionMetadata
12425// API call, and error handling.
12426//
12427// This method is useful when you want to inject custom logic or configuration
12428// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12429//
12430//
12431//    // Example sending a request using the QuerySchemaVersionMetadataRequest method.
12432//    req, resp := client.QuerySchemaVersionMetadataRequest(params)
12433//
12434//    err := req.Send()
12435//    if err == nil { // resp is now filled
12436//        fmt.Println(resp)
12437//    }
12438//
12439// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata
12440func (c *Glue) QuerySchemaVersionMetadataRequest(input *QuerySchemaVersionMetadataInput) (req *request.Request, output *QuerySchemaVersionMetadataOutput) {
12441	op := &request.Operation{
12442		Name:       opQuerySchemaVersionMetadata,
12443		HTTPMethod: "POST",
12444		HTTPPath:   "/",
12445	}
12446
12447	if input == nil {
12448		input = &QuerySchemaVersionMetadataInput{}
12449	}
12450
12451	output = &QuerySchemaVersionMetadataOutput{}
12452	req = c.newRequest(op, input, output)
12453	return
12454}
12455
12456// QuerySchemaVersionMetadata API operation for AWS Glue.
12457//
12458// Queries for the schema version metadata information.
12459//
12460// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12461// with awserr.Error's Code and Message methods to get detailed information about
12462// the error.
12463//
12464// See the AWS API reference guide for AWS Glue's
12465// API operation QuerySchemaVersionMetadata for usage and error information.
12466//
12467// Returned Error Types:
12468//   * InvalidInputException
12469//   The input provided was not valid.
12470//
12471//   * AccessDeniedException
12472//   Access to a resource was denied.
12473//
12474//   * EntityNotFoundException
12475//   A specified entity does not exist
12476//
12477// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata
12478func (c *Glue) QuerySchemaVersionMetadata(input *QuerySchemaVersionMetadataInput) (*QuerySchemaVersionMetadataOutput, error) {
12479	req, out := c.QuerySchemaVersionMetadataRequest(input)
12480	return out, req.Send()
12481}
12482
12483// QuerySchemaVersionMetadataWithContext is the same as QuerySchemaVersionMetadata with the addition of
12484// the ability to pass a context and additional request options.
12485//
12486// See QuerySchemaVersionMetadata for details on how to use this API operation.
12487//
12488// The context must be non-nil and will be used for request cancellation. If
12489// the context is nil a panic will occur. In the future the SDK may create
12490// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12491// for more information on using Contexts.
12492func (c *Glue) QuerySchemaVersionMetadataWithContext(ctx aws.Context, input *QuerySchemaVersionMetadataInput, opts ...request.Option) (*QuerySchemaVersionMetadataOutput, error) {
12493	req, out := c.QuerySchemaVersionMetadataRequest(input)
12494	req.SetContext(ctx)
12495	req.ApplyOptions(opts...)
12496	return out, req.Send()
12497}
12498
12499const opRegisterSchemaVersion = "RegisterSchemaVersion"
12500
12501// RegisterSchemaVersionRequest generates a "aws/request.Request" representing the
12502// client's request for the RegisterSchemaVersion operation. The "output" return
12503// value will be populated with the request's response once the request completes
12504// successfully.
12505//
12506// Use "Send" method on the returned Request to send the API call to the service.
12507// the "output" return value is not valid until after Send returns without error.
12508//
12509// See RegisterSchemaVersion for more information on using the RegisterSchemaVersion
12510// API call, and error handling.
12511//
12512// This method is useful when you want to inject custom logic or configuration
12513// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12514//
12515//
12516//    // Example sending a request using the RegisterSchemaVersionRequest method.
12517//    req, resp := client.RegisterSchemaVersionRequest(params)
12518//
12519//    err := req.Send()
12520//    if err == nil { // resp is now filled
12521//        fmt.Println(resp)
12522//    }
12523//
12524// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion
12525func (c *Glue) RegisterSchemaVersionRequest(input *RegisterSchemaVersionInput) (req *request.Request, output *RegisterSchemaVersionOutput) {
12526	op := &request.Operation{
12527		Name:       opRegisterSchemaVersion,
12528		HTTPMethod: "POST",
12529		HTTPPath:   "/",
12530	}
12531
12532	if input == nil {
12533		input = &RegisterSchemaVersionInput{}
12534	}
12535
12536	output = &RegisterSchemaVersionOutput{}
12537	req = c.newRequest(op, input, output)
12538	return
12539}
12540
12541// RegisterSchemaVersion API operation for AWS Glue.
12542//
12543// Adds a new version to the existing schema. Returns an error if new version
12544// of schema does not meet the compatibility requirements of the schema set.
12545// This API will not create a new schema set and will return a 404 error if
12546// the schema set is not already present in the Schema Registry.
12547//
12548// If this is the first schema definition to be registered in the Schema Registry,
12549// this API will store the schema version and return immediately. Otherwise,
12550// this call has the potential to run longer than other operations due to compatibility
12551// modes. You can call the GetSchemaVersion API with the SchemaVersionId to
12552// check compatibility modes.
12553//
12554// If the same schema definition is already stored in Schema Registry as a version,
12555// the schema ID of the existing schema is returned to the caller.
12556//
12557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12558// with awserr.Error's Code and Message methods to get detailed information about
12559// the error.
12560//
12561// See the AWS API reference guide for AWS Glue's
12562// API operation RegisterSchemaVersion for usage and error information.
12563//
12564// Returned Error Types:
12565//   * InvalidInputException
12566//   The input provided was not valid.
12567//
12568//   * AccessDeniedException
12569//   Access to a resource was denied.
12570//
12571//   * EntityNotFoundException
12572//   A specified entity does not exist
12573//
12574//   * ResourceNumberLimitExceededException
12575//   A resource numerical limit was exceeded.
12576//
12577//   * ConcurrentModificationException
12578//   Two processes are trying to modify a resource simultaneously.
12579//
12580//   * InternalServiceException
12581//   An internal service error occurred.
12582//
12583// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion
12584func (c *Glue) RegisterSchemaVersion(input *RegisterSchemaVersionInput) (*RegisterSchemaVersionOutput, error) {
12585	req, out := c.RegisterSchemaVersionRequest(input)
12586	return out, req.Send()
12587}
12588
12589// RegisterSchemaVersionWithContext is the same as RegisterSchemaVersion with the addition of
12590// the ability to pass a context and additional request options.
12591//
12592// See RegisterSchemaVersion for details on how to use this API operation.
12593//
12594// The context must be non-nil and will be used for request cancellation. If
12595// the context is nil a panic will occur. In the future the SDK may create
12596// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12597// for more information on using Contexts.
12598func (c *Glue) RegisterSchemaVersionWithContext(ctx aws.Context, input *RegisterSchemaVersionInput, opts ...request.Option) (*RegisterSchemaVersionOutput, error) {
12599	req, out := c.RegisterSchemaVersionRequest(input)
12600	req.SetContext(ctx)
12601	req.ApplyOptions(opts...)
12602	return out, req.Send()
12603}
12604
12605const opRemoveSchemaVersionMetadata = "RemoveSchemaVersionMetadata"
12606
12607// RemoveSchemaVersionMetadataRequest generates a "aws/request.Request" representing the
12608// client's request for the RemoveSchemaVersionMetadata operation. The "output" return
12609// value will be populated with the request's response once the request completes
12610// successfully.
12611//
12612// Use "Send" method on the returned Request to send the API call to the service.
12613// the "output" return value is not valid until after Send returns without error.
12614//
12615// See RemoveSchemaVersionMetadata for more information on using the RemoveSchemaVersionMetadata
12616// API call, and error handling.
12617//
12618// This method is useful when you want to inject custom logic or configuration
12619// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12620//
12621//
12622//    // Example sending a request using the RemoveSchemaVersionMetadataRequest method.
12623//    req, resp := client.RemoveSchemaVersionMetadataRequest(params)
12624//
12625//    err := req.Send()
12626//    if err == nil { // resp is now filled
12627//        fmt.Println(resp)
12628//    }
12629//
12630// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata
12631func (c *Glue) RemoveSchemaVersionMetadataRequest(input *RemoveSchemaVersionMetadataInput) (req *request.Request, output *RemoveSchemaVersionMetadataOutput) {
12632	op := &request.Operation{
12633		Name:       opRemoveSchemaVersionMetadata,
12634		HTTPMethod: "POST",
12635		HTTPPath:   "/",
12636	}
12637
12638	if input == nil {
12639		input = &RemoveSchemaVersionMetadataInput{}
12640	}
12641
12642	output = &RemoveSchemaVersionMetadataOutput{}
12643	req = c.newRequest(op, input, output)
12644	return
12645}
12646
12647// RemoveSchemaVersionMetadata API operation for AWS Glue.
12648//
12649// Removes a key value pair from the schema version metadata for the specified
12650// schema version ID.
12651//
12652// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12653// with awserr.Error's Code and Message methods to get detailed information about
12654// the error.
12655//
12656// See the AWS API reference guide for AWS Glue's
12657// API operation RemoveSchemaVersionMetadata for usage and error information.
12658//
12659// Returned Error Types:
12660//   * InvalidInputException
12661//   The input provided was not valid.
12662//
12663//   * AccessDeniedException
12664//   Access to a resource was denied.
12665//
12666//   * EntityNotFoundException
12667//   A specified entity does not exist
12668//
12669// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata
12670func (c *Glue) RemoveSchemaVersionMetadata(input *RemoveSchemaVersionMetadataInput) (*RemoveSchemaVersionMetadataOutput, error) {
12671	req, out := c.RemoveSchemaVersionMetadataRequest(input)
12672	return out, req.Send()
12673}
12674
12675// RemoveSchemaVersionMetadataWithContext is the same as RemoveSchemaVersionMetadata with the addition of
12676// the ability to pass a context and additional request options.
12677//
12678// See RemoveSchemaVersionMetadata for details on how to use this API operation.
12679//
12680// The context must be non-nil and will be used for request cancellation. If
12681// the context is nil a panic will occur. In the future the SDK may create
12682// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12683// for more information on using Contexts.
12684func (c *Glue) RemoveSchemaVersionMetadataWithContext(ctx aws.Context, input *RemoveSchemaVersionMetadataInput, opts ...request.Option) (*RemoveSchemaVersionMetadataOutput, error) {
12685	req, out := c.RemoveSchemaVersionMetadataRequest(input)
12686	req.SetContext(ctx)
12687	req.ApplyOptions(opts...)
12688	return out, req.Send()
12689}
12690
12691const opResetJobBookmark = "ResetJobBookmark"
12692
12693// ResetJobBookmarkRequest generates a "aws/request.Request" representing the
12694// client's request for the ResetJobBookmark operation. The "output" return
12695// value will be populated with the request's response once the request completes
12696// successfully.
12697//
12698// Use "Send" method on the returned Request to send the API call to the service.
12699// the "output" return value is not valid until after Send returns without error.
12700//
12701// See ResetJobBookmark for more information on using the ResetJobBookmark
12702// API call, and error handling.
12703//
12704// This method is useful when you want to inject custom logic or configuration
12705// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12706//
12707//
12708//    // Example sending a request using the ResetJobBookmarkRequest method.
12709//    req, resp := client.ResetJobBookmarkRequest(params)
12710//
12711//    err := req.Send()
12712//    if err == nil { // resp is now filled
12713//        fmt.Println(resp)
12714//    }
12715//
12716// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
12717func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) {
12718	op := &request.Operation{
12719		Name:       opResetJobBookmark,
12720		HTTPMethod: "POST",
12721		HTTPPath:   "/",
12722	}
12723
12724	if input == nil {
12725		input = &ResetJobBookmarkInput{}
12726	}
12727
12728	output = &ResetJobBookmarkOutput{}
12729	req = c.newRequest(op, input, output)
12730	return
12731}
12732
12733// ResetJobBookmark API operation for AWS Glue.
12734//
12735// Resets a bookmark entry.
12736//
12737// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12738// with awserr.Error's Code and Message methods to get detailed information about
12739// the error.
12740//
12741// See the AWS API reference guide for AWS Glue's
12742// API operation ResetJobBookmark for usage and error information.
12743//
12744// Returned Error Types:
12745//   * EntityNotFoundException
12746//   A specified entity does not exist
12747//
12748//   * InvalidInputException
12749//   The input provided was not valid.
12750//
12751//   * InternalServiceException
12752//   An internal service error occurred.
12753//
12754//   * OperationTimeoutException
12755//   The operation timed out.
12756//
12757// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
12758func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) {
12759	req, out := c.ResetJobBookmarkRequest(input)
12760	return out, req.Send()
12761}
12762
12763// ResetJobBookmarkWithContext is the same as ResetJobBookmark with the addition of
12764// the ability to pass a context and additional request options.
12765//
12766// See ResetJobBookmark for details on how to use this API operation.
12767//
12768// The context must be non-nil and will be used for request cancellation. If
12769// the context is nil a panic will occur. In the future the SDK may create
12770// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12771// for more information on using Contexts.
12772func (c *Glue) ResetJobBookmarkWithContext(ctx aws.Context, input *ResetJobBookmarkInput, opts ...request.Option) (*ResetJobBookmarkOutput, error) {
12773	req, out := c.ResetJobBookmarkRequest(input)
12774	req.SetContext(ctx)
12775	req.ApplyOptions(opts...)
12776	return out, req.Send()
12777}
12778
12779const opResumeWorkflowRun = "ResumeWorkflowRun"
12780
12781// ResumeWorkflowRunRequest generates a "aws/request.Request" representing the
12782// client's request for the ResumeWorkflowRun operation. The "output" return
12783// value will be populated with the request's response once the request completes
12784// successfully.
12785//
12786// Use "Send" method on the returned Request to send the API call to the service.
12787// the "output" return value is not valid until after Send returns without error.
12788//
12789// See ResumeWorkflowRun for more information on using the ResumeWorkflowRun
12790// API call, and error handling.
12791//
12792// This method is useful when you want to inject custom logic or configuration
12793// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12794//
12795//
12796//    // Example sending a request using the ResumeWorkflowRunRequest method.
12797//    req, resp := client.ResumeWorkflowRunRequest(params)
12798//
12799//    err := req.Send()
12800//    if err == nil { // resp is now filled
12801//        fmt.Println(resp)
12802//    }
12803//
12804// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun
12805func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *request.Request, output *ResumeWorkflowRunOutput) {
12806	op := &request.Operation{
12807		Name:       opResumeWorkflowRun,
12808		HTTPMethod: "POST",
12809		HTTPPath:   "/",
12810	}
12811
12812	if input == nil {
12813		input = &ResumeWorkflowRunInput{}
12814	}
12815
12816	output = &ResumeWorkflowRunOutput{}
12817	req = c.newRequest(op, input, output)
12818	return
12819}
12820
12821// ResumeWorkflowRun API operation for AWS Glue.
12822//
12823// Restarts selected nodes of a previous partially completed workflow run and
12824// resumes the workflow run. The selected nodes and all nodes that are downstream
12825// from the selected nodes are run.
12826//
12827// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12828// with awserr.Error's Code and Message methods to get detailed information about
12829// the error.
12830//
12831// See the AWS API reference guide for AWS Glue's
12832// API operation ResumeWorkflowRun for usage and error information.
12833//
12834// Returned Error Types:
12835//   * InvalidInputException
12836//   The input provided was not valid.
12837//
12838//   * EntityNotFoundException
12839//   A specified entity does not exist
12840//
12841//   * InternalServiceException
12842//   An internal service error occurred.
12843//
12844//   * OperationTimeoutException
12845//   The operation timed out.
12846//
12847//   * ConcurrentRunsExceededException
12848//   Too many jobs are being run concurrently.
12849//
12850//   * IllegalWorkflowStateException
12851//   The workflow is in an invalid state to perform a requested operation.
12852//
12853// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun
12854func (c *Glue) ResumeWorkflowRun(input *ResumeWorkflowRunInput) (*ResumeWorkflowRunOutput, error) {
12855	req, out := c.ResumeWorkflowRunRequest(input)
12856	return out, req.Send()
12857}
12858
12859// ResumeWorkflowRunWithContext is the same as ResumeWorkflowRun with the addition of
12860// the ability to pass a context and additional request options.
12861//
12862// See ResumeWorkflowRun for details on how to use this API operation.
12863//
12864// The context must be non-nil and will be used for request cancellation. If
12865// the context is nil a panic will occur. In the future the SDK may create
12866// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12867// for more information on using Contexts.
12868func (c *Glue) ResumeWorkflowRunWithContext(ctx aws.Context, input *ResumeWorkflowRunInput, opts ...request.Option) (*ResumeWorkflowRunOutput, error) {
12869	req, out := c.ResumeWorkflowRunRequest(input)
12870	req.SetContext(ctx)
12871	req.ApplyOptions(opts...)
12872	return out, req.Send()
12873}
12874
12875const opSearchTables = "SearchTables"
12876
12877// SearchTablesRequest generates a "aws/request.Request" representing the
12878// client's request for the SearchTables operation. The "output" return
12879// value will be populated with the request's response once the request completes
12880// successfully.
12881//
12882// Use "Send" method on the returned Request to send the API call to the service.
12883// the "output" return value is not valid until after Send returns without error.
12884//
12885// See SearchTables for more information on using the SearchTables
12886// API call, and error handling.
12887//
12888// This method is useful when you want to inject custom logic or configuration
12889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12890//
12891//
12892//    // Example sending a request using the SearchTablesRequest method.
12893//    req, resp := client.SearchTablesRequest(params)
12894//
12895//    err := req.Send()
12896//    if err == nil { // resp is now filled
12897//        fmt.Println(resp)
12898//    }
12899//
12900// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
12901func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) {
12902	op := &request.Operation{
12903		Name:       opSearchTables,
12904		HTTPMethod: "POST",
12905		HTTPPath:   "/",
12906		Paginator: &request.Paginator{
12907			InputTokens:     []string{"NextToken"},
12908			OutputTokens:    []string{"NextToken"},
12909			LimitToken:      "MaxResults",
12910			TruncationToken: "",
12911		},
12912	}
12913
12914	if input == nil {
12915		input = &SearchTablesInput{}
12916	}
12917
12918	output = &SearchTablesOutput{}
12919	req = c.newRequest(op, input, output)
12920	return
12921}
12922
12923// SearchTables API operation for AWS Glue.
12924//
12925// Searches a set of tables based on properties in the table metadata as well
12926// as on the parent database. You can search against text or filter conditions.
12927//
12928// You can only get tables that you have access to based on the security policies
12929// defined in Lake Formation. You need at least a read-only access to the table
12930// for it to be returned. If you do not have access to all the columns in the
12931// table, these columns will not be searched against when returning the list
12932// of tables back to you. If you have access to the columns but not the data
12933// in the columns, those columns and the associated metadata for those columns
12934// will be included in the search.
12935//
12936// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12937// with awserr.Error's Code and Message methods to get detailed information about
12938// the error.
12939//
12940// See the AWS API reference guide for AWS Glue's
12941// API operation SearchTables for usage and error information.
12942//
12943// Returned Error Types:
12944//   * InternalServiceException
12945//   An internal service error occurred.
12946//
12947//   * InvalidInputException
12948//   The input provided was not valid.
12949//
12950//   * OperationTimeoutException
12951//   The operation timed out.
12952//
12953// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
12954func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) {
12955	req, out := c.SearchTablesRequest(input)
12956	return out, req.Send()
12957}
12958
12959// SearchTablesWithContext is the same as SearchTables with the addition of
12960// the ability to pass a context and additional request options.
12961//
12962// See SearchTables for details on how to use this API operation.
12963//
12964// The context must be non-nil and will be used for request cancellation. If
12965// the context is nil a panic will occur. In the future the SDK may create
12966// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12967// for more information on using Contexts.
12968func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput, opts ...request.Option) (*SearchTablesOutput, error) {
12969	req, out := c.SearchTablesRequest(input)
12970	req.SetContext(ctx)
12971	req.ApplyOptions(opts...)
12972	return out, req.Send()
12973}
12974
12975// SearchTablesPages iterates over the pages of a SearchTables operation,
12976// calling the "fn" function with the response data for each page. To stop
12977// iterating, return false from the fn function.
12978//
12979// See SearchTables method for more information on how to use this operation.
12980//
12981// Note: This operation can generate multiple requests to a service.
12982//
12983//    // Example iterating over at most 3 pages of a SearchTables operation.
12984//    pageNum := 0
12985//    err := client.SearchTablesPages(params,
12986//        func(page *glue.SearchTablesOutput, lastPage bool) bool {
12987//            pageNum++
12988//            fmt.Println(page)
12989//            return pageNum <= 3
12990//        })
12991//
12992func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error {
12993	return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn)
12994}
12995
12996// SearchTablesPagesWithContext same as SearchTablesPages except
12997// it takes a Context and allows setting request options on the pages.
12998//
12999// The context must be non-nil and will be used for request cancellation. If
13000// the context is nil a panic will occur. In the future the SDK may create
13001// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13002// for more information on using Contexts.
13003func (c *Glue) SearchTablesPagesWithContext(ctx aws.Context, input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool, opts ...request.Option) error {
13004	p := request.Pagination{
13005		NewRequest: func() (*request.Request, error) {
13006			var inCpy *SearchTablesInput
13007			if input != nil {
13008				tmp := *input
13009				inCpy = &tmp
13010			}
13011			req, _ := c.SearchTablesRequest(inCpy)
13012			req.SetContext(ctx)
13013			req.ApplyOptions(opts...)
13014			return req, nil
13015		},
13016	}
13017
13018	for p.Next() {
13019		if !fn(p.Page().(*SearchTablesOutput), !p.HasNextPage()) {
13020			break
13021		}
13022	}
13023
13024	return p.Err()
13025}
13026
13027const opStartCrawler = "StartCrawler"
13028
13029// StartCrawlerRequest generates a "aws/request.Request" representing the
13030// client's request for the StartCrawler operation. The "output" return
13031// value will be populated with the request's response once the request completes
13032// successfully.
13033//
13034// Use "Send" method on the returned Request to send the API call to the service.
13035// the "output" return value is not valid until after Send returns without error.
13036//
13037// See StartCrawler for more information on using the StartCrawler
13038// API call, and error handling.
13039//
13040// This method is useful when you want to inject custom logic or configuration
13041// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13042//
13043//
13044//    // Example sending a request using the StartCrawlerRequest method.
13045//    req, resp := client.StartCrawlerRequest(params)
13046//
13047//    err := req.Send()
13048//    if err == nil { // resp is now filled
13049//        fmt.Println(resp)
13050//    }
13051//
13052// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
13053func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) {
13054	op := &request.Operation{
13055		Name:       opStartCrawler,
13056		HTTPMethod: "POST",
13057		HTTPPath:   "/",
13058	}
13059
13060	if input == nil {
13061		input = &StartCrawlerInput{}
13062	}
13063
13064	output = &StartCrawlerOutput{}
13065	req = c.newRequest(op, input, output)
13066	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
13067	return
13068}
13069
13070// StartCrawler API operation for AWS Glue.
13071//
13072// Starts a crawl using the specified crawler, regardless of what is scheduled.
13073// 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).
13074//
13075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13076// with awserr.Error's Code and Message methods to get detailed information about
13077// the error.
13078//
13079// See the AWS API reference guide for AWS Glue's
13080// API operation StartCrawler for usage and error information.
13081//
13082// Returned Error Types:
13083//   * EntityNotFoundException
13084//   A specified entity does not exist
13085//
13086//   * CrawlerRunningException
13087//   The operation cannot be performed because the crawler is already running.
13088//
13089//   * OperationTimeoutException
13090//   The operation timed out.
13091//
13092// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
13093func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) {
13094	req, out := c.StartCrawlerRequest(input)
13095	return out, req.Send()
13096}
13097
13098// StartCrawlerWithContext is the same as StartCrawler with the addition of
13099// the ability to pass a context and additional request options.
13100//
13101// See StartCrawler for details on how to use this API operation.
13102//
13103// The context must be non-nil and will be used for request cancellation. If
13104// the context is nil a panic will occur. In the future the SDK may create
13105// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13106// for more information on using Contexts.
13107func (c *Glue) StartCrawlerWithContext(ctx aws.Context, input *StartCrawlerInput, opts ...request.Option) (*StartCrawlerOutput, error) {
13108	req, out := c.StartCrawlerRequest(input)
13109	req.SetContext(ctx)
13110	req.ApplyOptions(opts...)
13111	return out, req.Send()
13112}
13113
13114const opStartCrawlerSchedule = "StartCrawlerSchedule"
13115
13116// StartCrawlerScheduleRequest generates a "aws/request.Request" representing the
13117// client's request for the StartCrawlerSchedule operation. The "output" return
13118// value will be populated with the request's response once the request completes
13119// successfully.
13120//
13121// Use "Send" method on the returned Request to send the API call to the service.
13122// the "output" return value is not valid until after Send returns without error.
13123//
13124// See StartCrawlerSchedule for more information on using the StartCrawlerSchedule
13125// API call, and error handling.
13126//
13127// This method is useful when you want to inject custom logic or configuration
13128// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13129//
13130//
13131//    // Example sending a request using the StartCrawlerScheduleRequest method.
13132//    req, resp := client.StartCrawlerScheduleRequest(params)
13133//
13134//    err := req.Send()
13135//    if err == nil { // resp is now filled
13136//        fmt.Println(resp)
13137//    }
13138//
13139// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
13140func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) {
13141	op := &request.Operation{
13142		Name:       opStartCrawlerSchedule,
13143		HTTPMethod: "POST",
13144		HTTPPath:   "/",
13145	}
13146
13147	if input == nil {
13148		input = &StartCrawlerScheduleInput{}
13149	}
13150
13151	output = &StartCrawlerScheduleOutput{}
13152	req = c.newRequest(op, input, output)
13153	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
13154	return
13155}
13156
13157// StartCrawlerSchedule API operation for AWS Glue.
13158//
13159// Changes the schedule state of the specified crawler to SCHEDULED, unless
13160// the crawler is already running or the schedule state is already SCHEDULED.
13161//
13162// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13163// with awserr.Error's Code and Message methods to get detailed information about
13164// the error.
13165//
13166// See the AWS API reference guide for AWS Glue's
13167// API operation StartCrawlerSchedule for usage and error information.
13168//
13169// Returned Error Types:
13170//   * EntityNotFoundException
13171//   A specified entity does not exist
13172//
13173//   * SchedulerRunningException
13174//   The specified scheduler is already running.
13175//
13176//   * SchedulerTransitioningException
13177//   The specified scheduler is transitioning.
13178//
13179//   * NoScheduleException
13180//   There is no applicable schedule.
13181//
13182//   * OperationTimeoutException
13183//   The operation timed out.
13184//
13185// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
13186func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) {
13187	req, out := c.StartCrawlerScheduleRequest(input)
13188	return out, req.Send()
13189}
13190
13191// StartCrawlerScheduleWithContext is the same as StartCrawlerSchedule with the addition of
13192// the ability to pass a context and additional request options.
13193//
13194// See StartCrawlerSchedule for details on how to use this API operation.
13195//
13196// The context must be non-nil and will be used for request cancellation. If
13197// the context is nil a panic will occur. In the future the SDK may create
13198// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13199// for more information on using Contexts.
13200func (c *Glue) StartCrawlerScheduleWithContext(ctx aws.Context, input *StartCrawlerScheduleInput, opts ...request.Option) (*StartCrawlerScheduleOutput, error) {
13201	req, out := c.StartCrawlerScheduleRequest(input)
13202	req.SetContext(ctx)
13203	req.ApplyOptions(opts...)
13204	return out, req.Send()
13205}
13206
13207const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun"
13208
13209// StartExportLabelsTaskRunRequest generates a "aws/request.Request" representing the
13210// client's request for the StartExportLabelsTaskRun operation. The "output" return
13211// value will be populated with the request's response once the request completes
13212// successfully.
13213//
13214// Use "Send" method on the returned Request to send the API call to the service.
13215// the "output" return value is not valid until after Send returns without error.
13216//
13217// See StartExportLabelsTaskRun for more information on using the StartExportLabelsTaskRun
13218// API call, and error handling.
13219//
13220// This method is useful when you want to inject custom logic or configuration
13221// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13222//
13223//
13224//    // Example sending a request using the StartExportLabelsTaskRunRequest method.
13225//    req, resp := client.StartExportLabelsTaskRunRequest(params)
13226//
13227//    err := req.Send()
13228//    if err == nil { // resp is now filled
13229//        fmt.Println(resp)
13230//    }
13231//
13232// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
13233func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) {
13234	op := &request.Operation{
13235		Name:       opStartExportLabelsTaskRun,
13236		HTTPMethod: "POST",
13237		HTTPPath:   "/",
13238	}
13239
13240	if input == nil {
13241		input = &StartExportLabelsTaskRunInput{}
13242	}
13243
13244	output = &StartExportLabelsTaskRunOutput{}
13245	req = c.newRequest(op, input, output)
13246	return
13247}
13248
13249// StartExportLabelsTaskRun API operation for AWS Glue.
13250//
13251// Begins an asynchronous task to export all labeled data for a particular transform.
13252// This task is the only label-related API call that is not part of the typical
13253// active learning workflow. You typically use StartExportLabelsTaskRun when
13254// you want to work with all of your existing labels at the same time, such
13255// as when you want to remove or change labels that were previously submitted
13256// as truth. This API operation accepts the TransformId whose labels you want
13257// to export and an Amazon Simple Storage Service (Amazon S3) path to export
13258// the labels to. The operation returns a TaskRunId. You can check on the status
13259// of your task run by calling the GetMLTaskRun API.
13260//
13261// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13262// with awserr.Error's Code and Message methods to get detailed information about
13263// the error.
13264//
13265// See the AWS API reference guide for AWS Glue's
13266// API operation StartExportLabelsTaskRun for usage and error information.
13267//
13268// Returned Error Types:
13269//   * EntityNotFoundException
13270//   A specified entity does not exist
13271//
13272//   * InvalidInputException
13273//   The input provided was not valid.
13274//
13275//   * OperationTimeoutException
13276//   The operation timed out.
13277//
13278//   * InternalServiceException
13279//   An internal service error occurred.
13280//
13281// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
13282func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) {
13283	req, out := c.StartExportLabelsTaskRunRequest(input)
13284	return out, req.Send()
13285}
13286
13287// StartExportLabelsTaskRunWithContext is the same as StartExportLabelsTaskRun with the addition of
13288// the ability to pass a context and additional request options.
13289//
13290// See StartExportLabelsTaskRun for details on how to use this API operation.
13291//
13292// The context must be non-nil and will be used for request cancellation. If
13293// the context is nil a panic will occur. In the future the SDK may create
13294// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13295// for more information on using Contexts.
13296func (c *Glue) StartExportLabelsTaskRunWithContext(ctx aws.Context, input *StartExportLabelsTaskRunInput, opts ...request.Option) (*StartExportLabelsTaskRunOutput, error) {
13297	req, out := c.StartExportLabelsTaskRunRequest(input)
13298	req.SetContext(ctx)
13299	req.ApplyOptions(opts...)
13300	return out, req.Send()
13301}
13302
13303const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun"
13304
13305// StartImportLabelsTaskRunRequest generates a "aws/request.Request" representing the
13306// client's request for the StartImportLabelsTaskRun operation. The "output" return
13307// value will be populated with the request's response once the request completes
13308// successfully.
13309//
13310// Use "Send" method on the returned Request to send the API call to the service.
13311// the "output" return value is not valid until after Send returns without error.
13312//
13313// See StartImportLabelsTaskRun for more information on using the StartImportLabelsTaskRun
13314// API call, and error handling.
13315//
13316// This method is useful when you want to inject custom logic or configuration
13317// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13318//
13319//
13320//    // Example sending a request using the StartImportLabelsTaskRunRequest method.
13321//    req, resp := client.StartImportLabelsTaskRunRequest(params)
13322//
13323//    err := req.Send()
13324//    if err == nil { // resp is now filled
13325//        fmt.Println(resp)
13326//    }
13327//
13328// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
13329func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) {
13330	op := &request.Operation{
13331		Name:       opStartImportLabelsTaskRun,
13332		HTTPMethod: "POST",
13333		HTTPPath:   "/",
13334	}
13335
13336	if input == nil {
13337		input = &StartImportLabelsTaskRunInput{}
13338	}
13339
13340	output = &StartImportLabelsTaskRunOutput{}
13341	req = c.newRequest(op, input, output)
13342	return
13343}
13344
13345// StartImportLabelsTaskRun API operation for AWS Glue.
13346//
13347// Enables you to provide additional labels (examples of truth) to be used to
13348// teach the machine learning transform and improve its quality. This API operation
13349// is generally used as part of the active learning workflow that starts with
13350// the StartMLLabelingSetGenerationTaskRun call and that ultimately results
13351// in improving the quality of your machine learning transform.
13352//
13353// After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine
13354// learning will have generated a series of questions for humans to answer.
13355// (Answering these questions is often called 'labeling' in the machine learning
13356// workflows). In the case of the FindMatches transform, these questions are
13357// of the form, “What is the correct way to group these rows together into
13358// groups composed entirely of matching records?” After the labeling process
13359// is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun.
13360// After StartImportLabelsTaskRun finishes, all future runs of the machine learning
13361// transform use the new and improved labels and perform a higher-quality transformation.
13362//
13363// By default, StartMLLabelingSetGenerationTaskRun continually learns from and
13364// combines all labels that you upload unless you set Replace to true. If you
13365// set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously
13366// uploaded labels and learns only from the exact set that you upload. Replacing
13367// labels can be helpful if you realize that you previously uploaded incorrect
13368// labels, and you believe that they are having a negative effect on your transform
13369// quality.
13370//
13371// You can check on the status of your task run by calling the GetMLTaskRun
13372// operation.
13373//
13374// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13375// with awserr.Error's Code and Message methods to get detailed information about
13376// the error.
13377//
13378// See the AWS API reference guide for AWS Glue's
13379// API operation StartImportLabelsTaskRun for usage and error information.
13380//
13381// Returned Error Types:
13382//   * EntityNotFoundException
13383//   A specified entity does not exist
13384//
13385//   * InvalidInputException
13386//   The input provided was not valid.
13387//
13388//   * OperationTimeoutException
13389//   The operation timed out.
13390//
13391//   * ResourceNumberLimitExceededException
13392//   A resource numerical limit was exceeded.
13393//
13394//   * InternalServiceException
13395//   An internal service error occurred.
13396//
13397// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
13398func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) {
13399	req, out := c.StartImportLabelsTaskRunRequest(input)
13400	return out, req.Send()
13401}
13402
13403// StartImportLabelsTaskRunWithContext is the same as StartImportLabelsTaskRun with the addition of
13404// the ability to pass a context and additional request options.
13405//
13406// See StartImportLabelsTaskRun for details on how to use this API operation.
13407//
13408// The context must be non-nil and will be used for request cancellation. If
13409// the context is nil a panic will occur. In the future the SDK may create
13410// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13411// for more information on using Contexts.
13412func (c *Glue) StartImportLabelsTaskRunWithContext(ctx aws.Context, input *StartImportLabelsTaskRunInput, opts ...request.Option) (*StartImportLabelsTaskRunOutput, error) {
13413	req, out := c.StartImportLabelsTaskRunRequest(input)
13414	req.SetContext(ctx)
13415	req.ApplyOptions(opts...)
13416	return out, req.Send()
13417}
13418
13419const opStartJobRun = "StartJobRun"
13420
13421// StartJobRunRequest generates a "aws/request.Request" representing the
13422// client's request for the StartJobRun operation. The "output" return
13423// value will be populated with the request's response once the request completes
13424// successfully.
13425//
13426// Use "Send" method on the returned Request to send the API call to the service.
13427// the "output" return value is not valid until after Send returns without error.
13428//
13429// See StartJobRun for more information on using the StartJobRun
13430// API call, and error handling.
13431//
13432// This method is useful when you want to inject custom logic or configuration
13433// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13434//
13435//
13436//    // Example sending a request using the StartJobRunRequest method.
13437//    req, resp := client.StartJobRunRequest(params)
13438//
13439//    err := req.Send()
13440//    if err == nil { // resp is now filled
13441//        fmt.Println(resp)
13442//    }
13443//
13444// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
13445func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) {
13446	op := &request.Operation{
13447		Name:       opStartJobRun,
13448		HTTPMethod: "POST",
13449		HTTPPath:   "/",
13450	}
13451
13452	if input == nil {
13453		input = &StartJobRunInput{}
13454	}
13455
13456	output = &StartJobRunOutput{}
13457	req = c.newRequest(op, input, output)
13458	return
13459}
13460
13461// StartJobRun API operation for AWS Glue.
13462//
13463// Starts a job run using a job definition.
13464//
13465// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13466// with awserr.Error's Code and Message methods to get detailed information about
13467// the error.
13468//
13469// See the AWS API reference guide for AWS Glue's
13470// API operation StartJobRun for usage and error information.
13471//
13472// Returned Error Types:
13473//   * InvalidInputException
13474//   The input provided was not valid.
13475//
13476//   * EntityNotFoundException
13477//   A specified entity does not exist
13478//
13479//   * InternalServiceException
13480//   An internal service error occurred.
13481//
13482//   * OperationTimeoutException
13483//   The operation timed out.
13484//
13485//   * ResourceNumberLimitExceededException
13486//   A resource numerical limit was exceeded.
13487//
13488//   * ConcurrentRunsExceededException
13489//   Too many jobs are being run concurrently.
13490//
13491// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
13492func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) {
13493	req, out := c.StartJobRunRequest(input)
13494	return out, req.Send()
13495}
13496
13497// StartJobRunWithContext is the same as StartJobRun with the addition of
13498// the ability to pass a context and additional request options.
13499//
13500// See StartJobRun for details on how to use this API operation.
13501//
13502// The context must be non-nil and will be used for request cancellation. If
13503// the context is nil a panic will occur. In the future the SDK may create
13504// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13505// for more information on using Contexts.
13506func (c *Glue) StartJobRunWithContext(ctx aws.Context, input *StartJobRunInput, opts ...request.Option) (*StartJobRunOutput, error) {
13507	req, out := c.StartJobRunRequest(input)
13508	req.SetContext(ctx)
13509	req.ApplyOptions(opts...)
13510	return out, req.Send()
13511}
13512
13513const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun"
13514
13515// StartMLEvaluationTaskRunRequest generates a "aws/request.Request" representing the
13516// client's request for the StartMLEvaluationTaskRun operation. The "output" return
13517// value will be populated with the request's response once the request completes
13518// successfully.
13519//
13520// Use "Send" method on the returned Request to send the API call to the service.
13521// the "output" return value is not valid until after Send returns without error.
13522//
13523// See StartMLEvaluationTaskRun for more information on using the StartMLEvaluationTaskRun
13524// API call, and error handling.
13525//
13526// This method is useful when you want to inject custom logic or configuration
13527// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13528//
13529//
13530//    // Example sending a request using the StartMLEvaluationTaskRunRequest method.
13531//    req, resp := client.StartMLEvaluationTaskRunRequest(params)
13532//
13533//    err := req.Send()
13534//    if err == nil { // resp is now filled
13535//        fmt.Println(resp)
13536//    }
13537//
13538// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
13539func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) {
13540	op := &request.Operation{
13541		Name:       opStartMLEvaluationTaskRun,
13542		HTTPMethod: "POST",
13543		HTTPPath:   "/",
13544	}
13545
13546	if input == nil {
13547		input = &StartMLEvaluationTaskRunInput{}
13548	}
13549
13550	output = &StartMLEvaluationTaskRunOutput{}
13551	req = c.newRequest(op, input, output)
13552	return
13553}
13554
13555// StartMLEvaluationTaskRun API operation for AWS Glue.
13556//
13557// Starts a task to estimate the quality of the transform.
13558//
13559// When you provide label sets as examples of truth, AWS Glue machine learning
13560// uses some of those examples to learn from them. The rest of the labels are
13561// used as a test to estimate quality.
13562//
13563// Returns a unique identifier for the run. You can call GetMLTaskRun to get
13564// more information about the stats of the EvaluationTaskRun.
13565//
13566// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13567// with awserr.Error's Code and Message methods to get detailed information about
13568// the error.
13569//
13570// See the AWS API reference guide for AWS Glue's
13571// API operation StartMLEvaluationTaskRun for usage and error information.
13572//
13573// Returned Error Types:
13574//   * EntityNotFoundException
13575//   A specified entity does not exist
13576//
13577//   * InvalidInputException
13578//   The input provided was not valid.
13579//
13580//   * OperationTimeoutException
13581//   The operation timed out.
13582//
13583//   * InternalServiceException
13584//   An internal service error occurred.
13585//
13586//   * ConcurrentRunsExceededException
13587//   Too many jobs are being run concurrently.
13588//
13589//   * MLTransformNotReadyException
13590//   The machine learning transform is not ready to run.
13591//
13592// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
13593func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) {
13594	req, out := c.StartMLEvaluationTaskRunRequest(input)
13595	return out, req.Send()
13596}
13597
13598// StartMLEvaluationTaskRunWithContext is the same as StartMLEvaluationTaskRun with the addition of
13599// the ability to pass a context and additional request options.
13600//
13601// See StartMLEvaluationTaskRun for details on how to use this API operation.
13602//
13603// The context must be non-nil and will be used for request cancellation. If
13604// the context is nil a panic will occur. In the future the SDK may create
13605// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13606// for more information on using Contexts.
13607func (c *Glue) StartMLEvaluationTaskRunWithContext(ctx aws.Context, input *StartMLEvaluationTaskRunInput, opts ...request.Option) (*StartMLEvaluationTaskRunOutput, error) {
13608	req, out := c.StartMLEvaluationTaskRunRequest(input)
13609	req.SetContext(ctx)
13610	req.ApplyOptions(opts...)
13611	return out, req.Send()
13612}
13613
13614const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskRun"
13615
13616// StartMLLabelingSetGenerationTaskRunRequest generates a "aws/request.Request" representing the
13617// client's request for the StartMLLabelingSetGenerationTaskRun operation. The "output" return
13618// value will be populated with the request's response once the request completes
13619// successfully.
13620//
13621// Use "Send" method on the returned Request to send the API call to the service.
13622// the "output" return value is not valid until after Send returns without error.
13623//
13624// See StartMLLabelingSetGenerationTaskRun for more information on using the StartMLLabelingSetGenerationTaskRun
13625// API call, and error handling.
13626//
13627// This method is useful when you want to inject custom logic or configuration
13628// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13629//
13630//
13631//    // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method.
13632//    req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params)
13633//
13634//    err := req.Send()
13635//    if err == nil { // resp is now filled
13636//        fmt.Println(resp)
13637//    }
13638//
13639// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
13640func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) {
13641	op := &request.Operation{
13642		Name:       opStartMLLabelingSetGenerationTaskRun,
13643		HTTPMethod: "POST",
13644		HTTPPath:   "/",
13645	}
13646
13647	if input == nil {
13648		input = &StartMLLabelingSetGenerationTaskRunInput{}
13649	}
13650
13651	output = &StartMLLabelingSetGenerationTaskRunOutput{}
13652	req = c.newRequest(op, input, output)
13653	return
13654}
13655
13656// StartMLLabelingSetGenerationTaskRun API operation for AWS Glue.
13657//
13658// Starts the active learning workflow for your machine learning transform to
13659// improve the transform's quality by generating label sets and adding labels.
13660//
13661// When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have
13662// generated a "labeling set" or a set of questions for humans to answer.
13663//
13664// In the case of the FindMatches transform, these questions are of the form,
13665// “What is the correct way to group these rows together into groups composed
13666// entirely of matching records?”
13667//
13668// After the labeling process is finished, you can upload your labels with a
13669// call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes,
13670// all future runs of the machine learning transform will use the new and improved
13671// labels and perform a higher-quality transformation.
13672//
13673// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13674// with awserr.Error's Code and Message methods to get detailed information about
13675// the error.
13676//
13677// See the AWS API reference guide for AWS Glue's
13678// API operation StartMLLabelingSetGenerationTaskRun for usage and error information.
13679//
13680// Returned Error Types:
13681//   * EntityNotFoundException
13682//   A specified entity does not exist
13683//
13684//   * InvalidInputException
13685//   The input provided was not valid.
13686//
13687//   * OperationTimeoutException
13688//   The operation timed out.
13689//
13690//   * InternalServiceException
13691//   An internal service error occurred.
13692//
13693//   * ConcurrentRunsExceededException
13694//   Too many jobs are being run concurrently.
13695//
13696// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
13697func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
13698	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
13699	return out, req.Send()
13700}
13701
13702// StartMLLabelingSetGenerationTaskRunWithContext is the same as StartMLLabelingSetGenerationTaskRun with the addition of
13703// the ability to pass a context and additional request options.
13704//
13705// See StartMLLabelingSetGenerationTaskRun for details on how to use this API operation.
13706//
13707// The context must be non-nil and will be used for request cancellation. If
13708// the context is nil a panic will occur. In the future the SDK may create
13709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13710// for more information on using Contexts.
13711func (c *Glue) StartMLLabelingSetGenerationTaskRunWithContext(ctx aws.Context, input *StartMLLabelingSetGenerationTaskRunInput, opts ...request.Option) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
13712	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
13713	req.SetContext(ctx)
13714	req.ApplyOptions(opts...)
13715	return out, req.Send()
13716}
13717
13718const opStartTrigger = "StartTrigger"
13719
13720// StartTriggerRequest generates a "aws/request.Request" representing the
13721// client's request for the StartTrigger operation. The "output" return
13722// value will be populated with the request's response once the request completes
13723// successfully.
13724//
13725// Use "Send" method on the returned Request to send the API call to the service.
13726// the "output" return value is not valid until after Send returns without error.
13727//
13728// See StartTrigger for more information on using the StartTrigger
13729// API call, and error handling.
13730//
13731// This method is useful when you want to inject custom logic or configuration
13732// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13733//
13734//
13735//    // Example sending a request using the StartTriggerRequest method.
13736//    req, resp := client.StartTriggerRequest(params)
13737//
13738//    err := req.Send()
13739//    if err == nil { // resp is now filled
13740//        fmt.Println(resp)
13741//    }
13742//
13743// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
13744func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) {
13745	op := &request.Operation{
13746		Name:       opStartTrigger,
13747		HTTPMethod: "POST",
13748		HTTPPath:   "/",
13749	}
13750
13751	if input == nil {
13752		input = &StartTriggerInput{}
13753	}
13754
13755	output = &StartTriggerOutput{}
13756	req = c.newRequest(op, input, output)
13757	return
13758}
13759
13760// StartTrigger API operation for AWS Glue.
13761//
13762// Starts an existing trigger. See Triggering Jobs (https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html)
13763// for information about how different types of trigger are started.
13764//
13765// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13766// with awserr.Error's Code and Message methods to get detailed information about
13767// the error.
13768//
13769// See the AWS API reference guide for AWS Glue's
13770// API operation StartTrigger for usage and error information.
13771//
13772// Returned Error Types:
13773//   * InvalidInputException
13774//   The input provided was not valid.
13775//
13776//   * InternalServiceException
13777//   An internal service error occurred.
13778//
13779//   * EntityNotFoundException
13780//   A specified entity does not exist
13781//
13782//   * OperationTimeoutException
13783//   The operation timed out.
13784//
13785//   * ResourceNumberLimitExceededException
13786//   A resource numerical limit was exceeded.
13787//
13788//   * ConcurrentRunsExceededException
13789//   Too many jobs are being run concurrently.
13790//
13791// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
13792func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) {
13793	req, out := c.StartTriggerRequest(input)
13794	return out, req.Send()
13795}
13796
13797// StartTriggerWithContext is the same as StartTrigger with the addition of
13798// the ability to pass a context and additional request options.
13799//
13800// See StartTrigger for details on how to use this API operation.
13801//
13802// The context must be non-nil and will be used for request cancellation. If
13803// the context is nil a panic will occur. In the future the SDK may create
13804// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13805// for more information on using Contexts.
13806func (c *Glue) StartTriggerWithContext(ctx aws.Context, input *StartTriggerInput, opts ...request.Option) (*StartTriggerOutput, error) {
13807	req, out := c.StartTriggerRequest(input)
13808	req.SetContext(ctx)
13809	req.ApplyOptions(opts...)
13810	return out, req.Send()
13811}
13812
13813const opStartWorkflowRun = "StartWorkflowRun"
13814
13815// StartWorkflowRunRequest generates a "aws/request.Request" representing the
13816// client's request for the StartWorkflowRun operation. The "output" return
13817// value will be populated with the request's response once the request completes
13818// successfully.
13819//
13820// Use "Send" method on the returned Request to send the API call to the service.
13821// the "output" return value is not valid until after Send returns without error.
13822//
13823// See StartWorkflowRun for more information on using the StartWorkflowRun
13824// API call, and error handling.
13825//
13826// This method is useful when you want to inject custom logic or configuration
13827// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13828//
13829//
13830//    // Example sending a request using the StartWorkflowRunRequest method.
13831//    req, resp := client.StartWorkflowRunRequest(params)
13832//
13833//    err := req.Send()
13834//    if err == nil { // resp is now filled
13835//        fmt.Println(resp)
13836//    }
13837//
13838// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
13839func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) {
13840	op := &request.Operation{
13841		Name:       opStartWorkflowRun,
13842		HTTPMethod: "POST",
13843		HTTPPath:   "/",
13844	}
13845
13846	if input == nil {
13847		input = &StartWorkflowRunInput{}
13848	}
13849
13850	output = &StartWorkflowRunOutput{}
13851	req = c.newRequest(op, input, output)
13852	return
13853}
13854
13855// StartWorkflowRun API operation for AWS Glue.
13856//
13857// Starts a new run of the specified workflow.
13858//
13859// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13860// with awserr.Error's Code and Message methods to get detailed information about
13861// the error.
13862//
13863// See the AWS API reference guide for AWS Glue's
13864// API operation StartWorkflowRun for usage and error information.
13865//
13866// Returned Error Types:
13867//   * InvalidInputException
13868//   The input provided was not valid.
13869//
13870//   * EntityNotFoundException
13871//   A specified entity does not exist
13872//
13873//   * InternalServiceException
13874//   An internal service error occurred.
13875//
13876//   * OperationTimeoutException
13877//   The operation timed out.
13878//
13879//   * ResourceNumberLimitExceededException
13880//   A resource numerical limit was exceeded.
13881//
13882//   * ConcurrentRunsExceededException
13883//   Too many jobs are being run concurrently.
13884//
13885// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
13886func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) {
13887	req, out := c.StartWorkflowRunRequest(input)
13888	return out, req.Send()
13889}
13890
13891// StartWorkflowRunWithContext is the same as StartWorkflowRun with the addition of
13892// the ability to pass a context and additional request options.
13893//
13894// See StartWorkflowRun for details on how to use this API operation.
13895//
13896// The context must be non-nil and will be used for request cancellation. If
13897// the context is nil a panic will occur. In the future the SDK may create
13898// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13899// for more information on using Contexts.
13900func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflowRunInput, opts ...request.Option) (*StartWorkflowRunOutput, error) {
13901	req, out := c.StartWorkflowRunRequest(input)
13902	req.SetContext(ctx)
13903	req.ApplyOptions(opts...)
13904	return out, req.Send()
13905}
13906
13907const opStopCrawler = "StopCrawler"
13908
13909// StopCrawlerRequest generates a "aws/request.Request" representing the
13910// client's request for the StopCrawler operation. The "output" return
13911// value will be populated with the request's response once the request completes
13912// successfully.
13913//
13914// Use "Send" method on the returned Request to send the API call to the service.
13915// the "output" return value is not valid until after Send returns without error.
13916//
13917// See StopCrawler for more information on using the StopCrawler
13918// API call, and error handling.
13919//
13920// This method is useful when you want to inject custom logic or configuration
13921// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13922//
13923//
13924//    // Example sending a request using the StopCrawlerRequest method.
13925//    req, resp := client.StopCrawlerRequest(params)
13926//
13927//    err := req.Send()
13928//    if err == nil { // resp is now filled
13929//        fmt.Println(resp)
13930//    }
13931//
13932// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
13933func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) {
13934	op := &request.Operation{
13935		Name:       opStopCrawler,
13936		HTTPMethod: "POST",
13937		HTTPPath:   "/",
13938	}
13939
13940	if input == nil {
13941		input = &StopCrawlerInput{}
13942	}
13943
13944	output = &StopCrawlerOutput{}
13945	req = c.newRequest(op, input, output)
13946	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
13947	return
13948}
13949
13950// StopCrawler API operation for AWS Glue.
13951//
13952// If the specified crawler is running, stops the crawl.
13953//
13954// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13955// with awserr.Error's Code and Message methods to get detailed information about
13956// the error.
13957//
13958// See the AWS API reference guide for AWS Glue's
13959// API operation StopCrawler for usage and error information.
13960//
13961// Returned Error Types:
13962//   * EntityNotFoundException
13963//   A specified entity does not exist
13964//
13965//   * CrawlerNotRunningException
13966//   The specified crawler is not running.
13967//
13968//   * CrawlerStoppingException
13969//   The specified crawler is stopping.
13970//
13971//   * OperationTimeoutException
13972//   The operation timed out.
13973//
13974// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
13975func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) {
13976	req, out := c.StopCrawlerRequest(input)
13977	return out, req.Send()
13978}
13979
13980// StopCrawlerWithContext is the same as StopCrawler with the addition of
13981// the ability to pass a context and additional request options.
13982//
13983// See StopCrawler for details on how to use this API operation.
13984//
13985// The context must be non-nil and will be used for request cancellation. If
13986// the context is nil a panic will occur. In the future the SDK may create
13987// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13988// for more information on using Contexts.
13989func (c *Glue) StopCrawlerWithContext(ctx aws.Context, input *StopCrawlerInput, opts ...request.Option) (*StopCrawlerOutput, error) {
13990	req, out := c.StopCrawlerRequest(input)
13991	req.SetContext(ctx)
13992	req.ApplyOptions(opts...)
13993	return out, req.Send()
13994}
13995
13996const opStopCrawlerSchedule = "StopCrawlerSchedule"
13997
13998// StopCrawlerScheduleRequest generates a "aws/request.Request" representing the
13999// client's request for the StopCrawlerSchedule operation. The "output" return
14000// value will be populated with the request's response once the request completes
14001// successfully.
14002//
14003// Use "Send" method on the returned Request to send the API call to the service.
14004// the "output" return value is not valid until after Send returns without error.
14005//
14006// See StopCrawlerSchedule for more information on using the StopCrawlerSchedule
14007// API call, and error handling.
14008//
14009// This method is useful when you want to inject custom logic or configuration
14010// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14011//
14012//
14013//    // Example sending a request using the StopCrawlerScheduleRequest method.
14014//    req, resp := client.StopCrawlerScheduleRequest(params)
14015//
14016//    err := req.Send()
14017//    if err == nil { // resp is now filled
14018//        fmt.Println(resp)
14019//    }
14020//
14021// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
14022func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) {
14023	op := &request.Operation{
14024		Name:       opStopCrawlerSchedule,
14025		HTTPMethod: "POST",
14026		HTTPPath:   "/",
14027	}
14028
14029	if input == nil {
14030		input = &StopCrawlerScheduleInput{}
14031	}
14032
14033	output = &StopCrawlerScheduleOutput{}
14034	req = c.newRequest(op, input, output)
14035	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14036	return
14037}
14038
14039// StopCrawlerSchedule API operation for AWS Glue.
14040//
14041// Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does
14042// not stop the crawler if it is already running.
14043//
14044// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14045// with awserr.Error's Code and Message methods to get detailed information about
14046// the error.
14047//
14048// See the AWS API reference guide for AWS Glue's
14049// API operation StopCrawlerSchedule for usage and error information.
14050//
14051// Returned Error Types:
14052//   * EntityNotFoundException
14053//   A specified entity does not exist
14054//
14055//   * SchedulerNotRunningException
14056//   The specified scheduler is not running.
14057//
14058//   * SchedulerTransitioningException
14059//   The specified scheduler is transitioning.
14060//
14061//   * OperationTimeoutException
14062//   The operation timed out.
14063//
14064// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
14065func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) {
14066	req, out := c.StopCrawlerScheduleRequest(input)
14067	return out, req.Send()
14068}
14069
14070// StopCrawlerScheduleWithContext is the same as StopCrawlerSchedule with the addition of
14071// the ability to pass a context and additional request options.
14072//
14073// See StopCrawlerSchedule for details on how to use this API operation.
14074//
14075// The context must be non-nil and will be used for request cancellation. If
14076// the context is nil a panic will occur. In the future the SDK may create
14077// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14078// for more information on using Contexts.
14079func (c *Glue) StopCrawlerScheduleWithContext(ctx aws.Context, input *StopCrawlerScheduleInput, opts ...request.Option) (*StopCrawlerScheduleOutput, error) {
14080	req, out := c.StopCrawlerScheduleRequest(input)
14081	req.SetContext(ctx)
14082	req.ApplyOptions(opts...)
14083	return out, req.Send()
14084}
14085
14086const opStopTrigger = "StopTrigger"
14087
14088// StopTriggerRequest generates a "aws/request.Request" representing the
14089// client's request for the StopTrigger operation. The "output" return
14090// value will be populated with the request's response once the request completes
14091// successfully.
14092//
14093// Use "Send" method on the returned Request to send the API call to the service.
14094// the "output" return value is not valid until after Send returns without error.
14095//
14096// See StopTrigger for more information on using the StopTrigger
14097// API call, and error handling.
14098//
14099// This method is useful when you want to inject custom logic or configuration
14100// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14101//
14102//
14103//    // Example sending a request using the StopTriggerRequest method.
14104//    req, resp := client.StopTriggerRequest(params)
14105//
14106//    err := req.Send()
14107//    if err == nil { // resp is now filled
14108//        fmt.Println(resp)
14109//    }
14110//
14111// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
14112func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) {
14113	op := &request.Operation{
14114		Name:       opStopTrigger,
14115		HTTPMethod: "POST",
14116		HTTPPath:   "/",
14117	}
14118
14119	if input == nil {
14120		input = &StopTriggerInput{}
14121	}
14122
14123	output = &StopTriggerOutput{}
14124	req = c.newRequest(op, input, output)
14125	return
14126}
14127
14128// StopTrigger API operation for AWS Glue.
14129//
14130// Stops a specified trigger.
14131//
14132// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14133// with awserr.Error's Code and Message methods to get detailed information about
14134// the error.
14135//
14136// See the AWS API reference guide for AWS Glue's
14137// API operation StopTrigger for usage and error information.
14138//
14139// Returned Error Types:
14140//   * InvalidInputException
14141//   The input provided was not valid.
14142//
14143//   * InternalServiceException
14144//   An internal service error occurred.
14145//
14146//   * EntityNotFoundException
14147//   A specified entity does not exist
14148//
14149//   * OperationTimeoutException
14150//   The operation timed out.
14151//
14152//   * ConcurrentModificationException
14153//   Two processes are trying to modify a resource simultaneously.
14154//
14155// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
14156func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) {
14157	req, out := c.StopTriggerRequest(input)
14158	return out, req.Send()
14159}
14160
14161// StopTriggerWithContext is the same as StopTrigger with the addition of
14162// the ability to pass a context and additional request options.
14163//
14164// See StopTrigger for details on how to use this API operation.
14165//
14166// The context must be non-nil and will be used for request cancellation. If
14167// the context is nil a panic will occur. In the future the SDK may create
14168// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14169// for more information on using Contexts.
14170func (c *Glue) StopTriggerWithContext(ctx aws.Context, input *StopTriggerInput, opts ...request.Option) (*StopTriggerOutput, error) {
14171	req, out := c.StopTriggerRequest(input)
14172	req.SetContext(ctx)
14173	req.ApplyOptions(opts...)
14174	return out, req.Send()
14175}
14176
14177const opStopWorkflowRun = "StopWorkflowRun"
14178
14179// StopWorkflowRunRequest generates a "aws/request.Request" representing the
14180// client's request for the StopWorkflowRun operation. The "output" return
14181// value will be populated with the request's response once the request completes
14182// successfully.
14183//
14184// Use "Send" method on the returned Request to send the API call to the service.
14185// the "output" return value is not valid until after Send returns without error.
14186//
14187// See StopWorkflowRun for more information on using the StopWorkflowRun
14188// API call, and error handling.
14189//
14190// This method is useful when you want to inject custom logic or configuration
14191// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14192//
14193//
14194//    // Example sending a request using the StopWorkflowRunRequest method.
14195//    req, resp := client.StopWorkflowRunRequest(params)
14196//
14197//    err := req.Send()
14198//    if err == nil { // resp is now filled
14199//        fmt.Println(resp)
14200//    }
14201//
14202// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun
14203func (c *Glue) StopWorkflowRunRequest(input *StopWorkflowRunInput) (req *request.Request, output *StopWorkflowRunOutput) {
14204	op := &request.Operation{
14205		Name:       opStopWorkflowRun,
14206		HTTPMethod: "POST",
14207		HTTPPath:   "/",
14208	}
14209
14210	if input == nil {
14211		input = &StopWorkflowRunInput{}
14212	}
14213
14214	output = &StopWorkflowRunOutput{}
14215	req = c.newRequest(op, input, output)
14216	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14217	return
14218}
14219
14220// StopWorkflowRun API operation for AWS Glue.
14221//
14222// Stops the execution of the specified workflow run.
14223//
14224// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14225// with awserr.Error's Code and Message methods to get detailed information about
14226// the error.
14227//
14228// See the AWS API reference guide for AWS Glue's
14229// API operation StopWorkflowRun for usage and error information.
14230//
14231// Returned Error Types:
14232//   * InvalidInputException
14233//   The input provided was not valid.
14234//
14235//   * EntityNotFoundException
14236//   A specified entity does not exist
14237//
14238//   * InternalServiceException
14239//   An internal service error occurred.
14240//
14241//   * OperationTimeoutException
14242//   The operation timed out.
14243//
14244//   * IllegalWorkflowStateException
14245//   The workflow is in an invalid state to perform a requested operation.
14246//
14247// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun
14248func (c *Glue) StopWorkflowRun(input *StopWorkflowRunInput) (*StopWorkflowRunOutput, error) {
14249	req, out := c.StopWorkflowRunRequest(input)
14250	return out, req.Send()
14251}
14252
14253// StopWorkflowRunWithContext is the same as StopWorkflowRun with the addition of
14254// the ability to pass a context and additional request options.
14255//
14256// See StopWorkflowRun for details on how to use this API operation.
14257//
14258// The context must be non-nil and will be used for request cancellation. If
14259// the context is nil a panic will occur. In the future the SDK may create
14260// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14261// for more information on using Contexts.
14262func (c *Glue) StopWorkflowRunWithContext(ctx aws.Context, input *StopWorkflowRunInput, opts ...request.Option) (*StopWorkflowRunOutput, error) {
14263	req, out := c.StopWorkflowRunRequest(input)
14264	req.SetContext(ctx)
14265	req.ApplyOptions(opts...)
14266	return out, req.Send()
14267}
14268
14269const opTagResource = "TagResource"
14270
14271// TagResourceRequest generates a "aws/request.Request" representing the
14272// client's request for the TagResource operation. The "output" return
14273// value will be populated with the request's response once the request completes
14274// successfully.
14275//
14276// Use "Send" method on the returned Request to send the API call to the service.
14277// the "output" return value is not valid until after Send returns without error.
14278//
14279// See TagResource for more information on using the TagResource
14280// API call, and error handling.
14281//
14282// This method is useful when you want to inject custom logic or configuration
14283// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14284//
14285//
14286//    // Example sending a request using the TagResourceRequest method.
14287//    req, resp := client.TagResourceRequest(params)
14288//
14289//    err := req.Send()
14290//    if err == nil { // resp is now filled
14291//        fmt.Println(resp)
14292//    }
14293//
14294// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
14295func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
14296	op := &request.Operation{
14297		Name:       opTagResource,
14298		HTTPMethod: "POST",
14299		HTTPPath:   "/",
14300	}
14301
14302	if input == nil {
14303		input = &TagResourceInput{}
14304	}
14305
14306	output = &TagResourceOutput{}
14307	req = c.newRequest(op, input, output)
14308	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14309	return
14310}
14311
14312// TagResource API operation for AWS Glue.
14313//
14314// Adds tags to a resource. A tag is a label you can assign to an AWS resource.
14315// In AWS Glue, you can tag only certain resources. For information about what
14316// resources you can tag, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
14317//
14318// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14319// with awserr.Error's Code and Message methods to get detailed information about
14320// the error.
14321//
14322// See the AWS API reference guide for AWS Glue's
14323// API operation TagResource for usage and error information.
14324//
14325// Returned Error Types:
14326//   * InvalidInputException
14327//   The input provided was not valid.
14328//
14329//   * InternalServiceException
14330//   An internal service error occurred.
14331//
14332//   * OperationTimeoutException
14333//   The operation timed out.
14334//
14335//   * EntityNotFoundException
14336//   A specified entity does not exist
14337//
14338// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
14339func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
14340	req, out := c.TagResourceRequest(input)
14341	return out, req.Send()
14342}
14343
14344// TagResourceWithContext is the same as TagResource with the addition of
14345// the ability to pass a context and additional request options.
14346//
14347// See TagResource for details on how to use this API operation.
14348//
14349// The context must be non-nil and will be used for request cancellation. If
14350// the context is nil a panic will occur. In the future the SDK may create
14351// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14352// for more information on using Contexts.
14353func (c *Glue) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
14354	req, out := c.TagResourceRequest(input)
14355	req.SetContext(ctx)
14356	req.ApplyOptions(opts...)
14357	return out, req.Send()
14358}
14359
14360const opUntagResource = "UntagResource"
14361
14362// UntagResourceRequest generates a "aws/request.Request" representing the
14363// client's request for the UntagResource operation. The "output" return
14364// value will be populated with the request's response once the request completes
14365// successfully.
14366//
14367// Use "Send" method on the returned Request to send the API call to the service.
14368// the "output" return value is not valid until after Send returns without error.
14369//
14370// See UntagResource for more information on using the UntagResource
14371// API call, and error handling.
14372//
14373// This method is useful when you want to inject custom logic or configuration
14374// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14375//
14376//
14377//    // Example sending a request using the UntagResourceRequest method.
14378//    req, resp := client.UntagResourceRequest(params)
14379//
14380//    err := req.Send()
14381//    if err == nil { // resp is now filled
14382//        fmt.Println(resp)
14383//    }
14384//
14385// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
14386func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
14387	op := &request.Operation{
14388		Name:       opUntagResource,
14389		HTTPMethod: "POST",
14390		HTTPPath:   "/",
14391	}
14392
14393	if input == nil {
14394		input = &UntagResourceInput{}
14395	}
14396
14397	output = &UntagResourceOutput{}
14398	req = c.newRequest(op, input, output)
14399	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14400	return
14401}
14402
14403// UntagResource API operation for AWS Glue.
14404//
14405// Removes tags from a resource.
14406//
14407// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14408// with awserr.Error's Code and Message methods to get detailed information about
14409// the error.
14410//
14411// See the AWS API reference guide for AWS Glue's
14412// API operation UntagResource for usage and error information.
14413//
14414// Returned Error Types:
14415//   * InvalidInputException
14416//   The input provided was not valid.
14417//
14418//   * InternalServiceException
14419//   An internal service error occurred.
14420//
14421//   * OperationTimeoutException
14422//   The operation timed out.
14423//
14424//   * EntityNotFoundException
14425//   A specified entity does not exist
14426//
14427// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
14428func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
14429	req, out := c.UntagResourceRequest(input)
14430	return out, req.Send()
14431}
14432
14433// UntagResourceWithContext is the same as UntagResource with the addition of
14434// the ability to pass a context and additional request options.
14435//
14436// See UntagResource for details on how to use this API operation.
14437//
14438// The context must be non-nil and will be used for request cancellation. If
14439// the context is nil a panic will occur. In the future the SDK may create
14440// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14441// for more information on using Contexts.
14442func (c *Glue) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
14443	req, out := c.UntagResourceRequest(input)
14444	req.SetContext(ctx)
14445	req.ApplyOptions(opts...)
14446	return out, req.Send()
14447}
14448
14449const opUpdateClassifier = "UpdateClassifier"
14450
14451// UpdateClassifierRequest generates a "aws/request.Request" representing the
14452// client's request for the UpdateClassifier operation. The "output" return
14453// value will be populated with the request's response once the request completes
14454// successfully.
14455//
14456// Use "Send" method on the returned Request to send the API call to the service.
14457// the "output" return value is not valid until after Send returns without error.
14458//
14459// See UpdateClassifier for more information on using the UpdateClassifier
14460// API call, and error handling.
14461//
14462// This method is useful when you want to inject custom logic or configuration
14463// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14464//
14465//
14466//    // Example sending a request using the UpdateClassifierRequest method.
14467//    req, resp := client.UpdateClassifierRequest(params)
14468//
14469//    err := req.Send()
14470//    if err == nil { // resp is now filled
14471//        fmt.Println(resp)
14472//    }
14473//
14474// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
14475func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) {
14476	op := &request.Operation{
14477		Name:       opUpdateClassifier,
14478		HTTPMethod: "POST",
14479		HTTPPath:   "/",
14480	}
14481
14482	if input == nil {
14483		input = &UpdateClassifierInput{}
14484	}
14485
14486	output = &UpdateClassifierOutput{}
14487	req = c.newRequest(op, input, output)
14488	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14489	return
14490}
14491
14492// UpdateClassifier API operation for AWS Glue.
14493//
14494// Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier,
14495// or a CsvClassifier, depending on which field is present).
14496//
14497// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14498// with awserr.Error's Code and Message methods to get detailed information about
14499// the error.
14500//
14501// See the AWS API reference guide for AWS Glue's
14502// API operation UpdateClassifier for usage and error information.
14503//
14504// Returned Error Types:
14505//   * InvalidInputException
14506//   The input provided was not valid.
14507//
14508//   * VersionMismatchException
14509//   There was a version conflict.
14510//
14511//   * EntityNotFoundException
14512//   A specified entity does not exist
14513//
14514//   * OperationTimeoutException
14515//   The operation timed out.
14516//
14517// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
14518func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) {
14519	req, out := c.UpdateClassifierRequest(input)
14520	return out, req.Send()
14521}
14522
14523// UpdateClassifierWithContext is the same as UpdateClassifier with the addition of
14524// the ability to pass a context and additional request options.
14525//
14526// See UpdateClassifier for details on how to use this API operation.
14527//
14528// The context must be non-nil and will be used for request cancellation. If
14529// the context is nil a panic will occur. In the future the SDK may create
14530// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14531// for more information on using Contexts.
14532func (c *Glue) UpdateClassifierWithContext(ctx aws.Context, input *UpdateClassifierInput, opts ...request.Option) (*UpdateClassifierOutput, error) {
14533	req, out := c.UpdateClassifierRequest(input)
14534	req.SetContext(ctx)
14535	req.ApplyOptions(opts...)
14536	return out, req.Send()
14537}
14538
14539const opUpdateColumnStatisticsForPartition = "UpdateColumnStatisticsForPartition"
14540
14541// UpdateColumnStatisticsForPartitionRequest generates a "aws/request.Request" representing the
14542// client's request for the UpdateColumnStatisticsForPartition operation. The "output" return
14543// value will be populated with the request's response once the request completes
14544// successfully.
14545//
14546// Use "Send" method on the returned Request to send the API call to the service.
14547// the "output" return value is not valid until after Send returns without error.
14548//
14549// See UpdateColumnStatisticsForPartition for more information on using the UpdateColumnStatisticsForPartition
14550// API call, and error handling.
14551//
14552// This method is useful when you want to inject custom logic or configuration
14553// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14554//
14555//
14556//    // Example sending a request using the UpdateColumnStatisticsForPartitionRequest method.
14557//    req, resp := client.UpdateColumnStatisticsForPartitionRequest(params)
14558//
14559//    err := req.Send()
14560//    if err == nil { // resp is now filled
14561//        fmt.Println(resp)
14562//    }
14563//
14564// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition
14565func (c *Glue) UpdateColumnStatisticsForPartitionRequest(input *UpdateColumnStatisticsForPartitionInput) (req *request.Request, output *UpdateColumnStatisticsForPartitionOutput) {
14566	op := &request.Operation{
14567		Name:       opUpdateColumnStatisticsForPartition,
14568		HTTPMethod: "POST",
14569		HTTPPath:   "/",
14570	}
14571
14572	if input == nil {
14573		input = &UpdateColumnStatisticsForPartitionInput{}
14574	}
14575
14576	output = &UpdateColumnStatisticsForPartitionOutput{}
14577	req = c.newRequest(op, input, output)
14578	return
14579}
14580
14581// UpdateColumnStatisticsForPartition API operation for AWS Glue.
14582//
14583// Creates or updates partition statistics of columns.
14584//
14585// The Identity and Access Management (IAM) permission required for this operation
14586// is UpdatePartition.
14587//
14588// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14589// with awserr.Error's Code and Message methods to get detailed information about
14590// the error.
14591//
14592// See the AWS API reference guide for AWS Glue's
14593// API operation UpdateColumnStatisticsForPartition for usage and error information.
14594//
14595// Returned Error Types:
14596//   * EntityNotFoundException
14597//   A specified entity does not exist
14598//
14599//   * InvalidInputException
14600//   The input provided was not valid.
14601//
14602//   * InternalServiceException
14603//   An internal service error occurred.
14604//
14605//   * OperationTimeoutException
14606//   The operation timed out.
14607//
14608//   * EncryptionException
14609//   An encryption operation failed.
14610//
14611// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition
14612func (c *Glue) UpdateColumnStatisticsForPartition(input *UpdateColumnStatisticsForPartitionInput) (*UpdateColumnStatisticsForPartitionOutput, error) {
14613	req, out := c.UpdateColumnStatisticsForPartitionRequest(input)
14614	return out, req.Send()
14615}
14616
14617// UpdateColumnStatisticsForPartitionWithContext is the same as UpdateColumnStatisticsForPartition with the addition of
14618// the ability to pass a context and additional request options.
14619//
14620// See UpdateColumnStatisticsForPartition for details on how to use this API operation.
14621//
14622// The context must be non-nil and will be used for request cancellation. If
14623// the context is nil a panic will occur. In the future the SDK may create
14624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14625// for more information on using Contexts.
14626func (c *Glue) UpdateColumnStatisticsForPartitionWithContext(ctx aws.Context, input *UpdateColumnStatisticsForPartitionInput, opts ...request.Option) (*UpdateColumnStatisticsForPartitionOutput, error) {
14627	req, out := c.UpdateColumnStatisticsForPartitionRequest(input)
14628	req.SetContext(ctx)
14629	req.ApplyOptions(opts...)
14630	return out, req.Send()
14631}
14632
14633const opUpdateColumnStatisticsForTable = "UpdateColumnStatisticsForTable"
14634
14635// UpdateColumnStatisticsForTableRequest generates a "aws/request.Request" representing the
14636// client's request for the UpdateColumnStatisticsForTable operation. The "output" return
14637// value will be populated with the request's response once the request completes
14638// successfully.
14639//
14640// Use "Send" method on the returned Request to send the API call to the service.
14641// the "output" return value is not valid until after Send returns without error.
14642//
14643// See UpdateColumnStatisticsForTable for more information on using the UpdateColumnStatisticsForTable
14644// API call, and error handling.
14645//
14646// This method is useful when you want to inject custom logic or configuration
14647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14648//
14649//
14650//    // Example sending a request using the UpdateColumnStatisticsForTableRequest method.
14651//    req, resp := client.UpdateColumnStatisticsForTableRequest(params)
14652//
14653//    err := req.Send()
14654//    if err == nil { // resp is now filled
14655//        fmt.Println(resp)
14656//    }
14657//
14658// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable
14659func (c *Glue) UpdateColumnStatisticsForTableRequest(input *UpdateColumnStatisticsForTableInput) (req *request.Request, output *UpdateColumnStatisticsForTableOutput) {
14660	op := &request.Operation{
14661		Name:       opUpdateColumnStatisticsForTable,
14662		HTTPMethod: "POST",
14663		HTTPPath:   "/",
14664	}
14665
14666	if input == nil {
14667		input = &UpdateColumnStatisticsForTableInput{}
14668	}
14669
14670	output = &UpdateColumnStatisticsForTableOutput{}
14671	req = c.newRequest(op, input, output)
14672	return
14673}
14674
14675// UpdateColumnStatisticsForTable API operation for AWS Glue.
14676//
14677// Creates or updates table statistics of columns.
14678//
14679// The Identity and Access Management (IAM) permission required for this operation
14680// is UpdateTable.
14681//
14682// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14683// with awserr.Error's Code and Message methods to get detailed information about
14684// the error.
14685//
14686// See the AWS API reference guide for AWS Glue's
14687// API operation UpdateColumnStatisticsForTable for usage and error information.
14688//
14689// Returned Error Types:
14690//   * EntityNotFoundException
14691//   A specified entity does not exist
14692//
14693//   * InvalidInputException
14694//   The input provided was not valid.
14695//
14696//   * InternalServiceException
14697//   An internal service error occurred.
14698//
14699//   * OperationTimeoutException
14700//   The operation timed out.
14701//
14702//   * EncryptionException
14703//   An encryption operation failed.
14704//
14705// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable
14706func (c *Glue) UpdateColumnStatisticsForTable(input *UpdateColumnStatisticsForTableInput) (*UpdateColumnStatisticsForTableOutput, error) {
14707	req, out := c.UpdateColumnStatisticsForTableRequest(input)
14708	return out, req.Send()
14709}
14710
14711// UpdateColumnStatisticsForTableWithContext is the same as UpdateColumnStatisticsForTable with the addition of
14712// the ability to pass a context and additional request options.
14713//
14714// See UpdateColumnStatisticsForTable for details on how to use this API operation.
14715//
14716// The context must be non-nil and will be used for request cancellation. If
14717// the context is nil a panic will occur. In the future the SDK may create
14718// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14719// for more information on using Contexts.
14720func (c *Glue) UpdateColumnStatisticsForTableWithContext(ctx aws.Context, input *UpdateColumnStatisticsForTableInput, opts ...request.Option) (*UpdateColumnStatisticsForTableOutput, error) {
14721	req, out := c.UpdateColumnStatisticsForTableRequest(input)
14722	req.SetContext(ctx)
14723	req.ApplyOptions(opts...)
14724	return out, req.Send()
14725}
14726
14727const opUpdateConnection = "UpdateConnection"
14728
14729// UpdateConnectionRequest generates a "aws/request.Request" representing the
14730// client's request for the UpdateConnection operation. The "output" return
14731// value will be populated with the request's response once the request completes
14732// successfully.
14733//
14734// Use "Send" method on the returned Request to send the API call to the service.
14735// the "output" return value is not valid until after Send returns without error.
14736//
14737// See UpdateConnection for more information on using the UpdateConnection
14738// API call, and error handling.
14739//
14740// This method is useful when you want to inject custom logic or configuration
14741// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14742//
14743//
14744//    // Example sending a request using the UpdateConnectionRequest method.
14745//    req, resp := client.UpdateConnectionRequest(params)
14746//
14747//    err := req.Send()
14748//    if err == nil { // resp is now filled
14749//        fmt.Println(resp)
14750//    }
14751//
14752// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
14753func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) {
14754	op := &request.Operation{
14755		Name:       opUpdateConnection,
14756		HTTPMethod: "POST",
14757		HTTPPath:   "/",
14758	}
14759
14760	if input == nil {
14761		input = &UpdateConnectionInput{}
14762	}
14763
14764	output = &UpdateConnectionOutput{}
14765	req = c.newRequest(op, input, output)
14766	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14767	return
14768}
14769
14770// UpdateConnection API operation for AWS Glue.
14771//
14772// Updates a connection definition in the Data Catalog.
14773//
14774// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14775// with awserr.Error's Code and Message methods to get detailed information about
14776// the error.
14777//
14778// See the AWS API reference guide for AWS Glue's
14779// API operation UpdateConnection for usage and error information.
14780//
14781// Returned Error Types:
14782//   * InvalidInputException
14783//   The input provided was not valid.
14784//
14785//   * EntityNotFoundException
14786//   A specified entity does not exist
14787//
14788//   * OperationTimeoutException
14789//   The operation timed out.
14790//
14791//   * InvalidInputException
14792//   The input provided was not valid.
14793//
14794//   * EncryptionException
14795//   An encryption operation failed.
14796//
14797// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
14798func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) {
14799	req, out := c.UpdateConnectionRequest(input)
14800	return out, req.Send()
14801}
14802
14803// UpdateConnectionWithContext is the same as UpdateConnection with the addition of
14804// the ability to pass a context and additional request options.
14805//
14806// See UpdateConnection for details on how to use this API operation.
14807//
14808// The context must be non-nil and will be used for request cancellation. If
14809// the context is nil a panic will occur. In the future the SDK may create
14810// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14811// for more information on using Contexts.
14812func (c *Glue) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) {
14813	req, out := c.UpdateConnectionRequest(input)
14814	req.SetContext(ctx)
14815	req.ApplyOptions(opts...)
14816	return out, req.Send()
14817}
14818
14819const opUpdateCrawler = "UpdateCrawler"
14820
14821// UpdateCrawlerRequest generates a "aws/request.Request" representing the
14822// client's request for the UpdateCrawler operation. The "output" return
14823// value will be populated with the request's response once the request completes
14824// successfully.
14825//
14826// Use "Send" method on the returned Request to send the API call to the service.
14827// the "output" return value is not valid until after Send returns without error.
14828//
14829// See UpdateCrawler for more information on using the UpdateCrawler
14830// API call, and error handling.
14831//
14832// This method is useful when you want to inject custom logic or configuration
14833// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14834//
14835//
14836//    // Example sending a request using the UpdateCrawlerRequest method.
14837//    req, resp := client.UpdateCrawlerRequest(params)
14838//
14839//    err := req.Send()
14840//    if err == nil { // resp is now filled
14841//        fmt.Println(resp)
14842//    }
14843//
14844// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
14845func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) {
14846	op := &request.Operation{
14847		Name:       opUpdateCrawler,
14848		HTTPMethod: "POST",
14849		HTTPPath:   "/",
14850	}
14851
14852	if input == nil {
14853		input = &UpdateCrawlerInput{}
14854	}
14855
14856	output = &UpdateCrawlerOutput{}
14857	req = c.newRequest(op, input, output)
14858	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14859	return
14860}
14861
14862// UpdateCrawler API operation for AWS Glue.
14863//
14864// Updates a crawler. If a crawler is running, you must stop it using StopCrawler
14865// before updating it.
14866//
14867// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14868// with awserr.Error's Code and Message methods to get detailed information about
14869// the error.
14870//
14871// See the AWS API reference guide for AWS Glue's
14872// API operation UpdateCrawler for usage and error information.
14873//
14874// Returned Error Types:
14875//   * InvalidInputException
14876//   The input provided was not valid.
14877//
14878//   * VersionMismatchException
14879//   There was a version conflict.
14880//
14881//   * EntityNotFoundException
14882//   A specified entity does not exist
14883//
14884//   * CrawlerRunningException
14885//   The operation cannot be performed because the crawler is already running.
14886//
14887//   * OperationTimeoutException
14888//   The operation timed out.
14889//
14890// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
14891func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) {
14892	req, out := c.UpdateCrawlerRequest(input)
14893	return out, req.Send()
14894}
14895
14896// UpdateCrawlerWithContext is the same as UpdateCrawler with the addition of
14897// the ability to pass a context and additional request options.
14898//
14899// See UpdateCrawler for details on how to use this API operation.
14900//
14901// The context must be non-nil and will be used for request cancellation. If
14902// the context is nil a panic will occur. In the future the SDK may create
14903// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14904// for more information on using Contexts.
14905func (c *Glue) UpdateCrawlerWithContext(ctx aws.Context, input *UpdateCrawlerInput, opts ...request.Option) (*UpdateCrawlerOutput, error) {
14906	req, out := c.UpdateCrawlerRequest(input)
14907	req.SetContext(ctx)
14908	req.ApplyOptions(opts...)
14909	return out, req.Send()
14910}
14911
14912const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule"
14913
14914// UpdateCrawlerScheduleRequest generates a "aws/request.Request" representing the
14915// client's request for the UpdateCrawlerSchedule operation. The "output" return
14916// value will be populated with the request's response once the request completes
14917// successfully.
14918//
14919// Use "Send" method on the returned Request to send the API call to the service.
14920// the "output" return value is not valid until after Send returns without error.
14921//
14922// See UpdateCrawlerSchedule for more information on using the UpdateCrawlerSchedule
14923// API call, and error handling.
14924//
14925// This method is useful when you want to inject custom logic or configuration
14926// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14927//
14928//
14929//    // Example sending a request using the UpdateCrawlerScheduleRequest method.
14930//    req, resp := client.UpdateCrawlerScheduleRequest(params)
14931//
14932//    err := req.Send()
14933//    if err == nil { // resp is now filled
14934//        fmt.Println(resp)
14935//    }
14936//
14937// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
14938func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) {
14939	op := &request.Operation{
14940		Name:       opUpdateCrawlerSchedule,
14941		HTTPMethod: "POST",
14942		HTTPPath:   "/",
14943	}
14944
14945	if input == nil {
14946		input = &UpdateCrawlerScheduleInput{}
14947	}
14948
14949	output = &UpdateCrawlerScheduleOutput{}
14950	req = c.newRequest(op, input, output)
14951	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
14952	return
14953}
14954
14955// UpdateCrawlerSchedule API operation for AWS Glue.
14956//
14957// Updates the schedule of a crawler using a cron expression.
14958//
14959// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14960// with awserr.Error's Code and Message methods to get detailed information about
14961// the error.
14962//
14963// See the AWS API reference guide for AWS Glue's
14964// API operation UpdateCrawlerSchedule for usage and error information.
14965//
14966// Returned Error Types:
14967//   * EntityNotFoundException
14968//   A specified entity does not exist
14969//
14970//   * InvalidInputException
14971//   The input provided was not valid.
14972//
14973//   * VersionMismatchException
14974//   There was a version conflict.
14975//
14976//   * SchedulerTransitioningException
14977//   The specified scheduler is transitioning.
14978//
14979//   * OperationTimeoutException
14980//   The operation timed out.
14981//
14982// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
14983func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) {
14984	req, out := c.UpdateCrawlerScheduleRequest(input)
14985	return out, req.Send()
14986}
14987
14988// UpdateCrawlerScheduleWithContext is the same as UpdateCrawlerSchedule with the addition of
14989// the ability to pass a context and additional request options.
14990//
14991// See UpdateCrawlerSchedule for details on how to use this API operation.
14992//
14993// The context must be non-nil and will be used for request cancellation. If
14994// the context is nil a panic will occur. In the future the SDK may create
14995// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14996// for more information on using Contexts.
14997func (c *Glue) UpdateCrawlerScheduleWithContext(ctx aws.Context, input *UpdateCrawlerScheduleInput, opts ...request.Option) (*UpdateCrawlerScheduleOutput, error) {
14998	req, out := c.UpdateCrawlerScheduleRequest(input)
14999	req.SetContext(ctx)
15000	req.ApplyOptions(opts...)
15001	return out, req.Send()
15002}
15003
15004const opUpdateDatabase = "UpdateDatabase"
15005
15006// UpdateDatabaseRequest generates a "aws/request.Request" representing the
15007// client's request for the UpdateDatabase operation. The "output" return
15008// value will be populated with the request's response once the request completes
15009// successfully.
15010//
15011// Use "Send" method on the returned Request to send the API call to the service.
15012// the "output" return value is not valid until after Send returns without error.
15013//
15014// See UpdateDatabase for more information on using the UpdateDatabase
15015// API call, and error handling.
15016//
15017// This method is useful when you want to inject custom logic or configuration
15018// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15019//
15020//
15021//    // Example sending a request using the UpdateDatabaseRequest method.
15022//    req, resp := client.UpdateDatabaseRequest(params)
15023//
15024//    err := req.Send()
15025//    if err == nil { // resp is now filled
15026//        fmt.Println(resp)
15027//    }
15028//
15029// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
15030func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) {
15031	op := &request.Operation{
15032		Name:       opUpdateDatabase,
15033		HTTPMethod: "POST",
15034		HTTPPath:   "/",
15035	}
15036
15037	if input == nil {
15038		input = &UpdateDatabaseInput{}
15039	}
15040
15041	output = &UpdateDatabaseOutput{}
15042	req = c.newRequest(op, input, output)
15043	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15044	return
15045}
15046
15047// UpdateDatabase API operation for AWS Glue.
15048//
15049// Updates an existing database definition in a Data Catalog.
15050//
15051// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15052// with awserr.Error's Code and Message methods to get detailed information about
15053// the error.
15054//
15055// See the AWS API reference guide for AWS Glue's
15056// API operation UpdateDatabase for usage and error information.
15057//
15058// Returned Error Types:
15059//   * EntityNotFoundException
15060//   A specified entity does not exist
15061//
15062//   * InvalidInputException
15063//   The input provided was not valid.
15064//
15065//   * InternalServiceException
15066//   An internal service error occurred.
15067//
15068//   * OperationTimeoutException
15069//   The operation timed out.
15070//
15071//   * EncryptionException
15072//   An encryption operation failed.
15073//
15074// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
15075func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) {
15076	req, out := c.UpdateDatabaseRequest(input)
15077	return out, req.Send()
15078}
15079
15080// UpdateDatabaseWithContext is the same as UpdateDatabase with the addition of
15081// the ability to pass a context and additional request options.
15082//
15083// See UpdateDatabase for details on how to use this API operation.
15084//
15085// The context must be non-nil and will be used for request cancellation. If
15086// the context is nil a panic will occur. In the future the SDK may create
15087// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15088// for more information on using Contexts.
15089func (c *Glue) UpdateDatabaseWithContext(ctx aws.Context, input *UpdateDatabaseInput, opts ...request.Option) (*UpdateDatabaseOutput, error) {
15090	req, out := c.UpdateDatabaseRequest(input)
15091	req.SetContext(ctx)
15092	req.ApplyOptions(opts...)
15093	return out, req.Send()
15094}
15095
15096const opUpdateDevEndpoint = "UpdateDevEndpoint"
15097
15098// UpdateDevEndpointRequest generates a "aws/request.Request" representing the
15099// client's request for the UpdateDevEndpoint operation. The "output" return
15100// value will be populated with the request's response once the request completes
15101// successfully.
15102//
15103// Use "Send" method on the returned Request to send the API call to the service.
15104// the "output" return value is not valid until after Send returns without error.
15105//
15106// See UpdateDevEndpoint for more information on using the UpdateDevEndpoint
15107// API call, and error handling.
15108//
15109// This method is useful when you want to inject custom logic or configuration
15110// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15111//
15112//
15113//    // Example sending a request using the UpdateDevEndpointRequest method.
15114//    req, resp := client.UpdateDevEndpointRequest(params)
15115//
15116//    err := req.Send()
15117//    if err == nil { // resp is now filled
15118//        fmt.Println(resp)
15119//    }
15120//
15121// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
15122func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) {
15123	op := &request.Operation{
15124		Name:       opUpdateDevEndpoint,
15125		HTTPMethod: "POST",
15126		HTTPPath:   "/",
15127	}
15128
15129	if input == nil {
15130		input = &UpdateDevEndpointInput{}
15131	}
15132
15133	output = &UpdateDevEndpointOutput{}
15134	req = c.newRequest(op, input, output)
15135	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15136	return
15137}
15138
15139// UpdateDevEndpoint API operation for AWS Glue.
15140//
15141// Updates a specified development endpoint.
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 UpdateDevEndpoint for usage and error information.
15149//
15150// Returned Error Types:
15151//   * EntityNotFoundException
15152//   A specified entity does not exist
15153//
15154//   * InternalServiceException
15155//   An internal service error occurred.
15156//
15157//   * OperationTimeoutException
15158//   The operation timed out.
15159//
15160//   * InvalidInputException
15161//   The input provided was not valid.
15162//
15163//   * ValidationException
15164//   A value could not be validated.
15165//
15166// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
15167func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) {
15168	req, out := c.UpdateDevEndpointRequest(input)
15169	return out, req.Send()
15170}
15171
15172// UpdateDevEndpointWithContext is the same as UpdateDevEndpoint with the addition of
15173// the ability to pass a context and additional request options.
15174//
15175// See UpdateDevEndpoint for details on how to use this API operation.
15176//
15177// The context must be non-nil and will be used for request cancellation. If
15178// the context is nil a panic will occur. In the future the SDK may create
15179// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15180// for more information on using Contexts.
15181func (c *Glue) UpdateDevEndpointWithContext(ctx aws.Context, input *UpdateDevEndpointInput, opts ...request.Option) (*UpdateDevEndpointOutput, error) {
15182	req, out := c.UpdateDevEndpointRequest(input)
15183	req.SetContext(ctx)
15184	req.ApplyOptions(opts...)
15185	return out, req.Send()
15186}
15187
15188const opUpdateJob = "UpdateJob"
15189
15190// UpdateJobRequest generates a "aws/request.Request" representing the
15191// client's request for the UpdateJob operation. The "output" return
15192// value will be populated with the request's response once the request completes
15193// successfully.
15194//
15195// Use "Send" method on the returned Request to send the API call to the service.
15196// the "output" return value is not valid until after Send returns without error.
15197//
15198// See UpdateJob for more information on using the UpdateJob
15199// API call, and error handling.
15200//
15201// This method is useful when you want to inject custom logic or configuration
15202// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15203//
15204//
15205//    // Example sending a request using the UpdateJobRequest method.
15206//    req, resp := client.UpdateJobRequest(params)
15207//
15208//    err := req.Send()
15209//    if err == nil { // resp is now filled
15210//        fmt.Println(resp)
15211//    }
15212//
15213// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
15214func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) {
15215	op := &request.Operation{
15216		Name:       opUpdateJob,
15217		HTTPMethod: "POST",
15218		HTTPPath:   "/",
15219	}
15220
15221	if input == nil {
15222		input = &UpdateJobInput{}
15223	}
15224
15225	output = &UpdateJobOutput{}
15226	req = c.newRequest(op, input, output)
15227	return
15228}
15229
15230// UpdateJob API operation for AWS Glue.
15231//
15232// Updates an existing job definition.
15233//
15234// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15235// with awserr.Error's Code and Message methods to get detailed information about
15236// the error.
15237//
15238// See the AWS API reference guide for AWS Glue's
15239// API operation UpdateJob for usage and error information.
15240//
15241// Returned Error Types:
15242//   * InvalidInputException
15243//   The input provided was not valid.
15244//
15245//   * EntityNotFoundException
15246//   A specified entity does not exist
15247//
15248//   * InternalServiceException
15249//   An internal service error occurred.
15250//
15251//   * OperationTimeoutException
15252//   The operation timed out.
15253//
15254//   * ConcurrentModificationException
15255//   Two processes are trying to modify a resource simultaneously.
15256//
15257// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
15258func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) {
15259	req, out := c.UpdateJobRequest(input)
15260	return out, req.Send()
15261}
15262
15263// UpdateJobWithContext is the same as UpdateJob with the addition of
15264// the ability to pass a context and additional request options.
15265//
15266// See UpdateJob for details on how to use this API operation.
15267//
15268// The context must be non-nil and will be used for request cancellation. If
15269// the context is nil a panic will occur. In the future the SDK may create
15270// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15271// for more information on using Contexts.
15272func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts ...request.Option) (*UpdateJobOutput, error) {
15273	req, out := c.UpdateJobRequest(input)
15274	req.SetContext(ctx)
15275	req.ApplyOptions(opts...)
15276	return out, req.Send()
15277}
15278
15279const opUpdateMLTransform = "UpdateMLTransform"
15280
15281// UpdateMLTransformRequest generates a "aws/request.Request" representing the
15282// client's request for the UpdateMLTransform operation. The "output" return
15283// value will be populated with the request's response once the request completes
15284// successfully.
15285//
15286// Use "Send" method on the returned Request to send the API call to the service.
15287// the "output" return value is not valid until after Send returns without error.
15288//
15289// See UpdateMLTransform for more information on using the UpdateMLTransform
15290// API call, and error handling.
15291//
15292// This method is useful when you want to inject custom logic or configuration
15293// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15294//
15295//
15296//    // Example sending a request using the UpdateMLTransformRequest method.
15297//    req, resp := client.UpdateMLTransformRequest(params)
15298//
15299//    err := req.Send()
15300//    if err == nil { // resp is now filled
15301//        fmt.Println(resp)
15302//    }
15303//
15304// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
15305func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) {
15306	op := &request.Operation{
15307		Name:       opUpdateMLTransform,
15308		HTTPMethod: "POST",
15309		HTTPPath:   "/",
15310	}
15311
15312	if input == nil {
15313		input = &UpdateMLTransformInput{}
15314	}
15315
15316	output = &UpdateMLTransformOutput{}
15317	req = c.newRequest(op, input, output)
15318	return
15319}
15320
15321// UpdateMLTransform API operation for AWS Glue.
15322//
15323// Updates an existing machine learning transform. Call this operation to tune
15324// the algorithm parameters to achieve better results.
15325//
15326// After calling this operation, you can call the StartMLEvaluationTaskRun operation
15327// to assess how well your new parameters achieved your goals (such as improving
15328// the quality of your machine learning transform, or making it more cost-effective).
15329//
15330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15331// with awserr.Error's Code and Message methods to get detailed information about
15332// the error.
15333//
15334// See the AWS API reference guide for AWS Glue's
15335// API operation UpdateMLTransform for usage and error information.
15336//
15337// Returned Error Types:
15338//   * EntityNotFoundException
15339//   A specified entity does not exist
15340//
15341//   * InvalidInputException
15342//   The input provided was not valid.
15343//
15344//   * OperationTimeoutException
15345//   The operation timed out.
15346//
15347//   * InternalServiceException
15348//   An internal service error occurred.
15349//
15350//   * AccessDeniedException
15351//   Access to a resource was denied.
15352//
15353// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
15354func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) {
15355	req, out := c.UpdateMLTransformRequest(input)
15356	return out, req.Send()
15357}
15358
15359// UpdateMLTransformWithContext is the same as UpdateMLTransform with the addition of
15360// the ability to pass a context and additional request options.
15361//
15362// See UpdateMLTransform for details on how to use this API operation.
15363//
15364// The context must be non-nil and will be used for request cancellation. If
15365// the context is nil a panic will occur. In the future the SDK may create
15366// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15367// for more information on using Contexts.
15368func (c *Glue) UpdateMLTransformWithContext(ctx aws.Context, input *UpdateMLTransformInput, opts ...request.Option) (*UpdateMLTransformOutput, error) {
15369	req, out := c.UpdateMLTransformRequest(input)
15370	req.SetContext(ctx)
15371	req.ApplyOptions(opts...)
15372	return out, req.Send()
15373}
15374
15375const opUpdatePartition = "UpdatePartition"
15376
15377// UpdatePartitionRequest generates a "aws/request.Request" representing the
15378// client's request for the UpdatePartition operation. The "output" return
15379// value will be populated with the request's response once the request completes
15380// successfully.
15381//
15382// Use "Send" method on the returned Request to send the API call to the service.
15383// the "output" return value is not valid until after Send returns without error.
15384//
15385// See UpdatePartition for more information on using the UpdatePartition
15386// API call, and error handling.
15387//
15388// This method is useful when you want to inject custom logic or configuration
15389// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15390//
15391//
15392//    // Example sending a request using the UpdatePartitionRequest method.
15393//    req, resp := client.UpdatePartitionRequest(params)
15394//
15395//    err := req.Send()
15396//    if err == nil { // resp is now filled
15397//        fmt.Println(resp)
15398//    }
15399//
15400// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
15401func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) {
15402	op := &request.Operation{
15403		Name:       opUpdatePartition,
15404		HTTPMethod: "POST",
15405		HTTPPath:   "/",
15406	}
15407
15408	if input == nil {
15409		input = &UpdatePartitionInput{}
15410	}
15411
15412	output = &UpdatePartitionOutput{}
15413	req = c.newRequest(op, input, output)
15414	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15415	return
15416}
15417
15418// UpdatePartition API operation for AWS Glue.
15419//
15420// Updates a partition.
15421//
15422// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15423// with awserr.Error's Code and Message methods to get detailed information about
15424// the error.
15425//
15426// See the AWS API reference guide for AWS Glue's
15427// API operation UpdatePartition for usage and error information.
15428//
15429// Returned Error Types:
15430//   * EntityNotFoundException
15431//   A specified entity does not exist
15432//
15433//   * InvalidInputException
15434//   The input provided was not valid.
15435//
15436//   * InternalServiceException
15437//   An internal service error occurred.
15438//
15439//   * OperationTimeoutException
15440//   The operation timed out.
15441//
15442//   * EncryptionException
15443//   An encryption operation failed.
15444//
15445// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
15446func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) {
15447	req, out := c.UpdatePartitionRequest(input)
15448	return out, req.Send()
15449}
15450
15451// UpdatePartitionWithContext is the same as UpdatePartition with the addition of
15452// the ability to pass a context and additional request options.
15453//
15454// See UpdatePartition for details on how to use this API operation.
15455//
15456// The context must be non-nil and will be used for request cancellation. If
15457// the context is nil a panic will occur. In the future the SDK may create
15458// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15459// for more information on using Contexts.
15460func (c *Glue) UpdatePartitionWithContext(ctx aws.Context, input *UpdatePartitionInput, opts ...request.Option) (*UpdatePartitionOutput, error) {
15461	req, out := c.UpdatePartitionRequest(input)
15462	req.SetContext(ctx)
15463	req.ApplyOptions(opts...)
15464	return out, req.Send()
15465}
15466
15467const opUpdateRegistry = "UpdateRegistry"
15468
15469// UpdateRegistryRequest generates a "aws/request.Request" representing the
15470// client's request for the UpdateRegistry operation. The "output" return
15471// value will be populated with the request's response once the request completes
15472// successfully.
15473//
15474// Use "Send" method on the returned Request to send the API call to the service.
15475// the "output" return value is not valid until after Send returns without error.
15476//
15477// See UpdateRegistry for more information on using the UpdateRegistry
15478// API call, and error handling.
15479//
15480// This method is useful when you want to inject custom logic or configuration
15481// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15482//
15483//
15484//    // Example sending a request using the UpdateRegistryRequest method.
15485//    req, resp := client.UpdateRegistryRequest(params)
15486//
15487//    err := req.Send()
15488//    if err == nil { // resp is now filled
15489//        fmt.Println(resp)
15490//    }
15491//
15492// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry
15493func (c *Glue) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.Request, output *UpdateRegistryOutput) {
15494	op := &request.Operation{
15495		Name:       opUpdateRegistry,
15496		HTTPMethod: "POST",
15497		HTTPPath:   "/",
15498	}
15499
15500	if input == nil {
15501		input = &UpdateRegistryInput{}
15502	}
15503
15504	output = &UpdateRegistryOutput{}
15505	req = c.newRequest(op, input, output)
15506	return
15507}
15508
15509// UpdateRegistry API operation for AWS Glue.
15510//
15511// Updates an existing registry which is used to hold a collection of schemas.
15512// The updated properties relate to the registry, and do not modify any of the
15513// schemas within the registry.
15514//
15515// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15516// with awserr.Error's Code and Message methods to get detailed information about
15517// the error.
15518//
15519// See the AWS API reference guide for AWS Glue's
15520// API operation UpdateRegistry for usage and error information.
15521//
15522// Returned Error Types:
15523//   * InvalidInputException
15524//   The input provided was not valid.
15525//
15526//   * AccessDeniedException
15527//   Access to a resource was denied.
15528//
15529//   * EntityNotFoundException
15530//   A specified entity does not exist
15531//
15532//   * ConcurrentModificationException
15533//   Two processes are trying to modify a resource simultaneously.
15534//
15535//   * InternalServiceException
15536//   An internal service error occurred.
15537//
15538// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry
15539func (c *Glue) UpdateRegistry(input *UpdateRegistryInput) (*UpdateRegistryOutput, error) {
15540	req, out := c.UpdateRegistryRequest(input)
15541	return out, req.Send()
15542}
15543
15544// UpdateRegistryWithContext is the same as UpdateRegistry with the addition of
15545// the ability to pass a context and additional request options.
15546//
15547// See UpdateRegistry for details on how to use this API operation.
15548//
15549// The context must be non-nil and will be used for request cancellation. If
15550// the context is nil a panic will occur. In the future the SDK may create
15551// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15552// for more information on using Contexts.
15553func (c *Glue) UpdateRegistryWithContext(ctx aws.Context, input *UpdateRegistryInput, opts ...request.Option) (*UpdateRegistryOutput, error) {
15554	req, out := c.UpdateRegistryRequest(input)
15555	req.SetContext(ctx)
15556	req.ApplyOptions(opts...)
15557	return out, req.Send()
15558}
15559
15560const opUpdateSchema = "UpdateSchema"
15561
15562// UpdateSchemaRequest generates a "aws/request.Request" representing the
15563// client's request for the UpdateSchema operation. The "output" return
15564// value will be populated with the request's response once the request completes
15565// successfully.
15566//
15567// Use "Send" method on the returned Request to send the API call to the service.
15568// the "output" return value is not valid until after Send returns without error.
15569//
15570// See UpdateSchema for more information on using the UpdateSchema
15571// API call, and error handling.
15572//
15573// This method is useful when you want to inject custom logic or configuration
15574// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15575//
15576//
15577//    // Example sending a request using the UpdateSchemaRequest method.
15578//    req, resp := client.UpdateSchemaRequest(params)
15579//
15580//    err := req.Send()
15581//    if err == nil { // resp is now filled
15582//        fmt.Println(resp)
15583//    }
15584//
15585// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema
15586func (c *Glue) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput) {
15587	op := &request.Operation{
15588		Name:       opUpdateSchema,
15589		HTTPMethod: "POST",
15590		HTTPPath:   "/",
15591	}
15592
15593	if input == nil {
15594		input = &UpdateSchemaInput{}
15595	}
15596
15597	output = &UpdateSchemaOutput{}
15598	req = c.newRequest(op, input, output)
15599	return
15600}
15601
15602// UpdateSchema API operation for AWS Glue.
15603//
15604// Updates the description, compatibility setting, or version checkpoint for
15605// a schema set.
15606//
15607// For updating the compatibility setting, the call will not validate compatibility
15608// for the entire set of schema versions with the new compatibility setting.
15609// If the value for Compatibility is provided, the VersionNumber (a checkpoint)
15610// is also required. The API will validate the checkpoint version number for
15611// consistency.
15612//
15613// If the value for the VersionNumber (checkpoint) is provided, Compatibility
15614// is optional and this can be used to set/reset a checkpoint for the schema.
15615//
15616// This update will happen only if the schema is in the AVAILABLE state.
15617//
15618// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15619// with awserr.Error's Code and Message methods to get detailed information about
15620// the error.
15621//
15622// See the AWS API reference guide for AWS Glue's
15623// API operation UpdateSchema for usage and error information.
15624//
15625// Returned Error Types:
15626//   * InvalidInputException
15627//   The input provided was not valid.
15628//
15629//   * AccessDeniedException
15630//   Access to a resource was denied.
15631//
15632//   * EntityNotFoundException
15633//   A specified entity does not exist
15634//
15635//   * ConcurrentModificationException
15636//   Two processes are trying to modify a resource simultaneously.
15637//
15638//   * InternalServiceException
15639//   An internal service error occurred.
15640//
15641// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema
15642func (c *Glue) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error) {
15643	req, out := c.UpdateSchemaRequest(input)
15644	return out, req.Send()
15645}
15646
15647// UpdateSchemaWithContext is the same as UpdateSchema with the addition of
15648// the ability to pass a context and additional request options.
15649//
15650// See UpdateSchema for details on how to use this API operation.
15651//
15652// The context must be non-nil and will be used for request cancellation. If
15653// the context is nil a panic will occur. In the future the SDK may create
15654// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15655// for more information on using Contexts.
15656func (c *Glue) UpdateSchemaWithContext(ctx aws.Context, input *UpdateSchemaInput, opts ...request.Option) (*UpdateSchemaOutput, error) {
15657	req, out := c.UpdateSchemaRequest(input)
15658	req.SetContext(ctx)
15659	req.ApplyOptions(opts...)
15660	return out, req.Send()
15661}
15662
15663const opUpdateTable = "UpdateTable"
15664
15665// UpdateTableRequest generates a "aws/request.Request" representing the
15666// client's request for the UpdateTable operation. The "output" return
15667// value will be populated with the request's response once the request completes
15668// successfully.
15669//
15670// Use "Send" method on the returned Request to send the API call to the service.
15671// the "output" return value is not valid until after Send returns without error.
15672//
15673// See UpdateTable for more information on using the UpdateTable
15674// API call, and error handling.
15675//
15676// This method is useful when you want to inject custom logic or configuration
15677// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15678//
15679//
15680//    // Example sending a request using the UpdateTableRequest method.
15681//    req, resp := client.UpdateTableRequest(params)
15682//
15683//    err := req.Send()
15684//    if err == nil { // resp is now filled
15685//        fmt.Println(resp)
15686//    }
15687//
15688// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
15689func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) {
15690	op := &request.Operation{
15691		Name:       opUpdateTable,
15692		HTTPMethod: "POST",
15693		HTTPPath:   "/",
15694	}
15695
15696	if input == nil {
15697		input = &UpdateTableInput{}
15698	}
15699
15700	output = &UpdateTableOutput{}
15701	req = c.newRequest(op, input, output)
15702	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15703	return
15704}
15705
15706// UpdateTable API operation for AWS Glue.
15707//
15708// Updates a metadata table in the Data Catalog.
15709//
15710// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15711// with awserr.Error's Code and Message methods to get detailed information about
15712// the error.
15713//
15714// See the AWS API reference guide for AWS Glue's
15715// API operation UpdateTable for usage and error information.
15716//
15717// Returned Error Types:
15718//   * EntityNotFoundException
15719//   A specified entity does not exist
15720//
15721//   * InvalidInputException
15722//   The input provided was not valid.
15723//
15724//   * InternalServiceException
15725//   An internal service error occurred.
15726//
15727//   * OperationTimeoutException
15728//   The operation timed out.
15729//
15730//   * ConcurrentModificationException
15731//   Two processes are trying to modify a resource simultaneously.
15732//
15733//   * ResourceNumberLimitExceededException
15734//   A resource numerical limit was exceeded.
15735//
15736//   * EncryptionException
15737//   An encryption operation failed.
15738//
15739// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
15740func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) {
15741	req, out := c.UpdateTableRequest(input)
15742	return out, req.Send()
15743}
15744
15745// UpdateTableWithContext is the same as UpdateTable with the addition of
15746// the ability to pass a context and additional request options.
15747//
15748// See UpdateTable for details on how to use this API operation.
15749//
15750// The context must be non-nil and will be used for request cancellation. If
15751// the context is nil a panic will occur. In the future the SDK may create
15752// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15753// for more information on using Contexts.
15754func (c *Glue) UpdateTableWithContext(ctx aws.Context, input *UpdateTableInput, opts ...request.Option) (*UpdateTableOutput, error) {
15755	req, out := c.UpdateTableRequest(input)
15756	req.SetContext(ctx)
15757	req.ApplyOptions(opts...)
15758	return out, req.Send()
15759}
15760
15761const opUpdateTrigger = "UpdateTrigger"
15762
15763// UpdateTriggerRequest generates a "aws/request.Request" representing the
15764// client's request for the UpdateTrigger operation. The "output" return
15765// value will be populated with the request's response once the request completes
15766// successfully.
15767//
15768// Use "Send" method on the returned Request to send the API call to the service.
15769// the "output" return value is not valid until after Send returns without error.
15770//
15771// See UpdateTrigger for more information on using the UpdateTrigger
15772// API call, and error handling.
15773//
15774// This method is useful when you want to inject custom logic or configuration
15775// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15776//
15777//
15778//    // Example sending a request using the UpdateTriggerRequest method.
15779//    req, resp := client.UpdateTriggerRequest(params)
15780//
15781//    err := req.Send()
15782//    if err == nil { // resp is now filled
15783//        fmt.Println(resp)
15784//    }
15785//
15786// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
15787func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) {
15788	op := &request.Operation{
15789		Name:       opUpdateTrigger,
15790		HTTPMethod: "POST",
15791		HTTPPath:   "/",
15792	}
15793
15794	if input == nil {
15795		input = &UpdateTriggerInput{}
15796	}
15797
15798	output = &UpdateTriggerOutput{}
15799	req = c.newRequest(op, input, output)
15800	return
15801}
15802
15803// UpdateTrigger API operation for AWS Glue.
15804//
15805// Updates a trigger definition.
15806//
15807// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15808// with awserr.Error's Code and Message methods to get detailed information about
15809// the error.
15810//
15811// See the AWS API reference guide for AWS Glue's
15812// API operation UpdateTrigger for usage and error information.
15813//
15814// Returned Error Types:
15815//   * InvalidInputException
15816//   The input provided was not valid.
15817//
15818//   * InternalServiceException
15819//   An internal service error occurred.
15820//
15821//   * EntityNotFoundException
15822//   A specified entity does not exist
15823//
15824//   * OperationTimeoutException
15825//   The operation timed out.
15826//
15827//   * ConcurrentModificationException
15828//   Two processes are trying to modify a resource simultaneously.
15829//
15830// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
15831func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) {
15832	req, out := c.UpdateTriggerRequest(input)
15833	return out, req.Send()
15834}
15835
15836// UpdateTriggerWithContext is the same as UpdateTrigger with the addition of
15837// the ability to pass a context and additional request options.
15838//
15839// See UpdateTrigger for details on how to use this API operation.
15840//
15841// The context must be non-nil and will be used for request cancellation. If
15842// the context is nil a panic will occur. In the future the SDK may create
15843// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15844// for more information on using Contexts.
15845func (c *Glue) UpdateTriggerWithContext(ctx aws.Context, input *UpdateTriggerInput, opts ...request.Option) (*UpdateTriggerOutput, error) {
15846	req, out := c.UpdateTriggerRequest(input)
15847	req.SetContext(ctx)
15848	req.ApplyOptions(opts...)
15849	return out, req.Send()
15850}
15851
15852const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction"
15853
15854// UpdateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
15855// client's request for the UpdateUserDefinedFunction operation. The "output" return
15856// value will be populated with the request's response once the request completes
15857// successfully.
15858//
15859// Use "Send" method on the returned Request to send the API call to the service.
15860// the "output" return value is not valid until after Send returns without error.
15861//
15862// See UpdateUserDefinedFunction for more information on using the UpdateUserDefinedFunction
15863// API call, and error handling.
15864//
15865// This method is useful when you want to inject custom logic or configuration
15866// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15867//
15868//
15869//    // Example sending a request using the UpdateUserDefinedFunctionRequest method.
15870//    req, resp := client.UpdateUserDefinedFunctionRequest(params)
15871//
15872//    err := req.Send()
15873//    if err == nil { // resp is now filled
15874//        fmt.Println(resp)
15875//    }
15876//
15877// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
15878func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) {
15879	op := &request.Operation{
15880		Name:       opUpdateUserDefinedFunction,
15881		HTTPMethod: "POST",
15882		HTTPPath:   "/",
15883	}
15884
15885	if input == nil {
15886		input = &UpdateUserDefinedFunctionInput{}
15887	}
15888
15889	output = &UpdateUserDefinedFunctionOutput{}
15890	req = c.newRequest(op, input, output)
15891	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
15892	return
15893}
15894
15895// UpdateUserDefinedFunction API operation for AWS Glue.
15896//
15897// Updates an existing function definition in the Data Catalog.
15898//
15899// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15900// with awserr.Error's Code and Message methods to get detailed information about
15901// the error.
15902//
15903// See the AWS API reference guide for AWS Glue's
15904// API operation UpdateUserDefinedFunction for usage and error information.
15905//
15906// Returned Error Types:
15907//   * EntityNotFoundException
15908//   A specified entity does not exist
15909//
15910//   * InvalidInputException
15911//   The input provided was not valid.
15912//
15913//   * InternalServiceException
15914//   An internal service error occurred.
15915//
15916//   * OperationTimeoutException
15917//   The operation timed out.
15918//
15919//   * EncryptionException
15920//   An encryption operation failed.
15921//
15922// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
15923func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) {
15924	req, out := c.UpdateUserDefinedFunctionRequest(input)
15925	return out, req.Send()
15926}
15927
15928// UpdateUserDefinedFunctionWithContext is the same as UpdateUserDefinedFunction with the addition of
15929// the ability to pass a context and additional request options.
15930//
15931// See UpdateUserDefinedFunction for details on how to use this API operation.
15932//
15933// The context must be non-nil and will be used for request cancellation. If
15934// the context is nil a panic will occur. In the future the SDK may create
15935// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15936// for more information on using Contexts.
15937func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *UpdateUserDefinedFunctionInput, opts ...request.Option) (*UpdateUserDefinedFunctionOutput, error) {
15938	req, out := c.UpdateUserDefinedFunctionRequest(input)
15939	req.SetContext(ctx)
15940	req.ApplyOptions(opts...)
15941	return out, req.Send()
15942}
15943
15944const opUpdateWorkflow = "UpdateWorkflow"
15945
15946// UpdateWorkflowRequest generates a "aws/request.Request" representing the
15947// client's request for the UpdateWorkflow operation. The "output" return
15948// value will be populated with the request's response once the request completes
15949// successfully.
15950//
15951// Use "Send" method on the returned Request to send the API call to the service.
15952// the "output" return value is not valid until after Send returns without error.
15953//
15954// See UpdateWorkflow for more information on using the UpdateWorkflow
15955// API call, and error handling.
15956//
15957// This method is useful when you want to inject custom logic or configuration
15958// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15959//
15960//
15961//    // Example sending a request using the UpdateWorkflowRequest method.
15962//    req, resp := client.UpdateWorkflowRequest(params)
15963//
15964//    err := req.Send()
15965//    if err == nil { // resp is now filled
15966//        fmt.Println(resp)
15967//    }
15968//
15969// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
15970func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) {
15971	op := &request.Operation{
15972		Name:       opUpdateWorkflow,
15973		HTTPMethod: "POST",
15974		HTTPPath:   "/",
15975	}
15976
15977	if input == nil {
15978		input = &UpdateWorkflowInput{}
15979	}
15980
15981	output = &UpdateWorkflowOutput{}
15982	req = c.newRequest(op, input, output)
15983	return
15984}
15985
15986// UpdateWorkflow API operation for AWS Glue.
15987//
15988// Updates an existing workflow.
15989//
15990// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15991// with awserr.Error's Code and Message methods to get detailed information about
15992// the error.
15993//
15994// See the AWS API reference guide for AWS Glue's
15995// API operation UpdateWorkflow for usage and error information.
15996//
15997// Returned Error Types:
15998//   * InvalidInputException
15999//   The input provided was not valid.
16000//
16001//   * EntityNotFoundException
16002//   A specified entity does not exist
16003//
16004//   * InternalServiceException
16005//   An internal service error occurred.
16006//
16007//   * OperationTimeoutException
16008//   The operation timed out.
16009//
16010//   * ConcurrentModificationException
16011//   Two processes are trying to modify a resource simultaneously.
16012//
16013// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
16014func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) {
16015	req, out := c.UpdateWorkflowRequest(input)
16016	return out, req.Send()
16017}
16018
16019// UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of
16020// the ability to pass a context and additional request options.
16021//
16022// See UpdateWorkflow for details on how to use this API operation.
16023//
16024// The context must be non-nil and will be used for request cancellation. If
16025// the context is nil a panic will occur. In the future the SDK may create
16026// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16027// for more information on using Contexts.
16028func (c *Glue) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) {
16029	req, out := c.UpdateWorkflowRequest(input)
16030	req.SetContext(ctx)
16031	req.ApplyOptions(opts...)
16032	return out, req.Send()
16033}
16034
16035// Access to a resource was denied.
16036type AccessDeniedException struct {
16037	_            struct{}                  `type:"structure"`
16038	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
16039
16040	// A message describing the problem.
16041	Message_ *string `locationName:"Message" type:"string"`
16042}
16043
16044// String returns the string representation
16045func (s AccessDeniedException) String() string {
16046	return awsutil.Prettify(s)
16047}
16048
16049// GoString returns the string representation
16050func (s AccessDeniedException) GoString() string {
16051	return s.String()
16052}
16053
16054func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
16055	return &AccessDeniedException{
16056		RespMetadata: v,
16057	}
16058}
16059
16060// Code returns the exception type name.
16061func (s *AccessDeniedException) Code() string {
16062	return "AccessDeniedException"
16063}
16064
16065// Message returns the exception's message.
16066func (s *AccessDeniedException) Message() string {
16067	if s.Message_ != nil {
16068		return *s.Message_
16069	}
16070	return ""
16071}
16072
16073// OrigErr always returns nil, satisfies awserr.Error interface.
16074func (s *AccessDeniedException) OrigErr() error {
16075	return nil
16076}
16077
16078func (s *AccessDeniedException) Error() string {
16079	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
16080}
16081
16082// Status code returns the HTTP status code for the request's response error.
16083func (s *AccessDeniedException) StatusCode() int {
16084	return s.RespMetadata.StatusCode
16085}
16086
16087// RequestID returns the service's response RequestID for request.
16088func (s *AccessDeniedException) RequestID() string {
16089	return s.RespMetadata.RequestID
16090}
16091
16092// Defines an action to be initiated by a trigger.
16093type Action struct {
16094	_ struct{} `type:"structure"`
16095
16096	// The job arguments used when this trigger fires. For this job run, they replace
16097	// the default arguments set in the job definition itself.
16098	//
16099	// You can specify arguments here that your own job-execution script consumes,
16100	// as well as arguments that AWS Glue itself consumes.
16101	//
16102	// For information about how to specify and consume your own Job arguments,
16103	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
16104	// topic in the developer guide.
16105	//
16106	// For information about the key-value pairs that AWS Glue consumes to set up
16107	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
16108	// topic in the developer guide.
16109	Arguments map[string]*string `type:"map"`
16110
16111	// The name of the crawler to be used with this action.
16112	CrawlerName *string `min:"1" type:"string"`
16113
16114	// The name of a job to be executed.
16115	JobName *string `min:"1" type:"string"`
16116
16117	// Specifies configuration properties of a job run notification.
16118	NotificationProperty *NotificationProperty `type:"structure"`
16119
16120	// The name of the SecurityConfiguration structure to be used with this action.
16121	SecurityConfiguration *string `min:"1" type:"string"`
16122
16123	// The JobRun timeout in minutes. This is the maximum time that a job run can
16124	// consume resources before it is terminated and enters TIMEOUT status. The
16125	// default is 2,880 minutes (48 hours). This overrides the timeout value set
16126	// in the parent job.
16127	Timeout *int64 `min:"1" type:"integer"`
16128}
16129
16130// String returns the string representation
16131func (s Action) String() string {
16132	return awsutil.Prettify(s)
16133}
16134
16135// GoString returns the string representation
16136func (s Action) GoString() string {
16137	return s.String()
16138}
16139
16140// Validate inspects the fields of the type to determine if they are valid.
16141func (s *Action) Validate() error {
16142	invalidParams := request.ErrInvalidParams{Context: "Action"}
16143	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
16144		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
16145	}
16146	if s.JobName != nil && len(*s.JobName) < 1 {
16147		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
16148	}
16149	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
16150		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
16151	}
16152	if s.Timeout != nil && *s.Timeout < 1 {
16153		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
16154	}
16155	if s.NotificationProperty != nil {
16156		if err := s.NotificationProperty.Validate(); err != nil {
16157			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
16158		}
16159	}
16160
16161	if invalidParams.Len() > 0 {
16162		return invalidParams
16163	}
16164	return nil
16165}
16166
16167// SetArguments sets the Arguments field's value.
16168func (s *Action) SetArguments(v map[string]*string) *Action {
16169	s.Arguments = v
16170	return s
16171}
16172
16173// SetCrawlerName sets the CrawlerName field's value.
16174func (s *Action) SetCrawlerName(v string) *Action {
16175	s.CrawlerName = &v
16176	return s
16177}
16178
16179// SetJobName sets the JobName field's value.
16180func (s *Action) SetJobName(v string) *Action {
16181	s.JobName = &v
16182	return s
16183}
16184
16185// SetNotificationProperty sets the NotificationProperty field's value.
16186func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action {
16187	s.NotificationProperty = v
16188	return s
16189}
16190
16191// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16192func (s *Action) SetSecurityConfiguration(v string) *Action {
16193	s.SecurityConfiguration = &v
16194	return s
16195}
16196
16197// SetTimeout sets the Timeout field's value.
16198func (s *Action) SetTimeout(v int64) *Action {
16199	s.Timeout = &v
16200	return s
16201}
16202
16203// A resource to be created or added already exists.
16204type AlreadyExistsException struct {
16205	_            struct{}                  `type:"structure"`
16206	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
16207
16208	// A message describing the problem.
16209	Message_ *string `locationName:"Message" type:"string"`
16210}
16211
16212// String returns the string representation
16213func (s AlreadyExistsException) String() string {
16214	return awsutil.Prettify(s)
16215}
16216
16217// GoString returns the string representation
16218func (s AlreadyExistsException) GoString() string {
16219	return s.String()
16220}
16221
16222func newErrorAlreadyExistsException(v protocol.ResponseMetadata) error {
16223	return &AlreadyExistsException{
16224		RespMetadata: v,
16225	}
16226}
16227
16228// Code returns the exception type name.
16229func (s *AlreadyExistsException) Code() string {
16230	return "AlreadyExistsException"
16231}
16232
16233// Message returns the exception's message.
16234func (s *AlreadyExistsException) Message() string {
16235	if s.Message_ != nil {
16236		return *s.Message_
16237	}
16238	return ""
16239}
16240
16241// OrigErr always returns nil, satisfies awserr.Error interface.
16242func (s *AlreadyExistsException) OrigErr() error {
16243	return nil
16244}
16245
16246func (s *AlreadyExistsException) Error() string {
16247	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
16248}
16249
16250// Status code returns the HTTP status code for the request's response error.
16251func (s *AlreadyExistsException) StatusCode() int {
16252	return s.RespMetadata.StatusCode
16253}
16254
16255// RequestID returns the service's response RequestID for request.
16256func (s *AlreadyExistsException) RequestID() string {
16257	return s.RespMetadata.RequestID
16258}
16259
16260// A list of errors that can occur when registering partition indexes for an
16261// existing table.
16262//
16263// These errors give the details about why an index registration failed and
16264// provide a limited number of partitions in the response, so that you can fix
16265// the partitions at fault and try registering the index again. The most common
16266// set of errors that can occur are categorized as follows:
16267//
16268//    * EncryptedPartitionError: The partitions are encrypted.
16269//
16270//    * InvalidPartitionTypeDataError: The partition value doesn't match the
16271//    data type for that partition column.
16272//
16273//    * MissingPartitionValueError: The partitions are encrypted.
16274//
16275//    * UnsupportedPartitionCharacterError: Characters inside the partition
16276//    value are not supported. For example: U+0000 , U+0001, U+0002.
16277//
16278//    * InternalError: Any error which does not belong to other error codes.
16279type BackfillError struct {
16280	_ struct{} `type:"structure"`
16281
16282	// The error code for an error that occurred when registering partition indexes
16283	// for an existing table.
16284	Code *string `type:"string" enum:"BackfillErrorCode"`
16285
16286	// A list of a limited number of partitions in the response.
16287	Partitions []*PartitionValueList `type:"list"`
16288}
16289
16290// String returns the string representation
16291func (s BackfillError) String() string {
16292	return awsutil.Prettify(s)
16293}
16294
16295// GoString returns the string representation
16296func (s BackfillError) GoString() string {
16297	return s.String()
16298}
16299
16300// SetCode sets the Code field's value.
16301func (s *BackfillError) SetCode(v string) *BackfillError {
16302	s.Code = &v
16303	return s
16304}
16305
16306// SetPartitions sets the Partitions field's value.
16307func (s *BackfillError) SetPartitions(v []*PartitionValueList) *BackfillError {
16308	s.Partitions = v
16309	return s
16310}
16311
16312type BatchCreatePartitionInput struct {
16313	_ struct{} `type:"structure"`
16314
16315	// The ID of the catalog in which the partition is to be created. Currently,
16316	// this should be the AWS account ID.
16317	CatalogId *string `min:"1" type:"string"`
16318
16319	// The name of the metadata database in which the partition is to be created.
16320	//
16321	// DatabaseName is a required field
16322	DatabaseName *string `min:"1" type:"string" required:"true"`
16323
16324	// A list of PartitionInput structures that define the partitions to be created.
16325	//
16326	// PartitionInputList is a required field
16327	PartitionInputList []*PartitionInput `type:"list" required:"true"`
16328
16329	// The name of the metadata table in which the partition is to be created.
16330	//
16331	// TableName is a required field
16332	TableName *string `min:"1" type:"string" required:"true"`
16333}
16334
16335// String returns the string representation
16336func (s BatchCreatePartitionInput) String() string {
16337	return awsutil.Prettify(s)
16338}
16339
16340// GoString returns the string representation
16341func (s BatchCreatePartitionInput) GoString() string {
16342	return s.String()
16343}
16344
16345// Validate inspects the fields of the type to determine if they are valid.
16346func (s *BatchCreatePartitionInput) Validate() error {
16347	invalidParams := request.ErrInvalidParams{Context: "BatchCreatePartitionInput"}
16348	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16349		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16350	}
16351	if s.DatabaseName == nil {
16352		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
16353	}
16354	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
16355		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
16356	}
16357	if s.PartitionInputList == nil {
16358		invalidParams.Add(request.NewErrParamRequired("PartitionInputList"))
16359	}
16360	if s.TableName == nil {
16361		invalidParams.Add(request.NewErrParamRequired("TableName"))
16362	}
16363	if s.TableName != nil && len(*s.TableName) < 1 {
16364		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
16365	}
16366	if s.PartitionInputList != nil {
16367		for i, v := range s.PartitionInputList {
16368			if v == nil {
16369				continue
16370			}
16371			if err := v.Validate(); err != nil {
16372				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionInputList", i), err.(request.ErrInvalidParams))
16373			}
16374		}
16375	}
16376
16377	if invalidParams.Len() > 0 {
16378		return invalidParams
16379	}
16380	return nil
16381}
16382
16383// SetCatalogId sets the CatalogId field's value.
16384func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput {
16385	s.CatalogId = &v
16386	return s
16387}
16388
16389// SetDatabaseName sets the DatabaseName field's value.
16390func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput {
16391	s.DatabaseName = &v
16392	return s
16393}
16394
16395// SetPartitionInputList sets the PartitionInputList field's value.
16396func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput {
16397	s.PartitionInputList = v
16398	return s
16399}
16400
16401// SetTableName sets the TableName field's value.
16402func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput {
16403	s.TableName = &v
16404	return s
16405}
16406
16407type BatchCreatePartitionOutput struct {
16408	_ struct{} `type:"structure"`
16409
16410	// The errors encountered when trying to create the requested partitions.
16411	Errors []*PartitionError `type:"list"`
16412}
16413
16414// String returns the string representation
16415func (s BatchCreatePartitionOutput) String() string {
16416	return awsutil.Prettify(s)
16417}
16418
16419// GoString returns the string representation
16420func (s BatchCreatePartitionOutput) GoString() string {
16421	return s.String()
16422}
16423
16424// SetErrors sets the Errors field's value.
16425func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreatePartitionOutput {
16426	s.Errors = v
16427	return s
16428}
16429
16430type BatchDeleteConnectionInput struct {
16431	_ struct{} `type:"structure"`
16432
16433	// The ID of the Data Catalog in which the connections reside. If none is provided,
16434	// the AWS account ID is used by default.
16435	CatalogId *string `min:"1" type:"string"`
16436
16437	// A list of names of the connections to delete.
16438	//
16439	// ConnectionNameList is a required field
16440	ConnectionNameList []*string `type:"list" required:"true"`
16441}
16442
16443// String returns the string representation
16444func (s BatchDeleteConnectionInput) String() string {
16445	return awsutil.Prettify(s)
16446}
16447
16448// GoString returns the string representation
16449func (s BatchDeleteConnectionInput) GoString() string {
16450	return s.String()
16451}
16452
16453// Validate inspects the fields of the type to determine if they are valid.
16454func (s *BatchDeleteConnectionInput) Validate() error {
16455	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteConnectionInput"}
16456	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16457		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16458	}
16459	if s.ConnectionNameList == nil {
16460		invalidParams.Add(request.NewErrParamRequired("ConnectionNameList"))
16461	}
16462
16463	if invalidParams.Len() > 0 {
16464		return invalidParams
16465	}
16466	return nil
16467}
16468
16469// SetCatalogId sets the CatalogId field's value.
16470func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput {
16471	s.CatalogId = &v
16472	return s
16473}
16474
16475// SetConnectionNameList sets the ConnectionNameList field's value.
16476func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDeleteConnectionInput {
16477	s.ConnectionNameList = v
16478	return s
16479}
16480
16481type BatchDeleteConnectionOutput struct {
16482	_ struct{} `type:"structure"`
16483
16484	// A map of the names of connections that were not successfully deleted to error
16485	// details.
16486	Errors map[string]*ErrorDetail `type:"map"`
16487
16488	// A list of names of the connection definitions that were successfully deleted.
16489	Succeeded []*string `type:"list"`
16490}
16491
16492// String returns the string representation
16493func (s BatchDeleteConnectionOutput) String() string {
16494	return awsutil.Prettify(s)
16495}
16496
16497// GoString returns the string representation
16498func (s BatchDeleteConnectionOutput) GoString() string {
16499	return s.String()
16500}
16501
16502// SetErrors sets the Errors field's value.
16503func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]*ErrorDetail) *BatchDeleteConnectionOutput {
16504	s.Errors = v
16505	return s
16506}
16507
16508// SetSucceeded sets the Succeeded field's value.
16509func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConnectionOutput {
16510	s.Succeeded = v
16511	return s
16512}
16513
16514type BatchDeletePartitionInput struct {
16515	_ struct{} `type:"structure"`
16516
16517	// The ID of the Data Catalog where the partition to be deleted resides. If
16518	// none is provided, the AWS account ID is used by default.
16519	CatalogId *string `min:"1" type:"string"`
16520
16521	// The name of the catalog database in which the table in question resides.
16522	//
16523	// DatabaseName is a required field
16524	DatabaseName *string `min:"1" type:"string" required:"true"`
16525
16526	// A list of PartitionInput structures that define the partitions to be deleted.
16527	//
16528	// PartitionsToDelete is a required field
16529	PartitionsToDelete []*PartitionValueList `type:"list" required:"true"`
16530
16531	// The name of the table that contains the partitions to be deleted.
16532	//
16533	// TableName is a required field
16534	TableName *string `min:"1" type:"string" required:"true"`
16535}
16536
16537// String returns the string representation
16538func (s BatchDeletePartitionInput) String() string {
16539	return awsutil.Prettify(s)
16540}
16541
16542// GoString returns the string representation
16543func (s BatchDeletePartitionInput) GoString() string {
16544	return s.String()
16545}
16546
16547// Validate inspects the fields of the type to determine if they are valid.
16548func (s *BatchDeletePartitionInput) Validate() error {
16549	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePartitionInput"}
16550	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16551		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16552	}
16553	if s.DatabaseName == nil {
16554		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
16555	}
16556	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
16557		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
16558	}
16559	if s.PartitionsToDelete == nil {
16560		invalidParams.Add(request.NewErrParamRequired("PartitionsToDelete"))
16561	}
16562	if s.TableName == nil {
16563		invalidParams.Add(request.NewErrParamRequired("TableName"))
16564	}
16565	if s.TableName != nil && len(*s.TableName) < 1 {
16566		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
16567	}
16568	if s.PartitionsToDelete != nil {
16569		for i, v := range s.PartitionsToDelete {
16570			if v == nil {
16571				continue
16572			}
16573			if err := v.Validate(); err != nil {
16574				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToDelete", i), err.(request.ErrInvalidParams))
16575			}
16576		}
16577	}
16578
16579	if invalidParams.Len() > 0 {
16580		return invalidParams
16581	}
16582	return nil
16583}
16584
16585// SetCatalogId sets the CatalogId field's value.
16586func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput {
16587	s.CatalogId = &v
16588	return s
16589}
16590
16591// SetDatabaseName sets the DatabaseName field's value.
16592func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput {
16593	s.DatabaseName = &v
16594	return s
16595}
16596
16597// SetPartitionsToDelete sets the PartitionsToDelete field's value.
16598func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []*PartitionValueList) *BatchDeletePartitionInput {
16599	s.PartitionsToDelete = v
16600	return s
16601}
16602
16603// SetTableName sets the TableName field's value.
16604func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput {
16605	s.TableName = &v
16606	return s
16607}
16608
16609type BatchDeletePartitionOutput struct {
16610	_ struct{} `type:"structure"`
16611
16612	// The errors encountered when trying to delete the requested partitions.
16613	Errors []*PartitionError `type:"list"`
16614}
16615
16616// String returns the string representation
16617func (s BatchDeletePartitionOutput) String() string {
16618	return awsutil.Prettify(s)
16619}
16620
16621// GoString returns the string representation
16622func (s BatchDeletePartitionOutput) GoString() string {
16623	return s.String()
16624}
16625
16626// SetErrors sets the Errors field's value.
16627func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDeletePartitionOutput {
16628	s.Errors = v
16629	return s
16630}
16631
16632type BatchDeleteTableInput struct {
16633	_ struct{} `type:"structure"`
16634
16635	// The ID of the Data Catalog where the table resides. If none is provided,
16636	// the AWS account ID is used by default.
16637	CatalogId *string `min:"1" type:"string"`
16638
16639	// The name of the catalog database in which the tables to delete reside. For
16640	// Hive compatibility, this name is entirely lowercase.
16641	//
16642	// DatabaseName is a required field
16643	DatabaseName *string `min:"1" type:"string" required:"true"`
16644
16645	// A list of the table to delete.
16646	//
16647	// TablesToDelete is a required field
16648	TablesToDelete []*string `type:"list" required:"true"`
16649}
16650
16651// String returns the string representation
16652func (s BatchDeleteTableInput) String() string {
16653	return awsutil.Prettify(s)
16654}
16655
16656// GoString returns the string representation
16657func (s BatchDeleteTableInput) GoString() string {
16658	return s.String()
16659}
16660
16661// Validate inspects the fields of the type to determine if they are valid.
16662func (s *BatchDeleteTableInput) Validate() error {
16663	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableInput"}
16664	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16665		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16666	}
16667	if s.DatabaseName == nil {
16668		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
16669	}
16670	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
16671		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
16672	}
16673	if s.TablesToDelete == nil {
16674		invalidParams.Add(request.NewErrParamRequired("TablesToDelete"))
16675	}
16676
16677	if invalidParams.Len() > 0 {
16678		return invalidParams
16679	}
16680	return nil
16681}
16682
16683// SetCatalogId sets the CatalogId field's value.
16684func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput {
16685	s.CatalogId = &v
16686	return s
16687}
16688
16689// SetDatabaseName sets the DatabaseName field's value.
16690func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput {
16691	s.DatabaseName = &v
16692	return s
16693}
16694
16695// SetTablesToDelete sets the TablesToDelete field's value.
16696func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTableInput {
16697	s.TablesToDelete = v
16698	return s
16699}
16700
16701type BatchDeleteTableOutput struct {
16702	_ struct{} `type:"structure"`
16703
16704	// A list of errors encountered in attempting to delete the specified tables.
16705	Errors []*TableError `type:"list"`
16706}
16707
16708// String returns the string representation
16709func (s BatchDeleteTableOutput) String() string {
16710	return awsutil.Prettify(s)
16711}
16712
16713// GoString returns the string representation
16714func (s BatchDeleteTableOutput) GoString() string {
16715	return s.String()
16716}
16717
16718// SetErrors sets the Errors field's value.
16719func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOutput {
16720	s.Errors = v
16721	return s
16722}
16723
16724type BatchDeleteTableVersionInput struct {
16725	_ struct{} `type:"structure"`
16726
16727	// The ID of the Data Catalog where the tables reside. If none is provided,
16728	// the AWS account ID is used by default.
16729	CatalogId *string `min:"1" type:"string"`
16730
16731	// The database in the catalog in which the table resides. For Hive compatibility,
16732	// this name is entirely lowercase.
16733	//
16734	// DatabaseName is a required field
16735	DatabaseName *string `min:"1" type:"string" required:"true"`
16736
16737	// The name of the table. For Hive compatibility, this name is entirely lowercase.
16738	//
16739	// TableName is a required field
16740	TableName *string `min:"1" type:"string" required:"true"`
16741
16742	// A list of the IDs of versions to be deleted. A VersionId is a string representation
16743	// of an integer. Each version is incremented by 1.
16744	//
16745	// VersionIds is a required field
16746	VersionIds []*string `type:"list" required:"true"`
16747}
16748
16749// String returns the string representation
16750func (s BatchDeleteTableVersionInput) String() string {
16751	return awsutil.Prettify(s)
16752}
16753
16754// GoString returns the string representation
16755func (s BatchDeleteTableVersionInput) GoString() string {
16756	return s.String()
16757}
16758
16759// Validate inspects the fields of the type to determine if they are valid.
16760func (s *BatchDeleteTableVersionInput) Validate() error {
16761	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableVersionInput"}
16762	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16763		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16764	}
16765	if s.DatabaseName == nil {
16766		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
16767	}
16768	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
16769		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
16770	}
16771	if s.TableName == nil {
16772		invalidParams.Add(request.NewErrParamRequired("TableName"))
16773	}
16774	if s.TableName != nil && len(*s.TableName) < 1 {
16775		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
16776	}
16777	if s.VersionIds == nil {
16778		invalidParams.Add(request.NewErrParamRequired("VersionIds"))
16779	}
16780
16781	if invalidParams.Len() > 0 {
16782		return invalidParams
16783	}
16784	return nil
16785}
16786
16787// SetCatalogId sets the CatalogId field's value.
16788func (s *BatchDeleteTableVersionInput) SetCatalogId(v string) *BatchDeleteTableVersionInput {
16789	s.CatalogId = &v
16790	return s
16791}
16792
16793// SetDatabaseName sets the DatabaseName field's value.
16794func (s *BatchDeleteTableVersionInput) SetDatabaseName(v string) *BatchDeleteTableVersionInput {
16795	s.DatabaseName = &v
16796	return s
16797}
16798
16799// SetTableName sets the TableName field's value.
16800func (s *BatchDeleteTableVersionInput) SetTableName(v string) *BatchDeleteTableVersionInput {
16801	s.TableName = &v
16802	return s
16803}
16804
16805// SetVersionIds sets the VersionIds field's value.
16806func (s *BatchDeleteTableVersionInput) SetVersionIds(v []*string) *BatchDeleteTableVersionInput {
16807	s.VersionIds = v
16808	return s
16809}
16810
16811type BatchDeleteTableVersionOutput struct {
16812	_ struct{} `type:"structure"`
16813
16814	// A list of errors encountered while trying to delete the specified table versions.
16815	Errors []*TableVersionError `type:"list"`
16816}
16817
16818// String returns the string representation
16819func (s BatchDeleteTableVersionOutput) String() string {
16820	return awsutil.Prettify(s)
16821}
16822
16823// GoString returns the string representation
16824func (s BatchDeleteTableVersionOutput) GoString() string {
16825	return s.String()
16826}
16827
16828// SetErrors sets the Errors field's value.
16829func (s *BatchDeleteTableVersionOutput) SetErrors(v []*TableVersionError) *BatchDeleteTableVersionOutput {
16830	s.Errors = v
16831	return s
16832}
16833
16834type BatchGetCrawlersInput struct {
16835	_ struct{} `type:"structure"`
16836
16837	// A list of crawler names, which might be the names returned from the ListCrawlers
16838	// operation.
16839	//
16840	// CrawlerNames is a required field
16841	CrawlerNames []*string `type:"list" required:"true"`
16842}
16843
16844// String returns the string representation
16845func (s BatchGetCrawlersInput) String() string {
16846	return awsutil.Prettify(s)
16847}
16848
16849// GoString returns the string representation
16850func (s BatchGetCrawlersInput) GoString() string {
16851	return s.String()
16852}
16853
16854// Validate inspects the fields of the type to determine if they are valid.
16855func (s *BatchGetCrawlersInput) Validate() error {
16856	invalidParams := request.ErrInvalidParams{Context: "BatchGetCrawlersInput"}
16857	if s.CrawlerNames == nil {
16858		invalidParams.Add(request.NewErrParamRequired("CrawlerNames"))
16859	}
16860
16861	if invalidParams.Len() > 0 {
16862		return invalidParams
16863	}
16864	return nil
16865}
16866
16867// SetCrawlerNames sets the CrawlerNames field's value.
16868func (s *BatchGetCrawlersInput) SetCrawlerNames(v []*string) *BatchGetCrawlersInput {
16869	s.CrawlerNames = v
16870	return s
16871}
16872
16873type BatchGetCrawlersOutput struct {
16874	_ struct{} `type:"structure"`
16875
16876	// A list of crawler definitions.
16877	Crawlers []*Crawler `type:"list"`
16878
16879	// A list of names of crawlers that were not found.
16880	CrawlersNotFound []*string `type:"list"`
16881}
16882
16883// String returns the string representation
16884func (s BatchGetCrawlersOutput) String() string {
16885	return awsutil.Prettify(s)
16886}
16887
16888// GoString returns the string representation
16889func (s BatchGetCrawlersOutput) GoString() string {
16890	return s.String()
16891}
16892
16893// SetCrawlers sets the Crawlers field's value.
16894func (s *BatchGetCrawlersOutput) SetCrawlers(v []*Crawler) *BatchGetCrawlersOutput {
16895	s.Crawlers = v
16896	return s
16897}
16898
16899// SetCrawlersNotFound sets the CrawlersNotFound field's value.
16900func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawlersOutput {
16901	s.CrawlersNotFound = v
16902	return s
16903}
16904
16905type BatchGetDevEndpointsInput struct {
16906	_ struct{} `type:"structure"`
16907
16908	// The list of DevEndpoint names, which might be the names returned from the
16909	// ListDevEndpoint operation.
16910	//
16911	// DevEndpointNames is a required field
16912	DevEndpointNames []*string `min:"1" type:"list" required:"true"`
16913}
16914
16915// String returns the string representation
16916func (s BatchGetDevEndpointsInput) String() string {
16917	return awsutil.Prettify(s)
16918}
16919
16920// GoString returns the string representation
16921func (s BatchGetDevEndpointsInput) GoString() string {
16922	return s.String()
16923}
16924
16925// Validate inspects the fields of the type to determine if they are valid.
16926func (s *BatchGetDevEndpointsInput) Validate() error {
16927	invalidParams := request.ErrInvalidParams{Context: "BatchGetDevEndpointsInput"}
16928	if s.DevEndpointNames == nil {
16929		invalidParams.Add(request.NewErrParamRequired("DevEndpointNames"))
16930	}
16931	if s.DevEndpointNames != nil && len(s.DevEndpointNames) < 1 {
16932		invalidParams.Add(request.NewErrParamMinLen("DevEndpointNames", 1))
16933	}
16934
16935	if invalidParams.Len() > 0 {
16936		return invalidParams
16937	}
16938	return nil
16939}
16940
16941// SetDevEndpointNames sets the DevEndpointNames field's value.
16942func (s *BatchGetDevEndpointsInput) SetDevEndpointNames(v []*string) *BatchGetDevEndpointsInput {
16943	s.DevEndpointNames = v
16944	return s
16945}
16946
16947type BatchGetDevEndpointsOutput struct {
16948	_ struct{} `type:"structure"`
16949
16950	// A list of DevEndpoint definitions.
16951	DevEndpoints []*DevEndpoint `type:"list"`
16952
16953	// A list of DevEndpoints not found.
16954	DevEndpointsNotFound []*string `min:"1" type:"list"`
16955}
16956
16957// String returns the string representation
16958func (s BatchGetDevEndpointsOutput) String() string {
16959	return awsutil.Prettify(s)
16960}
16961
16962// GoString returns the string representation
16963func (s BatchGetDevEndpointsOutput) GoString() string {
16964	return s.String()
16965}
16966
16967// SetDevEndpoints sets the DevEndpoints field's value.
16968func (s *BatchGetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *BatchGetDevEndpointsOutput {
16969	s.DevEndpoints = v
16970	return s
16971}
16972
16973// SetDevEndpointsNotFound sets the DevEndpointsNotFound field's value.
16974func (s *BatchGetDevEndpointsOutput) SetDevEndpointsNotFound(v []*string) *BatchGetDevEndpointsOutput {
16975	s.DevEndpointsNotFound = v
16976	return s
16977}
16978
16979type BatchGetJobsInput struct {
16980	_ struct{} `type:"structure"`
16981
16982	// A list of job names, which might be the names returned from the ListJobs
16983	// operation.
16984	//
16985	// JobNames is a required field
16986	JobNames []*string `type:"list" required:"true"`
16987}
16988
16989// String returns the string representation
16990func (s BatchGetJobsInput) String() string {
16991	return awsutil.Prettify(s)
16992}
16993
16994// GoString returns the string representation
16995func (s BatchGetJobsInput) GoString() string {
16996	return s.String()
16997}
16998
16999// Validate inspects the fields of the type to determine if they are valid.
17000func (s *BatchGetJobsInput) Validate() error {
17001	invalidParams := request.ErrInvalidParams{Context: "BatchGetJobsInput"}
17002	if s.JobNames == nil {
17003		invalidParams.Add(request.NewErrParamRequired("JobNames"))
17004	}
17005
17006	if invalidParams.Len() > 0 {
17007		return invalidParams
17008	}
17009	return nil
17010}
17011
17012// SetJobNames sets the JobNames field's value.
17013func (s *BatchGetJobsInput) SetJobNames(v []*string) *BatchGetJobsInput {
17014	s.JobNames = v
17015	return s
17016}
17017
17018type BatchGetJobsOutput struct {
17019	_ struct{} `type:"structure"`
17020
17021	// A list of job definitions.
17022	Jobs []*Job `type:"list"`
17023
17024	// A list of names of jobs not found.
17025	JobsNotFound []*string `type:"list"`
17026}
17027
17028// String returns the string representation
17029func (s BatchGetJobsOutput) String() string {
17030	return awsutil.Prettify(s)
17031}
17032
17033// GoString returns the string representation
17034func (s BatchGetJobsOutput) GoString() string {
17035	return s.String()
17036}
17037
17038// SetJobs sets the Jobs field's value.
17039func (s *BatchGetJobsOutput) SetJobs(v []*Job) *BatchGetJobsOutput {
17040	s.Jobs = v
17041	return s
17042}
17043
17044// SetJobsNotFound sets the JobsNotFound field's value.
17045func (s *BatchGetJobsOutput) SetJobsNotFound(v []*string) *BatchGetJobsOutput {
17046	s.JobsNotFound = v
17047	return s
17048}
17049
17050type BatchGetPartitionInput struct {
17051	_ struct{} `type:"structure"`
17052
17053	// The ID of the Data Catalog where the partitions in question reside. If none
17054	// is supplied, the AWS account ID is used by default.
17055	CatalogId *string `min:"1" type:"string"`
17056
17057	// The name of the catalog database where the partitions reside.
17058	//
17059	// DatabaseName is a required field
17060	DatabaseName *string `min:"1" type:"string" required:"true"`
17061
17062	// A list of partition values identifying the partitions to retrieve.
17063	//
17064	// PartitionsToGet is a required field
17065	PartitionsToGet []*PartitionValueList `type:"list" required:"true"`
17066
17067	// The name of the partitions' table.
17068	//
17069	// TableName is a required field
17070	TableName *string `min:"1" type:"string" required:"true"`
17071}
17072
17073// String returns the string representation
17074func (s BatchGetPartitionInput) String() string {
17075	return awsutil.Prettify(s)
17076}
17077
17078// GoString returns the string representation
17079func (s BatchGetPartitionInput) GoString() string {
17080	return s.String()
17081}
17082
17083// Validate inspects the fields of the type to determine if they are valid.
17084func (s *BatchGetPartitionInput) Validate() error {
17085	invalidParams := request.ErrInvalidParams{Context: "BatchGetPartitionInput"}
17086	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17087		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17088	}
17089	if s.DatabaseName == nil {
17090		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17091	}
17092	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17093		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17094	}
17095	if s.PartitionsToGet == nil {
17096		invalidParams.Add(request.NewErrParamRequired("PartitionsToGet"))
17097	}
17098	if s.TableName == nil {
17099		invalidParams.Add(request.NewErrParamRequired("TableName"))
17100	}
17101	if s.TableName != nil && len(*s.TableName) < 1 {
17102		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
17103	}
17104	if s.PartitionsToGet != nil {
17105		for i, v := range s.PartitionsToGet {
17106			if v == nil {
17107				continue
17108			}
17109			if err := v.Validate(); err != nil {
17110				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToGet", i), err.(request.ErrInvalidParams))
17111			}
17112		}
17113	}
17114
17115	if invalidParams.Len() > 0 {
17116		return invalidParams
17117	}
17118	return nil
17119}
17120
17121// SetCatalogId sets the CatalogId field's value.
17122func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput {
17123	s.CatalogId = &v
17124	return s
17125}
17126
17127// SetDatabaseName sets the DatabaseName field's value.
17128func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput {
17129	s.DatabaseName = &v
17130	return s
17131}
17132
17133// SetPartitionsToGet sets the PartitionsToGet field's value.
17134func (s *BatchGetPartitionInput) SetPartitionsToGet(v []*PartitionValueList) *BatchGetPartitionInput {
17135	s.PartitionsToGet = v
17136	return s
17137}
17138
17139// SetTableName sets the TableName field's value.
17140func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput {
17141	s.TableName = &v
17142	return s
17143}
17144
17145type BatchGetPartitionOutput struct {
17146	_ struct{} `type:"structure"`
17147
17148	// A list of the requested partitions.
17149	Partitions []*Partition `type:"list"`
17150
17151	// A list of the partition values in the request for which partitions were not
17152	// returned.
17153	UnprocessedKeys []*PartitionValueList `type:"list"`
17154}
17155
17156// String returns the string representation
17157func (s BatchGetPartitionOutput) String() string {
17158	return awsutil.Prettify(s)
17159}
17160
17161// GoString returns the string representation
17162func (s BatchGetPartitionOutput) GoString() string {
17163	return s.String()
17164}
17165
17166// SetPartitions sets the Partitions field's value.
17167func (s *BatchGetPartitionOutput) SetPartitions(v []*Partition) *BatchGetPartitionOutput {
17168	s.Partitions = v
17169	return s
17170}
17171
17172// SetUnprocessedKeys sets the UnprocessedKeys field's value.
17173func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *BatchGetPartitionOutput {
17174	s.UnprocessedKeys = v
17175	return s
17176}
17177
17178type BatchGetTriggersInput struct {
17179	_ struct{} `type:"structure"`
17180
17181	// A list of trigger names, which may be the names returned from the ListTriggers
17182	// operation.
17183	//
17184	// TriggerNames is a required field
17185	TriggerNames []*string `type:"list" required:"true"`
17186}
17187
17188// String returns the string representation
17189func (s BatchGetTriggersInput) String() string {
17190	return awsutil.Prettify(s)
17191}
17192
17193// GoString returns the string representation
17194func (s BatchGetTriggersInput) GoString() string {
17195	return s.String()
17196}
17197
17198// Validate inspects the fields of the type to determine if they are valid.
17199func (s *BatchGetTriggersInput) Validate() error {
17200	invalidParams := request.ErrInvalidParams{Context: "BatchGetTriggersInput"}
17201	if s.TriggerNames == nil {
17202		invalidParams.Add(request.NewErrParamRequired("TriggerNames"))
17203	}
17204
17205	if invalidParams.Len() > 0 {
17206		return invalidParams
17207	}
17208	return nil
17209}
17210
17211// SetTriggerNames sets the TriggerNames field's value.
17212func (s *BatchGetTriggersInput) SetTriggerNames(v []*string) *BatchGetTriggersInput {
17213	s.TriggerNames = v
17214	return s
17215}
17216
17217type BatchGetTriggersOutput struct {
17218	_ struct{} `type:"structure"`
17219
17220	// A list of trigger definitions.
17221	Triggers []*Trigger `type:"list"`
17222
17223	// A list of names of triggers not found.
17224	TriggersNotFound []*string `type:"list"`
17225}
17226
17227// String returns the string representation
17228func (s BatchGetTriggersOutput) String() string {
17229	return awsutil.Prettify(s)
17230}
17231
17232// GoString returns the string representation
17233func (s BatchGetTriggersOutput) GoString() string {
17234	return s.String()
17235}
17236
17237// SetTriggers sets the Triggers field's value.
17238func (s *BatchGetTriggersOutput) SetTriggers(v []*Trigger) *BatchGetTriggersOutput {
17239	s.Triggers = v
17240	return s
17241}
17242
17243// SetTriggersNotFound sets the TriggersNotFound field's value.
17244func (s *BatchGetTriggersOutput) SetTriggersNotFound(v []*string) *BatchGetTriggersOutput {
17245	s.TriggersNotFound = v
17246	return s
17247}
17248
17249type BatchGetWorkflowsInput struct {
17250	_ struct{} `type:"structure"`
17251
17252	// Specifies whether to include a graph when returning the workflow resource
17253	// metadata.
17254	IncludeGraph *bool `type:"boolean"`
17255
17256	// A list of workflow names, which may be the names returned from the ListWorkflows
17257	// operation.
17258	//
17259	// Names is a required field
17260	Names []*string `min:"1" type:"list" required:"true"`
17261}
17262
17263// String returns the string representation
17264func (s BatchGetWorkflowsInput) String() string {
17265	return awsutil.Prettify(s)
17266}
17267
17268// GoString returns the string representation
17269func (s BatchGetWorkflowsInput) GoString() string {
17270	return s.String()
17271}
17272
17273// Validate inspects the fields of the type to determine if they are valid.
17274func (s *BatchGetWorkflowsInput) Validate() error {
17275	invalidParams := request.ErrInvalidParams{Context: "BatchGetWorkflowsInput"}
17276	if s.Names == nil {
17277		invalidParams.Add(request.NewErrParamRequired("Names"))
17278	}
17279	if s.Names != nil && len(s.Names) < 1 {
17280		invalidParams.Add(request.NewErrParamMinLen("Names", 1))
17281	}
17282
17283	if invalidParams.Len() > 0 {
17284		return invalidParams
17285	}
17286	return nil
17287}
17288
17289// SetIncludeGraph sets the IncludeGraph field's value.
17290func (s *BatchGetWorkflowsInput) SetIncludeGraph(v bool) *BatchGetWorkflowsInput {
17291	s.IncludeGraph = &v
17292	return s
17293}
17294
17295// SetNames sets the Names field's value.
17296func (s *BatchGetWorkflowsInput) SetNames(v []*string) *BatchGetWorkflowsInput {
17297	s.Names = v
17298	return s
17299}
17300
17301type BatchGetWorkflowsOutput struct {
17302	_ struct{} `type:"structure"`
17303
17304	// A list of names of workflows not found.
17305	MissingWorkflows []*string `min:"1" type:"list"`
17306
17307	// A list of workflow resource metadata.
17308	Workflows []*Workflow `min:"1" type:"list"`
17309}
17310
17311// String returns the string representation
17312func (s BatchGetWorkflowsOutput) String() string {
17313	return awsutil.Prettify(s)
17314}
17315
17316// GoString returns the string representation
17317func (s BatchGetWorkflowsOutput) GoString() string {
17318	return s.String()
17319}
17320
17321// SetMissingWorkflows sets the MissingWorkflows field's value.
17322func (s *BatchGetWorkflowsOutput) SetMissingWorkflows(v []*string) *BatchGetWorkflowsOutput {
17323	s.MissingWorkflows = v
17324	return s
17325}
17326
17327// SetWorkflows sets the Workflows field's value.
17328func (s *BatchGetWorkflowsOutput) SetWorkflows(v []*Workflow) *BatchGetWorkflowsOutput {
17329	s.Workflows = v
17330	return s
17331}
17332
17333// Records an error that occurred when attempting to stop a specified job run.
17334type BatchStopJobRunError struct {
17335	_ struct{} `type:"structure"`
17336
17337	// Specifies details about the error that was encountered.
17338	ErrorDetail *ErrorDetail `type:"structure"`
17339
17340	// The name of the job definition that is used in the job run in question.
17341	JobName *string `min:"1" type:"string"`
17342
17343	// The JobRunId of the job run in question.
17344	JobRunId *string `min:"1" type:"string"`
17345}
17346
17347// String returns the string representation
17348func (s BatchStopJobRunError) String() string {
17349	return awsutil.Prettify(s)
17350}
17351
17352// GoString returns the string representation
17353func (s BatchStopJobRunError) GoString() string {
17354	return s.String()
17355}
17356
17357// SetErrorDetail sets the ErrorDetail field's value.
17358func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError {
17359	s.ErrorDetail = v
17360	return s
17361}
17362
17363// SetJobName sets the JobName field's value.
17364func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError {
17365	s.JobName = &v
17366	return s
17367}
17368
17369// SetJobRunId sets the JobRunId field's value.
17370func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError {
17371	s.JobRunId = &v
17372	return s
17373}
17374
17375type BatchStopJobRunInput struct {
17376	_ struct{} `type:"structure"`
17377
17378	// The name of the job definition for which to stop job runs.
17379	//
17380	// JobName is a required field
17381	JobName *string `min:"1" type:"string" required:"true"`
17382
17383	// A list of the JobRunIds that should be stopped for that job definition.
17384	//
17385	// JobRunIds is a required field
17386	JobRunIds []*string `min:"1" type:"list" required:"true"`
17387}
17388
17389// String returns the string representation
17390func (s BatchStopJobRunInput) String() string {
17391	return awsutil.Prettify(s)
17392}
17393
17394// GoString returns the string representation
17395func (s BatchStopJobRunInput) GoString() string {
17396	return s.String()
17397}
17398
17399// Validate inspects the fields of the type to determine if they are valid.
17400func (s *BatchStopJobRunInput) Validate() error {
17401	invalidParams := request.ErrInvalidParams{Context: "BatchStopJobRunInput"}
17402	if s.JobName == nil {
17403		invalidParams.Add(request.NewErrParamRequired("JobName"))
17404	}
17405	if s.JobName != nil && len(*s.JobName) < 1 {
17406		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
17407	}
17408	if s.JobRunIds == nil {
17409		invalidParams.Add(request.NewErrParamRequired("JobRunIds"))
17410	}
17411	if s.JobRunIds != nil && len(s.JobRunIds) < 1 {
17412		invalidParams.Add(request.NewErrParamMinLen("JobRunIds", 1))
17413	}
17414
17415	if invalidParams.Len() > 0 {
17416		return invalidParams
17417	}
17418	return nil
17419}
17420
17421// SetJobName sets the JobName field's value.
17422func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput {
17423	s.JobName = &v
17424	return s
17425}
17426
17427// SetJobRunIds sets the JobRunIds field's value.
17428func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput {
17429	s.JobRunIds = v
17430	return s
17431}
17432
17433type BatchStopJobRunOutput struct {
17434	_ struct{} `type:"structure"`
17435
17436	// A list of the errors that were encountered in trying to stop JobRuns, including
17437	// the JobRunId for which each error was encountered and details about the error.
17438	Errors []*BatchStopJobRunError `type:"list"`
17439
17440	// A list of the JobRuns that were successfully submitted for stopping.
17441	SuccessfulSubmissions []*BatchStopJobRunSuccessfulSubmission `type:"list"`
17442}
17443
17444// String returns the string representation
17445func (s BatchStopJobRunOutput) String() string {
17446	return awsutil.Prettify(s)
17447}
17448
17449// GoString returns the string representation
17450func (s BatchStopJobRunOutput) GoString() string {
17451	return s.String()
17452}
17453
17454// SetErrors sets the Errors field's value.
17455func (s *BatchStopJobRunOutput) SetErrors(v []*BatchStopJobRunError) *BatchStopJobRunOutput {
17456	s.Errors = v
17457	return s
17458}
17459
17460// SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value.
17461func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput {
17462	s.SuccessfulSubmissions = v
17463	return s
17464}
17465
17466// Records a successful request to stop a specified JobRun.
17467type BatchStopJobRunSuccessfulSubmission struct {
17468	_ struct{} `type:"structure"`
17469
17470	// The name of the job definition used in the job run that was stopped.
17471	JobName *string `min:"1" type:"string"`
17472
17473	// The JobRunId of the job run that was stopped.
17474	JobRunId *string `min:"1" type:"string"`
17475}
17476
17477// String returns the string representation
17478func (s BatchStopJobRunSuccessfulSubmission) String() string {
17479	return awsutil.Prettify(s)
17480}
17481
17482// GoString returns the string representation
17483func (s BatchStopJobRunSuccessfulSubmission) GoString() string {
17484	return s.String()
17485}
17486
17487// SetJobName sets the JobName field's value.
17488func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission {
17489	s.JobName = &v
17490	return s
17491}
17492
17493// SetJobRunId sets the JobRunId field's value.
17494func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission {
17495	s.JobRunId = &v
17496	return s
17497}
17498
17499// Contains information about a batch update partition error.
17500type BatchUpdatePartitionFailureEntry struct {
17501	_ struct{} `type:"structure"`
17502
17503	// The details about the batch update partition error.
17504	ErrorDetail *ErrorDetail `type:"structure"`
17505
17506	// A list of values defining the partitions.
17507	PartitionValueList []*string `type:"list"`
17508}
17509
17510// String returns the string representation
17511func (s BatchUpdatePartitionFailureEntry) String() string {
17512	return awsutil.Prettify(s)
17513}
17514
17515// GoString returns the string representation
17516func (s BatchUpdatePartitionFailureEntry) GoString() string {
17517	return s.String()
17518}
17519
17520// SetErrorDetail sets the ErrorDetail field's value.
17521func (s *BatchUpdatePartitionFailureEntry) SetErrorDetail(v *ErrorDetail) *BatchUpdatePartitionFailureEntry {
17522	s.ErrorDetail = v
17523	return s
17524}
17525
17526// SetPartitionValueList sets the PartitionValueList field's value.
17527func (s *BatchUpdatePartitionFailureEntry) SetPartitionValueList(v []*string) *BatchUpdatePartitionFailureEntry {
17528	s.PartitionValueList = v
17529	return s
17530}
17531
17532type BatchUpdatePartitionInput struct {
17533	_ struct{} `type:"structure"`
17534
17535	// The ID of the catalog in which the partition is to be updated. Currently,
17536	// this should be the AWS account ID.
17537	CatalogId *string `min:"1" type:"string"`
17538
17539	// The name of the metadata database in which the partition is to be updated.
17540	//
17541	// DatabaseName is a required field
17542	DatabaseName *string `min:"1" type:"string" required:"true"`
17543
17544	// A list of up to 100 BatchUpdatePartitionRequestEntry objects to update.
17545	//
17546	// Entries is a required field
17547	Entries []*BatchUpdatePartitionRequestEntry `min:"1" type:"list" required:"true"`
17548
17549	// The name of the metadata table in which the partition is to be updated.
17550	//
17551	// TableName is a required field
17552	TableName *string `min:"1" type:"string" required:"true"`
17553}
17554
17555// String returns the string representation
17556func (s BatchUpdatePartitionInput) String() string {
17557	return awsutil.Prettify(s)
17558}
17559
17560// GoString returns the string representation
17561func (s BatchUpdatePartitionInput) GoString() string {
17562	return s.String()
17563}
17564
17565// Validate inspects the fields of the type to determine if they are valid.
17566func (s *BatchUpdatePartitionInput) Validate() error {
17567	invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePartitionInput"}
17568	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17569		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17570	}
17571	if s.DatabaseName == nil {
17572		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17573	}
17574	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17575		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17576	}
17577	if s.Entries == nil {
17578		invalidParams.Add(request.NewErrParamRequired("Entries"))
17579	}
17580	if s.Entries != nil && len(s.Entries) < 1 {
17581		invalidParams.Add(request.NewErrParamMinLen("Entries", 1))
17582	}
17583	if s.TableName == nil {
17584		invalidParams.Add(request.NewErrParamRequired("TableName"))
17585	}
17586	if s.TableName != nil && len(*s.TableName) < 1 {
17587		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
17588	}
17589	if s.Entries != nil {
17590		for i, v := range s.Entries {
17591			if v == nil {
17592				continue
17593			}
17594			if err := v.Validate(); err != nil {
17595				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Entries", i), err.(request.ErrInvalidParams))
17596			}
17597		}
17598	}
17599
17600	if invalidParams.Len() > 0 {
17601		return invalidParams
17602	}
17603	return nil
17604}
17605
17606// SetCatalogId sets the CatalogId field's value.
17607func (s *BatchUpdatePartitionInput) SetCatalogId(v string) *BatchUpdatePartitionInput {
17608	s.CatalogId = &v
17609	return s
17610}
17611
17612// SetDatabaseName sets the DatabaseName field's value.
17613func (s *BatchUpdatePartitionInput) SetDatabaseName(v string) *BatchUpdatePartitionInput {
17614	s.DatabaseName = &v
17615	return s
17616}
17617
17618// SetEntries sets the Entries field's value.
17619func (s *BatchUpdatePartitionInput) SetEntries(v []*BatchUpdatePartitionRequestEntry) *BatchUpdatePartitionInput {
17620	s.Entries = v
17621	return s
17622}
17623
17624// SetTableName sets the TableName field's value.
17625func (s *BatchUpdatePartitionInput) SetTableName(v string) *BatchUpdatePartitionInput {
17626	s.TableName = &v
17627	return s
17628}
17629
17630type BatchUpdatePartitionOutput struct {
17631	_ struct{} `type:"structure"`
17632
17633	// The errors encountered when trying to update the requested partitions. A
17634	// list of BatchUpdatePartitionFailureEntry objects.
17635	Errors []*BatchUpdatePartitionFailureEntry `type:"list"`
17636}
17637
17638// String returns the string representation
17639func (s BatchUpdatePartitionOutput) String() string {
17640	return awsutil.Prettify(s)
17641}
17642
17643// GoString returns the string representation
17644func (s BatchUpdatePartitionOutput) GoString() string {
17645	return s.String()
17646}
17647
17648// SetErrors sets the Errors field's value.
17649func (s *BatchUpdatePartitionOutput) SetErrors(v []*BatchUpdatePartitionFailureEntry) *BatchUpdatePartitionOutput {
17650	s.Errors = v
17651	return s
17652}
17653
17654// A structure that contains the values and structure used to update a partition.
17655type BatchUpdatePartitionRequestEntry struct {
17656	_ struct{} `type:"structure"`
17657
17658	// The structure used to update a partition.
17659	//
17660	// PartitionInput is a required field
17661	PartitionInput *PartitionInput `type:"structure" required:"true"`
17662
17663	// A list of values defining the partitions.
17664	//
17665	// PartitionValueList is a required field
17666	PartitionValueList []*string `type:"list" required:"true"`
17667}
17668
17669// String returns the string representation
17670func (s BatchUpdatePartitionRequestEntry) String() string {
17671	return awsutil.Prettify(s)
17672}
17673
17674// GoString returns the string representation
17675func (s BatchUpdatePartitionRequestEntry) GoString() string {
17676	return s.String()
17677}
17678
17679// Validate inspects the fields of the type to determine if they are valid.
17680func (s *BatchUpdatePartitionRequestEntry) Validate() error {
17681	invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePartitionRequestEntry"}
17682	if s.PartitionInput == nil {
17683		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
17684	}
17685	if s.PartitionValueList == nil {
17686		invalidParams.Add(request.NewErrParamRequired("PartitionValueList"))
17687	}
17688	if s.PartitionInput != nil {
17689		if err := s.PartitionInput.Validate(); err != nil {
17690			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
17691		}
17692	}
17693
17694	if invalidParams.Len() > 0 {
17695		return invalidParams
17696	}
17697	return nil
17698}
17699
17700// SetPartitionInput sets the PartitionInput field's value.
17701func (s *BatchUpdatePartitionRequestEntry) SetPartitionInput(v *PartitionInput) *BatchUpdatePartitionRequestEntry {
17702	s.PartitionInput = v
17703	return s
17704}
17705
17706// SetPartitionValueList sets the PartitionValueList field's value.
17707func (s *BatchUpdatePartitionRequestEntry) SetPartitionValueList(v []*string) *BatchUpdatePartitionRequestEntry {
17708	s.PartitionValueList = v
17709	return s
17710}
17711
17712// Defines column statistics supported for bit sequence data values.
17713type BinaryColumnStatisticsData struct {
17714	_ struct{} `type:"structure"`
17715
17716	// The average bit sequence length in the column.
17717	//
17718	// AverageLength is a required field
17719	AverageLength *float64 `type:"double" required:"true"`
17720
17721	// The size of the longest bit sequence in the column.
17722	//
17723	// MaximumLength is a required field
17724	MaximumLength *int64 `type:"long" required:"true"`
17725
17726	// The number of null values in the column.
17727	//
17728	// NumberOfNulls is a required field
17729	NumberOfNulls *int64 `type:"long" required:"true"`
17730}
17731
17732// String returns the string representation
17733func (s BinaryColumnStatisticsData) String() string {
17734	return awsutil.Prettify(s)
17735}
17736
17737// GoString returns the string representation
17738func (s BinaryColumnStatisticsData) GoString() string {
17739	return s.String()
17740}
17741
17742// Validate inspects the fields of the type to determine if they are valid.
17743func (s *BinaryColumnStatisticsData) Validate() error {
17744	invalidParams := request.ErrInvalidParams{Context: "BinaryColumnStatisticsData"}
17745	if s.AverageLength == nil {
17746		invalidParams.Add(request.NewErrParamRequired("AverageLength"))
17747	}
17748	if s.MaximumLength == nil {
17749		invalidParams.Add(request.NewErrParamRequired("MaximumLength"))
17750	}
17751	if s.NumberOfNulls == nil {
17752		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
17753	}
17754
17755	if invalidParams.Len() > 0 {
17756		return invalidParams
17757	}
17758	return nil
17759}
17760
17761// SetAverageLength sets the AverageLength field's value.
17762func (s *BinaryColumnStatisticsData) SetAverageLength(v float64) *BinaryColumnStatisticsData {
17763	s.AverageLength = &v
17764	return s
17765}
17766
17767// SetMaximumLength sets the MaximumLength field's value.
17768func (s *BinaryColumnStatisticsData) SetMaximumLength(v int64) *BinaryColumnStatisticsData {
17769	s.MaximumLength = &v
17770	return s
17771}
17772
17773// SetNumberOfNulls sets the NumberOfNulls field's value.
17774func (s *BinaryColumnStatisticsData) SetNumberOfNulls(v int64) *BinaryColumnStatisticsData {
17775	s.NumberOfNulls = &v
17776	return s
17777}
17778
17779// Defines column statistics supported for Boolean data columns.
17780type BooleanColumnStatisticsData struct {
17781	_ struct{} `type:"structure"`
17782
17783	// The number of false values in the column.
17784	//
17785	// NumberOfFalses is a required field
17786	NumberOfFalses *int64 `type:"long" required:"true"`
17787
17788	// The number of null values in the column.
17789	//
17790	// NumberOfNulls is a required field
17791	NumberOfNulls *int64 `type:"long" required:"true"`
17792
17793	// The number of true values in the column.
17794	//
17795	// NumberOfTrues is a required field
17796	NumberOfTrues *int64 `type:"long" required:"true"`
17797}
17798
17799// String returns the string representation
17800func (s BooleanColumnStatisticsData) String() string {
17801	return awsutil.Prettify(s)
17802}
17803
17804// GoString returns the string representation
17805func (s BooleanColumnStatisticsData) GoString() string {
17806	return s.String()
17807}
17808
17809// Validate inspects the fields of the type to determine if they are valid.
17810func (s *BooleanColumnStatisticsData) Validate() error {
17811	invalidParams := request.ErrInvalidParams{Context: "BooleanColumnStatisticsData"}
17812	if s.NumberOfFalses == nil {
17813		invalidParams.Add(request.NewErrParamRequired("NumberOfFalses"))
17814	}
17815	if s.NumberOfNulls == nil {
17816		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
17817	}
17818	if s.NumberOfTrues == nil {
17819		invalidParams.Add(request.NewErrParamRequired("NumberOfTrues"))
17820	}
17821
17822	if invalidParams.Len() > 0 {
17823		return invalidParams
17824	}
17825	return nil
17826}
17827
17828// SetNumberOfFalses sets the NumberOfFalses field's value.
17829func (s *BooleanColumnStatisticsData) SetNumberOfFalses(v int64) *BooleanColumnStatisticsData {
17830	s.NumberOfFalses = &v
17831	return s
17832}
17833
17834// SetNumberOfNulls sets the NumberOfNulls field's value.
17835func (s *BooleanColumnStatisticsData) SetNumberOfNulls(v int64) *BooleanColumnStatisticsData {
17836	s.NumberOfNulls = &v
17837	return s
17838}
17839
17840// SetNumberOfTrues sets the NumberOfTrues field's value.
17841func (s *BooleanColumnStatisticsData) SetNumberOfTrues(v int64) *BooleanColumnStatisticsData {
17842	s.NumberOfTrues = &v
17843	return s
17844}
17845
17846type CancelMLTaskRunInput struct {
17847	_ struct{} `type:"structure"`
17848
17849	// A unique identifier for the task run.
17850	//
17851	// TaskRunId is a required field
17852	TaskRunId *string `min:"1" type:"string" required:"true"`
17853
17854	// The unique identifier of the machine learning transform.
17855	//
17856	// TransformId is a required field
17857	TransformId *string `min:"1" type:"string" required:"true"`
17858}
17859
17860// String returns the string representation
17861func (s CancelMLTaskRunInput) String() string {
17862	return awsutil.Prettify(s)
17863}
17864
17865// GoString returns the string representation
17866func (s CancelMLTaskRunInput) GoString() string {
17867	return s.String()
17868}
17869
17870// Validate inspects the fields of the type to determine if they are valid.
17871func (s *CancelMLTaskRunInput) Validate() error {
17872	invalidParams := request.ErrInvalidParams{Context: "CancelMLTaskRunInput"}
17873	if s.TaskRunId == nil {
17874		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
17875	}
17876	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
17877		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
17878	}
17879	if s.TransformId == nil {
17880		invalidParams.Add(request.NewErrParamRequired("TransformId"))
17881	}
17882	if s.TransformId != nil && len(*s.TransformId) < 1 {
17883		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
17884	}
17885
17886	if invalidParams.Len() > 0 {
17887		return invalidParams
17888	}
17889	return nil
17890}
17891
17892// SetTaskRunId sets the TaskRunId field's value.
17893func (s *CancelMLTaskRunInput) SetTaskRunId(v string) *CancelMLTaskRunInput {
17894	s.TaskRunId = &v
17895	return s
17896}
17897
17898// SetTransformId sets the TransformId field's value.
17899func (s *CancelMLTaskRunInput) SetTransformId(v string) *CancelMLTaskRunInput {
17900	s.TransformId = &v
17901	return s
17902}
17903
17904type CancelMLTaskRunOutput struct {
17905	_ struct{} `type:"structure"`
17906
17907	// The status for this run.
17908	Status *string `type:"string" enum:"TaskStatusType"`
17909
17910	// The unique identifier for the task run.
17911	TaskRunId *string `min:"1" type:"string"`
17912
17913	// The unique identifier of the machine learning transform.
17914	TransformId *string `min:"1" type:"string"`
17915}
17916
17917// String returns the string representation
17918func (s CancelMLTaskRunOutput) String() string {
17919	return awsutil.Prettify(s)
17920}
17921
17922// GoString returns the string representation
17923func (s CancelMLTaskRunOutput) GoString() string {
17924	return s.String()
17925}
17926
17927// SetStatus sets the Status field's value.
17928func (s *CancelMLTaskRunOutput) SetStatus(v string) *CancelMLTaskRunOutput {
17929	s.Status = &v
17930	return s
17931}
17932
17933// SetTaskRunId sets the TaskRunId field's value.
17934func (s *CancelMLTaskRunOutput) SetTaskRunId(v string) *CancelMLTaskRunOutput {
17935	s.TaskRunId = &v
17936	return s
17937}
17938
17939// SetTransformId sets the TransformId field's value.
17940func (s *CancelMLTaskRunOutput) SetTransformId(v string) *CancelMLTaskRunOutput {
17941	s.TransformId = &v
17942	return s
17943}
17944
17945// Specifies a table definition in the AWS Glue Data Catalog.
17946type CatalogEntry struct {
17947	_ struct{} `type:"structure"`
17948
17949	// The database in which the table metadata resides.
17950	//
17951	// DatabaseName is a required field
17952	DatabaseName *string `min:"1" type:"string" required:"true"`
17953
17954	// The name of the table in question.
17955	//
17956	// TableName is a required field
17957	TableName *string `min:"1" type:"string" required:"true"`
17958}
17959
17960// String returns the string representation
17961func (s CatalogEntry) String() string {
17962	return awsutil.Prettify(s)
17963}
17964
17965// GoString returns the string representation
17966func (s CatalogEntry) GoString() string {
17967	return s.String()
17968}
17969
17970// Validate inspects the fields of the type to determine if they are valid.
17971func (s *CatalogEntry) Validate() error {
17972	invalidParams := request.ErrInvalidParams{Context: "CatalogEntry"}
17973	if s.DatabaseName == nil {
17974		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17975	}
17976	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17977		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17978	}
17979	if s.TableName == nil {
17980		invalidParams.Add(request.NewErrParamRequired("TableName"))
17981	}
17982	if s.TableName != nil && len(*s.TableName) < 1 {
17983		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
17984	}
17985
17986	if invalidParams.Len() > 0 {
17987		return invalidParams
17988	}
17989	return nil
17990}
17991
17992// SetDatabaseName sets the DatabaseName field's value.
17993func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry {
17994	s.DatabaseName = &v
17995	return s
17996}
17997
17998// SetTableName sets the TableName field's value.
17999func (s *CatalogEntry) SetTableName(v string) *CatalogEntry {
18000	s.TableName = &v
18001	return s
18002}
18003
18004// A structure containing migration status information.
18005type CatalogImportStatus struct {
18006	_ struct{} `type:"structure"`
18007
18008	// True if the migration has completed, or False otherwise.
18009	ImportCompleted *bool `type:"boolean"`
18010
18011	// The time that the migration was started.
18012	ImportTime *time.Time `type:"timestamp"`
18013
18014	// The name of the person who initiated the migration.
18015	ImportedBy *string `min:"1" type:"string"`
18016}
18017
18018// String returns the string representation
18019func (s CatalogImportStatus) String() string {
18020	return awsutil.Prettify(s)
18021}
18022
18023// GoString returns the string representation
18024func (s CatalogImportStatus) GoString() string {
18025	return s.String()
18026}
18027
18028// SetImportCompleted sets the ImportCompleted field's value.
18029func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus {
18030	s.ImportCompleted = &v
18031	return s
18032}
18033
18034// SetImportTime sets the ImportTime field's value.
18035func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus {
18036	s.ImportTime = &v
18037	return s
18038}
18039
18040// SetImportedBy sets the ImportedBy field's value.
18041func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus {
18042	s.ImportedBy = &v
18043	return s
18044}
18045
18046// Specifies an AWS Glue Data Catalog target.
18047type CatalogTarget struct {
18048	_ struct{} `type:"structure"`
18049
18050	// The name of the database to be synchronized.
18051	//
18052	// DatabaseName is a required field
18053	DatabaseName *string `min:"1" type:"string" required:"true"`
18054
18055	// A list of the tables to be synchronized.
18056	//
18057	// Tables is a required field
18058	Tables []*string `min:"1" type:"list" required:"true"`
18059}
18060
18061// String returns the string representation
18062func (s CatalogTarget) String() string {
18063	return awsutil.Prettify(s)
18064}
18065
18066// GoString returns the string representation
18067func (s CatalogTarget) GoString() string {
18068	return s.String()
18069}
18070
18071// Validate inspects the fields of the type to determine if they are valid.
18072func (s *CatalogTarget) Validate() error {
18073	invalidParams := request.ErrInvalidParams{Context: "CatalogTarget"}
18074	if s.DatabaseName == nil {
18075		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18076	}
18077	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18078		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18079	}
18080	if s.Tables == nil {
18081		invalidParams.Add(request.NewErrParamRequired("Tables"))
18082	}
18083	if s.Tables != nil && len(s.Tables) < 1 {
18084		invalidParams.Add(request.NewErrParamMinLen("Tables", 1))
18085	}
18086
18087	if invalidParams.Len() > 0 {
18088		return invalidParams
18089	}
18090	return nil
18091}
18092
18093// SetDatabaseName sets the DatabaseName field's value.
18094func (s *CatalogTarget) SetDatabaseName(v string) *CatalogTarget {
18095	s.DatabaseName = &v
18096	return s
18097}
18098
18099// SetTables sets the Tables field's value.
18100func (s *CatalogTarget) SetTables(v []*string) *CatalogTarget {
18101	s.Tables = v
18102	return s
18103}
18104
18105type CheckSchemaVersionValidityInput struct {
18106	_ struct{} `type:"structure"`
18107
18108	// The data format of the schema definition. Currently only AVRO is supported.
18109	//
18110	// DataFormat is a required field
18111	DataFormat *string `type:"string" required:"true" enum:"DataFormat"`
18112
18113	// The definition of the schema that has to be validated.
18114	//
18115	// SchemaDefinition is a required field
18116	SchemaDefinition *string `min:"1" type:"string" required:"true"`
18117}
18118
18119// String returns the string representation
18120func (s CheckSchemaVersionValidityInput) String() string {
18121	return awsutil.Prettify(s)
18122}
18123
18124// GoString returns the string representation
18125func (s CheckSchemaVersionValidityInput) GoString() string {
18126	return s.String()
18127}
18128
18129// Validate inspects the fields of the type to determine if they are valid.
18130func (s *CheckSchemaVersionValidityInput) Validate() error {
18131	invalidParams := request.ErrInvalidParams{Context: "CheckSchemaVersionValidityInput"}
18132	if s.DataFormat == nil {
18133		invalidParams.Add(request.NewErrParamRequired("DataFormat"))
18134	}
18135	if s.SchemaDefinition == nil {
18136		invalidParams.Add(request.NewErrParamRequired("SchemaDefinition"))
18137	}
18138	if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 {
18139		invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1))
18140	}
18141
18142	if invalidParams.Len() > 0 {
18143		return invalidParams
18144	}
18145	return nil
18146}
18147
18148// SetDataFormat sets the DataFormat field's value.
18149func (s *CheckSchemaVersionValidityInput) SetDataFormat(v string) *CheckSchemaVersionValidityInput {
18150	s.DataFormat = &v
18151	return s
18152}
18153
18154// SetSchemaDefinition sets the SchemaDefinition field's value.
18155func (s *CheckSchemaVersionValidityInput) SetSchemaDefinition(v string) *CheckSchemaVersionValidityInput {
18156	s.SchemaDefinition = &v
18157	return s
18158}
18159
18160type CheckSchemaVersionValidityOutput struct {
18161	_ struct{} `type:"structure"`
18162
18163	// A validation failure error message.
18164	Error *string `min:"1" type:"string"`
18165
18166	// Return true, if the schema is valid and false otherwise.
18167	Valid *bool `type:"boolean"`
18168}
18169
18170// String returns the string representation
18171func (s CheckSchemaVersionValidityOutput) String() string {
18172	return awsutil.Prettify(s)
18173}
18174
18175// GoString returns the string representation
18176func (s CheckSchemaVersionValidityOutput) GoString() string {
18177	return s.String()
18178}
18179
18180// SetError sets the Error field's value.
18181func (s *CheckSchemaVersionValidityOutput) SetError(v string) *CheckSchemaVersionValidityOutput {
18182	s.Error = &v
18183	return s
18184}
18185
18186// SetValid sets the Valid field's value.
18187func (s *CheckSchemaVersionValidityOutput) SetValid(v bool) *CheckSchemaVersionValidityOutput {
18188	s.Valid = &v
18189	return s
18190}
18191
18192// Classifiers are triggered during a crawl task. A classifier checks whether
18193// a given file is in a format it can handle. If it is, the classifier creates
18194// a schema in the form of a StructType object that matches that data format.
18195//
18196// You can use the standard classifiers that AWS Glue provides, or you can write
18197// your own classifiers to best categorize your data sources and specify the
18198// appropriate schemas to use for them. A classifier can be a grok classifier,
18199// an XML classifier, a JSON classifier, or a custom CSV classifier, as specified
18200// in one of the fields in the Classifier object.
18201type Classifier struct {
18202	_ struct{} `type:"structure"`
18203
18204	// A classifier for comma-separated values (CSV).
18205	CsvClassifier *CsvClassifier `type:"structure"`
18206
18207	// A classifier that uses grok.
18208	GrokClassifier *GrokClassifier `type:"structure"`
18209
18210	// A classifier for JSON content.
18211	JsonClassifier *JsonClassifier `type:"structure"`
18212
18213	// A classifier for XML content.
18214	XMLClassifier *XMLClassifier `type:"structure"`
18215}
18216
18217// String returns the string representation
18218func (s Classifier) String() string {
18219	return awsutil.Prettify(s)
18220}
18221
18222// GoString returns the string representation
18223func (s Classifier) GoString() string {
18224	return s.String()
18225}
18226
18227// SetCsvClassifier sets the CsvClassifier field's value.
18228func (s *Classifier) SetCsvClassifier(v *CsvClassifier) *Classifier {
18229	s.CsvClassifier = v
18230	return s
18231}
18232
18233// SetGrokClassifier sets the GrokClassifier field's value.
18234func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier {
18235	s.GrokClassifier = v
18236	return s
18237}
18238
18239// SetJsonClassifier sets the JsonClassifier field's value.
18240func (s *Classifier) SetJsonClassifier(v *JsonClassifier) *Classifier {
18241	s.JsonClassifier = v
18242	return s
18243}
18244
18245// SetXMLClassifier sets the XMLClassifier field's value.
18246func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier {
18247	s.XMLClassifier = v
18248	return s
18249}
18250
18251// Specifies how Amazon CloudWatch data should be encrypted.
18252type CloudWatchEncryption struct {
18253	_ struct{} `type:"structure"`
18254
18255	// The encryption mode to use for CloudWatch data.
18256	CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"`
18257
18258	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
18259	KmsKeyArn *string `type:"string"`
18260}
18261
18262// String returns the string representation
18263func (s CloudWatchEncryption) String() string {
18264	return awsutil.Prettify(s)
18265}
18266
18267// GoString returns the string representation
18268func (s CloudWatchEncryption) GoString() string {
18269	return s.String()
18270}
18271
18272// SetCloudWatchEncryptionMode sets the CloudWatchEncryptionMode field's value.
18273func (s *CloudWatchEncryption) SetCloudWatchEncryptionMode(v string) *CloudWatchEncryption {
18274	s.CloudWatchEncryptionMode = &v
18275	return s
18276}
18277
18278// SetKmsKeyArn sets the KmsKeyArn field's value.
18279func (s *CloudWatchEncryption) SetKmsKeyArn(v string) *CloudWatchEncryption {
18280	s.KmsKeyArn = &v
18281	return s
18282}
18283
18284// Represents a directional edge in a directed acyclic graph (DAG).
18285type CodeGenEdge struct {
18286	_ struct{} `type:"structure"`
18287
18288	// The ID of the node at which the edge starts.
18289	//
18290	// Source is a required field
18291	Source *string `min:"1" type:"string" required:"true"`
18292
18293	// The ID of the node at which the edge ends.
18294	//
18295	// Target is a required field
18296	Target *string `min:"1" type:"string" required:"true"`
18297
18298	// The target of the edge.
18299	TargetParameter *string `type:"string"`
18300}
18301
18302// String returns the string representation
18303func (s CodeGenEdge) String() string {
18304	return awsutil.Prettify(s)
18305}
18306
18307// GoString returns the string representation
18308func (s CodeGenEdge) GoString() string {
18309	return s.String()
18310}
18311
18312// Validate inspects the fields of the type to determine if they are valid.
18313func (s *CodeGenEdge) Validate() error {
18314	invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"}
18315	if s.Source == nil {
18316		invalidParams.Add(request.NewErrParamRequired("Source"))
18317	}
18318	if s.Source != nil && len(*s.Source) < 1 {
18319		invalidParams.Add(request.NewErrParamMinLen("Source", 1))
18320	}
18321	if s.Target == nil {
18322		invalidParams.Add(request.NewErrParamRequired("Target"))
18323	}
18324	if s.Target != nil && len(*s.Target) < 1 {
18325		invalidParams.Add(request.NewErrParamMinLen("Target", 1))
18326	}
18327
18328	if invalidParams.Len() > 0 {
18329		return invalidParams
18330	}
18331	return nil
18332}
18333
18334// SetSource sets the Source field's value.
18335func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge {
18336	s.Source = &v
18337	return s
18338}
18339
18340// SetTarget sets the Target field's value.
18341func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge {
18342	s.Target = &v
18343	return s
18344}
18345
18346// SetTargetParameter sets the TargetParameter field's value.
18347func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge {
18348	s.TargetParameter = &v
18349	return s
18350}
18351
18352// Represents a node in a directed acyclic graph (DAG)
18353type CodeGenNode struct {
18354	_ struct{} `type:"structure"`
18355
18356	// Properties of the node, in the form of name-value pairs.
18357	//
18358	// Args is a required field
18359	Args []*CodeGenNodeArg `type:"list" required:"true"`
18360
18361	// A node identifier that is unique within the node's graph.
18362	//
18363	// Id is a required field
18364	Id *string `min:"1" type:"string" required:"true"`
18365
18366	// The line number of the node.
18367	LineNumber *int64 `type:"integer"`
18368
18369	// The type of node that this is.
18370	//
18371	// NodeType is a required field
18372	NodeType *string `type:"string" required:"true"`
18373}
18374
18375// String returns the string representation
18376func (s CodeGenNode) String() string {
18377	return awsutil.Prettify(s)
18378}
18379
18380// GoString returns the string representation
18381func (s CodeGenNode) GoString() string {
18382	return s.String()
18383}
18384
18385// Validate inspects the fields of the type to determine if they are valid.
18386func (s *CodeGenNode) Validate() error {
18387	invalidParams := request.ErrInvalidParams{Context: "CodeGenNode"}
18388	if s.Args == nil {
18389		invalidParams.Add(request.NewErrParamRequired("Args"))
18390	}
18391	if s.Id == nil {
18392		invalidParams.Add(request.NewErrParamRequired("Id"))
18393	}
18394	if s.Id != nil && len(*s.Id) < 1 {
18395		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
18396	}
18397	if s.NodeType == nil {
18398		invalidParams.Add(request.NewErrParamRequired("NodeType"))
18399	}
18400	if s.Args != nil {
18401		for i, v := range s.Args {
18402			if v == nil {
18403				continue
18404			}
18405			if err := v.Validate(); err != nil {
18406				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Args", i), err.(request.ErrInvalidParams))
18407			}
18408		}
18409	}
18410
18411	if invalidParams.Len() > 0 {
18412		return invalidParams
18413	}
18414	return nil
18415}
18416
18417// SetArgs sets the Args field's value.
18418func (s *CodeGenNode) SetArgs(v []*CodeGenNodeArg) *CodeGenNode {
18419	s.Args = v
18420	return s
18421}
18422
18423// SetId sets the Id field's value.
18424func (s *CodeGenNode) SetId(v string) *CodeGenNode {
18425	s.Id = &v
18426	return s
18427}
18428
18429// SetLineNumber sets the LineNumber field's value.
18430func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode {
18431	s.LineNumber = &v
18432	return s
18433}
18434
18435// SetNodeType sets the NodeType field's value.
18436func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode {
18437	s.NodeType = &v
18438	return s
18439}
18440
18441// An argument or property of a node.
18442type CodeGenNodeArg struct {
18443	_ struct{} `type:"structure"`
18444
18445	// The name of the argument or property.
18446	//
18447	// Name is a required field
18448	Name *string `type:"string" required:"true"`
18449
18450	// True if the value is used as a parameter.
18451	Param *bool `type:"boolean"`
18452
18453	// The value of the argument or property.
18454	//
18455	// Value is a required field
18456	Value *string `type:"string" required:"true"`
18457}
18458
18459// String returns the string representation
18460func (s CodeGenNodeArg) String() string {
18461	return awsutil.Prettify(s)
18462}
18463
18464// GoString returns the string representation
18465func (s CodeGenNodeArg) GoString() string {
18466	return s.String()
18467}
18468
18469// Validate inspects the fields of the type to determine if they are valid.
18470func (s *CodeGenNodeArg) Validate() error {
18471	invalidParams := request.ErrInvalidParams{Context: "CodeGenNodeArg"}
18472	if s.Name == nil {
18473		invalidParams.Add(request.NewErrParamRequired("Name"))
18474	}
18475	if s.Value == nil {
18476		invalidParams.Add(request.NewErrParamRequired("Value"))
18477	}
18478
18479	if invalidParams.Len() > 0 {
18480		return invalidParams
18481	}
18482	return nil
18483}
18484
18485// SetName sets the Name field's value.
18486func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg {
18487	s.Name = &v
18488	return s
18489}
18490
18491// SetParam sets the Param field's value.
18492func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg {
18493	s.Param = &v
18494	return s
18495}
18496
18497// SetValue sets the Value field's value.
18498func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg {
18499	s.Value = &v
18500	return s
18501}
18502
18503// A column in a Table.
18504type Column struct {
18505	_ struct{} `type:"structure"`
18506
18507	// A free-form text comment.
18508	Comment *string `type:"string"`
18509
18510	// The name of the Column.
18511	//
18512	// Name is a required field
18513	Name *string `min:"1" type:"string" required:"true"`
18514
18515	// These key-value pairs define properties associated with the column.
18516	Parameters map[string]*string `type:"map"`
18517
18518	// The data type of the Column.
18519	Type *string `type:"string"`
18520}
18521
18522// String returns the string representation
18523func (s Column) String() string {
18524	return awsutil.Prettify(s)
18525}
18526
18527// GoString returns the string representation
18528func (s Column) GoString() string {
18529	return s.String()
18530}
18531
18532// Validate inspects the fields of the type to determine if they are valid.
18533func (s *Column) Validate() error {
18534	invalidParams := request.ErrInvalidParams{Context: "Column"}
18535	if s.Name == nil {
18536		invalidParams.Add(request.NewErrParamRequired("Name"))
18537	}
18538	if s.Name != nil && len(*s.Name) < 1 {
18539		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18540	}
18541
18542	if invalidParams.Len() > 0 {
18543		return invalidParams
18544	}
18545	return nil
18546}
18547
18548// SetComment sets the Comment field's value.
18549func (s *Column) SetComment(v string) *Column {
18550	s.Comment = &v
18551	return s
18552}
18553
18554// SetName sets the Name field's value.
18555func (s *Column) SetName(v string) *Column {
18556	s.Name = &v
18557	return s
18558}
18559
18560// SetParameters sets the Parameters field's value.
18561func (s *Column) SetParameters(v map[string]*string) *Column {
18562	s.Parameters = v
18563	return s
18564}
18565
18566// SetType sets the Type field's value.
18567func (s *Column) SetType(v string) *Column {
18568	s.Type = &v
18569	return s
18570}
18571
18572// Encapsulates a column name that failed and the reason for failure.
18573type ColumnError struct {
18574	_ struct{} `type:"structure"`
18575
18576	// The name of the column that failed.
18577	ColumnName *string `min:"1" type:"string"`
18578
18579	// An error message with the reason for the failure of an operation.
18580	Error *ErrorDetail `type:"structure"`
18581}
18582
18583// String returns the string representation
18584func (s ColumnError) String() string {
18585	return awsutil.Prettify(s)
18586}
18587
18588// GoString returns the string representation
18589func (s ColumnError) GoString() string {
18590	return s.String()
18591}
18592
18593// SetColumnName sets the ColumnName field's value.
18594func (s *ColumnError) SetColumnName(v string) *ColumnError {
18595	s.ColumnName = &v
18596	return s
18597}
18598
18599// SetError sets the Error field's value.
18600func (s *ColumnError) SetError(v *ErrorDetail) *ColumnError {
18601	s.Error = v
18602	return s
18603}
18604
18605// A structure containing the column name and column importance score for a
18606// column.
18607//
18608// Column importance helps you understand how columns contribute to your model,
18609// by identifying which columns in your records are more important than others.
18610type ColumnImportance struct {
18611	_ struct{} `type:"structure"`
18612
18613	// The name of a column.
18614	ColumnName *string `min:"1" type:"string"`
18615
18616	// The column importance score for the column, as a decimal.
18617	Importance *float64 `type:"double"`
18618}
18619
18620// String returns the string representation
18621func (s ColumnImportance) String() string {
18622	return awsutil.Prettify(s)
18623}
18624
18625// GoString returns the string representation
18626func (s ColumnImportance) GoString() string {
18627	return s.String()
18628}
18629
18630// SetColumnName sets the ColumnName field's value.
18631func (s *ColumnImportance) SetColumnName(v string) *ColumnImportance {
18632	s.ColumnName = &v
18633	return s
18634}
18635
18636// SetImportance sets the Importance field's value.
18637func (s *ColumnImportance) SetImportance(v float64) *ColumnImportance {
18638	s.Importance = &v
18639	return s
18640}
18641
18642// Represents the generated column-level statistics for a table or partition.
18643type ColumnStatistics struct {
18644	_ struct{} `type:"structure"`
18645
18646	// The timestamp of when column statistics were generated.
18647	//
18648	// AnalyzedTime is a required field
18649	AnalyzedTime *time.Time `type:"timestamp" required:"true"`
18650
18651	// Name of column which statistics belong to.
18652	//
18653	// ColumnName is a required field
18654	ColumnName *string `min:"1" type:"string" required:"true"`
18655
18656	// The data type of the column.
18657	//
18658	// ColumnType is a required field
18659	ColumnType *string `type:"string" required:"true"`
18660
18661	// A ColumnStatisticData object that contains the statistics data values.
18662	//
18663	// StatisticsData is a required field
18664	StatisticsData *ColumnStatisticsData `type:"structure" required:"true"`
18665}
18666
18667// String returns the string representation
18668func (s ColumnStatistics) String() string {
18669	return awsutil.Prettify(s)
18670}
18671
18672// GoString returns the string representation
18673func (s ColumnStatistics) GoString() string {
18674	return s.String()
18675}
18676
18677// Validate inspects the fields of the type to determine if they are valid.
18678func (s *ColumnStatistics) Validate() error {
18679	invalidParams := request.ErrInvalidParams{Context: "ColumnStatistics"}
18680	if s.AnalyzedTime == nil {
18681		invalidParams.Add(request.NewErrParamRequired("AnalyzedTime"))
18682	}
18683	if s.ColumnName == nil {
18684		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
18685	}
18686	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
18687		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
18688	}
18689	if s.ColumnType == nil {
18690		invalidParams.Add(request.NewErrParamRequired("ColumnType"))
18691	}
18692	if s.StatisticsData == nil {
18693		invalidParams.Add(request.NewErrParamRequired("StatisticsData"))
18694	}
18695	if s.StatisticsData != nil {
18696		if err := s.StatisticsData.Validate(); err != nil {
18697			invalidParams.AddNested("StatisticsData", err.(request.ErrInvalidParams))
18698		}
18699	}
18700
18701	if invalidParams.Len() > 0 {
18702		return invalidParams
18703	}
18704	return nil
18705}
18706
18707// SetAnalyzedTime sets the AnalyzedTime field's value.
18708func (s *ColumnStatistics) SetAnalyzedTime(v time.Time) *ColumnStatistics {
18709	s.AnalyzedTime = &v
18710	return s
18711}
18712
18713// SetColumnName sets the ColumnName field's value.
18714func (s *ColumnStatistics) SetColumnName(v string) *ColumnStatistics {
18715	s.ColumnName = &v
18716	return s
18717}
18718
18719// SetColumnType sets the ColumnType field's value.
18720func (s *ColumnStatistics) SetColumnType(v string) *ColumnStatistics {
18721	s.ColumnType = &v
18722	return s
18723}
18724
18725// SetStatisticsData sets the StatisticsData field's value.
18726func (s *ColumnStatistics) SetStatisticsData(v *ColumnStatisticsData) *ColumnStatistics {
18727	s.StatisticsData = v
18728	return s
18729}
18730
18731// Contains the individual types of column statistics data. Only one data object
18732// should be set and indicated by the Type attribute.
18733type ColumnStatisticsData struct {
18734	_ struct{} `type:"structure"`
18735
18736	// Binary column statistics data.
18737	BinaryColumnStatisticsData *BinaryColumnStatisticsData `type:"structure"`
18738
18739	// Boolean column statistics data.
18740	BooleanColumnStatisticsData *BooleanColumnStatisticsData `type:"structure"`
18741
18742	// Date column statistics data.
18743	DateColumnStatisticsData *DateColumnStatisticsData `type:"structure"`
18744
18745	// Decimal column statistics data.
18746	DecimalColumnStatisticsData *DecimalColumnStatisticsData `type:"structure"`
18747
18748	// Double column statistics data.
18749	DoubleColumnStatisticsData *DoubleColumnStatisticsData `type:"structure"`
18750
18751	// Long column statistics data.
18752	LongColumnStatisticsData *LongColumnStatisticsData `type:"structure"`
18753
18754	// String column statistics data.
18755	StringColumnStatisticsData *StringColumnStatisticsData `type:"structure"`
18756
18757	// The type of column statistics data.
18758	//
18759	// Type is a required field
18760	Type *string `type:"string" required:"true" enum:"ColumnStatisticsType"`
18761}
18762
18763// String returns the string representation
18764func (s ColumnStatisticsData) String() string {
18765	return awsutil.Prettify(s)
18766}
18767
18768// GoString returns the string representation
18769func (s ColumnStatisticsData) GoString() string {
18770	return s.String()
18771}
18772
18773// Validate inspects the fields of the type to determine if they are valid.
18774func (s *ColumnStatisticsData) Validate() error {
18775	invalidParams := request.ErrInvalidParams{Context: "ColumnStatisticsData"}
18776	if s.Type == nil {
18777		invalidParams.Add(request.NewErrParamRequired("Type"))
18778	}
18779	if s.BinaryColumnStatisticsData != nil {
18780		if err := s.BinaryColumnStatisticsData.Validate(); err != nil {
18781			invalidParams.AddNested("BinaryColumnStatisticsData", err.(request.ErrInvalidParams))
18782		}
18783	}
18784	if s.BooleanColumnStatisticsData != nil {
18785		if err := s.BooleanColumnStatisticsData.Validate(); err != nil {
18786			invalidParams.AddNested("BooleanColumnStatisticsData", err.(request.ErrInvalidParams))
18787		}
18788	}
18789	if s.DateColumnStatisticsData != nil {
18790		if err := s.DateColumnStatisticsData.Validate(); err != nil {
18791			invalidParams.AddNested("DateColumnStatisticsData", err.(request.ErrInvalidParams))
18792		}
18793	}
18794	if s.DecimalColumnStatisticsData != nil {
18795		if err := s.DecimalColumnStatisticsData.Validate(); err != nil {
18796			invalidParams.AddNested("DecimalColumnStatisticsData", err.(request.ErrInvalidParams))
18797		}
18798	}
18799	if s.DoubleColumnStatisticsData != nil {
18800		if err := s.DoubleColumnStatisticsData.Validate(); err != nil {
18801			invalidParams.AddNested("DoubleColumnStatisticsData", err.(request.ErrInvalidParams))
18802		}
18803	}
18804	if s.LongColumnStatisticsData != nil {
18805		if err := s.LongColumnStatisticsData.Validate(); err != nil {
18806			invalidParams.AddNested("LongColumnStatisticsData", err.(request.ErrInvalidParams))
18807		}
18808	}
18809	if s.StringColumnStatisticsData != nil {
18810		if err := s.StringColumnStatisticsData.Validate(); err != nil {
18811			invalidParams.AddNested("StringColumnStatisticsData", err.(request.ErrInvalidParams))
18812		}
18813	}
18814
18815	if invalidParams.Len() > 0 {
18816		return invalidParams
18817	}
18818	return nil
18819}
18820
18821// SetBinaryColumnStatisticsData sets the BinaryColumnStatisticsData field's value.
18822func (s *ColumnStatisticsData) SetBinaryColumnStatisticsData(v *BinaryColumnStatisticsData) *ColumnStatisticsData {
18823	s.BinaryColumnStatisticsData = v
18824	return s
18825}
18826
18827// SetBooleanColumnStatisticsData sets the BooleanColumnStatisticsData field's value.
18828func (s *ColumnStatisticsData) SetBooleanColumnStatisticsData(v *BooleanColumnStatisticsData) *ColumnStatisticsData {
18829	s.BooleanColumnStatisticsData = v
18830	return s
18831}
18832
18833// SetDateColumnStatisticsData sets the DateColumnStatisticsData field's value.
18834func (s *ColumnStatisticsData) SetDateColumnStatisticsData(v *DateColumnStatisticsData) *ColumnStatisticsData {
18835	s.DateColumnStatisticsData = v
18836	return s
18837}
18838
18839// SetDecimalColumnStatisticsData sets the DecimalColumnStatisticsData field's value.
18840func (s *ColumnStatisticsData) SetDecimalColumnStatisticsData(v *DecimalColumnStatisticsData) *ColumnStatisticsData {
18841	s.DecimalColumnStatisticsData = v
18842	return s
18843}
18844
18845// SetDoubleColumnStatisticsData sets the DoubleColumnStatisticsData field's value.
18846func (s *ColumnStatisticsData) SetDoubleColumnStatisticsData(v *DoubleColumnStatisticsData) *ColumnStatisticsData {
18847	s.DoubleColumnStatisticsData = v
18848	return s
18849}
18850
18851// SetLongColumnStatisticsData sets the LongColumnStatisticsData field's value.
18852func (s *ColumnStatisticsData) SetLongColumnStatisticsData(v *LongColumnStatisticsData) *ColumnStatisticsData {
18853	s.LongColumnStatisticsData = v
18854	return s
18855}
18856
18857// SetStringColumnStatisticsData sets the StringColumnStatisticsData field's value.
18858func (s *ColumnStatisticsData) SetStringColumnStatisticsData(v *StringColumnStatisticsData) *ColumnStatisticsData {
18859	s.StringColumnStatisticsData = v
18860	return s
18861}
18862
18863// SetType sets the Type field's value.
18864func (s *ColumnStatisticsData) SetType(v string) *ColumnStatisticsData {
18865	s.Type = &v
18866	return s
18867}
18868
18869// Encapsulates a ColumnStatistics object that failed and the reason for failure.
18870type ColumnStatisticsError struct {
18871	_ struct{} `type:"structure"`
18872
18873	// The ColumnStatistics of the column.
18874	ColumnStatistics *ColumnStatistics `type:"structure"`
18875
18876	// An error message with the reason for the failure of an operation.
18877	Error *ErrorDetail `type:"structure"`
18878}
18879
18880// String returns the string representation
18881func (s ColumnStatisticsError) String() string {
18882	return awsutil.Prettify(s)
18883}
18884
18885// GoString returns the string representation
18886func (s ColumnStatisticsError) GoString() string {
18887	return s.String()
18888}
18889
18890// SetColumnStatistics sets the ColumnStatistics field's value.
18891func (s *ColumnStatisticsError) SetColumnStatistics(v *ColumnStatistics) *ColumnStatisticsError {
18892	s.ColumnStatistics = v
18893	return s
18894}
18895
18896// SetError sets the Error field's value.
18897func (s *ColumnStatisticsError) SetError(v *ErrorDetail) *ColumnStatisticsError {
18898	s.Error = v
18899	return s
18900}
18901
18902// Two processes are trying to modify a resource simultaneously.
18903type ConcurrentModificationException struct {
18904	_            struct{}                  `type:"structure"`
18905	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
18906
18907	// A message describing the problem.
18908	Message_ *string `locationName:"Message" type:"string"`
18909}
18910
18911// String returns the string representation
18912func (s ConcurrentModificationException) String() string {
18913	return awsutil.Prettify(s)
18914}
18915
18916// GoString returns the string representation
18917func (s ConcurrentModificationException) GoString() string {
18918	return s.String()
18919}
18920
18921func newErrorConcurrentModificationException(v protocol.ResponseMetadata) error {
18922	return &ConcurrentModificationException{
18923		RespMetadata: v,
18924	}
18925}
18926
18927// Code returns the exception type name.
18928func (s *ConcurrentModificationException) Code() string {
18929	return "ConcurrentModificationException"
18930}
18931
18932// Message returns the exception's message.
18933func (s *ConcurrentModificationException) Message() string {
18934	if s.Message_ != nil {
18935		return *s.Message_
18936	}
18937	return ""
18938}
18939
18940// OrigErr always returns nil, satisfies awserr.Error interface.
18941func (s *ConcurrentModificationException) OrigErr() error {
18942	return nil
18943}
18944
18945func (s *ConcurrentModificationException) Error() string {
18946	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
18947}
18948
18949// Status code returns the HTTP status code for the request's response error.
18950func (s *ConcurrentModificationException) StatusCode() int {
18951	return s.RespMetadata.StatusCode
18952}
18953
18954// RequestID returns the service's response RequestID for request.
18955func (s *ConcurrentModificationException) RequestID() string {
18956	return s.RespMetadata.RequestID
18957}
18958
18959// Too many jobs are being run concurrently.
18960type ConcurrentRunsExceededException struct {
18961	_            struct{}                  `type:"structure"`
18962	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
18963
18964	// A message describing the problem.
18965	Message_ *string `locationName:"Message" type:"string"`
18966}
18967
18968// String returns the string representation
18969func (s ConcurrentRunsExceededException) String() string {
18970	return awsutil.Prettify(s)
18971}
18972
18973// GoString returns the string representation
18974func (s ConcurrentRunsExceededException) GoString() string {
18975	return s.String()
18976}
18977
18978func newErrorConcurrentRunsExceededException(v protocol.ResponseMetadata) error {
18979	return &ConcurrentRunsExceededException{
18980		RespMetadata: v,
18981	}
18982}
18983
18984// Code returns the exception type name.
18985func (s *ConcurrentRunsExceededException) Code() string {
18986	return "ConcurrentRunsExceededException"
18987}
18988
18989// Message returns the exception's message.
18990func (s *ConcurrentRunsExceededException) Message() string {
18991	if s.Message_ != nil {
18992		return *s.Message_
18993	}
18994	return ""
18995}
18996
18997// OrigErr always returns nil, satisfies awserr.Error interface.
18998func (s *ConcurrentRunsExceededException) OrigErr() error {
18999	return nil
19000}
19001
19002func (s *ConcurrentRunsExceededException) Error() string {
19003	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
19004}
19005
19006// Status code returns the HTTP status code for the request's response error.
19007func (s *ConcurrentRunsExceededException) StatusCode() int {
19008	return s.RespMetadata.StatusCode
19009}
19010
19011// RequestID returns the service's response RequestID for request.
19012func (s *ConcurrentRunsExceededException) RequestID() string {
19013	return s.RespMetadata.RequestID
19014}
19015
19016// Defines a condition under which a trigger fires.
19017type Condition struct {
19018	_ struct{} `type:"structure"`
19019
19020	// The state of the crawler to which this condition applies.
19021	CrawlState *string `type:"string" enum:"CrawlState"`
19022
19023	// The name of the crawler to which this condition applies.
19024	CrawlerName *string `min:"1" type:"string"`
19025
19026	// The name of the job whose JobRuns this condition applies to, and on which
19027	// this trigger waits.
19028	JobName *string `min:"1" type:"string"`
19029
19030	// A logical operator.
19031	LogicalOperator *string `type:"string" enum:"LogicalOperator"`
19032
19033	// The condition state. Currently, the only job states that a trigger can listen
19034	// for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states
19035	// that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
19036	State *string `type:"string" enum:"JobRunState"`
19037}
19038
19039// String returns the string representation
19040func (s Condition) String() string {
19041	return awsutil.Prettify(s)
19042}
19043
19044// GoString returns the string representation
19045func (s Condition) GoString() string {
19046	return s.String()
19047}
19048
19049// Validate inspects the fields of the type to determine if they are valid.
19050func (s *Condition) Validate() error {
19051	invalidParams := request.ErrInvalidParams{Context: "Condition"}
19052	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
19053		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
19054	}
19055	if s.JobName != nil && len(*s.JobName) < 1 {
19056		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
19057	}
19058
19059	if invalidParams.Len() > 0 {
19060		return invalidParams
19061	}
19062	return nil
19063}
19064
19065// SetCrawlState sets the CrawlState field's value.
19066func (s *Condition) SetCrawlState(v string) *Condition {
19067	s.CrawlState = &v
19068	return s
19069}
19070
19071// SetCrawlerName sets the CrawlerName field's value.
19072func (s *Condition) SetCrawlerName(v string) *Condition {
19073	s.CrawlerName = &v
19074	return s
19075}
19076
19077// SetJobName sets the JobName field's value.
19078func (s *Condition) SetJobName(v string) *Condition {
19079	s.JobName = &v
19080	return s
19081}
19082
19083// SetLogicalOperator sets the LogicalOperator field's value.
19084func (s *Condition) SetLogicalOperator(v string) *Condition {
19085	s.LogicalOperator = &v
19086	return s
19087}
19088
19089// SetState sets the State field's value.
19090func (s *Condition) SetState(v string) *Condition {
19091	s.State = &v
19092	return s
19093}
19094
19095// A specified condition was not satisfied.
19096type ConditionCheckFailureException struct {
19097	_            struct{}                  `type:"structure"`
19098	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
19099
19100	// A message describing the problem.
19101	Message_ *string `locationName:"Message" type:"string"`
19102}
19103
19104// String returns the string representation
19105func (s ConditionCheckFailureException) String() string {
19106	return awsutil.Prettify(s)
19107}
19108
19109// GoString returns the string representation
19110func (s ConditionCheckFailureException) GoString() string {
19111	return s.String()
19112}
19113
19114func newErrorConditionCheckFailureException(v protocol.ResponseMetadata) error {
19115	return &ConditionCheckFailureException{
19116		RespMetadata: v,
19117	}
19118}
19119
19120// Code returns the exception type name.
19121func (s *ConditionCheckFailureException) Code() string {
19122	return "ConditionCheckFailureException"
19123}
19124
19125// Message returns the exception's message.
19126func (s *ConditionCheckFailureException) Message() string {
19127	if s.Message_ != nil {
19128		return *s.Message_
19129	}
19130	return ""
19131}
19132
19133// OrigErr always returns nil, satisfies awserr.Error interface.
19134func (s *ConditionCheckFailureException) OrigErr() error {
19135	return nil
19136}
19137
19138func (s *ConditionCheckFailureException) Error() string {
19139	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
19140}
19141
19142// Status code returns the HTTP status code for the request's response error.
19143func (s *ConditionCheckFailureException) StatusCode() int {
19144	return s.RespMetadata.StatusCode
19145}
19146
19147// RequestID returns the service's response RequestID for request.
19148func (s *ConditionCheckFailureException) RequestID() string {
19149	return s.RespMetadata.RequestID
19150}
19151
19152// The CreatePartitions API was called on a table that has indexes enabled.
19153type ConflictException struct {
19154	_            struct{}                  `type:"structure"`
19155	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
19156
19157	// A message describing the problem.
19158	Message_ *string `locationName:"Message" type:"string"`
19159}
19160
19161// String returns the string representation
19162func (s ConflictException) String() string {
19163	return awsutil.Prettify(s)
19164}
19165
19166// GoString returns the string representation
19167func (s ConflictException) GoString() string {
19168	return s.String()
19169}
19170
19171func newErrorConflictException(v protocol.ResponseMetadata) error {
19172	return &ConflictException{
19173		RespMetadata: v,
19174	}
19175}
19176
19177// Code returns the exception type name.
19178func (s *ConflictException) Code() string {
19179	return "ConflictException"
19180}
19181
19182// Message returns the exception's message.
19183func (s *ConflictException) Message() string {
19184	if s.Message_ != nil {
19185		return *s.Message_
19186	}
19187	return ""
19188}
19189
19190// OrigErr always returns nil, satisfies awserr.Error interface.
19191func (s *ConflictException) OrigErr() error {
19192	return nil
19193}
19194
19195func (s *ConflictException) Error() string {
19196	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
19197}
19198
19199// Status code returns the HTTP status code for the request's response error.
19200func (s *ConflictException) StatusCode() int {
19201	return s.RespMetadata.StatusCode
19202}
19203
19204// RequestID returns the service's response RequestID for request.
19205func (s *ConflictException) RequestID() string {
19206	return s.RespMetadata.RequestID
19207}
19208
19209// The confusion matrix shows you what your transform is predicting accurately
19210// and what types of errors it is making.
19211//
19212// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
19213// in Wikipedia.
19214type ConfusionMatrix struct {
19215	_ struct{} `type:"structure"`
19216
19217	// The number of matches in the data that the transform didn't find, in the
19218	// confusion matrix for your transform.
19219	NumFalseNegatives *int64 `type:"long"`
19220
19221	// The number of nonmatches in the data that the transform incorrectly classified
19222	// as a match, in the confusion matrix for your transform.
19223	NumFalsePositives *int64 `type:"long"`
19224
19225	// The number of nonmatches in the data that the transform correctly rejected,
19226	// in the confusion matrix for your transform.
19227	NumTrueNegatives *int64 `type:"long"`
19228
19229	// The number of matches in the data that the transform correctly found, in
19230	// the confusion matrix for your transform.
19231	NumTruePositives *int64 `type:"long"`
19232}
19233
19234// String returns the string representation
19235func (s ConfusionMatrix) String() string {
19236	return awsutil.Prettify(s)
19237}
19238
19239// GoString returns the string representation
19240func (s ConfusionMatrix) GoString() string {
19241	return s.String()
19242}
19243
19244// SetNumFalseNegatives sets the NumFalseNegatives field's value.
19245func (s *ConfusionMatrix) SetNumFalseNegatives(v int64) *ConfusionMatrix {
19246	s.NumFalseNegatives = &v
19247	return s
19248}
19249
19250// SetNumFalsePositives sets the NumFalsePositives field's value.
19251func (s *ConfusionMatrix) SetNumFalsePositives(v int64) *ConfusionMatrix {
19252	s.NumFalsePositives = &v
19253	return s
19254}
19255
19256// SetNumTrueNegatives sets the NumTrueNegatives field's value.
19257func (s *ConfusionMatrix) SetNumTrueNegatives(v int64) *ConfusionMatrix {
19258	s.NumTrueNegatives = &v
19259	return s
19260}
19261
19262// SetNumTruePositives sets the NumTruePositives field's value.
19263func (s *ConfusionMatrix) SetNumTruePositives(v int64) *ConfusionMatrix {
19264	s.NumTruePositives = &v
19265	return s
19266}
19267
19268// Defines a connection to a data source.
19269type Connection struct {
19270	_ struct{} `type:"structure"`
19271
19272	// These key-value pairs define parameters for the connection:
19273	//
19274	//    * HOST - The host URI: either the fully qualified domain name (FQDN) or
19275	//    the IPv4 address of the database host.
19276	//
19277	//    * PORT - The port number, between 1024 and 65535, of the port on which
19278	//    the database host is listening for database connections.
19279	//
19280	//    * USER_NAME - The name under which to log in to the database. The value
19281	//    string for USER_NAME is "USERNAME".
19282	//
19283	//    * PASSWORD - A password, if one is used, for the user name.
19284	//
19285	//    * ENCRYPTED_PASSWORD - When you enable connection password protection
19286	//    by setting ConnectionPasswordEncryption in the Data Catalog encryption
19287	//    settings, this field stores the encrypted password.
19288	//
19289	//    * JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3)
19290	//    path of the JAR file that contains the JDBC driver to use.
19291	//
19292	//    * JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.
19293	//
19294	//    * JDBC_ENGINE - The name of the JDBC engine to use.
19295	//
19296	//    * JDBC_ENGINE_VERSION - The version of the JDBC engine to use.
19297	//
19298	//    * CONFIG_FILES - (Reserved for future use.)
19299	//
19300	//    * INSTANCE_ID - The instance ID to use.
19301	//
19302	//    * JDBC_CONNECTION_URL - The URL for connecting to a JDBC data source.
19303	//
19304	//    * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether
19305	//    Secure Sockets Layer (SSL) with hostname matching is enforced for the
19306	//    JDBC connection on the client. The default is false.
19307	//
19308	//    * CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root
19309	//    certificate. AWS Glue uses this root certificate to validate the customer’s
19310	//    certificate when connecting to the customer database. AWS Glue only handles
19311	//    X.509 certificates. The certificate provided must be DER-encoded and supplied
19312	//    in Base64 encoding PEM format.
19313	//
19314	//    * SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. AWS Glue
19315	//    validates the Signature algorithm and Subject Public Key Algorithm for
19316	//    the customer certificate. The only permitted algorithms for the Signature
19317	//    algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject
19318	//    Public Key Algorithm, the key length must be at least 2048. You can set
19319	//    the value of this property to true to skip AWS Glue’s validation of
19320	//    the customer certificate.
19321	//
19322	//    * CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
19323	//    used for domain match or distinguished name match to prevent a man-in-the-middle
19324	//    attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in
19325	//    Microsoft SQL Server, this is used as the hostNameInCertificate.
19326	//
19327	//    * CONNECTION_URL - The URL for connecting to a general (non-JDBC) data
19328	//    source.
19329	//
19330	//    * KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs
19331	//    that are the addresses of the Apache Kafka brokers in a Kafka cluster
19332	//    to which a Kafka client will connect to and bootstrap itself.
19333	//
19334	//    * KAFKA_SSL_ENABLED - Whether to enable or disable SSL on an Apache Kafka
19335	//    connection. Default value is "true".
19336	//
19337	//    * KAFKA_CUSTOM_CERT - The Amazon S3 URL for the private CA cert file (.pem
19338	//    format). The default is an empty string.
19339	//
19340	//    * KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip the validation of
19341	//    the CA cert file or not. AWS Glue validates for three algorithms: SHA256withRSA,
19342	//    SHA384withRSA and SHA512withRSA. Default value is "false".
19343	//
19344	//    * SECRET_ID - The secret ID used for the secret manager of credentials.
19345	//
19346	//    * CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection.
19347	//
19348	//    * CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection.
19349	//
19350	//    * CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or
19351	//    CUSTOM connection.
19352	ConnectionProperties map[string]*string `type:"map"`
19353
19354	// The type of the connection. Currently, SFTP is not supported.
19355	ConnectionType *string `type:"string" enum:"ConnectionType"`
19356
19357	// The time that this connection definition was created.
19358	CreationTime *time.Time `type:"timestamp"`
19359
19360	// The description of the connection.
19361	Description *string `type:"string"`
19362
19363	// The user, group, or role that last updated this connection definition.
19364	LastUpdatedBy *string `min:"1" type:"string"`
19365
19366	// The last time that this connection definition was updated.
19367	LastUpdatedTime *time.Time `type:"timestamp"`
19368
19369	// A list of criteria that can be used in selecting this connection.
19370	MatchCriteria []*string `type:"list"`
19371
19372	// The name of the connection definition.
19373	Name *string `min:"1" type:"string"`
19374
19375	// A map of physical connection requirements, such as virtual private cloud
19376	// (VPC) and SecurityGroup, that are needed to make this connection successfully.
19377	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
19378}
19379
19380// String returns the string representation
19381func (s Connection) String() string {
19382	return awsutil.Prettify(s)
19383}
19384
19385// GoString returns the string representation
19386func (s Connection) GoString() string {
19387	return s.String()
19388}
19389
19390// SetConnectionProperties sets the ConnectionProperties field's value.
19391func (s *Connection) SetConnectionProperties(v map[string]*string) *Connection {
19392	s.ConnectionProperties = v
19393	return s
19394}
19395
19396// SetConnectionType sets the ConnectionType field's value.
19397func (s *Connection) SetConnectionType(v string) *Connection {
19398	s.ConnectionType = &v
19399	return s
19400}
19401
19402// SetCreationTime sets the CreationTime field's value.
19403func (s *Connection) SetCreationTime(v time.Time) *Connection {
19404	s.CreationTime = &v
19405	return s
19406}
19407
19408// SetDescription sets the Description field's value.
19409func (s *Connection) SetDescription(v string) *Connection {
19410	s.Description = &v
19411	return s
19412}
19413
19414// SetLastUpdatedBy sets the LastUpdatedBy field's value.
19415func (s *Connection) SetLastUpdatedBy(v string) *Connection {
19416	s.LastUpdatedBy = &v
19417	return s
19418}
19419
19420// SetLastUpdatedTime sets the LastUpdatedTime field's value.
19421func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection {
19422	s.LastUpdatedTime = &v
19423	return s
19424}
19425
19426// SetMatchCriteria sets the MatchCriteria field's value.
19427func (s *Connection) SetMatchCriteria(v []*string) *Connection {
19428	s.MatchCriteria = v
19429	return s
19430}
19431
19432// SetName sets the Name field's value.
19433func (s *Connection) SetName(v string) *Connection {
19434	s.Name = &v
19435	return s
19436}
19437
19438// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
19439func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection {
19440	s.PhysicalConnectionRequirements = v
19441	return s
19442}
19443
19444// A structure that is used to specify a connection to create or update.
19445type ConnectionInput struct {
19446	_ struct{} `type:"structure"`
19447
19448	// These key-value pairs define parameters for the connection.
19449	//
19450	// ConnectionProperties is a required field
19451	ConnectionProperties map[string]*string `type:"map" required:"true"`
19452
19453	// The type of the connection. Currently, these types are supported:
19454	//
19455	//    * JDBC - Designates a connection to a database through Java Database Connectivity
19456	//    (JDBC).
19457	//
19458	//    * KAFKA - Designates a connection to an Apache Kafka streaming platform.
19459	//
19460	//    * MONGODB - Designates a connection to a MongoDB document database.
19461	//
19462	//    * NETWORK - Designates a network connection to a data source within an
19463	//    Amazon Virtual Private Cloud environment (Amazon VPC).
19464	//
19465	//    * MARKETPLACE - Uses configuration settings contained in a connector purchased
19466	//    from AWS Marketplace to read from and write to data stores that are not
19467	//    natively supported by AWS Glue.
19468	//
19469	//    * CUSTOM - Uses configuration settings contained in a custom connector
19470	//    to read from and write to data stores that are not natively supported
19471	//    by AWS Glue.
19472	//
19473	// SFTP is not supported.
19474	//
19475	// ConnectionType is a required field
19476	ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"`
19477
19478	// The description of the connection.
19479	Description *string `type:"string"`
19480
19481	// A list of criteria that can be used in selecting this connection.
19482	MatchCriteria []*string `type:"list"`
19483
19484	// The name of the connection.
19485	//
19486	// Name is a required field
19487	Name *string `min:"1" type:"string" required:"true"`
19488
19489	// A map of physical connection requirements, such as virtual private cloud
19490	// (VPC) and SecurityGroup, that are needed to successfully make this connection.
19491	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
19492}
19493
19494// String returns the string representation
19495func (s ConnectionInput) String() string {
19496	return awsutil.Prettify(s)
19497}
19498
19499// GoString returns the string representation
19500func (s ConnectionInput) GoString() string {
19501	return s.String()
19502}
19503
19504// Validate inspects the fields of the type to determine if they are valid.
19505func (s *ConnectionInput) Validate() error {
19506	invalidParams := request.ErrInvalidParams{Context: "ConnectionInput"}
19507	if s.ConnectionProperties == nil {
19508		invalidParams.Add(request.NewErrParamRequired("ConnectionProperties"))
19509	}
19510	if s.ConnectionType == nil {
19511		invalidParams.Add(request.NewErrParamRequired("ConnectionType"))
19512	}
19513	if s.Name == nil {
19514		invalidParams.Add(request.NewErrParamRequired("Name"))
19515	}
19516	if s.Name != nil && len(*s.Name) < 1 {
19517		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19518	}
19519	if s.PhysicalConnectionRequirements != nil {
19520		if err := s.PhysicalConnectionRequirements.Validate(); err != nil {
19521			invalidParams.AddNested("PhysicalConnectionRequirements", err.(request.ErrInvalidParams))
19522		}
19523	}
19524
19525	if invalidParams.Len() > 0 {
19526		return invalidParams
19527	}
19528	return nil
19529}
19530
19531// SetConnectionProperties sets the ConnectionProperties field's value.
19532func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput {
19533	s.ConnectionProperties = v
19534	return s
19535}
19536
19537// SetConnectionType sets the ConnectionType field's value.
19538func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput {
19539	s.ConnectionType = &v
19540	return s
19541}
19542
19543// SetDescription sets the Description field's value.
19544func (s *ConnectionInput) SetDescription(v string) *ConnectionInput {
19545	s.Description = &v
19546	return s
19547}
19548
19549// SetMatchCriteria sets the MatchCriteria field's value.
19550func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput {
19551	s.MatchCriteria = v
19552	return s
19553}
19554
19555// SetName sets the Name field's value.
19556func (s *ConnectionInput) SetName(v string) *ConnectionInput {
19557	s.Name = &v
19558	return s
19559}
19560
19561// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
19562func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput {
19563	s.PhysicalConnectionRequirements = v
19564	return s
19565}
19566
19567// The data structure used by the Data Catalog to encrypt the password as part
19568// of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD
19569// field in the connection properties. You can enable catalog encryption or
19570// only password encryption.
19571//
19572// When a CreationConnection request arrives containing a password, the Data
19573// Catalog first encrypts the password using your AWS KMS key. It then encrypts
19574// the whole connection object again if catalog encryption is also enabled.
19575//
19576// This encryption requires that you set AWS KMS key permissions to enable or
19577// restrict access on the password key according to your security requirements.
19578// For example, you might want only administrators to have decrypt permission
19579// on the password key.
19580type ConnectionPasswordEncryption struct {
19581	_ struct{} `type:"structure"`
19582
19583	// An AWS KMS key that is used to encrypt the connection password.
19584	//
19585	// If connection password protection is enabled, the caller of CreateConnection
19586	// and UpdateConnection needs at least kms:Encrypt permission on the specified
19587	// AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
19588	//
19589	// You can set the decrypt permission to enable or restrict access on the password
19590	// key according to your security requirements.
19591	AwsKmsKeyId *string `min:"1" type:"string"`
19592
19593	// When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords
19594	// remain encrypted in the responses of GetConnection and GetConnections. This
19595	// encryption takes effect independently from catalog encryption.
19596	//
19597	// ReturnConnectionPasswordEncrypted is a required field
19598	ReturnConnectionPasswordEncrypted *bool `type:"boolean" required:"true"`
19599}
19600
19601// String returns the string representation
19602func (s ConnectionPasswordEncryption) String() string {
19603	return awsutil.Prettify(s)
19604}
19605
19606// GoString returns the string representation
19607func (s ConnectionPasswordEncryption) GoString() string {
19608	return s.String()
19609}
19610
19611// Validate inspects the fields of the type to determine if they are valid.
19612func (s *ConnectionPasswordEncryption) Validate() error {
19613	invalidParams := request.ErrInvalidParams{Context: "ConnectionPasswordEncryption"}
19614	if s.AwsKmsKeyId != nil && len(*s.AwsKmsKeyId) < 1 {
19615		invalidParams.Add(request.NewErrParamMinLen("AwsKmsKeyId", 1))
19616	}
19617	if s.ReturnConnectionPasswordEncrypted == nil {
19618		invalidParams.Add(request.NewErrParamRequired("ReturnConnectionPasswordEncrypted"))
19619	}
19620
19621	if invalidParams.Len() > 0 {
19622		return invalidParams
19623	}
19624	return nil
19625}
19626
19627// SetAwsKmsKeyId sets the AwsKmsKeyId field's value.
19628func (s *ConnectionPasswordEncryption) SetAwsKmsKeyId(v string) *ConnectionPasswordEncryption {
19629	s.AwsKmsKeyId = &v
19630	return s
19631}
19632
19633// SetReturnConnectionPasswordEncrypted sets the ReturnConnectionPasswordEncrypted field's value.
19634func (s *ConnectionPasswordEncryption) SetReturnConnectionPasswordEncrypted(v bool) *ConnectionPasswordEncryption {
19635	s.ReturnConnectionPasswordEncrypted = &v
19636	return s
19637}
19638
19639// Specifies the connections used by a job.
19640type ConnectionsList struct {
19641	_ struct{} `type:"structure"`
19642
19643	// A list of connections used by the job.
19644	Connections []*string `type:"list"`
19645}
19646
19647// String returns the string representation
19648func (s ConnectionsList) String() string {
19649	return awsutil.Prettify(s)
19650}
19651
19652// GoString returns the string representation
19653func (s ConnectionsList) GoString() string {
19654	return s.String()
19655}
19656
19657// SetConnections sets the Connections field's value.
19658func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList {
19659	s.Connections = v
19660	return s
19661}
19662
19663// The details of a crawl in the workflow.
19664type Crawl struct {
19665	_ struct{} `type:"structure"`
19666
19667	// The date and time on which the crawl completed.
19668	CompletedOn *time.Time `type:"timestamp"`
19669
19670	// The error message associated with the crawl.
19671	ErrorMessage *string `type:"string"`
19672
19673	// The log group associated with the crawl.
19674	LogGroup *string `min:"1" type:"string"`
19675
19676	// The log stream associated with the crawl.
19677	LogStream *string `min:"1" type:"string"`
19678
19679	// The date and time on which the crawl started.
19680	StartedOn *time.Time `type:"timestamp"`
19681
19682	// The state of the crawler.
19683	State *string `type:"string" enum:"CrawlState"`
19684}
19685
19686// String returns the string representation
19687func (s Crawl) String() string {
19688	return awsutil.Prettify(s)
19689}
19690
19691// GoString returns the string representation
19692func (s Crawl) GoString() string {
19693	return s.String()
19694}
19695
19696// SetCompletedOn sets the CompletedOn field's value.
19697func (s *Crawl) SetCompletedOn(v time.Time) *Crawl {
19698	s.CompletedOn = &v
19699	return s
19700}
19701
19702// SetErrorMessage sets the ErrorMessage field's value.
19703func (s *Crawl) SetErrorMessage(v string) *Crawl {
19704	s.ErrorMessage = &v
19705	return s
19706}
19707
19708// SetLogGroup sets the LogGroup field's value.
19709func (s *Crawl) SetLogGroup(v string) *Crawl {
19710	s.LogGroup = &v
19711	return s
19712}
19713
19714// SetLogStream sets the LogStream field's value.
19715func (s *Crawl) SetLogStream(v string) *Crawl {
19716	s.LogStream = &v
19717	return s
19718}
19719
19720// SetStartedOn sets the StartedOn field's value.
19721func (s *Crawl) SetStartedOn(v time.Time) *Crawl {
19722	s.StartedOn = &v
19723	return s
19724}
19725
19726// SetState sets the State field's value.
19727func (s *Crawl) SetState(v string) *Crawl {
19728	s.State = &v
19729	return s
19730}
19731
19732// Specifies a crawler program that examines a data source and uses classifiers
19733// to try to determine its schema. If successful, the crawler records metadata
19734// concerning the data source in the AWS Glue Data Catalog.
19735type Crawler struct {
19736	_ struct{} `type:"structure"`
19737
19738	// A list of UTF-8 strings that specify the custom classifiers that are associated
19739	// with the crawler.
19740	Classifiers []*string `type:"list"`
19741
19742	// Crawler configuration information. This versioned JSON string allows users
19743	// to specify aspects of a crawler's behavior. For more information, see Configuring
19744	// a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
19745	Configuration *string `type:"string"`
19746
19747	// If the crawler is running, contains the total time elapsed since the last
19748	// crawl began.
19749	CrawlElapsedTime *int64 `type:"long"`
19750
19751	// The name of the SecurityConfiguration structure to be used by this crawler.
19752	CrawlerSecurityConfiguration *string `type:"string"`
19753
19754	// The time that the crawler was created.
19755	CreationTime *time.Time `type:"timestamp"`
19756
19757	// The name of the database in which the crawler's output is stored.
19758	DatabaseName *string `type:"string"`
19759
19760	// A description of the crawler.
19761	Description *string `type:"string"`
19762
19763	// The status of the last crawl, and potentially error information if an error
19764	// occurred.
19765	LastCrawl *LastCrawlInfo `type:"structure"`
19766
19767	// The time that the crawler was last updated.
19768	LastUpdated *time.Time `type:"timestamp"`
19769
19770	// A configuration that specifies whether data lineage is enabled for the crawler.
19771	LineageConfiguration *LineageConfiguration `type:"structure"`
19772
19773	// The name of the crawler.
19774	Name *string `min:"1" type:"string"`
19775
19776	// A policy that specifies whether to crawl the entire dataset again, or to
19777	// crawl only folders that were added since the last crawler run.
19778	RecrawlPolicy *RecrawlPolicy `type:"structure"`
19779
19780	// The Amazon Resource Name (ARN) of an IAM role that's used to access customer
19781	// resources, such as Amazon Simple Storage Service (Amazon S3) data.
19782	Role *string `type:"string"`
19783
19784	// For scheduled crawlers, the schedule when the crawler runs.
19785	Schedule *Schedule `type:"structure"`
19786
19787	// The policy that specifies update and delete behaviors for the crawler.
19788	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
19789
19790	// Indicates whether the crawler is running, or whether a run is pending.
19791	State *string `type:"string" enum:"CrawlerState"`
19792
19793	// The prefix added to the names of tables that are created.
19794	TablePrefix *string `type:"string"`
19795
19796	// A collection of targets to crawl.
19797	Targets *CrawlerTargets `type:"structure"`
19798
19799	// The version of the crawler.
19800	Version *int64 `type:"long"`
19801}
19802
19803// String returns the string representation
19804func (s Crawler) String() string {
19805	return awsutil.Prettify(s)
19806}
19807
19808// GoString returns the string representation
19809func (s Crawler) GoString() string {
19810	return s.String()
19811}
19812
19813// SetClassifiers sets the Classifiers field's value.
19814func (s *Crawler) SetClassifiers(v []*string) *Crawler {
19815	s.Classifiers = v
19816	return s
19817}
19818
19819// SetConfiguration sets the Configuration field's value.
19820func (s *Crawler) SetConfiguration(v string) *Crawler {
19821	s.Configuration = &v
19822	return s
19823}
19824
19825// SetCrawlElapsedTime sets the CrawlElapsedTime field's value.
19826func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler {
19827	s.CrawlElapsedTime = &v
19828	return s
19829}
19830
19831// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
19832func (s *Crawler) SetCrawlerSecurityConfiguration(v string) *Crawler {
19833	s.CrawlerSecurityConfiguration = &v
19834	return s
19835}
19836
19837// SetCreationTime sets the CreationTime field's value.
19838func (s *Crawler) SetCreationTime(v time.Time) *Crawler {
19839	s.CreationTime = &v
19840	return s
19841}
19842
19843// SetDatabaseName sets the DatabaseName field's value.
19844func (s *Crawler) SetDatabaseName(v string) *Crawler {
19845	s.DatabaseName = &v
19846	return s
19847}
19848
19849// SetDescription sets the Description field's value.
19850func (s *Crawler) SetDescription(v string) *Crawler {
19851	s.Description = &v
19852	return s
19853}
19854
19855// SetLastCrawl sets the LastCrawl field's value.
19856func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler {
19857	s.LastCrawl = v
19858	return s
19859}
19860
19861// SetLastUpdated sets the LastUpdated field's value.
19862func (s *Crawler) SetLastUpdated(v time.Time) *Crawler {
19863	s.LastUpdated = &v
19864	return s
19865}
19866
19867// SetLineageConfiguration sets the LineageConfiguration field's value.
19868func (s *Crawler) SetLineageConfiguration(v *LineageConfiguration) *Crawler {
19869	s.LineageConfiguration = v
19870	return s
19871}
19872
19873// SetName sets the Name field's value.
19874func (s *Crawler) SetName(v string) *Crawler {
19875	s.Name = &v
19876	return s
19877}
19878
19879// SetRecrawlPolicy sets the RecrawlPolicy field's value.
19880func (s *Crawler) SetRecrawlPolicy(v *RecrawlPolicy) *Crawler {
19881	s.RecrawlPolicy = v
19882	return s
19883}
19884
19885// SetRole sets the Role field's value.
19886func (s *Crawler) SetRole(v string) *Crawler {
19887	s.Role = &v
19888	return s
19889}
19890
19891// SetSchedule sets the Schedule field's value.
19892func (s *Crawler) SetSchedule(v *Schedule) *Crawler {
19893	s.Schedule = v
19894	return s
19895}
19896
19897// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
19898func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler {
19899	s.SchemaChangePolicy = v
19900	return s
19901}
19902
19903// SetState sets the State field's value.
19904func (s *Crawler) SetState(v string) *Crawler {
19905	s.State = &v
19906	return s
19907}
19908
19909// SetTablePrefix sets the TablePrefix field's value.
19910func (s *Crawler) SetTablePrefix(v string) *Crawler {
19911	s.TablePrefix = &v
19912	return s
19913}
19914
19915// SetTargets sets the Targets field's value.
19916func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler {
19917	s.Targets = v
19918	return s
19919}
19920
19921// SetVersion sets the Version field's value.
19922func (s *Crawler) SetVersion(v int64) *Crawler {
19923	s.Version = &v
19924	return s
19925}
19926
19927// Metrics for a specified crawler.
19928type CrawlerMetrics struct {
19929	_ struct{} `type:"structure"`
19930
19931	// The name of the crawler.
19932	CrawlerName *string `min:"1" type:"string"`
19933
19934	// The duration of the crawler's most recent run, in seconds.
19935	LastRuntimeSeconds *float64 `type:"double"`
19936
19937	// The median duration of this crawler's runs, in seconds.
19938	MedianRuntimeSeconds *float64 `type:"double"`
19939
19940	// True if the crawler is still estimating how long it will take to complete
19941	// this run.
19942	StillEstimating *bool `type:"boolean"`
19943
19944	// The number of tables created by this crawler.
19945	TablesCreated *int64 `type:"integer"`
19946
19947	// The number of tables deleted by this crawler.
19948	TablesDeleted *int64 `type:"integer"`
19949
19950	// The number of tables updated by this crawler.
19951	TablesUpdated *int64 `type:"integer"`
19952
19953	// The estimated time left to complete a running crawl.
19954	TimeLeftSeconds *float64 `type:"double"`
19955}
19956
19957// String returns the string representation
19958func (s CrawlerMetrics) String() string {
19959	return awsutil.Prettify(s)
19960}
19961
19962// GoString returns the string representation
19963func (s CrawlerMetrics) GoString() string {
19964	return s.String()
19965}
19966
19967// SetCrawlerName sets the CrawlerName field's value.
19968func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics {
19969	s.CrawlerName = &v
19970	return s
19971}
19972
19973// SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value.
19974func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics {
19975	s.LastRuntimeSeconds = &v
19976	return s
19977}
19978
19979// SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value.
19980func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics {
19981	s.MedianRuntimeSeconds = &v
19982	return s
19983}
19984
19985// SetStillEstimating sets the StillEstimating field's value.
19986func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics {
19987	s.StillEstimating = &v
19988	return s
19989}
19990
19991// SetTablesCreated sets the TablesCreated field's value.
19992func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics {
19993	s.TablesCreated = &v
19994	return s
19995}
19996
19997// SetTablesDeleted sets the TablesDeleted field's value.
19998func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics {
19999	s.TablesDeleted = &v
20000	return s
20001}
20002
20003// SetTablesUpdated sets the TablesUpdated field's value.
20004func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics {
20005	s.TablesUpdated = &v
20006	return s
20007}
20008
20009// SetTimeLeftSeconds sets the TimeLeftSeconds field's value.
20010func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics {
20011	s.TimeLeftSeconds = &v
20012	return s
20013}
20014
20015// The details of a Crawler node present in the workflow.
20016type CrawlerNodeDetails struct {
20017	_ struct{} `type:"structure"`
20018
20019	// A list of crawls represented by the crawl node.
20020	Crawls []*Crawl `type:"list"`
20021}
20022
20023// String returns the string representation
20024func (s CrawlerNodeDetails) String() string {
20025	return awsutil.Prettify(s)
20026}
20027
20028// GoString returns the string representation
20029func (s CrawlerNodeDetails) GoString() string {
20030	return s.String()
20031}
20032
20033// SetCrawls sets the Crawls field's value.
20034func (s *CrawlerNodeDetails) SetCrawls(v []*Crawl) *CrawlerNodeDetails {
20035	s.Crawls = v
20036	return s
20037}
20038
20039// The specified crawler is not running.
20040type CrawlerNotRunningException struct {
20041	_            struct{}                  `type:"structure"`
20042	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
20043
20044	// A message describing the problem.
20045	Message_ *string `locationName:"Message" type:"string"`
20046}
20047
20048// String returns the string representation
20049func (s CrawlerNotRunningException) String() string {
20050	return awsutil.Prettify(s)
20051}
20052
20053// GoString returns the string representation
20054func (s CrawlerNotRunningException) GoString() string {
20055	return s.String()
20056}
20057
20058func newErrorCrawlerNotRunningException(v protocol.ResponseMetadata) error {
20059	return &CrawlerNotRunningException{
20060		RespMetadata: v,
20061	}
20062}
20063
20064// Code returns the exception type name.
20065func (s *CrawlerNotRunningException) Code() string {
20066	return "CrawlerNotRunningException"
20067}
20068
20069// Message returns the exception's message.
20070func (s *CrawlerNotRunningException) Message() string {
20071	if s.Message_ != nil {
20072		return *s.Message_
20073	}
20074	return ""
20075}
20076
20077// OrigErr always returns nil, satisfies awserr.Error interface.
20078func (s *CrawlerNotRunningException) OrigErr() error {
20079	return nil
20080}
20081
20082func (s *CrawlerNotRunningException) Error() string {
20083	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
20084}
20085
20086// Status code returns the HTTP status code for the request's response error.
20087func (s *CrawlerNotRunningException) StatusCode() int {
20088	return s.RespMetadata.StatusCode
20089}
20090
20091// RequestID returns the service's response RequestID for request.
20092func (s *CrawlerNotRunningException) RequestID() string {
20093	return s.RespMetadata.RequestID
20094}
20095
20096// The operation cannot be performed because the crawler is already running.
20097type CrawlerRunningException struct {
20098	_            struct{}                  `type:"structure"`
20099	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
20100
20101	// A message describing the problem.
20102	Message_ *string `locationName:"Message" type:"string"`
20103}
20104
20105// String returns the string representation
20106func (s CrawlerRunningException) String() string {
20107	return awsutil.Prettify(s)
20108}
20109
20110// GoString returns the string representation
20111func (s CrawlerRunningException) GoString() string {
20112	return s.String()
20113}
20114
20115func newErrorCrawlerRunningException(v protocol.ResponseMetadata) error {
20116	return &CrawlerRunningException{
20117		RespMetadata: v,
20118	}
20119}
20120
20121// Code returns the exception type name.
20122func (s *CrawlerRunningException) Code() string {
20123	return "CrawlerRunningException"
20124}
20125
20126// Message returns the exception's message.
20127func (s *CrawlerRunningException) Message() string {
20128	if s.Message_ != nil {
20129		return *s.Message_
20130	}
20131	return ""
20132}
20133
20134// OrigErr always returns nil, satisfies awserr.Error interface.
20135func (s *CrawlerRunningException) OrigErr() error {
20136	return nil
20137}
20138
20139func (s *CrawlerRunningException) Error() string {
20140	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
20141}
20142
20143// Status code returns the HTTP status code for the request's response error.
20144func (s *CrawlerRunningException) StatusCode() int {
20145	return s.RespMetadata.StatusCode
20146}
20147
20148// RequestID returns the service's response RequestID for request.
20149func (s *CrawlerRunningException) RequestID() string {
20150	return s.RespMetadata.RequestID
20151}
20152
20153// The specified crawler is stopping.
20154type CrawlerStoppingException struct {
20155	_            struct{}                  `type:"structure"`
20156	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
20157
20158	// A message describing the problem.
20159	Message_ *string `locationName:"Message" type:"string"`
20160}
20161
20162// String returns the string representation
20163func (s CrawlerStoppingException) String() string {
20164	return awsutil.Prettify(s)
20165}
20166
20167// GoString returns the string representation
20168func (s CrawlerStoppingException) GoString() string {
20169	return s.String()
20170}
20171
20172func newErrorCrawlerStoppingException(v protocol.ResponseMetadata) error {
20173	return &CrawlerStoppingException{
20174		RespMetadata: v,
20175	}
20176}
20177
20178// Code returns the exception type name.
20179func (s *CrawlerStoppingException) Code() string {
20180	return "CrawlerStoppingException"
20181}
20182
20183// Message returns the exception's message.
20184func (s *CrawlerStoppingException) Message() string {
20185	if s.Message_ != nil {
20186		return *s.Message_
20187	}
20188	return ""
20189}
20190
20191// OrigErr always returns nil, satisfies awserr.Error interface.
20192func (s *CrawlerStoppingException) OrigErr() error {
20193	return nil
20194}
20195
20196func (s *CrawlerStoppingException) Error() string {
20197	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
20198}
20199
20200// Status code returns the HTTP status code for the request's response error.
20201func (s *CrawlerStoppingException) StatusCode() int {
20202	return s.RespMetadata.StatusCode
20203}
20204
20205// RequestID returns the service's response RequestID for request.
20206func (s *CrawlerStoppingException) RequestID() string {
20207	return s.RespMetadata.RequestID
20208}
20209
20210// Specifies data stores to crawl.
20211type CrawlerTargets struct {
20212	_ struct{} `type:"structure"`
20213
20214	// Specifies AWS Glue Data Catalog targets.
20215	CatalogTargets []*CatalogTarget `type:"list"`
20216
20217	// Specifies Amazon DynamoDB targets.
20218	DynamoDBTargets []*DynamoDBTarget `type:"list"`
20219
20220	// Specifies JDBC targets.
20221	JdbcTargets []*JdbcTarget `type:"list"`
20222
20223	// Specifies Amazon DocumentDB or MongoDB targets.
20224	MongoDBTargets []*MongoDBTarget `type:"list"`
20225
20226	// Specifies Amazon Simple Storage Service (Amazon S3) targets.
20227	S3Targets []*S3Target `type:"list"`
20228}
20229
20230// String returns the string representation
20231func (s CrawlerTargets) String() string {
20232	return awsutil.Prettify(s)
20233}
20234
20235// GoString returns the string representation
20236func (s CrawlerTargets) GoString() string {
20237	return s.String()
20238}
20239
20240// Validate inspects the fields of the type to determine if they are valid.
20241func (s *CrawlerTargets) Validate() error {
20242	invalidParams := request.ErrInvalidParams{Context: "CrawlerTargets"}
20243	if s.CatalogTargets != nil {
20244		for i, v := range s.CatalogTargets {
20245			if v == nil {
20246				continue
20247			}
20248			if err := v.Validate(); err != nil {
20249				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CatalogTargets", i), err.(request.ErrInvalidParams))
20250			}
20251		}
20252	}
20253
20254	if invalidParams.Len() > 0 {
20255		return invalidParams
20256	}
20257	return nil
20258}
20259
20260// SetCatalogTargets sets the CatalogTargets field's value.
20261func (s *CrawlerTargets) SetCatalogTargets(v []*CatalogTarget) *CrawlerTargets {
20262	s.CatalogTargets = v
20263	return s
20264}
20265
20266// SetDynamoDBTargets sets the DynamoDBTargets field's value.
20267func (s *CrawlerTargets) SetDynamoDBTargets(v []*DynamoDBTarget) *CrawlerTargets {
20268	s.DynamoDBTargets = v
20269	return s
20270}
20271
20272// SetJdbcTargets sets the JdbcTargets field's value.
20273func (s *CrawlerTargets) SetJdbcTargets(v []*JdbcTarget) *CrawlerTargets {
20274	s.JdbcTargets = v
20275	return s
20276}
20277
20278// SetMongoDBTargets sets the MongoDBTargets field's value.
20279func (s *CrawlerTargets) SetMongoDBTargets(v []*MongoDBTarget) *CrawlerTargets {
20280	s.MongoDBTargets = v
20281	return s
20282}
20283
20284// SetS3Targets sets the S3Targets field's value.
20285func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets {
20286	s.S3Targets = v
20287	return s
20288}
20289
20290type CreateClassifierInput struct {
20291	_ struct{} `type:"structure"`
20292
20293	// A CsvClassifier object specifying the classifier to create.
20294	CsvClassifier *CreateCsvClassifierRequest `type:"structure"`
20295
20296	// A GrokClassifier object specifying the classifier to create.
20297	GrokClassifier *CreateGrokClassifierRequest `type:"structure"`
20298
20299	// A JsonClassifier object specifying the classifier to create.
20300	JsonClassifier *CreateJsonClassifierRequest `type:"structure"`
20301
20302	// An XMLClassifier object specifying the classifier to create.
20303	XMLClassifier *CreateXMLClassifierRequest `type:"structure"`
20304}
20305
20306// String returns the string representation
20307func (s CreateClassifierInput) String() string {
20308	return awsutil.Prettify(s)
20309}
20310
20311// GoString returns the string representation
20312func (s CreateClassifierInput) GoString() string {
20313	return s.String()
20314}
20315
20316// Validate inspects the fields of the type to determine if they are valid.
20317func (s *CreateClassifierInput) Validate() error {
20318	invalidParams := request.ErrInvalidParams{Context: "CreateClassifierInput"}
20319	if s.CsvClassifier != nil {
20320		if err := s.CsvClassifier.Validate(); err != nil {
20321			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
20322		}
20323	}
20324	if s.GrokClassifier != nil {
20325		if err := s.GrokClassifier.Validate(); err != nil {
20326			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
20327		}
20328	}
20329	if s.JsonClassifier != nil {
20330		if err := s.JsonClassifier.Validate(); err != nil {
20331			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
20332		}
20333	}
20334	if s.XMLClassifier != nil {
20335		if err := s.XMLClassifier.Validate(); err != nil {
20336			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
20337		}
20338	}
20339
20340	if invalidParams.Len() > 0 {
20341		return invalidParams
20342	}
20343	return nil
20344}
20345
20346// SetCsvClassifier sets the CsvClassifier field's value.
20347func (s *CreateClassifierInput) SetCsvClassifier(v *CreateCsvClassifierRequest) *CreateClassifierInput {
20348	s.CsvClassifier = v
20349	return s
20350}
20351
20352// SetGrokClassifier sets the GrokClassifier field's value.
20353func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput {
20354	s.GrokClassifier = v
20355	return s
20356}
20357
20358// SetJsonClassifier sets the JsonClassifier field's value.
20359func (s *CreateClassifierInput) SetJsonClassifier(v *CreateJsonClassifierRequest) *CreateClassifierInput {
20360	s.JsonClassifier = v
20361	return s
20362}
20363
20364// SetXMLClassifier sets the XMLClassifier field's value.
20365func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput {
20366	s.XMLClassifier = v
20367	return s
20368}
20369
20370type CreateClassifierOutput struct {
20371	_ struct{} `type:"structure"`
20372}
20373
20374// String returns the string representation
20375func (s CreateClassifierOutput) String() string {
20376	return awsutil.Prettify(s)
20377}
20378
20379// GoString returns the string representation
20380func (s CreateClassifierOutput) GoString() string {
20381	return s.String()
20382}
20383
20384type CreateConnectionInput struct {
20385	_ struct{} `type:"structure"`
20386
20387	// The ID of the Data Catalog in which to create the connection. If none is
20388	// provided, the AWS account ID is used by default.
20389	CatalogId *string `min:"1" type:"string"`
20390
20391	// A ConnectionInput object defining the connection to create.
20392	//
20393	// ConnectionInput is a required field
20394	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
20395}
20396
20397// String returns the string representation
20398func (s CreateConnectionInput) String() string {
20399	return awsutil.Prettify(s)
20400}
20401
20402// GoString returns the string representation
20403func (s CreateConnectionInput) GoString() string {
20404	return s.String()
20405}
20406
20407// Validate inspects the fields of the type to determine if they are valid.
20408func (s *CreateConnectionInput) Validate() error {
20409	invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"}
20410	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20411		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20412	}
20413	if s.ConnectionInput == nil {
20414		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
20415	}
20416	if s.ConnectionInput != nil {
20417		if err := s.ConnectionInput.Validate(); err != nil {
20418			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
20419		}
20420	}
20421
20422	if invalidParams.Len() > 0 {
20423		return invalidParams
20424	}
20425	return nil
20426}
20427
20428// SetCatalogId sets the CatalogId field's value.
20429func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput {
20430	s.CatalogId = &v
20431	return s
20432}
20433
20434// SetConnectionInput sets the ConnectionInput field's value.
20435func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput {
20436	s.ConnectionInput = v
20437	return s
20438}
20439
20440type CreateConnectionOutput struct {
20441	_ struct{} `type:"structure"`
20442}
20443
20444// String returns the string representation
20445func (s CreateConnectionOutput) String() string {
20446	return awsutil.Prettify(s)
20447}
20448
20449// GoString returns the string representation
20450func (s CreateConnectionOutput) GoString() string {
20451	return s.String()
20452}
20453
20454type CreateCrawlerInput struct {
20455	_ struct{} `type:"structure"`
20456
20457	// A list of custom classifiers that the user has registered. By default, all
20458	// built-in classifiers are included in a crawl, but these custom classifiers
20459	// always override the default classifiers for a given classification.
20460	Classifiers []*string `type:"list"`
20461
20462	// Crawler configuration information. This versioned JSON string allows users
20463	// to specify aspects of a crawler's behavior. For more information, see Configuring
20464	// a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
20465	Configuration *string `type:"string"`
20466
20467	// The name of the SecurityConfiguration structure to be used by this crawler.
20468	CrawlerSecurityConfiguration *string `type:"string"`
20469
20470	// The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*.
20471	DatabaseName *string `type:"string"`
20472
20473	// A description of the new crawler.
20474	Description *string `type:"string"`
20475
20476	// Specifies data lineage configuration settings for the crawler.
20477	LineageConfiguration *LineageConfiguration `type:"structure"`
20478
20479	// Name of the new crawler.
20480	//
20481	// Name is a required field
20482	Name *string `min:"1" type:"string" required:"true"`
20483
20484	// A policy that specifies whether to crawl the entire dataset again, or to
20485	// crawl only folders that were added since the last crawler run.
20486	RecrawlPolicy *RecrawlPolicy `type:"structure"`
20487
20488	// The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new
20489	// crawler to access customer resources.
20490	//
20491	// Role is a required field
20492	Role *string `type:"string" required:"true"`
20493
20494	// A cron expression used to specify the schedule (see Time-Based Schedules
20495	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
20496	// For example, to run something every day at 12:15 UTC, you would specify:
20497	// cron(15 12 * * ? *).
20498	Schedule *string `type:"string"`
20499
20500	// The policy for the crawler's update and deletion behavior.
20501	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
20502
20503	// The table prefix used for catalog tables that are created.
20504	TablePrefix *string `type:"string"`
20505
20506	// The tags to use with this crawler request. You may use tags to limit access
20507	// to the crawler. For more information about tags in AWS Glue, see AWS Tags
20508	// in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
20509	// in the developer guide.
20510	Tags map[string]*string `type:"map"`
20511
20512	// A list of collection of targets to crawl.
20513	//
20514	// Targets is a required field
20515	Targets *CrawlerTargets `type:"structure" required:"true"`
20516}
20517
20518// String returns the string representation
20519func (s CreateCrawlerInput) String() string {
20520	return awsutil.Prettify(s)
20521}
20522
20523// GoString returns the string representation
20524func (s CreateCrawlerInput) GoString() string {
20525	return s.String()
20526}
20527
20528// Validate inspects the fields of the type to determine if they are valid.
20529func (s *CreateCrawlerInput) Validate() error {
20530	invalidParams := request.ErrInvalidParams{Context: "CreateCrawlerInput"}
20531	if s.Name == nil {
20532		invalidParams.Add(request.NewErrParamRequired("Name"))
20533	}
20534	if s.Name != nil && len(*s.Name) < 1 {
20535		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20536	}
20537	if s.Role == nil {
20538		invalidParams.Add(request.NewErrParamRequired("Role"))
20539	}
20540	if s.Targets == nil {
20541		invalidParams.Add(request.NewErrParamRequired("Targets"))
20542	}
20543	if s.Targets != nil {
20544		if err := s.Targets.Validate(); err != nil {
20545			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
20546		}
20547	}
20548
20549	if invalidParams.Len() > 0 {
20550		return invalidParams
20551	}
20552	return nil
20553}
20554
20555// SetClassifiers sets the Classifiers field's value.
20556func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput {
20557	s.Classifiers = v
20558	return s
20559}
20560
20561// SetConfiguration sets the Configuration field's value.
20562func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput {
20563	s.Configuration = &v
20564	return s
20565}
20566
20567// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
20568func (s *CreateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *CreateCrawlerInput {
20569	s.CrawlerSecurityConfiguration = &v
20570	return s
20571}
20572
20573// SetDatabaseName sets the DatabaseName field's value.
20574func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput {
20575	s.DatabaseName = &v
20576	return s
20577}
20578
20579// SetDescription sets the Description field's value.
20580func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput {
20581	s.Description = &v
20582	return s
20583}
20584
20585// SetLineageConfiguration sets the LineageConfiguration field's value.
20586func (s *CreateCrawlerInput) SetLineageConfiguration(v *LineageConfiguration) *CreateCrawlerInput {
20587	s.LineageConfiguration = v
20588	return s
20589}
20590
20591// SetName sets the Name field's value.
20592func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput {
20593	s.Name = &v
20594	return s
20595}
20596
20597// SetRecrawlPolicy sets the RecrawlPolicy field's value.
20598func (s *CreateCrawlerInput) SetRecrawlPolicy(v *RecrawlPolicy) *CreateCrawlerInput {
20599	s.RecrawlPolicy = v
20600	return s
20601}
20602
20603// SetRole sets the Role field's value.
20604func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput {
20605	s.Role = &v
20606	return s
20607}
20608
20609// SetSchedule sets the Schedule field's value.
20610func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput {
20611	s.Schedule = &v
20612	return s
20613}
20614
20615// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
20616func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput {
20617	s.SchemaChangePolicy = v
20618	return s
20619}
20620
20621// SetTablePrefix sets the TablePrefix field's value.
20622func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput {
20623	s.TablePrefix = &v
20624	return s
20625}
20626
20627// SetTags sets the Tags field's value.
20628func (s *CreateCrawlerInput) SetTags(v map[string]*string) *CreateCrawlerInput {
20629	s.Tags = v
20630	return s
20631}
20632
20633// SetTargets sets the Targets field's value.
20634func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput {
20635	s.Targets = v
20636	return s
20637}
20638
20639type CreateCrawlerOutput struct {
20640	_ struct{} `type:"structure"`
20641}
20642
20643// String returns the string representation
20644func (s CreateCrawlerOutput) String() string {
20645	return awsutil.Prettify(s)
20646}
20647
20648// GoString returns the string representation
20649func (s CreateCrawlerOutput) GoString() string {
20650	return s.String()
20651}
20652
20653// Specifies a custom CSV classifier for CreateClassifier to create.
20654type CreateCsvClassifierRequest struct {
20655	_ struct{} `type:"structure"`
20656
20657	// Enables the processing of files that contain only one column.
20658	AllowSingleColumn *bool `type:"boolean"`
20659
20660	// Indicates whether the CSV file contains a header.
20661	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
20662
20663	// A custom symbol to denote what separates each column entry in the row.
20664	Delimiter *string `min:"1" type:"string"`
20665
20666	// Specifies not to trim values before identifying the type of column values.
20667	// The default value is true.
20668	DisableValueTrimming *bool `type:"boolean"`
20669
20670	// A list of strings representing column names.
20671	Header []*string `type:"list"`
20672
20673	// The name of the classifier.
20674	//
20675	// Name is a required field
20676	Name *string `min:"1" type:"string" required:"true"`
20677
20678	// A custom symbol to denote what combines content into a single column value.
20679	// Must be different from the column delimiter.
20680	QuoteSymbol *string `min:"1" type:"string"`
20681}
20682
20683// String returns the string representation
20684func (s CreateCsvClassifierRequest) String() string {
20685	return awsutil.Prettify(s)
20686}
20687
20688// GoString returns the string representation
20689func (s CreateCsvClassifierRequest) GoString() string {
20690	return s.String()
20691}
20692
20693// Validate inspects the fields of the type to determine if they are valid.
20694func (s *CreateCsvClassifierRequest) Validate() error {
20695	invalidParams := request.ErrInvalidParams{Context: "CreateCsvClassifierRequest"}
20696	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
20697		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
20698	}
20699	if s.Name == nil {
20700		invalidParams.Add(request.NewErrParamRequired("Name"))
20701	}
20702	if s.Name != nil && len(*s.Name) < 1 {
20703		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20704	}
20705	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
20706		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
20707	}
20708
20709	if invalidParams.Len() > 0 {
20710		return invalidParams
20711	}
20712	return nil
20713}
20714
20715// SetAllowSingleColumn sets the AllowSingleColumn field's value.
20716func (s *CreateCsvClassifierRequest) SetAllowSingleColumn(v bool) *CreateCsvClassifierRequest {
20717	s.AllowSingleColumn = &v
20718	return s
20719}
20720
20721// SetContainsHeader sets the ContainsHeader field's value.
20722func (s *CreateCsvClassifierRequest) SetContainsHeader(v string) *CreateCsvClassifierRequest {
20723	s.ContainsHeader = &v
20724	return s
20725}
20726
20727// SetDelimiter sets the Delimiter field's value.
20728func (s *CreateCsvClassifierRequest) SetDelimiter(v string) *CreateCsvClassifierRequest {
20729	s.Delimiter = &v
20730	return s
20731}
20732
20733// SetDisableValueTrimming sets the DisableValueTrimming field's value.
20734func (s *CreateCsvClassifierRequest) SetDisableValueTrimming(v bool) *CreateCsvClassifierRequest {
20735	s.DisableValueTrimming = &v
20736	return s
20737}
20738
20739// SetHeader sets the Header field's value.
20740func (s *CreateCsvClassifierRequest) SetHeader(v []*string) *CreateCsvClassifierRequest {
20741	s.Header = v
20742	return s
20743}
20744
20745// SetName sets the Name field's value.
20746func (s *CreateCsvClassifierRequest) SetName(v string) *CreateCsvClassifierRequest {
20747	s.Name = &v
20748	return s
20749}
20750
20751// SetQuoteSymbol sets the QuoteSymbol field's value.
20752func (s *CreateCsvClassifierRequest) SetQuoteSymbol(v string) *CreateCsvClassifierRequest {
20753	s.QuoteSymbol = &v
20754	return s
20755}
20756
20757type CreateDatabaseInput struct {
20758	_ struct{} `type:"structure"`
20759
20760	// The ID of the Data Catalog in which to create the database. If none is provided,
20761	// the AWS account ID is used by default.
20762	CatalogId *string `min:"1" type:"string"`
20763
20764	// The metadata for the database.
20765	//
20766	// DatabaseInput is a required field
20767	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
20768}
20769
20770// String returns the string representation
20771func (s CreateDatabaseInput) String() string {
20772	return awsutil.Prettify(s)
20773}
20774
20775// GoString returns the string representation
20776func (s CreateDatabaseInput) GoString() string {
20777	return s.String()
20778}
20779
20780// Validate inspects the fields of the type to determine if they are valid.
20781func (s *CreateDatabaseInput) Validate() error {
20782	invalidParams := request.ErrInvalidParams{Context: "CreateDatabaseInput"}
20783	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20784		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20785	}
20786	if s.DatabaseInput == nil {
20787		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
20788	}
20789	if s.DatabaseInput != nil {
20790		if err := s.DatabaseInput.Validate(); err != nil {
20791			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
20792		}
20793	}
20794
20795	if invalidParams.Len() > 0 {
20796		return invalidParams
20797	}
20798	return nil
20799}
20800
20801// SetCatalogId sets the CatalogId field's value.
20802func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput {
20803	s.CatalogId = &v
20804	return s
20805}
20806
20807// SetDatabaseInput sets the DatabaseInput field's value.
20808func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput {
20809	s.DatabaseInput = v
20810	return s
20811}
20812
20813type CreateDatabaseOutput struct {
20814	_ struct{} `type:"structure"`
20815}
20816
20817// String returns the string representation
20818func (s CreateDatabaseOutput) String() string {
20819	return awsutil.Prettify(s)
20820}
20821
20822// GoString returns the string representation
20823func (s CreateDatabaseOutput) GoString() string {
20824	return s.String()
20825}
20826
20827type CreateDevEndpointInput struct {
20828	_ struct{} `type:"structure"`
20829
20830	// A map of arguments used to configure the DevEndpoint.
20831	Arguments map[string]*string `type:"map"`
20832
20833	// The name to be assigned to the new DevEndpoint.
20834	//
20835	// EndpointName is a required field
20836	EndpointName *string `type:"string" required:"true"`
20837
20838	// The path to one or more Java .jar files in an S3 bucket that should be loaded
20839	// in your DevEndpoint.
20840	ExtraJarsS3Path *string `type:"string"`
20841
20842	// The paths to one or more Python libraries in an Amazon S3 bucket that should
20843	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
20844	// by a comma.
20845	//
20846	// You can only use pure Python libraries with a DevEndpoint. Libraries that
20847	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
20848	// data analysis library, are not yet supported.
20849	ExtraPythonLibsS3Path *string `type:"string"`
20850
20851	// Glue version determines the versions of Apache Spark and Python that AWS
20852	// Glue supports. The Python version indicates the version supported for running
20853	// your ETL scripts on development endpoints.
20854	//
20855	// For more information about the available AWS Glue versions and corresponding
20856	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
20857	// in the developer guide.
20858	//
20859	// Development endpoints that are created without specifying a Glue version
20860	// default to Glue 0.9.
20861	//
20862	// You can specify a version of Python support for development endpoints by
20863	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
20864	// APIs. If no arguments are provided, the version defaults to Python 2.
20865	GlueVersion *string `min:"1" type:"string"`
20866
20867	// The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.
20868	NumberOfNodes *int64 `type:"integer"`
20869
20870	// The number of workers of a defined workerType that are allocated to the development
20871	// endpoint.
20872	//
20873	// The maximum number of workers you can define are 299 for G.1X, and 149 for
20874	// G.2X.
20875	NumberOfWorkers *int64 `type:"integer"`
20876
20877	// The public key to be used by this DevEndpoint for authentication. This attribute
20878	// is provided for backward compatibility because the recommended attribute
20879	// to use is public keys.
20880	PublicKey *string `type:"string"`
20881
20882	// A list of public keys to be used by the development endpoints for authentication.
20883	// The use of this attribute is preferred over a single public key because the
20884	// public keys allow you to have a different private key per client.
20885	//
20886	// If you previously created an endpoint with a public key, you must remove
20887	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
20888	// API with the public key content in the deletePublicKeys attribute, and the
20889	// list of new keys in the addPublicKeys attribute.
20890	PublicKeys []*string `type:"list"`
20891
20892	// The IAM role for the DevEndpoint.
20893	//
20894	// RoleArn is a required field
20895	RoleArn *string `type:"string" required:"true"`
20896
20897	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
20898	SecurityConfiguration *string `min:"1" type:"string"`
20899
20900	// Security group IDs for the security groups to be used by the new DevEndpoint.
20901	SecurityGroupIds []*string `type:"list"`
20902
20903	// The subnet ID for the new DevEndpoint to use.
20904	SubnetId *string `type:"string"`
20905
20906	// The tags to use with this DevEndpoint. You may use tags to limit access to
20907	// the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags
20908	// in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
20909	// in the developer guide.
20910	Tags map[string]*string `type:"map"`
20911
20912	// The type of predefined worker that is allocated to the development endpoint.
20913	// Accepts a value of Standard, G.1X, or G.2X.
20914	//
20915	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
20916	//    memory and a 50GB disk, and 2 executors per worker.
20917	//
20918	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
20919	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
20920	//    this worker type for memory-intensive jobs.
20921	//
20922	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
20923	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
20924	//    this worker type for memory-intensive jobs.
20925	//
20926	// Known issue: when a development endpoint is created with the G.2X WorkerType
20927	// configuration, the Spark drivers for the development endpoint will run on
20928	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
20929	WorkerType *string `type:"string" enum:"WorkerType"`
20930}
20931
20932// String returns the string representation
20933func (s CreateDevEndpointInput) String() string {
20934	return awsutil.Prettify(s)
20935}
20936
20937// GoString returns the string representation
20938func (s CreateDevEndpointInput) GoString() string {
20939	return s.String()
20940}
20941
20942// Validate inspects the fields of the type to determine if they are valid.
20943func (s *CreateDevEndpointInput) Validate() error {
20944	invalidParams := request.ErrInvalidParams{Context: "CreateDevEndpointInput"}
20945	if s.EndpointName == nil {
20946		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
20947	}
20948	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
20949		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
20950	}
20951	if s.RoleArn == nil {
20952		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
20953	}
20954	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
20955		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
20956	}
20957
20958	if invalidParams.Len() > 0 {
20959		return invalidParams
20960	}
20961	return nil
20962}
20963
20964// SetArguments sets the Arguments field's value.
20965func (s *CreateDevEndpointInput) SetArguments(v map[string]*string) *CreateDevEndpointInput {
20966	s.Arguments = v
20967	return s
20968}
20969
20970// SetEndpointName sets the EndpointName field's value.
20971func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput {
20972	s.EndpointName = &v
20973	return s
20974}
20975
20976// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
20977func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput {
20978	s.ExtraJarsS3Path = &v
20979	return s
20980}
20981
20982// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
20983func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput {
20984	s.ExtraPythonLibsS3Path = &v
20985	return s
20986}
20987
20988// SetGlueVersion sets the GlueVersion field's value.
20989func (s *CreateDevEndpointInput) SetGlueVersion(v string) *CreateDevEndpointInput {
20990	s.GlueVersion = &v
20991	return s
20992}
20993
20994// SetNumberOfNodes sets the NumberOfNodes field's value.
20995func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput {
20996	s.NumberOfNodes = &v
20997	return s
20998}
20999
21000// SetNumberOfWorkers sets the NumberOfWorkers field's value.
21001func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput {
21002	s.NumberOfWorkers = &v
21003	return s
21004}
21005
21006// SetPublicKey sets the PublicKey field's value.
21007func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput {
21008	s.PublicKey = &v
21009	return s
21010}
21011
21012// SetPublicKeys sets the PublicKeys field's value.
21013func (s *CreateDevEndpointInput) SetPublicKeys(v []*string) *CreateDevEndpointInput {
21014	s.PublicKeys = v
21015	return s
21016}
21017
21018// SetRoleArn sets the RoleArn field's value.
21019func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput {
21020	s.RoleArn = &v
21021	return s
21022}
21023
21024// SetSecurityConfiguration sets the SecurityConfiguration field's value.
21025func (s *CreateDevEndpointInput) SetSecurityConfiguration(v string) *CreateDevEndpointInput {
21026	s.SecurityConfiguration = &v
21027	return s
21028}
21029
21030// SetSecurityGroupIds sets the SecurityGroupIds field's value.
21031func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []*string) *CreateDevEndpointInput {
21032	s.SecurityGroupIds = v
21033	return s
21034}
21035
21036// SetSubnetId sets the SubnetId field's value.
21037func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput {
21038	s.SubnetId = &v
21039	return s
21040}
21041
21042// SetTags sets the Tags field's value.
21043func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpointInput {
21044	s.Tags = v
21045	return s
21046}
21047
21048// SetWorkerType sets the WorkerType field's value.
21049func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput {
21050	s.WorkerType = &v
21051	return s
21052}
21053
21054type CreateDevEndpointOutput struct {
21055	_ struct{} `type:"structure"`
21056
21057	// The map of arguments used to configure this DevEndpoint.
21058	//
21059	// Valid arguments are:
21060	//
21061	//    * "--enable-glue-datacatalog": ""
21062	//
21063	//    * "GLUE_PYTHON_VERSION": "3"
21064	//
21065	//    * "GLUE_PYTHON_VERSION": "2"
21066	//
21067	// You can specify a version of Python support for development endpoints by
21068	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
21069	// APIs. If no arguments are provided, the version defaults to Python 2.
21070	Arguments map[string]*string `type:"map"`
21071
21072	// The AWS Availability Zone where this DevEndpoint is located.
21073	AvailabilityZone *string `type:"string"`
21074
21075	// The point in time at which this DevEndpoint was created.
21076	CreatedTimestamp *time.Time `type:"timestamp"`
21077
21078	// The name assigned to the new DevEndpoint.
21079	EndpointName *string `type:"string"`
21080
21081	// Path to one or more Java .jar files in an S3 bucket that will be loaded in
21082	// your DevEndpoint.
21083	ExtraJarsS3Path *string `type:"string"`
21084
21085	// The paths to one or more Python libraries in an S3 bucket that will be loaded
21086	// in your DevEndpoint.
21087	ExtraPythonLibsS3Path *string `type:"string"`
21088
21089	// The reason for a current failure in this DevEndpoint.
21090	FailureReason *string `type:"string"`
21091
21092	// Glue version determines the versions of Apache Spark and Python that AWS
21093	// Glue supports. The Python version indicates the version supported for running
21094	// your ETL scripts on development endpoints.
21095	GlueVersion *string `min:"1" type:"string"`
21096
21097	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
21098	NumberOfNodes *int64 `type:"integer"`
21099
21100	// The number of workers of a defined workerType that are allocated to the development
21101	// endpoint.
21102	NumberOfWorkers *int64 `type:"integer"`
21103
21104	// The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint.
21105	RoleArn *string `type:"string"`
21106
21107	// The name of the SecurityConfiguration structure being used with this DevEndpoint.
21108	SecurityConfiguration *string `min:"1" type:"string"`
21109
21110	// The security groups assigned to the new DevEndpoint.
21111	SecurityGroupIds []*string `type:"list"`
21112
21113	// The current status of the new DevEndpoint.
21114	Status *string `type:"string"`
21115
21116	// The subnet ID assigned to the new DevEndpoint.
21117	SubnetId *string `type:"string"`
21118
21119	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
21120	VpcId *string `type:"string"`
21121
21122	// The type of predefined worker that is allocated to the development endpoint.
21123	// May be a value of Standard, G.1X, or G.2X.
21124	WorkerType *string `type:"string" enum:"WorkerType"`
21125
21126	// The address of the YARN endpoint used by this DevEndpoint.
21127	YarnEndpointAddress *string `type:"string"`
21128
21129	// The Apache Zeppelin port for the remote Apache Spark interpreter.
21130	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
21131}
21132
21133// String returns the string representation
21134func (s CreateDevEndpointOutput) String() string {
21135	return awsutil.Prettify(s)
21136}
21137
21138// GoString returns the string representation
21139func (s CreateDevEndpointOutput) GoString() string {
21140	return s.String()
21141}
21142
21143// SetArguments sets the Arguments field's value.
21144func (s *CreateDevEndpointOutput) SetArguments(v map[string]*string) *CreateDevEndpointOutput {
21145	s.Arguments = v
21146	return s
21147}
21148
21149// SetAvailabilityZone sets the AvailabilityZone field's value.
21150func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput {
21151	s.AvailabilityZone = &v
21152	return s
21153}
21154
21155// SetCreatedTimestamp sets the CreatedTimestamp field's value.
21156func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput {
21157	s.CreatedTimestamp = &v
21158	return s
21159}
21160
21161// SetEndpointName sets the EndpointName field's value.
21162func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput {
21163	s.EndpointName = &v
21164	return s
21165}
21166
21167// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
21168func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput {
21169	s.ExtraJarsS3Path = &v
21170	return s
21171}
21172
21173// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
21174func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput {
21175	s.ExtraPythonLibsS3Path = &v
21176	return s
21177}
21178
21179// SetFailureReason sets the FailureReason field's value.
21180func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput {
21181	s.FailureReason = &v
21182	return s
21183}
21184
21185// SetGlueVersion sets the GlueVersion field's value.
21186func (s *CreateDevEndpointOutput) SetGlueVersion(v string) *CreateDevEndpointOutput {
21187	s.GlueVersion = &v
21188	return s
21189}
21190
21191// SetNumberOfNodes sets the NumberOfNodes field's value.
21192func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput {
21193	s.NumberOfNodes = &v
21194	return s
21195}
21196
21197// SetNumberOfWorkers sets the NumberOfWorkers field's value.
21198func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput {
21199	s.NumberOfWorkers = &v
21200	return s
21201}
21202
21203// SetRoleArn sets the RoleArn field's value.
21204func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput {
21205	s.RoleArn = &v
21206	return s
21207}
21208
21209// SetSecurityConfiguration sets the SecurityConfiguration field's value.
21210func (s *CreateDevEndpointOutput) SetSecurityConfiguration(v string) *CreateDevEndpointOutput {
21211	s.SecurityConfiguration = &v
21212	return s
21213}
21214
21215// SetSecurityGroupIds sets the SecurityGroupIds field's value.
21216func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []*string) *CreateDevEndpointOutput {
21217	s.SecurityGroupIds = v
21218	return s
21219}
21220
21221// SetStatus sets the Status field's value.
21222func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput {
21223	s.Status = &v
21224	return s
21225}
21226
21227// SetSubnetId sets the SubnetId field's value.
21228func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput {
21229	s.SubnetId = &v
21230	return s
21231}
21232
21233// SetVpcId sets the VpcId field's value.
21234func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput {
21235	s.VpcId = &v
21236	return s
21237}
21238
21239// SetWorkerType sets the WorkerType field's value.
21240func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput {
21241	s.WorkerType = &v
21242	return s
21243}
21244
21245// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
21246func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput {
21247	s.YarnEndpointAddress = &v
21248	return s
21249}
21250
21251// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
21252func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput {
21253	s.ZeppelinRemoteSparkInterpreterPort = &v
21254	return s
21255}
21256
21257// Specifies a grok classifier for CreateClassifier to create.
21258type CreateGrokClassifierRequest struct {
21259	_ struct{} `type:"structure"`
21260
21261	// An identifier of the data format that the classifier matches, such as Twitter,
21262	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
21263	//
21264	// Classification is a required field
21265	Classification *string `type:"string" required:"true"`
21266
21267	// Optional custom grok patterns used by this classifier.
21268	CustomPatterns *string `type:"string"`
21269
21270	// The grok pattern used by this classifier.
21271	//
21272	// GrokPattern is a required field
21273	GrokPattern *string `min:"1" type:"string" required:"true"`
21274
21275	// The name of the new classifier.
21276	//
21277	// Name is a required field
21278	Name *string `min:"1" type:"string" required:"true"`
21279}
21280
21281// String returns the string representation
21282func (s CreateGrokClassifierRequest) String() string {
21283	return awsutil.Prettify(s)
21284}
21285
21286// GoString returns the string representation
21287func (s CreateGrokClassifierRequest) GoString() string {
21288	return s.String()
21289}
21290
21291// Validate inspects the fields of the type to determine if they are valid.
21292func (s *CreateGrokClassifierRequest) Validate() error {
21293	invalidParams := request.ErrInvalidParams{Context: "CreateGrokClassifierRequest"}
21294	if s.Classification == nil {
21295		invalidParams.Add(request.NewErrParamRequired("Classification"))
21296	}
21297	if s.GrokPattern == nil {
21298		invalidParams.Add(request.NewErrParamRequired("GrokPattern"))
21299	}
21300	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
21301		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
21302	}
21303	if s.Name == nil {
21304		invalidParams.Add(request.NewErrParamRequired("Name"))
21305	}
21306	if s.Name != nil && len(*s.Name) < 1 {
21307		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21308	}
21309
21310	if invalidParams.Len() > 0 {
21311		return invalidParams
21312	}
21313	return nil
21314}
21315
21316// SetClassification sets the Classification field's value.
21317func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest {
21318	s.Classification = &v
21319	return s
21320}
21321
21322// SetCustomPatterns sets the CustomPatterns field's value.
21323func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest {
21324	s.CustomPatterns = &v
21325	return s
21326}
21327
21328// SetGrokPattern sets the GrokPattern field's value.
21329func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest {
21330	s.GrokPattern = &v
21331	return s
21332}
21333
21334// SetName sets the Name field's value.
21335func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest {
21336	s.Name = &v
21337	return s
21338}
21339
21340type CreateJobInput struct {
21341	_ struct{} `type:"structure"`
21342
21343	// This parameter is deprecated. Use MaxCapacity instead.
21344	//
21345	// The number of AWS Glue data processing units (DPUs) to allocate to this Job.
21346	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
21347	// measure of processing power that consists of 4 vCPUs of compute capacity
21348	// and 16 GB of memory. For more information, see the AWS Glue pricing page
21349	// (https://aws.amazon.com/glue/pricing/).
21350	//
21351	// Deprecated: This property is deprecated, use MaxCapacity instead.
21352	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
21353
21354	// The JobCommand that executes this job.
21355	//
21356	// Command is a required field
21357	Command *JobCommand `type:"structure" required:"true"`
21358
21359	// The connections used for this job.
21360	Connections *ConnectionsList `type:"structure"`
21361
21362	// The default arguments for this job.
21363	//
21364	// You can specify arguments here that your own job-execution script consumes,
21365	// as well as arguments that AWS Glue itself consumes.
21366	//
21367	// For information about how to specify and consume your own Job arguments,
21368	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
21369	// topic in the developer guide.
21370	//
21371	// For information about the key-value pairs that AWS Glue consumes to set up
21372	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
21373	// topic in the developer guide.
21374	DefaultArguments map[string]*string `type:"map"`
21375
21376	// Description of the job being defined.
21377	Description *string `type:"string"`
21378
21379	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
21380	// for this job.
21381	ExecutionProperty *ExecutionProperty `type:"structure"`
21382
21383	// Glue version determines the versions of Apache Spark and Python that AWS
21384	// Glue supports. The Python version indicates the version supported for jobs
21385	// of type Spark.
21386	//
21387	// For more information about the available AWS Glue versions and corresponding
21388	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
21389	// in the developer guide.
21390	//
21391	// Jobs that are created without specifying a Glue version default to Glue 0.9.
21392	GlueVersion *string `min:"1" type:"string"`
21393
21394	// This field is reserved for future use.
21395	LogUri *string `type:"string"`
21396
21397	// The number of AWS Glue data processing units (DPUs) that can be allocated
21398	// when this job runs. A DPU is a relative measure of processing power that
21399	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
21400	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
21401	//
21402	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
21403	//
21404	// The value that can be allocated for MaxCapacity depends on whether you are
21405	// running a Python shell job or an Apache Spark ETL job:
21406	//
21407	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
21408	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
21409	//
21410	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl")
21411	//    or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you
21412	//    can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type
21413	//    cannot have a fractional DPU allocation.
21414	MaxCapacity *float64 `type:"double"`
21415
21416	// The maximum number of times to retry this job if it fails.
21417	MaxRetries *int64 `type:"integer"`
21418
21419	// The name you assign to this job definition. It must be unique in your account.
21420	//
21421	// Name is a required field
21422	Name *string `min:"1" type:"string" required:"true"`
21423
21424	// Non-overridable arguments for this job, specified as name-value pairs.
21425	NonOverridableArguments map[string]*string `type:"map"`
21426
21427	// Specifies configuration properties of a job notification.
21428	NotificationProperty *NotificationProperty `type:"structure"`
21429
21430	// The number of workers of a defined workerType that are allocated when a job
21431	// runs.
21432	//
21433	// The maximum number of workers you can define are 299 for G.1X, and 149 for
21434	// G.2X.
21435	NumberOfWorkers *int64 `type:"integer"`
21436
21437	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
21438	// job.
21439	//
21440	// Role is a required field
21441	Role *string `type:"string" required:"true"`
21442
21443	// The name of the SecurityConfiguration structure to be used with this job.
21444	SecurityConfiguration *string `min:"1" type:"string"`
21445
21446	// The tags to use with this job. You may use tags to limit access to the job.
21447	// For more information about tags in AWS Glue, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
21448	// in the developer guide.
21449	Tags map[string]*string `type:"map"`
21450
21451	// The job timeout in minutes. This is the maximum time that a job run can consume
21452	// resources before it is terminated and enters TIMEOUT status. The default
21453	// is 2,880 minutes (48 hours).
21454	Timeout *int64 `min:"1" type:"integer"`
21455
21456	// The type of predefined worker that is allocated when a job runs. Accepts
21457	// a value of Standard, G.1X, or G.2X.
21458	//
21459	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
21460	//    memory and a 50GB disk, and 2 executors per worker.
21461	//
21462	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
21463	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
21464	//    this worker type for memory-intensive jobs.
21465	//
21466	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
21467	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
21468	//    this worker type for memory-intensive jobs.
21469	WorkerType *string `type:"string" enum:"WorkerType"`
21470}
21471
21472// String returns the string representation
21473func (s CreateJobInput) String() string {
21474	return awsutil.Prettify(s)
21475}
21476
21477// GoString returns the string representation
21478func (s CreateJobInput) GoString() string {
21479	return s.String()
21480}
21481
21482// Validate inspects the fields of the type to determine if they are valid.
21483func (s *CreateJobInput) Validate() error {
21484	invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"}
21485	if s.Command == nil {
21486		invalidParams.Add(request.NewErrParamRequired("Command"))
21487	}
21488	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
21489		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
21490	}
21491	if s.Name == nil {
21492		invalidParams.Add(request.NewErrParamRequired("Name"))
21493	}
21494	if s.Name != nil && len(*s.Name) < 1 {
21495		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21496	}
21497	if s.Role == nil {
21498		invalidParams.Add(request.NewErrParamRequired("Role"))
21499	}
21500	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
21501		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
21502	}
21503	if s.Timeout != nil && *s.Timeout < 1 {
21504		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
21505	}
21506	if s.NotificationProperty != nil {
21507		if err := s.NotificationProperty.Validate(); err != nil {
21508			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
21509		}
21510	}
21511
21512	if invalidParams.Len() > 0 {
21513		return invalidParams
21514	}
21515	return nil
21516}
21517
21518// SetAllocatedCapacity sets the AllocatedCapacity field's value.
21519func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput {
21520	s.AllocatedCapacity = &v
21521	return s
21522}
21523
21524// SetCommand sets the Command field's value.
21525func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput {
21526	s.Command = v
21527	return s
21528}
21529
21530// SetConnections sets the Connections field's value.
21531func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput {
21532	s.Connections = v
21533	return s
21534}
21535
21536// SetDefaultArguments sets the DefaultArguments field's value.
21537func (s *CreateJobInput) SetDefaultArguments(v map[string]*string) *CreateJobInput {
21538	s.DefaultArguments = v
21539	return s
21540}
21541
21542// SetDescription sets the Description field's value.
21543func (s *CreateJobInput) SetDescription(v string) *CreateJobInput {
21544	s.Description = &v
21545	return s
21546}
21547
21548// SetExecutionProperty sets the ExecutionProperty field's value.
21549func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput {
21550	s.ExecutionProperty = v
21551	return s
21552}
21553
21554// SetGlueVersion sets the GlueVersion field's value.
21555func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput {
21556	s.GlueVersion = &v
21557	return s
21558}
21559
21560// SetLogUri sets the LogUri field's value.
21561func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput {
21562	s.LogUri = &v
21563	return s
21564}
21565
21566// SetMaxCapacity sets the MaxCapacity field's value.
21567func (s *CreateJobInput) SetMaxCapacity(v float64) *CreateJobInput {
21568	s.MaxCapacity = &v
21569	return s
21570}
21571
21572// SetMaxRetries sets the MaxRetries field's value.
21573func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput {
21574	s.MaxRetries = &v
21575	return s
21576}
21577
21578// SetName sets the Name field's value.
21579func (s *CreateJobInput) SetName(v string) *CreateJobInput {
21580	s.Name = &v
21581	return s
21582}
21583
21584// SetNonOverridableArguments sets the NonOverridableArguments field's value.
21585func (s *CreateJobInput) SetNonOverridableArguments(v map[string]*string) *CreateJobInput {
21586	s.NonOverridableArguments = v
21587	return s
21588}
21589
21590// SetNotificationProperty sets the NotificationProperty field's value.
21591func (s *CreateJobInput) SetNotificationProperty(v *NotificationProperty) *CreateJobInput {
21592	s.NotificationProperty = v
21593	return s
21594}
21595
21596// SetNumberOfWorkers sets the NumberOfWorkers field's value.
21597func (s *CreateJobInput) SetNumberOfWorkers(v int64) *CreateJobInput {
21598	s.NumberOfWorkers = &v
21599	return s
21600}
21601
21602// SetRole sets the Role field's value.
21603func (s *CreateJobInput) SetRole(v string) *CreateJobInput {
21604	s.Role = &v
21605	return s
21606}
21607
21608// SetSecurityConfiguration sets the SecurityConfiguration field's value.
21609func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput {
21610	s.SecurityConfiguration = &v
21611	return s
21612}
21613
21614// SetTags sets the Tags field's value.
21615func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput {
21616	s.Tags = v
21617	return s
21618}
21619
21620// SetTimeout sets the Timeout field's value.
21621func (s *CreateJobInput) SetTimeout(v int64) *CreateJobInput {
21622	s.Timeout = &v
21623	return s
21624}
21625
21626// SetWorkerType sets the WorkerType field's value.
21627func (s *CreateJobInput) SetWorkerType(v string) *CreateJobInput {
21628	s.WorkerType = &v
21629	return s
21630}
21631
21632type CreateJobOutput struct {
21633	_ struct{} `type:"structure"`
21634
21635	// The unique name that was provided for this job definition.
21636	Name *string `min:"1" type:"string"`
21637}
21638
21639// String returns the string representation
21640func (s CreateJobOutput) String() string {
21641	return awsutil.Prettify(s)
21642}
21643
21644// GoString returns the string representation
21645func (s CreateJobOutput) GoString() string {
21646	return s.String()
21647}
21648
21649// SetName sets the Name field's value.
21650func (s *CreateJobOutput) SetName(v string) *CreateJobOutput {
21651	s.Name = &v
21652	return s
21653}
21654
21655// Specifies a JSON classifier for CreateClassifier to create.
21656type CreateJsonClassifierRequest struct {
21657	_ struct{} `type:"structure"`
21658
21659	// A JsonPath string defining the JSON data for the classifier to classify.
21660	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
21661	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
21662	//
21663	// JsonPath is a required field
21664	JsonPath *string `type:"string" required:"true"`
21665
21666	// The name of the classifier.
21667	//
21668	// Name is a required field
21669	Name *string `min:"1" type:"string" required:"true"`
21670}
21671
21672// String returns the string representation
21673func (s CreateJsonClassifierRequest) String() string {
21674	return awsutil.Prettify(s)
21675}
21676
21677// GoString returns the string representation
21678func (s CreateJsonClassifierRequest) GoString() string {
21679	return s.String()
21680}
21681
21682// Validate inspects the fields of the type to determine if they are valid.
21683func (s *CreateJsonClassifierRequest) Validate() error {
21684	invalidParams := request.ErrInvalidParams{Context: "CreateJsonClassifierRequest"}
21685	if s.JsonPath == nil {
21686		invalidParams.Add(request.NewErrParamRequired("JsonPath"))
21687	}
21688	if s.Name == nil {
21689		invalidParams.Add(request.NewErrParamRequired("Name"))
21690	}
21691	if s.Name != nil && len(*s.Name) < 1 {
21692		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21693	}
21694
21695	if invalidParams.Len() > 0 {
21696		return invalidParams
21697	}
21698	return nil
21699}
21700
21701// SetJsonPath sets the JsonPath field's value.
21702func (s *CreateJsonClassifierRequest) SetJsonPath(v string) *CreateJsonClassifierRequest {
21703	s.JsonPath = &v
21704	return s
21705}
21706
21707// SetName sets the Name field's value.
21708func (s *CreateJsonClassifierRequest) SetName(v string) *CreateJsonClassifierRequest {
21709	s.Name = &v
21710	return s
21711}
21712
21713type CreateMLTransformInput struct {
21714	_ struct{} `type:"structure"`
21715
21716	// A description of the machine learning transform that is being defined. The
21717	// default is an empty string.
21718	Description *string `type:"string"`
21719
21720	// This value determines which version of AWS Glue this machine learning transform
21721	// is compatible with. Glue 1.0 is recommended for most customers. If the value
21722	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
21723	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
21724	// in the developer guide.
21725	GlueVersion *string `min:"1" type:"string"`
21726
21727	// A list of AWS Glue table definitions used by the transform.
21728	//
21729	// InputRecordTables is a required field
21730	InputRecordTables []*Table `type:"list" required:"true"`
21731
21732	// The number of AWS Glue data processing units (DPUs) that are allocated to
21733	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
21734	// is 10. A DPU is a relative measure of processing power that consists of 4
21735	// vCPUs of compute capacity and 16 GB of memory. For more information, see
21736	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
21737	//
21738	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
21739	//
21740	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
21741	//    be set.
21742	//
21743	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
21744	//    be set.
21745	//
21746	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
21747	//
21748	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
21749	//
21750	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
21751	// field is set automatically and becomes read-only.
21752	//
21753	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
21754	// field is set automatically and becomes read-only.
21755	MaxCapacity *float64 `type:"double"`
21756
21757	// The maximum number of times to retry a task for this transform after a task
21758	// run fails.
21759	MaxRetries *int64 `type:"integer"`
21760
21761	// The unique name that you give the transform when you create it.
21762	//
21763	// Name is a required field
21764	Name *string `min:"1" type:"string" required:"true"`
21765
21766	// The number of workers of a defined workerType that are allocated when this
21767	// task runs.
21768	//
21769	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
21770	NumberOfWorkers *int64 `type:"integer"`
21771
21772	// The algorithmic parameters that are specific to the transform type used.
21773	// Conditionally dependent on the transform type.
21774	//
21775	// Parameters is a required field
21776	Parameters *TransformParameters `type:"structure" required:"true"`
21777
21778	// The name or Amazon Resource Name (ARN) of the IAM role with the required
21779	// permissions. The required permissions include both AWS Glue service role
21780	// permissions to AWS Glue resources, and Amazon S3 permissions required by
21781	// the transform.
21782	//
21783	//    * This role needs AWS Glue service role permissions to allow access to
21784	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
21785	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
21786	//
21787	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
21788	//    S3) sources, targets, temporary directory, scripts, and any libraries
21789	//    used by the task run for this transform.
21790	//
21791	// Role is a required field
21792	Role *string `type:"string" required:"true"`
21793
21794	// The tags to use with this machine learning transform. You may use tags to
21795	// limit access to the machine learning transform. For more information about
21796	// tags in AWS Glue, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
21797	// in the developer guide.
21798	Tags map[string]*string `type:"map"`
21799
21800	// The timeout of the task run for this transform in minutes. This is the maximum
21801	// time that a task run for this transform can consume resources before it is
21802	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
21803	Timeout *int64 `min:"1" type:"integer"`
21804
21805	// The encryption-at-rest settings of the transform that apply to accessing
21806	// user data. Machine learning transforms can access user data encrypted in
21807	// Amazon S3 using KMS.
21808	TransformEncryption *TransformEncryption `type:"structure"`
21809
21810	// The type of predefined worker that is allocated when this task runs. Accepts
21811	// a value of Standard, G.1X, or G.2X.
21812	//
21813	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
21814	//    memory and a 50GB disk, and 2 executors per worker.
21815	//
21816	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
21817	//    and a 64GB disk, and 1 executor per worker.
21818	//
21819	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
21820	//    and a 128GB disk, and 1 executor per worker.
21821	//
21822	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
21823	//
21824	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
21825	//    be set.
21826	//
21827	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
21828	//    be set.
21829	//
21830	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
21831	//
21832	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
21833	WorkerType *string `type:"string" enum:"WorkerType"`
21834}
21835
21836// String returns the string representation
21837func (s CreateMLTransformInput) String() string {
21838	return awsutil.Prettify(s)
21839}
21840
21841// GoString returns the string representation
21842func (s CreateMLTransformInput) GoString() string {
21843	return s.String()
21844}
21845
21846// Validate inspects the fields of the type to determine if they are valid.
21847func (s *CreateMLTransformInput) Validate() error {
21848	invalidParams := request.ErrInvalidParams{Context: "CreateMLTransformInput"}
21849	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
21850		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
21851	}
21852	if s.InputRecordTables == nil {
21853		invalidParams.Add(request.NewErrParamRequired("InputRecordTables"))
21854	}
21855	if s.Name == nil {
21856		invalidParams.Add(request.NewErrParamRequired("Name"))
21857	}
21858	if s.Name != nil && len(*s.Name) < 1 {
21859		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21860	}
21861	if s.Parameters == nil {
21862		invalidParams.Add(request.NewErrParamRequired("Parameters"))
21863	}
21864	if s.Role == nil {
21865		invalidParams.Add(request.NewErrParamRequired("Role"))
21866	}
21867	if s.Timeout != nil && *s.Timeout < 1 {
21868		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
21869	}
21870	if s.InputRecordTables != nil {
21871		for i, v := range s.InputRecordTables {
21872			if v == nil {
21873				continue
21874			}
21875			if err := v.Validate(); err != nil {
21876				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputRecordTables", i), err.(request.ErrInvalidParams))
21877			}
21878		}
21879	}
21880	if s.Parameters != nil {
21881		if err := s.Parameters.Validate(); err != nil {
21882			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
21883		}
21884	}
21885	if s.TransformEncryption != nil {
21886		if err := s.TransformEncryption.Validate(); err != nil {
21887			invalidParams.AddNested("TransformEncryption", err.(request.ErrInvalidParams))
21888		}
21889	}
21890
21891	if invalidParams.Len() > 0 {
21892		return invalidParams
21893	}
21894	return nil
21895}
21896
21897// SetDescription sets the Description field's value.
21898func (s *CreateMLTransformInput) SetDescription(v string) *CreateMLTransformInput {
21899	s.Description = &v
21900	return s
21901}
21902
21903// SetGlueVersion sets the GlueVersion field's value.
21904func (s *CreateMLTransformInput) SetGlueVersion(v string) *CreateMLTransformInput {
21905	s.GlueVersion = &v
21906	return s
21907}
21908
21909// SetInputRecordTables sets the InputRecordTables field's value.
21910func (s *CreateMLTransformInput) SetInputRecordTables(v []*Table) *CreateMLTransformInput {
21911	s.InputRecordTables = v
21912	return s
21913}
21914
21915// SetMaxCapacity sets the MaxCapacity field's value.
21916func (s *CreateMLTransformInput) SetMaxCapacity(v float64) *CreateMLTransformInput {
21917	s.MaxCapacity = &v
21918	return s
21919}
21920
21921// SetMaxRetries sets the MaxRetries field's value.
21922func (s *CreateMLTransformInput) SetMaxRetries(v int64) *CreateMLTransformInput {
21923	s.MaxRetries = &v
21924	return s
21925}
21926
21927// SetName sets the Name field's value.
21928func (s *CreateMLTransformInput) SetName(v string) *CreateMLTransformInput {
21929	s.Name = &v
21930	return s
21931}
21932
21933// SetNumberOfWorkers sets the NumberOfWorkers field's value.
21934func (s *CreateMLTransformInput) SetNumberOfWorkers(v int64) *CreateMLTransformInput {
21935	s.NumberOfWorkers = &v
21936	return s
21937}
21938
21939// SetParameters sets the Parameters field's value.
21940func (s *CreateMLTransformInput) SetParameters(v *TransformParameters) *CreateMLTransformInput {
21941	s.Parameters = v
21942	return s
21943}
21944
21945// SetRole sets the Role field's value.
21946func (s *CreateMLTransformInput) SetRole(v string) *CreateMLTransformInput {
21947	s.Role = &v
21948	return s
21949}
21950
21951// SetTags sets the Tags field's value.
21952func (s *CreateMLTransformInput) SetTags(v map[string]*string) *CreateMLTransformInput {
21953	s.Tags = v
21954	return s
21955}
21956
21957// SetTimeout sets the Timeout field's value.
21958func (s *CreateMLTransformInput) SetTimeout(v int64) *CreateMLTransformInput {
21959	s.Timeout = &v
21960	return s
21961}
21962
21963// SetTransformEncryption sets the TransformEncryption field's value.
21964func (s *CreateMLTransformInput) SetTransformEncryption(v *TransformEncryption) *CreateMLTransformInput {
21965	s.TransformEncryption = v
21966	return s
21967}
21968
21969// SetWorkerType sets the WorkerType field's value.
21970func (s *CreateMLTransformInput) SetWorkerType(v string) *CreateMLTransformInput {
21971	s.WorkerType = &v
21972	return s
21973}
21974
21975type CreateMLTransformOutput struct {
21976	_ struct{} `type:"structure"`
21977
21978	// A unique identifier that is generated for the transform.
21979	TransformId *string `min:"1" type:"string"`
21980}
21981
21982// String returns the string representation
21983func (s CreateMLTransformOutput) String() string {
21984	return awsutil.Prettify(s)
21985}
21986
21987// GoString returns the string representation
21988func (s CreateMLTransformOutput) GoString() string {
21989	return s.String()
21990}
21991
21992// SetTransformId sets the TransformId field's value.
21993func (s *CreateMLTransformOutput) SetTransformId(v string) *CreateMLTransformOutput {
21994	s.TransformId = &v
21995	return s
21996}
21997
21998type CreatePartitionIndexInput struct {
21999	_ struct{} `type:"structure"`
22000
22001	// The catalog ID where the table resides.
22002	CatalogId *string `min:"1" type:"string"`
22003
22004	// Specifies the name of a database in which you want to create a partition
22005	// index.
22006	//
22007	// DatabaseName is a required field
22008	DatabaseName *string `min:"1" type:"string" required:"true"`
22009
22010	// Specifies a PartitionIndex structure to create a partition index in an existing
22011	// table.
22012	//
22013	// PartitionIndex is a required field
22014	PartitionIndex *PartitionIndex `type:"structure" required:"true"`
22015
22016	// Specifies the name of a table in which you want to create a partition index.
22017	//
22018	// TableName is a required field
22019	TableName *string `min:"1" type:"string" required:"true"`
22020}
22021
22022// String returns the string representation
22023func (s CreatePartitionIndexInput) String() string {
22024	return awsutil.Prettify(s)
22025}
22026
22027// GoString returns the string representation
22028func (s CreatePartitionIndexInput) GoString() string {
22029	return s.String()
22030}
22031
22032// Validate inspects the fields of the type to determine if they are valid.
22033func (s *CreatePartitionIndexInput) Validate() error {
22034	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionIndexInput"}
22035	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22036		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22037	}
22038	if s.DatabaseName == nil {
22039		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22040	}
22041	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22042		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22043	}
22044	if s.PartitionIndex == nil {
22045		invalidParams.Add(request.NewErrParamRequired("PartitionIndex"))
22046	}
22047	if s.TableName == nil {
22048		invalidParams.Add(request.NewErrParamRequired("TableName"))
22049	}
22050	if s.TableName != nil && len(*s.TableName) < 1 {
22051		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22052	}
22053	if s.PartitionIndex != nil {
22054		if err := s.PartitionIndex.Validate(); err != nil {
22055			invalidParams.AddNested("PartitionIndex", err.(request.ErrInvalidParams))
22056		}
22057	}
22058
22059	if invalidParams.Len() > 0 {
22060		return invalidParams
22061	}
22062	return nil
22063}
22064
22065// SetCatalogId sets the CatalogId field's value.
22066func (s *CreatePartitionIndexInput) SetCatalogId(v string) *CreatePartitionIndexInput {
22067	s.CatalogId = &v
22068	return s
22069}
22070
22071// SetDatabaseName sets the DatabaseName field's value.
22072func (s *CreatePartitionIndexInput) SetDatabaseName(v string) *CreatePartitionIndexInput {
22073	s.DatabaseName = &v
22074	return s
22075}
22076
22077// SetPartitionIndex sets the PartitionIndex field's value.
22078func (s *CreatePartitionIndexInput) SetPartitionIndex(v *PartitionIndex) *CreatePartitionIndexInput {
22079	s.PartitionIndex = v
22080	return s
22081}
22082
22083// SetTableName sets the TableName field's value.
22084func (s *CreatePartitionIndexInput) SetTableName(v string) *CreatePartitionIndexInput {
22085	s.TableName = &v
22086	return s
22087}
22088
22089type CreatePartitionIndexOutput struct {
22090	_ struct{} `type:"structure"`
22091}
22092
22093// String returns the string representation
22094func (s CreatePartitionIndexOutput) String() string {
22095	return awsutil.Prettify(s)
22096}
22097
22098// GoString returns the string representation
22099func (s CreatePartitionIndexOutput) GoString() string {
22100	return s.String()
22101}
22102
22103type CreatePartitionInput struct {
22104	_ struct{} `type:"structure"`
22105
22106	// The AWS account ID of the catalog in which the partition is to be created.
22107	CatalogId *string `min:"1" type:"string"`
22108
22109	// The name of the metadata database in which the partition is to be created.
22110	//
22111	// DatabaseName is a required field
22112	DatabaseName *string `min:"1" type:"string" required:"true"`
22113
22114	// A PartitionInput structure defining the partition to be created.
22115	//
22116	// PartitionInput is a required field
22117	PartitionInput *PartitionInput `type:"structure" required:"true"`
22118
22119	// The name of the metadata table in which the partition is to be created.
22120	//
22121	// TableName is a required field
22122	TableName *string `min:"1" type:"string" required:"true"`
22123}
22124
22125// String returns the string representation
22126func (s CreatePartitionInput) String() string {
22127	return awsutil.Prettify(s)
22128}
22129
22130// GoString returns the string representation
22131func (s CreatePartitionInput) GoString() string {
22132	return s.String()
22133}
22134
22135// Validate inspects the fields of the type to determine if they are valid.
22136func (s *CreatePartitionInput) Validate() error {
22137	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"}
22138	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22139		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22140	}
22141	if s.DatabaseName == nil {
22142		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22143	}
22144	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22145		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22146	}
22147	if s.PartitionInput == nil {
22148		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
22149	}
22150	if s.TableName == nil {
22151		invalidParams.Add(request.NewErrParamRequired("TableName"))
22152	}
22153	if s.TableName != nil && len(*s.TableName) < 1 {
22154		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22155	}
22156	if s.PartitionInput != nil {
22157		if err := s.PartitionInput.Validate(); err != nil {
22158			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
22159		}
22160	}
22161
22162	if invalidParams.Len() > 0 {
22163		return invalidParams
22164	}
22165	return nil
22166}
22167
22168// SetCatalogId sets the CatalogId field's value.
22169func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput {
22170	s.CatalogId = &v
22171	return s
22172}
22173
22174// SetDatabaseName sets the DatabaseName field's value.
22175func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput {
22176	s.DatabaseName = &v
22177	return s
22178}
22179
22180// SetPartitionInput sets the PartitionInput field's value.
22181func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput {
22182	s.PartitionInput = v
22183	return s
22184}
22185
22186// SetTableName sets the TableName field's value.
22187func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput {
22188	s.TableName = &v
22189	return s
22190}
22191
22192type CreatePartitionOutput struct {
22193	_ struct{} `type:"structure"`
22194}
22195
22196// String returns the string representation
22197func (s CreatePartitionOutput) String() string {
22198	return awsutil.Prettify(s)
22199}
22200
22201// GoString returns the string representation
22202func (s CreatePartitionOutput) GoString() string {
22203	return s.String()
22204}
22205
22206type CreateRegistryInput struct {
22207	_ struct{} `type:"structure"`
22208
22209	// A description of the registry. If description is not provided, there will
22210	// not be any default value for this.
22211	Description *string `type:"string"`
22212
22213	// Name of the registry to be created of max length of 255, and may only contain
22214	// letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.
22215	//
22216	// RegistryName is a required field
22217	RegistryName *string `min:"1" type:"string" required:"true"`
22218
22219	// AWS tags that contain a key value pair and may be searched by console, command
22220	// line, or API.
22221	Tags map[string]*string `type:"map"`
22222}
22223
22224// String returns the string representation
22225func (s CreateRegistryInput) String() string {
22226	return awsutil.Prettify(s)
22227}
22228
22229// GoString returns the string representation
22230func (s CreateRegistryInput) GoString() string {
22231	return s.String()
22232}
22233
22234// Validate inspects the fields of the type to determine if they are valid.
22235func (s *CreateRegistryInput) Validate() error {
22236	invalidParams := request.ErrInvalidParams{Context: "CreateRegistryInput"}
22237	if s.RegistryName == nil {
22238		invalidParams.Add(request.NewErrParamRequired("RegistryName"))
22239	}
22240	if s.RegistryName != nil && len(*s.RegistryName) < 1 {
22241		invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1))
22242	}
22243
22244	if invalidParams.Len() > 0 {
22245		return invalidParams
22246	}
22247	return nil
22248}
22249
22250// SetDescription sets the Description field's value.
22251func (s *CreateRegistryInput) SetDescription(v string) *CreateRegistryInput {
22252	s.Description = &v
22253	return s
22254}
22255
22256// SetRegistryName sets the RegistryName field's value.
22257func (s *CreateRegistryInput) SetRegistryName(v string) *CreateRegistryInput {
22258	s.RegistryName = &v
22259	return s
22260}
22261
22262// SetTags sets the Tags field's value.
22263func (s *CreateRegistryInput) SetTags(v map[string]*string) *CreateRegistryInput {
22264	s.Tags = v
22265	return s
22266}
22267
22268type CreateRegistryOutput struct {
22269	_ struct{} `type:"structure"`
22270
22271	// A description of the registry.
22272	Description *string `type:"string"`
22273
22274	// The Amazon Resource Name (ARN) of the newly created registry.
22275	RegistryArn *string `min:"1" type:"string"`
22276
22277	// The name of the registry.
22278	RegistryName *string `min:"1" type:"string"`
22279
22280	// The tags for the registry.
22281	Tags map[string]*string `type:"map"`
22282}
22283
22284// String returns the string representation
22285func (s CreateRegistryOutput) String() string {
22286	return awsutil.Prettify(s)
22287}
22288
22289// GoString returns the string representation
22290func (s CreateRegistryOutput) GoString() string {
22291	return s.String()
22292}
22293
22294// SetDescription sets the Description field's value.
22295func (s *CreateRegistryOutput) SetDescription(v string) *CreateRegistryOutput {
22296	s.Description = &v
22297	return s
22298}
22299
22300// SetRegistryArn sets the RegistryArn field's value.
22301func (s *CreateRegistryOutput) SetRegistryArn(v string) *CreateRegistryOutput {
22302	s.RegistryArn = &v
22303	return s
22304}
22305
22306// SetRegistryName sets the RegistryName field's value.
22307func (s *CreateRegistryOutput) SetRegistryName(v string) *CreateRegistryOutput {
22308	s.RegistryName = &v
22309	return s
22310}
22311
22312// SetTags sets the Tags field's value.
22313func (s *CreateRegistryOutput) SetTags(v map[string]*string) *CreateRegistryOutput {
22314	s.Tags = v
22315	return s
22316}
22317
22318type CreateSchemaInput struct {
22319	_ struct{} `type:"structure"`
22320
22321	// The compatibility mode of the schema. The possible values are:
22322	//
22323	//    * NONE: No compatibility mode applies. You can use this choice in development
22324	//    scenarios or if you do not know the compatibility mode that you want to
22325	//    apply to schemas. Any new version added will be accepted without undergoing
22326	//    a compatibility check.
22327	//
22328	//    * DISABLED: This compatibility choice prevents versioning for a particular
22329	//    schema. You can use this choice to prevent future versioning of a schema.
22330	//
22331	//    * BACKWARD: This compatibility choice is recommended as it allows data
22332	//    receivers to read both the current and one previous schema version. This
22333	//    means that for instance, a new schema version cannot drop data fields
22334	//    or change the type of these fields, so they can't be read by readers using
22335	//    the previous version.
22336	//
22337	//    * BACKWARD_ALL: This compatibility choice allows data receivers to read
22338	//    both the current and all previous schema versions. You can use this choice
22339	//    when you need to delete fields or add optional fields, and check compatibility
22340	//    against all previous schema versions.
22341	//
22342	//    * FORWARD: This compatibility choice allows data receivers to read both
22343	//    the current and one next schema version, but not necessarily later versions.
22344	//    You can use this choice when you need to add fields or delete optional
22345	//    fields, but only check compatibility against the last schema version.
22346	//
22347	//    * FORWARD_ALL: This compatibility choice allows data receivers to read
22348	//    written by producers of any new registered schema. You can use this choice
22349	//    when you need to add fields or delete optional fields, and check compatibility
22350	//    against all previous schema versions.
22351	//
22352	//    * FULL: This compatibility choice allows data receivers to read data written
22353	//    by producers using the previous or next version of the schema, but not
22354	//    necessarily earlier or later versions. You can use this choice when you
22355	//    need to add or remove optional fields, but only check compatibility against
22356	//    the last schema version.
22357	//
22358	//    * FULL_ALL: This compatibility choice allows data receivers to read data
22359	//    written by producers using all previous schema versions. You can use this
22360	//    choice when you need to add or remove optional fields, and check compatibility
22361	//    against all previous schema versions.
22362	Compatibility *string `type:"string" enum:"Compatibility"`
22363
22364	// The data format of the schema definition. Currently only AVRO is supported.
22365	//
22366	// DataFormat is a required field
22367	DataFormat *string `type:"string" required:"true" enum:"DataFormat"`
22368
22369	// An optional description of the schema. If description is not provided, there
22370	// will not be any automatic default value for this.
22371	Description *string `type:"string"`
22372
22373	// This is a wrapper shape to contain the registry identity fields. If this
22374	// is not provided, the default registry will be used. The ARN format for the
22375	// same will be: arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id.
22376	RegistryId *RegistryId `type:"structure"`
22377
22378	// The schema definition using the DataFormat setting for SchemaName.
22379	SchemaDefinition *string `min:"1" type:"string"`
22380
22381	// Name of the schema to be created of max length of 255, and may only contain
22382	// letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.
22383	//
22384	// SchemaName is a required field
22385	SchemaName *string `min:"1" type:"string" required:"true"`
22386
22387	// AWS tags that contain a key value pair and may be searched by console, command
22388	// line, or API. If specified, follows the AWS tags-on-create pattern.
22389	Tags map[string]*string `type:"map"`
22390}
22391
22392// String returns the string representation
22393func (s CreateSchemaInput) String() string {
22394	return awsutil.Prettify(s)
22395}
22396
22397// GoString returns the string representation
22398func (s CreateSchemaInput) GoString() string {
22399	return s.String()
22400}
22401
22402// Validate inspects the fields of the type to determine if they are valid.
22403func (s *CreateSchemaInput) Validate() error {
22404	invalidParams := request.ErrInvalidParams{Context: "CreateSchemaInput"}
22405	if s.DataFormat == nil {
22406		invalidParams.Add(request.NewErrParamRequired("DataFormat"))
22407	}
22408	if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 {
22409		invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1))
22410	}
22411	if s.SchemaName == nil {
22412		invalidParams.Add(request.NewErrParamRequired("SchemaName"))
22413	}
22414	if s.SchemaName != nil && len(*s.SchemaName) < 1 {
22415		invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1))
22416	}
22417	if s.RegistryId != nil {
22418		if err := s.RegistryId.Validate(); err != nil {
22419			invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams))
22420		}
22421	}
22422
22423	if invalidParams.Len() > 0 {
22424		return invalidParams
22425	}
22426	return nil
22427}
22428
22429// SetCompatibility sets the Compatibility field's value.
22430func (s *CreateSchemaInput) SetCompatibility(v string) *CreateSchemaInput {
22431	s.Compatibility = &v
22432	return s
22433}
22434
22435// SetDataFormat sets the DataFormat field's value.
22436func (s *CreateSchemaInput) SetDataFormat(v string) *CreateSchemaInput {
22437	s.DataFormat = &v
22438	return s
22439}
22440
22441// SetDescription sets the Description field's value.
22442func (s *CreateSchemaInput) SetDescription(v string) *CreateSchemaInput {
22443	s.Description = &v
22444	return s
22445}
22446
22447// SetRegistryId sets the RegistryId field's value.
22448func (s *CreateSchemaInput) SetRegistryId(v *RegistryId) *CreateSchemaInput {
22449	s.RegistryId = v
22450	return s
22451}
22452
22453// SetSchemaDefinition sets the SchemaDefinition field's value.
22454func (s *CreateSchemaInput) SetSchemaDefinition(v string) *CreateSchemaInput {
22455	s.SchemaDefinition = &v
22456	return s
22457}
22458
22459// SetSchemaName sets the SchemaName field's value.
22460func (s *CreateSchemaInput) SetSchemaName(v string) *CreateSchemaInput {
22461	s.SchemaName = &v
22462	return s
22463}
22464
22465// SetTags sets the Tags field's value.
22466func (s *CreateSchemaInput) SetTags(v map[string]*string) *CreateSchemaInput {
22467	s.Tags = v
22468	return s
22469}
22470
22471type CreateSchemaOutput struct {
22472	_ struct{} `type:"structure"`
22473
22474	// The schema compatibility mode.
22475	Compatibility *string `type:"string" enum:"Compatibility"`
22476
22477	// The data format of the schema definition. Currently only AVRO is supported.
22478	DataFormat *string `type:"string" enum:"DataFormat"`
22479
22480	// A description of the schema if specified when created.
22481	Description *string `type:"string"`
22482
22483	// The latest version of the schema associated with the returned schema definition.
22484	LatestSchemaVersion *int64 `min:"1" type:"long"`
22485
22486	// The next version of the schema associated with the returned schema definition.
22487	NextSchemaVersion *int64 `min:"1" type:"long"`
22488
22489	// The Amazon Resource Name (ARN) of the registry.
22490	RegistryArn *string `min:"1" type:"string"`
22491
22492	// The name of the registry.
22493	RegistryName *string `min:"1" type:"string"`
22494
22495	// The Amazon Resource Name (ARN) of the schema.
22496	SchemaArn *string `min:"1" type:"string"`
22497
22498	// The version number of the checkpoint (the last time the compatibility mode
22499	// was changed).
22500	SchemaCheckpoint *int64 `min:"1" type:"long"`
22501
22502	// The name of the schema.
22503	SchemaName *string `min:"1" type:"string"`
22504
22505	// The status of the schema.
22506	SchemaStatus *string `type:"string" enum:"SchemaStatus"`
22507
22508	// The unique identifier of the first schema version.
22509	SchemaVersionId *string `min:"36" type:"string"`
22510
22511	// The status of the first schema version created.
22512	SchemaVersionStatus *string `type:"string" enum:"SchemaVersionStatus"`
22513
22514	// The tags for the schema.
22515	Tags map[string]*string `type:"map"`
22516}
22517
22518// String returns the string representation
22519func (s CreateSchemaOutput) String() string {
22520	return awsutil.Prettify(s)
22521}
22522
22523// GoString returns the string representation
22524func (s CreateSchemaOutput) GoString() string {
22525	return s.String()
22526}
22527
22528// SetCompatibility sets the Compatibility field's value.
22529func (s *CreateSchemaOutput) SetCompatibility(v string) *CreateSchemaOutput {
22530	s.Compatibility = &v
22531	return s
22532}
22533
22534// SetDataFormat sets the DataFormat field's value.
22535func (s *CreateSchemaOutput) SetDataFormat(v string) *CreateSchemaOutput {
22536	s.DataFormat = &v
22537	return s
22538}
22539
22540// SetDescription sets the Description field's value.
22541func (s *CreateSchemaOutput) SetDescription(v string) *CreateSchemaOutput {
22542	s.Description = &v
22543	return s
22544}
22545
22546// SetLatestSchemaVersion sets the LatestSchemaVersion field's value.
22547func (s *CreateSchemaOutput) SetLatestSchemaVersion(v int64) *CreateSchemaOutput {
22548	s.LatestSchemaVersion = &v
22549	return s
22550}
22551
22552// SetNextSchemaVersion sets the NextSchemaVersion field's value.
22553func (s *CreateSchemaOutput) SetNextSchemaVersion(v int64) *CreateSchemaOutput {
22554	s.NextSchemaVersion = &v
22555	return s
22556}
22557
22558// SetRegistryArn sets the RegistryArn field's value.
22559func (s *CreateSchemaOutput) SetRegistryArn(v string) *CreateSchemaOutput {
22560	s.RegistryArn = &v
22561	return s
22562}
22563
22564// SetRegistryName sets the RegistryName field's value.
22565func (s *CreateSchemaOutput) SetRegistryName(v string) *CreateSchemaOutput {
22566	s.RegistryName = &v
22567	return s
22568}
22569
22570// SetSchemaArn sets the SchemaArn field's value.
22571func (s *CreateSchemaOutput) SetSchemaArn(v string) *CreateSchemaOutput {
22572	s.SchemaArn = &v
22573	return s
22574}
22575
22576// SetSchemaCheckpoint sets the SchemaCheckpoint field's value.
22577func (s *CreateSchemaOutput) SetSchemaCheckpoint(v int64) *CreateSchemaOutput {
22578	s.SchemaCheckpoint = &v
22579	return s
22580}
22581
22582// SetSchemaName sets the SchemaName field's value.
22583func (s *CreateSchemaOutput) SetSchemaName(v string) *CreateSchemaOutput {
22584	s.SchemaName = &v
22585	return s
22586}
22587
22588// SetSchemaStatus sets the SchemaStatus field's value.
22589func (s *CreateSchemaOutput) SetSchemaStatus(v string) *CreateSchemaOutput {
22590	s.SchemaStatus = &v
22591	return s
22592}
22593
22594// SetSchemaVersionId sets the SchemaVersionId field's value.
22595func (s *CreateSchemaOutput) SetSchemaVersionId(v string) *CreateSchemaOutput {
22596	s.SchemaVersionId = &v
22597	return s
22598}
22599
22600// SetSchemaVersionStatus sets the SchemaVersionStatus field's value.
22601func (s *CreateSchemaOutput) SetSchemaVersionStatus(v string) *CreateSchemaOutput {
22602	s.SchemaVersionStatus = &v
22603	return s
22604}
22605
22606// SetTags sets the Tags field's value.
22607func (s *CreateSchemaOutput) SetTags(v map[string]*string) *CreateSchemaOutput {
22608	s.Tags = v
22609	return s
22610}
22611
22612type CreateScriptInput struct {
22613	_ struct{} `type:"structure"`
22614
22615	// A list of the edges in the DAG.
22616	DagEdges []*CodeGenEdge `type:"list"`
22617
22618	// A list of the nodes in the DAG.
22619	DagNodes []*CodeGenNode `type:"list"`
22620
22621	// The programming language of the resulting code from the DAG.
22622	Language *string `type:"string" enum:"Language"`
22623}
22624
22625// String returns the string representation
22626func (s CreateScriptInput) String() string {
22627	return awsutil.Prettify(s)
22628}
22629
22630// GoString returns the string representation
22631func (s CreateScriptInput) GoString() string {
22632	return s.String()
22633}
22634
22635// Validate inspects the fields of the type to determine if they are valid.
22636func (s *CreateScriptInput) Validate() error {
22637	invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"}
22638	if s.DagEdges != nil {
22639		for i, v := range s.DagEdges {
22640			if v == nil {
22641				continue
22642			}
22643			if err := v.Validate(); err != nil {
22644				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams))
22645			}
22646		}
22647	}
22648	if s.DagNodes != nil {
22649		for i, v := range s.DagNodes {
22650			if v == nil {
22651				continue
22652			}
22653			if err := v.Validate(); err != nil {
22654				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams))
22655			}
22656		}
22657	}
22658
22659	if invalidParams.Len() > 0 {
22660		return invalidParams
22661	}
22662	return nil
22663}
22664
22665// SetDagEdges sets the DagEdges field's value.
22666func (s *CreateScriptInput) SetDagEdges(v []*CodeGenEdge) *CreateScriptInput {
22667	s.DagEdges = v
22668	return s
22669}
22670
22671// SetDagNodes sets the DagNodes field's value.
22672func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput {
22673	s.DagNodes = v
22674	return s
22675}
22676
22677// SetLanguage sets the Language field's value.
22678func (s *CreateScriptInput) SetLanguage(v string) *CreateScriptInput {
22679	s.Language = &v
22680	return s
22681}
22682
22683type CreateScriptOutput struct {
22684	_ struct{} `type:"structure"`
22685
22686	// The Python script generated from the DAG.
22687	PythonScript *string `type:"string"`
22688
22689	// The Scala code generated from the DAG.
22690	ScalaCode *string `type:"string"`
22691}
22692
22693// String returns the string representation
22694func (s CreateScriptOutput) String() string {
22695	return awsutil.Prettify(s)
22696}
22697
22698// GoString returns the string representation
22699func (s CreateScriptOutput) GoString() string {
22700	return s.String()
22701}
22702
22703// SetPythonScript sets the PythonScript field's value.
22704func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput {
22705	s.PythonScript = &v
22706	return s
22707}
22708
22709// SetScalaCode sets the ScalaCode field's value.
22710func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput {
22711	s.ScalaCode = &v
22712	return s
22713}
22714
22715type CreateSecurityConfigurationInput struct {
22716	_ struct{} `type:"structure"`
22717
22718	// The encryption configuration for the new security configuration.
22719	//
22720	// EncryptionConfiguration is a required field
22721	EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
22722
22723	// The name for the new security configuration.
22724	//
22725	// Name is a required field
22726	Name *string `min:"1" type:"string" required:"true"`
22727}
22728
22729// String returns the string representation
22730func (s CreateSecurityConfigurationInput) String() string {
22731	return awsutil.Prettify(s)
22732}
22733
22734// GoString returns the string representation
22735func (s CreateSecurityConfigurationInput) GoString() string {
22736	return s.String()
22737}
22738
22739// Validate inspects the fields of the type to determine if they are valid.
22740func (s *CreateSecurityConfigurationInput) Validate() error {
22741	invalidParams := request.ErrInvalidParams{Context: "CreateSecurityConfigurationInput"}
22742	if s.EncryptionConfiguration == nil {
22743		invalidParams.Add(request.NewErrParamRequired("EncryptionConfiguration"))
22744	}
22745	if s.Name == nil {
22746		invalidParams.Add(request.NewErrParamRequired("Name"))
22747	}
22748	if s.Name != nil && len(*s.Name) < 1 {
22749		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22750	}
22751
22752	if invalidParams.Len() > 0 {
22753		return invalidParams
22754	}
22755	return nil
22756}
22757
22758// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
22759func (s *CreateSecurityConfigurationInput) SetEncryptionConfiguration(v *EncryptionConfiguration) *CreateSecurityConfigurationInput {
22760	s.EncryptionConfiguration = v
22761	return s
22762}
22763
22764// SetName sets the Name field's value.
22765func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput {
22766	s.Name = &v
22767	return s
22768}
22769
22770type CreateSecurityConfigurationOutput struct {
22771	_ struct{} `type:"structure"`
22772
22773	// The time at which the new security configuration was created.
22774	CreatedTimestamp *time.Time `type:"timestamp"`
22775
22776	// The name assigned to the new security configuration.
22777	Name *string `min:"1" type:"string"`
22778}
22779
22780// String returns the string representation
22781func (s CreateSecurityConfigurationOutput) String() string {
22782	return awsutil.Prettify(s)
22783}
22784
22785// GoString returns the string representation
22786func (s CreateSecurityConfigurationOutput) GoString() string {
22787	return s.String()
22788}
22789
22790// SetCreatedTimestamp sets the CreatedTimestamp field's value.
22791func (s *CreateSecurityConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateSecurityConfigurationOutput {
22792	s.CreatedTimestamp = &v
22793	return s
22794}
22795
22796// SetName sets the Name field's value.
22797func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput {
22798	s.Name = &v
22799	return s
22800}
22801
22802type CreateTableInput struct {
22803	_ struct{} `type:"structure"`
22804
22805	// The ID of the Data Catalog in which to create the Table. If none is supplied,
22806	// the AWS account ID is used by default.
22807	CatalogId *string `min:"1" type:"string"`
22808
22809	// The catalog database in which to create the new table. For Hive compatibility,
22810	// this name is entirely lowercase.
22811	//
22812	// DatabaseName is a required field
22813	DatabaseName *string `min:"1" type:"string" required:"true"`
22814
22815	// A list of partition indexes, PartitionIndex structures, to create in the
22816	// table.
22817	PartitionIndexes []*PartitionIndex `type:"list"`
22818
22819	// The TableInput object that defines the metadata table to create in the catalog.
22820	//
22821	// TableInput is a required field
22822	TableInput *TableInput `type:"structure" required:"true"`
22823}
22824
22825// String returns the string representation
22826func (s CreateTableInput) String() string {
22827	return awsutil.Prettify(s)
22828}
22829
22830// GoString returns the string representation
22831func (s CreateTableInput) GoString() string {
22832	return s.String()
22833}
22834
22835// Validate inspects the fields of the type to determine if they are valid.
22836func (s *CreateTableInput) Validate() error {
22837	invalidParams := request.ErrInvalidParams{Context: "CreateTableInput"}
22838	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22839		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22840	}
22841	if s.DatabaseName == nil {
22842		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22843	}
22844	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22845		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22846	}
22847	if s.TableInput == nil {
22848		invalidParams.Add(request.NewErrParamRequired("TableInput"))
22849	}
22850	if s.PartitionIndexes != nil {
22851		for i, v := range s.PartitionIndexes {
22852			if v == nil {
22853				continue
22854			}
22855			if err := v.Validate(); err != nil {
22856				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionIndexes", i), err.(request.ErrInvalidParams))
22857			}
22858		}
22859	}
22860	if s.TableInput != nil {
22861		if err := s.TableInput.Validate(); err != nil {
22862			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
22863		}
22864	}
22865
22866	if invalidParams.Len() > 0 {
22867		return invalidParams
22868	}
22869	return nil
22870}
22871
22872// SetCatalogId sets the CatalogId field's value.
22873func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput {
22874	s.CatalogId = &v
22875	return s
22876}
22877
22878// SetDatabaseName sets the DatabaseName field's value.
22879func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput {
22880	s.DatabaseName = &v
22881	return s
22882}
22883
22884// SetPartitionIndexes sets the PartitionIndexes field's value.
22885func (s *CreateTableInput) SetPartitionIndexes(v []*PartitionIndex) *CreateTableInput {
22886	s.PartitionIndexes = v
22887	return s
22888}
22889
22890// SetTableInput sets the TableInput field's value.
22891func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput {
22892	s.TableInput = v
22893	return s
22894}
22895
22896type CreateTableOutput struct {
22897	_ struct{} `type:"structure"`
22898}
22899
22900// String returns the string representation
22901func (s CreateTableOutput) String() string {
22902	return awsutil.Prettify(s)
22903}
22904
22905// GoString returns the string representation
22906func (s CreateTableOutput) GoString() string {
22907	return s.String()
22908}
22909
22910type CreateTriggerInput struct {
22911	_ struct{} `type:"structure"`
22912
22913	// The actions initiated by this trigger when it fires.
22914	//
22915	// Actions is a required field
22916	Actions []*Action `type:"list" required:"true"`
22917
22918	// A description of the new trigger.
22919	Description *string `type:"string"`
22920
22921	// The name of the trigger.
22922	//
22923	// Name is a required field
22924	Name *string `min:"1" type:"string" required:"true"`
22925
22926	// A predicate to specify when the new trigger should fire.
22927	//
22928	// This field is required when the trigger type is CONDITIONAL.
22929	Predicate *Predicate `type:"structure"`
22930
22931	// A cron expression used to specify the schedule (see Time-Based Schedules
22932	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
22933	// For example, to run something every day at 12:15 UTC, you would specify:
22934	// cron(15 12 * * ? *).
22935	//
22936	// This field is required when the trigger type is SCHEDULED.
22937	Schedule *string `type:"string"`
22938
22939	// Set to true to start SCHEDULED and CONDITIONAL triggers when created. True
22940	// is not supported for ON_DEMAND triggers.
22941	StartOnCreation *bool `type:"boolean"`
22942
22943	// The tags to use with this trigger. You may use tags to limit access to the
22944	// trigger. For more information about tags in AWS Glue, see AWS Tags in AWS
22945	// Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the
22946	// developer guide.
22947	Tags map[string]*string `type:"map"`
22948
22949	// The type of the new trigger.
22950	//
22951	// Type is a required field
22952	Type *string `type:"string" required:"true" enum:"TriggerType"`
22953
22954	// The name of the workflow associated with the trigger.
22955	WorkflowName *string `min:"1" type:"string"`
22956}
22957
22958// String returns the string representation
22959func (s CreateTriggerInput) String() string {
22960	return awsutil.Prettify(s)
22961}
22962
22963// GoString returns the string representation
22964func (s CreateTriggerInput) GoString() string {
22965	return s.String()
22966}
22967
22968// Validate inspects the fields of the type to determine if they are valid.
22969func (s *CreateTriggerInput) Validate() error {
22970	invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"}
22971	if s.Actions == nil {
22972		invalidParams.Add(request.NewErrParamRequired("Actions"))
22973	}
22974	if s.Name == nil {
22975		invalidParams.Add(request.NewErrParamRequired("Name"))
22976	}
22977	if s.Name != nil && len(*s.Name) < 1 {
22978		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22979	}
22980	if s.Type == nil {
22981		invalidParams.Add(request.NewErrParamRequired("Type"))
22982	}
22983	if s.WorkflowName != nil && len(*s.WorkflowName) < 1 {
22984		invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1))
22985	}
22986	if s.Actions != nil {
22987		for i, v := range s.Actions {
22988			if v == nil {
22989				continue
22990			}
22991			if err := v.Validate(); err != nil {
22992				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
22993			}
22994		}
22995	}
22996	if s.Predicate != nil {
22997		if err := s.Predicate.Validate(); err != nil {
22998			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
22999		}
23000	}
23001
23002	if invalidParams.Len() > 0 {
23003		return invalidParams
23004	}
23005	return nil
23006}
23007
23008// SetActions sets the Actions field's value.
23009func (s *CreateTriggerInput) SetActions(v []*Action) *CreateTriggerInput {
23010	s.Actions = v
23011	return s
23012}
23013
23014// SetDescription sets the Description field's value.
23015func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput {
23016	s.Description = &v
23017	return s
23018}
23019
23020// SetName sets the Name field's value.
23021func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput {
23022	s.Name = &v
23023	return s
23024}
23025
23026// SetPredicate sets the Predicate field's value.
23027func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput {
23028	s.Predicate = v
23029	return s
23030}
23031
23032// SetSchedule sets the Schedule field's value.
23033func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput {
23034	s.Schedule = &v
23035	return s
23036}
23037
23038// SetStartOnCreation sets the StartOnCreation field's value.
23039func (s *CreateTriggerInput) SetStartOnCreation(v bool) *CreateTriggerInput {
23040	s.StartOnCreation = &v
23041	return s
23042}
23043
23044// SetTags sets the Tags field's value.
23045func (s *CreateTriggerInput) SetTags(v map[string]*string) *CreateTriggerInput {
23046	s.Tags = v
23047	return s
23048}
23049
23050// SetType sets the Type field's value.
23051func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput {
23052	s.Type = &v
23053	return s
23054}
23055
23056// SetWorkflowName sets the WorkflowName field's value.
23057func (s *CreateTriggerInput) SetWorkflowName(v string) *CreateTriggerInput {
23058	s.WorkflowName = &v
23059	return s
23060}
23061
23062type CreateTriggerOutput struct {
23063	_ struct{} `type:"structure"`
23064
23065	// The name of the trigger.
23066	Name *string `min:"1" type:"string"`
23067}
23068
23069// String returns the string representation
23070func (s CreateTriggerOutput) String() string {
23071	return awsutil.Prettify(s)
23072}
23073
23074// GoString returns the string representation
23075func (s CreateTriggerOutput) GoString() string {
23076	return s.String()
23077}
23078
23079// SetName sets the Name field's value.
23080func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput {
23081	s.Name = &v
23082	return s
23083}
23084
23085type CreateUserDefinedFunctionInput struct {
23086	_ struct{} `type:"structure"`
23087
23088	// The ID of the Data Catalog in which to create the function. If none is provided,
23089	// the AWS account ID is used by default.
23090	CatalogId *string `min:"1" type:"string"`
23091
23092	// The name of the catalog database in which to create the function.
23093	//
23094	// DatabaseName is a required field
23095	DatabaseName *string `min:"1" type:"string" required:"true"`
23096
23097	// A FunctionInput object that defines the function to create in the Data Catalog.
23098	//
23099	// FunctionInput is a required field
23100	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
23101}
23102
23103// String returns the string representation
23104func (s CreateUserDefinedFunctionInput) String() string {
23105	return awsutil.Prettify(s)
23106}
23107
23108// GoString returns the string representation
23109func (s CreateUserDefinedFunctionInput) GoString() string {
23110	return s.String()
23111}
23112
23113// Validate inspects the fields of the type to determine if they are valid.
23114func (s *CreateUserDefinedFunctionInput) Validate() error {
23115	invalidParams := request.ErrInvalidParams{Context: "CreateUserDefinedFunctionInput"}
23116	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23117		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23118	}
23119	if s.DatabaseName == nil {
23120		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23121	}
23122	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23123		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23124	}
23125	if s.FunctionInput == nil {
23126		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
23127	}
23128	if s.FunctionInput != nil {
23129		if err := s.FunctionInput.Validate(); err != nil {
23130			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
23131		}
23132	}
23133
23134	if invalidParams.Len() > 0 {
23135		return invalidParams
23136	}
23137	return nil
23138}
23139
23140// SetCatalogId sets the CatalogId field's value.
23141func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput {
23142	s.CatalogId = &v
23143	return s
23144}
23145
23146// SetDatabaseName sets the DatabaseName field's value.
23147func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput {
23148	s.DatabaseName = &v
23149	return s
23150}
23151
23152// SetFunctionInput sets the FunctionInput field's value.
23153func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput {
23154	s.FunctionInput = v
23155	return s
23156}
23157
23158type CreateUserDefinedFunctionOutput struct {
23159	_ struct{} `type:"structure"`
23160}
23161
23162// String returns the string representation
23163func (s CreateUserDefinedFunctionOutput) String() string {
23164	return awsutil.Prettify(s)
23165}
23166
23167// GoString returns the string representation
23168func (s CreateUserDefinedFunctionOutput) GoString() string {
23169	return s.String()
23170}
23171
23172type CreateWorkflowInput struct {
23173	_ struct{} `type:"structure"`
23174
23175	// A collection of properties to be used as part of each execution of the workflow.
23176	DefaultRunProperties map[string]*string `type:"map"`
23177
23178	// A description of the workflow.
23179	Description *string `type:"string"`
23180
23181	// You can use this parameter to prevent unwanted multiple updates to data,
23182	// to control costs, or in some cases, to prevent exceeding the maximum number
23183	// of concurrent runs of any of the component jobs. If you leave this parameter
23184	// blank, there is no limit to the number of concurrent workflow runs.
23185	MaxConcurrentRuns *int64 `type:"integer"`
23186
23187	// The name to be assigned to the workflow. It should be unique within your
23188	// account.
23189	//
23190	// Name is a required field
23191	Name *string `min:"1" type:"string" required:"true"`
23192
23193	// The tags to be used with this workflow.
23194	Tags map[string]*string `type:"map"`
23195}
23196
23197// String returns the string representation
23198func (s CreateWorkflowInput) String() string {
23199	return awsutil.Prettify(s)
23200}
23201
23202// GoString returns the string representation
23203func (s CreateWorkflowInput) GoString() string {
23204	return s.String()
23205}
23206
23207// Validate inspects the fields of the type to determine if they are valid.
23208func (s *CreateWorkflowInput) Validate() error {
23209	invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"}
23210	if s.Name == nil {
23211		invalidParams.Add(request.NewErrParamRequired("Name"))
23212	}
23213	if s.Name != nil && len(*s.Name) < 1 {
23214		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23215	}
23216
23217	if invalidParams.Len() > 0 {
23218		return invalidParams
23219	}
23220	return nil
23221}
23222
23223// SetDefaultRunProperties sets the DefaultRunProperties field's value.
23224func (s *CreateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *CreateWorkflowInput {
23225	s.DefaultRunProperties = v
23226	return s
23227}
23228
23229// SetDescription sets the Description field's value.
23230func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput {
23231	s.Description = &v
23232	return s
23233}
23234
23235// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
23236func (s *CreateWorkflowInput) SetMaxConcurrentRuns(v int64) *CreateWorkflowInput {
23237	s.MaxConcurrentRuns = &v
23238	return s
23239}
23240
23241// SetName sets the Name field's value.
23242func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput {
23243	s.Name = &v
23244	return s
23245}
23246
23247// SetTags sets the Tags field's value.
23248func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput {
23249	s.Tags = v
23250	return s
23251}
23252
23253type CreateWorkflowOutput struct {
23254	_ struct{} `type:"structure"`
23255
23256	// The name of the workflow which was provided as part of the request.
23257	Name *string `min:"1" type:"string"`
23258}
23259
23260// String returns the string representation
23261func (s CreateWorkflowOutput) String() string {
23262	return awsutil.Prettify(s)
23263}
23264
23265// GoString returns the string representation
23266func (s CreateWorkflowOutput) GoString() string {
23267	return s.String()
23268}
23269
23270// SetName sets the Name field's value.
23271func (s *CreateWorkflowOutput) SetName(v string) *CreateWorkflowOutput {
23272	s.Name = &v
23273	return s
23274}
23275
23276// Specifies an XML classifier for CreateClassifier to create.
23277type CreateXMLClassifierRequest struct {
23278	_ struct{} `type:"structure"`
23279
23280	// An identifier of the data format that the classifier matches.
23281	//
23282	// Classification is a required field
23283	Classification *string `type:"string" required:"true"`
23284
23285	// The name of the classifier.
23286	//
23287	// Name is a required field
23288	Name *string `min:"1" type:"string" required:"true"`
23289
23290	// The XML tag designating the element that contains each record in an XML document
23291	// being parsed. This can't identify a self-closing element (closed by />).
23292	// An empty row element that contains only attributes can be parsed as long
23293	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
23294	// is okay, but <row item_a="A" item_b="B" /> is not).
23295	RowTag *string `type:"string"`
23296}
23297
23298// String returns the string representation
23299func (s CreateXMLClassifierRequest) String() string {
23300	return awsutil.Prettify(s)
23301}
23302
23303// GoString returns the string representation
23304func (s CreateXMLClassifierRequest) GoString() string {
23305	return s.String()
23306}
23307
23308// Validate inspects the fields of the type to determine if they are valid.
23309func (s *CreateXMLClassifierRequest) Validate() error {
23310	invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"}
23311	if s.Classification == nil {
23312		invalidParams.Add(request.NewErrParamRequired("Classification"))
23313	}
23314	if s.Name == nil {
23315		invalidParams.Add(request.NewErrParamRequired("Name"))
23316	}
23317	if s.Name != nil && len(*s.Name) < 1 {
23318		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23319	}
23320
23321	if invalidParams.Len() > 0 {
23322		return invalidParams
23323	}
23324	return nil
23325}
23326
23327// SetClassification sets the Classification field's value.
23328func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest {
23329	s.Classification = &v
23330	return s
23331}
23332
23333// SetName sets the Name field's value.
23334func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest {
23335	s.Name = &v
23336	return s
23337}
23338
23339// SetRowTag sets the RowTag field's value.
23340func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest {
23341	s.RowTag = &v
23342	return s
23343}
23344
23345// A classifier for custom CSV content.
23346type CsvClassifier struct {
23347	_ struct{} `type:"structure"`
23348
23349	// Enables the processing of files that contain only one column.
23350	AllowSingleColumn *bool `type:"boolean"`
23351
23352	// Indicates whether the CSV file contains a header.
23353	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
23354
23355	// The time that this classifier was registered.
23356	CreationTime *time.Time `type:"timestamp"`
23357
23358	// A custom symbol to denote what separates each column entry in the row.
23359	Delimiter *string `min:"1" type:"string"`
23360
23361	// Specifies not to trim values before identifying the type of column values.
23362	// The default value is true.
23363	DisableValueTrimming *bool `type:"boolean"`
23364
23365	// A list of strings representing column names.
23366	Header []*string `type:"list"`
23367
23368	// The time that this classifier was last updated.
23369	LastUpdated *time.Time `type:"timestamp"`
23370
23371	// The name of the classifier.
23372	//
23373	// Name is a required field
23374	Name *string `min:"1" type:"string" required:"true"`
23375
23376	// A custom symbol to denote what combines content into a single column value.
23377	// It must be different from the column delimiter.
23378	QuoteSymbol *string `min:"1" type:"string"`
23379
23380	// The version of this classifier.
23381	Version *int64 `type:"long"`
23382}
23383
23384// String returns the string representation
23385func (s CsvClassifier) String() string {
23386	return awsutil.Prettify(s)
23387}
23388
23389// GoString returns the string representation
23390func (s CsvClassifier) GoString() string {
23391	return s.String()
23392}
23393
23394// SetAllowSingleColumn sets the AllowSingleColumn field's value.
23395func (s *CsvClassifier) SetAllowSingleColumn(v bool) *CsvClassifier {
23396	s.AllowSingleColumn = &v
23397	return s
23398}
23399
23400// SetContainsHeader sets the ContainsHeader field's value.
23401func (s *CsvClassifier) SetContainsHeader(v string) *CsvClassifier {
23402	s.ContainsHeader = &v
23403	return s
23404}
23405
23406// SetCreationTime sets the CreationTime field's value.
23407func (s *CsvClassifier) SetCreationTime(v time.Time) *CsvClassifier {
23408	s.CreationTime = &v
23409	return s
23410}
23411
23412// SetDelimiter sets the Delimiter field's value.
23413func (s *CsvClassifier) SetDelimiter(v string) *CsvClassifier {
23414	s.Delimiter = &v
23415	return s
23416}
23417
23418// SetDisableValueTrimming sets the DisableValueTrimming field's value.
23419func (s *CsvClassifier) SetDisableValueTrimming(v bool) *CsvClassifier {
23420	s.DisableValueTrimming = &v
23421	return s
23422}
23423
23424// SetHeader sets the Header field's value.
23425func (s *CsvClassifier) SetHeader(v []*string) *CsvClassifier {
23426	s.Header = v
23427	return s
23428}
23429
23430// SetLastUpdated sets the LastUpdated field's value.
23431func (s *CsvClassifier) SetLastUpdated(v time.Time) *CsvClassifier {
23432	s.LastUpdated = &v
23433	return s
23434}
23435
23436// SetName sets the Name field's value.
23437func (s *CsvClassifier) SetName(v string) *CsvClassifier {
23438	s.Name = &v
23439	return s
23440}
23441
23442// SetQuoteSymbol sets the QuoteSymbol field's value.
23443func (s *CsvClassifier) SetQuoteSymbol(v string) *CsvClassifier {
23444	s.QuoteSymbol = &v
23445	return s
23446}
23447
23448// SetVersion sets the Version field's value.
23449func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier {
23450	s.Version = &v
23451	return s
23452}
23453
23454// Contains configuration information for maintaining Data Catalog security.
23455type DataCatalogEncryptionSettings struct {
23456	_ struct{} `type:"structure"`
23457
23458	// When connection password protection is enabled, the Data Catalog uses a customer-provided
23459	// key to encrypt the password as part of CreateConnection or UpdateConnection
23460	// and store it in the ENCRYPTED_PASSWORD field in the connection properties.
23461	// You can enable catalog encryption or only password encryption.
23462	ConnectionPasswordEncryption *ConnectionPasswordEncryption `type:"structure"`
23463
23464	// Specifies the encryption-at-rest configuration for the Data Catalog.
23465	EncryptionAtRest *EncryptionAtRest `type:"structure"`
23466}
23467
23468// String returns the string representation
23469func (s DataCatalogEncryptionSettings) String() string {
23470	return awsutil.Prettify(s)
23471}
23472
23473// GoString returns the string representation
23474func (s DataCatalogEncryptionSettings) GoString() string {
23475	return s.String()
23476}
23477
23478// Validate inspects the fields of the type to determine if they are valid.
23479func (s *DataCatalogEncryptionSettings) Validate() error {
23480	invalidParams := request.ErrInvalidParams{Context: "DataCatalogEncryptionSettings"}
23481	if s.ConnectionPasswordEncryption != nil {
23482		if err := s.ConnectionPasswordEncryption.Validate(); err != nil {
23483			invalidParams.AddNested("ConnectionPasswordEncryption", err.(request.ErrInvalidParams))
23484		}
23485	}
23486	if s.EncryptionAtRest != nil {
23487		if err := s.EncryptionAtRest.Validate(); err != nil {
23488			invalidParams.AddNested("EncryptionAtRest", err.(request.ErrInvalidParams))
23489		}
23490	}
23491
23492	if invalidParams.Len() > 0 {
23493		return invalidParams
23494	}
23495	return nil
23496}
23497
23498// SetConnectionPasswordEncryption sets the ConnectionPasswordEncryption field's value.
23499func (s *DataCatalogEncryptionSettings) SetConnectionPasswordEncryption(v *ConnectionPasswordEncryption) *DataCatalogEncryptionSettings {
23500	s.ConnectionPasswordEncryption = v
23501	return s
23502}
23503
23504// SetEncryptionAtRest sets the EncryptionAtRest field's value.
23505func (s *DataCatalogEncryptionSettings) SetEncryptionAtRest(v *EncryptionAtRest) *DataCatalogEncryptionSettings {
23506	s.EncryptionAtRest = v
23507	return s
23508}
23509
23510// The AWS Lake Formation principal.
23511type DataLakePrincipal struct {
23512	_ struct{} `type:"structure"`
23513
23514	// An identifier for the AWS Lake Formation principal.
23515	DataLakePrincipalIdentifier *string `min:"1" type:"string"`
23516}
23517
23518// String returns the string representation
23519func (s DataLakePrincipal) String() string {
23520	return awsutil.Prettify(s)
23521}
23522
23523// GoString returns the string representation
23524func (s DataLakePrincipal) GoString() string {
23525	return s.String()
23526}
23527
23528// Validate inspects the fields of the type to determine if they are valid.
23529func (s *DataLakePrincipal) Validate() error {
23530	invalidParams := request.ErrInvalidParams{Context: "DataLakePrincipal"}
23531	if s.DataLakePrincipalIdentifier != nil && len(*s.DataLakePrincipalIdentifier) < 1 {
23532		invalidParams.Add(request.NewErrParamMinLen("DataLakePrincipalIdentifier", 1))
23533	}
23534
23535	if invalidParams.Len() > 0 {
23536		return invalidParams
23537	}
23538	return nil
23539}
23540
23541// SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value.
23542func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal {
23543	s.DataLakePrincipalIdentifier = &v
23544	return s
23545}
23546
23547// The Database object represents a logical grouping of tables that might reside
23548// in a Hive metastore or an RDBMS.
23549type Database struct {
23550	_ struct{} `type:"structure"`
23551
23552	// The ID of the Data Catalog in which the database resides.
23553	CatalogId *string `min:"1" type:"string"`
23554
23555	// Creates a set of default permissions on the table for principals.
23556	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
23557
23558	// The time at which the metadata database was created in the catalog.
23559	CreateTime *time.Time `type:"timestamp"`
23560
23561	// A description of the database.
23562	Description *string `type:"string"`
23563
23564	// The location of the database (for example, an HDFS path).
23565	LocationUri *string `min:"1" type:"string"`
23566
23567	// The name of the database. For Hive compatibility, this is folded to lowercase
23568	// when it is stored.
23569	//
23570	// Name is a required field
23571	Name *string `min:"1" type:"string" required:"true"`
23572
23573	// These key-value pairs define parameters and properties of the database.
23574	Parameters map[string]*string `type:"map"`
23575
23576	// A DatabaseIdentifier structure that describes a target database for resource
23577	// linking.
23578	TargetDatabase *DatabaseIdentifier `type:"structure"`
23579}
23580
23581// String returns the string representation
23582func (s Database) String() string {
23583	return awsutil.Prettify(s)
23584}
23585
23586// GoString returns the string representation
23587func (s Database) GoString() string {
23588	return s.String()
23589}
23590
23591// SetCatalogId sets the CatalogId field's value.
23592func (s *Database) SetCatalogId(v string) *Database {
23593	s.CatalogId = &v
23594	return s
23595}
23596
23597// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
23598func (s *Database) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *Database {
23599	s.CreateTableDefaultPermissions = v
23600	return s
23601}
23602
23603// SetCreateTime sets the CreateTime field's value.
23604func (s *Database) SetCreateTime(v time.Time) *Database {
23605	s.CreateTime = &v
23606	return s
23607}
23608
23609// SetDescription sets the Description field's value.
23610func (s *Database) SetDescription(v string) *Database {
23611	s.Description = &v
23612	return s
23613}
23614
23615// SetLocationUri sets the LocationUri field's value.
23616func (s *Database) SetLocationUri(v string) *Database {
23617	s.LocationUri = &v
23618	return s
23619}
23620
23621// SetName sets the Name field's value.
23622func (s *Database) SetName(v string) *Database {
23623	s.Name = &v
23624	return s
23625}
23626
23627// SetParameters sets the Parameters field's value.
23628func (s *Database) SetParameters(v map[string]*string) *Database {
23629	s.Parameters = v
23630	return s
23631}
23632
23633// SetTargetDatabase sets the TargetDatabase field's value.
23634func (s *Database) SetTargetDatabase(v *DatabaseIdentifier) *Database {
23635	s.TargetDatabase = v
23636	return s
23637}
23638
23639// A structure that describes a target database for resource linking.
23640type DatabaseIdentifier struct {
23641	_ struct{} `type:"structure"`
23642
23643	// The ID of the Data Catalog in which the database resides.
23644	CatalogId *string `min:"1" type:"string"`
23645
23646	// The name of the catalog database.
23647	DatabaseName *string `min:"1" type:"string"`
23648}
23649
23650// String returns the string representation
23651func (s DatabaseIdentifier) String() string {
23652	return awsutil.Prettify(s)
23653}
23654
23655// GoString returns the string representation
23656func (s DatabaseIdentifier) GoString() string {
23657	return s.String()
23658}
23659
23660// Validate inspects the fields of the type to determine if they are valid.
23661func (s *DatabaseIdentifier) Validate() error {
23662	invalidParams := request.ErrInvalidParams{Context: "DatabaseIdentifier"}
23663	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23664		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23665	}
23666	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23667		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23668	}
23669
23670	if invalidParams.Len() > 0 {
23671		return invalidParams
23672	}
23673	return nil
23674}
23675
23676// SetCatalogId sets the CatalogId field's value.
23677func (s *DatabaseIdentifier) SetCatalogId(v string) *DatabaseIdentifier {
23678	s.CatalogId = &v
23679	return s
23680}
23681
23682// SetDatabaseName sets the DatabaseName field's value.
23683func (s *DatabaseIdentifier) SetDatabaseName(v string) *DatabaseIdentifier {
23684	s.DatabaseName = &v
23685	return s
23686}
23687
23688// The structure used to create or update a database.
23689type DatabaseInput struct {
23690	_ struct{} `type:"structure"`
23691
23692	// Creates a set of default permissions on the table for principals.
23693	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
23694
23695	// A description of the database.
23696	Description *string `type:"string"`
23697
23698	// The location of the database (for example, an HDFS path).
23699	LocationUri *string `min:"1" type:"string"`
23700
23701	// The name of the database. For Hive compatibility, this is folded to lowercase
23702	// when it is stored.
23703	//
23704	// Name is a required field
23705	Name *string `min:"1" type:"string" required:"true"`
23706
23707	// These key-value pairs define parameters and properties of the database.
23708	//
23709	// These key-value pairs define parameters and properties of the database.
23710	Parameters map[string]*string `type:"map"`
23711
23712	// A DatabaseIdentifier structure that describes a target database for resource
23713	// linking.
23714	TargetDatabase *DatabaseIdentifier `type:"structure"`
23715}
23716
23717// String returns the string representation
23718func (s DatabaseInput) String() string {
23719	return awsutil.Prettify(s)
23720}
23721
23722// GoString returns the string representation
23723func (s DatabaseInput) GoString() string {
23724	return s.String()
23725}
23726
23727// Validate inspects the fields of the type to determine if they are valid.
23728func (s *DatabaseInput) Validate() error {
23729	invalidParams := request.ErrInvalidParams{Context: "DatabaseInput"}
23730	if s.LocationUri != nil && len(*s.LocationUri) < 1 {
23731		invalidParams.Add(request.NewErrParamMinLen("LocationUri", 1))
23732	}
23733	if s.Name == nil {
23734		invalidParams.Add(request.NewErrParamRequired("Name"))
23735	}
23736	if s.Name != nil && len(*s.Name) < 1 {
23737		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23738	}
23739	if s.CreateTableDefaultPermissions != nil {
23740		for i, v := range s.CreateTableDefaultPermissions {
23741			if v == nil {
23742				continue
23743			}
23744			if err := v.Validate(); err != nil {
23745				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CreateTableDefaultPermissions", i), err.(request.ErrInvalidParams))
23746			}
23747		}
23748	}
23749	if s.TargetDatabase != nil {
23750		if err := s.TargetDatabase.Validate(); err != nil {
23751			invalidParams.AddNested("TargetDatabase", err.(request.ErrInvalidParams))
23752		}
23753	}
23754
23755	if invalidParams.Len() > 0 {
23756		return invalidParams
23757	}
23758	return nil
23759}
23760
23761// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
23762func (s *DatabaseInput) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DatabaseInput {
23763	s.CreateTableDefaultPermissions = v
23764	return s
23765}
23766
23767// SetDescription sets the Description field's value.
23768func (s *DatabaseInput) SetDescription(v string) *DatabaseInput {
23769	s.Description = &v
23770	return s
23771}
23772
23773// SetLocationUri sets the LocationUri field's value.
23774func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput {
23775	s.LocationUri = &v
23776	return s
23777}
23778
23779// SetName sets the Name field's value.
23780func (s *DatabaseInput) SetName(v string) *DatabaseInput {
23781	s.Name = &v
23782	return s
23783}
23784
23785// SetParameters sets the Parameters field's value.
23786func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput {
23787	s.Parameters = v
23788	return s
23789}
23790
23791// SetTargetDatabase sets the TargetDatabase field's value.
23792func (s *DatabaseInput) SetTargetDatabase(v *DatabaseIdentifier) *DatabaseInput {
23793	s.TargetDatabase = v
23794	return s
23795}
23796
23797// Defines column statistics supported for timestamp data columns.
23798type DateColumnStatisticsData struct {
23799	_ struct{} `type:"structure"`
23800
23801	// The highest value in the column.
23802	MaximumValue *time.Time `type:"timestamp"`
23803
23804	// The lowest value in the column.
23805	MinimumValue *time.Time `type:"timestamp"`
23806
23807	// The number of distinct values in a column.
23808	//
23809	// NumberOfDistinctValues is a required field
23810	NumberOfDistinctValues *int64 `type:"long" required:"true"`
23811
23812	// The number of null values in the column.
23813	//
23814	// NumberOfNulls is a required field
23815	NumberOfNulls *int64 `type:"long" required:"true"`
23816}
23817
23818// String returns the string representation
23819func (s DateColumnStatisticsData) String() string {
23820	return awsutil.Prettify(s)
23821}
23822
23823// GoString returns the string representation
23824func (s DateColumnStatisticsData) GoString() string {
23825	return s.String()
23826}
23827
23828// Validate inspects the fields of the type to determine if they are valid.
23829func (s *DateColumnStatisticsData) Validate() error {
23830	invalidParams := request.ErrInvalidParams{Context: "DateColumnStatisticsData"}
23831	if s.NumberOfDistinctValues == nil {
23832		invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues"))
23833	}
23834	if s.NumberOfNulls == nil {
23835		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
23836	}
23837
23838	if invalidParams.Len() > 0 {
23839		return invalidParams
23840	}
23841	return nil
23842}
23843
23844// SetMaximumValue sets the MaximumValue field's value.
23845func (s *DateColumnStatisticsData) SetMaximumValue(v time.Time) *DateColumnStatisticsData {
23846	s.MaximumValue = &v
23847	return s
23848}
23849
23850// SetMinimumValue sets the MinimumValue field's value.
23851func (s *DateColumnStatisticsData) SetMinimumValue(v time.Time) *DateColumnStatisticsData {
23852	s.MinimumValue = &v
23853	return s
23854}
23855
23856// SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value.
23857func (s *DateColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DateColumnStatisticsData {
23858	s.NumberOfDistinctValues = &v
23859	return s
23860}
23861
23862// SetNumberOfNulls sets the NumberOfNulls field's value.
23863func (s *DateColumnStatisticsData) SetNumberOfNulls(v int64) *DateColumnStatisticsData {
23864	s.NumberOfNulls = &v
23865	return s
23866}
23867
23868// Defines column statistics supported for fixed-point number data columns.
23869type DecimalColumnStatisticsData struct {
23870	_ struct{} `type:"structure"`
23871
23872	// The highest value in the column.
23873	MaximumValue *DecimalNumber `type:"structure"`
23874
23875	// The lowest value in the column.
23876	MinimumValue *DecimalNumber `type:"structure"`
23877
23878	// The number of distinct values in a column.
23879	//
23880	// NumberOfDistinctValues is a required field
23881	NumberOfDistinctValues *int64 `type:"long" required:"true"`
23882
23883	// The number of null values in the column.
23884	//
23885	// NumberOfNulls is a required field
23886	NumberOfNulls *int64 `type:"long" required:"true"`
23887}
23888
23889// String returns the string representation
23890func (s DecimalColumnStatisticsData) String() string {
23891	return awsutil.Prettify(s)
23892}
23893
23894// GoString returns the string representation
23895func (s DecimalColumnStatisticsData) GoString() string {
23896	return s.String()
23897}
23898
23899// Validate inspects the fields of the type to determine if they are valid.
23900func (s *DecimalColumnStatisticsData) Validate() error {
23901	invalidParams := request.ErrInvalidParams{Context: "DecimalColumnStatisticsData"}
23902	if s.NumberOfDistinctValues == nil {
23903		invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues"))
23904	}
23905	if s.NumberOfNulls == nil {
23906		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
23907	}
23908	if s.MaximumValue != nil {
23909		if err := s.MaximumValue.Validate(); err != nil {
23910			invalidParams.AddNested("MaximumValue", err.(request.ErrInvalidParams))
23911		}
23912	}
23913	if s.MinimumValue != nil {
23914		if err := s.MinimumValue.Validate(); err != nil {
23915			invalidParams.AddNested("MinimumValue", err.(request.ErrInvalidParams))
23916		}
23917	}
23918
23919	if invalidParams.Len() > 0 {
23920		return invalidParams
23921	}
23922	return nil
23923}
23924
23925// SetMaximumValue sets the MaximumValue field's value.
23926func (s *DecimalColumnStatisticsData) SetMaximumValue(v *DecimalNumber) *DecimalColumnStatisticsData {
23927	s.MaximumValue = v
23928	return s
23929}
23930
23931// SetMinimumValue sets the MinimumValue field's value.
23932func (s *DecimalColumnStatisticsData) SetMinimumValue(v *DecimalNumber) *DecimalColumnStatisticsData {
23933	s.MinimumValue = v
23934	return s
23935}
23936
23937// SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value.
23938func (s *DecimalColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DecimalColumnStatisticsData {
23939	s.NumberOfDistinctValues = &v
23940	return s
23941}
23942
23943// SetNumberOfNulls sets the NumberOfNulls field's value.
23944func (s *DecimalColumnStatisticsData) SetNumberOfNulls(v int64) *DecimalColumnStatisticsData {
23945	s.NumberOfNulls = &v
23946	return s
23947}
23948
23949// Contains a numeric value in decimal format.
23950type DecimalNumber struct {
23951	_ struct{} `type:"structure"`
23952
23953	// The scale that determines where the decimal point falls in the unscaled value.
23954	//
23955	// Scale is a required field
23956	Scale *int64 `type:"integer" required:"true"`
23957
23958	// The unscaled numeric value.
23959	//
23960	// UnscaledValue is automatically base64 encoded/decoded by the SDK.
23961	//
23962	// UnscaledValue is a required field
23963	UnscaledValue []byte `type:"blob" required:"true"`
23964}
23965
23966// String returns the string representation
23967func (s DecimalNumber) String() string {
23968	return awsutil.Prettify(s)
23969}
23970
23971// GoString returns the string representation
23972func (s DecimalNumber) GoString() string {
23973	return s.String()
23974}
23975
23976// Validate inspects the fields of the type to determine if they are valid.
23977func (s *DecimalNumber) Validate() error {
23978	invalidParams := request.ErrInvalidParams{Context: "DecimalNumber"}
23979	if s.Scale == nil {
23980		invalidParams.Add(request.NewErrParamRequired("Scale"))
23981	}
23982	if s.UnscaledValue == nil {
23983		invalidParams.Add(request.NewErrParamRequired("UnscaledValue"))
23984	}
23985
23986	if invalidParams.Len() > 0 {
23987		return invalidParams
23988	}
23989	return nil
23990}
23991
23992// SetScale sets the Scale field's value.
23993func (s *DecimalNumber) SetScale(v int64) *DecimalNumber {
23994	s.Scale = &v
23995	return s
23996}
23997
23998// SetUnscaledValue sets the UnscaledValue field's value.
23999func (s *DecimalNumber) SetUnscaledValue(v []byte) *DecimalNumber {
24000	s.UnscaledValue = v
24001	return s
24002}
24003
24004type DeleteClassifierInput struct {
24005	_ struct{} `type:"structure"`
24006
24007	// Name of the classifier to remove.
24008	//
24009	// Name is a required field
24010	Name *string `min:"1" type:"string" required:"true"`
24011}
24012
24013// String returns the string representation
24014func (s DeleteClassifierInput) String() string {
24015	return awsutil.Prettify(s)
24016}
24017
24018// GoString returns the string representation
24019func (s DeleteClassifierInput) GoString() string {
24020	return s.String()
24021}
24022
24023// Validate inspects the fields of the type to determine if they are valid.
24024func (s *DeleteClassifierInput) Validate() error {
24025	invalidParams := request.ErrInvalidParams{Context: "DeleteClassifierInput"}
24026	if s.Name == nil {
24027		invalidParams.Add(request.NewErrParamRequired("Name"))
24028	}
24029	if s.Name != nil && len(*s.Name) < 1 {
24030		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24031	}
24032
24033	if invalidParams.Len() > 0 {
24034		return invalidParams
24035	}
24036	return nil
24037}
24038
24039// SetName sets the Name field's value.
24040func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput {
24041	s.Name = &v
24042	return s
24043}
24044
24045type DeleteClassifierOutput struct {
24046	_ struct{} `type:"structure"`
24047}
24048
24049// String returns the string representation
24050func (s DeleteClassifierOutput) String() string {
24051	return awsutil.Prettify(s)
24052}
24053
24054// GoString returns the string representation
24055func (s DeleteClassifierOutput) GoString() string {
24056	return s.String()
24057}
24058
24059type DeleteColumnStatisticsForPartitionInput struct {
24060	_ struct{} `type:"structure"`
24061
24062	// The ID of the Data Catalog where the partitions in question reside. If none
24063	// is supplied, the AWS account ID is used by default.
24064	CatalogId *string `min:"1" type:"string"`
24065
24066	// Name of the column.
24067	//
24068	// ColumnName is a required field
24069	ColumnName *string `min:"1" type:"string" required:"true"`
24070
24071	// The name of the catalog database where the partitions reside.
24072	//
24073	// DatabaseName is a required field
24074	DatabaseName *string `min:"1" type:"string" required:"true"`
24075
24076	// A list of partition values identifying the partition.
24077	//
24078	// PartitionValues is a required field
24079	PartitionValues []*string `type:"list" required:"true"`
24080
24081	// The name of the partitions' table.
24082	//
24083	// TableName is a required field
24084	TableName *string `min:"1" type:"string" required:"true"`
24085}
24086
24087// String returns the string representation
24088func (s DeleteColumnStatisticsForPartitionInput) String() string {
24089	return awsutil.Prettify(s)
24090}
24091
24092// GoString returns the string representation
24093func (s DeleteColumnStatisticsForPartitionInput) GoString() string {
24094	return s.String()
24095}
24096
24097// Validate inspects the fields of the type to determine if they are valid.
24098func (s *DeleteColumnStatisticsForPartitionInput) Validate() error {
24099	invalidParams := request.ErrInvalidParams{Context: "DeleteColumnStatisticsForPartitionInput"}
24100	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24101		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24102	}
24103	if s.ColumnName == nil {
24104		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
24105	}
24106	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
24107		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
24108	}
24109	if s.DatabaseName == nil {
24110		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24111	}
24112	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24113		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24114	}
24115	if s.PartitionValues == nil {
24116		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
24117	}
24118	if s.TableName == nil {
24119		invalidParams.Add(request.NewErrParamRequired("TableName"))
24120	}
24121	if s.TableName != nil && len(*s.TableName) < 1 {
24122		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
24123	}
24124
24125	if invalidParams.Len() > 0 {
24126		return invalidParams
24127	}
24128	return nil
24129}
24130
24131// SetCatalogId sets the CatalogId field's value.
24132func (s *DeleteColumnStatisticsForPartitionInput) SetCatalogId(v string) *DeleteColumnStatisticsForPartitionInput {
24133	s.CatalogId = &v
24134	return s
24135}
24136
24137// SetColumnName sets the ColumnName field's value.
24138func (s *DeleteColumnStatisticsForPartitionInput) SetColumnName(v string) *DeleteColumnStatisticsForPartitionInput {
24139	s.ColumnName = &v
24140	return s
24141}
24142
24143// SetDatabaseName sets the DatabaseName field's value.
24144func (s *DeleteColumnStatisticsForPartitionInput) SetDatabaseName(v string) *DeleteColumnStatisticsForPartitionInput {
24145	s.DatabaseName = &v
24146	return s
24147}
24148
24149// SetPartitionValues sets the PartitionValues field's value.
24150func (s *DeleteColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *DeleteColumnStatisticsForPartitionInput {
24151	s.PartitionValues = v
24152	return s
24153}
24154
24155// SetTableName sets the TableName field's value.
24156func (s *DeleteColumnStatisticsForPartitionInput) SetTableName(v string) *DeleteColumnStatisticsForPartitionInput {
24157	s.TableName = &v
24158	return s
24159}
24160
24161type DeleteColumnStatisticsForPartitionOutput struct {
24162	_ struct{} `type:"structure"`
24163}
24164
24165// String returns the string representation
24166func (s DeleteColumnStatisticsForPartitionOutput) String() string {
24167	return awsutil.Prettify(s)
24168}
24169
24170// GoString returns the string representation
24171func (s DeleteColumnStatisticsForPartitionOutput) GoString() string {
24172	return s.String()
24173}
24174
24175type DeleteColumnStatisticsForTableInput struct {
24176	_ struct{} `type:"structure"`
24177
24178	// The ID of the Data Catalog where the partitions in question reside. If none
24179	// is supplied, the AWS account ID is used by default.
24180	CatalogId *string `min:"1" type:"string"`
24181
24182	// The name of the column.
24183	//
24184	// ColumnName is a required field
24185	ColumnName *string `min:"1" type:"string" required:"true"`
24186
24187	// The name of the catalog database where the partitions reside.
24188	//
24189	// DatabaseName is a required field
24190	DatabaseName *string `min:"1" type:"string" required:"true"`
24191
24192	// The name of the partitions' table.
24193	//
24194	// TableName is a required field
24195	TableName *string `min:"1" type:"string" required:"true"`
24196}
24197
24198// String returns the string representation
24199func (s DeleteColumnStatisticsForTableInput) String() string {
24200	return awsutil.Prettify(s)
24201}
24202
24203// GoString returns the string representation
24204func (s DeleteColumnStatisticsForTableInput) GoString() string {
24205	return s.String()
24206}
24207
24208// Validate inspects the fields of the type to determine if they are valid.
24209func (s *DeleteColumnStatisticsForTableInput) Validate() error {
24210	invalidParams := request.ErrInvalidParams{Context: "DeleteColumnStatisticsForTableInput"}
24211	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24212		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24213	}
24214	if s.ColumnName == nil {
24215		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
24216	}
24217	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
24218		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
24219	}
24220	if s.DatabaseName == nil {
24221		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24222	}
24223	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24224		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24225	}
24226	if s.TableName == nil {
24227		invalidParams.Add(request.NewErrParamRequired("TableName"))
24228	}
24229	if s.TableName != nil && len(*s.TableName) < 1 {
24230		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
24231	}
24232
24233	if invalidParams.Len() > 0 {
24234		return invalidParams
24235	}
24236	return nil
24237}
24238
24239// SetCatalogId sets the CatalogId field's value.
24240func (s *DeleteColumnStatisticsForTableInput) SetCatalogId(v string) *DeleteColumnStatisticsForTableInput {
24241	s.CatalogId = &v
24242	return s
24243}
24244
24245// SetColumnName sets the ColumnName field's value.
24246func (s *DeleteColumnStatisticsForTableInput) SetColumnName(v string) *DeleteColumnStatisticsForTableInput {
24247	s.ColumnName = &v
24248	return s
24249}
24250
24251// SetDatabaseName sets the DatabaseName field's value.
24252func (s *DeleteColumnStatisticsForTableInput) SetDatabaseName(v string) *DeleteColumnStatisticsForTableInput {
24253	s.DatabaseName = &v
24254	return s
24255}
24256
24257// SetTableName sets the TableName field's value.
24258func (s *DeleteColumnStatisticsForTableInput) SetTableName(v string) *DeleteColumnStatisticsForTableInput {
24259	s.TableName = &v
24260	return s
24261}
24262
24263type DeleteColumnStatisticsForTableOutput struct {
24264	_ struct{} `type:"structure"`
24265}
24266
24267// String returns the string representation
24268func (s DeleteColumnStatisticsForTableOutput) String() string {
24269	return awsutil.Prettify(s)
24270}
24271
24272// GoString returns the string representation
24273func (s DeleteColumnStatisticsForTableOutput) GoString() string {
24274	return s.String()
24275}
24276
24277type DeleteConnectionInput struct {
24278	_ struct{} `type:"structure"`
24279
24280	// The ID of the Data Catalog in which the connection resides. If none is provided,
24281	// the AWS account ID is used by default.
24282	CatalogId *string `min:"1" type:"string"`
24283
24284	// The name of the connection to delete.
24285	//
24286	// ConnectionName is a required field
24287	ConnectionName *string `min:"1" type:"string" required:"true"`
24288}
24289
24290// String returns the string representation
24291func (s DeleteConnectionInput) String() string {
24292	return awsutil.Prettify(s)
24293}
24294
24295// GoString returns the string representation
24296func (s DeleteConnectionInput) GoString() string {
24297	return s.String()
24298}
24299
24300// Validate inspects the fields of the type to determine if they are valid.
24301func (s *DeleteConnectionInput) Validate() error {
24302	invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"}
24303	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24304		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24305	}
24306	if s.ConnectionName == nil {
24307		invalidParams.Add(request.NewErrParamRequired("ConnectionName"))
24308	}
24309	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
24310		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
24311	}
24312
24313	if invalidParams.Len() > 0 {
24314		return invalidParams
24315	}
24316	return nil
24317}
24318
24319// SetCatalogId sets the CatalogId field's value.
24320func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput {
24321	s.CatalogId = &v
24322	return s
24323}
24324
24325// SetConnectionName sets the ConnectionName field's value.
24326func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput {
24327	s.ConnectionName = &v
24328	return s
24329}
24330
24331type DeleteConnectionOutput struct {
24332	_ struct{} `type:"structure"`
24333}
24334
24335// String returns the string representation
24336func (s DeleteConnectionOutput) String() string {
24337	return awsutil.Prettify(s)
24338}
24339
24340// GoString returns the string representation
24341func (s DeleteConnectionOutput) GoString() string {
24342	return s.String()
24343}
24344
24345type DeleteCrawlerInput struct {
24346	_ struct{} `type:"structure"`
24347
24348	// The name of the crawler to remove.
24349	//
24350	// Name is a required field
24351	Name *string `min:"1" type:"string" required:"true"`
24352}
24353
24354// String returns the string representation
24355func (s DeleteCrawlerInput) String() string {
24356	return awsutil.Prettify(s)
24357}
24358
24359// GoString returns the string representation
24360func (s DeleteCrawlerInput) GoString() string {
24361	return s.String()
24362}
24363
24364// Validate inspects the fields of the type to determine if they are valid.
24365func (s *DeleteCrawlerInput) Validate() error {
24366	invalidParams := request.ErrInvalidParams{Context: "DeleteCrawlerInput"}
24367	if s.Name == nil {
24368		invalidParams.Add(request.NewErrParamRequired("Name"))
24369	}
24370	if s.Name != nil && len(*s.Name) < 1 {
24371		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24372	}
24373
24374	if invalidParams.Len() > 0 {
24375		return invalidParams
24376	}
24377	return nil
24378}
24379
24380// SetName sets the Name field's value.
24381func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput {
24382	s.Name = &v
24383	return s
24384}
24385
24386type DeleteCrawlerOutput struct {
24387	_ struct{} `type:"structure"`
24388}
24389
24390// String returns the string representation
24391func (s DeleteCrawlerOutput) String() string {
24392	return awsutil.Prettify(s)
24393}
24394
24395// GoString returns the string representation
24396func (s DeleteCrawlerOutput) GoString() string {
24397	return s.String()
24398}
24399
24400type DeleteDatabaseInput struct {
24401	_ struct{} `type:"structure"`
24402
24403	// The ID of the Data Catalog in which the database resides. If none is provided,
24404	// the AWS account ID is used by default.
24405	CatalogId *string `min:"1" type:"string"`
24406
24407	// The name of the database to delete. For Hive compatibility, this must be
24408	// all lowercase.
24409	//
24410	// Name is a required field
24411	Name *string `min:"1" type:"string" required:"true"`
24412}
24413
24414// String returns the string representation
24415func (s DeleteDatabaseInput) String() string {
24416	return awsutil.Prettify(s)
24417}
24418
24419// GoString returns the string representation
24420func (s DeleteDatabaseInput) GoString() string {
24421	return s.String()
24422}
24423
24424// Validate inspects the fields of the type to determine if they are valid.
24425func (s *DeleteDatabaseInput) Validate() error {
24426	invalidParams := request.ErrInvalidParams{Context: "DeleteDatabaseInput"}
24427	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24428		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24429	}
24430	if s.Name == nil {
24431		invalidParams.Add(request.NewErrParamRequired("Name"))
24432	}
24433	if s.Name != nil && len(*s.Name) < 1 {
24434		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24435	}
24436
24437	if invalidParams.Len() > 0 {
24438		return invalidParams
24439	}
24440	return nil
24441}
24442
24443// SetCatalogId sets the CatalogId field's value.
24444func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput {
24445	s.CatalogId = &v
24446	return s
24447}
24448
24449// SetName sets the Name field's value.
24450func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput {
24451	s.Name = &v
24452	return s
24453}
24454
24455type DeleteDatabaseOutput struct {
24456	_ struct{} `type:"structure"`
24457}
24458
24459// String returns the string representation
24460func (s DeleteDatabaseOutput) String() string {
24461	return awsutil.Prettify(s)
24462}
24463
24464// GoString returns the string representation
24465func (s DeleteDatabaseOutput) GoString() string {
24466	return s.String()
24467}
24468
24469type DeleteDevEndpointInput struct {
24470	_ struct{} `type:"structure"`
24471
24472	// The name of the DevEndpoint.
24473	//
24474	// EndpointName is a required field
24475	EndpointName *string `type:"string" required:"true"`
24476}
24477
24478// String returns the string representation
24479func (s DeleteDevEndpointInput) String() string {
24480	return awsutil.Prettify(s)
24481}
24482
24483// GoString returns the string representation
24484func (s DeleteDevEndpointInput) GoString() string {
24485	return s.String()
24486}
24487
24488// Validate inspects the fields of the type to determine if they are valid.
24489func (s *DeleteDevEndpointInput) Validate() error {
24490	invalidParams := request.ErrInvalidParams{Context: "DeleteDevEndpointInput"}
24491	if s.EndpointName == nil {
24492		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
24493	}
24494
24495	if invalidParams.Len() > 0 {
24496		return invalidParams
24497	}
24498	return nil
24499}
24500
24501// SetEndpointName sets the EndpointName field's value.
24502func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput {
24503	s.EndpointName = &v
24504	return s
24505}
24506
24507type DeleteDevEndpointOutput struct {
24508	_ struct{} `type:"structure"`
24509}
24510
24511// String returns the string representation
24512func (s DeleteDevEndpointOutput) String() string {
24513	return awsutil.Prettify(s)
24514}
24515
24516// GoString returns the string representation
24517func (s DeleteDevEndpointOutput) GoString() string {
24518	return s.String()
24519}
24520
24521type DeleteJobInput struct {
24522	_ struct{} `type:"structure"`
24523
24524	// The name of the job definition to delete.
24525	//
24526	// JobName is a required field
24527	JobName *string `min:"1" type:"string" required:"true"`
24528}
24529
24530// String returns the string representation
24531func (s DeleteJobInput) String() string {
24532	return awsutil.Prettify(s)
24533}
24534
24535// GoString returns the string representation
24536func (s DeleteJobInput) GoString() string {
24537	return s.String()
24538}
24539
24540// Validate inspects the fields of the type to determine if they are valid.
24541func (s *DeleteJobInput) Validate() error {
24542	invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"}
24543	if s.JobName == nil {
24544		invalidParams.Add(request.NewErrParamRequired("JobName"))
24545	}
24546	if s.JobName != nil && len(*s.JobName) < 1 {
24547		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
24548	}
24549
24550	if invalidParams.Len() > 0 {
24551		return invalidParams
24552	}
24553	return nil
24554}
24555
24556// SetJobName sets the JobName field's value.
24557func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput {
24558	s.JobName = &v
24559	return s
24560}
24561
24562type DeleteJobOutput struct {
24563	_ struct{} `type:"structure"`
24564
24565	// The name of the job definition that was deleted.
24566	JobName *string `min:"1" type:"string"`
24567}
24568
24569// String returns the string representation
24570func (s DeleteJobOutput) String() string {
24571	return awsutil.Prettify(s)
24572}
24573
24574// GoString returns the string representation
24575func (s DeleteJobOutput) GoString() string {
24576	return s.String()
24577}
24578
24579// SetJobName sets the JobName field's value.
24580func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput {
24581	s.JobName = &v
24582	return s
24583}
24584
24585type DeleteMLTransformInput struct {
24586	_ struct{} `type:"structure"`
24587
24588	// The unique identifier of the transform to delete.
24589	//
24590	// TransformId is a required field
24591	TransformId *string `min:"1" type:"string" required:"true"`
24592}
24593
24594// String returns the string representation
24595func (s DeleteMLTransformInput) String() string {
24596	return awsutil.Prettify(s)
24597}
24598
24599// GoString returns the string representation
24600func (s DeleteMLTransformInput) GoString() string {
24601	return s.String()
24602}
24603
24604// Validate inspects the fields of the type to determine if they are valid.
24605func (s *DeleteMLTransformInput) Validate() error {
24606	invalidParams := request.ErrInvalidParams{Context: "DeleteMLTransformInput"}
24607	if s.TransformId == nil {
24608		invalidParams.Add(request.NewErrParamRequired("TransformId"))
24609	}
24610	if s.TransformId != nil && len(*s.TransformId) < 1 {
24611		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
24612	}
24613
24614	if invalidParams.Len() > 0 {
24615		return invalidParams
24616	}
24617	return nil
24618}
24619
24620// SetTransformId sets the TransformId field's value.
24621func (s *DeleteMLTransformInput) SetTransformId(v string) *DeleteMLTransformInput {
24622	s.TransformId = &v
24623	return s
24624}
24625
24626type DeleteMLTransformOutput struct {
24627	_ struct{} `type:"structure"`
24628
24629	// The unique identifier of the transform that was deleted.
24630	TransformId *string `min:"1" type:"string"`
24631}
24632
24633// String returns the string representation
24634func (s DeleteMLTransformOutput) String() string {
24635	return awsutil.Prettify(s)
24636}
24637
24638// GoString returns the string representation
24639func (s DeleteMLTransformOutput) GoString() string {
24640	return s.String()
24641}
24642
24643// SetTransformId sets the TransformId field's value.
24644func (s *DeleteMLTransformOutput) SetTransformId(v string) *DeleteMLTransformOutput {
24645	s.TransformId = &v
24646	return s
24647}
24648
24649type DeletePartitionIndexInput struct {
24650	_ struct{} `type:"structure"`
24651
24652	// The catalog ID where the table resides.
24653	CatalogId *string `min:"1" type:"string"`
24654
24655	// Specifies the name of a database from which you want to delete a partition
24656	// index.
24657	//
24658	// DatabaseName is a required field
24659	DatabaseName *string `min:"1" type:"string" required:"true"`
24660
24661	// The name of the partition index to be deleted.
24662	//
24663	// IndexName is a required field
24664	IndexName *string `min:"1" type:"string" required:"true"`
24665
24666	// Specifies the name of a table from which you want to delete a partition index.
24667	//
24668	// TableName is a required field
24669	TableName *string `min:"1" type:"string" required:"true"`
24670}
24671
24672// String returns the string representation
24673func (s DeletePartitionIndexInput) String() string {
24674	return awsutil.Prettify(s)
24675}
24676
24677// GoString returns the string representation
24678func (s DeletePartitionIndexInput) GoString() string {
24679	return s.String()
24680}
24681
24682// Validate inspects the fields of the type to determine if they are valid.
24683func (s *DeletePartitionIndexInput) Validate() error {
24684	invalidParams := request.ErrInvalidParams{Context: "DeletePartitionIndexInput"}
24685	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24686		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24687	}
24688	if s.DatabaseName == nil {
24689		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24690	}
24691	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24692		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24693	}
24694	if s.IndexName == nil {
24695		invalidParams.Add(request.NewErrParamRequired("IndexName"))
24696	}
24697	if s.IndexName != nil && len(*s.IndexName) < 1 {
24698		invalidParams.Add(request.NewErrParamMinLen("IndexName", 1))
24699	}
24700	if s.TableName == nil {
24701		invalidParams.Add(request.NewErrParamRequired("TableName"))
24702	}
24703	if s.TableName != nil && len(*s.TableName) < 1 {
24704		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
24705	}
24706
24707	if invalidParams.Len() > 0 {
24708		return invalidParams
24709	}
24710	return nil
24711}
24712
24713// SetCatalogId sets the CatalogId field's value.
24714func (s *DeletePartitionIndexInput) SetCatalogId(v string) *DeletePartitionIndexInput {
24715	s.CatalogId = &v
24716	return s
24717}
24718
24719// SetDatabaseName sets the DatabaseName field's value.
24720func (s *DeletePartitionIndexInput) SetDatabaseName(v string) *DeletePartitionIndexInput {
24721	s.DatabaseName = &v
24722	return s
24723}
24724
24725// SetIndexName sets the IndexName field's value.
24726func (s *DeletePartitionIndexInput) SetIndexName(v string) *DeletePartitionIndexInput {
24727	s.IndexName = &v
24728	return s
24729}
24730
24731// SetTableName sets the TableName field's value.
24732func (s *DeletePartitionIndexInput) SetTableName(v string) *DeletePartitionIndexInput {
24733	s.TableName = &v
24734	return s
24735}
24736
24737type DeletePartitionIndexOutput struct {
24738	_ struct{} `type:"structure"`
24739}
24740
24741// String returns the string representation
24742func (s DeletePartitionIndexOutput) String() string {
24743	return awsutil.Prettify(s)
24744}
24745
24746// GoString returns the string representation
24747func (s DeletePartitionIndexOutput) GoString() string {
24748	return s.String()
24749}
24750
24751type DeletePartitionInput struct {
24752	_ struct{} `type:"structure"`
24753
24754	// The ID of the Data Catalog where the partition to be deleted resides. If
24755	// none is provided, the AWS account ID is used by default.
24756	CatalogId *string `min:"1" type:"string"`
24757
24758	// The name of the catalog database in which the table in question resides.
24759	//
24760	// DatabaseName is a required field
24761	DatabaseName *string `min:"1" type:"string" required:"true"`
24762
24763	// The values that define the partition.
24764	//
24765	// PartitionValues is a required field
24766	PartitionValues []*string `type:"list" required:"true"`
24767
24768	// The name of the table that contains the partition to be deleted.
24769	//
24770	// TableName is a required field
24771	TableName *string `min:"1" type:"string" required:"true"`
24772}
24773
24774// String returns the string representation
24775func (s DeletePartitionInput) String() string {
24776	return awsutil.Prettify(s)
24777}
24778
24779// GoString returns the string representation
24780func (s DeletePartitionInput) GoString() string {
24781	return s.String()
24782}
24783
24784// Validate inspects the fields of the type to determine if they are valid.
24785func (s *DeletePartitionInput) Validate() error {
24786	invalidParams := request.ErrInvalidParams{Context: "DeletePartitionInput"}
24787	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24788		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24789	}
24790	if s.DatabaseName == nil {
24791		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24792	}
24793	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24794		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24795	}
24796	if s.PartitionValues == nil {
24797		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
24798	}
24799	if s.TableName == nil {
24800		invalidParams.Add(request.NewErrParamRequired("TableName"))
24801	}
24802	if s.TableName != nil && len(*s.TableName) < 1 {
24803		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
24804	}
24805
24806	if invalidParams.Len() > 0 {
24807		return invalidParams
24808	}
24809	return nil
24810}
24811
24812// SetCatalogId sets the CatalogId field's value.
24813func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput {
24814	s.CatalogId = &v
24815	return s
24816}
24817
24818// SetDatabaseName sets the DatabaseName field's value.
24819func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput {
24820	s.DatabaseName = &v
24821	return s
24822}
24823
24824// SetPartitionValues sets the PartitionValues field's value.
24825func (s *DeletePartitionInput) SetPartitionValues(v []*string) *DeletePartitionInput {
24826	s.PartitionValues = v
24827	return s
24828}
24829
24830// SetTableName sets the TableName field's value.
24831func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput {
24832	s.TableName = &v
24833	return s
24834}
24835
24836type DeletePartitionOutput struct {
24837	_ struct{} `type:"structure"`
24838}
24839
24840// String returns the string representation
24841func (s DeletePartitionOutput) String() string {
24842	return awsutil.Prettify(s)
24843}
24844
24845// GoString returns the string representation
24846func (s DeletePartitionOutput) GoString() string {
24847	return s.String()
24848}
24849
24850type DeleteRegistryInput struct {
24851	_ struct{} `type:"structure"`
24852
24853	// This is a wrapper structure that may contain the registry name and Amazon
24854	// Resource Name (ARN).
24855	//
24856	// RegistryId is a required field
24857	RegistryId *RegistryId `type:"structure" required:"true"`
24858}
24859
24860// String returns the string representation
24861func (s DeleteRegistryInput) String() string {
24862	return awsutil.Prettify(s)
24863}
24864
24865// GoString returns the string representation
24866func (s DeleteRegistryInput) GoString() string {
24867	return s.String()
24868}
24869
24870// Validate inspects the fields of the type to determine if they are valid.
24871func (s *DeleteRegistryInput) Validate() error {
24872	invalidParams := request.ErrInvalidParams{Context: "DeleteRegistryInput"}
24873	if s.RegistryId == nil {
24874		invalidParams.Add(request.NewErrParamRequired("RegistryId"))
24875	}
24876	if s.RegistryId != nil {
24877		if err := s.RegistryId.Validate(); err != nil {
24878			invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams))
24879		}
24880	}
24881
24882	if invalidParams.Len() > 0 {
24883		return invalidParams
24884	}
24885	return nil
24886}
24887
24888// SetRegistryId sets the RegistryId field's value.
24889func (s *DeleteRegistryInput) SetRegistryId(v *RegistryId) *DeleteRegistryInput {
24890	s.RegistryId = v
24891	return s
24892}
24893
24894type DeleteRegistryOutput struct {
24895	_ struct{} `type:"structure"`
24896
24897	// The Amazon Resource Name (ARN) of the registry being deleted.
24898	RegistryArn *string `min:"1" type:"string"`
24899
24900	// The name of the registry being deleted.
24901	RegistryName *string `min:"1" type:"string"`
24902
24903	// The status of the registry. A successful operation will return the Deleting
24904	// status.
24905	Status *string `type:"string" enum:"RegistryStatus"`
24906}
24907
24908// String returns the string representation
24909func (s DeleteRegistryOutput) String() string {
24910	return awsutil.Prettify(s)
24911}
24912
24913// GoString returns the string representation
24914func (s DeleteRegistryOutput) GoString() string {
24915	return s.String()
24916}
24917
24918// SetRegistryArn sets the RegistryArn field's value.
24919func (s *DeleteRegistryOutput) SetRegistryArn(v string) *DeleteRegistryOutput {
24920	s.RegistryArn = &v
24921	return s
24922}
24923
24924// SetRegistryName sets the RegistryName field's value.
24925func (s *DeleteRegistryOutput) SetRegistryName(v string) *DeleteRegistryOutput {
24926	s.RegistryName = &v
24927	return s
24928}
24929
24930// SetStatus sets the Status field's value.
24931func (s *DeleteRegistryOutput) SetStatus(v string) *DeleteRegistryOutput {
24932	s.Status = &v
24933	return s
24934}
24935
24936type DeleteResourcePolicyInput struct {
24937	_ struct{} `type:"structure"`
24938
24939	// The hash value returned when this policy was set.
24940	PolicyHashCondition *string `min:"1" type:"string"`
24941
24942	// The ARN of the AWS Glue resource for the resource policy to be deleted.
24943	ResourceArn *string `min:"1" type:"string"`
24944}
24945
24946// String returns the string representation
24947func (s DeleteResourcePolicyInput) String() string {
24948	return awsutil.Prettify(s)
24949}
24950
24951// GoString returns the string representation
24952func (s DeleteResourcePolicyInput) GoString() string {
24953	return s.String()
24954}
24955
24956// Validate inspects the fields of the type to determine if they are valid.
24957func (s *DeleteResourcePolicyInput) Validate() error {
24958	invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"}
24959	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
24960		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
24961	}
24962	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
24963		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
24964	}
24965
24966	if invalidParams.Len() > 0 {
24967		return invalidParams
24968	}
24969	return nil
24970}
24971
24972// SetPolicyHashCondition sets the PolicyHashCondition field's value.
24973func (s *DeleteResourcePolicyInput) SetPolicyHashCondition(v string) *DeleteResourcePolicyInput {
24974	s.PolicyHashCondition = &v
24975	return s
24976}
24977
24978// SetResourceArn sets the ResourceArn field's value.
24979func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput {
24980	s.ResourceArn = &v
24981	return s
24982}
24983
24984type DeleteResourcePolicyOutput struct {
24985	_ struct{} `type:"structure"`
24986}
24987
24988// String returns the string representation
24989func (s DeleteResourcePolicyOutput) String() string {
24990	return awsutil.Prettify(s)
24991}
24992
24993// GoString returns the string representation
24994func (s DeleteResourcePolicyOutput) GoString() string {
24995	return s.String()
24996}
24997
24998type DeleteSchemaInput struct {
24999	_ struct{} `type:"structure"`
25000
25001	// This is a wrapper structure that may contain the schema name and Amazon Resource
25002	// Name (ARN).
25003	//
25004	// SchemaId is a required field
25005	SchemaId *SchemaId `type:"structure" required:"true"`
25006}
25007
25008// String returns the string representation
25009func (s DeleteSchemaInput) String() string {
25010	return awsutil.Prettify(s)
25011}
25012
25013// GoString returns the string representation
25014func (s DeleteSchemaInput) GoString() string {
25015	return s.String()
25016}
25017
25018// Validate inspects the fields of the type to determine if they are valid.
25019func (s *DeleteSchemaInput) Validate() error {
25020	invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaInput"}
25021	if s.SchemaId == nil {
25022		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
25023	}
25024	if s.SchemaId != nil {
25025		if err := s.SchemaId.Validate(); err != nil {
25026			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
25027		}
25028	}
25029
25030	if invalidParams.Len() > 0 {
25031		return invalidParams
25032	}
25033	return nil
25034}
25035
25036// SetSchemaId sets the SchemaId field's value.
25037func (s *DeleteSchemaInput) SetSchemaId(v *SchemaId) *DeleteSchemaInput {
25038	s.SchemaId = v
25039	return s
25040}
25041
25042type DeleteSchemaOutput struct {
25043	_ struct{} `type:"structure"`
25044
25045	// The Amazon Resource Name (ARN) of the schema being deleted.
25046	SchemaArn *string `min:"1" type:"string"`
25047
25048	// The name of the schema being deleted.
25049	SchemaName *string `min:"1" type:"string"`
25050
25051	// The status of the schema.
25052	Status *string `type:"string" enum:"SchemaStatus"`
25053}
25054
25055// String returns the string representation
25056func (s DeleteSchemaOutput) String() string {
25057	return awsutil.Prettify(s)
25058}
25059
25060// GoString returns the string representation
25061func (s DeleteSchemaOutput) GoString() string {
25062	return s.String()
25063}
25064
25065// SetSchemaArn sets the SchemaArn field's value.
25066func (s *DeleteSchemaOutput) SetSchemaArn(v string) *DeleteSchemaOutput {
25067	s.SchemaArn = &v
25068	return s
25069}
25070
25071// SetSchemaName sets the SchemaName field's value.
25072func (s *DeleteSchemaOutput) SetSchemaName(v string) *DeleteSchemaOutput {
25073	s.SchemaName = &v
25074	return s
25075}
25076
25077// SetStatus sets the Status field's value.
25078func (s *DeleteSchemaOutput) SetStatus(v string) *DeleteSchemaOutput {
25079	s.Status = &v
25080	return s
25081}
25082
25083type DeleteSchemaVersionsInput struct {
25084	_ struct{} `type:"structure"`
25085
25086	// This is a wrapper structure that may contain the schema name and Amazon Resource
25087	// Name (ARN).
25088	//
25089	// SchemaId is a required field
25090	SchemaId *SchemaId `type:"structure" required:"true"`
25091
25092	// A version range may be supplied which may be of the format:
25093	//
25094	//    * a single version number, 5
25095	//
25096	//    * a range, 5-8 : deletes versions 5, 6, 7, 8
25097	//
25098	// Versions is a required field
25099	Versions *string `min:"1" type:"string" required:"true"`
25100}
25101
25102// String returns the string representation
25103func (s DeleteSchemaVersionsInput) String() string {
25104	return awsutil.Prettify(s)
25105}
25106
25107// GoString returns the string representation
25108func (s DeleteSchemaVersionsInput) GoString() string {
25109	return s.String()
25110}
25111
25112// Validate inspects the fields of the type to determine if they are valid.
25113func (s *DeleteSchemaVersionsInput) Validate() error {
25114	invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaVersionsInput"}
25115	if s.SchemaId == nil {
25116		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
25117	}
25118	if s.Versions == nil {
25119		invalidParams.Add(request.NewErrParamRequired("Versions"))
25120	}
25121	if s.Versions != nil && len(*s.Versions) < 1 {
25122		invalidParams.Add(request.NewErrParamMinLen("Versions", 1))
25123	}
25124	if s.SchemaId != nil {
25125		if err := s.SchemaId.Validate(); err != nil {
25126			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
25127		}
25128	}
25129
25130	if invalidParams.Len() > 0 {
25131		return invalidParams
25132	}
25133	return nil
25134}
25135
25136// SetSchemaId sets the SchemaId field's value.
25137func (s *DeleteSchemaVersionsInput) SetSchemaId(v *SchemaId) *DeleteSchemaVersionsInput {
25138	s.SchemaId = v
25139	return s
25140}
25141
25142// SetVersions sets the Versions field's value.
25143func (s *DeleteSchemaVersionsInput) SetVersions(v string) *DeleteSchemaVersionsInput {
25144	s.Versions = &v
25145	return s
25146}
25147
25148type DeleteSchemaVersionsOutput struct {
25149	_ struct{} `type:"structure"`
25150
25151	// A list of SchemaVersionErrorItem objects, each containing an error and schema
25152	// version.
25153	SchemaVersionErrors []*SchemaVersionErrorItem `type:"list"`
25154}
25155
25156// String returns the string representation
25157func (s DeleteSchemaVersionsOutput) String() string {
25158	return awsutil.Prettify(s)
25159}
25160
25161// GoString returns the string representation
25162func (s DeleteSchemaVersionsOutput) GoString() string {
25163	return s.String()
25164}
25165
25166// SetSchemaVersionErrors sets the SchemaVersionErrors field's value.
25167func (s *DeleteSchemaVersionsOutput) SetSchemaVersionErrors(v []*SchemaVersionErrorItem) *DeleteSchemaVersionsOutput {
25168	s.SchemaVersionErrors = v
25169	return s
25170}
25171
25172type DeleteSecurityConfigurationInput struct {
25173	_ struct{} `type:"structure"`
25174
25175	// The name of the security configuration to delete.
25176	//
25177	// Name is a required field
25178	Name *string `min:"1" type:"string" required:"true"`
25179}
25180
25181// String returns the string representation
25182func (s DeleteSecurityConfigurationInput) String() string {
25183	return awsutil.Prettify(s)
25184}
25185
25186// GoString returns the string representation
25187func (s DeleteSecurityConfigurationInput) GoString() string {
25188	return s.String()
25189}
25190
25191// Validate inspects the fields of the type to determine if they are valid.
25192func (s *DeleteSecurityConfigurationInput) Validate() error {
25193	invalidParams := request.ErrInvalidParams{Context: "DeleteSecurityConfigurationInput"}
25194	if s.Name == nil {
25195		invalidParams.Add(request.NewErrParamRequired("Name"))
25196	}
25197	if s.Name != nil && len(*s.Name) < 1 {
25198		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25199	}
25200
25201	if invalidParams.Len() > 0 {
25202		return invalidParams
25203	}
25204	return nil
25205}
25206
25207// SetName sets the Name field's value.
25208func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput {
25209	s.Name = &v
25210	return s
25211}
25212
25213type DeleteSecurityConfigurationOutput struct {
25214	_ struct{} `type:"structure"`
25215}
25216
25217// String returns the string representation
25218func (s DeleteSecurityConfigurationOutput) String() string {
25219	return awsutil.Prettify(s)
25220}
25221
25222// GoString returns the string representation
25223func (s DeleteSecurityConfigurationOutput) GoString() string {
25224	return s.String()
25225}
25226
25227type DeleteTableInput struct {
25228	_ struct{} `type:"structure"`
25229
25230	// The ID of the Data Catalog where the table resides. If none is provided,
25231	// the AWS account ID is used by default.
25232	CatalogId *string `min:"1" type:"string"`
25233
25234	// The name of the catalog database in which the table resides. For Hive compatibility,
25235	// this name is entirely lowercase.
25236	//
25237	// DatabaseName is a required field
25238	DatabaseName *string `min:"1" type:"string" required:"true"`
25239
25240	// The name of the table to be deleted. For Hive compatibility, this name is
25241	// entirely lowercase.
25242	//
25243	// Name is a required field
25244	Name *string `min:"1" type:"string" required:"true"`
25245}
25246
25247// String returns the string representation
25248func (s DeleteTableInput) String() string {
25249	return awsutil.Prettify(s)
25250}
25251
25252// GoString returns the string representation
25253func (s DeleteTableInput) GoString() string {
25254	return s.String()
25255}
25256
25257// Validate inspects the fields of the type to determine if they are valid.
25258func (s *DeleteTableInput) Validate() error {
25259	invalidParams := request.ErrInvalidParams{Context: "DeleteTableInput"}
25260	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
25261		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
25262	}
25263	if s.DatabaseName == nil {
25264		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
25265	}
25266	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
25267		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
25268	}
25269	if s.Name == nil {
25270		invalidParams.Add(request.NewErrParamRequired("Name"))
25271	}
25272	if s.Name != nil && len(*s.Name) < 1 {
25273		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25274	}
25275
25276	if invalidParams.Len() > 0 {
25277		return invalidParams
25278	}
25279	return nil
25280}
25281
25282// SetCatalogId sets the CatalogId field's value.
25283func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput {
25284	s.CatalogId = &v
25285	return s
25286}
25287
25288// SetDatabaseName sets the DatabaseName field's value.
25289func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput {
25290	s.DatabaseName = &v
25291	return s
25292}
25293
25294// SetName sets the Name field's value.
25295func (s *DeleteTableInput) SetName(v string) *DeleteTableInput {
25296	s.Name = &v
25297	return s
25298}
25299
25300type DeleteTableOutput struct {
25301	_ struct{} `type:"structure"`
25302}
25303
25304// String returns the string representation
25305func (s DeleteTableOutput) String() string {
25306	return awsutil.Prettify(s)
25307}
25308
25309// GoString returns the string representation
25310func (s DeleteTableOutput) GoString() string {
25311	return s.String()
25312}
25313
25314type DeleteTableVersionInput struct {
25315	_ struct{} `type:"structure"`
25316
25317	// The ID of the Data Catalog where the tables reside. If none is provided,
25318	// the AWS account ID is used by default.
25319	CatalogId *string `min:"1" type:"string"`
25320
25321	// The database in the catalog in which the table resides. For Hive compatibility,
25322	// this name is entirely lowercase.
25323	//
25324	// DatabaseName is a required field
25325	DatabaseName *string `min:"1" type:"string" required:"true"`
25326
25327	// The name of the table. For Hive compatibility, this name is entirely lowercase.
25328	//
25329	// TableName is a required field
25330	TableName *string `min:"1" type:"string" required:"true"`
25331
25332	// The ID of the table version to be deleted. A VersionID is a string representation
25333	// of an integer. Each version is incremented by 1.
25334	//
25335	// VersionId is a required field
25336	VersionId *string `min:"1" type:"string" required:"true"`
25337}
25338
25339// String returns the string representation
25340func (s DeleteTableVersionInput) String() string {
25341	return awsutil.Prettify(s)
25342}
25343
25344// GoString returns the string representation
25345func (s DeleteTableVersionInput) GoString() string {
25346	return s.String()
25347}
25348
25349// Validate inspects the fields of the type to determine if they are valid.
25350func (s *DeleteTableVersionInput) Validate() error {
25351	invalidParams := request.ErrInvalidParams{Context: "DeleteTableVersionInput"}
25352	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
25353		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
25354	}
25355	if s.DatabaseName == nil {
25356		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
25357	}
25358	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
25359		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
25360	}
25361	if s.TableName == nil {
25362		invalidParams.Add(request.NewErrParamRequired("TableName"))
25363	}
25364	if s.TableName != nil && len(*s.TableName) < 1 {
25365		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
25366	}
25367	if s.VersionId == nil {
25368		invalidParams.Add(request.NewErrParamRequired("VersionId"))
25369	}
25370	if s.VersionId != nil && len(*s.VersionId) < 1 {
25371		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
25372	}
25373
25374	if invalidParams.Len() > 0 {
25375		return invalidParams
25376	}
25377	return nil
25378}
25379
25380// SetCatalogId sets the CatalogId field's value.
25381func (s *DeleteTableVersionInput) SetCatalogId(v string) *DeleteTableVersionInput {
25382	s.CatalogId = &v
25383	return s
25384}
25385
25386// SetDatabaseName sets the DatabaseName field's value.
25387func (s *DeleteTableVersionInput) SetDatabaseName(v string) *DeleteTableVersionInput {
25388	s.DatabaseName = &v
25389	return s
25390}
25391
25392// SetTableName sets the TableName field's value.
25393func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput {
25394	s.TableName = &v
25395	return s
25396}
25397
25398// SetVersionId sets the VersionId field's value.
25399func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput {
25400	s.VersionId = &v
25401	return s
25402}
25403
25404type DeleteTableVersionOutput struct {
25405	_ struct{} `type:"structure"`
25406}
25407
25408// String returns the string representation
25409func (s DeleteTableVersionOutput) String() string {
25410	return awsutil.Prettify(s)
25411}
25412
25413// GoString returns the string representation
25414func (s DeleteTableVersionOutput) GoString() string {
25415	return s.String()
25416}
25417
25418type DeleteTriggerInput struct {
25419	_ struct{} `type:"structure"`
25420
25421	// The name of the trigger to delete.
25422	//
25423	// Name is a required field
25424	Name *string `min:"1" type:"string" required:"true"`
25425}
25426
25427// String returns the string representation
25428func (s DeleteTriggerInput) String() string {
25429	return awsutil.Prettify(s)
25430}
25431
25432// GoString returns the string representation
25433func (s DeleteTriggerInput) GoString() string {
25434	return s.String()
25435}
25436
25437// Validate inspects the fields of the type to determine if they are valid.
25438func (s *DeleteTriggerInput) Validate() error {
25439	invalidParams := request.ErrInvalidParams{Context: "DeleteTriggerInput"}
25440	if s.Name == nil {
25441		invalidParams.Add(request.NewErrParamRequired("Name"))
25442	}
25443	if s.Name != nil && len(*s.Name) < 1 {
25444		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25445	}
25446
25447	if invalidParams.Len() > 0 {
25448		return invalidParams
25449	}
25450	return nil
25451}
25452
25453// SetName sets the Name field's value.
25454func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput {
25455	s.Name = &v
25456	return s
25457}
25458
25459type DeleteTriggerOutput struct {
25460	_ struct{} `type:"structure"`
25461
25462	// The name of the trigger that was deleted.
25463	Name *string `min:"1" type:"string"`
25464}
25465
25466// String returns the string representation
25467func (s DeleteTriggerOutput) String() string {
25468	return awsutil.Prettify(s)
25469}
25470
25471// GoString returns the string representation
25472func (s DeleteTriggerOutput) GoString() string {
25473	return s.String()
25474}
25475
25476// SetName sets the Name field's value.
25477func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput {
25478	s.Name = &v
25479	return s
25480}
25481
25482type DeleteUserDefinedFunctionInput struct {
25483	_ struct{} `type:"structure"`
25484
25485	// The ID of the Data Catalog where the function to be deleted is located. If
25486	// none is supplied, the AWS account ID is used by default.
25487	CatalogId *string `min:"1" type:"string"`
25488
25489	// The name of the catalog database where the function is located.
25490	//
25491	// DatabaseName is a required field
25492	DatabaseName *string `min:"1" type:"string" required:"true"`
25493
25494	// The name of the function definition to be deleted.
25495	//
25496	// FunctionName is a required field
25497	FunctionName *string `min:"1" type:"string" required:"true"`
25498}
25499
25500// String returns the string representation
25501func (s DeleteUserDefinedFunctionInput) String() string {
25502	return awsutil.Prettify(s)
25503}
25504
25505// GoString returns the string representation
25506func (s DeleteUserDefinedFunctionInput) GoString() string {
25507	return s.String()
25508}
25509
25510// Validate inspects the fields of the type to determine if they are valid.
25511func (s *DeleteUserDefinedFunctionInput) Validate() error {
25512	invalidParams := request.ErrInvalidParams{Context: "DeleteUserDefinedFunctionInput"}
25513	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
25514		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
25515	}
25516	if s.DatabaseName == nil {
25517		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
25518	}
25519	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
25520		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
25521	}
25522	if s.FunctionName == nil {
25523		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
25524	}
25525	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
25526		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
25527	}
25528
25529	if invalidParams.Len() > 0 {
25530		return invalidParams
25531	}
25532	return nil
25533}
25534
25535// SetCatalogId sets the CatalogId field's value.
25536func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput {
25537	s.CatalogId = &v
25538	return s
25539}
25540
25541// SetDatabaseName sets the DatabaseName field's value.
25542func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput {
25543	s.DatabaseName = &v
25544	return s
25545}
25546
25547// SetFunctionName sets the FunctionName field's value.
25548func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput {
25549	s.FunctionName = &v
25550	return s
25551}
25552
25553type DeleteUserDefinedFunctionOutput struct {
25554	_ struct{} `type:"structure"`
25555}
25556
25557// String returns the string representation
25558func (s DeleteUserDefinedFunctionOutput) String() string {
25559	return awsutil.Prettify(s)
25560}
25561
25562// GoString returns the string representation
25563func (s DeleteUserDefinedFunctionOutput) GoString() string {
25564	return s.String()
25565}
25566
25567type DeleteWorkflowInput struct {
25568	_ struct{} `type:"structure"`
25569
25570	// Name of the workflow to be deleted.
25571	//
25572	// Name is a required field
25573	Name *string `min:"1" type:"string" required:"true"`
25574}
25575
25576// String returns the string representation
25577func (s DeleteWorkflowInput) String() string {
25578	return awsutil.Prettify(s)
25579}
25580
25581// GoString returns the string representation
25582func (s DeleteWorkflowInput) GoString() string {
25583	return s.String()
25584}
25585
25586// Validate inspects the fields of the type to determine if they are valid.
25587func (s *DeleteWorkflowInput) Validate() error {
25588	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"}
25589	if s.Name == nil {
25590		invalidParams.Add(request.NewErrParamRequired("Name"))
25591	}
25592	if s.Name != nil && len(*s.Name) < 1 {
25593		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25594	}
25595
25596	if invalidParams.Len() > 0 {
25597		return invalidParams
25598	}
25599	return nil
25600}
25601
25602// SetName sets the Name field's value.
25603func (s *DeleteWorkflowInput) SetName(v string) *DeleteWorkflowInput {
25604	s.Name = &v
25605	return s
25606}
25607
25608type DeleteWorkflowOutput struct {
25609	_ struct{} `type:"structure"`
25610
25611	// Name of the workflow specified in input.
25612	Name *string `min:"1" type:"string"`
25613}
25614
25615// String returns the string representation
25616func (s DeleteWorkflowOutput) String() string {
25617	return awsutil.Prettify(s)
25618}
25619
25620// GoString returns the string representation
25621func (s DeleteWorkflowOutput) GoString() string {
25622	return s.String()
25623}
25624
25625// SetName sets the Name field's value.
25626func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput {
25627	s.Name = &v
25628	return s
25629}
25630
25631// A development endpoint where a developer can remotely debug extract, transform,
25632// and load (ETL) scripts.
25633type DevEndpoint struct {
25634	_ struct{} `type:"structure"`
25635
25636	// A map of arguments used to configure the DevEndpoint.
25637	//
25638	// Valid arguments are:
25639	//
25640	//    * "--enable-glue-datacatalog": ""
25641	//
25642	//    * "GLUE_PYTHON_VERSION": "3"
25643	//
25644	//    * "GLUE_PYTHON_VERSION": "2"
25645	//
25646	// You can specify a version of Python support for development endpoints by
25647	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
25648	// APIs. If no arguments are provided, the version defaults to Python 2.
25649	Arguments map[string]*string `type:"map"`
25650
25651	// The AWS Availability Zone where this DevEndpoint is located.
25652	AvailabilityZone *string `type:"string"`
25653
25654	// The point in time at which this DevEndpoint was created.
25655	CreatedTimestamp *time.Time `type:"timestamp"`
25656
25657	// The name of the DevEndpoint.
25658	EndpointName *string `type:"string"`
25659
25660	// The path to one or more Java .jar files in an S3 bucket that should be loaded
25661	// in your DevEndpoint.
25662	//
25663	// You can only use pure Java/Scala libraries with a DevEndpoint.
25664	ExtraJarsS3Path *string `type:"string"`
25665
25666	// The paths to one or more Python libraries in an Amazon S3 bucket that should
25667	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
25668	// by a comma.
25669	//
25670	// You can only use pure Python libraries with a DevEndpoint. Libraries that
25671	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
25672	// data analysis library, are not currently supported.
25673	ExtraPythonLibsS3Path *string `type:"string"`
25674
25675	// The reason for a current failure in this DevEndpoint.
25676	FailureReason *string `type:"string"`
25677
25678	// Glue version determines the versions of Apache Spark and Python that AWS
25679	// Glue supports. The Python version indicates the version supported for running
25680	// your ETL scripts on development endpoints.
25681	//
25682	// For more information about the available AWS Glue versions and corresponding
25683	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
25684	// in the developer guide.
25685	//
25686	// Development endpoints that are created without specifying a Glue version
25687	// default to Glue 0.9.
25688	//
25689	// You can specify a version of Python support for development endpoints by
25690	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
25691	// APIs. If no arguments are provided, the version defaults to Python 2.
25692	GlueVersion *string `min:"1" type:"string"`
25693
25694	// The point in time at which this DevEndpoint was last modified.
25695	LastModifiedTimestamp *time.Time `type:"timestamp"`
25696
25697	// The status of the last update.
25698	LastUpdateStatus *string `type:"string"`
25699
25700	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
25701	NumberOfNodes *int64 `type:"integer"`
25702
25703	// The number of workers of a defined workerType that are allocated to the development
25704	// endpoint.
25705	//
25706	// The maximum number of workers you can define are 299 for G.1X, and 149 for
25707	// G.2X.
25708	NumberOfWorkers *int64 `type:"integer"`
25709
25710	// A private IP address to access the DevEndpoint within a VPC if the DevEndpoint
25711	// is created within one. The PrivateAddress field is present only when you
25712	// create the DevEndpoint within your VPC.
25713	PrivateAddress *string `type:"string"`
25714
25715	// The public IP address used by this DevEndpoint. The PublicAddress field is
25716	// present only when you create a non-virtual private cloud (VPC) DevEndpoint.
25717	PublicAddress *string `type:"string"`
25718
25719	// The public key to be used by this DevEndpoint for authentication. This attribute
25720	// is provided for backward compatibility because the recommended attribute
25721	// to use is public keys.
25722	PublicKey *string `type:"string"`
25723
25724	// A list of public keys to be used by the DevEndpoints for authentication.
25725	// Using this attribute is preferred over a single public key because the public
25726	// keys allow you to have a different private key per client.
25727	//
25728	// If you previously created an endpoint with a public key, you must remove
25729	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
25730	// API operation with the public key content in the deletePublicKeys attribute,
25731	// and the list of new keys in the addPublicKeys attribute.
25732	PublicKeys []*string `type:"list"`
25733
25734	// The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint.
25735	RoleArn *string `type:"string"`
25736
25737	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
25738	SecurityConfiguration *string `min:"1" type:"string"`
25739
25740	// A list of security group identifiers used in this DevEndpoint.
25741	SecurityGroupIds []*string `type:"list"`
25742
25743	// The current status of this DevEndpoint.
25744	Status *string `type:"string"`
25745
25746	// The subnet ID for this DevEndpoint.
25747	SubnetId *string `type:"string"`
25748
25749	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
25750	VpcId *string `type:"string"`
25751
25752	// The type of predefined worker that is allocated to the development endpoint.
25753	// Accepts a value of Standard, G.1X, or G.2X.
25754	//
25755	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
25756	//    memory and a 50GB disk, and 2 executors per worker.
25757	//
25758	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
25759	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
25760	//    this worker type for memory-intensive jobs.
25761	//
25762	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
25763	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
25764	//    this worker type for memory-intensive jobs.
25765	//
25766	// Known issue: when a development endpoint is created with the G.2X WorkerType
25767	// configuration, the Spark drivers for the development endpoint will run on
25768	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
25769	WorkerType *string `type:"string" enum:"WorkerType"`
25770
25771	// The YARN endpoint address used by this DevEndpoint.
25772	YarnEndpointAddress *string `type:"string"`
25773
25774	// The Apache Zeppelin port for the remote Apache Spark interpreter.
25775	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
25776}
25777
25778// String returns the string representation
25779func (s DevEndpoint) String() string {
25780	return awsutil.Prettify(s)
25781}
25782
25783// GoString returns the string representation
25784func (s DevEndpoint) GoString() string {
25785	return s.String()
25786}
25787
25788// SetArguments sets the Arguments field's value.
25789func (s *DevEndpoint) SetArguments(v map[string]*string) *DevEndpoint {
25790	s.Arguments = v
25791	return s
25792}
25793
25794// SetAvailabilityZone sets the AvailabilityZone field's value.
25795func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint {
25796	s.AvailabilityZone = &v
25797	return s
25798}
25799
25800// SetCreatedTimestamp sets the CreatedTimestamp field's value.
25801func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint {
25802	s.CreatedTimestamp = &v
25803	return s
25804}
25805
25806// SetEndpointName sets the EndpointName field's value.
25807func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint {
25808	s.EndpointName = &v
25809	return s
25810}
25811
25812// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
25813func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint {
25814	s.ExtraJarsS3Path = &v
25815	return s
25816}
25817
25818// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
25819func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint {
25820	s.ExtraPythonLibsS3Path = &v
25821	return s
25822}
25823
25824// SetFailureReason sets the FailureReason field's value.
25825func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint {
25826	s.FailureReason = &v
25827	return s
25828}
25829
25830// SetGlueVersion sets the GlueVersion field's value.
25831func (s *DevEndpoint) SetGlueVersion(v string) *DevEndpoint {
25832	s.GlueVersion = &v
25833	return s
25834}
25835
25836// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
25837func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint {
25838	s.LastModifiedTimestamp = &v
25839	return s
25840}
25841
25842// SetLastUpdateStatus sets the LastUpdateStatus field's value.
25843func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint {
25844	s.LastUpdateStatus = &v
25845	return s
25846}
25847
25848// SetNumberOfNodes sets the NumberOfNodes field's value.
25849func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint {
25850	s.NumberOfNodes = &v
25851	return s
25852}
25853
25854// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25855func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint {
25856	s.NumberOfWorkers = &v
25857	return s
25858}
25859
25860// SetPrivateAddress sets the PrivateAddress field's value.
25861func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint {
25862	s.PrivateAddress = &v
25863	return s
25864}
25865
25866// SetPublicAddress sets the PublicAddress field's value.
25867func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint {
25868	s.PublicAddress = &v
25869	return s
25870}
25871
25872// SetPublicKey sets the PublicKey field's value.
25873func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint {
25874	s.PublicKey = &v
25875	return s
25876}
25877
25878// SetPublicKeys sets the PublicKeys field's value.
25879func (s *DevEndpoint) SetPublicKeys(v []*string) *DevEndpoint {
25880	s.PublicKeys = v
25881	return s
25882}
25883
25884// SetRoleArn sets the RoleArn field's value.
25885func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint {
25886	s.RoleArn = &v
25887	return s
25888}
25889
25890// SetSecurityConfiguration sets the SecurityConfiguration field's value.
25891func (s *DevEndpoint) SetSecurityConfiguration(v string) *DevEndpoint {
25892	s.SecurityConfiguration = &v
25893	return s
25894}
25895
25896// SetSecurityGroupIds sets the SecurityGroupIds field's value.
25897func (s *DevEndpoint) SetSecurityGroupIds(v []*string) *DevEndpoint {
25898	s.SecurityGroupIds = v
25899	return s
25900}
25901
25902// SetStatus sets the Status field's value.
25903func (s *DevEndpoint) SetStatus(v string) *DevEndpoint {
25904	s.Status = &v
25905	return s
25906}
25907
25908// SetSubnetId sets the SubnetId field's value.
25909func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint {
25910	s.SubnetId = &v
25911	return s
25912}
25913
25914// SetVpcId sets the VpcId field's value.
25915func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint {
25916	s.VpcId = &v
25917	return s
25918}
25919
25920// SetWorkerType sets the WorkerType field's value.
25921func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint {
25922	s.WorkerType = &v
25923	return s
25924}
25925
25926// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
25927func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint {
25928	s.YarnEndpointAddress = &v
25929	return s
25930}
25931
25932// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
25933func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint {
25934	s.ZeppelinRemoteSparkInterpreterPort = &v
25935	return s
25936}
25937
25938// Custom libraries to be loaded into a development endpoint.
25939type DevEndpointCustomLibraries struct {
25940	_ struct{} `type:"structure"`
25941
25942	// The path to one or more Java .jar files in an S3 bucket that should be loaded
25943	// in your DevEndpoint.
25944	//
25945	// You can only use pure Java/Scala libraries with a DevEndpoint.
25946	ExtraJarsS3Path *string `type:"string"`
25947
25948	// The paths to one or more Python libraries in an Amazon Simple Storage Service
25949	// (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values
25950	// must be complete paths separated by a comma.
25951	//
25952	// You can only use pure Python libraries with a DevEndpoint. Libraries that
25953	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
25954	// data analysis library, are not currently supported.
25955	ExtraPythonLibsS3Path *string `type:"string"`
25956}
25957
25958// String returns the string representation
25959func (s DevEndpointCustomLibraries) String() string {
25960	return awsutil.Prettify(s)
25961}
25962
25963// GoString returns the string representation
25964func (s DevEndpointCustomLibraries) GoString() string {
25965	return s.String()
25966}
25967
25968// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
25969func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries {
25970	s.ExtraJarsS3Path = &v
25971	return s
25972}
25973
25974// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
25975func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries {
25976	s.ExtraPythonLibsS3Path = &v
25977	return s
25978}
25979
25980// Defines column statistics supported for floating-point number data columns.
25981type DoubleColumnStatisticsData struct {
25982	_ struct{} `type:"structure"`
25983
25984	// The highest value in the column.
25985	MaximumValue *float64 `type:"double"`
25986
25987	// The lowest value in the column.
25988	MinimumValue *float64 `type:"double"`
25989
25990	// The number of distinct values in a column.
25991	//
25992	// NumberOfDistinctValues is a required field
25993	NumberOfDistinctValues *int64 `type:"long" required:"true"`
25994
25995	// The number of null values in the column.
25996	//
25997	// NumberOfNulls is a required field
25998	NumberOfNulls *int64 `type:"long" required:"true"`
25999}
26000
26001// String returns the string representation
26002func (s DoubleColumnStatisticsData) String() string {
26003	return awsutil.Prettify(s)
26004}
26005
26006// GoString returns the string representation
26007func (s DoubleColumnStatisticsData) GoString() string {
26008	return s.String()
26009}
26010
26011// Validate inspects the fields of the type to determine if they are valid.
26012func (s *DoubleColumnStatisticsData) Validate() error {
26013	invalidParams := request.ErrInvalidParams{Context: "DoubleColumnStatisticsData"}
26014	if s.NumberOfDistinctValues == nil {
26015		invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues"))
26016	}
26017	if s.NumberOfNulls == nil {
26018		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
26019	}
26020
26021	if invalidParams.Len() > 0 {
26022		return invalidParams
26023	}
26024	return nil
26025}
26026
26027// SetMaximumValue sets the MaximumValue field's value.
26028func (s *DoubleColumnStatisticsData) SetMaximumValue(v float64) *DoubleColumnStatisticsData {
26029	s.MaximumValue = &v
26030	return s
26031}
26032
26033// SetMinimumValue sets the MinimumValue field's value.
26034func (s *DoubleColumnStatisticsData) SetMinimumValue(v float64) *DoubleColumnStatisticsData {
26035	s.MinimumValue = &v
26036	return s
26037}
26038
26039// SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value.
26040func (s *DoubleColumnStatisticsData) SetNumberOfDistinctValues(v int64) *DoubleColumnStatisticsData {
26041	s.NumberOfDistinctValues = &v
26042	return s
26043}
26044
26045// SetNumberOfNulls sets the NumberOfNulls field's value.
26046func (s *DoubleColumnStatisticsData) SetNumberOfNulls(v int64) *DoubleColumnStatisticsData {
26047	s.NumberOfNulls = &v
26048	return s
26049}
26050
26051// Specifies an Amazon DynamoDB table to crawl.
26052type DynamoDBTarget struct {
26053	_ struct{} `type:"structure"`
26054
26055	// The name of the DynamoDB table to crawl.
26056	Path *string `type:"string"`
26057
26058	// Indicates whether to scan all the records, or to sample rows from the table.
26059	// Scanning all the records can take a long time when the table is not a high
26060	// throughput table.
26061	//
26062	// A value of true means to scan all records, while a value of false means to
26063	// sample the records. If no value is specified, the value defaults to true.
26064	ScanAll *bool `locationName:"scanAll" type:"boolean"`
26065
26066	// The percentage of the configured read capacity units to use by the AWS Glue
26067	// crawler. Read capacity units is a term defined by DynamoDB, and is a numeric
26068	// value that acts as rate limiter for the number of reads that can be performed
26069	// on that table per second.
26070	//
26071	// The valid values are null or a value between 0.1 to 1.5. A null value is
26072	// used when user does not provide a value, and defaults to 0.5 of the configured
26073	// Read Capacity Unit (for provisioned tables), or 0.25 of the max configured
26074	// Read Capacity Unit (for tables using on-demand mode).
26075	ScanRate *float64 `locationName:"scanRate" type:"double"`
26076}
26077
26078// String returns the string representation
26079func (s DynamoDBTarget) String() string {
26080	return awsutil.Prettify(s)
26081}
26082
26083// GoString returns the string representation
26084func (s DynamoDBTarget) GoString() string {
26085	return s.String()
26086}
26087
26088// SetPath sets the Path field's value.
26089func (s *DynamoDBTarget) SetPath(v string) *DynamoDBTarget {
26090	s.Path = &v
26091	return s
26092}
26093
26094// SetScanAll sets the ScanAll field's value.
26095func (s *DynamoDBTarget) SetScanAll(v bool) *DynamoDBTarget {
26096	s.ScanAll = &v
26097	return s
26098}
26099
26100// SetScanRate sets the ScanRate field's value.
26101func (s *DynamoDBTarget) SetScanRate(v float64) *DynamoDBTarget {
26102	s.ScanRate = &v
26103	return s
26104}
26105
26106// An edge represents a directed connection between two AWS Glue components
26107// that are part of the workflow the edge belongs to.
26108type Edge struct {
26109	_ struct{} `type:"structure"`
26110
26111	// The unique of the node within the workflow where the edge ends.
26112	DestinationId *string `min:"1" type:"string"`
26113
26114	// The unique of the node within the workflow where the edge starts.
26115	SourceId *string `min:"1" type:"string"`
26116}
26117
26118// String returns the string representation
26119func (s Edge) String() string {
26120	return awsutil.Prettify(s)
26121}
26122
26123// GoString returns the string representation
26124func (s Edge) GoString() string {
26125	return s.String()
26126}
26127
26128// SetDestinationId sets the DestinationId field's value.
26129func (s *Edge) SetDestinationId(v string) *Edge {
26130	s.DestinationId = &v
26131	return s
26132}
26133
26134// SetSourceId sets the SourceId field's value.
26135func (s *Edge) SetSourceId(v string) *Edge {
26136	s.SourceId = &v
26137	return s
26138}
26139
26140// Specifies the encryption-at-rest configuration for the Data Catalog.
26141type EncryptionAtRest struct {
26142	_ struct{} `type:"structure"`
26143
26144	// The encryption-at-rest mode for encrypting Data Catalog data.
26145	//
26146	// CatalogEncryptionMode is a required field
26147	CatalogEncryptionMode *string `type:"string" required:"true" enum:"CatalogEncryptionMode"`
26148
26149	// The ID of the AWS KMS key to use for encryption at rest.
26150	SseAwsKmsKeyId *string `min:"1" type:"string"`
26151}
26152
26153// String returns the string representation
26154func (s EncryptionAtRest) String() string {
26155	return awsutil.Prettify(s)
26156}
26157
26158// GoString returns the string representation
26159func (s EncryptionAtRest) GoString() string {
26160	return s.String()
26161}
26162
26163// Validate inspects the fields of the type to determine if they are valid.
26164func (s *EncryptionAtRest) Validate() error {
26165	invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRest"}
26166	if s.CatalogEncryptionMode == nil {
26167		invalidParams.Add(request.NewErrParamRequired("CatalogEncryptionMode"))
26168	}
26169	if s.SseAwsKmsKeyId != nil && len(*s.SseAwsKmsKeyId) < 1 {
26170		invalidParams.Add(request.NewErrParamMinLen("SseAwsKmsKeyId", 1))
26171	}
26172
26173	if invalidParams.Len() > 0 {
26174		return invalidParams
26175	}
26176	return nil
26177}
26178
26179// SetCatalogEncryptionMode sets the CatalogEncryptionMode field's value.
26180func (s *EncryptionAtRest) SetCatalogEncryptionMode(v string) *EncryptionAtRest {
26181	s.CatalogEncryptionMode = &v
26182	return s
26183}
26184
26185// SetSseAwsKmsKeyId sets the SseAwsKmsKeyId field's value.
26186func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest {
26187	s.SseAwsKmsKeyId = &v
26188	return s
26189}
26190
26191// Specifies an encryption configuration.
26192type EncryptionConfiguration struct {
26193	_ struct{} `type:"structure"`
26194
26195	// The encryption configuration for Amazon CloudWatch.
26196	CloudWatchEncryption *CloudWatchEncryption `type:"structure"`
26197
26198	// The encryption configuration for job bookmarks.
26199	JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"`
26200
26201	// The encryption configuration for Amazon Simple Storage Service (Amazon S3)
26202	// data.
26203	S3Encryption []*S3Encryption `type:"list"`
26204}
26205
26206// String returns the string representation
26207func (s EncryptionConfiguration) String() string {
26208	return awsutil.Prettify(s)
26209}
26210
26211// GoString returns the string representation
26212func (s EncryptionConfiguration) GoString() string {
26213	return s.String()
26214}
26215
26216// SetCloudWatchEncryption sets the CloudWatchEncryption field's value.
26217func (s *EncryptionConfiguration) SetCloudWatchEncryption(v *CloudWatchEncryption) *EncryptionConfiguration {
26218	s.CloudWatchEncryption = v
26219	return s
26220}
26221
26222// SetJobBookmarksEncryption sets the JobBookmarksEncryption field's value.
26223func (s *EncryptionConfiguration) SetJobBookmarksEncryption(v *JobBookmarksEncryption) *EncryptionConfiguration {
26224	s.JobBookmarksEncryption = v
26225	return s
26226}
26227
26228// SetS3Encryption sets the S3Encryption field's value.
26229func (s *EncryptionConfiguration) SetS3Encryption(v []*S3Encryption) *EncryptionConfiguration {
26230	s.S3Encryption = v
26231	return s
26232}
26233
26234// An encryption operation failed.
26235type EncryptionException struct {
26236	_            struct{}                  `type:"structure"`
26237	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26238
26239	// A message describing the problem.
26240	Message_ *string `locationName:"Message" type:"string"`
26241}
26242
26243// String returns the string representation
26244func (s EncryptionException) String() string {
26245	return awsutil.Prettify(s)
26246}
26247
26248// GoString returns the string representation
26249func (s EncryptionException) GoString() string {
26250	return s.String()
26251}
26252
26253func newErrorEncryptionException(v protocol.ResponseMetadata) error {
26254	return &EncryptionException{
26255		RespMetadata: v,
26256	}
26257}
26258
26259// Code returns the exception type name.
26260func (s *EncryptionException) Code() string {
26261	return "GlueEncryptionException"
26262}
26263
26264// Message returns the exception's message.
26265func (s *EncryptionException) Message() string {
26266	if s.Message_ != nil {
26267		return *s.Message_
26268	}
26269	return ""
26270}
26271
26272// OrigErr always returns nil, satisfies awserr.Error interface.
26273func (s *EncryptionException) OrigErr() error {
26274	return nil
26275}
26276
26277func (s *EncryptionException) Error() string {
26278	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
26279}
26280
26281// Status code returns the HTTP status code for the request's response error.
26282func (s *EncryptionException) StatusCode() int {
26283	return s.RespMetadata.StatusCode
26284}
26285
26286// RequestID returns the service's response RequestID for request.
26287func (s *EncryptionException) RequestID() string {
26288	return s.RespMetadata.RequestID
26289}
26290
26291// A specified entity does not exist
26292type EntityNotFoundException struct {
26293	_            struct{}                  `type:"structure"`
26294	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26295
26296	// A message describing the problem.
26297	Message_ *string `locationName:"Message" type:"string"`
26298}
26299
26300// String returns the string representation
26301func (s EntityNotFoundException) String() string {
26302	return awsutil.Prettify(s)
26303}
26304
26305// GoString returns the string representation
26306func (s EntityNotFoundException) GoString() string {
26307	return s.String()
26308}
26309
26310func newErrorEntityNotFoundException(v protocol.ResponseMetadata) error {
26311	return &EntityNotFoundException{
26312		RespMetadata: v,
26313	}
26314}
26315
26316// Code returns the exception type name.
26317func (s *EntityNotFoundException) Code() string {
26318	return "EntityNotFoundException"
26319}
26320
26321// Message returns the exception's message.
26322func (s *EntityNotFoundException) Message() string {
26323	if s.Message_ != nil {
26324		return *s.Message_
26325	}
26326	return ""
26327}
26328
26329// OrigErr always returns nil, satisfies awserr.Error interface.
26330func (s *EntityNotFoundException) OrigErr() error {
26331	return nil
26332}
26333
26334func (s *EntityNotFoundException) Error() string {
26335	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
26336}
26337
26338// Status code returns the HTTP status code for the request's response error.
26339func (s *EntityNotFoundException) StatusCode() int {
26340	return s.RespMetadata.StatusCode
26341}
26342
26343// RequestID returns the service's response RequestID for request.
26344func (s *EntityNotFoundException) RequestID() string {
26345	return s.RespMetadata.RequestID
26346}
26347
26348// Contains details about an error.
26349type ErrorDetail struct {
26350	_ struct{} `type:"structure"`
26351
26352	// The code associated with this error.
26353	ErrorCode *string `min:"1" type:"string"`
26354
26355	// A message describing the error.
26356	ErrorMessage *string `type:"string"`
26357}
26358
26359// String returns the string representation
26360func (s ErrorDetail) String() string {
26361	return awsutil.Prettify(s)
26362}
26363
26364// GoString returns the string representation
26365func (s ErrorDetail) GoString() string {
26366	return s.String()
26367}
26368
26369// SetErrorCode sets the ErrorCode field's value.
26370func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail {
26371	s.ErrorCode = &v
26372	return s
26373}
26374
26375// SetErrorMessage sets the ErrorMessage field's value.
26376func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail {
26377	s.ErrorMessage = &v
26378	return s
26379}
26380
26381// An object containing error details.
26382type ErrorDetails struct {
26383	_ struct{} `type:"structure"`
26384
26385	// The error code for an error.
26386	ErrorCode *string `type:"string"`
26387
26388	// The error message for an error.
26389	ErrorMessage *string `type:"string"`
26390}
26391
26392// String returns the string representation
26393func (s ErrorDetails) String() string {
26394	return awsutil.Prettify(s)
26395}
26396
26397// GoString returns the string representation
26398func (s ErrorDetails) GoString() string {
26399	return s.String()
26400}
26401
26402// SetErrorCode sets the ErrorCode field's value.
26403func (s *ErrorDetails) SetErrorCode(v string) *ErrorDetails {
26404	s.ErrorCode = &v
26405	return s
26406}
26407
26408// SetErrorMessage sets the ErrorMessage field's value.
26409func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails {
26410	s.ErrorMessage = &v
26411	return s
26412}
26413
26414// Evaluation metrics provide an estimate of the quality of your machine learning
26415// transform.
26416type EvaluationMetrics struct {
26417	_ struct{} `type:"structure"`
26418
26419	// The evaluation metrics for the find matches algorithm.
26420	FindMatchesMetrics *FindMatchesMetrics `type:"structure"`
26421
26422	// The type of machine learning transform.
26423	//
26424	// TransformType is a required field
26425	TransformType *string `type:"string" required:"true" enum:"TransformType"`
26426}
26427
26428// String returns the string representation
26429func (s EvaluationMetrics) String() string {
26430	return awsutil.Prettify(s)
26431}
26432
26433// GoString returns the string representation
26434func (s EvaluationMetrics) GoString() string {
26435	return s.String()
26436}
26437
26438// SetFindMatchesMetrics sets the FindMatchesMetrics field's value.
26439func (s *EvaluationMetrics) SetFindMatchesMetrics(v *FindMatchesMetrics) *EvaluationMetrics {
26440	s.FindMatchesMetrics = v
26441	return s
26442}
26443
26444// SetTransformType sets the TransformType field's value.
26445func (s *EvaluationMetrics) SetTransformType(v string) *EvaluationMetrics {
26446	s.TransformType = &v
26447	return s
26448}
26449
26450// An execution property of a job.
26451type ExecutionProperty struct {
26452	_ struct{} `type:"structure"`
26453
26454	// The maximum number of concurrent runs allowed for the job. The default is
26455	// 1. An error is returned when this threshold is reached. The maximum value
26456	// you can specify is controlled by a service limit.
26457	MaxConcurrentRuns *int64 `type:"integer"`
26458}
26459
26460// String returns the string representation
26461func (s ExecutionProperty) String() string {
26462	return awsutil.Prettify(s)
26463}
26464
26465// GoString returns the string representation
26466func (s ExecutionProperty) GoString() string {
26467	return s.String()
26468}
26469
26470// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
26471func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty {
26472	s.MaxConcurrentRuns = &v
26473	return s
26474}
26475
26476// Specifies configuration properties for an exporting labels task run.
26477type ExportLabelsTaskRunProperties struct {
26478	_ struct{} `type:"structure"`
26479
26480	// The Amazon Simple Storage Service (Amazon S3) path where you will export
26481	// the labels.
26482	OutputS3Path *string `type:"string"`
26483}
26484
26485// String returns the string representation
26486func (s ExportLabelsTaskRunProperties) String() string {
26487	return awsutil.Prettify(s)
26488}
26489
26490// GoString returns the string representation
26491func (s ExportLabelsTaskRunProperties) GoString() string {
26492	return s.String()
26493}
26494
26495// SetOutputS3Path sets the OutputS3Path field's value.
26496func (s *ExportLabelsTaskRunProperties) SetOutputS3Path(v string) *ExportLabelsTaskRunProperties {
26497	s.OutputS3Path = &v
26498	return s
26499}
26500
26501// The evaluation metrics for the find matches algorithm. The quality of your
26502// machine learning transform is measured by getting your transform to predict
26503// some matches and comparing the results to known matches from the same dataset.
26504// The quality metrics are based on a subset of your data, so they are not precise.
26505type FindMatchesMetrics struct {
26506	_ struct{} `type:"structure"`
26507
26508	// The area under the precision/recall curve (AUPRC) is a single number measuring
26509	// the overall quality of the transform, that is independent of the choice made
26510	// for precision vs. recall. Higher values indicate that you have a more attractive
26511	// precision vs. recall tradeoff.
26512	//
26513	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
26514	// in Wikipedia.
26515	AreaUnderPRCurve *float64 `type:"double"`
26516
26517	// A list of ColumnImportance structures containing column importance metrics,
26518	// sorted in order of descending importance.
26519	ColumnImportances []*ColumnImportance `type:"list"`
26520
26521	// The confusion matrix shows you what your transform is predicting accurately
26522	// and what types of errors it is making.
26523	//
26524	// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
26525	// in Wikipedia.
26526	ConfusionMatrix *ConfusionMatrix `type:"structure"`
26527
26528	// The maximum F1 metric indicates the transform's accuracy between 0 and 1,
26529	// where 1 is the best accuracy.
26530	//
26531	// For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score)
26532	// in Wikipedia.
26533	F1 *float64 `type:"double"`
26534
26535	// The precision metric indicates when often your transform is correct when
26536	// it predicts a match. Specifically, it measures how well the transform finds
26537	// true positives from the total true positives possible.
26538	//
26539	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
26540	// in Wikipedia.
26541	Precision *float64 `type:"double"`
26542
26543	// The recall metric indicates that for an actual match, how often your transform
26544	// predicts the match. Specifically, it measures how well the transform finds
26545	// true positives from the total records in the source data.
26546	//
26547	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
26548	// in Wikipedia.
26549	Recall *float64 `type:"double"`
26550}
26551
26552// String returns the string representation
26553func (s FindMatchesMetrics) String() string {
26554	return awsutil.Prettify(s)
26555}
26556
26557// GoString returns the string representation
26558func (s FindMatchesMetrics) GoString() string {
26559	return s.String()
26560}
26561
26562// SetAreaUnderPRCurve sets the AreaUnderPRCurve field's value.
26563func (s *FindMatchesMetrics) SetAreaUnderPRCurve(v float64) *FindMatchesMetrics {
26564	s.AreaUnderPRCurve = &v
26565	return s
26566}
26567
26568// SetColumnImportances sets the ColumnImportances field's value.
26569func (s *FindMatchesMetrics) SetColumnImportances(v []*ColumnImportance) *FindMatchesMetrics {
26570	s.ColumnImportances = v
26571	return s
26572}
26573
26574// SetConfusionMatrix sets the ConfusionMatrix field's value.
26575func (s *FindMatchesMetrics) SetConfusionMatrix(v *ConfusionMatrix) *FindMatchesMetrics {
26576	s.ConfusionMatrix = v
26577	return s
26578}
26579
26580// SetF1 sets the F1 field's value.
26581func (s *FindMatchesMetrics) SetF1(v float64) *FindMatchesMetrics {
26582	s.F1 = &v
26583	return s
26584}
26585
26586// SetPrecision sets the Precision field's value.
26587func (s *FindMatchesMetrics) SetPrecision(v float64) *FindMatchesMetrics {
26588	s.Precision = &v
26589	return s
26590}
26591
26592// SetRecall sets the Recall field's value.
26593func (s *FindMatchesMetrics) SetRecall(v float64) *FindMatchesMetrics {
26594	s.Recall = &v
26595	return s
26596}
26597
26598// The parameters to configure the find matches transform.
26599type FindMatchesParameters struct {
26600	_ struct{} `type:"structure"`
26601
26602	// The value that is selected when tuning your transform for a balance between
26603	// accuracy and cost. A value of 0.5 means that the system balances accuracy
26604	// and cost concerns. A value of 1.0 means a bias purely for accuracy, which
26605	// typically results in a higher cost, sometimes substantially higher. A value
26606	// of 0.0 means a bias purely for cost, which results in a less accurate FindMatches
26607	// transform, sometimes with unacceptable accuracy.
26608	//
26609	// Accuracy measures how well the transform finds true positives and true negatives.
26610	// Increasing accuracy requires more machine resources and cost. But it also
26611	// results in increased recall.
26612	//
26613	// Cost measures how many compute resources, and thus money, are consumed to
26614	// run the transform.
26615	AccuracyCostTradeoff *float64 `type:"double"`
26616
26617	// The value to switch on or off to force the output to match the provided labels
26618	// from users. If the value is True, the find matches transform forces the output
26619	// to match the provided labels. The results override the normal conflation
26620	// results. If the value is False, the find matches transform does not ensure
26621	// all the labels provided are respected, and the results rely on the trained
26622	// model.
26623	//
26624	// Note that setting this value to true may increase the conflation execution
26625	// time.
26626	EnforceProvidedLabels *bool `type:"boolean"`
26627
26628	// The value selected when tuning your transform for a balance between precision
26629	// and recall. A value of 0.5 means no preference; a value of 1.0 means a bias
26630	// purely for precision, and a value of 0.0 means a bias for recall. Because
26631	// this is a tradeoff, choosing values close to 1.0 means very low recall, and
26632	// choosing values close to 0.0 results in very low precision.
26633	//
26634	// The precision metric indicates how often your model is correct when it predicts
26635	// a match.
26636	//
26637	// The recall metric indicates that for an actual match, how often your model
26638	// predicts the match.
26639	PrecisionRecallTradeoff *float64 `type:"double"`
26640
26641	// The name of a column that uniquely identifies rows in the source table. Used
26642	// to help identify matching records.
26643	PrimaryKeyColumnName *string `min:"1" type:"string"`
26644}
26645
26646// String returns the string representation
26647func (s FindMatchesParameters) String() string {
26648	return awsutil.Prettify(s)
26649}
26650
26651// GoString returns the string representation
26652func (s FindMatchesParameters) GoString() string {
26653	return s.String()
26654}
26655
26656// Validate inspects the fields of the type to determine if they are valid.
26657func (s *FindMatchesParameters) Validate() error {
26658	invalidParams := request.ErrInvalidParams{Context: "FindMatchesParameters"}
26659	if s.PrimaryKeyColumnName != nil && len(*s.PrimaryKeyColumnName) < 1 {
26660		invalidParams.Add(request.NewErrParamMinLen("PrimaryKeyColumnName", 1))
26661	}
26662
26663	if invalidParams.Len() > 0 {
26664		return invalidParams
26665	}
26666	return nil
26667}
26668
26669// SetAccuracyCostTradeoff sets the AccuracyCostTradeoff field's value.
26670func (s *FindMatchesParameters) SetAccuracyCostTradeoff(v float64) *FindMatchesParameters {
26671	s.AccuracyCostTradeoff = &v
26672	return s
26673}
26674
26675// SetEnforceProvidedLabels sets the EnforceProvidedLabels field's value.
26676func (s *FindMatchesParameters) SetEnforceProvidedLabels(v bool) *FindMatchesParameters {
26677	s.EnforceProvidedLabels = &v
26678	return s
26679}
26680
26681// SetPrecisionRecallTradeoff sets the PrecisionRecallTradeoff field's value.
26682func (s *FindMatchesParameters) SetPrecisionRecallTradeoff(v float64) *FindMatchesParameters {
26683	s.PrecisionRecallTradeoff = &v
26684	return s
26685}
26686
26687// SetPrimaryKeyColumnName sets the PrimaryKeyColumnName field's value.
26688func (s *FindMatchesParameters) SetPrimaryKeyColumnName(v string) *FindMatchesParameters {
26689	s.PrimaryKeyColumnName = &v
26690	return s
26691}
26692
26693// Specifies configuration properties for a Find Matches task run.
26694type FindMatchesTaskRunProperties struct {
26695	_ struct{} `type:"structure"`
26696
26697	// The job ID for the Find Matches task run.
26698	JobId *string `min:"1" type:"string"`
26699
26700	// The name assigned to the job for the Find Matches task run.
26701	JobName *string `min:"1" type:"string"`
26702
26703	// The job run ID for the Find Matches task run.
26704	JobRunId *string `min:"1" type:"string"`
26705}
26706
26707// String returns the string representation
26708func (s FindMatchesTaskRunProperties) String() string {
26709	return awsutil.Prettify(s)
26710}
26711
26712// GoString returns the string representation
26713func (s FindMatchesTaskRunProperties) GoString() string {
26714	return s.String()
26715}
26716
26717// SetJobId sets the JobId field's value.
26718func (s *FindMatchesTaskRunProperties) SetJobId(v string) *FindMatchesTaskRunProperties {
26719	s.JobId = &v
26720	return s
26721}
26722
26723// SetJobName sets the JobName field's value.
26724func (s *FindMatchesTaskRunProperties) SetJobName(v string) *FindMatchesTaskRunProperties {
26725	s.JobName = &v
26726	return s
26727}
26728
26729// SetJobRunId sets the JobRunId field's value.
26730func (s *FindMatchesTaskRunProperties) SetJobRunId(v string) *FindMatchesTaskRunProperties {
26731	s.JobRunId = &v
26732	return s
26733}
26734
26735type GetCatalogImportStatusInput struct {
26736	_ struct{} `type:"structure"`
26737
26738	// The ID of the catalog to migrate. Currently, this should be the AWS account
26739	// ID.
26740	CatalogId *string `min:"1" type:"string"`
26741}
26742
26743// String returns the string representation
26744func (s GetCatalogImportStatusInput) String() string {
26745	return awsutil.Prettify(s)
26746}
26747
26748// GoString returns the string representation
26749func (s GetCatalogImportStatusInput) GoString() string {
26750	return s.String()
26751}
26752
26753// Validate inspects the fields of the type to determine if they are valid.
26754func (s *GetCatalogImportStatusInput) Validate() error {
26755	invalidParams := request.ErrInvalidParams{Context: "GetCatalogImportStatusInput"}
26756	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
26757		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
26758	}
26759
26760	if invalidParams.Len() > 0 {
26761		return invalidParams
26762	}
26763	return nil
26764}
26765
26766// SetCatalogId sets the CatalogId field's value.
26767func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput {
26768	s.CatalogId = &v
26769	return s
26770}
26771
26772type GetCatalogImportStatusOutput struct {
26773	_ struct{} `type:"structure"`
26774
26775	// The status of the specified catalog migration.
26776	ImportStatus *CatalogImportStatus `type:"structure"`
26777}
26778
26779// String returns the string representation
26780func (s GetCatalogImportStatusOutput) String() string {
26781	return awsutil.Prettify(s)
26782}
26783
26784// GoString returns the string representation
26785func (s GetCatalogImportStatusOutput) GoString() string {
26786	return s.String()
26787}
26788
26789// SetImportStatus sets the ImportStatus field's value.
26790func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput {
26791	s.ImportStatus = v
26792	return s
26793}
26794
26795type GetClassifierInput struct {
26796	_ struct{} `type:"structure"`
26797
26798	// Name of the classifier to retrieve.
26799	//
26800	// Name is a required field
26801	Name *string `min:"1" type:"string" required:"true"`
26802}
26803
26804// String returns the string representation
26805func (s GetClassifierInput) String() string {
26806	return awsutil.Prettify(s)
26807}
26808
26809// GoString returns the string representation
26810func (s GetClassifierInput) GoString() string {
26811	return s.String()
26812}
26813
26814// Validate inspects the fields of the type to determine if they are valid.
26815func (s *GetClassifierInput) Validate() error {
26816	invalidParams := request.ErrInvalidParams{Context: "GetClassifierInput"}
26817	if s.Name == nil {
26818		invalidParams.Add(request.NewErrParamRequired("Name"))
26819	}
26820	if s.Name != nil && len(*s.Name) < 1 {
26821		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
26822	}
26823
26824	if invalidParams.Len() > 0 {
26825		return invalidParams
26826	}
26827	return nil
26828}
26829
26830// SetName sets the Name field's value.
26831func (s *GetClassifierInput) SetName(v string) *GetClassifierInput {
26832	s.Name = &v
26833	return s
26834}
26835
26836type GetClassifierOutput struct {
26837	_ struct{} `type:"structure"`
26838
26839	// The requested classifier.
26840	Classifier *Classifier `type:"structure"`
26841}
26842
26843// String returns the string representation
26844func (s GetClassifierOutput) String() string {
26845	return awsutil.Prettify(s)
26846}
26847
26848// GoString returns the string representation
26849func (s GetClassifierOutput) GoString() string {
26850	return s.String()
26851}
26852
26853// SetClassifier sets the Classifier field's value.
26854func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput {
26855	s.Classifier = v
26856	return s
26857}
26858
26859type GetClassifiersInput struct {
26860	_ struct{} `type:"structure"`
26861
26862	// The size of the list to return (optional).
26863	MaxResults *int64 `min:"1" type:"integer"`
26864
26865	// An optional continuation token.
26866	NextToken *string `type:"string"`
26867}
26868
26869// String returns the string representation
26870func (s GetClassifiersInput) String() string {
26871	return awsutil.Prettify(s)
26872}
26873
26874// GoString returns the string representation
26875func (s GetClassifiersInput) GoString() string {
26876	return s.String()
26877}
26878
26879// Validate inspects the fields of the type to determine if they are valid.
26880func (s *GetClassifiersInput) Validate() error {
26881	invalidParams := request.ErrInvalidParams{Context: "GetClassifiersInput"}
26882	if s.MaxResults != nil && *s.MaxResults < 1 {
26883		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26884	}
26885
26886	if invalidParams.Len() > 0 {
26887		return invalidParams
26888	}
26889	return nil
26890}
26891
26892// SetMaxResults sets the MaxResults field's value.
26893func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput {
26894	s.MaxResults = &v
26895	return s
26896}
26897
26898// SetNextToken sets the NextToken field's value.
26899func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput {
26900	s.NextToken = &v
26901	return s
26902}
26903
26904type GetClassifiersOutput struct {
26905	_ struct{} `type:"structure"`
26906
26907	// The requested list of classifier objects.
26908	Classifiers []*Classifier `type:"list"`
26909
26910	// A continuation token.
26911	NextToken *string `type:"string"`
26912}
26913
26914// String returns the string representation
26915func (s GetClassifiersOutput) String() string {
26916	return awsutil.Prettify(s)
26917}
26918
26919// GoString returns the string representation
26920func (s GetClassifiersOutput) GoString() string {
26921	return s.String()
26922}
26923
26924// SetClassifiers sets the Classifiers field's value.
26925func (s *GetClassifiersOutput) SetClassifiers(v []*Classifier) *GetClassifiersOutput {
26926	s.Classifiers = v
26927	return s
26928}
26929
26930// SetNextToken sets the NextToken field's value.
26931func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput {
26932	s.NextToken = &v
26933	return s
26934}
26935
26936type GetColumnStatisticsForPartitionInput struct {
26937	_ struct{} `type:"structure"`
26938
26939	// The ID of the Data Catalog where the partitions in question reside. If none
26940	// is supplied, the AWS account ID is used by default.
26941	CatalogId *string `min:"1" type:"string"`
26942
26943	// A list of the column names.
26944	//
26945	// ColumnNames is a required field
26946	ColumnNames []*string `type:"list" required:"true"`
26947
26948	// The name of the catalog database where the partitions reside.
26949	//
26950	// DatabaseName is a required field
26951	DatabaseName *string `min:"1" type:"string" required:"true"`
26952
26953	// A list of partition values identifying the partition.
26954	//
26955	// PartitionValues is a required field
26956	PartitionValues []*string `type:"list" required:"true"`
26957
26958	// The name of the partitions' table.
26959	//
26960	// TableName is a required field
26961	TableName *string `min:"1" type:"string" required:"true"`
26962}
26963
26964// String returns the string representation
26965func (s GetColumnStatisticsForPartitionInput) String() string {
26966	return awsutil.Prettify(s)
26967}
26968
26969// GoString returns the string representation
26970func (s GetColumnStatisticsForPartitionInput) GoString() string {
26971	return s.String()
26972}
26973
26974// Validate inspects the fields of the type to determine if they are valid.
26975func (s *GetColumnStatisticsForPartitionInput) Validate() error {
26976	invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsForPartitionInput"}
26977	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
26978		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
26979	}
26980	if s.ColumnNames == nil {
26981		invalidParams.Add(request.NewErrParamRequired("ColumnNames"))
26982	}
26983	if s.DatabaseName == nil {
26984		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
26985	}
26986	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
26987		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
26988	}
26989	if s.PartitionValues == nil {
26990		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
26991	}
26992	if s.TableName == nil {
26993		invalidParams.Add(request.NewErrParamRequired("TableName"))
26994	}
26995	if s.TableName != nil && len(*s.TableName) < 1 {
26996		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
26997	}
26998
26999	if invalidParams.Len() > 0 {
27000		return invalidParams
27001	}
27002	return nil
27003}
27004
27005// SetCatalogId sets the CatalogId field's value.
27006func (s *GetColumnStatisticsForPartitionInput) SetCatalogId(v string) *GetColumnStatisticsForPartitionInput {
27007	s.CatalogId = &v
27008	return s
27009}
27010
27011// SetColumnNames sets the ColumnNames field's value.
27012func (s *GetColumnStatisticsForPartitionInput) SetColumnNames(v []*string) *GetColumnStatisticsForPartitionInput {
27013	s.ColumnNames = v
27014	return s
27015}
27016
27017// SetDatabaseName sets the DatabaseName field's value.
27018func (s *GetColumnStatisticsForPartitionInput) SetDatabaseName(v string) *GetColumnStatisticsForPartitionInput {
27019	s.DatabaseName = &v
27020	return s
27021}
27022
27023// SetPartitionValues sets the PartitionValues field's value.
27024func (s *GetColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *GetColumnStatisticsForPartitionInput {
27025	s.PartitionValues = v
27026	return s
27027}
27028
27029// SetTableName sets the TableName field's value.
27030func (s *GetColumnStatisticsForPartitionInput) SetTableName(v string) *GetColumnStatisticsForPartitionInput {
27031	s.TableName = &v
27032	return s
27033}
27034
27035type GetColumnStatisticsForPartitionOutput struct {
27036	_ struct{} `type:"structure"`
27037
27038	// List of ColumnStatistics that failed to be retrieved.
27039	ColumnStatisticsList []*ColumnStatistics `type:"list"`
27040
27041	// Error occurred during retrieving column statistics data.
27042	Errors []*ColumnError `type:"list"`
27043}
27044
27045// String returns the string representation
27046func (s GetColumnStatisticsForPartitionOutput) String() string {
27047	return awsutil.Prettify(s)
27048}
27049
27050// GoString returns the string representation
27051func (s GetColumnStatisticsForPartitionOutput) GoString() string {
27052	return s.String()
27053}
27054
27055// SetColumnStatisticsList sets the ColumnStatisticsList field's value.
27056func (s *GetColumnStatisticsForPartitionOutput) SetColumnStatisticsList(v []*ColumnStatistics) *GetColumnStatisticsForPartitionOutput {
27057	s.ColumnStatisticsList = v
27058	return s
27059}
27060
27061// SetErrors sets the Errors field's value.
27062func (s *GetColumnStatisticsForPartitionOutput) SetErrors(v []*ColumnError) *GetColumnStatisticsForPartitionOutput {
27063	s.Errors = v
27064	return s
27065}
27066
27067type GetColumnStatisticsForTableInput struct {
27068	_ struct{} `type:"structure"`
27069
27070	// The ID of the Data Catalog where the partitions in question reside. If none
27071	// is supplied, the AWS account ID is used by default.
27072	CatalogId *string `min:"1" type:"string"`
27073
27074	// A list of the column names.
27075	//
27076	// ColumnNames is a required field
27077	ColumnNames []*string `type:"list" required:"true"`
27078
27079	// The name of the catalog database where the partitions reside.
27080	//
27081	// DatabaseName is a required field
27082	DatabaseName *string `min:"1" type:"string" required:"true"`
27083
27084	// The name of the partitions' table.
27085	//
27086	// TableName is a required field
27087	TableName *string `min:"1" type:"string" required:"true"`
27088}
27089
27090// String returns the string representation
27091func (s GetColumnStatisticsForTableInput) String() string {
27092	return awsutil.Prettify(s)
27093}
27094
27095// GoString returns the string representation
27096func (s GetColumnStatisticsForTableInput) GoString() string {
27097	return s.String()
27098}
27099
27100// Validate inspects the fields of the type to determine if they are valid.
27101func (s *GetColumnStatisticsForTableInput) Validate() error {
27102	invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsForTableInput"}
27103	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27104		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27105	}
27106	if s.ColumnNames == nil {
27107		invalidParams.Add(request.NewErrParamRequired("ColumnNames"))
27108	}
27109	if s.DatabaseName == nil {
27110		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
27111	}
27112	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
27113		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
27114	}
27115	if s.TableName == nil {
27116		invalidParams.Add(request.NewErrParamRequired("TableName"))
27117	}
27118	if s.TableName != nil && len(*s.TableName) < 1 {
27119		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
27120	}
27121
27122	if invalidParams.Len() > 0 {
27123		return invalidParams
27124	}
27125	return nil
27126}
27127
27128// SetCatalogId sets the CatalogId field's value.
27129func (s *GetColumnStatisticsForTableInput) SetCatalogId(v string) *GetColumnStatisticsForTableInput {
27130	s.CatalogId = &v
27131	return s
27132}
27133
27134// SetColumnNames sets the ColumnNames field's value.
27135func (s *GetColumnStatisticsForTableInput) SetColumnNames(v []*string) *GetColumnStatisticsForTableInput {
27136	s.ColumnNames = v
27137	return s
27138}
27139
27140// SetDatabaseName sets the DatabaseName field's value.
27141func (s *GetColumnStatisticsForTableInput) SetDatabaseName(v string) *GetColumnStatisticsForTableInput {
27142	s.DatabaseName = &v
27143	return s
27144}
27145
27146// SetTableName sets the TableName field's value.
27147func (s *GetColumnStatisticsForTableInput) SetTableName(v string) *GetColumnStatisticsForTableInput {
27148	s.TableName = &v
27149	return s
27150}
27151
27152type GetColumnStatisticsForTableOutput struct {
27153	_ struct{} `type:"structure"`
27154
27155	// List of ColumnStatistics that failed to be retrieved.
27156	ColumnStatisticsList []*ColumnStatistics `type:"list"`
27157
27158	// List of ColumnStatistics that failed to be retrieved.
27159	Errors []*ColumnError `type:"list"`
27160}
27161
27162// String returns the string representation
27163func (s GetColumnStatisticsForTableOutput) String() string {
27164	return awsutil.Prettify(s)
27165}
27166
27167// GoString returns the string representation
27168func (s GetColumnStatisticsForTableOutput) GoString() string {
27169	return s.String()
27170}
27171
27172// SetColumnStatisticsList sets the ColumnStatisticsList field's value.
27173func (s *GetColumnStatisticsForTableOutput) SetColumnStatisticsList(v []*ColumnStatistics) *GetColumnStatisticsForTableOutput {
27174	s.ColumnStatisticsList = v
27175	return s
27176}
27177
27178// SetErrors sets the Errors field's value.
27179func (s *GetColumnStatisticsForTableOutput) SetErrors(v []*ColumnError) *GetColumnStatisticsForTableOutput {
27180	s.Errors = v
27181	return s
27182}
27183
27184type GetConnectionInput struct {
27185	_ struct{} `type:"structure"`
27186
27187	// The ID of the Data Catalog in which the connection resides. If none is provided,
27188	// the AWS account ID is used by default.
27189	CatalogId *string `min:"1" type:"string"`
27190
27191	// Allows you to retrieve the connection metadata without returning the password.
27192	// For instance, the AWS Glue console uses this flag to retrieve the connection,
27193	// and does not display the password. Set this parameter when the caller might
27194	// not have permission to use the AWS KMS key to decrypt the password, but it
27195	// does have permission to access the rest of the connection properties.
27196	HidePassword *bool `type:"boolean"`
27197
27198	// The name of the connection definition to retrieve.
27199	//
27200	// Name is a required field
27201	Name *string `min:"1" type:"string" required:"true"`
27202}
27203
27204// String returns the string representation
27205func (s GetConnectionInput) String() string {
27206	return awsutil.Prettify(s)
27207}
27208
27209// GoString returns the string representation
27210func (s GetConnectionInput) GoString() string {
27211	return s.String()
27212}
27213
27214// Validate inspects the fields of the type to determine if they are valid.
27215func (s *GetConnectionInput) Validate() error {
27216	invalidParams := request.ErrInvalidParams{Context: "GetConnectionInput"}
27217	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27218		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27219	}
27220	if s.Name == nil {
27221		invalidParams.Add(request.NewErrParamRequired("Name"))
27222	}
27223	if s.Name != nil && len(*s.Name) < 1 {
27224		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27225	}
27226
27227	if invalidParams.Len() > 0 {
27228		return invalidParams
27229	}
27230	return nil
27231}
27232
27233// SetCatalogId sets the CatalogId field's value.
27234func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput {
27235	s.CatalogId = &v
27236	return s
27237}
27238
27239// SetHidePassword sets the HidePassword field's value.
27240func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput {
27241	s.HidePassword = &v
27242	return s
27243}
27244
27245// SetName sets the Name field's value.
27246func (s *GetConnectionInput) SetName(v string) *GetConnectionInput {
27247	s.Name = &v
27248	return s
27249}
27250
27251type GetConnectionOutput struct {
27252	_ struct{} `type:"structure"`
27253
27254	// The requested connection definition.
27255	Connection *Connection `type:"structure"`
27256}
27257
27258// String returns the string representation
27259func (s GetConnectionOutput) String() string {
27260	return awsutil.Prettify(s)
27261}
27262
27263// GoString returns the string representation
27264func (s GetConnectionOutput) GoString() string {
27265	return s.String()
27266}
27267
27268// SetConnection sets the Connection field's value.
27269func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput {
27270	s.Connection = v
27271	return s
27272}
27273
27274// Filters the connection definitions that are returned by the GetConnections
27275// API operation.
27276type GetConnectionsFilter struct {
27277	_ struct{} `type:"structure"`
27278
27279	// The type of connections to return. Currently, SFTP is not supported.
27280	ConnectionType *string `type:"string" enum:"ConnectionType"`
27281
27282	// A criteria string that must match the criteria recorded in the connection
27283	// definition for that connection definition to be returned.
27284	MatchCriteria []*string `type:"list"`
27285}
27286
27287// String returns the string representation
27288func (s GetConnectionsFilter) String() string {
27289	return awsutil.Prettify(s)
27290}
27291
27292// GoString returns the string representation
27293func (s GetConnectionsFilter) GoString() string {
27294	return s.String()
27295}
27296
27297// SetConnectionType sets the ConnectionType field's value.
27298func (s *GetConnectionsFilter) SetConnectionType(v string) *GetConnectionsFilter {
27299	s.ConnectionType = &v
27300	return s
27301}
27302
27303// SetMatchCriteria sets the MatchCriteria field's value.
27304func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilter {
27305	s.MatchCriteria = v
27306	return s
27307}
27308
27309type GetConnectionsInput struct {
27310	_ struct{} `type:"structure"`
27311
27312	// The ID of the Data Catalog in which the connections reside. If none is provided,
27313	// the AWS account ID is used by default.
27314	CatalogId *string `min:"1" type:"string"`
27315
27316	// A filter that controls which connections are returned.
27317	Filter *GetConnectionsFilter `type:"structure"`
27318
27319	// Allows you to retrieve the connection metadata without returning the password.
27320	// For instance, the AWS Glue console uses this flag to retrieve the connection,
27321	// and does not display the password. Set this parameter when the caller might
27322	// not have permission to use the AWS KMS key to decrypt the password, but it
27323	// does have permission to access the rest of the connection properties.
27324	HidePassword *bool `type:"boolean"`
27325
27326	// The maximum number of connections to return in one response.
27327	MaxResults *int64 `min:"1" type:"integer"`
27328
27329	// A continuation token, if this is a continuation call.
27330	NextToken *string `type:"string"`
27331}
27332
27333// String returns the string representation
27334func (s GetConnectionsInput) String() string {
27335	return awsutil.Prettify(s)
27336}
27337
27338// GoString returns the string representation
27339func (s GetConnectionsInput) GoString() string {
27340	return s.String()
27341}
27342
27343// Validate inspects the fields of the type to determine if they are valid.
27344func (s *GetConnectionsInput) Validate() error {
27345	invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"}
27346	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27347		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27348	}
27349	if s.MaxResults != nil && *s.MaxResults < 1 {
27350		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27351	}
27352
27353	if invalidParams.Len() > 0 {
27354		return invalidParams
27355	}
27356	return nil
27357}
27358
27359// SetCatalogId sets the CatalogId field's value.
27360func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput {
27361	s.CatalogId = &v
27362	return s
27363}
27364
27365// SetFilter sets the Filter field's value.
27366func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput {
27367	s.Filter = v
27368	return s
27369}
27370
27371// SetHidePassword sets the HidePassword field's value.
27372func (s *GetConnectionsInput) SetHidePassword(v bool) *GetConnectionsInput {
27373	s.HidePassword = &v
27374	return s
27375}
27376
27377// SetMaxResults sets the MaxResults field's value.
27378func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput {
27379	s.MaxResults = &v
27380	return s
27381}
27382
27383// SetNextToken sets the NextToken field's value.
27384func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput {
27385	s.NextToken = &v
27386	return s
27387}
27388
27389type GetConnectionsOutput struct {
27390	_ struct{} `type:"structure"`
27391
27392	// A list of requested connection definitions.
27393	ConnectionList []*Connection `type:"list"`
27394
27395	// A continuation token, if the list of connections returned does not include
27396	// the last of the filtered connections.
27397	NextToken *string `type:"string"`
27398}
27399
27400// String returns the string representation
27401func (s GetConnectionsOutput) String() string {
27402	return awsutil.Prettify(s)
27403}
27404
27405// GoString returns the string representation
27406func (s GetConnectionsOutput) GoString() string {
27407	return s.String()
27408}
27409
27410// SetConnectionList sets the ConnectionList field's value.
27411func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput {
27412	s.ConnectionList = v
27413	return s
27414}
27415
27416// SetNextToken sets the NextToken field's value.
27417func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput {
27418	s.NextToken = &v
27419	return s
27420}
27421
27422type GetCrawlerInput struct {
27423	_ struct{} `type:"structure"`
27424
27425	// The name of the crawler to retrieve metadata for.
27426	//
27427	// Name is a required field
27428	Name *string `min:"1" type:"string" required:"true"`
27429}
27430
27431// String returns the string representation
27432func (s GetCrawlerInput) String() string {
27433	return awsutil.Prettify(s)
27434}
27435
27436// GoString returns the string representation
27437func (s GetCrawlerInput) GoString() string {
27438	return s.String()
27439}
27440
27441// Validate inspects the fields of the type to determine if they are valid.
27442func (s *GetCrawlerInput) Validate() error {
27443	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerInput"}
27444	if s.Name == nil {
27445		invalidParams.Add(request.NewErrParamRequired("Name"))
27446	}
27447	if s.Name != nil && len(*s.Name) < 1 {
27448		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27449	}
27450
27451	if invalidParams.Len() > 0 {
27452		return invalidParams
27453	}
27454	return nil
27455}
27456
27457// SetName sets the Name field's value.
27458func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput {
27459	s.Name = &v
27460	return s
27461}
27462
27463type GetCrawlerMetricsInput struct {
27464	_ struct{} `type:"structure"`
27465
27466	// A list of the names of crawlers about which to retrieve metrics.
27467	CrawlerNameList []*string `type:"list"`
27468
27469	// The maximum size of a list to return.
27470	MaxResults *int64 `min:"1" type:"integer"`
27471
27472	// A continuation token, if this is a continuation call.
27473	NextToken *string `type:"string"`
27474}
27475
27476// String returns the string representation
27477func (s GetCrawlerMetricsInput) String() string {
27478	return awsutil.Prettify(s)
27479}
27480
27481// GoString returns the string representation
27482func (s GetCrawlerMetricsInput) GoString() string {
27483	return s.String()
27484}
27485
27486// Validate inspects the fields of the type to determine if they are valid.
27487func (s *GetCrawlerMetricsInput) Validate() error {
27488	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerMetricsInput"}
27489	if s.MaxResults != nil && *s.MaxResults < 1 {
27490		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27491	}
27492
27493	if invalidParams.Len() > 0 {
27494		return invalidParams
27495	}
27496	return nil
27497}
27498
27499// SetCrawlerNameList sets the CrawlerNameList field's value.
27500func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []*string) *GetCrawlerMetricsInput {
27501	s.CrawlerNameList = v
27502	return s
27503}
27504
27505// SetMaxResults sets the MaxResults field's value.
27506func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput {
27507	s.MaxResults = &v
27508	return s
27509}
27510
27511// SetNextToken sets the NextToken field's value.
27512func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput {
27513	s.NextToken = &v
27514	return s
27515}
27516
27517type GetCrawlerMetricsOutput struct {
27518	_ struct{} `type:"structure"`
27519
27520	// A list of metrics for the specified crawler.
27521	CrawlerMetricsList []*CrawlerMetrics `type:"list"`
27522
27523	// A continuation token, if the returned list does not contain the last metric
27524	// available.
27525	NextToken *string `type:"string"`
27526}
27527
27528// String returns the string representation
27529func (s GetCrawlerMetricsOutput) String() string {
27530	return awsutil.Prettify(s)
27531}
27532
27533// GoString returns the string representation
27534func (s GetCrawlerMetricsOutput) GoString() string {
27535	return s.String()
27536}
27537
27538// SetCrawlerMetricsList sets the CrawlerMetricsList field's value.
27539func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []*CrawlerMetrics) *GetCrawlerMetricsOutput {
27540	s.CrawlerMetricsList = v
27541	return s
27542}
27543
27544// SetNextToken sets the NextToken field's value.
27545func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput {
27546	s.NextToken = &v
27547	return s
27548}
27549
27550type GetCrawlerOutput struct {
27551	_ struct{} `type:"structure"`
27552
27553	// The metadata for the specified crawler.
27554	Crawler *Crawler `type:"structure"`
27555}
27556
27557// String returns the string representation
27558func (s GetCrawlerOutput) String() string {
27559	return awsutil.Prettify(s)
27560}
27561
27562// GoString returns the string representation
27563func (s GetCrawlerOutput) GoString() string {
27564	return s.String()
27565}
27566
27567// SetCrawler sets the Crawler field's value.
27568func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput {
27569	s.Crawler = v
27570	return s
27571}
27572
27573type GetCrawlersInput struct {
27574	_ struct{} `type:"structure"`
27575
27576	// The number of crawlers to return on each call.
27577	MaxResults *int64 `min:"1" type:"integer"`
27578
27579	// A continuation token, if this is a continuation request.
27580	NextToken *string `type:"string"`
27581}
27582
27583// String returns the string representation
27584func (s GetCrawlersInput) String() string {
27585	return awsutil.Prettify(s)
27586}
27587
27588// GoString returns the string representation
27589func (s GetCrawlersInput) GoString() string {
27590	return s.String()
27591}
27592
27593// Validate inspects the fields of the type to determine if they are valid.
27594func (s *GetCrawlersInput) Validate() error {
27595	invalidParams := request.ErrInvalidParams{Context: "GetCrawlersInput"}
27596	if s.MaxResults != nil && *s.MaxResults < 1 {
27597		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27598	}
27599
27600	if invalidParams.Len() > 0 {
27601		return invalidParams
27602	}
27603	return nil
27604}
27605
27606// SetMaxResults sets the MaxResults field's value.
27607func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput {
27608	s.MaxResults = &v
27609	return s
27610}
27611
27612// SetNextToken sets the NextToken field's value.
27613func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput {
27614	s.NextToken = &v
27615	return s
27616}
27617
27618type GetCrawlersOutput struct {
27619	_ struct{} `type:"structure"`
27620
27621	// A list of crawler metadata.
27622	Crawlers []*Crawler `type:"list"`
27623
27624	// A continuation token, if the returned list has not reached the end of those
27625	// defined in this customer account.
27626	NextToken *string `type:"string"`
27627}
27628
27629// String returns the string representation
27630func (s GetCrawlersOutput) String() string {
27631	return awsutil.Prettify(s)
27632}
27633
27634// GoString returns the string representation
27635func (s GetCrawlersOutput) GoString() string {
27636	return s.String()
27637}
27638
27639// SetCrawlers sets the Crawlers field's value.
27640func (s *GetCrawlersOutput) SetCrawlers(v []*Crawler) *GetCrawlersOutput {
27641	s.Crawlers = v
27642	return s
27643}
27644
27645// SetNextToken sets the NextToken field's value.
27646func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput {
27647	s.NextToken = &v
27648	return s
27649}
27650
27651type GetDataCatalogEncryptionSettingsInput struct {
27652	_ struct{} `type:"structure"`
27653
27654	// The ID of the Data Catalog to retrieve the security configuration for. If
27655	// none is provided, the AWS account ID is used by default.
27656	CatalogId *string `min:"1" type:"string"`
27657}
27658
27659// String returns the string representation
27660func (s GetDataCatalogEncryptionSettingsInput) String() string {
27661	return awsutil.Prettify(s)
27662}
27663
27664// GoString returns the string representation
27665func (s GetDataCatalogEncryptionSettingsInput) GoString() string {
27666	return s.String()
27667}
27668
27669// Validate inspects the fields of the type to determine if they are valid.
27670func (s *GetDataCatalogEncryptionSettingsInput) Validate() error {
27671	invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"}
27672	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27673		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27674	}
27675
27676	if invalidParams.Len() > 0 {
27677		return invalidParams
27678	}
27679	return nil
27680}
27681
27682// SetCatalogId sets the CatalogId field's value.
27683func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput {
27684	s.CatalogId = &v
27685	return s
27686}
27687
27688type GetDataCatalogEncryptionSettingsOutput struct {
27689	_ struct{} `type:"structure"`
27690
27691	// The requested security configuration.
27692	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"`
27693}
27694
27695// String returns the string representation
27696func (s GetDataCatalogEncryptionSettingsOutput) String() string {
27697	return awsutil.Prettify(s)
27698}
27699
27700// GoString returns the string representation
27701func (s GetDataCatalogEncryptionSettingsOutput) GoString() string {
27702	return s.String()
27703}
27704
27705// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
27706func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput {
27707	s.DataCatalogEncryptionSettings = v
27708	return s
27709}
27710
27711type GetDatabaseInput struct {
27712	_ struct{} `type:"structure"`
27713
27714	// The ID of the Data Catalog in which the database resides. If none is provided,
27715	// the AWS account ID is used by default.
27716	CatalogId *string `min:"1" type:"string"`
27717
27718	// The name of the database to retrieve. For Hive compatibility, this should
27719	// be all lowercase.
27720	//
27721	// Name is a required field
27722	Name *string `min:"1" type:"string" required:"true"`
27723}
27724
27725// String returns the string representation
27726func (s GetDatabaseInput) String() string {
27727	return awsutil.Prettify(s)
27728}
27729
27730// GoString returns the string representation
27731func (s GetDatabaseInput) GoString() string {
27732	return s.String()
27733}
27734
27735// Validate inspects the fields of the type to determine if they are valid.
27736func (s *GetDatabaseInput) Validate() error {
27737	invalidParams := request.ErrInvalidParams{Context: "GetDatabaseInput"}
27738	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27739		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27740	}
27741	if s.Name == nil {
27742		invalidParams.Add(request.NewErrParamRequired("Name"))
27743	}
27744	if s.Name != nil && len(*s.Name) < 1 {
27745		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27746	}
27747
27748	if invalidParams.Len() > 0 {
27749		return invalidParams
27750	}
27751	return nil
27752}
27753
27754// SetCatalogId sets the CatalogId field's value.
27755func (s *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput {
27756	s.CatalogId = &v
27757	return s
27758}
27759
27760// SetName sets the Name field's value.
27761func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput {
27762	s.Name = &v
27763	return s
27764}
27765
27766type GetDatabaseOutput struct {
27767	_ struct{} `type:"structure"`
27768
27769	// The definition of the specified database in the Data Catalog.
27770	Database *Database `type:"structure"`
27771}
27772
27773// String returns the string representation
27774func (s GetDatabaseOutput) String() string {
27775	return awsutil.Prettify(s)
27776}
27777
27778// GoString returns the string representation
27779func (s GetDatabaseOutput) GoString() string {
27780	return s.String()
27781}
27782
27783// SetDatabase sets the Database field's value.
27784func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput {
27785	s.Database = v
27786	return s
27787}
27788
27789type GetDatabasesInput struct {
27790	_ struct{} `type:"structure"`
27791
27792	// The ID of the Data Catalog from which to retrieve Databases. If none is provided,
27793	// the AWS account ID is used by default.
27794	CatalogId *string `min:"1" type:"string"`
27795
27796	// The maximum number of databases to return in one response.
27797	MaxResults *int64 `min:"1" type:"integer"`
27798
27799	// A continuation token, if this is a continuation call.
27800	NextToken *string `type:"string"`
27801
27802	// Allows you to specify that you want to list the databases shared with your
27803	// account. The allowable values are FOREIGN or ALL.
27804	//
27805	//    * If set to FOREIGN, will list the databases shared with your account.
27806	//
27807	//    * If set to ALL, will list the databases shared with your account, as
27808	//    well as the databases in yor local account.
27809	ResourceShareType *string `type:"string" enum:"ResourceShareType"`
27810}
27811
27812// String returns the string representation
27813func (s GetDatabasesInput) String() string {
27814	return awsutil.Prettify(s)
27815}
27816
27817// GoString returns the string representation
27818func (s GetDatabasesInput) GoString() string {
27819	return s.String()
27820}
27821
27822// Validate inspects the fields of the type to determine if they are valid.
27823func (s *GetDatabasesInput) Validate() error {
27824	invalidParams := request.ErrInvalidParams{Context: "GetDatabasesInput"}
27825	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27826		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27827	}
27828	if s.MaxResults != nil && *s.MaxResults < 1 {
27829		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27830	}
27831
27832	if invalidParams.Len() > 0 {
27833		return invalidParams
27834	}
27835	return nil
27836}
27837
27838// SetCatalogId sets the CatalogId field's value.
27839func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput {
27840	s.CatalogId = &v
27841	return s
27842}
27843
27844// SetMaxResults sets the MaxResults field's value.
27845func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput {
27846	s.MaxResults = &v
27847	return s
27848}
27849
27850// SetNextToken sets the NextToken field's value.
27851func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput {
27852	s.NextToken = &v
27853	return s
27854}
27855
27856// SetResourceShareType sets the ResourceShareType field's value.
27857func (s *GetDatabasesInput) SetResourceShareType(v string) *GetDatabasesInput {
27858	s.ResourceShareType = &v
27859	return s
27860}
27861
27862type GetDatabasesOutput struct {
27863	_ struct{} `type:"structure"`
27864
27865	// A list of Database objects from the specified catalog.
27866	//
27867	// DatabaseList is a required field
27868	DatabaseList []*Database `type:"list" required:"true"`
27869
27870	// A continuation token for paginating the returned list of tokens, returned
27871	// if the current segment of the list is not the last.
27872	NextToken *string `type:"string"`
27873}
27874
27875// String returns the string representation
27876func (s GetDatabasesOutput) String() string {
27877	return awsutil.Prettify(s)
27878}
27879
27880// GoString returns the string representation
27881func (s GetDatabasesOutput) GoString() string {
27882	return s.String()
27883}
27884
27885// SetDatabaseList sets the DatabaseList field's value.
27886func (s *GetDatabasesOutput) SetDatabaseList(v []*Database) *GetDatabasesOutput {
27887	s.DatabaseList = v
27888	return s
27889}
27890
27891// SetNextToken sets the NextToken field's value.
27892func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput {
27893	s.NextToken = &v
27894	return s
27895}
27896
27897type GetDataflowGraphInput struct {
27898	_ struct{} `type:"structure"`
27899
27900	// The Python script to transform.
27901	PythonScript *string `type:"string"`
27902}
27903
27904// String returns the string representation
27905func (s GetDataflowGraphInput) String() string {
27906	return awsutil.Prettify(s)
27907}
27908
27909// GoString returns the string representation
27910func (s GetDataflowGraphInput) GoString() string {
27911	return s.String()
27912}
27913
27914// SetPythonScript sets the PythonScript field's value.
27915func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput {
27916	s.PythonScript = &v
27917	return s
27918}
27919
27920type GetDataflowGraphOutput struct {
27921	_ struct{} `type:"structure"`
27922
27923	// A list of the edges in the resulting DAG.
27924	DagEdges []*CodeGenEdge `type:"list"`
27925
27926	// A list of the nodes in the resulting DAG.
27927	DagNodes []*CodeGenNode `type:"list"`
27928}
27929
27930// String returns the string representation
27931func (s GetDataflowGraphOutput) String() string {
27932	return awsutil.Prettify(s)
27933}
27934
27935// GoString returns the string representation
27936func (s GetDataflowGraphOutput) GoString() string {
27937	return s.String()
27938}
27939
27940// SetDagEdges sets the DagEdges field's value.
27941func (s *GetDataflowGraphOutput) SetDagEdges(v []*CodeGenEdge) *GetDataflowGraphOutput {
27942	s.DagEdges = v
27943	return s
27944}
27945
27946// SetDagNodes sets the DagNodes field's value.
27947func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraphOutput {
27948	s.DagNodes = v
27949	return s
27950}
27951
27952type GetDevEndpointInput struct {
27953	_ struct{} `type:"structure"`
27954
27955	// Name of the DevEndpoint to retrieve information for.
27956	//
27957	// EndpointName is a required field
27958	EndpointName *string `type:"string" required:"true"`
27959}
27960
27961// String returns the string representation
27962func (s GetDevEndpointInput) String() string {
27963	return awsutil.Prettify(s)
27964}
27965
27966// GoString returns the string representation
27967func (s GetDevEndpointInput) GoString() string {
27968	return s.String()
27969}
27970
27971// Validate inspects the fields of the type to determine if they are valid.
27972func (s *GetDevEndpointInput) Validate() error {
27973	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointInput"}
27974	if s.EndpointName == nil {
27975		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
27976	}
27977
27978	if invalidParams.Len() > 0 {
27979		return invalidParams
27980	}
27981	return nil
27982}
27983
27984// SetEndpointName sets the EndpointName field's value.
27985func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput {
27986	s.EndpointName = &v
27987	return s
27988}
27989
27990type GetDevEndpointOutput struct {
27991	_ struct{} `type:"structure"`
27992
27993	// A DevEndpoint definition.
27994	DevEndpoint *DevEndpoint `type:"structure"`
27995}
27996
27997// String returns the string representation
27998func (s GetDevEndpointOutput) String() string {
27999	return awsutil.Prettify(s)
28000}
28001
28002// GoString returns the string representation
28003func (s GetDevEndpointOutput) GoString() string {
28004	return s.String()
28005}
28006
28007// SetDevEndpoint sets the DevEndpoint field's value.
28008func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput {
28009	s.DevEndpoint = v
28010	return s
28011}
28012
28013type GetDevEndpointsInput struct {
28014	_ struct{} `type:"structure"`
28015
28016	// The maximum size of information to return.
28017	MaxResults *int64 `min:"1" type:"integer"`
28018
28019	// A continuation token, if this is a continuation call.
28020	NextToken *string `type:"string"`
28021}
28022
28023// String returns the string representation
28024func (s GetDevEndpointsInput) String() string {
28025	return awsutil.Prettify(s)
28026}
28027
28028// GoString returns the string representation
28029func (s GetDevEndpointsInput) GoString() string {
28030	return s.String()
28031}
28032
28033// Validate inspects the fields of the type to determine if they are valid.
28034func (s *GetDevEndpointsInput) Validate() error {
28035	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointsInput"}
28036	if s.MaxResults != nil && *s.MaxResults < 1 {
28037		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28038	}
28039
28040	if invalidParams.Len() > 0 {
28041		return invalidParams
28042	}
28043	return nil
28044}
28045
28046// SetMaxResults sets the MaxResults field's value.
28047func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput {
28048	s.MaxResults = &v
28049	return s
28050}
28051
28052// SetNextToken sets the NextToken field's value.
28053func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput {
28054	s.NextToken = &v
28055	return s
28056}
28057
28058type GetDevEndpointsOutput struct {
28059	_ struct{} `type:"structure"`
28060
28061	// A list of DevEndpoint definitions.
28062	DevEndpoints []*DevEndpoint `type:"list"`
28063
28064	// A continuation token, if not all DevEndpoint definitions have yet been returned.
28065	NextToken *string `type:"string"`
28066}
28067
28068// String returns the string representation
28069func (s GetDevEndpointsOutput) String() string {
28070	return awsutil.Prettify(s)
28071}
28072
28073// GoString returns the string representation
28074func (s GetDevEndpointsOutput) GoString() string {
28075	return s.String()
28076}
28077
28078// SetDevEndpoints sets the DevEndpoints field's value.
28079func (s *GetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *GetDevEndpointsOutput {
28080	s.DevEndpoints = v
28081	return s
28082}
28083
28084// SetNextToken sets the NextToken field's value.
28085func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput {
28086	s.NextToken = &v
28087	return s
28088}
28089
28090type GetJobBookmarkInput struct {
28091	_ struct{} `type:"structure"`
28092
28093	// The name of the job in question.
28094	//
28095	// JobName is a required field
28096	JobName *string `type:"string" required:"true"`
28097
28098	// The unique run identifier associated with this job run.
28099	RunId *string `type:"string"`
28100}
28101
28102// String returns the string representation
28103func (s GetJobBookmarkInput) String() string {
28104	return awsutil.Prettify(s)
28105}
28106
28107// GoString returns the string representation
28108func (s GetJobBookmarkInput) GoString() string {
28109	return s.String()
28110}
28111
28112// Validate inspects the fields of the type to determine if they are valid.
28113func (s *GetJobBookmarkInput) Validate() error {
28114	invalidParams := request.ErrInvalidParams{Context: "GetJobBookmarkInput"}
28115	if s.JobName == nil {
28116		invalidParams.Add(request.NewErrParamRequired("JobName"))
28117	}
28118
28119	if invalidParams.Len() > 0 {
28120		return invalidParams
28121	}
28122	return nil
28123}
28124
28125// SetJobName sets the JobName field's value.
28126func (s *GetJobBookmarkInput) SetJobName(v string) *GetJobBookmarkInput {
28127	s.JobName = &v
28128	return s
28129}
28130
28131// SetRunId sets the RunId field's value.
28132func (s *GetJobBookmarkInput) SetRunId(v string) *GetJobBookmarkInput {
28133	s.RunId = &v
28134	return s
28135}
28136
28137type GetJobBookmarkOutput struct {
28138	_ struct{} `type:"structure"`
28139
28140	// A structure that defines a point that a job can resume processing.
28141	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
28142}
28143
28144// String returns the string representation
28145func (s GetJobBookmarkOutput) String() string {
28146	return awsutil.Prettify(s)
28147}
28148
28149// GoString returns the string representation
28150func (s GetJobBookmarkOutput) GoString() string {
28151	return s.String()
28152}
28153
28154// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
28155func (s *GetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *GetJobBookmarkOutput {
28156	s.JobBookmarkEntry = v
28157	return s
28158}
28159
28160type GetJobInput struct {
28161	_ struct{} `type:"structure"`
28162
28163	// The name of the job definition to retrieve.
28164	//
28165	// JobName is a required field
28166	JobName *string `min:"1" type:"string" required:"true"`
28167}
28168
28169// String returns the string representation
28170func (s GetJobInput) String() string {
28171	return awsutil.Prettify(s)
28172}
28173
28174// GoString returns the string representation
28175func (s GetJobInput) GoString() string {
28176	return s.String()
28177}
28178
28179// Validate inspects the fields of the type to determine if they are valid.
28180func (s *GetJobInput) Validate() error {
28181	invalidParams := request.ErrInvalidParams{Context: "GetJobInput"}
28182	if s.JobName == nil {
28183		invalidParams.Add(request.NewErrParamRequired("JobName"))
28184	}
28185	if s.JobName != nil && len(*s.JobName) < 1 {
28186		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
28187	}
28188
28189	if invalidParams.Len() > 0 {
28190		return invalidParams
28191	}
28192	return nil
28193}
28194
28195// SetJobName sets the JobName field's value.
28196func (s *GetJobInput) SetJobName(v string) *GetJobInput {
28197	s.JobName = &v
28198	return s
28199}
28200
28201type GetJobOutput struct {
28202	_ struct{} `type:"structure"`
28203
28204	// The requested job definition.
28205	Job *Job `type:"structure"`
28206}
28207
28208// String returns the string representation
28209func (s GetJobOutput) String() string {
28210	return awsutil.Prettify(s)
28211}
28212
28213// GoString returns the string representation
28214func (s GetJobOutput) GoString() string {
28215	return s.String()
28216}
28217
28218// SetJob sets the Job field's value.
28219func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
28220	s.Job = v
28221	return s
28222}
28223
28224type GetJobRunInput struct {
28225	_ struct{} `type:"structure"`
28226
28227	// Name of the job definition being run.
28228	//
28229	// JobName is a required field
28230	JobName *string `min:"1" type:"string" required:"true"`
28231
28232	// True if a list of predecessor runs should be returned.
28233	PredecessorsIncluded *bool `type:"boolean"`
28234
28235	// The ID of the job run.
28236	//
28237	// RunId is a required field
28238	RunId *string `min:"1" type:"string" required:"true"`
28239}
28240
28241// String returns the string representation
28242func (s GetJobRunInput) String() string {
28243	return awsutil.Prettify(s)
28244}
28245
28246// GoString returns the string representation
28247func (s GetJobRunInput) GoString() string {
28248	return s.String()
28249}
28250
28251// Validate inspects the fields of the type to determine if they are valid.
28252func (s *GetJobRunInput) Validate() error {
28253	invalidParams := request.ErrInvalidParams{Context: "GetJobRunInput"}
28254	if s.JobName == nil {
28255		invalidParams.Add(request.NewErrParamRequired("JobName"))
28256	}
28257	if s.JobName != nil && len(*s.JobName) < 1 {
28258		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
28259	}
28260	if s.RunId == nil {
28261		invalidParams.Add(request.NewErrParamRequired("RunId"))
28262	}
28263	if s.RunId != nil && len(*s.RunId) < 1 {
28264		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
28265	}
28266
28267	if invalidParams.Len() > 0 {
28268		return invalidParams
28269	}
28270	return nil
28271}
28272
28273// SetJobName sets the JobName field's value.
28274func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput {
28275	s.JobName = &v
28276	return s
28277}
28278
28279// SetPredecessorsIncluded sets the PredecessorsIncluded field's value.
28280func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput {
28281	s.PredecessorsIncluded = &v
28282	return s
28283}
28284
28285// SetRunId sets the RunId field's value.
28286func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput {
28287	s.RunId = &v
28288	return s
28289}
28290
28291type GetJobRunOutput struct {
28292	_ struct{} `type:"structure"`
28293
28294	// The requested job-run metadata.
28295	JobRun *JobRun `type:"structure"`
28296}
28297
28298// String returns the string representation
28299func (s GetJobRunOutput) String() string {
28300	return awsutil.Prettify(s)
28301}
28302
28303// GoString returns the string representation
28304func (s GetJobRunOutput) GoString() string {
28305	return s.String()
28306}
28307
28308// SetJobRun sets the JobRun field's value.
28309func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput {
28310	s.JobRun = v
28311	return s
28312}
28313
28314type GetJobRunsInput struct {
28315	_ struct{} `type:"structure"`
28316
28317	// The name of the job definition for which to retrieve all job runs.
28318	//
28319	// JobName is a required field
28320	JobName *string `min:"1" type:"string" required:"true"`
28321
28322	// The maximum size of the response.
28323	MaxResults *int64 `min:"1" type:"integer"`
28324
28325	// A continuation token, if this is a continuation call.
28326	NextToken *string `type:"string"`
28327}
28328
28329// String returns the string representation
28330func (s GetJobRunsInput) String() string {
28331	return awsutil.Prettify(s)
28332}
28333
28334// GoString returns the string representation
28335func (s GetJobRunsInput) GoString() string {
28336	return s.String()
28337}
28338
28339// Validate inspects the fields of the type to determine if they are valid.
28340func (s *GetJobRunsInput) Validate() error {
28341	invalidParams := request.ErrInvalidParams{Context: "GetJobRunsInput"}
28342	if s.JobName == nil {
28343		invalidParams.Add(request.NewErrParamRequired("JobName"))
28344	}
28345	if s.JobName != nil && len(*s.JobName) < 1 {
28346		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
28347	}
28348	if s.MaxResults != nil && *s.MaxResults < 1 {
28349		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28350	}
28351
28352	if invalidParams.Len() > 0 {
28353		return invalidParams
28354	}
28355	return nil
28356}
28357
28358// SetJobName sets the JobName field's value.
28359func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput {
28360	s.JobName = &v
28361	return s
28362}
28363
28364// SetMaxResults sets the MaxResults field's value.
28365func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput {
28366	s.MaxResults = &v
28367	return s
28368}
28369
28370// SetNextToken sets the NextToken field's value.
28371func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput {
28372	s.NextToken = &v
28373	return s
28374}
28375
28376type GetJobRunsOutput struct {
28377	_ struct{} `type:"structure"`
28378
28379	// A list of job-run metadata objects.
28380	JobRuns []*JobRun `type:"list"`
28381
28382	// A continuation token, if not all requested job runs have been returned.
28383	NextToken *string `type:"string"`
28384}
28385
28386// String returns the string representation
28387func (s GetJobRunsOutput) String() string {
28388	return awsutil.Prettify(s)
28389}
28390
28391// GoString returns the string representation
28392func (s GetJobRunsOutput) GoString() string {
28393	return s.String()
28394}
28395
28396// SetJobRuns sets the JobRuns field's value.
28397func (s *GetJobRunsOutput) SetJobRuns(v []*JobRun) *GetJobRunsOutput {
28398	s.JobRuns = v
28399	return s
28400}
28401
28402// SetNextToken sets the NextToken field's value.
28403func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput {
28404	s.NextToken = &v
28405	return s
28406}
28407
28408type GetJobsInput struct {
28409	_ struct{} `type:"structure"`
28410
28411	// The maximum size of the response.
28412	MaxResults *int64 `min:"1" type:"integer"`
28413
28414	// A continuation token, if this is a continuation call.
28415	NextToken *string `type:"string"`
28416}
28417
28418// String returns the string representation
28419func (s GetJobsInput) String() string {
28420	return awsutil.Prettify(s)
28421}
28422
28423// GoString returns the string representation
28424func (s GetJobsInput) GoString() string {
28425	return s.String()
28426}
28427
28428// Validate inspects the fields of the type to determine if they are valid.
28429func (s *GetJobsInput) Validate() error {
28430	invalidParams := request.ErrInvalidParams{Context: "GetJobsInput"}
28431	if s.MaxResults != nil && *s.MaxResults < 1 {
28432		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28433	}
28434
28435	if invalidParams.Len() > 0 {
28436		return invalidParams
28437	}
28438	return nil
28439}
28440
28441// SetMaxResults sets the MaxResults field's value.
28442func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput {
28443	s.MaxResults = &v
28444	return s
28445}
28446
28447// SetNextToken sets the NextToken field's value.
28448func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput {
28449	s.NextToken = &v
28450	return s
28451}
28452
28453type GetJobsOutput struct {
28454	_ struct{} `type:"structure"`
28455
28456	// A list of job definitions.
28457	Jobs []*Job `type:"list"`
28458
28459	// A continuation token, if not all job definitions have yet been returned.
28460	NextToken *string `type:"string"`
28461}
28462
28463// String returns the string representation
28464func (s GetJobsOutput) String() string {
28465	return awsutil.Prettify(s)
28466}
28467
28468// GoString returns the string representation
28469func (s GetJobsOutput) GoString() string {
28470	return s.String()
28471}
28472
28473// SetJobs sets the Jobs field's value.
28474func (s *GetJobsOutput) SetJobs(v []*Job) *GetJobsOutput {
28475	s.Jobs = v
28476	return s
28477}
28478
28479// SetNextToken sets the NextToken field's value.
28480func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput {
28481	s.NextToken = &v
28482	return s
28483}
28484
28485type GetMLTaskRunInput struct {
28486	_ struct{} `type:"structure"`
28487
28488	// The unique identifier of the task run.
28489	//
28490	// TaskRunId is a required field
28491	TaskRunId *string `min:"1" type:"string" required:"true"`
28492
28493	// The unique identifier of the machine learning transform.
28494	//
28495	// TransformId is a required field
28496	TransformId *string `min:"1" type:"string" required:"true"`
28497}
28498
28499// String returns the string representation
28500func (s GetMLTaskRunInput) String() string {
28501	return awsutil.Prettify(s)
28502}
28503
28504// GoString returns the string representation
28505func (s GetMLTaskRunInput) GoString() string {
28506	return s.String()
28507}
28508
28509// Validate inspects the fields of the type to determine if they are valid.
28510func (s *GetMLTaskRunInput) Validate() error {
28511	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunInput"}
28512	if s.TaskRunId == nil {
28513		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
28514	}
28515	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
28516		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
28517	}
28518	if s.TransformId == nil {
28519		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28520	}
28521	if s.TransformId != nil && len(*s.TransformId) < 1 {
28522		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28523	}
28524
28525	if invalidParams.Len() > 0 {
28526		return invalidParams
28527	}
28528	return nil
28529}
28530
28531// SetTaskRunId sets the TaskRunId field's value.
28532func (s *GetMLTaskRunInput) SetTaskRunId(v string) *GetMLTaskRunInput {
28533	s.TaskRunId = &v
28534	return s
28535}
28536
28537// SetTransformId sets the TransformId field's value.
28538func (s *GetMLTaskRunInput) SetTransformId(v string) *GetMLTaskRunInput {
28539	s.TransformId = &v
28540	return s
28541}
28542
28543type GetMLTaskRunOutput struct {
28544	_ struct{} `type:"structure"`
28545
28546	// The date and time when this task run was completed.
28547	CompletedOn *time.Time `type:"timestamp"`
28548
28549	// The error strings that are associated with the task run.
28550	ErrorString *string `type:"string"`
28551
28552	// The amount of time (in seconds) that the task run consumed resources.
28553	ExecutionTime *int64 `type:"integer"`
28554
28555	// The date and time when this task run was last modified.
28556	LastModifiedOn *time.Time `type:"timestamp"`
28557
28558	// The names of the log groups that are associated with the task run.
28559	LogGroupName *string `type:"string"`
28560
28561	// The list of properties that are associated with the task run.
28562	Properties *TaskRunProperties `type:"structure"`
28563
28564	// The date and time when this task run started.
28565	StartedOn *time.Time `type:"timestamp"`
28566
28567	// The status for this task run.
28568	Status *string `type:"string" enum:"TaskStatusType"`
28569
28570	// The unique run identifier associated with this run.
28571	TaskRunId *string `min:"1" type:"string"`
28572
28573	// The unique identifier of the task run.
28574	TransformId *string `min:"1" type:"string"`
28575}
28576
28577// String returns the string representation
28578func (s GetMLTaskRunOutput) String() string {
28579	return awsutil.Prettify(s)
28580}
28581
28582// GoString returns the string representation
28583func (s GetMLTaskRunOutput) GoString() string {
28584	return s.String()
28585}
28586
28587// SetCompletedOn sets the CompletedOn field's value.
28588func (s *GetMLTaskRunOutput) SetCompletedOn(v time.Time) *GetMLTaskRunOutput {
28589	s.CompletedOn = &v
28590	return s
28591}
28592
28593// SetErrorString sets the ErrorString field's value.
28594func (s *GetMLTaskRunOutput) SetErrorString(v string) *GetMLTaskRunOutput {
28595	s.ErrorString = &v
28596	return s
28597}
28598
28599// SetExecutionTime sets the ExecutionTime field's value.
28600func (s *GetMLTaskRunOutput) SetExecutionTime(v int64) *GetMLTaskRunOutput {
28601	s.ExecutionTime = &v
28602	return s
28603}
28604
28605// SetLastModifiedOn sets the LastModifiedOn field's value.
28606func (s *GetMLTaskRunOutput) SetLastModifiedOn(v time.Time) *GetMLTaskRunOutput {
28607	s.LastModifiedOn = &v
28608	return s
28609}
28610
28611// SetLogGroupName sets the LogGroupName field's value.
28612func (s *GetMLTaskRunOutput) SetLogGroupName(v string) *GetMLTaskRunOutput {
28613	s.LogGroupName = &v
28614	return s
28615}
28616
28617// SetProperties sets the Properties field's value.
28618func (s *GetMLTaskRunOutput) SetProperties(v *TaskRunProperties) *GetMLTaskRunOutput {
28619	s.Properties = v
28620	return s
28621}
28622
28623// SetStartedOn sets the StartedOn field's value.
28624func (s *GetMLTaskRunOutput) SetStartedOn(v time.Time) *GetMLTaskRunOutput {
28625	s.StartedOn = &v
28626	return s
28627}
28628
28629// SetStatus sets the Status field's value.
28630func (s *GetMLTaskRunOutput) SetStatus(v string) *GetMLTaskRunOutput {
28631	s.Status = &v
28632	return s
28633}
28634
28635// SetTaskRunId sets the TaskRunId field's value.
28636func (s *GetMLTaskRunOutput) SetTaskRunId(v string) *GetMLTaskRunOutput {
28637	s.TaskRunId = &v
28638	return s
28639}
28640
28641// SetTransformId sets the TransformId field's value.
28642func (s *GetMLTaskRunOutput) SetTransformId(v string) *GetMLTaskRunOutput {
28643	s.TransformId = &v
28644	return s
28645}
28646
28647type GetMLTaskRunsInput struct {
28648	_ struct{} `type:"structure"`
28649
28650	// The filter criteria, in the TaskRunFilterCriteria structure, for the task
28651	// run.
28652	Filter *TaskRunFilterCriteria `type:"structure"`
28653
28654	// The maximum number of results to return.
28655	MaxResults *int64 `min:"1" type:"integer"`
28656
28657	// A token for pagination of the results. The default is empty.
28658	NextToken *string `type:"string"`
28659
28660	// The sorting criteria, in the TaskRunSortCriteria structure, for the task
28661	// run.
28662	Sort *TaskRunSortCriteria `type:"structure"`
28663
28664	// The unique identifier of the machine learning transform.
28665	//
28666	// TransformId is a required field
28667	TransformId *string `min:"1" type:"string" required:"true"`
28668}
28669
28670// String returns the string representation
28671func (s GetMLTaskRunsInput) String() string {
28672	return awsutil.Prettify(s)
28673}
28674
28675// GoString returns the string representation
28676func (s GetMLTaskRunsInput) GoString() string {
28677	return s.String()
28678}
28679
28680// Validate inspects the fields of the type to determine if they are valid.
28681func (s *GetMLTaskRunsInput) Validate() error {
28682	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunsInput"}
28683	if s.MaxResults != nil && *s.MaxResults < 1 {
28684		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28685	}
28686	if s.TransformId == nil {
28687		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28688	}
28689	if s.TransformId != nil && len(*s.TransformId) < 1 {
28690		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28691	}
28692	if s.Sort != nil {
28693		if err := s.Sort.Validate(); err != nil {
28694			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
28695		}
28696	}
28697
28698	if invalidParams.Len() > 0 {
28699		return invalidParams
28700	}
28701	return nil
28702}
28703
28704// SetFilter sets the Filter field's value.
28705func (s *GetMLTaskRunsInput) SetFilter(v *TaskRunFilterCriteria) *GetMLTaskRunsInput {
28706	s.Filter = v
28707	return s
28708}
28709
28710// SetMaxResults sets the MaxResults field's value.
28711func (s *GetMLTaskRunsInput) SetMaxResults(v int64) *GetMLTaskRunsInput {
28712	s.MaxResults = &v
28713	return s
28714}
28715
28716// SetNextToken sets the NextToken field's value.
28717func (s *GetMLTaskRunsInput) SetNextToken(v string) *GetMLTaskRunsInput {
28718	s.NextToken = &v
28719	return s
28720}
28721
28722// SetSort sets the Sort field's value.
28723func (s *GetMLTaskRunsInput) SetSort(v *TaskRunSortCriteria) *GetMLTaskRunsInput {
28724	s.Sort = v
28725	return s
28726}
28727
28728// SetTransformId sets the TransformId field's value.
28729func (s *GetMLTaskRunsInput) SetTransformId(v string) *GetMLTaskRunsInput {
28730	s.TransformId = &v
28731	return s
28732}
28733
28734type GetMLTaskRunsOutput struct {
28735	_ struct{} `type:"structure"`
28736
28737	// A pagination token, if more results are available.
28738	NextToken *string `type:"string"`
28739
28740	// A list of task runs that are associated with the transform.
28741	TaskRuns []*TaskRun `type:"list"`
28742}
28743
28744// String returns the string representation
28745func (s GetMLTaskRunsOutput) String() string {
28746	return awsutil.Prettify(s)
28747}
28748
28749// GoString returns the string representation
28750func (s GetMLTaskRunsOutput) GoString() string {
28751	return s.String()
28752}
28753
28754// SetNextToken sets the NextToken field's value.
28755func (s *GetMLTaskRunsOutput) SetNextToken(v string) *GetMLTaskRunsOutput {
28756	s.NextToken = &v
28757	return s
28758}
28759
28760// SetTaskRuns sets the TaskRuns field's value.
28761func (s *GetMLTaskRunsOutput) SetTaskRuns(v []*TaskRun) *GetMLTaskRunsOutput {
28762	s.TaskRuns = v
28763	return s
28764}
28765
28766type GetMLTransformInput struct {
28767	_ struct{} `type:"structure"`
28768
28769	// The unique identifier of the transform, generated at the time that the transform
28770	// was created.
28771	//
28772	// TransformId is a required field
28773	TransformId *string `min:"1" type:"string" required:"true"`
28774}
28775
28776// String returns the string representation
28777func (s GetMLTransformInput) String() string {
28778	return awsutil.Prettify(s)
28779}
28780
28781// GoString returns the string representation
28782func (s GetMLTransformInput) GoString() string {
28783	return s.String()
28784}
28785
28786// Validate inspects the fields of the type to determine if they are valid.
28787func (s *GetMLTransformInput) Validate() error {
28788	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformInput"}
28789	if s.TransformId == nil {
28790		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28791	}
28792	if s.TransformId != nil && len(*s.TransformId) < 1 {
28793		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28794	}
28795
28796	if invalidParams.Len() > 0 {
28797		return invalidParams
28798	}
28799	return nil
28800}
28801
28802// SetTransformId sets the TransformId field's value.
28803func (s *GetMLTransformInput) SetTransformId(v string) *GetMLTransformInput {
28804	s.TransformId = &v
28805	return s
28806}
28807
28808type GetMLTransformOutput struct {
28809	_ struct{} `type:"structure"`
28810
28811	// The date and time when the transform was created.
28812	CreatedOn *time.Time `type:"timestamp"`
28813
28814	// A description of the transform.
28815	Description *string `type:"string"`
28816
28817	// The latest evaluation metrics.
28818	EvaluationMetrics *EvaluationMetrics `type:"structure"`
28819
28820	// This value determines which version of AWS Glue this machine learning transform
28821	// is compatible with. Glue 1.0 is recommended for most customers. If the value
28822	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
28823	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
28824	// in the developer guide.
28825	GlueVersion *string `min:"1" type:"string"`
28826
28827	// A list of AWS Glue table definitions used by the transform.
28828	InputRecordTables []*Table `type:"list"`
28829
28830	// The number of labels available for this transform.
28831	LabelCount *int64 `type:"integer"`
28832
28833	// The date and time when the transform was last modified.
28834	LastModifiedOn *time.Time `type:"timestamp"`
28835
28836	// The number of AWS Glue data processing units (DPUs) that are allocated to
28837	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
28838	// is 10. A DPU is a relative measure of processing power that consists of 4
28839	// vCPUs of compute capacity and 16 GB of memory. For more information, see
28840	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
28841	//
28842	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
28843	// field is set automatically and becomes read-only.
28844	MaxCapacity *float64 `type:"double"`
28845
28846	// The maximum number of times to retry a task for this transform after a task
28847	// run fails.
28848	MaxRetries *int64 `type:"integer"`
28849
28850	// The unique name given to the transform when it was created.
28851	Name *string `min:"1" type:"string"`
28852
28853	// The number of workers of a defined workerType that are allocated when this
28854	// task runs.
28855	NumberOfWorkers *int64 `type:"integer"`
28856
28857	// The configuration parameters that are specific to the algorithm used.
28858	Parameters *TransformParameters `type:"structure"`
28859
28860	// The name or Amazon Resource Name (ARN) of the IAM role with the required
28861	// permissions.
28862	Role *string `type:"string"`
28863
28864	// The Map<Column, Type> object that represents the schema that this transform
28865	// accepts. Has an upper bound of 100 columns.
28866	Schema []*SchemaColumn `type:"list"`
28867
28868	// The last known status of the transform (to indicate whether it can be used
28869	// or not). One of "NOT_READY", "READY", or "DELETING".
28870	Status *string `type:"string" enum:"TransformStatusType"`
28871
28872	// The timeout for a task run for this transform in minutes. This is the maximum
28873	// time that a task run for this transform can consume resources before it is
28874	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
28875	Timeout *int64 `min:"1" type:"integer"`
28876
28877	// The encryption-at-rest settings of the transform that apply to accessing
28878	// user data. Machine learning transforms can access user data encrypted in
28879	// Amazon S3 using KMS.
28880	TransformEncryption *TransformEncryption `type:"structure"`
28881
28882	// The unique identifier of the transform, generated at the time that the transform
28883	// was created.
28884	TransformId *string `min:"1" type:"string"`
28885
28886	// The type of predefined worker that is allocated when this task runs. Accepts
28887	// a value of Standard, G.1X, or G.2X.
28888	//
28889	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
28890	//    memory and a 50GB disk, and 2 executors per worker.
28891	//
28892	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
28893	//    and a 64GB disk, and 1 executor per worker.
28894	//
28895	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
28896	//    and a 128GB disk, and 1 executor per worker.
28897	WorkerType *string `type:"string" enum:"WorkerType"`
28898}
28899
28900// String returns the string representation
28901func (s GetMLTransformOutput) String() string {
28902	return awsutil.Prettify(s)
28903}
28904
28905// GoString returns the string representation
28906func (s GetMLTransformOutput) GoString() string {
28907	return s.String()
28908}
28909
28910// SetCreatedOn sets the CreatedOn field's value.
28911func (s *GetMLTransformOutput) SetCreatedOn(v time.Time) *GetMLTransformOutput {
28912	s.CreatedOn = &v
28913	return s
28914}
28915
28916// SetDescription sets the Description field's value.
28917func (s *GetMLTransformOutput) SetDescription(v string) *GetMLTransformOutput {
28918	s.Description = &v
28919	return s
28920}
28921
28922// SetEvaluationMetrics sets the EvaluationMetrics field's value.
28923func (s *GetMLTransformOutput) SetEvaluationMetrics(v *EvaluationMetrics) *GetMLTransformOutput {
28924	s.EvaluationMetrics = v
28925	return s
28926}
28927
28928// SetGlueVersion sets the GlueVersion field's value.
28929func (s *GetMLTransformOutput) SetGlueVersion(v string) *GetMLTransformOutput {
28930	s.GlueVersion = &v
28931	return s
28932}
28933
28934// SetInputRecordTables sets the InputRecordTables field's value.
28935func (s *GetMLTransformOutput) SetInputRecordTables(v []*Table) *GetMLTransformOutput {
28936	s.InputRecordTables = v
28937	return s
28938}
28939
28940// SetLabelCount sets the LabelCount field's value.
28941func (s *GetMLTransformOutput) SetLabelCount(v int64) *GetMLTransformOutput {
28942	s.LabelCount = &v
28943	return s
28944}
28945
28946// SetLastModifiedOn sets the LastModifiedOn field's value.
28947func (s *GetMLTransformOutput) SetLastModifiedOn(v time.Time) *GetMLTransformOutput {
28948	s.LastModifiedOn = &v
28949	return s
28950}
28951
28952// SetMaxCapacity sets the MaxCapacity field's value.
28953func (s *GetMLTransformOutput) SetMaxCapacity(v float64) *GetMLTransformOutput {
28954	s.MaxCapacity = &v
28955	return s
28956}
28957
28958// SetMaxRetries sets the MaxRetries field's value.
28959func (s *GetMLTransformOutput) SetMaxRetries(v int64) *GetMLTransformOutput {
28960	s.MaxRetries = &v
28961	return s
28962}
28963
28964// SetName sets the Name field's value.
28965func (s *GetMLTransformOutput) SetName(v string) *GetMLTransformOutput {
28966	s.Name = &v
28967	return s
28968}
28969
28970// SetNumberOfWorkers sets the NumberOfWorkers field's value.
28971func (s *GetMLTransformOutput) SetNumberOfWorkers(v int64) *GetMLTransformOutput {
28972	s.NumberOfWorkers = &v
28973	return s
28974}
28975
28976// SetParameters sets the Parameters field's value.
28977func (s *GetMLTransformOutput) SetParameters(v *TransformParameters) *GetMLTransformOutput {
28978	s.Parameters = v
28979	return s
28980}
28981
28982// SetRole sets the Role field's value.
28983func (s *GetMLTransformOutput) SetRole(v string) *GetMLTransformOutput {
28984	s.Role = &v
28985	return s
28986}
28987
28988// SetSchema sets the Schema field's value.
28989func (s *GetMLTransformOutput) SetSchema(v []*SchemaColumn) *GetMLTransformOutput {
28990	s.Schema = v
28991	return s
28992}
28993
28994// SetStatus sets the Status field's value.
28995func (s *GetMLTransformOutput) SetStatus(v string) *GetMLTransformOutput {
28996	s.Status = &v
28997	return s
28998}
28999
29000// SetTimeout sets the Timeout field's value.
29001func (s *GetMLTransformOutput) SetTimeout(v int64) *GetMLTransformOutput {
29002	s.Timeout = &v
29003	return s
29004}
29005
29006// SetTransformEncryption sets the TransformEncryption field's value.
29007func (s *GetMLTransformOutput) SetTransformEncryption(v *TransformEncryption) *GetMLTransformOutput {
29008	s.TransformEncryption = v
29009	return s
29010}
29011
29012// SetTransformId sets the TransformId field's value.
29013func (s *GetMLTransformOutput) SetTransformId(v string) *GetMLTransformOutput {
29014	s.TransformId = &v
29015	return s
29016}
29017
29018// SetWorkerType sets the WorkerType field's value.
29019func (s *GetMLTransformOutput) SetWorkerType(v string) *GetMLTransformOutput {
29020	s.WorkerType = &v
29021	return s
29022}
29023
29024type GetMLTransformsInput struct {
29025	_ struct{} `type:"structure"`
29026
29027	// The filter transformation criteria.
29028	Filter *TransformFilterCriteria `type:"structure"`
29029
29030	// The maximum number of results to return.
29031	MaxResults *int64 `min:"1" type:"integer"`
29032
29033	// A paginated token to offset the results.
29034	NextToken *string `type:"string"`
29035
29036	// The sorting criteria.
29037	Sort *TransformSortCriteria `type:"structure"`
29038}
29039
29040// String returns the string representation
29041func (s GetMLTransformsInput) String() string {
29042	return awsutil.Prettify(s)
29043}
29044
29045// GoString returns the string representation
29046func (s GetMLTransformsInput) GoString() string {
29047	return s.String()
29048}
29049
29050// Validate inspects the fields of the type to determine if they are valid.
29051func (s *GetMLTransformsInput) Validate() error {
29052	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformsInput"}
29053	if s.MaxResults != nil && *s.MaxResults < 1 {
29054		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
29055	}
29056	if s.Filter != nil {
29057		if err := s.Filter.Validate(); err != nil {
29058			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
29059		}
29060	}
29061	if s.Sort != nil {
29062		if err := s.Sort.Validate(); err != nil {
29063			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
29064		}
29065	}
29066
29067	if invalidParams.Len() > 0 {
29068		return invalidParams
29069	}
29070	return nil
29071}
29072
29073// SetFilter sets the Filter field's value.
29074func (s *GetMLTransformsInput) SetFilter(v *TransformFilterCriteria) *GetMLTransformsInput {
29075	s.Filter = v
29076	return s
29077}
29078
29079// SetMaxResults sets the MaxResults field's value.
29080func (s *GetMLTransformsInput) SetMaxResults(v int64) *GetMLTransformsInput {
29081	s.MaxResults = &v
29082	return s
29083}
29084
29085// SetNextToken sets the NextToken field's value.
29086func (s *GetMLTransformsInput) SetNextToken(v string) *GetMLTransformsInput {
29087	s.NextToken = &v
29088	return s
29089}
29090
29091// SetSort sets the Sort field's value.
29092func (s *GetMLTransformsInput) SetSort(v *TransformSortCriteria) *GetMLTransformsInput {
29093	s.Sort = v
29094	return s
29095}
29096
29097type GetMLTransformsOutput struct {
29098	_ struct{} `type:"structure"`
29099
29100	// A pagination token, if more results are available.
29101	NextToken *string `type:"string"`
29102
29103	// A list of machine learning transforms.
29104	//
29105	// Transforms is a required field
29106	Transforms []*MLTransform `type:"list" required:"true"`
29107}
29108
29109// String returns the string representation
29110func (s GetMLTransformsOutput) String() string {
29111	return awsutil.Prettify(s)
29112}
29113
29114// GoString returns the string representation
29115func (s GetMLTransformsOutput) GoString() string {
29116	return s.String()
29117}
29118
29119// SetNextToken sets the NextToken field's value.
29120func (s *GetMLTransformsOutput) SetNextToken(v string) *GetMLTransformsOutput {
29121	s.NextToken = &v
29122	return s
29123}
29124
29125// SetTransforms sets the Transforms field's value.
29126func (s *GetMLTransformsOutput) SetTransforms(v []*MLTransform) *GetMLTransformsOutput {
29127	s.Transforms = v
29128	return s
29129}
29130
29131type GetMappingInput struct {
29132	_ struct{} `type:"structure"`
29133
29134	// Parameters for the mapping.
29135	Location *Location `type:"structure"`
29136
29137	// A list of target tables.
29138	Sinks []*CatalogEntry `type:"list"`
29139
29140	// Specifies the source table.
29141	//
29142	// Source is a required field
29143	Source *CatalogEntry `type:"structure" required:"true"`
29144}
29145
29146// String returns the string representation
29147func (s GetMappingInput) String() string {
29148	return awsutil.Prettify(s)
29149}
29150
29151// GoString returns the string representation
29152func (s GetMappingInput) GoString() string {
29153	return s.String()
29154}
29155
29156// Validate inspects the fields of the type to determine if they are valid.
29157func (s *GetMappingInput) Validate() error {
29158	invalidParams := request.ErrInvalidParams{Context: "GetMappingInput"}
29159	if s.Source == nil {
29160		invalidParams.Add(request.NewErrParamRequired("Source"))
29161	}
29162	if s.Location != nil {
29163		if err := s.Location.Validate(); err != nil {
29164			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
29165		}
29166	}
29167	if s.Sinks != nil {
29168		for i, v := range s.Sinks {
29169			if v == nil {
29170				continue
29171			}
29172			if err := v.Validate(); err != nil {
29173				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
29174			}
29175		}
29176	}
29177	if s.Source != nil {
29178		if err := s.Source.Validate(); err != nil {
29179			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
29180		}
29181	}
29182
29183	if invalidParams.Len() > 0 {
29184		return invalidParams
29185	}
29186	return nil
29187}
29188
29189// SetLocation sets the Location field's value.
29190func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput {
29191	s.Location = v
29192	return s
29193}
29194
29195// SetSinks sets the Sinks field's value.
29196func (s *GetMappingInput) SetSinks(v []*CatalogEntry) *GetMappingInput {
29197	s.Sinks = v
29198	return s
29199}
29200
29201// SetSource sets the Source field's value.
29202func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput {
29203	s.Source = v
29204	return s
29205}
29206
29207type GetMappingOutput struct {
29208	_ struct{} `type:"structure"`
29209
29210	// A list of mappings to the specified targets.
29211	//
29212	// Mapping is a required field
29213	Mapping []*MappingEntry `type:"list" required:"true"`
29214}
29215
29216// String returns the string representation
29217func (s GetMappingOutput) String() string {
29218	return awsutil.Prettify(s)
29219}
29220
29221// GoString returns the string representation
29222func (s GetMappingOutput) GoString() string {
29223	return s.String()
29224}
29225
29226// SetMapping sets the Mapping field's value.
29227func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput {
29228	s.Mapping = v
29229	return s
29230}
29231
29232type GetPartitionIndexesInput struct {
29233	_ struct{} `type:"structure"`
29234
29235	// The catalog ID where the table resides.
29236	CatalogId *string `min:"1" type:"string"`
29237
29238	// Specifies the name of a database from which you want to retrieve partition
29239	// indexes.
29240	//
29241	// DatabaseName is a required field
29242	DatabaseName *string `min:"1" type:"string" required:"true"`
29243
29244	// A continuation token, included if this is a continuation call.
29245	NextToken *string `type:"string"`
29246
29247	// Specifies the name of a table for which you want to retrieve the partition
29248	// indexes.
29249	//
29250	// TableName is a required field
29251	TableName *string `min:"1" type:"string" required:"true"`
29252}
29253
29254// String returns the string representation
29255func (s GetPartitionIndexesInput) String() string {
29256	return awsutil.Prettify(s)
29257}
29258
29259// GoString returns the string representation
29260func (s GetPartitionIndexesInput) GoString() string {
29261	return s.String()
29262}
29263
29264// Validate inspects the fields of the type to determine if they are valid.
29265func (s *GetPartitionIndexesInput) Validate() error {
29266	invalidParams := request.ErrInvalidParams{Context: "GetPartitionIndexesInput"}
29267	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
29268		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
29269	}
29270	if s.DatabaseName == nil {
29271		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
29272	}
29273	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
29274		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
29275	}
29276	if s.TableName == nil {
29277		invalidParams.Add(request.NewErrParamRequired("TableName"))
29278	}
29279	if s.TableName != nil && len(*s.TableName) < 1 {
29280		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
29281	}
29282
29283	if invalidParams.Len() > 0 {
29284		return invalidParams
29285	}
29286	return nil
29287}
29288
29289// SetCatalogId sets the CatalogId field's value.
29290func (s *GetPartitionIndexesInput) SetCatalogId(v string) *GetPartitionIndexesInput {
29291	s.CatalogId = &v
29292	return s
29293}
29294
29295// SetDatabaseName sets the DatabaseName field's value.
29296func (s *GetPartitionIndexesInput) SetDatabaseName(v string) *GetPartitionIndexesInput {
29297	s.DatabaseName = &v
29298	return s
29299}
29300
29301// SetNextToken sets the NextToken field's value.
29302func (s *GetPartitionIndexesInput) SetNextToken(v string) *GetPartitionIndexesInput {
29303	s.NextToken = &v
29304	return s
29305}
29306
29307// SetTableName sets the TableName field's value.
29308func (s *GetPartitionIndexesInput) SetTableName(v string) *GetPartitionIndexesInput {
29309	s.TableName = &v
29310	return s
29311}
29312
29313type GetPartitionIndexesOutput struct {
29314	_ struct{} `type:"structure"`
29315
29316	// A continuation token, present if the current list segment is not the last.
29317	NextToken *string `type:"string"`
29318
29319	// A list of index descriptors.
29320	PartitionIndexDescriptorList []*PartitionIndexDescriptor `type:"list"`
29321}
29322
29323// String returns the string representation
29324func (s GetPartitionIndexesOutput) String() string {
29325	return awsutil.Prettify(s)
29326}
29327
29328// GoString returns the string representation
29329func (s GetPartitionIndexesOutput) GoString() string {
29330	return s.String()
29331}
29332
29333// SetNextToken sets the NextToken field's value.
29334func (s *GetPartitionIndexesOutput) SetNextToken(v string) *GetPartitionIndexesOutput {
29335	s.NextToken = &v
29336	return s
29337}
29338
29339// SetPartitionIndexDescriptorList sets the PartitionIndexDescriptorList field's value.
29340func (s *GetPartitionIndexesOutput) SetPartitionIndexDescriptorList(v []*PartitionIndexDescriptor) *GetPartitionIndexesOutput {
29341	s.PartitionIndexDescriptorList = v
29342	return s
29343}
29344
29345type GetPartitionInput struct {
29346	_ struct{} `type:"structure"`
29347
29348	// The ID of the Data Catalog where the partition in question resides. If none
29349	// is provided, the AWS account ID is used by default.
29350	CatalogId *string `min:"1" type:"string"`
29351
29352	// The name of the catalog database where the partition resides.
29353	//
29354	// DatabaseName is a required field
29355	DatabaseName *string `min:"1" type:"string" required:"true"`
29356
29357	// The values that define the partition.
29358	//
29359	// PartitionValues is a required field
29360	PartitionValues []*string `type:"list" required:"true"`
29361
29362	// The name of the partition's table.
29363	//
29364	// TableName is a required field
29365	TableName *string `min:"1" type:"string" required:"true"`
29366}
29367
29368// String returns the string representation
29369func (s GetPartitionInput) String() string {
29370	return awsutil.Prettify(s)
29371}
29372
29373// GoString returns the string representation
29374func (s GetPartitionInput) GoString() string {
29375	return s.String()
29376}
29377
29378// Validate inspects the fields of the type to determine if they are valid.
29379func (s *GetPartitionInput) Validate() error {
29380	invalidParams := request.ErrInvalidParams{Context: "GetPartitionInput"}
29381	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
29382		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
29383	}
29384	if s.DatabaseName == nil {
29385		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
29386	}
29387	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
29388		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
29389	}
29390	if s.PartitionValues == nil {
29391		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
29392	}
29393	if s.TableName == nil {
29394		invalidParams.Add(request.NewErrParamRequired("TableName"))
29395	}
29396	if s.TableName != nil && len(*s.TableName) < 1 {
29397		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
29398	}
29399
29400	if invalidParams.Len() > 0 {
29401		return invalidParams
29402	}
29403	return nil
29404}
29405
29406// SetCatalogId sets the CatalogId field's value.
29407func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput {
29408	s.CatalogId = &v
29409	return s
29410}
29411
29412// SetDatabaseName sets the DatabaseName field's value.
29413func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput {
29414	s.DatabaseName = &v
29415	return s
29416}
29417
29418// SetPartitionValues sets the PartitionValues field's value.
29419func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput {
29420	s.PartitionValues = v
29421	return s
29422}
29423
29424// SetTableName sets the TableName field's value.
29425func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput {
29426	s.TableName = &v
29427	return s
29428}
29429
29430type GetPartitionOutput struct {
29431	_ struct{} `type:"structure"`
29432
29433	// The requested information, in the form of a Partition object.
29434	Partition *Partition `type:"structure"`
29435}
29436
29437// String returns the string representation
29438func (s GetPartitionOutput) String() string {
29439	return awsutil.Prettify(s)
29440}
29441
29442// GoString returns the string representation
29443func (s GetPartitionOutput) GoString() string {
29444	return s.String()
29445}
29446
29447// SetPartition sets the Partition field's value.
29448func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput {
29449	s.Partition = v
29450	return s
29451}
29452
29453type GetPartitionsInput struct {
29454	_ struct{} `type:"structure"`
29455
29456	// The ID of the Data Catalog where the partitions in question reside. If none
29457	// is provided, the AWS account ID is used by default.
29458	CatalogId *string `min:"1" type:"string"`
29459
29460	// The name of the catalog database where the partitions reside.
29461	//
29462	// DatabaseName is a required field
29463	DatabaseName *string `min:"1" type:"string" required:"true"`
29464
29465	// An expression that filters the partitions to be returned.
29466	//
29467	// The expression uses SQL syntax similar to the SQL WHERE filter clause. The
29468	// SQL statement parser JSQLParser (http://jsqlparser.sourceforge.net/home.php)
29469	// parses the expression.
29470	//
29471	// Operators: The following are the operators that you can use in the Expression
29472	// API call:
29473	//
29474	// =
29475	//
29476	// Checks whether the values of the two operands are equal; if yes, then the
29477	// condition becomes true.
29478	//
29479	// Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
29480	//
29481	// (a = b) is not true.
29482	//
29483	// < >
29484	//
29485	// Checks whether the values of two operands are equal; if the values are not
29486	// equal, then the condition becomes true.
29487	//
29488	// Example: (a < > b) is true.
29489	//
29490	// >
29491	//
29492	// Checks whether the value of the left operand is greater than the value of
29493	// the right operand; if yes, then the condition becomes true.
29494	//
29495	// Example: (a > b) is not true.
29496	//
29497	// <
29498	//
29499	// Checks whether the value of the left operand is less than the value of the
29500	// right operand; if yes, then the condition becomes true.
29501	//
29502	// Example: (a < b) is true.
29503	//
29504	// >=
29505	//
29506	// Checks whether the value of the left operand is greater than or equal to
29507	// the value of the right operand; if yes, then the condition becomes true.
29508	//
29509	// Example: (a >= b) is not true.
29510	//
29511	// <=
29512	//
29513	// Checks whether the value of the left operand is less than or equal to the
29514	// value of the right operand; if yes, then the condition becomes true.
29515	//
29516	// Example: (a <= b) is true.
29517	//
29518	// AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
29519	//
29520	// Logical operators.
29521	//
29522	// Supported Partition Key Types: The following are the supported partition
29523	// keys.
29524	//
29525	//    * string
29526	//
29527	//    * date
29528	//
29529	//    * timestamp
29530	//
29531	//    * int
29532	//
29533	//    * bigint
29534	//
29535	//    * long
29536	//
29537	//    * tinyint
29538	//
29539	//    * smallint
29540	//
29541	//    * decimal
29542	//
29543	// If an invalid type is encountered, an exception is thrown.
29544	//
29545	// The following list shows the valid operators on each type. When you define
29546	// a crawler, the partitionKey type is created as a STRING, to be compatible
29547	// with the catalog partitions.
29548	//
29549	// Sample API Call:
29550	Expression *string `type:"string"`
29551
29552	// The maximum number of partitions to return in a single response.
29553	MaxResults *int64 `min:"1" type:"integer"`
29554
29555	// A continuation token, if this is not the first call to retrieve these partitions.
29556	NextToken *string `type:"string"`
29557
29558	// The segment of the table's partitions to scan in this request.
29559	Segment *Segment `type:"structure"`
29560
29561	// The name of the partitions' table.
29562	//
29563	// TableName is a required field
29564	TableName *string `min:"1" type:"string" required:"true"`
29565}
29566
29567// String returns the string representation
29568func (s GetPartitionsInput) String() string {
29569	return awsutil.Prettify(s)
29570}
29571
29572// GoString returns the string representation
29573func (s GetPartitionsInput) GoString() string {
29574	return s.String()
29575}
29576
29577// Validate inspects the fields of the type to determine if they are valid.
29578func (s *GetPartitionsInput) Validate() error {
29579	invalidParams := request.ErrInvalidParams{Context: "GetPartitionsInput"}
29580	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
29581		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
29582	}
29583	if s.DatabaseName == nil {
29584		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
29585	}
29586	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
29587		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
29588	}
29589	if s.MaxResults != nil && *s.MaxResults < 1 {
29590		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
29591	}
29592	if s.TableName == nil {
29593		invalidParams.Add(request.NewErrParamRequired("TableName"))
29594	}
29595	if s.TableName != nil && len(*s.TableName) < 1 {
29596		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
29597	}
29598	if s.Segment != nil {
29599		if err := s.Segment.Validate(); err != nil {
29600			invalidParams.AddNested("Segment", err.(request.ErrInvalidParams))
29601		}
29602	}
29603
29604	if invalidParams.Len() > 0 {
29605		return invalidParams
29606	}
29607	return nil
29608}
29609
29610// SetCatalogId sets the CatalogId field's value.
29611func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput {
29612	s.CatalogId = &v
29613	return s
29614}
29615
29616// SetDatabaseName sets the DatabaseName field's value.
29617func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput {
29618	s.DatabaseName = &v
29619	return s
29620}
29621
29622// SetExpression sets the Expression field's value.
29623func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput {
29624	s.Expression = &v
29625	return s
29626}
29627
29628// SetMaxResults sets the MaxResults field's value.
29629func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput {
29630	s.MaxResults = &v
29631	return s
29632}
29633
29634// SetNextToken sets the NextToken field's value.
29635func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput {
29636	s.NextToken = &v
29637	return s
29638}
29639
29640// SetSegment sets the Segment field's value.
29641func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput {
29642	s.Segment = v
29643	return s
29644}
29645
29646// SetTableName sets the TableName field's value.
29647func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput {
29648	s.TableName = &v
29649	return s
29650}
29651
29652type GetPartitionsOutput struct {
29653	_ struct{} `type:"structure"`
29654
29655	// A continuation token, if the returned list of partitions does not include
29656	// the last one.
29657	NextToken *string `type:"string"`
29658
29659	// A list of requested partitions.
29660	Partitions []*Partition `type:"list"`
29661}
29662
29663// String returns the string representation
29664func (s GetPartitionsOutput) String() string {
29665	return awsutil.Prettify(s)
29666}
29667
29668// GoString returns the string representation
29669func (s GetPartitionsOutput) GoString() string {
29670	return s.String()
29671}
29672
29673// SetNextToken sets the NextToken field's value.
29674func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput {
29675	s.NextToken = &v
29676	return s
29677}
29678
29679// SetPartitions sets the Partitions field's value.
29680func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput {
29681	s.Partitions = v
29682	return s
29683}
29684
29685type GetPlanInput struct {
29686	_ struct{} `type:"structure"`
29687
29688	// A map to hold additional optional key-value parameters.
29689	//
29690	// Currently, these key-value pairs are supported:
29691	//
29692	//    * inferSchema — Specifies whether to set inferSchema to true or false
29693	//    for the default script generated by an AWS Glue job. For example, to set
29694	//    inferSchema to true, pass the following key value pair: --additional-plan-options-map
29695	//    '{"inferSchema":"true"}'
29696	AdditionalPlanOptionsMap map[string]*string `type:"map"`
29697
29698	// The programming language of the code to perform the mapping.
29699	Language *string `type:"string" enum:"Language"`
29700
29701	// The parameters for the mapping.
29702	Location *Location `type:"structure"`
29703
29704	// The list of mappings from a source table to target tables.
29705	//
29706	// Mapping is a required field
29707	Mapping []*MappingEntry `type:"list" required:"true"`
29708
29709	// The target tables.
29710	Sinks []*CatalogEntry `type:"list"`
29711
29712	// The source table.
29713	//
29714	// Source is a required field
29715	Source *CatalogEntry `type:"structure" required:"true"`
29716}
29717
29718// String returns the string representation
29719func (s GetPlanInput) String() string {
29720	return awsutil.Prettify(s)
29721}
29722
29723// GoString returns the string representation
29724func (s GetPlanInput) GoString() string {
29725	return s.String()
29726}
29727
29728// Validate inspects the fields of the type to determine if they are valid.
29729func (s *GetPlanInput) Validate() error {
29730	invalidParams := request.ErrInvalidParams{Context: "GetPlanInput"}
29731	if s.Mapping == nil {
29732		invalidParams.Add(request.NewErrParamRequired("Mapping"))
29733	}
29734	if s.Source == nil {
29735		invalidParams.Add(request.NewErrParamRequired("Source"))
29736	}
29737	if s.Location != nil {
29738		if err := s.Location.Validate(); err != nil {
29739			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
29740		}
29741	}
29742	if s.Sinks != nil {
29743		for i, v := range s.Sinks {
29744			if v == nil {
29745				continue
29746			}
29747			if err := v.Validate(); err != nil {
29748				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
29749			}
29750		}
29751	}
29752	if s.Source != nil {
29753		if err := s.Source.Validate(); err != nil {
29754			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
29755		}
29756	}
29757
29758	if invalidParams.Len() > 0 {
29759		return invalidParams
29760	}
29761	return nil
29762}
29763
29764// SetAdditionalPlanOptionsMap sets the AdditionalPlanOptionsMap field's value.
29765func (s *GetPlanInput) SetAdditionalPlanOptionsMap(v map[string]*string) *GetPlanInput {
29766	s.AdditionalPlanOptionsMap = v
29767	return s
29768}
29769
29770// SetLanguage sets the Language field's value.
29771func (s *GetPlanInput) SetLanguage(v string) *GetPlanInput {
29772	s.Language = &v
29773	return s
29774}
29775
29776// SetLocation sets the Location field's value.
29777func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput {
29778	s.Location = v
29779	return s
29780}
29781
29782// SetMapping sets the Mapping field's value.
29783func (s *GetPlanInput) SetMapping(v []*MappingEntry) *GetPlanInput {
29784	s.Mapping = v
29785	return s
29786}
29787
29788// SetSinks sets the Sinks field's value.
29789func (s *GetPlanInput) SetSinks(v []*CatalogEntry) *GetPlanInput {
29790	s.Sinks = v
29791	return s
29792}
29793
29794// SetSource sets the Source field's value.
29795func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput {
29796	s.Source = v
29797	return s
29798}
29799
29800type GetPlanOutput struct {
29801	_ struct{} `type:"structure"`
29802
29803	// A Python script to perform the mapping.
29804	PythonScript *string `type:"string"`
29805
29806	// The Scala code to perform the mapping.
29807	ScalaCode *string `type:"string"`
29808}
29809
29810// String returns the string representation
29811func (s GetPlanOutput) String() string {
29812	return awsutil.Prettify(s)
29813}
29814
29815// GoString returns the string representation
29816func (s GetPlanOutput) GoString() string {
29817	return s.String()
29818}
29819
29820// SetPythonScript sets the PythonScript field's value.
29821func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput {
29822	s.PythonScript = &v
29823	return s
29824}
29825
29826// SetScalaCode sets the ScalaCode field's value.
29827func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput {
29828	s.ScalaCode = &v
29829	return s
29830}
29831
29832type GetRegistryInput struct {
29833	_ struct{} `type:"structure"`
29834
29835	// This is a wrapper structure that may contain the registry name and Amazon
29836	// Resource Name (ARN).
29837	//
29838	// RegistryId is a required field
29839	RegistryId *RegistryId `type:"structure" required:"true"`
29840}
29841
29842// String returns the string representation
29843func (s GetRegistryInput) String() string {
29844	return awsutil.Prettify(s)
29845}
29846
29847// GoString returns the string representation
29848func (s GetRegistryInput) GoString() string {
29849	return s.String()
29850}
29851
29852// Validate inspects the fields of the type to determine if they are valid.
29853func (s *GetRegistryInput) Validate() error {
29854	invalidParams := request.ErrInvalidParams{Context: "GetRegistryInput"}
29855	if s.RegistryId == nil {
29856		invalidParams.Add(request.NewErrParamRequired("RegistryId"))
29857	}
29858	if s.RegistryId != nil {
29859		if err := s.RegistryId.Validate(); err != nil {
29860			invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams))
29861		}
29862	}
29863
29864	if invalidParams.Len() > 0 {
29865		return invalidParams
29866	}
29867	return nil
29868}
29869
29870// SetRegistryId sets the RegistryId field's value.
29871func (s *GetRegistryInput) SetRegistryId(v *RegistryId) *GetRegistryInput {
29872	s.RegistryId = v
29873	return s
29874}
29875
29876type GetRegistryOutput struct {
29877	_ struct{} `type:"structure"`
29878
29879	// The date and time the registry was created.
29880	CreatedTime *string `type:"string"`
29881
29882	// A description of the registry.
29883	Description *string `type:"string"`
29884
29885	// The Amazon Resource Name (ARN) of the registry.
29886	RegistryArn *string `min:"1" type:"string"`
29887
29888	// The name of the registry.
29889	RegistryName *string `min:"1" type:"string"`
29890
29891	// The status of the registry.
29892	Status *string `type:"string" enum:"RegistryStatus"`
29893
29894	// The date and time the registry was updated.
29895	UpdatedTime *string `type:"string"`
29896}
29897
29898// String returns the string representation
29899func (s GetRegistryOutput) String() string {
29900	return awsutil.Prettify(s)
29901}
29902
29903// GoString returns the string representation
29904func (s GetRegistryOutput) GoString() string {
29905	return s.String()
29906}
29907
29908// SetCreatedTime sets the CreatedTime field's value.
29909func (s *GetRegistryOutput) SetCreatedTime(v string) *GetRegistryOutput {
29910	s.CreatedTime = &v
29911	return s
29912}
29913
29914// SetDescription sets the Description field's value.
29915func (s *GetRegistryOutput) SetDescription(v string) *GetRegistryOutput {
29916	s.Description = &v
29917	return s
29918}
29919
29920// SetRegistryArn sets the RegistryArn field's value.
29921func (s *GetRegistryOutput) SetRegistryArn(v string) *GetRegistryOutput {
29922	s.RegistryArn = &v
29923	return s
29924}
29925
29926// SetRegistryName sets the RegistryName field's value.
29927func (s *GetRegistryOutput) SetRegistryName(v string) *GetRegistryOutput {
29928	s.RegistryName = &v
29929	return s
29930}
29931
29932// SetStatus sets the Status field's value.
29933func (s *GetRegistryOutput) SetStatus(v string) *GetRegistryOutput {
29934	s.Status = &v
29935	return s
29936}
29937
29938// SetUpdatedTime sets the UpdatedTime field's value.
29939func (s *GetRegistryOutput) SetUpdatedTime(v string) *GetRegistryOutput {
29940	s.UpdatedTime = &v
29941	return s
29942}
29943
29944type GetResourcePoliciesInput struct {
29945	_ struct{} `type:"structure"`
29946
29947	// The maximum size of a list to return.
29948	MaxResults *int64 `min:"1" type:"integer"`
29949
29950	// A continuation token, if this is a continuation request.
29951	NextToken *string `type:"string"`
29952}
29953
29954// String returns the string representation
29955func (s GetResourcePoliciesInput) String() string {
29956	return awsutil.Prettify(s)
29957}
29958
29959// GoString returns the string representation
29960func (s GetResourcePoliciesInput) GoString() string {
29961	return s.String()
29962}
29963
29964// Validate inspects the fields of the type to determine if they are valid.
29965func (s *GetResourcePoliciesInput) Validate() error {
29966	invalidParams := request.ErrInvalidParams{Context: "GetResourcePoliciesInput"}
29967	if s.MaxResults != nil && *s.MaxResults < 1 {
29968		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
29969	}
29970
29971	if invalidParams.Len() > 0 {
29972		return invalidParams
29973	}
29974	return nil
29975}
29976
29977// SetMaxResults sets the MaxResults field's value.
29978func (s *GetResourcePoliciesInput) SetMaxResults(v int64) *GetResourcePoliciesInput {
29979	s.MaxResults = &v
29980	return s
29981}
29982
29983// SetNextToken sets the NextToken field's value.
29984func (s *GetResourcePoliciesInput) SetNextToken(v string) *GetResourcePoliciesInput {
29985	s.NextToken = &v
29986	return s
29987}
29988
29989type GetResourcePoliciesOutput struct {
29990	_ struct{} `type:"structure"`
29991
29992	// A list of the individual resource policies and the account-level resource
29993	// policy.
29994	GetResourcePoliciesResponseList []*GluePolicy `type:"list"`
29995
29996	// A continuation token, if the returned list does not contain the last resource
29997	// policy available.
29998	NextToken *string `type:"string"`
29999}
30000
30001// String returns the string representation
30002func (s GetResourcePoliciesOutput) String() string {
30003	return awsutil.Prettify(s)
30004}
30005
30006// GoString returns the string representation
30007func (s GetResourcePoliciesOutput) GoString() string {
30008	return s.String()
30009}
30010
30011// SetGetResourcePoliciesResponseList sets the GetResourcePoliciesResponseList field's value.
30012func (s *GetResourcePoliciesOutput) SetGetResourcePoliciesResponseList(v []*GluePolicy) *GetResourcePoliciesOutput {
30013	s.GetResourcePoliciesResponseList = v
30014	return s
30015}
30016
30017// SetNextToken sets the NextToken field's value.
30018func (s *GetResourcePoliciesOutput) SetNextToken(v string) *GetResourcePoliciesOutput {
30019	s.NextToken = &v
30020	return s
30021}
30022
30023type GetResourcePolicyInput struct {
30024	_ struct{} `type:"structure"`
30025
30026	// The ARN of the AWS Glue resource for the resource policy to be retrieved.
30027	// For more information about AWS Glue resource ARNs, see the AWS Glue ARN string
30028	// pattern (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id)
30029	ResourceArn *string `min:"1" type:"string"`
30030}
30031
30032// String returns the string representation
30033func (s GetResourcePolicyInput) String() string {
30034	return awsutil.Prettify(s)
30035}
30036
30037// GoString returns the string representation
30038func (s GetResourcePolicyInput) GoString() string {
30039	return s.String()
30040}
30041
30042// Validate inspects the fields of the type to determine if they are valid.
30043func (s *GetResourcePolicyInput) Validate() error {
30044	invalidParams := request.ErrInvalidParams{Context: "GetResourcePolicyInput"}
30045	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
30046		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
30047	}
30048
30049	if invalidParams.Len() > 0 {
30050		return invalidParams
30051	}
30052	return nil
30053}
30054
30055// SetResourceArn sets the ResourceArn field's value.
30056func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput {
30057	s.ResourceArn = &v
30058	return s
30059}
30060
30061type GetResourcePolicyOutput struct {
30062	_ struct{} `type:"structure"`
30063
30064	// The date and time at which the policy was created.
30065	CreateTime *time.Time `type:"timestamp"`
30066
30067	// Contains the hash value associated with this policy.
30068	PolicyHash *string `min:"1" type:"string"`
30069
30070	// Contains the requested policy document, in JSON format.
30071	PolicyInJson *string `min:"2" type:"string"`
30072
30073	// The date and time at which the policy was last updated.
30074	UpdateTime *time.Time `type:"timestamp"`
30075}
30076
30077// String returns the string representation
30078func (s GetResourcePolicyOutput) String() string {
30079	return awsutil.Prettify(s)
30080}
30081
30082// GoString returns the string representation
30083func (s GetResourcePolicyOutput) GoString() string {
30084	return s.String()
30085}
30086
30087// SetCreateTime sets the CreateTime field's value.
30088func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput {
30089	s.CreateTime = &v
30090	return s
30091}
30092
30093// SetPolicyHash sets the PolicyHash field's value.
30094func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput {
30095	s.PolicyHash = &v
30096	return s
30097}
30098
30099// SetPolicyInJson sets the PolicyInJson field's value.
30100func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput {
30101	s.PolicyInJson = &v
30102	return s
30103}
30104
30105// SetUpdateTime sets the UpdateTime field's value.
30106func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput {
30107	s.UpdateTime = &v
30108	return s
30109}
30110
30111type GetSchemaByDefinitionInput struct {
30112	_ struct{} `type:"structure"`
30113
30114	// The definition of the schema for which schema details are required.
30115	//
30116	// SchemaDefinition is a required field
30117	SchemaDefinition *string `min:"1" type:"string" required:"true"`
30118
30119	// This is a wrapper structure to contain schema identity fields. The structure
30120	// contains:
30121	//
30122	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One
30123	//    of SchemaArn or SchemaName has to be provided.
30124	//
30125	//    * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName
30126	//    has to be provided.
30127	//
30128	// SchemaId is a required field
30129	SchemaId *SchemaId `type:"structure" required:"true"`
30130}
30131
30132// String returns the string representation
30133func (s GetSchemaByDefinitionInput) String() string {
30134	return awsutil.Prettify(s)
30135}
30136
30137// GoString returns the string representation
30138func (s GetSchemaByDefinitionInput) GoString() string {
30139	return s.String()
30140}
30141
30142// Validate inspects the fields of the type to determine if they are valid.
30143func (s *GetSchemaByDefinitionInput) Validate() error {
30144	invalidParams := request.ErrInvalidParams{Context: "GetSchemaByDefinitionInput"}
30145	if s.SchemaDefinition == nil {
30146		invalidParams.Add(request.NewErrParamRequired("SchemaDefinition"))
30147	}
30148	if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 {
30149		invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1))
30150	}
30151	if s.SchemaId == nil {
30152		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
30153	}
30154	if s.SchemaId != nil {
30155		if err := s.SchemaId.Validate(); err != nil {
30156			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
30157		}
30158	}
30159
30160	if invalidParams.Len() > 0 {
30161		return invalidParams
30162	}
30163	return nil
30164}
30165
30166// SetSchemaDefinition sets the SchemaDefinition field's value.
30167func (s *GetSchemaByDefinitionInput) SetSchemaDefinition(v string) *GetSchemaByDefinitionInput {
30168	s.SchemaDefinition = &v
30169	return s
30170}
30171
30172// SetSchemaId sets the SchemaId field's value.
30173func (s *GetSchemaByDefinitionInput) SetSchemaId(v *SchemaId) *GetSchemaByDefinitionInput {
30174	s.SchemaId = v
30175	return s
30176}
30177
30178type GetSchemaByDefinitionOutput struct {
30179	_ struct{} `type:"structure"`
30180
30181	// The date and time the schema was created.
30182	CreatedTime *string `type:"string"`
30183
30184	// The data format of the schema definition. Currently only AVRO is supported.
30185	DataFormat *string `type:"string" enum:"DataFormat"`
30186
30187	// The Amazon Resource Name (ARN) of the schema.
30188	SchemaArn *string `min:"1" type:"string"`
30189
30190	// The schema ID of the schema version.
30191	SchemaVersionId *string `min:"36" type:"string"`
30192
30193	// The status of the schema version.
30194	Status *string `type:"string" enum:"SchemaVersionStatus"`
30195}
30196
30197// String returns the string representation
30198func (s GetSchemaByDefinitionOutput) String() string {
30199	return awsutil.Prettify(s)
30200}
30201
30202// GoString returns the string representation
30203func (s GetSchemaByDefinitionOutput) GoString() string {
30204	return s.String()
30205}
30206
30207// SetCreatedTime sets the CreatedTime field's value.
30208func (s *GetSchemaByDefinitionOutput) SetCreatedTime(v string) *GetSchemaByDefinitionOutput {
30209	s.CreatedTime = &v
30210	return s
30211}
30212
30213// SetDataFormat sets the DataFormat field's value.
30214func (s *GetSchemaByDefinitionOutput) SetDataFormat(v string) *GetSchemaByDefinitionOutput {
30215	s.DataFormat = &v
30216	return s
30217}
30218
30219// SetSchemaArn sets the SchemaArn field's value.
30220func (s *GetSchemaByDefinitionOutput) SetSchemaArn(v string) *GetSchemaByDefinitionOutput {
30221	s.SchemaArn = &v
30222	return s
30223}
30224
30225// SetSchemaVersionId sets the SchemaVersionId field's value.
30226func (s *GetSchemaByDefinitionOutput) SetSchemaVersionId(v string) *GetSchemaByDefinitionOutput {
30227	s.SchemaVersionId = &v
30228	return s
30229}
30230
30231// SetStatus sets the Status field's value.
30232func (s *GetSchemaByDefinitionOutput) SetStatus(v string) *GetSchemaByDefinitionOutput {
30233	s.Status = &v
30234	return s
30235}
30236
30237type GetSchemaInput struct {
30238	_ struct{} `type:"structure"`
30239
30240	// This is a wrapper structure to contain schema identity fields. The structure
30241	// contains:
30242	//
30243	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
30244	//    SchemaArn or SchemaName and RegistryName has to be provided.
30245	//
30246	//    * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName
30247	//    and RegistryName has to be provided.
30248	//
30249	// SchemaId is a required field
30250	SchemaId *SchemaId `type:"structure" required:"true"`
30251}
30252
30253// String returns the string representation
30254func (s GetSchemaInput) String() string {
30255	return awsutil.Prettify(s)
30256}
30257
30258// GoString returns the string representation
30259func (s GetSchemaInput) GoString() string {
30260	return s.String()
30261}
30262
30263// Validate inspects the fields of the type to determine if they are valid.
30264func (s *GetSchemaInput) Validate() error {
30265	invalidParams := request.ErrInvalidParams{Context: "GetSchemaInput"}
30266	if s.SchemaId == nil {
30267		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
30268	}
30269	if s.SchemaId != nil {
30270		if err := s.SchemaId.Validate(); err != nil {
30271			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
30272		}
30273	}
30274
30275	if invalidParams.Len() > 0 {
30276		return invalidParams
30277	}
30278	return nil
30279}
30280
30281// SetSchemaId sets the SchemaId field's value.
30282func (s *GetSchemaInput) SetSchemaId(v *SchemaId) *GetSchemaInput {
30283	s.SchemaId = v
30284	return s
30285}
30286
30287type GetSchemaOutput struct {
30288	_ struct{} `type:"structure"`
30289
30290	// The compatibility mode of the schema.
30291	Compatibility *string `type:"string" enum:"Compatibility"`
30292
30293	// The date and time the schema was created.
30294	CreatedTime *string `type:"string"`
30295
30296	// The data format of the schema definition. Currently only AVRO is supported.
30297	DataFormat *string `type:"string" enum:"DataFormat"`
30298
30299	// A description of schema if specified when created
30300	Description *string `type:"string"`
30301
30302	// The latest version of the schema associated with the returned schema definition.
30303	LatestSchemaVersion *int64 `min:"1" type:"long"`
30304
30305	// The next version of the schema associated with the returned schema definition.
30306	NextSchemaVersion *int64 `min:"1" type:"long"`
30307
30308	// The Amazon Resource Name (ARN) of the registry.
30309	RegistryArn *string `min:"1" type:"string"`
30310
30311	// The name of the registry.
30312	RegistryName *string `min:"1" type:"string"`
30313
30314	// The Amazon Resource Name (ARN) of the schema.
30315	SchemaArn *string `min:"1" type:"string"`
30316
30317	// The version number of the checkpoint (the last time the compatibility mode
30318	// was changed).
30319	SchemaCheckpoint *int64 `min:"1" type:"long"`
30320
30321	// The name of the schema.
30322	SchemaName *string `min:"1" type:"string"`
30323
30324	// The status of the schema.
30325	SchemaStatus *string `type:"string" enum:"SchemaStatus"`
30326
30327	// The date and time the schema was updated.
30328	UpdatedTime *string `type:"string"`
30329}
30330
30331// String returns the string representation
30332func (s GetSchemaOutput) String() string {
30333	return awsutil.Prettify(s)
30334}
30335
30336// GoString returns the string representation
30337func (s GetSchemaOutput) GoString() string {
30338	return s.String()
30339}
30340
30341// SetCompatibility sets the Compatibility field's value.
30342func (s *GetSchemaOutput) SetCompatibility(v string) *GetSchemaOutput {
30343	s.Compatibility = &v
30344	return s
30345}
30346
30347// SetCreatedTime sets the CreatedTime field's value.
30348func (s *GetSchemaOutput) SetCreatedTime(v string) *GetSchemaOutput {
30349	s.CreatedTime = &v
30350	return s
30351}
30352
30353// SetDataFormat sets the DataFormat field's value.
30354func (s *GetSchemaOutput) SetDataFormat(v string) *GetSchemaOutput {
30355	s.DataFormat = &v
30356	return s
30357}
30358
30359// SetDescription sets the Description field's value.
30360func (s *GetSchemaOutput) SetDescription(v string) *GetSchemaOutput {
30361	s.Description = &v
30362	return s
30363}
30364
30365// SetLatestSchemaVersion sets the LatestSchemaVersion field's value.
30366func (s *GetSchemaOutput) SetLatestSchemaVersion(v int64) *GetSchemaOutput {
30367	s.LatestSchemaVersion = &v
30368	return s
30369}
30370
30371// SetNextSchemaVersion sets the NextSchemaVersion field's value.
30372func (s *GetSchemaOutput) SetNextSchemaVersion(v int64) *GetSchemaOutput {
30373	s.NextSchemaVersion = &v
30374	return s
30375}
30376
30377// SetRegistryArn sets the RegistryArn field's value.
30378func (s *GetSchemaOutput) SetRegistryArn(v string) *GetSchemaOutput {
30379	s.RegistryArn = &v
30380	return s
30381}
30382
30383// SetRegistryName sets the RegistryName field's value.
30384func (s *GetSchemaOutput) SetRegistryName(v string) *GetSchemaOutput {
30385	s.RegistryName = &v
30386	return s
30387}
30388
30389// SetSchemaArn sets the SchemaArn field's value.
30390func (s *GetSchemaOutput) SetSchemaArn(v string) *GetSchemaOutput {
30391	s.SchemaArn = &v
30392	return s
30393}
30394
30395// SetSchemaCheckpoint sets the SchemaCheckpoint field's value.
30396func (s *GetSchemaOutput) SetSchemaCheckpoint(v int64) *GetSchemaOutput {
30397	s.SchemaCheckpoint = &v
30398	return s
30399}
30400
30401// SetSchemaName sets the SchemaName field's value.
30402func (s *GetSchemaOutput) SetSchemaName(v string) *GetSchemaOutput {
30403	s.SchemaName = &v
30404	return s
30405}
30406
30407// SetSchemaStatus sets the SchemaStatus field's value.
30408func (s *GetSchemaOutput) SetSchemaStatus(v string) *GetSchemaOutput {
30409	s.SchemaStatus = &v
30410	return s
30411}
30412
30413// SetUpdatedTime sets the UpdatedTime field's value.
30414func (s *GetSchemaOutput) SetUpdatedTime(v string) *GetSchemaOutput {
30415	s.UpdatedTime = &v
30416	return s
30417}
30418
30419type GetSchemaVersionInput struct {
30420	_ struct{} `type:"structure"`
30421
30422	// This is a wrapper structure to contain schema identity fields. The structure
30423	// contains:
30424	//
30425	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
30426	//    SchemaArn or SchemaName and RegistryName has to be provided.
30427	//
30428	//    * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName
30429	//    and RegistryName has to be provided.
30430	SchemaId *SchemaId `type:"structure"`
30431
30432	// The SchemaVersionId of the schema version. This field is required for fetching
30433	// by schema ID. Either this or the SchemaId wrapper has to be provided.
30434	SchemaVersionId *string `min:"36" type:"string"`
30435
30436	// The version number of the schema.
30437	SchemaVersionNumber *SchemaVersionNumber `type:"structure"`
30438}
30439
30440// String returns the string representation
30441func (s GetSchemaVersionInput) String() string {
30442	return awsutil.Prettify(s)
30443}
30444
30445// GoString returns the string representation
30446func (s GetSchemaVersionInput) GoString() string {
30447	return s.String()
30448}
30449
30450// Validate inspects the fields of the type to determine if they are valid.
30451func (s *GetSchemaVersionInput) Validate() error {
30452	invalidParams := request.ErrInvalidParams{Context: "GetSchemaVersionInput"}
30453	if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 {
30454		invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36))
30455	}
30456	if s.SchemaId != nil {
30457		if err := s.SchemaId.Validate(); err != nil {
30458			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
30459		}
30460	}
30461	if s.SchemaVersionNumber != nil {
30462		if err := s.SchemaVersionNumber.Validate(); err != nil {
30463			invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams))
30464		}
30465	}
30466
30467	if invalidParams.Len() > 0 {
30468		return invalidParams
30469	}
30470	return nil
30471}
30472
30473// SetSchemaId sets the SchemaId field's value.
30474func (s *GetSchemaVersionInput) SetSchemaId(v *SchemaId) *GetSchemaVersionInput {
30475	s.SchemaId = v
30476	return s
30477}
30478
30479// SetSchemaVersionId sets the SchemaVersionId field's value.
30480func (s *GetSchemaVersionInput) SetSchemaVersionId(v string) *GetSchemaVersionInput {
30481	s.SchemaVersionId = &v
30482	return s
30483}
30484
30485// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
30486func (s *GetSchemaVersionInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionInput {
30487	s.SchemaVersionNumber = v
30488	return s
30489}
30490
30491type GetSchemaVersionOutput struct {
30492	_ struct{} `type:"structure"`
30493
30494	// The date and time the schema version was created.
30495	CreatedTime *string `type:"string"`
30496
30497	// The data format of the schema definition. Currently only AVRO is supported.
30498	DataFormat *string `type:"string" enum:"DataFormat"`
30499
30500	// The Amazon Resource Name (ARN) of the schema.
30501	SchemaArn *string `min:"1" type:"string"`
30502
30503	// The schema definition for the schema ID.
30504	SchemaDefinition *string `min:"1" type:"string"`
30505
30506	// The SchemaVersionId of the schema version.
30507	SchemaVersionId *string `min:"36" type:"string"`
30508
30509	// The status of the schema version.
30510	Status *string `type:"string" enum:"SchemaVersionStatus"`
30511
30512	// The version number of the schema.
30513	VersionNumber *int64 `min:"1" type:"long"`
30514}
30515
30516// String returns the string representation
30517func (s GetSchemaVersionOutput) String() string {
30518	return awsutil.Prettify(s)
30519}
30520
30521// GoString returns the string representation
30522func (s GetSchemaVersionOutput) GoString() string {
30523	return s.String()
30524}
30525
30526// SetCreatedTime sets the CreatedTime field's value.
30527func (s *GetSchemaVersionOutput) SetCreatedTime(v string) *GetSchemaVersionOutput {
30528	s.CreatedTime = &v
30529	return s
30530}
30531
30532// SetDataFormat sets the DataFormat field's value.
30533func (s *GetSchemaVersionOutput) SetDataFormat(v string) *GetSchemaVersionOutput {
30534	s.DataFormat = &v
30535	return s
30536}
30537
30538// SetSchemaArn sets the SchemaArn field's value.
30539func (s *GetSchemaVersionOutput) SetSchemaArn(v string) *GetSchemaVersionOutput {
30540	s.SchemaArn = &v
30541	return s
30542}
30543
30544// SetSchemaDefinition sets the SchemaDefinition field's value.
30545func (s *GetSchemaVersionOutput) SetSchemaDefinition(v string) *GetSchemaVersionOutput {
30546	s.SchemaDefinition = &v
30547	return s
30548}
30549
30550// SetSchemaVersionId sets the SchemaVersionId field's value.
30551func (s *GetSchemaVersionOutput) SetSchemaVersionId(v string) *GetSchemaVersionOutput {
30552	s.SchemaVersionId = &v
30553	return s
30554}
30555
30556// SetStatus sets the Status field's value.
30557func (s *GetSchemaVersionOutput) SetStatus(v string) *GetSchemaVersionOutput {
30558	s.Status = &v
30559	return s
30560}
30561
30562// SetVersionNumber sets the VersionNumber field's value.
30563func (s *GetSchemaVersionOutput) SetVersionNumber(v int64) *GetSchemaVersionOutput {
30564	s.VersionNumber = &v
30565	return s
30566}
30567
30568type GetSchemaVersionsDiffInput struct {
30569	_ struct{} `type:"structure"`
30570
30571	// The first of the two schema versions to be compared.
30572	//
30573	// FirstSchemaVersionNumber is a required field
30574	FirstSchemaVersionNumber *SchemaVersionNumber `type:"structure" required:"true"`
30575
30576	// Refers to SYNTAX_DIFF, which is the currently supported diff type.
30577	//
30578	// SchemaDiffType is a required field
30579	SchemaDiffType *string `type:"string" required:"true" enum:"SchemaDiffType"`
30580
30581	// This is a wrapper structure to contain schema identity fields. The structure
30582	// contains:
30583	//
30584	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One
30585	//    of SchemaArn or SchemaName has to be provided.
30586	//
30587	//    * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName
30588	//    has to be provided.
30589	//
30590	// SchemaId is a required field
30591	SchemaId *SchemaId `type:"structure" required:"true"`
30592
30593	// The second of the two schema versions to be compared.
30594	//
30595	// SecondSchemaVersionNumber is a required field
30596	SecondSchemaVersionNumber *SchemaVersionNumber `type:"structure" required:"true"`
30597}
30598
30599// String returns the string representation
30600func (s GetSchemaVersionsDiffInput) String() string {
30601	return awsutil.Prettify(s)
30602}
30603
30604// GoString returns the string representation
30605func (s GetSchemaVersionsDiffInput) GoString() string {
30606	return s.String()
30607}
30608
30609// Validate inspects the fields of the type to determine if they are valid.
30610func (s *GetSchemaVersionsDiffInput) Validate() error {
30611	invalidParams := request.ErrInvalidParams{Context: "GetSchemaVersionsDiffInput"}
30612	if s.FirstSchemaVersionNumber == nil {
30613		invalidParams.Add(request.NewErrParamRequired("FirstSchemaVersionNumber"))
30614	}
30615	if s.SchemaDiffType == nil {
30616		invalidParams.Add(request.NewErrParamRequired("SchemaDiffType"))
30617	}
30618	if s.SchemaId == nil {
30619		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
30620	}
30621	if s.SecondSchemaVersionNumber == nil {
30622		invalidParams.Add(request.NewErrParamRequired("SecondSchemaVersionNumber"))
30623	}
30624	if s.FirstSchemaVersionNumber != nil {
30625		if err := s.FirstSchemaVersionNumber.Validate(); err != nil {
30626			invalidParams.AddNested("FirstSchemaVersionNumber", err.(request.ErrInvalidParams))
30627		}
30628	}
30629	if s.SchemaId != nil {
30630		if err := s.SchemaId.Validate(); err != nil {
30631			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
30632		}
30633	}
30634	if s.SecondSchemaVersionNumber != nil {
30635		if err := s.SecondSchemaVersionNumber.Validate(); err != nil {
30636			invalidParams.AddNested("SecondSchemaVersionNumber", err.(request.ErrInvalidParams))
30637		}
30638	}
30639
30640	if invalidParams.Len() > 0 {
30641		return invalidParams
30642	}
30643	return nil
30644}
30645
30646// SetFirstSchemaVersionNumber sets the FirstSchemaVersionNumber field's value.
30647func (s *GetSchemaVersionsDiffInput) SetFirstSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionsDiffInput {
30648	s.FirstSchemaVersionNumber = v
30649	return s
30650}
30651
30652// SetSchemaDiffType sets the SchemaDiffType field's value.
30653func (s *GetSchemaVersionsDiffInput) SetSchemaDiffType(v string) *GetSchemaVersionsDiffInput {
30654	s.SchemaDiffType = &v
30655	return s
30656}
30657
30658// SetSchemaId sets the SchemaId field's value.
30659func (s *GetSchemaVersionsDiffInput) SetSchemaId(v *SchemaId) *GetSchemaVersionsDiffInput {
30660	s.SchemaId = v
30661	return s
30662}
30663
30664// SetSecondSchemaVersionNumber sets the SecondSchemaVersionNumber field's value.
30665func (s *GetSchemaVersionsDiffInput) SetSecondSchemaVersionNumber(v *SchemaVersionNumber) *GetSchemaVersionsDiffInput {
30666	s.SecondSchemaVersionNumber = v
30667	return s
30668}
30669
30670type GetSchemaVersionsDiffOutput struct {
30671	_ struct{} `type:"structure"`
30672
30673	// The difference between schemas as a string in JsonPatch format.
30674	Diff *string `min:"1" type:"string"`
30675}
30676
30677// String returns the string representation
30678func (s GetSchemaVersionsDiffOutput) String() string {
30679	return awsutil.Prettify(s)
30680}
30681
30682// GoString returns the string representation
30683func (s GetSchemaVersionsDiffOutput) GoString() string {
30684	return s.String()
30685}
30686
30687// SetDiff sets the Diff field's value.
30688func (s *GetSchemaVersionsDiffOutput) SetDiff(v string) *GetSchemaVersionsDiffOutput {
30689	s.Diff = &v
30690	return s
30691}
30692
30693type GetSecurityConfigurationInput struct {
30694	_ struct{} `type:"structure"`
30695
30696	// The name of the security configuration to retrieve.
30697	//
30698	// Name is a required field
30699	Name *string `min:"1" type:"string" required:"true"`
30700}
30701
30702// String returns the string representation
30703func (s GetSecurityConfigurationInput) String() string {
30704	return awsutil.Prettify(s)
30705}
30706
30707// GoString returns the string representation
30708func (s GetSecurityConfigurationInput) GoString() string {
30709	return s.String()
30710}
30711
30712// Validate inspects the fields of the type to determine if they are valid.
30713func (s *GetSecurityConfigurationInput) Validate() error {
30714	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationInput"}
30715	if s.Name == nil {
30716		invalidParams.Add(request.NewErrParamRequired("Name"))
30717	}
30718	if s.Name != nil && len(*s.Name) < 1 {
30719		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30720	}
30721
30722	if invalidParams.Len() > 0 {
30723		return invalidParams
30724	}
30725	return nil
30726}
30727
30728// SetName sets the Name field's value.
30729func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurationInput {
30730	s.Name = &v
30731	return s
30732}
30733
30734type GetSecurityConfigurationOutput struct {
30735	_ struct{} `type:"structure"`
30736
30737	// The requested security configuration.
30738	SecurityConfiguration *SecurityConfiguration `type:"structure"`
30739}
30740
30741// String returns the string representation
30742func (s GetSecurityConfigurationOutput) String() string {
30743	return awsutil.Prettify(s)
30744}
30745
30746// GoString returns the string representation
30747func (s GetSecurityConfigurationOutput) GoString() string {
30748	return s.String()
30749}
30750
30751// SetSecurityConfiguration sets the SecurityConfiguration field's value.
30752func (s *GetSecurityConfigurationOutput) SetSecurityConfiguration(v *SecurityConfiguration) *GetSecurityConfigurationOutput {
30753	s.SecurityConfiguration = v
30754	return s
30755}
30756
30757type GetSecurityConfigurationsInput struct {
30758	_ struct{} `type:"structure"`
30759
30760	// The maximum number of results to return.
30761	MaxResults *int64 `min:"1" type:"integer"`
30762
30763	// A continuation token, if this is a continuation call.
30764	NextToken *string `type:"string"`
30765}
30766
30767// String returns the string representation
30768func (s GetSecurityConfigurationsInput) String() string {
30769	return awsutil.Prettify(s)
30770}
30771
30772// GoString returns the string representation
30773func (s GetSecurityConfigurationsInput) GoString() string {
30774	return s.String()
30775}
30776
30777// Validate inspects the fields of the type to determine if they are valid.
30778func (s *GetSecurityConfigurationsInput) Validate() error {
30779	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationsInput"}
30780	if s.MaxResults != nil && *s.MaxResults < 1 {
30781		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
30782	}
30783
30784	if invalidParams.Len() > 0 {
30785		return invalidParams
30786	}
30787	return nil
30788}
30789
30790// SetMaxResults sets the MaxResults field's value.
30791func (s *GetSecurityConfigurationsInput) SetMaxResults(v int64) *GetSecurityConfigurationsInput {
30792	s.MaxResults = &v
30793	return s
30794}
30795
30796// SetNextToken sets the NextToken field's value.
30797func (s *GetSecurityConfigurationsInput) SetNextToken(v string) *GetSecurityConfigurationsInput {
30798	s.NextToken = &v
30799	return s
30800}
30801
30802type GetSecurityConfigurationsOutput struct {
30803	_ struct{} `type:"structure"`
30804
30805	// A continuation token, if there are more security configurations to return.
30806	NextToken *string `type:"string"`
30807
30808	// A list of security configurations.
30809	SecurityConfigurations []*SecurityConfiguration `type:"list"`
30810}
30811
30812// String returns the string representation
30813func (s GetSecurityConfigurationsOutput) String() string {
30814	return awsutil.Prettify(s)
30815}
30816
30817// GoString returns the string representation
30818func (s GetSecurityConfigurationsOutput) GoString() string {
30819	return s.String()
30820}
30821
30822// SetNextToken sets the NextToken field's value.
30823func (s *GetSecurityConfigurationsOutput) SetNextToken(v string) *GetSecurityConfigurationsOutput {
30824	s.NextToken = &v
30825	return s
30826}
30827
30828// SetSecurityConfigurations sets the SecurityConfigurations field's value.
30829func (s *GetSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfiguration) *GetSecurityConfigurationsOutput {
30830	s.SecurityConfigurations = v
30831	return s
30832}
30833
30834type GetTableInput struct {
30835	_ struct{} `type:"structure"`
30836
30837	// The ID of the Data Catalog where the table resides. If none is provided,
30838	// the AWS account ID is used by default.
30839	CatalogId *string `min:"1" type:"string"`
30840
30841	// The name of the database in the catalog in which the table resides. For Hive
30842	// compatibility, this name is entirely lowercase.
30843	//
30844	// DatabaseName is a required field
30845	DatabaseName *string `min:"1" type:"string" required:"true"`
30846
30847	// The name of the table for which to retrieve the definition. For Hive compatibility,
30848	// this name is entirely lowercase.
30849	//
30850	// Name is a required field
30851	Name *string `min:"1" type:"string" required:"true"`
30852}
30853
30854// String returns the string representation
30855func (s GetTableInput) String() string {
30856	return awsutil.Prettify(s)
30857}
30858
30859// GoString returns the string representation
30860func (s GetTableInput) GoString() string {
30861	return s.String()
30862}
30863
30864// Validate inspects the fields of the type to determine if they are valid.
30865func (s *GetTableInput) Validate() error {
30866	invalidParams := request.ErrInvalidParams{Context: "GetTableInput"}
30867	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30868		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30869	}
30870	if s.DatabaseName == nil {
30871		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
30872	}
30873	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
30874		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
30875	}
30876	if s.Name == nil {
30877		invalidParams.Add(request.NewErrParamRequired("Name"))
30878	}
30879	if s.Name != nil && len(*s.Name) < 1 {
30880		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30881	}
30882
30883	if invalidParams.Len() > 0 {
30884		return invalidParams
30885	}
30886	return nil
30887}
30888
30889// SetCatalogId sets the CatalogId field's value.
30890func (s *GetTableInput) SetCatalogId(v string) *GetTableInput {
30891	s.CatalogId = &v
30892	return s
30893}
30894
30895// SetDatabaseName sets the DatabaseName field's value.
30896func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput {
30897	s.DatabaseName = &v
30898	return s
30899}
30900
30901// SetName sets the Name field's value.
30902func (s *GetTableInput) SetName(v string) *GetTableInput {
30903	s.Name = &v
30904	return s
30905}
30906
30907type GetTableOutput struct {
30908	_ struct{} `type:"structure"`
30909
30910	// The Table object that defines the specified table.
30911	Table *TableData `type:"structure"`
30912}
30913
30914// String returns the string representation
30915func (s GetTableOutput) String() string {
30916	return awsutil.Prettify(s)
30917}
30918
30919// GoString returns the string representation
30920func (s GetTableOutput) GoString() string {
30921	return s.String()
30922}
30923
30924// SetTable sets the Table field's value.
30925func (s *GetTableOutput) SetTable(v *TableData) *GetTableOutput {
30926	s.Table = v
30927	return s
30928}
30929
30930type GetTableVersionInput struct {
30931	_ struct{} `type:"structure"`
30932
30933	// The ID of the Data Catalog where the tables reside. If none is provided,
30934	// the AWS account ID is used by default.
30935	CatalogId *string `min:"1" type:"string"`
30936
30937	// The database in the catalog in which the table resides. For Hive compatibility,
30938	// this name is entirely lowercase.
30939	//
30940	// DatabaseName is a required field
30941	DatabaseName *string `min:"1" type:"string" required:"true"`
30942
30943	// The name of the table. For Hive compatibility, this name is entirely lowercase.
30944	//
30945	// TableName is a required field
30946	TableName *string `min:"1" type:"string" required:"true"`
30947
30948	// The ID value of the table version to be retrieved. A VersionID is a string
30949	// representation of an integer. Each version is incremented by 1.
30950	VersionId *string `min:"1" type:"string"`
30951}
30952
30953// String returns the string representation
30954func (s GetTableVersionInput) String() string {
30955	return awsutil.Prettify(s)
30956}
30957
30958// GoString returns the string representation
30959func (s GetTableVersionInput) GoString() string {
30960	return s.String()
30961}
30962
30963// Validate inspects the fields of the type to determine if they are valid.
30964func (s *GetTableVersionInput) Validate() error {
30965	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionInput"}
30966	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30967		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30968	}
30969	if s.DatabaseName == nil {
30970		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
30971	}
30972	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
30973		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
30974	}
30975	if s.TableName == nil {
30976		invalidParams.Add(request.NewErrParamRequired("TableName"))
30977	}
30978	if s.TableName != nil && len(*s.TableName) < 1 {
30979		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
30980	}
30981	if s.VersionId != nil && len(*s.VersionId) < 1 {
30982		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
30983	}
30984
30985	if invalidParams.Len() > 0 {
30986		return invalidParams
30987	}
30988	return nil
30989}
30990
30991// SetCatalogId sets the CatalogId field's value.
30992func (s *GetTableVersionInput) SetCatalogId(v string) *GetTableVersionInput {
30993	s.CatalogId = &v
30994	return s
30995}
30996
30997// SetDatabaseName sets the DatabaseName field's value.
30998func (s *GetTableVersionInput) SetDatabaseName(v string) *GetTableVersionInput {
30999	s.DatabaseName = &v
31000	return s
31001}
31002
31003// SetTableName sets the TableName field's value.
31004func (s *GetTableVersionInput) SetTableName(v string) *GetTableVersionInput {
31005	s.TableName = &v
31006	return s
31007}
31008
31009// SetVersionId sets the VersionId field's value.
31010func (s *GetTableVersionInput) SetVersionId(v string) *GetTableVersionInput {
31011	s.VersionId = &v
31012	return s
31013}
31014
31015type GetTableVersionOutput struct {
31016	_ struct{} `type:"structure"`
31017
31018	// The requested table version.
31019	TableVersion *TableVersion `type:"structure"`
31020}
31021
31022// String returns the string representation
31023func (s GetTableVersionOutput) String() string {
31024	return awsutil.Prettify(s)
31025}
31026
31027// GoString returns the string representation
31028func (s GetTableVersionOutput) GoString() string {
31029	return s.String()
31030}
31031
31032// SetTableVersion sets the TableVersion field's value.
31033func (s *GetTableVersionOutput) SetTableVersion(v *TableVersion) *GetTableVersionOutput {
31034	s.TableVersion = v
31035	return s
31036}
31037
31038type GetTableVersionsInput struct {
31039	_ struct{} `type:"structure"`
31040
31041	// The ID of the Data Catalog where the tables reside. If none is provided,
31042	// the AWS account ID is used by default.
31043	CatalogId *string `min:"1" type:"string"`
31044
31045	// The database in the catalog in which the table resides. For Hive compatibility,
31046	// this name is entirely lowercase.
31047	//
31048	// DatabaseName is a required field
31049	DatabaseName *string `min:"1" type:"string" required:"true"`
31050
31051	// The maximum number of table versions to return in one response.
31052	MaxResults *int64 `min:"1" type:"integer"`
31053
31054	// A continuation token, if this is not the first call.
31055	NextToken *string `type:"string"`
31056
31057	// The name of the table. For Hive compatibility, this name is entirely lowercase.
31058	//
31059	// TableName is a required field
31060	TableName *string `min:"1" type:"string" required:"true"`
31061}
31062
31063// String returns the string representation
31064func (s GetTableVersionsInput) String() string {
31065	return awsutil.Prettify(s)
31066}
31067
31068// GoString returns the string representation
31069func (s GetTableVersionsInput) GoString() string {
31070	return s.String()
31071}
31072
31073// Validate inspects the fields of the type to determine if they are valid.
31074func (s *GetTableVersionsInput) Validate() error {
31075	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionsInput"}
31076	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31077		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31078	}
31079	if s.DatabaseName == nil {
31080		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31081	}
31082	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31083		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31084	}
31085	if s.MaxResults != nil && *s.MaxResults < 1 {
31086		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31087	}
31088	if s.TableName == nil {
31089		invalidParams.Add(request.NewErrParamRequired("TableName"))
31090	}
31091	if s.TableName != nil && len(*s.TableName) < 1 {
31092		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
31093	}
31094
31095	if invalidParams.Len() > 0 {
31096		return invalidParams
31097	}
31098	return nil
31099}
31100
31101// SetCatalogId sets the CatalogId field's value.
31102func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput {
31103	s.CatalogId = &v
31104	return s
31105}
31106
31107// SetDatabaseName sets the DatabaseName field's value.
31108func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput {
31109	s.DatabaseName = &v
31110	return s
31111}
31112
31113// SetMaxResults sets the MaxResults field's value.
31114func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput {
31115	s.MaxResults = &v
31116	return s
31117}
31118
31119// SetNextToken sets the NextToken field's value.
31120func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput {
31121	s.NextToken = &v
31122	return s
31123}
31124
31125// SetTableName sets the TableName field's value.
31126func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput {
31127	s.TableName = &v
31128	return s
31129}
31130
31131type GetTableVersionsOutput struct {
31132	_ struct{} `type:"structure"`
31133
31134	// A continuation token, if the list of available versions does not include
31135	// the last one.
31136	NextToken *string `type:"string"`
31137
31138	// A list of strings identifying available versions of the specified table.
31139	TableVersions []*TableVersion `type:"list"`
31140}
31141
31142// String returns the string representation
31143func (s GetTableVersionsOutput) String() string {
31144	return awsutil.Prettify(s)
31145}
31146
31147// GoString returns the string representation
31148func (s GetTableVersionsOutput) GoString() string {
31149	return s.String()
31150}
31151
31152// SetNextToken sets the NextToken field's value.
31153func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput {
31154	s.NextToken = &v
31155	return s
31156}
31157
31158// SetTableVersions sets the TableVersions field's value.
31159func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVersionsOutput {
31160	s.TableVersions = v
31161	return s
31162}
31163
31164type GetTablesInput struct {
31165	_ struct{} `type:"structure"`
31166
31167	// The ID of the Data Catalog where the tables reside. If none is provided,
31168	// the AWS account ID is used by default.
31169	CatalogId *string `min:"1" type:"string"`
31170
31171	// The database in the catalog whose tables to list. For Hive compatibility,
31172	// this name is entirely lowercase.
31173	//
31174	// DatabaseName is a required field
31175	DatabaseName *string `min:"1" type:"string" required:"true"`
31176
31177	// A regular expression pattern. If present, only those tables whose names match
31178	// the pattern are returned.
31179	Expression *string `type:"string"`
31180
31181	// The maximum number of tables to return in a single response.
31182	MaxResults *int64 `min:"1" type:"integer"`
31183
31184	// A continuation token, included if this is a continuation call.
31185	NextToken *string `type:"string"`
31186}
31187
31188// String returns the string representation
31189func (s GetTablesInput) String() string {
31190	return awsutil.Prettify(s)
31191}
31192
31193// GoString returns the string representation
31194func (s GetTablesInput) GoString() string {
31195	return s.String()
31196}
31197
31198// Validate inspects the fields of the type to determine if they are valid.
31199func (s *GetTablesInput) Validate() error {
31200	invalidParams := request.ErrInvalidParams{Context: "GetTablesInput"}
31201	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31202		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31203	}
31204	if s.DatabaseName == nil {
31205		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31206	}
31207	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31208		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31209	}
31210	if s.MaxResults != nil && *s.MaxResults < 1 {
31211		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31212	}
31213
31214	if invalidParams.Len() > 0 {
31215		return invalidParams
31216	}
31217	return nil
31218}
31219
31220// SetCatalogId sets the CatalogId field's value.
31221func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput {
31222	s.CatalogId = &v
31223	return s
31224}
31225
31226// SetDatabaseName sets the DatabaseName field's value.
31227func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput {
31228	s.DatabaseName = &v
31229	return s
31230}
31231
31232// SetExpression sets the Expression field's value.
31233func (s *GetTablesInput) SetExpression(v string) *GetTablesInput {
31234	s.Expression = &v
31235	return s
31236}
31237
31238// SetMaxResults sets the MaxResults field's value.
31239func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput {
31240	s.MaxResults = &v
31241	return s
31242}
31243
31244// SetNextToken sets the NextToken field's value.
31245func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput {
31246	s.NextToken = &v
31247	return s
31248}
31249
31250type GetTablesOutput struct {
31251	_ struct{} `type:"structure"`
31252
31253	// A continuation token, present if the current list segment is not the last.
31254	NextToken *string `type:"string"`
31255
31256	// A list of the requested Table objects.
31257	TableList []*TableData `type:"list"`
31258}
31259
31260// String returns the string representation
31261func (s GetTablesOutput) String() string {
31262	return awsutil.Prettify(s)
31263}
31264
31265// GoString returns the string representation
31266func (s GetTablesOutput) GoString() string {
31267	return s.String()
31268}
31269
31270// SetNextToken sets the NextToken field's value.
31271func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput {
31272	s.NextToken = &v
31273	return s
31274}
31275
31276// SetTableList sets the TableList field's value.
31277func (s *GetTablesOutput) SetTableList(v []*TableData) *GetTablesOutput {
31278	s.TableList = v
31279	return s
31280}
31281
31282type GetTagsInput struct {
31283	_ struct{} `type:"structure"`
31284
31285	// The Amazon Resource Name (ARN) of the resource for which to retrieve tags.
31286	//
31287	// ResourceArn is a required field
31288	ResourceArn *string `min:"1" type:"string" required:"true"`
31289}
31290
31291// String returns the string representation
31292func (s GetTagsInput) String() string {
31293	return awsutil.Prettify(s)
31294}
31295
31296// GoString returns the string representation
31297func (s GetTagsInput) GoString() string {
31298	return s.String()
31299}
31300
31301// Validate inspects the fields of the type to determine if they are valid.
31302func (s *GetTagsInput) Validate() error {
31303	invalidParams := request.ErrInvalidParams{Context: "GetTagsInput"}
31304	if s.ResourceArn == nil {
31305		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
31306	}
31307	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
31308		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
31309	}
31310
31311	if invalidParams.Len() > 0 {
31312		return invalidParams
31313	}
31314	return nil
31315}
31316
31317// SetResourceArn sets the ResourceArn field's value.
31318func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput {
31319	s.ResourceArn = &v
31320	return s
31321}
31322
31323type GetTagsOutput struct {
31324	_ struct{} `type:"structure"`
31325
31326	// The requested tags.
31327	Tags map[string]*string `type:"map"`
31328}
31329
31330// String returns the string representation
31331func (s GetTagsOutput) String() string {
31332	return awsutil.Prettify(s)
31333}
31334
31335// GoString returns the string representation
31336func (s GetTagsOutput) GoString() string {
31337	return s.String()
31338}
31339
31340// SetTags sets the Tags field's value.
31341func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput {
31342	s.Tags = v
31343	return s
31344}
31345
31346type GetTriggerInput struct {
31347	_ struct{} `type:"structure"`
31348
31349	// The name of the trigger to retrieve.
31350	//
31351	// Name is a required field
31352	Name *string `min:"1" type:"string" required:"true"`
31353}
31354
31355// String returns the string representation
31356func (s GetTriggerInput) String() string {
31357	return awsutil.Prettify(s)
31358}
31359
31360// GoString returns the string representation
31361func (s GetTriggerInput) GoString() string {
31362	return s.String()
31363}
31364
31365// Validate inspects the fields of the type to determine if they are valid.
31366func (s *GetTriggerInput) Validate() error {
31367	invalidParams := request.ErrInvalidParams{Context: "GetTriggerInput"}
31368	if s.Name == nil {
31369		invalidParams.Add(request.NewErrParamRequired("Name"))
31370	}
31371	if s.Name != nil && len(*s.Name) < 1 {
31372		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31373	}
31374
31375	if invalidParams.Len() > 0 {
31376		return invalidParams
31377	}
31378	return nil
31379}
31380
31381// SetName sets the Name field's value.
31382func (s *GetTriggerInput) SetName(v string) *GetTriggerInput {
31383	s.Name = &v
31384	return s
31385}
31386
31387type GetTriggerOutput struct {
31388	_ struct{} `type:"structure"`
31389
31390	// The requested trigger definition.
31391	Trigger *Trigger `type:"structure"`
31392}
31393
31394// String returns the string representation
31395func (s GetTriggerOutput) String() string {
31396	return awsutil.Prettify(s)
31397}
31398
31399// GoString returns the string representation
31400func (s GetTriggerOutput) GoString() string {
31401	return s.String()
31402}
31403
31404// SetTrigger sets the Trigger field's value.
31405func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput {
31406	s.Trigger = v
31407	return s
31408}
31409
31410type GetTriggersInput struct {
31411	_ struct{} `type:"structure"`
31412
31413	// The name of the job to retrieve triggers for. The trigger that can start
31414	// this job is returned, and if there is no such trigger, all triggers are returned.
31415	DependentJobName *string `min:"1" type:"string"`
31416
31417	// The maximum size of the response.
31418	MaxResults *int64 `min:"1" type:"integer"`
31419
31420	// A continuation token, if this is a continuation call.
31421	NextToken *string `type:"string"`
31422}
31423
31424// String returns the string representation
31425func (s GetTriggersInput) String() string {
31426	return awsutil.Prettify(s)
31427}
31428
31429// GoString returns the string representation
31430func (s GetTriggersInput) GoString() string {
31431	return s.String()
31432}
31433
31434// Validate inspects the fields of the type to determine if they are valid.
31435func (s *GetTriggersInput) Validate() error {
31436	invalidParams := request.ErrInvalidParams{Context: "GetTriggersInput"}
31437	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
31438		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
31439	}
31440	if s.MaxResults != nil && *s.MaxResults < 1 {
31441		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31442	}
31443
31444	if invalidParams.Len() > 0 {
31445		return invalidParams
31446	}
31447	return nil
31448}
31449
31450// SetDependentJobName sets the DependentJobName field's value.
31451func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput {
31452	s.DependentJobName = &v
31453	return s
31454}
31455
31456// SetMaxResults sets the MaxResults field's value.
31457func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput {
31458	s.MaxResults = &v
31459	return s
31460}
31461
31462// SetNextToken sets the NextToken field's value.
31463func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput {
31464	s.NextToken = &v
31465	return s
31466}
31467
31468type GetTriggersOutput struct {
31469	_ struct{} `type:"structure"`
31470
31471	// A continuation token, if not all the requested triggers have yet been returned.
31472	NextToken *string `type:"string"`
31473
31474	// A list of triggers for the specified job.
31475	Triggers []*Trigger `type:"list"`
31476}
31477
31478// String returns the string representation
31479func (s GetTriggersOutput) String() string {
31480	return awsutil.Prettify(s)
31481}
31482
31483// GoString returns the string representation
31484func (s GetTriggersOutput) GoString() string {
31485	return s.String()
31486}
31487
31488// SetNextToken sets the NextToken field's value.
31489func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput {
31490	s.NextToken = &v
31491	return s
31492}
31493
31494// SetTriggers sets the Triggers field's value.
31495func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput {
31496	s.Triggers = v
31497	return s
31498}
31499
31500type GetUserDefinedFunctionInput struct {
31501	_ struct{} `type:"structure"`
31502
31503	// The ID of the Data Catalog where the function to be retrieved is located.
31504	// If none is provided, the AWS account ID is used by default.
31505	CatalogId *string `min:"1" type:"string"`
31506
31507	// The name of the catalog database where the function is located.
31508	//
31509	// DatabaseName is a required field
31510	DatabaseName *string `min:"1" type:"string" required:"true"`
31511
31512	// The name of the function.
31513	//
31514	// FunctionName is a required field
31515	FunctionName *string `min:"1" type:"string" required:"true"`
31516}
31517
31518// String returns the string representation
31519func (s GetUserDefinedFunctionInput) String() string {
31520	return awsutil.Prettify(s)
31521}
31522
31523// GoString returns the string representation
31524func (s GetUserDefinedFunctionInput) GoString() string {
31525	return s.String()
31526}
31527
31528// Validate inspects the fields of the type to determine if they are valid.
31529func (s *GetUserDefinedFunctionInput) Validate() error {
31530	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionInput"}
31531	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31532		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31533	}
31534	if s.DatabaseName == nil {
31535		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31536	}
31537	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31538		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31539	}
31540	if s.FunctionName == nil {
31541		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
31542	}
31543	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
31544		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
31545	}
31546
31547	if invalidParams.Len() > 0 {
31548		return invalidParams
31549	}
31550	return nil
31551}
31552
31553// SetCatalogId sets the CatalogId field's value.
31554func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput {
31555	s.CatalogId = &v
31556	return s
31557}
31558
31559// SetDatabaseName sets the DatabaseName field's value.
31560func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput {
31561	s.DatabaseName = &v
31562	return s
31563}
31564
31565// SetFunctionName sets the FunctionName field's value.
31566func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput {
31567	s.FunctionName = &v
31568	return s
31569}
31570
31571type GetUserDefinedFunctionOutput struct {
31572	_ struct{} `type:"structure"`
31573
31574	// The requested function definition.
31575	UserDefinedFunction *UserDefinedFunction `type:"structure"`
31576}
31577
31578// String returns the string representation
31579func (s GetUserDefinedFunctionOutput) String() string {
31580	return awsutil.Prettify(s)
31581}
31582
31583// GoString returns the string representation
31584func (s GetUserDefinedFunctionOutput) GoString() string {
31585	return s.String()
31586}
31587
31588// SetUserDefinedFunction sets the UserDefinedFunction field's value.
31589func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput {
31590	s.UserDefinedFunction = v
31591	return s
31592}
31593
31594type GetUserDefinedFunctionsInput struct {
31595	_ struct{} `type:"structure"`
31596
31597	// The ID of the Data Catalog where the functions to be retrieved are located.
31598	// If none is provided, the AWS account ID is used by default.
31599	CatalogId *string `min:"1" type:"string"`
31600
31601	// The name of the catalog database where the functions are located. If none
31602	// is provided, functions from all the databases across the catalog will be
31603	// returned.
31604	DatabaseName *string `min:"1" type:"string"`
31605
31606	// The maximum number of functions to return in one response.
31607	MaxResults *int64 `min:"1" type:"integer"`
31608
31609	// A continuation token, if this is a continuation call.
31610	NextToken *string `type:"string"`
31611
31612	// An optional function-name pattern string that filters the function definitions
31613	// returned.
31614	//
31615	// Pattern is a required field
31616	Pattern *string `min:"1" type:"string" required:"true"`
31617}
31618
31619// String returns the string representation
31620func (s GetUserDefinedFunctionsInput) String() string {
31621	return awsutil.Prettify(s)
31622}
31623
31624// GoString returns the string representation
31625func (s GetUserDefinedFunctionsInput) GoString() string {
31626	return s.String()
31627}
31628
31629// Validate inspects the fields of the type to determine if they are valid.
31630func (s *GetUserDefinedFunctionsInput) Validate() error {
31631	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionsInput"}
31632	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31633		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31634	}
31635	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31636		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31637	}
31638	if s.MaxResults != nil && *s.MaxResults < 1 {
31639		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31640	}
31641	if s.Pattern == nil {
31642		invalidParams.Add(request.NewErrParamRequired("Pattern"))
31643	}
31644	if s.Pattern != nil && len(*s.Pattern) < 1 {
31645		invalidParams.Add(request.NewErrParamMinLen("Pattern", 1))
31646	}
31647
31648	if invalidParams.Len() > 0 {
31649		return invalidParams
31650	}
31651	return nil
31652}
31653
31654// SetCatalogId sets the CatalogId field's value.
31655func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput {
31656	s.CatalogId = &v
31657	return s
31658}
31659
31660// SetDatabaseName sets the DatabaseName field's value.
31661func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput {
31662	s.DatabaseName = &v
31663	return s
31664}
31665
31666// SetMaxResults sets the MaxResults field's value.
31667func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput {
31668	s.MaxResults = &v
31669	return s
31670}
31671
31672// SetNextToken sets the NextToken field's value.
31673func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput {
31674	s.NextToken = &v
31675	return s
31676}
31677
31678// SetPattern sets the Pattern field's value.
31679func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput {
31680	s.Pattern = &v
31681	return s
31682}
31683
31684type GetUserDefinedFunctionsOutput struct {
31685	_ struct{} `type:"structure"`
31686
31687	// A continuation token, if the list of functions returned does not include
31688	// the last requested function.
31689	NextToken *string `type:"string"`
31690
31691	// A list of requested function definitions.
31692	UserDefinedFunctions []*UserDefinedFunction `type:"list"`
31693}
31694
31695// String returns the string representation
31696func (s GetUserDefinedFunctionsOutput) String() string {
31697	return awsutil.Prettify(s)
31698}
31699
31700// GoString returns the string representation
31701func (s GetUserDefinedFunctionsOutput) GoString() string {
31702	return s.String()
31703}
31704
31705// SetNextToken sets the NextToken field's value.
31706func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput {
31707	s.NextToken = &v
31708	return s
31709}
31710
31711// SetUserDefinedFunctions sets the UserDefinedFunctions field's value.
31712func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefinedFunction) *GetUserDefinedFunctionsOutput {
31713	s.UserDefinedFunctions = v
31714	return s
31715}
31716
31717type GetWorkflowInput struct {
31718	_ struct{} `type:"structure"`
31719
31720	// Specifies whether to include a graph when returning the workflow resource
31721	// metadata.
31722	IncludeGraph *bool `type:"boolean"`
31723
31724	// The name of the workflow to retrieve.
31725	//
31726	// Name is a required field
31727	Name *string `min:"1" type:"string" required:"true"`
31728}
31729
31730// String returns the string representation
31731func (s GetWorkflowInput) String() string {
31732	return awsutil.Prettify(s)
31733}
31734
31735// GoString returns the string representation
31736func (s GetWorkflowInput) GoString() string {
31737	return s.String()
31738}
31739
31740// Validate inspects the fields of the type to determine if they are valid.
31741func (s *GetWorkflowInput) Validate() error {
31742	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"}
31743	if s.Name == nil {
31744		invalidParams.Add(request.NewErrParamRequired("Name"))
31745	}
31746	if s.Name != nil && len(*s.Name) < 1 {
31747		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31748	}
31749
31750	if invalidParams.Len() > 0 {
31751		return invalidParams
31752	}
31753	return nil
31754}
31755
31756// SetIncludeGraph sets the IncludeGraph field's value.
31757func (s *GetWorkflowInput) SetIncludeGraph(v bool) *GetWorkflowInput {
31758	s.IncludeGraph = &v
31759	return s
31760}
31761
31762// SetName sets the Name field's value.
31763func (s *GetWorkflowInput) SetName(v string) *GetWorkflowInput {
31764	s.Name = &v
31765	return s
31766}
31767
31768type GetWorkflowOutput struct {
31769	_ struct{} `type:"structure"`
31770
31771	// The resource metadata for the workflow.
31772	Workflow *Workflow `type:"structure"`
31773}
31774
31775// String returns the string representation
31776func (s GetWorkflowOutput) String() string {
31777	return awsutil.Prettify(s)
31778}
31779
31780// GoString returns the string representation
31781func (s GetWorkflowOutput) GoString() string {
31782	return s.String()
31783}
31784
31785// SetWorkflow sets the Workflow field's value.
31786func (s *GetWorkflowOutput) SetWorkflow(v *Workflow) *GetWorkflowOutput {
31787	s.Workflow = v
31788	return s
31789}
31790
31791type GetWorkflowRunInput struct {
31792	_ struct{} `type:"structure"`
31793
31794	// Specifies whether to include the workflow graph in response or not.
31795	IncludeGraph *bool `type:"boolean"`
31796
31797	// Name of the workflow being run.
31798	//
31799	// Name is a required field
31800	Name *string `min:"1" type:"string" required:"true"`
31801
31802	// The ID of the workflow run.
31803	//
31804	// RunId is a required field
31805	RunId *string `min:"1" type:"string" required:"true"`
31806}
31807
31808// String returns the string representation
31809func (s GetWorkflowRunInput) String() string {
31810	return awsutil.Prettify(s)
31811}
31812
31813// GoString returns the string representation
31814func (s GetWorkflowRunInput) GoString() string {
31815	return s.String()
31816}
31817
31818// Validate inspects the fields of the type to determine if they are valid.
31819func (s *GetWorkflowRunInput) Validate() error {
31820	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunInput"}
31821	if s.Name == nil {
31822		invalidParams.Add(request.NewErrParamRequired("Name"))
31823	}
31824	if s.Name != nil && len(*s.Name) < 1 {
31825		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31826	}
31827	if s.RunId == nil {
31828		invalidParams.Add(request.NewErrParamRequired("RunId"))
31829	}
31830	if s.RunId != nil && len(*s.RunId) < 1 {
31831		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
31832	}
31833
31834	if invalidParams.Len() > 0 {
31835		return invalidParams
31836	}
31837	return nil
31838}
31839
31840// SetIncludeGraph sets the IncludeGraph field's value.
31841func (s *GetWorkflowRunInput) SetIncludeGraph(v bool) *GetWorkflowRunInput {
31842	s.IncludeGraph = &v
31843	return s
31844}
31845
31846// SetName sets the Name field's value.
31847func (s *GetWorkflowRunInput) SetName(v string) *GetWorkflowRunInput {
31848	s.Name = &v
31849	return s
31850}
31851
31852// SetRunId sets the RunId field's value.
31853func (s *GetWorkflowRunInput) SetRunId(v string) *GetWorkflowRunInput {
31854	s.RunId = &v
31855	return s
31856}
31857
31858type GetWorkflowRunOutput struct {
31859	_ struct{} `type:"structure"`
31860
31861	// The requested workflow run metadata.
31862	Run *WorkflowRun `type:"structure"`
31863}
31864
31865// String returns the string representation
31866func (s GetWorkflowRunOutput) String() string {
31867	return awsutil.Prettify(s)
31868}
31869
31870// GoString returns the string representation
31871func (s GetWorkflowRunOutput) GoString() string {
31872	return s.String()
31873}
31874
31875// SetRun sets the Run field's value.
31876func (s *GetWorkflowRunOutput) SetRun(v *WorkflowRun) *GetWorkflowRunOutput {
31877	s.Run = v
31878	return s
31879}
31880
31881type GetWorkflowRunPropertiesInput struct {
31882	_ struct{} `type:"structure"`
31883
31884	// Name of the workflow which was run.
31885	//
31886	// Name is a required field
31887	Name *string `min:"1" type:"string" required:"true"`
31888
31889	// The ID of the workflow run whose run properties should be returned.
31890	//
31891	// RunId is a required field
31892	RunId *string `min:"1" type:"string" required:"true"`
31893}
31894
31895// String returns the string representation
31896func (s GetWorkflowRunPropertiesInput) String() string {
31897	return awsutil.Prettify(s)
31898}
31899
31900// GoString returns the string representation
31901func (s GetWorkflowRunPropertiesInput) GoString() string {
31902	return s.String()
31903}
31904
31905// Validate inspects the fields of the type to determine if they are valid.
31906func (s *GetWorkflowRunPropertiesInput) Validate() error {
31907	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunPropertiesInput"}
31908	if s.Name == nil {
31909		invalidParams.Add(request.NewErrParamRequired("Name"))
31910	}
31911	if s.Name != nil && len(*s.Name) < 1 {
31912		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31913	}
31914	if s.RunId == nil {
31915		invalidParams.Add(request.NewErrParamRequired("RunId"))
31916	}
31917	if s.RunId != nil && len(*s.RunId) < 1 {
31918		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
31919	}
31920
31921	if invalidParams.Len() > 0 {
31922		return invalidParams
31923	}
31924	return nil
31925}
31926
31927// SetName sets the Name field's value.
31928func (s *GetWorkflowRunPropertiesInput) SetName(v string) *GetWorkflowRunPropertiesInput {
31929	s.Name = &v
31930	return s
31931}
31932
31933// SetRunId sets the RunId field's value.
31934func (s *GetWorkflowRunPropertiesInput) SetRunId(v string) *GetWorkflowRunPropertiesInput {
31935	s.RunId = &v
31936	return s
31937}
31938
31939type GetWorkflowRunPropertiesOutput struct {
31940	_ struct{} `type:"structure"`
31941
31942	// The workflow run properties which were set during the specified run.
31943	RunProperties map[string]*string `type:"map"`
31944}
31945
31946// String returns the string representation
31947func (s GetWorkflowRunPropertiesOutput) String() string {
31948	return awsutil.Prettify(s)
31949}
31950
31951// GoString returns the string representation
31952func (s GetWorkflowRunPropertiesOutput) GoString() string {
31953	return s.String()
31954}
31955
31956// SetRunProperties sets the RunProperties field's value.
31957func (s *GetWorkflowRunPropertiesOutput) SetRunProperties(v map[string]*string) *GetWorkflowRunPropertiesOutput {
31958	s.RunProperties = v
31959	return s
31960}
31961
31962type GetWorkflowRunsInput struct {
31963	_ struct{} `type:"structure"`
31964
31965	// Specifies whether to include the workflow graph in response or not.
31966	IncludeGraph *bool `type:"boolean"`
31967
31968	// The maximum number of workflow runs to be included in the response.
31969	MaxResults *int64 `min:"1" type:"integer"`
31970
31971	// Name of the workflow whose metadata of runs should be returned.
31972	//
31973	// Name is a required field
31974	Name *string `min:"1" type:"string" required:"true"`
31975
31976	// The maximum size of the response.
31977	NextToken *string `type:"string"`
31978}
31979
31980// String returns the string representation
31981func (s GetWorkflowRunsInput) String() string {
31982	return awsutil.Prettify(s)
31983}
31984
31985// GoString returns the string representation
31986func (s GetWorkflowRunsInput) GoString() string {
31987	return s.String()
31988}
31989
31990// Validate inspects the fields of the type to determine if they are valid.
31991func (s *GetWorkflowRunsInput) Validate() error {
31992	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunsInput"}
31993	if s.MaxResults != nil && *s.MaxResults < 1 {
31994		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31995	}
31996	if s.Name == nil {
31997		invalidParams.Add(request.NewErrParamRequired("Name"))
31998	}
31999	if s.Name != nil && len(*s.Name) < 1 {
32000		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32001	}
32002
32003	if invalidParams.Len() > 0 {
32004		return invalidParams
32005	}
32006	return nil
32007}
32008
32009// SetIncludeGraph sets the IncludeGraph field's value.
32010func (s *GetWorkflowRunsInput) SetIncludeGraph(v bool) *GetWorkflowRunsInput {
32011	s.IncludeGraph = &v
32012	return s
32013}
32014
32015// SetMaxResults sets the MaxResults field's value.
32016func (s *GetWorkflowRunsInput) SetMaxResults(v int64) *GetWorkflowRunsInput {
32017	s.MaxResults = &v
32018	return s
32019}
32020
32021// SetName sets the Name field's value.
32022func (s *GetWorkflowRunsInput) SetName(v string) *GetWorkflowRunsInput {
32023	s.Name = &v
32024	return s
32025}
32026
32027// SetNextToken sets the NextToken field's value.
32028func (s *GetWorkflowRunsInput) SetNextToken(v string) *GetWorkflowRunsInput {
32029	s.NextToken = &v
32030	return s
32031}
32032
32033type GetWorkflowRunsOutput struct {
32034	_ struct{} `type:"structure"`
32035
32036	// A continuation token, if not all requested workflow runs have been returned.
32037	NextToken *string `type:"string"`
32038
32039	// A list of workflow run metadata objects.
32040	Runs []*WorkflowRun `min:"1" type:"list"`
32041}
32042
32043// String returns the string representation
32044func (s GetWorkflowRunsOutput) String() string {
32045	return awsutil.Prettify(s)
32046}
32047
32048// GoString returns the string representation
32049func (s GetWorkflowRunsOutput) GoString() string {
32050	return s.String()
32051}
32052
32053// SetNextToken sets the NextToken field's value.
32054func (s *GetWorkflowRunsOutput) SetNextToken(v string) *GetWorkflowRunsOutput {
32055	s.NextToken = &v
32056	return s
32057}
32058
32059// SetRuns sets the Runs field's value.
32060func (s *GetWorkflowRunsOutput) SetRuns(v []*WorkflowRun) *GetWorkflowRunsOutput {
32061	s.Runs = v
32062	return s
32063}
32064
32065// A structure for returning a resource policy.
32066type GluePolicy struct {
32067	_ struct{} `type:"structure"`
32068
32069	// The date and time at which the policy was created.
32070	CreateTime *time.Time `type:"timestamp"`
32071
32072	// Contains the hash value associated with this policy.
32073	PolicyHash *string `min:"1" type:"string"`
32074
32075	// Contains the requested policy document, in JSON format.
32076	PolicyInJson *string `min:"2" type:"string"`
32077
32078	// The date and time at which the policy was last updated.
32079	UpdateTime *time.Time `type:"timestamp"`
32080}
32081
32082// String returns the string representation
32083func (s GluePolicy) String() string {
32084	return awsutil.Prettify(s)
32085}
32086
32087// GoString returns the string representation
32088func (s GluePolicy) GoString() string {
32089	return s.String()
32090}
32091
32092// SetCreateTime sets the CreateTime field's value.
32093func (s *GluePolicy) SetCreateTime(v time.Time) *GluePolicy {
32094	s.CreateTime = &v
32095	return s
32096}
32097
32098// SetPolicyHash sets the PolicyHash field's value.
32099func (s *GluePolicy) SetPolicyHash(v string) *GluePolicy {
32100	s.PolicyHash = &v
32101	return s
32102}
32103
32104// SetPolicyInJson sets the PolicyInJson field's value.
32105func (s *GluePolicy) SetPolicyInJson(v string) *GluePolicy {
32106	s.PolicyInJson = &v
32107	return s
32108}
32109
32110// SetUpdateTime sets the UpdateTime field's value.
32111func (s *GluePolicy) SetUpdateTime(v time.Time) *GluePolicy {
32112	s.UpdateTime = &v
32113	return s
32114}
32115
32116// A classifier that uses grok patterns.
32117type GrokClassifier struct {
32118	_ struct{} `type:"structure"`
32119
32120	// An identifier of the data format that the classifier matches, such as Twitter,
32121	// JSON, Omniture logs, and so on.
32122	//
32123	// Classification is a required field
32124	Classification *string `type:"string" required:"true"`
32125
32126	// The time that this classifier was registered.
32127	CreationTime *time.Time `type:"timestamp"`
32128
32129	// Optional custom grok patterns defined by this classifier. For more information,
32130	// see custom patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
32131	CustomPatterns *string `type:"string"`
32132
32133	// The grok pattern applied to a data store by this classifier. For more information,
32134	// see built-in patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
32135	//
32136	// GrokPattern is a required field
32137	GrokPattern *string `min:"1" type:"string" required:"true"`
32138
32139	// The time that this classifier was last updated.
32140	LastUpdated *time.Time `type:"timestamp"`
32141
32142	// The name of the classifier.
32143	//
32144	// Name is a required field
32145	Name *string `min:"1" type:"string" required:"true"`
32146
32147	// The version of this classifier.
32148	Version *int64 `type:"long"`
32149}
32150
32151// String returns the string representation
32152func (s GrokClassifier) String() string {
32153	return awsutil.Prettify(s)
32154}
32155
32156// GoString returns the string representation
32157func (s GrokClassifier) GoString() string {
32158	return s.String()
32159}
32160
32161// SetClassification sets the Classification field's value.
32162func (s *GrokClassifier) SetClassification(v string) *GrokClassifier {
32163	s.Classification = &v
32164	return s
32165}
32166
32167// SetCreationTime sets the CreationTime field's value.
32168func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier {
32169	s.CreationTime = &v
32170	return s
32171}
32172
32173// SetCustomPatterns sets the CustomPatterns field's value.
32174func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier {
32175	s.CustomPatterns = &v
32176	return s
32177}
32178
32179// SetGrokPattern sets the GrokPattern field's value.
32180func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier {
32181	s.GrokPattern = &v
32182	return s
32183}
32184
32185// SetLastUpdated sets the LastUpdated field's value.
32186func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier {
32187	s.LastUpdated = &v
32188	return s
32189}
32190
32191// SetName sets the Name field's value.
32192func (s *GrokClassifier) SetName(v string) *GrokClassifier {
32193	s.Name = &v
32194	return s
32195}
32196
32197// SetVersion sets the Version field's value.
32198func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier {
32199	s.Version = &v
32200	return s
32201}
32202
32203// The same unique identifier was associated with two different records.
32204type IdempotentParameterMismatchException struct {
32205	_            struct{}                  `type:"structure"`
32206	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
32207
32208	// A message describing the problem.
32209	Message_ *string `locationName:"Message" type:"string"`
32210}
32211
32212// String returns the string representation
32213func (s IdempotentParameterMismatchException) String() string {
32214	return awsutil.Prettify(s)
32215}
32216
32217// GoString returns the string representation
32218func (s IdempotentParameterMismatchException) GoString() string {
32219	return s.String()
32220}
32221
32222func newErrorIdempotentParameterMismatchException(v protocol.ResponseMetadata) error {
32223	return &IdempotentParameterMismatchException{
32224		RespMetadata: v,
32225	}
32226}
32227
32228// Code returns the exception type name.
32229func (s *IdempotentParameterMismatchException) Code() string {
32230	return "IdempotentParameterMismatchException"
32231}
32232
32233// Message returns the exception's message.
32234func (s *IdempotentParameterMismatchException) Message() string {
32235	if s.Message_ != nil {
32236		return *s.Message_
32237	}
32238	return ""
32239}
32240
32241// OrigErr always returns nil, satisfies awserr.Error interface.
32242func (s *IdempotentParameterMismatchException) OrigErr() error {
32243	return nil
32244}
32245
32246func (s *IdempotentParameterMismatchException) Error() string {
32247	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
32248}
32249
32250// Status code returns the HTTP status code for the request's response error.
32251func (s *IdempotentParameterMismatchException) StatusCode() int {
32252	return s.RespMetadata.StatusCode
32253}
32254
32255// RequestID returns the service's response RequestID for request.
32256func (s *IdempotentParameterMismatchException) RequestID() string {
32257	return s.RespMetadata.RequestID
32258}
32259
32260// The workflow is in an invalid state to perform a requested operation.
32261type IllegalWorkflowStateException struct {
32262	_            struct{}                  `type:"structure"`
32263	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
32264
32265	// A message describing the problem.
32266	Message_ *string `locationName:"Message" type:"string"`
32267}
32268
32269// String returns the string representation
32270func (s IllegalWorkflowStateException) String() string {
32271	return awsutil.Prettify(s)
32272}
32273
32274// GoString returns the string representation
32275func (s IllegalWorkflowStateException) GoString() string {
32276	return s.String()
32277}
32278
32279func newErrorIllegalWorkflowStateException(v protocol.ResponseMetadata) error {
32280	return &IllegalWorkflowStateException{
32281		RespMetadata: v,
32282	}
32283}
32284
32285// Code returns the exception type name.
32286func (s *IllegalWorkflowStateException) Code() string {
32287	return "IllegalWorkflowStateException"
32288}
32289
32290// Message returns the exception's message.
32291func (s *IllegalWorkflowStateException) Message() string {
32292	if s.Message_ != nil {
32293		return *s.Message_
32294	}
32295	return ""
32296}
32297
32298// OrigErr always returns nil, satisfies awserr.Error interface.
32299func (s *IllegalWorkflowStateException) OrigErr() error {
32300	return nil
32301}
32302
32303func (s *IllegalWorkflowStateException) Error() string {
32304	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
32305}
32306
32307// Status code returns the HTTP status code for the request's response error.
32308func (s *IllegalWorkflowStateException) StatusCode() int {
32309	return s.RespMetadata.StatusCode
32310}
32311
32312// RequestID returns the service's response RequestID for request.
32313func (s *IllegalWorkflowStateException) RequestID() string {
32314	return s.RespMetadata.RequestID
32315}
32316
32317type ImportCatalogToGlueInput struct {
32318	_ struct{} `type:"structure"`
32319
32320	// The ID of the catalog to import. Currently, this should be the AWS account
32321	// ID.
32322	CatalogId *string `min:"1" type:"string"`
32323}
32324
32325// String returns the string representation
32326func (s ImportCatalogToGlueInput) String() string {
32327	return awsutil.Prettify(s)
32328}
32329
32330// GoString returns the string representation
32331func (s ImportCatalogToGlueInput) GoString() string {
32332	return s.String()
32333}
32334
32335// Validate inspects the fields of the type to determine if they are valid.
32336func (s *ImportCatalogToGlueInput) Validate() error {
32337	invalidParams := request.ErrInvalidParams{Context: "ImportCatalogToGlueInput"}
32338	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
32339		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
32340	}
32341
32342	if invalidParams.Len() > 0 {
32343		return invalidParams
32344	}
32345	return nil
32346}
32347
32348// SetCatalogId sets the CatalogId field's value.
32349func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput {
32350	s.CatalogId = &v
32351	return s
32352}
32353
32354type ImportCatalogToGlueOutput struct {
32355	_ struct{} `type:"structure"`
32356}
32357
32358// String returns the string representation
32359func (s ImportCatalogToGlueOutput) String() string {
32360	return awsutil.Prettify(s)
32361}
32362
32363// GoString returns the string representation
32364func (s ImportCatalogToGlueOutput) GoString() string {
32365	return s.String()
32366}
32367
32368// Specifies configuration properties for an importing labels task run.
32369type ImportLabelsTaskRunProperties struct {
32370	_ struct{} `type:"structure"`
32371
32372	// The Amazon Simple Storage Service (Amazon S3) path from where you will import
32373	// the labels.
32374	InputS3Path *string `type:"string"`
32375
32376	// Indicates whether to overwrite your existing labels.
32377	Replace *bool `type:"boolean"`
32378}
32379
32380// String returns the string representation
32381func (s ImportLabelsTaskRunProperties) String() string {
32382	return awsutil.Prettify(s)
32383}
32384
32385// GoString returns the string representation
32386func (s ImportLabelsTaskRunProperties) GoString() string {
32387	return s.String()
32388}
32389
32390// SetInputS3Path sets the InputS3Path field's value.
32391func (s *ImportLabelsTaskRunProperties) SetInputS3Path(v string) *ImportLabelsTaskRunProperties {
32392	s.InputS3Path = &v
32393	return s
32394}
32395
32396// SetReplace sets the Replace field's value.
32397func (s *ImportLabelsTaskRunProperties) SetReplace(v bool) *ImportLabelsTaskRunProperties {
32398	s.Replace = &v
32399	return s
32400}
32401
32402// An internal service error occurred.
32403type InternalServiceException struct {
32404	_            struct{}                  `type:"structure"`
32405	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
32406
32407	// A message describing the problem.
32408	Message_ *string `locationName:"Message" type:"string"`
32409}
32410
32411// String returns the string representation
32412func (s InternalServiceException) String() string {
32413	return awsutil.Prettify(s)
32414}
32415
32416// GoString returns the string representation
32417func (s InternalServiceException) GoString() string {
32418	return s.String()
32419}
32420
32421func newErrorInternalServiceException(v protocol.ResponseMetadata) error {
32422	return &InternalServiceException{
32423		RespMetadata: v,
32424	}
32425}
32426
32427// Code returns the exception type name.
32428func (s *InternalServiceException) Code() string {
32429	return "InternalServiceException"
32430}
32431
32432// Message returns the exception's message.
32433func (s *InternalServiceException) Message() string {
32434	if s.Message_ != nil {
32435		return *s.Message_
32436	}
32437	return ""
32438}
32439
32440// OrigErr always returns nil, satisfies awserr.Error interface.
32441func (s *InternalServiceException) OrigErr() error {
32442	return nil
32443}
32444
32445func (s *InternalServiceException) Error() string {
32446	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
32447}
32448
32449// Status code returns the HTTP status code for the request's response error.
32450func (s *InternalServiceException) StatusCode() int {
32451	return s.RespMetadata.StatusCode
32452}
32453
32454// RequestID returns the service's response RequestID for request.
32455func (s *InternalServiceException) RequestID() string {
32456	return s.RespMetadata.RequestID
32457}
32458
32459// The input provided was not valid.
32460type InvalidInputException struct {
32461	_            struct{}                  `type:"structure"`
32462	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
32463
32464	// A message describing the problem.
32465	Message_ *string `locationName:"Message" type:"string"`
32466}
32467
32468// String returns the string representation
32469func (s InvalidInputException) String() string {
32470	return awsutil.Prettify(s)
32471}
32472
32473// GoString returns the string representation
32474func (s InvalidInputException) GoString() string {
32475	return s.String()
32476}
32477
32478func newErrorInvalidInputException(v protocol.ResponseMetadata) error {
32479	return &InvalidInputException{
32480		RespMetadata: v,
32481	}
32482}
32483
32484// Code returns the exception type name.
32485func (s *InvalidInputException) Code() string {
32486	return "InvalidInputException"
32487}
32488
32489// Message returns the exception's message.
32490func (s *InvalidInputException) Message() string {
32491	if s.Message_ != nil {
32492		return *s.Message_
32493	}
32494	return ""
32495}
32496
32497// OrigErr always returns nil, satisfies awserr.Error interface.
32498func (s *InvalidInputException) OrigErr() error {
32499	return nil
32500}
32501
32502func (s *InvalidInputException) Error() string {
32503	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
32504}
32505
32506// Status code returns the HTTP status code for the request's response error.
32507func (s *InvalidInputException) StatusCode() int {
32508	return s.RespMetadata.StatusCode
32509}
32510
32511// RequestID returns the service's response RequestID for request.
32512func (s *InvalidInputException) RequestID() string {
32513	return s.RespMetadata.RequestID
32514}
32515
32516// Specifies a JDBC data store to crawl.
32517type JdbcTarget struct {
32518	_ struct{} `type:"structure"`
32519
32520	// The name of the connection to use to connect to the JDBC target.
32521	ConnectionName *string `type:"string"`
32522
32523	// A list of glob patterns used to exclude from the crawl. For more information,
32524	// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
32525	Exclusions []*string `type:"list"`
32526
32527	// The path of the JDBC target.
32528	Path *string `type:"string"`
32529}
32530
32531// String returns the string representation
32532func (s JdbcTarget) String() string {
32533	return awsutil.Prettify(s)
32534}
32535
32536// GoString returns the string representation
32537func (s JdbcTarget) GoString() string {
32538	return s.String()
32539}
32540
32541// SetConnectionName sets the ConnectionName field's value.
32542func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget {
32543	s.ConnectionName = &v
32544	return s
32545}
32546
32547// SetExclusions sets the Exclusions field's value.
32548func (s *JdbcTarget) SetExclusions(v []*string) *JdbcTarget {
32549	s.Exclusions = v
32550	return s
32551}
32552
32553// SetPath sets the Path field's value.
32554func (s *JdbcTarget) SetPath(v string) *JdbcTarget {
32555	s.Path = &v
32556	return s
32557}
32558
32559// Specifies a job definition.
32560type Job struct {
32561	_ struct{} `type:"structure"`
32562
32563	// This field is deprecated. Use MaxCapacity instead.
32564	//
32565	// The number of AWS Glue data processing units (DPUs) allocated to runs of
32566	// this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is
32567	// a relative measure of processing power that consists of 4 vCPUs of compute
32568	// capacity and 16 GB of memory. For more information, see the AWS Glue pricing
32569	// page (https://aws.amazon.com/glue/pricing/).
32570	//
32571	// Deprecated: This property is deprecated, use MaxCapacity instead.
32572	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
32573
32574	// The JobCommand that executes this job.
32575	Command *JobCommand `type:"structure"`
32576
32577	// The connections used for this job.
32578	Connections *ConnectionsList `type:"structure"`
32579
32580	// The time and date that this job definition was created.
32581	CreatedOn *time.Time `type:"timestamp"`
32582
32583	// The default arguments for this job, specified as name-value pairs.
32584	//
32585	// You can specify arguments here that your own job-execution script consumes,
32586	// as well as arguments that AWS Glue itself consumes.
32587	//
32588	// For information about how to specify and consume your own Job arguments,
32589	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
32590	// topic in the developer guide.
32591	//
32592	// For information about the key-value pairs that AWS Glue consumes to set up
32593	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
32594	// topic in the developer guide.
32595	DefaultArguments map[string]*string `type:"map"`
32596
32597	// A description of the job.
32598	Description *string `type:"string"`
32599
32600	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
32601	// for this job.
32602	ExecutionProperty *ExecutionProperty `type:"structure"`
32603
32604	// Glue version determines the versions of Apache Spark and Python that AWS
32605	// Glue supports. The Python version indicates the version supported for jobs
32606	// of type Spark.
32607	//
32608	// For more information about the available AWS Glue versions and corresponding
32609	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
32610	// in the developer guide.
32611	//
32612	// Jobs that are created without specifying a Glue version default to Glue 0.9.
32613	GlueVersion *string `min:"1" type:"string"`
32614
32615	// The last point in time when this job definition was modified.
32616	LastModifiedOn *time.Time `type:"timestamp"`
32617
32618	// This field is reserved for future use.
32619	LogUri *string `type:"string"`
32620
32621	// The number of AWS Glue data processing units (DPUs) that can be allocated
32622	// when this job runs. A DPU is a relative measure of processing power that
32623	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
32624	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
32625	//
32626	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
32627	//
32628	// The value that can be allocated for MaxCapacity depends on whether you are
32629	// running a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming
32630	// ETL job:
32631	//
32632	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
32633	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
32634	//
32635	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl")
32636	//    or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you
32637	//    can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type
32638	//    cannot have a fractional DPU allocation.
32639	MaxCapacity *float64 `type:"double"`
32640
32641	// The maximum number of times to retry this job after a JobRun fails.
32642	MaxRetries *int64 `type:"integer"`
32643
32644	// The name you assign to this job definition.
32645	Name *string `min:"1" type:"string"`
32646
32647	// Non-overridable arguments for this job, specified as name-value pairs.
32648	NonOverridableArguments map[string]*string `type:"map"`
32649
32650	// Specifies configuration properties of a job notification.
32651	NotificationProperty *NotificationProperty `type:"structure"`
32652
32653	// The number of workers of a defined workerType that are allocated when a job
32654	// runs.
32655	//
32656	// The maximum number of workers you can define are 299 for G.1X, and 149 for
32657	// G.2X.
32658	NumberOfWorkers *int64 `type:"integer"`
32659
32660	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
32661	// job.
32662	Role *string `type:"string"`
32663
32664	// The name of the SecurityConfiguration structure to be used with this job.
32665	SecurityConfiguration *string `min:"1" type:"string"`
32666
32667	// The job timeout in minutes. This is the maximum time that a job run can consume
32668	// resources before it is terminated and enters TIMEOUT status. The default
32669	// is 2,880 minutes (48 hours).
32670	Timeout *int64 `min:"1" type:"integer"`
32671
32672	// The type of predefined worker that is allocated when a job runs. Accepts
32673	// a value of Standard, G.1X, or G.2X.
32674	//
32675	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
32676	//    memory and a 50GB disk, and 2 executors per worker.
32677	//
32678	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
32679	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
32680	//    this worker type for memory-intensive jobs.
32681	//
32682	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
32683	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
32684	//    this worker type for memory-intensive jobs.
32685	WorkerType *string `type:"string" enum:"WorkerType"`
32686}
32687
32688// String returns the string representation
32689func (s Job) String() string {
32690	return awsutil.Prettify(s)
32691}
32692
32693// GoString returns the string representation
32694func (s Job) GoString() string {
32695	return s.String()
32696}
32697
32698// SetAllocatedCapacity sets the AllocatedCapacity field's value.
32699func (s *Job) SetAllocatedCapacity(v int64) *Job {
32700	s.AllocatedCapacity = &v
32701	return s
32702}
32703
32704// SetCommand sets the Command field's value.
32705func (s *Job) SetCommand(v *JobCommand) *Job {
32706	s.Command = v
32707	return s
32708}
32709
32710// SetConnections sets the Connections field's value.
32711func (s *Job) SetConnections(v *ConnectionsList) *Job {
32712	s.Connections = v
32713	return s
32714}
32715
32716// SetCreatedOn sets the CreatedOn field's value.
32717func (s *Job) SetCreatedOn(v time.Time) *Job {
32718	s.CreatedOn = &v
32719	return s
32720}
32721
32722// SetDefaultArguments sets the DefaultArguments field's value.
32723func (s *Job) SetDefaultArguments(v map[string]*string) *Job {
32724	s.DefaultArguments = v
32725	return s
32726}
32727
32728// SetDescription sets the Description field's value.
32729func (s *Job) SetDescription(v string) *Job {
32730	s.Description = &v
32731	return s
32732}
32733
32734// SetExecutionProperty sets the ExecutionProperty field's value.
32735func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job {
32736	s.ExecutionProperty = v
32737	return s
32738}
32739
32740// SetGlueVersion sets the GlueVersion field's value.
32741func (s *Job) SetGlueVersion(v string) *Job {
32742	s.GlueVersion = &v
32743	return s
32744}
32745
32746// SetLastModifiedOn sets the LastModifiedOn field's value.
32747func (s *Job) SetLastModifiedOn(v time.Time) *Job {
32748	s.LastModifiedOn = &v
32749	return s
32750}
32751
32752// SetLogUri sets the LogUri field's value.
32753func (s *Job) SetLogUri(v string) *Job {
32754	s.LogUri = &v
32755	return s
32756}
32757
32758// SetMaxCapacity sets the MaxCapacity field's value.
32759func (s *Job) SetMaxCapacity(v float64) *Job {
32760	s.MaxCapacity = &v
32761	return s
32762}
32763
32764// SetMaxRetries sets the MaxRetries field's value.
32765func (s *Job) SetMaxRetries(v int64) *Job {
32766	s.MaxRetries = &v
32767	return s
32768}
32769
32770// SetName sets the Name field's value.
32771func (s *Job) SetName(v string) *Job {
32772	s.Name = &v
32773	return s
32774}
32775
32776// SetNonOverridableArguments sets the NonOverridableArguments field's value.
32777func (s *Job) SetNonOverridableArguments(v map[string]*string) *Job {
32778	s.NonOverridableArguments = v
32779	return s
32780}
32781
32782// SetNotificationProperty sets the NotificationProperty field's value.
32783func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job {
32784	s.NotificationProperty = v
32785	return s
32786}
32787
32788// SetNumberOfWorkers sets the NumberOfWorkers field's value.
32789func (s *Job) SetNumberOfWorkers(v int64) *Job {
32790	s.NumberOfWorkers = &v
32791	return s
32792}
32793
32794// SetRole sets the Role field's value.
32795func (s *Job) SetRole(v string) *Job {
32796	s.Role = &v
32797	return s
32798}
32799
32800// SetSecurityConfiguration sets the SecurityConfiguration field's value.
32801func (s *Job) SetSecurityConfiguration(v string) *Job {
32802	s.SecurityConfiguration = &v
32803	return s
32804}
32805
32806// SetTimeout sets the Timeout field's value.
32807func (s *Job) SetTimeout(v int64) *Job {
32808	s.Timeout = &v
32809	return s
32810}
32811
32812// SetWorkerType sets the WorkerType field's value.
32813func (s *Job) SetWorkerType(v string) *Job {
32814	s.WorkerType = &v
32815	return s
32816}
32817
32818// Defines a point that a job can resume processing.
32819type JobBookmarkEntry struct {
32820	_ struct{} `type:"structure"`
32821
32822	// The attempt ID number.
32823	Attempt *int64 `type:"integer"`
32824
32825	// The bookmark itself.
32826	JobBookmark *string `type:"string"`
32827
32828	// The name of the job in question.
32829	JobName *string `type:"string"`
32830
32831	// The unique run identifier associated with the previous job run.
32832	PreviousRunId *string `type:"string"`
32833
32834	// The run ID number.
32835	Run *int64 `type:"integer"`
32836
32837	// The run ID number.
32838	RunId *string `type:"string"`
32839
32840	// The version of the job.
32841	Version *int64 `type:"integer"`
32842}
32843
32844// String returns the string representation
32845func (s JobBookmarkEntry) String() string {
32846	return awsutil.Prettify(s)
32847}
32848
32849// GoString returns the string representation
32850func (s JobBookmarkEntry) GoString() string {
32851	return s.String()
32852}
32853
32854// SetAttempt sets the Attempt field's value.
32855func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry {
32856	s.Attempt = &v
32857	return s
32858}
32859
32860// SetJobBookmark sets the JobBookmark field's value.
32861func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry {
32862	s.JobBookmark = &v
32863	return s
32864}
32865
32866// SetJobName sets the JobName field's value.
32867func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry {
32868	s.JobName = &v
32869	return s
32870}
32871
32872// SetPreviousRunId sets the PreviousRunId field's value.
32873func (s *JobBookmarkEntry) SetPreviousRunId(v string) *JobBookmarkEntry {
32874	s.PreviousRunId = &v
32875	return s
32876}
32877
32878// SetRun sets the Run field's value.
32879func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry {
32880	s.Run = &v
32881	return s
32882}
32883
32884// SetRunId sets the RunId field's value.
32885func (s *JobBookmarkEntry) SetRunId(v string) *JobBookmarkEntry {
32886	s.RunId = &v
32887	return s
32888}
32889
32890// SetVersion sets the Version field's value.
32891func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry {
32892	s.Version = &v
32893	return s
32894}
32895
32896// Specifies how job bookmark data should be encrypted.
32897type JobBookmarksEncryption struct {
32898	_ struct{} `type:"structure"`
32899
32900	// The encryption mode to use for job bookmarks data.
32901	JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"`
32902
32903	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
32904	KmsKeyArn *string `type:"string"`
32905}
32906
32907// String returns the string representation
32908func (s JobBookmarksEncryption) String() string {
32909	return awsutil.Prettify(s)
32910}
32911
32912// GoString returns the string representation
32913func (s JobBookmarksEncryption) GoString() string {
32914	return s.String()
32915}
32916
32917// SetJobBookmarksEncryptionMode sets the JobBookmarksEncryptionMode field's value.
32918func (s *JobBookmarksEncryption) SetJobBookmarksEncryptionMode(v string) *JobBookmarksEncryption {
32919	s.JobBookmarksEncryptionMode = &v
32920	return s
32921}
32922
32923// SetKmsKeyArn sets the KmsKeyArn field's value.
32924func (s *JobBookmarksEncryption) SetKmsKeyArn(v string) *JobBookmarksEncryption {
32925	s.KmsKeyArn = &v
32926	return s
32927}
32928
32929// Specifies code executed when a job is run.
32930type JobCommand struct {
32931	_ struct{} `type:"structure"`
32932
32933	// The name of the job command. For an Apache Spark ETL job, this must be glueetl.
32934	// For a Python shell job, it must be pythonshell. For an Apache Spark streaming
32935	// ETL job, this must be gluestreaming.
32936	Name *string `type:"string"`
32937
32938	// The Python version being used to execute a Python shell job. Allowed values
32939	// are 2 or 3.
32940	PythonVersion *string `type:"string"`
32941
32942	// Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
32943	// that executes a job.
32944	ScriptLocation *string `type:"string"`
32945}
32946
32947// String returns the string representation
32948func (s JobCommand) String() string {
32949	return awsutil.Prettify(s)
32950}
32951
32952// GoString returns the string representation
32953func (s JobCommand) GoString() string {
32954	return s.String()
32955}
32956
32957// SetName sets the Name field's value.
32958func (s *JobCommand) SetName(v string) *JobCommand {
32959	s.Name = &v
32960	return s
32961}
32962
32963// SetPythonVersion sets the PythonVersion field's value.
32964func (s *JobCommand) SetPythonVersion(v string) *JobCommand {
32965	s.PythonVersion = &v
32966	return s
32967}
32968
32969// SetScriptLocation sets the ScriptLocation field's value.
32970func (s *JobCommand) SetScriptLocation(v string) *JobCommand {
32971	s.ScriptLocation = &v
32972	return s
32973}
32974
32975// The details of a Job node present in the workflow.
32976type JobNodeDetails struct {
32977	_ struct{} `type:"structure"`
32978
32979	// The information for the job runs represented by the job node.
32980	JobRuns []*JobRun `type:"list"`
32981}
32982
32983// String returns the string representation
32984func (s JobNodeDetails) String() string {
32985	return awsutil.Prettify(s)
32986}
32987
32988// GoString returns the string representation
32989func (s JobNodeDetails) GoString() string {
32990	return s.String()
32991}
32992
32993// SetJobRuns sets the JobRuns field's value.
32994func (s *JobNodeDetails) SetJobRuns(v []*JobRun) *JobNodeDetails {
32995	s.JobRuns = v
32996	return s
32997}
32998
32999// Contains information about a job run.
33000type JobRun struct {
33001	_ struct{} `type:"structure"`
33002
33003	// This field is deprecated. Use MaxCapacity instead.
33004	//
33005	// The number of AWS Glue data processing units (DPUs) allocated to this JobRun.
33006	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
33007	// measure of processing power that consists of 4 vCPUs of compute capacity
33008	// and 16 GB of memory. For more information, see the AWS Glue pricing page
33009	// (https://aws.amazon.com/glue/pricing/).
33010	//
33011	// Deprecated: This property is deprecated, use MaxCapacity instead.
33012	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
33013
33014	// The job arguments associated with this run. For this job run, they replace
33015	// the default arguments set in the job definition itself.
33016	//
33017	// You can specify arguments here that your own job-execution script consumes,
33018	// as well as arguments that AWS Glue itself consumes.
33019	//
33020	// For information about how to specify and consume your own job arguments,
33021	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
33022	// topic in the developer guide.
33023	//
33024	// For information about the key-value pairs that AWS Glue consumes to set up
33025	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
33026	// topic in the developer guide.
33027	Arguments map[string]*string `type:"map"`
33028
33029	// The number of the attempt to run this job.
33030	Attempt *int64 `type:"integer"`
33031
33032	// The date and time that this job run completed.
33033	CompletedOn *time.Time `type:"timestamp"`
33034
33035	// An error message associated with this job run.
33036	ErrorMessage *string `type:"string"`
33037
33038	// The amount of time (in seconds) that the job run consumed resources.
33039	ExecutionTime *int64 `type:"integer"`
33040
33041	// Glue version determines the versions of Apache Spark and Python that AWS
33042	// Glue supports. The Python version indicates the version supported for jobs
33043	// of type Spark.
33044	//
33045	// For more information about the available AWS Glue versions and corresponding
33046	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
33047	// in the developer guide.
33048	//
33049	// Jobs that are created without specifying a Glue version default to Glue 0.9.
33050	GlueVersion *string `min:"1" type:"string"`
33051
33052	// The ID of this job run.
33053	Id *string `min:"1" type:"string"`
33054
33055	// The name of the job definition being used in this run.
33056	JobName *string `min:"1" type:"string"`
33057
33058	// The current state of the job run. For more information about the statuses
33059	// of jobs that have terminated abnormally, see AWS Glue Job Run Statuses (https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html).
33060	JobRunState *string `type:"string" enum:"JobRunState"`
33061
33062	// The last time that this job run was modified.
33063	LastModifiedOn *time.Time `type:"timestamp"`
33064
33065	// The name of the log group for secure logging that can be server-side encrypted
33066	// in Amazon CloudWatch using AWS KMS. This name can be /aws-glue/jobs/, in
33067	// which case the default encryption is NONE. If you add a role name and SecurityConfiguration
33068	// name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/),
33069	// then that security configuration is used to encrypt the log group.
33070	LogGroupName *string `type:"string"`
33071
33072	// The number of AWS Glue data processing units (DPUs) that can be allocated
33073	// when this job runs. A DPU is a relative measure of processing power that
33074	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
33075	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
33076	//
33077	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
33078	//
33079	// The value that can be allocated for MaxCapacity depends on whether you are
33080	// running a Python shell job or an Apache Spark ETL job:
33081	//
33082	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
33083	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
33084	//
33085	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
33086	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
33087	//    type cannot have a fractional DPU allocation.
33088	MaxCapacity *float64 `type:"double"`
33089
33090	// Specifies configuration properties of a job run notification.
33091	NotificationProperty *NotificationProperty `type:"structure"`
33092
33093	// The number of workers of a defined workerType that are allocated when a job
33094	// runs.
33095	//
33096	// The maximum number of workers you can define are 299 for G.1X, and 149 for
33097	// G.2X.
33098	NumberOfWorkers *int64 `type:"integer"`
33099
33100	// A list of predecessors to this job run.
33101	PredecessorRuns []*Predecessor `type:"list"`
33102
33103	// The ID of the previous run of this job. For example, the JobRunId specified
33104	// in the StartJobRun action.
33105	PreviousRunId *string `min:"1" type:"string"`
33106
33107	// The name of the SecurityConfiguration structure to be used with this job
33108	// run.
33109	SecurityConfiguration *string `min:"1" type:"string"`
33110
33111	// The date and time at which this job run was started.
33112	StartedOn *time.Time `type:"timestamp"`
33113
33114	// The JobRun timeout in minutes. This is the maximum time that a job run can
33115	// consume resources before it is terminated and enters TIMEOUT status. The
33116	// default is 2,880 minutes (48 hours). This overrides the timeout value set
33117	// in the parent job.
33118	Timeout *int64 `min:"1" type:"integer"`
33119
33120	// The name of the trigger that started this job run.
33121	TriggerName *string `min:"1" type:"string"`
33122
33123	// The type of predefined worker that is allocated when a job runs. Accepts
33124	// a value of Standard, G.1X, or G.2X.
33125	//
33126	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
33127	//    memory and a 50GB disk, and 2 executors per worker.
33128	//
33129	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
33130	//    and a 64GB disk, and 1 executor per worker.
33131	//
33132	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
33133	//    and a 128GB disk, and 1 executor per worker.
33134	WorkerType *string `type:"string" enum:"WorkerType"`
33135}
33136
33137// String returns the string representation
33138func (s JobRun) String() string {
33139	return awsutil.Prettify(s)
33140}
33141
33142// GoString returns the string representation
33143func (s JobRun) GoString() string {
33144	return s.String()
33145}
33146
33147// SetAllocatedCapacity sets the AllocatedCapacity field's value.
33148func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun {
33149	s.AllocatedCapacity = &v
33150	return s
33151}
33152
33153// SetArguments sets the Arguments field's value.
33154func (s *JobRun) SetArguments(v map[string]*string) *JobRun {
33155	s.Arguments = v
33156	return s
33157}
33158
33159// SetAttempt sets the Attempt field's value.
33160func (s *JobRun) SetAttempt(v int64) *JobRun {
33161	s.Attempt = &v
33162	return s
33163}
33164
33165// SetCompletedOn sets the CompletedOn field's value.
33166func (s *JobRun) SetCompletedOn(v time.Time) *JobRun {
33167	s.CompletedOn = &v
33168	return s
33169}
33170
33171// SetErrorMessage sets the ErrorMessage field's value.
33172func (s *JobRun) SetErrorMessage(v string) *JobRun {
33173	s.ErrorMessage = &v
33174	return s
33175}
33176
33177// SetExecutionTime sets the ExecutionTime field's value.
33178func (s *JobRun) SetExecutionTime(v int64) *JobRun {
33179	s.ExecutionTime = &v
33180	return s
33181}
33182
33183// SetGlueVersion sets the GlueVersion field's value.
33184func (s *JobRun) SetGlueVersion(v string) *JobRun {
33185	s.GlueVersion = &v
33186	return s
33187}
33188
33189// SetId sets the Id field's value.
33190func (s *JobRun) SetId(v string) *JobRun {
33191	s.Id = &v
33192	return s
33193}
33194
33195// SetJobName sets the JobName field's value.
33196func (s *JobRun) SetJobName(v string) *JobRun {
33197	s.JobName = &v
33198	return s
33199}
33200
33201// SetJobRunState sets the JobRunState field's value.
33202func (s *JobRun) SetJobRunState(v string) *JobRun {
33203	s.JobRunState = &v
33204	return s
33205}
33206
33207// SetLastModifiedOn sets the LastModifiedOn field's value.
33208func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun {
33209	s.LastModifiedOn = &v
33210	return s
33211}
33212
33213// SetLogGroupName sets the LogGroupName field's value.
33214func (s *JobRun) SetLogGroupName(v string) *JobRun {
33215	s.LogGroupName = &v
33216	return s
33217}
33218
33219// SetMaxCapacity sets the MaxCapacity field's value.
33220func (s *JobRun) SetMaxCapacity(v float64) *JobRun {
33221	s.MaxCapacity = &v
33222	return s
33223}
33224
33225// SetNotificationProperty sets the NotificationProperty field's value.
33226func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun {
33227	s.NotificationProperty = v
33228	return s
33229}
33230
33231// SetNumberOfWorkers sets the NumberOfWorkers field's value.
33232func (s *JobRun) SetNumberOfWorkers(v int64) *JobRun {
33233	s.NumberOfWorkers = &v
33234	return s
33235}
33236
33237// SetPredecessorRuns sets the PredecessorRuns field's value.
33238func (s *JobRun) SetPredecessorRuns(v []*Predecessor) *JobRun {
33239	s.PredecessorRuns = v
33240	return s
33241}
33242
33243// SetPreviousRunId sets the PreviousRunId field's value.
33244func (s *JobRun) SetPreviousRunId(v string) *JobRun {
33245	s.PreviousRunId = &v
33246	return s
33247}
33248
33249// SetSecurityConfiguration sets the SecurityConfiguration field's value.
33250func (s *JobRun) SetSecurityConfiguration(v string) *JobRun {
33251	s.SecurityConfiguration = &v
33252	return s
33253}
33254
33255// SetStartedOn sets the StartedOn field's value.
33256func (s *JobRun) SetStartedOn(v time.Time) *JobRun {
33257	s.StartedOn = &v
33258	return s
33259}
33260
33261// SetTimeout sets the Timeout field's value.
33262func (s *JobRun) SetTimeout(v int64) *JobRun {
33263	s.Timeout = &v
33264	return s
33265}
33266
33267// SetTriggerName sets the TriggerName field's value.
33268func (s *JobRun) SetTriggerName(v string) *JobRun {
33269	s.TriggerName = &v
33270	return s
33271}
33272
33273// SetWorkerType sets the WorkerType field's value.
33274func (s *JobRun) SetWorkerType(v string) *JobRun {
33275	s.WorkerType = &v
33276	return s
33277}
33278
33279// Specifies information used to update an existing job definition. The previous
33280// job definition is completely overwritten by this information.
33281type JobUpdate struct {
33282	_ struct{} `type:"structure"`
33283
33284	// This field is deprecated. Use MaxCapacity instead.
33285	//
33286	// The number of AWS Glue data processing units (DPUs) to allocate to this job.
33287	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
33288	// measure of processing power that consists of 4 vCPUs of compute capacity
33289	// and 16 GB of memory. For more information, see the AWS Glue pricing page
33290	// (https://aws.amazon.com/glue/pricing/).
33291	//
33292	// Deprecated: This property is deprecated, use MaxCapacity instead.
33293	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
33294
33295	// The JobCommand that executes this job (required).
33296	Command *JobCommand `type:"structure"`
33297
33298	// The connections used for this job.
33299	Connections *ConnectionsList `type:"structure"`
33300
33301	// The default arguments for this job.
33302	//
33303	// You can specify arguments here that your own job-execution script consumes,
33304	// as well as arguments that AWS Glue itself consumes.
33305	//
33306	// For information about how to specify and consume your own Job arguments,
33307	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
33308	// topic in the developer guide.
33309	//
33310	// For information about the key-value pairs that AWS Glue consumes to set up
33311	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
33312	// topic in the developer guide.
33313	DefaultArguments map[string]*string `type:"map"`
33314
33315	// Description of the job being defined.
33316	Description *string `type:"string"`
33317
33318	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
33319	// for this job.
33320	ExecutionProperty *ExecutionProperty `type:"structure"`
33321
33322	// Glue version determines the versions of Apache Spark and Python that AWS
33323	// Glue supports. The Python version indicates the version supported for jobs
33324	// of type Spark.
33325	//
33326	// For more information about the available AWS Glue versions and corresponding
33327	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
33328	// in the developer guide.
33329	GlueVersion *string `min:"1" type:"string"`
33330
33331	// This field is reserved for future use.
33332	LogUri *string `type:"string"`
33333
33334	// The number of AWS Glue data processing units (DPUs) that can be allocated
33335	// when this job runs. A DPU is a relative measure of processing power that
33336	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
33337	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
33338	//
33339	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
33340	//
33341	// The value that can be allocated for MaxCapacity depends on whether you are
33342	// running a Python shell job or an Apache Spark ETL job:
33343	//
33344	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
33345	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
33346	//
33347	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl")
33348	//    or Apache Spark streaming ETL job (JobCommand.Name="gluestreaming"), you
33349	//    can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type
33350	//    cannot have a fractional DPU allocation.
33351	MaxCapacity *float64 `type:"double"`
33352
33353	// The maximum number of times to retry this job if it fails.
33354	MaxRetries *int64 `type:"integer"`
33355
33356	// Non-overridable arguments for this job, specified as name-value pairs.
33357	NonOverridableArguments map[string]*string `type:"map"`
33358
33359	// Specifies the configuration properties of a job notification.
33360	NotificationProperty *NotificationProperty `type:"structure"`
33361
33362	// The number of workers of a defined workerType that are allocated when a job
33363	// runs.
33364	//
33365	// The maximum number of workers you can define are 299 for G.1X, and 149 for
33366	// G.2X.
33367	NumberOfWorkers *int64 `type:"integer"`
33368
33369	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
33370	// job (required).
33371	Role *string `type:"string"`
33372
33373	// The name of the SecurityConfiguration structure to be used with this job.
33374	SecurityConfiguration *string `min:"1" type:"string"`
33375
33376	// The job timeout in minutes. This is the maximum time that a job run can consume
33377	// resources before it is terminated and enters TIMEOUT status. The default
33378	// is 2,880 minutes (48 hours).
33379	Timeout *int64 `min:"1" type:"integer"`
33380
33381	// The type of predefined worker that is allocated when a job runs. Accepts
33382	// a value of Standard, G.1X, or G.2X.
33383	//
33384	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
33385	//    memory and a 50GB disk, and 2 executors per worker.
33386	//
33387	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
33388	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
33389	//    this worker type for memory-intensive jobs.
33390	//
33391	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
33392	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
33393	//    this worker type for memory-intensive jobs.
33394	WorkerType *string `type:"string" enum:"WorkerType"`
33395}
33396
33397// String returns the string representation
33398func (s JobUpdate) String() string {
33399	return awsutil.Prettify(s)
33400}
33401
33402// GoString returns the string representation
33403func (s JobUpdate) GoString() string {
33404	return s.String()
33405}
33406
33407// Validate inspects the fields of the type to determine if they are valid.
33408func (s *JobUpdate) Validate() error {
33409	invalidParams := request.ErrInvalidParams{Context: "JobUpdate"}
33410	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
33411		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
33412	}
33413	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
33414		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
33415	}
33416	if s.Timeout != nil && *s.Timeout < 1 {
33417		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
33418	}
33419	if s.NotificationProperty != nil {
33420		if err := s.NotificationProperty.Validate(); err != nil {
33421			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
33422		}
33423	}
33424
33425	if invalidParams.Len() > 0 {
33426		return invalidParams
33427	}
33428	return nil
33429}
33430
33431// SetAllocatedCapacity sets the AllocatedCapacity field's value.
33432func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate {
33433	s.AllocatedCapacity = &v
33434	return s
33435}
33436
33437// SetCommand sets the Command field's value.
33438func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate {
33439	s.Command = v
33440	return s
33441}
33442
33443// SetConnections sets the Connections field's value.
33444func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate {
33445	s.Connections = v
33446	return s
33447}
33448
33449// SetDefaultArguments sets the DefaultArguments field's value.
33450func (s *JobUpdate) SetDefaultArguments(v map[string]*string) *JobUpdate {
33451	s.DefaultArguments = v
33452	return s
33453}
33454
33455// SetDescription sets the Description field's value.
33456func (s *JobUpdate) SetDescription(v string) *JobUpdate {
33457	s.Description = &v
33458	return s
33459}
33460
33461// SetExecutionProperty sets the ExecutionProperty field's value.
33462func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate {
33463	s.ExecutionProperty = v
33464	return s
33465}
33466
33467// SetGlueVersion sets the GlueVersion field's value.
33468func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate {
33469	s.GlueVersion = &v
33470	return s
33471}
33472
33473// SetLogUri sets the LogUri field's value.
33474func (s *JobUpdate) SetLogUri(v string) *JobUpdate {
33475	s.LogUri = &v
33476	return s
33477}
33478
33479// SetMaxCapacity sets the MaxCapacity field's value.
33480func (s *JobUpdate) SetMaxCapacity(v float64) *JobUpdate {
33481	s.MaxCapacity = &v
33482	return s
33483}
33484
33485// SetMaxRetries sets the MaxRetries field's value.
33486func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate {
33487	s.MaxRetries = &v
33488	return s
33489}
33490
33491// SetNonOverridableArguments sets the NonOverridableArguments field's value.
33492func (s *JobUpdate) SetNonOverridableArguments(v map[string]*string) *JobUpdate {
33493	s.NonOverridableArguments = v
33494	return s
33495}
33496
33497// SetNotificationProperty sets the NotificationProperty field's value.
33498func (s *JobUpdate) SetNotificationProperty(v *NotificationProperty) *JobUpdate {
33499	s.NotificationProperty = v
33500	return s
33501}
33502
33503// SetNumberOfWorkers sets the NumberOfWorkers field's value.
33504func (s *JobUpdate) SetNumberOfWorkers(v int64) *JobUpdate {
33505	s.NumberOfWorkers = &v
33506	return s
33507}
33508
33509// SetRole sets the Role field's value.
33510func (s *JobUpdate) SetRole(v string) *JobUpdate {
33511	s.Role = &v
33512	return s
33513}
33514
33515// SetSecurityConfiguration sets the SecurityConfiguration field's value.
33516func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate {
33517	s.SecurityConfiguration = &v
33518	return s
33519}
33520
33521// SetTimeout sets the Timeout field's value.
33522func (s *JobUpdate) SetTimeout(v int64) *JobUpdate {
33523	s.Timeout = &v
33524	return s
33525}
33526
33527// SetWorkerType sets the WorkerType field's value.
33528func (s *JobUpdate) SetWorkerType(v string) *JobUpdate {
33529	s.WorkerType = &v
33530	return s
33531}
33532
33533// A classifier for JSON content.
33534type JsonClassifier struct {
33535	_ struct{} `type:"structure"`
33536
33537	// The time that this classifier was registered.
33538	CreationTime *time.Time `type:"timestamp"`
33539
33540	// A JsonPath string defining the JSON data for the classifier to classify.
33541	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
33542	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
33543	//
33544	// JsonPath is a required field
33545	JsonPath *string `type:"string" required:"true"`
33546
33547	// The time that this classifier was last updated.
33548	LastUpdated *time.Time `type:"timestamp"`
33549
33550	// The name of the classifier.
33551	//
33552	// Name is a required field
33553	Name *string `min:"1" type:"string" required:"true"`
33554
33555	// The version of this classifier.
33556	Version *int64 `type:"long"`
33557}
33558
33559// String returns the string representation
33560func (s JsonClassifier) String() string {
33561	return awsutil.Prettify(s)
33562}
33563
33564// GoString returns the string representation
33565func (s JsonClassifier) GoString() string {
33566	return s.String()
33567}
33568
33569// SetCreationTime sets the CreationTime field's value.
33570func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier {
33571	s.CreationTime = &v
33572	return s
33573}
33574
33575// SetJsonPath sets the JsonPath field's value.
33576func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier {
33577	s.JsonPath = &v
33578	return s
33579}
33580
33581// SetLastUpdated sets the LastUpdated field's value.
33582func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier {
33583	s.LastUpdated = &v
33584	return s
33585}
33586
33587// SetName sets the Name field's value.
33588func (s *JsonClassifier) SetName(v string) *JsonClassifier {
33589	s.Name = &v
33590	return s
33591}
33592
33593// SetVersion sets the Version field's value.
33594func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier {
33595	s.Version = &v
33596	return s
33597}
33598
33599// A partition key pair consisting of a name and a type.
33600type KeySchemaElement struct {
33601	_ struct{} `type:"structure"`
33602
33603	// The name of a partition key.
33604	//
33605	// Name is a required field
33606	Name *string `min:"1" type:"string" required:"true"`
33607
33608	// The type of a partition key.
33609	//
33610	// Type is a required field
33611	Type *string `type:"string" required:"true"`
33612}
33613
33614// String returns the string representation
33615func (s KeySchemaElement) String() string {
33616	return awsutil.Prettify(s)
33617}
33618
33619// GoString returns the string representation
33620func (s KeySchemaElement) GoString() string {
33621	return s.String()
33622}
33623
33624// SetName sets the Name field's value.
33625func (s *KeySchemaElement) SetName(v string) *KeySchemaElement {
33626	s.Name = &v
33627	return s
33628}
33629
33630// SetType sets the Type field's value.
33631func (s *KeySchemaElement) SetType(v string) *KeySchemaElement {
33632	s.Type = &v
33633	return s
33634}
33635
33636// Specifies configuration properties for a labeling set generation task run.
33637type LabelingSetGenerationTaskRunProperties struct {
33638	_ struct{} `type:"structure"`
33639
33640	// The Amazon Simple Storage Service (Amazon S3) path where you will generate
33641	// the labeling set.
33642	OutputS3Path *string `type:"string"`
33643}
33644
33645// String returns the string representation
33646func (s LabelingSetGenerationTaskRunProperties) String() string {
33647	return awsutil.Prettify(s)
33648}
33649
33650// GoString returns the string representation
33651func (s LabelingSetGenerationTaskRunProperties) GoString() string {
33652	return s.String()
33653}
33654
33655// SetOutputS3Path sets the OutputS3Path field's value.
33656func (s *LabelingSetGenerationTaskRunProperties) SetOutputS3Path(v string) *LabelingSetGenerationTaskRunProperties {
33657	s.OutputS3Path = &v
33658	return s
33659}
33660
33661// Status and error information about the most recent crawl.
33662type LastCrawlInfo struct {
33663	_ struct{} `type:"structure"`
33664
33665	// If an error occurred, the error information about the last crawl.
33666	ErrorMessage *string `type:"string"`
33667
33668	// The log group for the last crawl.
33669	LogGroup *string `min:"1" type:"string"`
33670
33671	// The log stream for the last crawl.
33672	LogStream *string `min:"1" type:"string"`
33673
33674	// The prefix for a message about this crawl.
33675	MessagePrefix *string `min:"1" type:"string"`
33676
33677	// The time at which the crawl started.
33678	StartTime *time.Time `type:"timestamp"`
33679
33680	// Status of the last crawl.
33681	Status *string `type:"string" enum:"LastCrawlStatus"`
33682}
33683
33684// String returns the string representation
33685func (s LastCrawlInfo) String() string {
33686	return awsutil.Prettify(s)
33687}
33688
33689// GoString returns the string representation
33690func (s LastCrawlInfo) GoString() string {
33691	return s.String()
33692}
33693
33694// SetErrorMessage sets the ErrorMessage field's value.
33695func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo {
33696	s.ErrorMessage = &v
33697	return s
33698}
33699
33700// SetLogGroup sets the LogGroup field's value.
33701func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo {
33702	s.LogGroup = &v
33703	return s
33704}
33705
33706// SetLogStream sets the LogStream field's value.
33707func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo {
33708	s.LogStream = &v
33709	return s
33710}
33711
33712// SetMessagePrefix sets the MessagePrefix field's value.
33713func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo {
33714	s.MessagePrefix = &v
33715	return s
33716}
33717
33718// SetStartTime sets the StartTime field's value.
33719func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo {
33720	s.StartTime = &v
33721	return s
33722}
33723
33724// SetStatus sets the Status field's value.
33725func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo {
33726	s.Status = &v
33727	return s
33728}
33729
33730// Specifies data lineage configuration settings for the crawler.
33731type LineageConfiguration struct {
33732	_ struct{} `type:"structure"`
33733
33734	// Specifies whether data lineage is enabled for the crawler. Valid values are:
33735	//
33736	//    * ENABLE: enables data lineage for the crawler
33737	//
33738	//    * DISABLE: disables data lineage for the crawler
33739	CrawlerLineageSettings *string `type:"string" enum:"CrawlerLineageSettings"`
33740}
33741
33742// String returns the string representation
33743func (s LineageConfiguration) String() string {
33744	return awsutil.Prettify(s)
33745}
33746
33747// GoString returns the string representation
33748func (s LineageConfiguration) GoString() string {
33749	return s.String()
33750}
33751
33752// SetCrawlerLineageSettings sets the CrawlerLineageSettings field's value.
33753func (s *LineageConfiguration) SetCrawlerLineageSettings(v string) *LineageConfiguration {
33754	s.CrawlerLineageSettings = &v
33755	return s
33756}
33757
33758type ListCrawlersInput struct {
33759	_ struct{} `type:"structure"`
33760
33761	// The maximum size of a list to return.
33762	MaxResults *int64 `min:"1" type:"integer"`
33763
33764	// A continuation token, if this is a continuation request.
33765	NextToken *string `type:"string"`
33766
33767	// Specifies to return only these tagged resources.
33768	Tags map[string]*string `type:"map"`
33769}
33770
33771// String returns the string representation
33772func (s ListCrawlersInput) String() string {
33773	return awsutil.Prettify(s)
33774}
33775
33776// GoString returns the string representation
33777func (s ListCrawlersInput) GoString() string {
33778	return s.String()
33779}
33780
33781// Validate inspects the fields of the type to determine if they are valid.
33782func (s *ListCrawlersInput) Validate() error {
33783	invalidParams := request.ErrInvalidParams{Context: "ListCrawlersInput"}
33784	if s.MaxResults != nil && *s.MaxResults < 1 {
33785		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33786	}
33787
33788	if invalidParams.Len() > 0 {
33789		return invalidParams
33790	}
33791	return nil
33792}
33793
33794// SetMaxResults sets the MaxResults field's value.
33795func (s *ListCrawlersInput) SetMaxResults(v int64) *ListCrawlersInput {
33796	s.MaxResults = &v
33797	return s
33798}
33799
33800// SetNextToken sets the NextToken field's value.
33801func (s *ListCrawlersInput) SetNextToken(v string) *ListCrawlersInput {
33802	s.NextToken = &v
33803	return s
33804}
33805
33806// SetTags sets the Tags field's value.
33807func (s *ListCrawlersInput) SetTags(v map[string]*string) *ListCrawlersInput {
33808	s.Tags = v
33809	return s
33810}
33811
33812type ListCrawlersOutput struct {
33813	_ struct{} `type:"structure"`
33814
33815	// The names of all crawlers in the account, or the crawlers with the specified
33816	// tags.
33817	CrawlerNames []*string `type:"list"`
33818
33819	// A continuation token, if the returned list does not contain the last metric
33820	// available.
33821	NextToken *string `type:"string"`
33822}
33823
33824// String returns the string representation
33825func (s ListCrawlersOutput) String() string {
33826	return awsutil.Prettify(s)
33827}
33828
33829// GoString returns the string representation
33830func (s ListCrawlersOutput) GoString() string {
33831	return s.String()
33832}
33833
33834// SetCrawlerNames sets the CrawlerNames field's value.
33835func (s *ListCrawlersOutput) SetCrawlerNames(v []*string) *ListCrawlersOutput {
33836	s.CrawlerNames = v
33837	return s
33838}
33839
33840// SetNextToken sets the NextToken field's value.
33841func (s *ListCrawlersOutput) SetNextToken(v string) *ListCrawlersOutput {
33842	s.NextToken = &v
33843	return s
33844}
33845
33846type ListDevEndpointsInput struct {
33847	_ struct{} `type:"structure"`
33848
33849	// The maximum size of a list to return.
33850	MaxResults *int64 `min:"1" type:"integer"`
33851
33852	// A continuation token, if this is a continuation request.
33853	NextToken *string `type:"string"`
33854
33855	// Specifies to return only these tagged resources.
33856	Tags map[string]*string `type:"map"`
33857}
33858
33859// String returns the string representation
33860func (s ListDevEndpointsInput) String() string {
33861	return awsutil.Prettify(s)
33862}
33863
33864// GoString returns the string representation
33865func (s ListDevEndpointsInput) GoString() string {
33866	return s.String()
33867}
33868
33869// Validate inspects the fields of the type to determine if they are valid.
33870func (s *ListDevEndpointsInput) Validate() error {
33871	invalidParams := request.ErrInvalidParams{Context: "ListDevEndpointsInput"}
33872	if s.MaxResults != nil && *s.MaxResults < 1 {
33873		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33874	}
33875
33876	if invalidParams.Len() > 0 {
33877		return invalidParams
33878	}
33879	return nil
33880}
33881
33882// SetMaxResults sets the MaxResults field's value.
33883func (s *ListDevEndpointsInput) SetMaxResults(v int64) *ListDevEndpointsInput {
33884	s.MaxResults = &v
33885	return s
33886}
33887
33888// SetNextToken sets the NextToken field's value.
33889func (s *ListDevEndpointsInput) SetNextToken(v string) *ListDevEndpointsInput {
33890	s.NextToken = &v
33891	return s
33892}
33893
33894// SetTags sets the Tags field's value.
33895func (s *ListDevEndpointsInput) SetTags(v map[string]*string) *ListDevEndpointsInput {
33896	s.Tags = v
33897	return s
33898}
33899
33900type ListDevEndpointsOutput struct {
33901	_ struct{} `type:"structure"`
33902
33903	// The names of all the DevEndpoints in the account, or the DevEndpoints with
33904	// the specified tags.
33905	DevEndpointNames []*string `type:"list"`
33906
33907	// A continuation token, if the returned list does not contain the last metric
33908	// available.
33909	NextToken *string `type:"string"`
33910}
33911
33912// String returns the string representation
33913func (s ListDevEndpointsOutput) String() string {
33914	return awsutil.Prettify(s)
33915}
33916
33917// GoString returns the string representation
33918func (s ListDevEndpointsOutput) GoString() string {
33919	return s.String()
33920}
33921
33922// SetDevEndpointNames sets the DevEndpointNames field's value.
33923func (s *ListDevEndpointsOutput) SetDevEndpointNames(v []*string) *ListDevEndpointsOutput {
33924	s.DevEndpointNames = v
33925	return s
33926}
33927
33928// SetNextToken sets the NextToken field's value.
33929func (s *ListDevEndpointsOutput) SetNextToken(v string) *ListDevEndpointsOutput {
33930	s.NextToken = &v
33931	return s
33932}
33933
33934type ListJobsInput struct {
33935	_ struct{} `type:"structure"`
33936
33937	// The maximum size of a list to return.
33938	MaxResults *int64 `min:"1" type:"integer"`
33939
33940	// A continuation token, if this is a continuation request.
33941	NextToken *string `type:"string"`
33942
33943	// Specifies to return only these tagged resources.
33944	Tags map[string]*string `type:"map"`
33945}
33946
33947// String returns the string representation
33948func (s ListJobsInput) String() string {
33949	return awsutil.Prettify(s)
33950}
33951
33952// GoString returns the string representation
33953func (s ListJobsInput) GoString() string {
33954	return s.String()
33955}
33956
33957// Validate inspects the fields of the type to determine if they are valid.
33958func (s *ListJobsInput) Validate() error {
33959	invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"}
33960	if s.MaxResults != nil && *s.MaxResults < 1 {
33961		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33962	}
33963
33964	if invalidParams.Len() > 0 {
33965		return invalidParams
33966	}
33967	return nil
33968}
33969
33970// SetMaxResults sets the MaxResults field's value.
33971func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput {
33972	s.MaxResults = &v
33973	return s
33974}
33975
33976// SetNextToken sets the NextToken field's value.
33977func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
33978	s.NextToken = &v
33979	return s
33980}
33981
33982// SetTags sets the Tags field's value.
33983func (s *ListJobsInput) SetTags(v map[string]*string) *ListJobsInput {
33984	s.Tags = v
33985	return s
33986}
33987
33988type ListJobsOutput struct {
33989	_ struct{} `type:"structure"`
33990
33991	// The names of all jobs in the account, or the jobs with the specified tags.
33992	JobNames []*string `type:"list"`
33993
33994	// A continuation token, if the returned list does not contain the last metric
33995	// available.
33996	NextToken *string `type:"string"`
33997}
33998
33999// String returns the string representation
34000func (s ListJobsOutput) String() string {
34001	return awsutil.Prettify(s)
34002}
34003
34004// GoString returns the string representation
34005func (s ListJobsOutput) GoString() string {
34006	return s.String()
34007}
34008
34009// SetJobNames sets the JobNames field's value.
34010func (s *ListJobsOutput) SetJobNames(v []*string) *ListJobsOutput {
34011	s.JobNames = v
34012	return s
34013}
34014
34015// SetNextToken sets the NextToken field's value.
34016func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
34017	s.NextToken = &v
34018	return s
34019}
34020
34021type ListMLTransformsInput struct {
34022	_ struct{} `type:"structure"`
34023
34024	// A TransformFilterCriteria used to filter the machine learning transforms.
34025	Filter *TransformFilterCriteria `type:"structure"`
34026
34027	// The maximum size of a list to return.
34028	MaxResults *int64 `min:"1" type:"integer"`
34029
34030	// A continuation token, if this is a continuation request.
34031	NextToken *string `type:"string"`
34032
34033	// A TransformSortCriteria used to sort the machine learning transforms.
34034	Sort *TransformSortCriteria `type:"structure"`
34035
34036	// Specifies to return only these tagged resources.
34037	Tags map[string]*string `type:"map"`
34038}
34039
34040// String returns the string representation
34041func (s ListMLTransformsInput) String() string {
34042	return awsutil.Prettify(s)
34043}
34044
34045// GoString returns the string representation
34046func (s ListMLTransformsInput) GoString() string {
34047	return s.String()
34048}
34049
34050// Validate inspects the fields of the type to determine if they are valid.
34051func (s *ListMLTransformsInput) Validate() error {
34052	invalidParams := request.ErrInvalidParams{Context: "ListMLTransformsInput"}
34053	if s.MaxResults != nil && *s.MaxResults < 1 {
34054		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34055	}
34056	if s.Filter != nil {
34057		if err := s.Filter.Validate(); err != nil {
34058			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
34059		}
34060	}
34061	if s.Sort != nil {
34062		if err := s.Sort.Validate(); err != nil {
34063			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
34064		}
34065	}
34066
34067	if invalidParams.Len() > 0 {
34068		return invalidParams
34069	}
34070	return nil
34071}
34072
34073// SetFilter sets the Filter field's value.
34074func (s *ListMLTransformsInput) SetFilter(v *TransformFilterCriteria) *ListMLTransformsInput {
34075	s.Filter = v
34076	return s
34077}
34078
34079// SetMaxResults sets the MaxResults field's value.
34080func (s *ListMLTransformsInput) SetMaxResults(v int64) *ListMLTransformsInput {
34081	s.MaxResults = &v
34082	return s
34083}
34084
34085// SetNextToken sets the NextToken field's value.
34086func (s *ListMLTransformsInput) SetNextToken(v string) *ListMLTransformsInput {
34087	s.NextToken = &v
34088	return s
34089}
34090
34091// SetSort sets the Sort field's value.
34092func (s *ListMLTransformsInput) SetSort(v *TransformSortCriteria) *ListMLTransformsInput {
34093	s.Sort = v
34094	return s
34095}
34096
34097// SetTags sets the Tags field's value.
34098func (s *ListMLTransformsInput) SetTags(v map[string]*string) *ListMLTransformsInput {
34099	s.Tags = v
34100	return s
34101}
34102
34103type ListMLTransformsOutput struct {
34104	_ struct{} `type:"structure"`
34105
34106	// A continuation token, if the returned list does not contain the last metric
34107	// available.
34108	NextToken *string `type:"string"`
34109
34110	// The identifiers of all the machine learning transforms in the account, or
34111	// the machine learning transforms with the specified tags.
34112	//
34113	// TransformIds is a required field
34114	TransformIds []*string `type:"list" required:"true"`
34115}
34116
34117// String returns the string representation
34118func (s ListMLTransformsOutput) String() string {
34119	return awsutil.Prettify(s)
34120}
34121
34122// GoString returns the string representation
34123func (s ListMLTransformsOutput) GoString() string {
34124	return s.String()
34125}
34126
34127// SetNextToken sets the NextToken field's value.
34128func (s *ListMLTransformsOutput) SetNextToken(v string) *ListMLTransformsOutput {
34129	s.NextToken = &v
34130	return s
34131}
34132
34133// SetTransformIds sets the TransformIds field's value.
34134func (s *ListMLTransformsOutput) SetTransformIds(v []*string) *ListMLTransformsOutput {
34135	s.TransformIds = v
34136	return s
34137}
34138
34139type ListRegistriesInput struct {
34140	_ struct{} `type:"structure"`
34141
34142	// Maximum number of results required per page. If the value is not supplied,
34143	// this will be defaulted to 25 per page.
34144	MaxResults *int64 `min:"1" type:"integer"`
34145
34146	// A continuation token, if this is a continuation call.
34147	NextToken *string `type:"string"`
34148}
34149
34150// String returns the string representation
34151func (s ListRegistriesInput) String() string {
34152	return awsutil.Prettify(s)
34153}
34154
34155// GoString returns the string representation
34156func (s ListRegistriesInput) GoString() string {
34157	return s.String()
34158}
34159
34160// Validate inspects the fields of the type to determine if they are valid.
34161func (s *ListRegistriesInput) Validate() error {
34162	invalidParams := request.ErrInvalidParams{Context: "ListRegistriesInput"}
34163	if s.MaxResults != nil && *s.MaxResults < 1 {
34164		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34165	}
34166
34167	if invalidParams.Len() > 0 {
34168		return invalidParams
34169	}
34170	return nil
34171}
34172
34173// SetMaxResults sets the MaxResults field's value.
34174func (s *ListRegistriesInput) SetMaxResults(v int64) *ListRegistriesInput {
34175	s.MaxResults = &v
34176	return s
34177}
34178
34179// SetNextToken sets the NextToken field's value.
34180func (s *ListRegistriesInput) SetNextToken(v string) *ListRegistriesInput {
34181	s.NextToken = &v
34182	return s
34183}
34184
34185type ListRegistriesOutput struct {
34186	_ struct{} `type:"structure"`
34187
34188	// A continuation token for paginating the returned list of tokens, returned
34189	// if the current segment of the list is not the last.
34190	NextToken *string `type:"string"`
34191
34192	// An array of RegistryDetailedListItem objects containing minimal details of
34193	// each registry.
34194	Registries []*RegistryListItem `type:"list"`
34195}
34196
34197// String returns the string representation
34198func (s ListRegistriesOutput) String() string {
34199	return awsutil.Prettify(s)
34200}
34201
34202// GoString returns the string representation
34203func (s ListRegistriesOutput) GoString() string {
34204	return s.String()
34205}
34206
34207// SetNextToken sets the NextToken field's value.
34208func (s *ListRegistriesOutput) SetNextToken(v string) *ListRegistriesOutput {
34209	s.NextToken = &v
34210	return s
34211}
34212
34213// SetRegistries sets the Registries field's value.
34214func (s *ListRegistriesOutput) SetRegistries(v []*RegistryListItem) *ListRegistriesOutput {
34215	s.Registries = v
34216	return s
34217}
34218
34219type ListSchemaVersionsInput struct {
34220	_ struct{} `type:"structure"`
34221
34222	// Maximum number of results required per page. If the value is not supplied,
34223	// this will be defaulted to 25 per page.
34224	MaxResults *int64 `min:"1" type:"integer"`
34225
34226	// A continuation token, if this is a continuation call.
34227	NextToken *string `type:"string"`
34228
34229	// This is a wrapper structure to contain schema identity fields. The structure
34230	// contains:
34231	//
34232	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
34233	//    SchemaArn or SchemaName and RegistryName has to be provided.
34234	//
34235	//    * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName
34236	//    and RegistryName has to be provided.
34237	//
34238	// SchemaId is a required field
34239	SchemaId *SchemaId `type:"structure" required:"true"`
34240}
34241
34242// String returns the string representation
34243func (s ListSchemaVersionsInput) String() string {
34244	return awsutil.Prettify(s)
34245}
34246
34247// GoString returns the string representation
34248func (s ListSchemaVersionsInput) GoString() string {
34249	return s.String()
34250}
34251
34252// Validate inspects the fields of the type to determine if they are valid.
34253func (s *ListSchemaVersionsInput) Validate() error {
34254	invalidParams := request.ErrInvalidParams{Context: "ListSchemaVersionsInput"}
34255	if s.MaxResults != nil && *s.MaxResults < 1 {
34256		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34257	}
34258	if s.SchemaId == nil {
34259		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
34260	}
34261	if s.SchemaId != nil {
34262		if err := s.SchemaId.Validate(); err != nil {
34263			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
34264		}
34265	}
34266
34267	if invalidParams.Len() > 0 {
34268		return invalidParams
34269	}
34270	return nil
34271}
34272
34273// SetMaxResults sets the MaxResults field's value.
34274func (s *ListSchemaVersionsInput) SetMaxResults(v int64) *ListSchemaVersionsInput {
34275	s.MaxResults = &v
34276	return s
34277}
34278
34279// SetNextToken sets the NextToken field's value.
34280func (s *ListSchemaVersionsInput) SetNextToken(v string) *ListSchemaVersionsInput {
34281	s.NextToken = &v
34282	return s
34283}
34284
34285// SetSchemaId sets the SchemaId field's value.
34286func (s *ListSchemaVersionsInput) SetSchemaId(v *SchemaId) *ListSchemaVersionsInput {
34287	s.SchemaId = v
34288	return s
34289}
34290
34291type ListSchemaVersionsOutput struct {
34292	_ struct{} `type:"structure"`
34293
34294	// A continuation token for paginating the returned list of tokens, returned
34295	// if the current segment of the list is not the last.
34296	NextToken *string `type:"string"`
34297
34298	// An array of SchemaVersionList objects containing details of each schema version.
34299	Schemas []*SchemaVersionListItem `type:"list"`
34300}
34301
34302// String returns the string representation
34303func (s ListSchemaVersionsOutput) String() string {
34304	return awsutil.Prettify(s)
34305}
34306
34307// GoString returns the string representation
34308func (s ListSchemaVersionsOutput) GoString() string {
34309	return s.String()
34310}
34311
34312// SetNextToken sets the NextToken field's value.
34313func (s *ListSchemaVersionsOutput) SetNextToken(v string) *ListSchemaVersionsOutput {
34314	s.NextToken = &v
34315	return s
34316}
34317
34318// SetSchemas sets the Schemas field's value.
34319func (s *ListSchemaVersionsOutput) SetSchemas(v []*SchemaVersionListItem) *ListSchemaVersionsOutput {
34320	s.Schemas = v
34321	return s
34322}
34323
34324type ListSchemasInput struct {
34325	_ struct{} `type:"structure"`
34326
34327	// Maximum number of results required per page. If the value is not supplied,
34328	// this will be defaulted to 25 per page.
34329	MaxResults *int64 `min:"1" type:"integer"`
34330
34331	// A continuation token, if this is a continuation call.
34332	NextToken *string `type:"string"`
34333
34334	// A wrapper structure that may contain the registry name and Amazon Resource
34335	// Name (ARN).
34336	RegistryId *RegistryId `type:"structure"`
34337}
34338
34339// String returns the string representation
34340func (s ListSchemasInput) String() string {
34341	return awsutil.Prettify(s)
34342}
34343
34344// GoString returns the string representation
34345func (s ListSchemasInput) GoString() string {
34346	return s.String()
34347}
34348
34349// Validate inspects the fields of the type to determine if they are valid.
34350func (s *ListSchemasInput) Validate() error {
34351	invalidParams := request.ErrInvalidParams{Context: "ListSchemasInput"}
34352	if s.MaxResults != nil && *s.MaxResults < 1 {
34353		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34354	}
34355	if s.RegistryId != nil {
34356		if err := s.RegistryId.Validate(); err != nil {
34357			invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams))
34358		}
34359	}
34360
34361	if invalidParams.Len() > 0 {
34362		return invalidParams
34363	}
34364	return nil
34365}
34366
34367// SetMaxResults sets the MaxResults field's value.
34368func (s *ListSchemasInput) SetMaxResults(v int64) *ListSchemasInput {
34369	s.MaxResults = &v
34370	return s
34371}
34372
34373// SetNextToken sets the NextToken field's value.
34374func (s *ListSchemasInput) SetNextToken(v string) *ListSchemasInput {
34375	s.NextToken = &v
34376	return s
34377}
34378
34379// SetRegistryId sets the RegistryId field's value.
34380func (s *ListSchemasInput) SetRegistryId(v *RegistryId) *ListSchemasInput {
34381	s.RegistryId = v
34382	return s
34383}
34384
34385type ListSchemasOutput struct {
34386	_ struct{} `type:"structure"`
34387
34388	// A continuation token for paginating the returned list of tokens, returned
34389	// if the current segment of the list is not the last.
34390	NextToken *string `type:"string"`
34391
34392	// An array of SchemaListItem objects containing details of each schema.
34393	Schemas []*SchemaListItem `type:"list"`
34394}
34395
34396// String returns the string representation
34397func (s ListSchemasOutput) String() string {
34398	return awsutil.Prettify(s)
34399}
34400
34401// GoString returns the string representation
34402func (s ListSchemasOutput) GoString() string {
34403	return s.String()
34404}
34405
34406// SetNextToken sets the NextToken field's value.
34407func (s *ListSchemasOutput) SetNextToken(v string) *ListSchemasOutput {
34408	s.NextToken = &v
34409	return s
34410}
34411
34412// SetSchemas sets the Schemas field's value.
34413func (s *ListSchemasOutput) SetSchemas(v []*SchemaListItem) *ListSchemasOutput {
34414	s.Schemas = v
34415	return s
34416}
34417
34418type ListTriggersInput struct {
34419	_ struct{} `type:"structure"`
34420
34421	// The name of the job for which to retrieve triggers. The trigger that can
34422	// start this job is returned. If there is no such trigger, all triggers are
34423	// returned.
34424	DependentJobName *string `min:"1" type:"string"`
34425
34426	// The maximum size of a list to return.
34427	MaxResults *int64 `min:"1" type:"integer"`
34428
34429	// A continuation token, if this is a continuation request.
34430	NextToken *string `type:"string"`
34431
34432	// Specifies to return only these tagged resources.
34433	Tags map[string]*string `type:"map"`
34434}
34435
34436// String returns the string representation
34437func (s ListTriggersInput) String() string {
34438	return awsutil.Prettify(s)
34439}
34440
34441// GoString returns the string representation
34442func (s ListTriggersInput) GoString() string {
34443	return s.String()
34444}
34445
34446// Validate inspects the fields of the type to determine if they are valid.
34447func (s *ListTriggersInput) Validate() error {
34448	invalidParams := request.ErrInvalidParams{Context: "ListTriggersInput"}
34449	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
34450		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
34451	}
34452	if s.MaxResults != nil && *s.MaxResults < 1 {
34453		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34454	}
34455
34456	if invalidParams.Len() > 0 {
34457		return invalidParams
34458	}
34459	return nil
34460}
34461
34462// SetDependentJobName sets the DependentJobName field's value.
34463func (s *ListTriggersInput) SetDependentJobName(v string) *ListTriggersInput {
34464	s.DependentJobName = &v
34465	return s
34466}
34467
34468// SetMaxResults sets the MaxResults field's value.
34469func (s *ListTriggersInput) SetMaxResults(v int64) *ListTriggersInput {
34470	s.MaxResults = &v
34471	return s
34472}
34473
34474// SetNextToken sets the NextToken field's value.
34475func (s *ListTriggersInput) SetNextToken(v string) *ListTriggersInput {
34476	s.NextToken = &v
34477	return s
34478}
34479
34480// SetTags sets the Tags field's value.
34481func (s *ListTriggersInput) SetTags(v map[string]*string) *ListTriggersInput {
34482	s.Tags = v
34483	return s
34484}
34485
34486type ListTriggersOutput struct {
34487	_ struct{} `type:"structure"`
34488
34489	// A continuation token, if the returned list does not contain the last metric
34490	// available.
34491	NextToken *string `type:"string"`
34492
34493	// The names of all triggers in the account, or the triggers with the specified
34494	// tags.
34495	TriggerNames []*string `type:"list"`
34496}
34497
34498// String returns the string representation
34499func (s ListTriggersOutput) String() string {
34500	return awsutil.Prettify(s)
34501}
34502
34503// GoString returns the string representation
34504func (s ListTriggersOutput) GoString() string {
34505	return s.String()
34506}
34507
34508// SetNextToken sets the NextToken field's value.
34509func (s *ListTriggersOutput) SetNextToken(v string) *ListTriggersOutput {
34510	s.NextToken = &v
34511	return s
34512}
34513
34514// SetTriggerNames sets the TriggerNames field's value.
34515func (s *ListTriggersOutput) SetTriggerNames(v []*string) *ListTriggersOutput {
34516	s.TriggerNames = v
34517	return s
34518}
34519
34520type ListWorkflowsInput struct {
34521	_ struct{} `type:"structure"`
34522
34523	// The maximum size of a list to return.
34524	MaxResults *int64 `min:"1" type:"integer"`
34525
34526	// A continuation token, if this is a continuation request.
34527	NextToken *string `type:"string"`
34528}
34529
34530// String returns the string representation
34531func (s ListWorkflowsInput) String() string {
34532	return awsutil.Prettify(s)
34533}
34534
34535// GoString returns the string representation
34536func (s ListWorkflowsInput) GoString() string {
34537	return s.String()
34538}
34539
34540// Validate inspects the fields of the type to determine if they are valid.
34541func (s *ListWorkflowsInput) Validate() error {
34542	invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"}
34543	if s.MaxResults != nil && *s.MaxResults < 1 {
34544		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34545	}
34546
34547	if invalidParams.Len() > 0 {
34548		return invalidParams
34549	}
34550	return nil
34551}
34552
34553// SetMaxResults sets the MaxResults field's value.
34554func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput {
34555	s.MaxResults = &v
34556	return s
34557}
34558
34559// SetNextToken sets the NextToken field's value.
34560func (s *ListWorkflowsInput) SetNextToken(v string) *ListWorkflowsInput {
34561	s.NextToken = &v
34562	return s
34563}
34564
34565type ListWorkflowsOutput struct {
34566	_ struct{} `type:"structure"`
34567
34568	// A continuation token, if not all workflow names have been returned.
34569	NextToken *string `type:"string"`
34570
34571	// List of names of workflows in the account.
34572	Workflows []*string `min:"1" type:"list"`
34573}
34574
34575// String returns the string representation
34576func (s ListWorkflowsOutput) String() string {
34577	return awsutil.Prettify(s)
34578}
34579
34580// GoString returns the string representation
34581func (s ListWorkflowsOutput) GoString() string {
34582	return s.String()
34583}
34584
34585// SetNextToken sets the NextToken field's value.
34586func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput {
34587	s.NextToken = &v
34588	return s
34589}
34590
34591// SetWorkflows sets the Workflows field's value.
34592func (s *ListWorkflowsOutput) SetWorkflows(v []*string) *ListWorkflowsOutput {
34593	s.Workflows = v
34594	return s
34595}
34596
34597// The location of resources.
34598type Location struct {
34599	_ struct{} `type:"structure"`
34600
34601	// An Amazon DynamoDB table location.
34602	DynamoDB []*CodeGenNodeArg `type:"list"`
34603
34604	// A JDBC location.
34605	Jdbc []*CodeGenNodeArg `type:"list"`
34606
34607	// An Amazon Simple Storage Service (Amazon S3) location.
34608	S3 []*CodeGenNodeArg `type:"list"`
34609}
34610
34611// String returns the string representation
34612func (s Location) String() string {
34613	return awsutil.Prettify(s)
34614}
34615
34616// GoString returns the string representation
34617func (s Location) GoString() string {
34618	return s.String()
34619}
34620
34621// Validate inspects the fields of the type to determine if they are valid.
34622func (s *Location) Validate() error {
34623	invalidParams := request.ErrInvalidParams{Context: "Location"}
34624	if s.DynamoDB != nil {
34625		for i, v := range s.DynamoDB {
34626			if v == nil {
34627				continue
34628			}
34629			if err := v.Validate(); err != nil {
34630				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DynamoDB", i), err.(request.ErrInvalidParams))
34631			}
34632		}
34633	}
34634	if s.Jdbc != nil {
34635		for i, v := range s.Jdbc {
34636			if v == nil {
34637				continue
34638			}
34639			if err := v.Validate(); err != nil {
34640				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Jdbc", i), err.(request.ErrInvalidParams))
34641			}
34642		}
34643	}
34644	if s.S3 != nil {
34645		for i, v := range s.S3 {
34646			if v == nil {
34647				continue
34648			}
34649			if err := v.Validate(); err != nil {
34650				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "S3", i), err.(request.ErrInvalidParams))
34651			}
34652		}
34653	}
34654
34655	if invalidParams.Len() > 0 {
34656		return invalidParams
34657	}
34658	return nil
34659}
34660
34661// SetDynamoDB sets the DynamoDB field's value.
34662func (s *Location) SetDynamoDB(v []*CodeGenNodeArg) *Location {
34663	s.DynamoDB = v
34664	return s
34665}
34666
34667// SetJdbc sets the Jdbc field's value.
34668func (s *Location) SetJdbc(v []*CodeGenNodeArg) *Location {
34669	s.Jdbc = v
34670	return s
34671}
34672
34673// SetS3 sets the S3 field's value.
34674func (s *Location) SetS3(v []*CodeGenNodeArg) *Location {
34675	s.S3 = v
34676	return s
34677}
34678
34679// Defines column statistics supported for integer data columns.
34680type LongColumnStatisticsData struct {
34681	_ struct{} `type:"structure"`
34682
34683	// The highest value in the column.
34684	MaximumValue *int64 `type:"long"`
34685
34686	// The lowest value in the column.
34687	MinimumValue *int64 `type:"long"`
34688
34689	// The number of distinct values in a column.
34690	//
34691	// NumberOfDistinctValues is a required field
34692	NumberOfDistinctValues *int64 `type:"long" required:"true"`
34693
34694	// The number of null values in the column.
34695	//
34696	// NumberOfNulls is a required field
34697	NumberOfNulls *int64 `type:"long" required:"true"`
34698}
34699
34700// String returns the string representation
34701func (s LongColumnStatisticsData) String() string {
34702	return awsutil.Prettify(s)
34703}
34704
34705// GoString returns the string representation
34706func (s LongColumnStatisticsData) GoString() string {
34707	return s.String()
34708}
34709
34710// Validate inspects the fields of the type to determine if they are valid.
34711func (s *LongColumnStatisticsData) Validate() error {
34712	invalidParams := request.ErrInvalidParams{Context: "LongColumnStatisticsData"}
34713	if s.NumberOfDistinctValues == nil {
34714		invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues"))
34715	}
34716	if s.NumberOfNulls == nil {
34717		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
34718	}
34719
34720	if invalidParams.Len() > 0 {
34721		return invalidParams
34722	}
34723	return nil
34724}
34725
34726// SetMaximumValue sets the MaximumValue field's value.
34727func (s *LongColumnStatisticsData) SetMaximumValue(v int64) *LongColumnStatisticsData {
34728	s.MaximumValue = &v
34729	return s
34730}
34731
34732// SetMinimumValue sets the MinimumValue field's value.
34733func (s *LongColumnStatisticsData) SetMinimumValue(v int64) *LongColumnStatisticsData {
34734	s.MinimumValue = &v
34735	return s
34736}
34737
34738// SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value.
34739func (s *LongColumnStatisticsData) SetNumberOfDistinctValues(v int64) *LongColumnStatisticsData {
34740	s.NumberOfDistinctValues = &v
34741	return s
34742}
34743
34744// SetNumberOfNulls sets the NumberOfNulls field's value.
34745func (s *LongColumnStatisticsData) SetNumberOfNulls(v int64) *LongColumnStatisticsData {
34746	s.NumberOfNulls = &v
34747	return s
34748}
34749
34750// A structure for a machine learning transform.
34751type MLTransform struct {
34752	_ struct{} `type:"structure"`
34753
34754	// A timestamp. The time and date that this machine learning transform was created.
34755	CreatedOn *time.Time `type:"timestamp"`
34756
34757	// A user-defined, long-form description text for the machine learning transform.
34758	// Descriptions are not guaranteed to be unique and can be changed at any time.
34759	Description *string `type:"string"`
34760
34761	// An EvaluationMetrics object. Evaluation metrics provide an estimate of the
34762	// quality of your machine learning transform.
34763	EvaluationMetrics *EvaluationMetrics `type:"structure"`
34764
34765	// This value determines which version of AWS Glue this machine learning transform
34766	// is compatible with. Glue 1.0 is recommended for most customers. If the value
34767	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
34768	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
34769	// in the developer guide.
34770	GlueVersion *string `min:"1" type:"string"`
34771
34772	// A list of AWS Glue table definitions used by the transform.
34773	InputRecordTables []*Table `type:"list"`
34774
34775	// A count identifier for the labeling files generated by AWS Glue for this
34776	// transform. As you create a better transform, you can iteratively download,
34777	// label, and upload the labeling file.
34778	LabelCount *int64 `type:"integer"`
34779
34780	// A timestamp. The last point in time when this machine learning transform
34781	// was modified.
34782	LastModifiedOn *time.Time `type:"timestamp"`
34783
34784	// The number of AWS Glue data processing units (DPUs) that are allocated to
34785	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
34786	// is 10. A DPU is a relative measure of processing power that consists of 4
34787	// vCPUs of compute capacity and 16 GB of memory. For more information, see
34788	// the AWS Glue pricing page (http://aws.amazon.com/glue/pricing/).
34789	//
34790	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
34791	//
34792	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
34793	//    be set.
34794	//
34795	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
34796	//    be set.
34797	//
34798	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
34799	//
34800	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
34801	//
34802	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
34803	// field is set automatically and becomes read-only.
34804	MaxCapacity *float64 `type:"double"`
34805
34806	// The maximum number of times to retry after an MLTaskRun of the machine learning
34807	// transform fails.
34808	MaxRetries *int64 `type:"integer"`
34809
34810	// A user-defined name for the machine learning transform. Names are not guaranteed
34811	// unique and can be changed at any time.
34812	Name *string `min:"1" type:"string"`
34813
34814	// The number of workers of a defined workerType that are allocated when a task
34815	// of the transform runs.
34816	//
34817	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
34818	NumberOfWorkers *int64 `type:"integer"`
34819
34820	// A TransformParameters object. You can use parameters to tune (customize)
34821	// the behavior of the machine learning transform by specifying what data it
34822	// learns from and your preference on various tradeoffs (such as precious vs.
34823	// recall, or accuracy vs. cost).
34824	Parameters *TransformParameters `type:"structure"`
34825
34826	// The name or Amazon Resource Name (ARN) of the IAM role with the required
34827	// permissions. The required permissions include both AWS Glue service role
34828	// permissions to AWS Glue resources, and Amazon S3 permissions required by
34829	// the transform.
34830	//
34831	//    * This role needs AWS Glue service role permissions to allow access to
34832	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
34833	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
34834	//
34835	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
34836	//    S3) sources, targets, temporary directory, scripts, and any libraries
34837	//    used by the task run for this transform.
34838	Role *string `type:"string"`
34839
34840	// A map of key-value pairs representing the columns and data types that this
34841	// transform can run against. Has an upper bound of 100 columns.
34842	Schema []*SchemaColumn `type:"list"`
34843
34844	// The current status of the machine learning transform.
34845	Status *string `type:"string" enum:"TransformStatusType"`
34846
34847	// The timeout in minutes of the machine learning transform.
34848	Timeout *int64 `min:"1" type:"integer"`
34849
34850	// The encryption-at-rest settings of the transform that apply to accessing
34851	// user data. Machine learning transforms can access user data encrypted in
34852	// Amazon S3 using KMS.
34853	TransformEncryption *TransformEncryption `type:"structure"`
34854
34855	// The unique transform ID that is generated for the machine learning transform.
34856	// The ID is guaranteed to be unique and does not change.
34857	TransformId *string `min:"1" type:"string"`
34858
34859	// The type of predefined worker that is allocated when a task of this transform
34860	// runs. Accepts a value of Standard, G.1X, or G.2X.
34861	//
34862	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
34863	//    memory and a 50GB disk, and 2 executors per worker.
34864	//
34865	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
34866	//    and a 64GB disk, and 1 executor per worker.
34867	//
34868	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
34869	//    and a 128GB disk, and 1 executor per worker.
34870	//
34871	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
34872	//
34873	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
34874	//    be set.
34875	//
34876	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
34877	//    be set.
34878	//
34879	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
34880	//
34881	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
34882	WorkerType *string `type:"string" enum:"WorkerType"`
34883}
34884
34885// String returns the string representation
34886func (s MLTransform) String() string {
34887	return awsutil.Prettify(s)
34888}
34889
34890// GoString returns the string representation
34891func (s MLTransform) GoString() string {
34892	return s.String()
34893}
34894
34895// SetCreatedOn sets the CreatedOn field's value.
34896func (s *MLTransform) SetCreatedOn(v time.Time) *MLTransform {
34897	s.CreatedOn = &v
34898	return s
34899}
34900
34901// SetDescription sets the Description field's value.
34902func (s *MLTransform) SetDescription(v string) *MLTransform {
34903	s.Description = &v
34904	return s
34905}
34906
34907// SetEvaluationMetrics sets the EvaluationMetrics field's value.
34908func (s *MLTransform) SetEvaluationMetrics(v *EvaluationMetrics) *MLTransform {
34909	s.EvaluationMetrics = v
34910	return s
34911}
34912
34913// SetGlueVersion sets the GlueVersion field's value.
34914func (s *MLTransform) SetGlueVersion(v string) *MLTransform {
34915	s.GlueVersion = &v
34916	return s
34917}
34918
34919// SetInputRecordTables sets the InputRecordTables field's value.
34920func (s *MLTransform) SetInputRecordTables(v []*Table) *MLTransform {
34921	s.InputRecordTables = v
34922	return s
34923}
34924
34925// SetLabelCount sets the LabelCount field's value.
34926func (s *MLTransform) SetLabelCount(v int64) *MLTransform {
34927	s.LabelCount = &v
34928	return s
34929}
34930
34931// SetLastModifiedOn sets the LastModifiedOn field's value.
34932func (s *MLTransform) SetLastModifiedOn(v time.Time) *MLTransform {
34933	s.LastModifiedOn = &v
34934	return s
34935}
34936
34937// SetMaxCapacity sets the MaxCapacity field's value.
34938func (s *MLTransform) SetMaxCapacity(v float64) *MLTransform {
34939	s.MaxCapacity = &v
34940	return s
34941}
34942
34943// SetMaxRetries sets the MaxRetries field's value.
34944func (s *MLTransform) SetMaxRetries(v int64) *MLTransform {
34945	s.MaxRetries = &v
34946	return s
34947}
34948
34949// SetName sets the Name field's value.
34950func (s *MLTransform) SetName(v string) *MLTransform {
34951	s.Name = &v
34952	return s
34953}
34954
34955// SetNumberOfWorkers sets the NumberOfWorkers field's value.
34956func (s *MLTransform) SetNumberOfWorkers(v int64) *MLTransform {
34957	s.NumberOfWorkers = &v
34958	return s
34959}
34960
34961// SetParameters sets the Parameters field's value.
34962func (s *MLTransform) SetParameters(v *TransformParameters) *MLTransform {
34963	s.Parameters = v
34964	return s
34965}
34966
34967// SetRole sets the Role field's value.
34968func (s *MLTransform) SetRole(v string) *MLTransform {
34969	s.Role = &v
34970	return s
34971}
34972
34973// SetSchema sets the Schema field's value.
34974func (s *MLTransform) SetSchema(v []*SchemaColumn) *MLTransform {
34975	s.Schema = v
34976	return s
34977}
34978
34979// SetStatus sets the Status field's value.
34980func (s *MLTransform) SetStatus(v string) *MLTransform {
34981	s.Status = &v
34982	return s
34983}
34984
34985// SetTimeout sets the Timeout field's value.
34986func (s *MLTransform) SetTimeout(v int64) *MLTransform {
34987	s.Timeout = &v
34988	return s
34989}
34990
34991// SetTransformEncryption sets the TransformEncryption field's value.
34992func (s *MLTransform) SetTransformEncryption(v *TransformEncryption) *MLTransform {
34993	s.TransformEncryption = v
34994	return s
34995}
34996
34997// SetTransformId sets the TransformId field's value.
34998func (s *MLTransform) SetTransformId(v string) *MLTransform {
34999	s.TransformId = &v
35000	return s
35001}
35002
35003// SetWorkerType sets the WorkerType field's value.
35004func (s *MLTransform) SetWorkerType(v string) *MLTransform {
35005	s.WorkerType = &v
35006	return s
35007}
35008
35009// The machine learning transform is not ready to run.
35010type MLTransformNotReadyException struct {
35011	_            struct{}                  `type:"structure"`
35012	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
35013
35014	// A message describing the problem.
35015	Message_ *string `locationName:"Message" type:"string"`
35016}
35017
35018// String returns the string representation
35019func (s MLTransformNotReadyException) String() string {
35020	return awsutil.Prettify(s)
35021}
35022
35023// GoString returns the string representation
35024func (s MLTransformNotReadyException) GoString() string {
35025	return s.String()
35026}
35027
35028func newErrorMLTransformNotReadyException(v protocol.ResponseMetadata) error {
35029	return &MLTransformNotReadyException{
35030		RespMetadata: v,
35031	}
35032}
35033
35034// Code returns the exception type name.
35035func (s *MLTransformNotReadyException) Code() string {
35036	return "MLTransformNotReadyException"
35037}
35038
35039// Message returns the exception's message.
35040func (s *MLTransformNotReadyException) Message() string {
35041	if s.Message_ != nil {
35042		return *s.Message_
35043	}
35044	return ""
35045}
35046
35047// OrigErr always returns nil, satisfies awserr.Error interface.
35048func (s *MLTransformNotReadyException) OrigErr() error {
35049	return nil
35050}
35051
35052func (s *MLTransformNotReadyException) Error() string {
35053	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
35054}
35055
35056// Status code returns the HTTP status code for the request's response error.
35057func (s *MLTransformNotReadyException) StatusCode() int {
35058	return s.RespMetadata.StatusCode
35059}
35060
35061// RequestID returns the service's response RequestID for request.
35062func (s *MLTransformNotReadyException) RequestID() string {
35063	return s.RespMetadata.RequestID
35064}
35065
35066// The encryption-at-rest settings of the transform that apply to accessing
35067// user data.
35068type MLUserDataEncryption struct {
35069	_ struct{} `type:"structure"`
35070
35071	// The ID for the customer-provided KMS key.
35072	KmsKeyId *string `min:"1" type:"string"`
35073
35074	// The encryption mode applied to user data. Valid values are:
35075	//
35076	//    * DISABLED: encryption is disabled
35077	//
35078	//    * SSEKMS: use of server-side encryption with AWS Key Management Service
35079	//    (SSE-KMS) for user data stored in Amazon S3.
35080	//
35081	// MlUserDataEncryptionMode is a required field
35082	MlUserDataEncryptionMode *string `type:"string" required:"true" enum:"MLUserDataEncryptionModeString"`
35083}
35084
35085// String returns the string representation
35086func (s MLUserDataEncryption) String() string {
35087	return awsutil.Prettify(s)
35088}
35089
35090// GoString returns the string representation
35091func (s MLUserDataEncryption) GoString() string {
35092	return s.String()
35093}
35094
35095// Validate inspects the fields of the type to determine if they are valid.
35096func (s *MLUserDataEncryption) Validate() error {
35097	invalidParams := request.ErrInvalidParams{Context: "MLUserDataEncryption"}
35098	if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
35099		invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
35100	}
35101	if s.MlUserDataEncryptionMode == nil {
35102		invalidParams.Add(request.NewErrParamRequired("MlUserDataEncryptionMode"))
35103	}
35104
35105	if invalidParams.Len() > 0 {
35106		return invalidParams
35107	}
35108	return nil
35109}
35110
35111// SetKmsKeyId sets the KmsKeyId field's value.
35112func (s *MLUserDataEncryption) SetKmsKeyId(v string) *MLUserDataEncryption {
35113	s.KmsKeyId = &v
35114	return s
35115}
35116
35117// SetMlUserDataEncryptionMode sets the MlUserDataEncryptionMode field's value.
35118func (s *MLUserDataEncryption) SetMlUserDataEncryptionMode(v string) *MLUserDataEncryption {
35119	s.MlUserDataEncryptionMode = &v
35120	return s
35121}
35122
35123// Defines a mapping.
35124type MappingEntry struct {
35125	_ struct{} `type:"structure"`
35126
35127	// The source path.
35128	SourcePath *string `type:"string"`
35129
35130	// The name of the source table.
35131	SourceTable *string `type:"string"`
35132
35133	// The source type.
35134	SourceType *string `type:"string"`
35135
35136	// The target path.
35137	TargetPath *string `type:"string"`
35138
35139	// The target table.
35140	TargetTable *string `type:"string"`
35141
35142	// The target type.
35143	TargetType *string `type:"string"`
35144}
35145
35146// String returns the string representation
35147func (s MappingEntry) String() string {
35148	return awsutil.Prettify(s)
35149}
35150
35151// GoString returns the string representation
35152func (s MappingEntry) GoString() string {
35153	return s.String()
35154}
35155
35156// SetSourcePath sets the SourcePath field's value.
35157func (s *MappingEntry) SetSourcePath(v string) *MappingEntry {
35158	s.SourcePath = &v
35159	return s
35160}
35161
35162// SetSourceTable sets the SourceTable field's value.
35163func (s *MappingEntry) SetSourceTable(v string) *MappingEntry {
35164	s.SourceTable = &v
35165	return s
35166}
35167
35168// SetSourceType sets the SourceType field's value.
35169func (s *MappingEntry) SetSourceType(v string) *MappingEntry {
35170	s.SourceType = &v
35171	return s
35172}
35173
35174// SetTargetPath sets the TargetPath field's value.
35175func (s *MappingEntry) SetTargetPath(v string) *MappingEntry {
35176	s.TargetPath = &v
35177	return s
35178}
35179
35180// SetTargetTable sets the TargetTable field's value.
35181func (s *MappingEntry) SetTargetTable(v string) *MappingEntry {
35182	s.TargetTable = &v
35183	return s
35184}
35185
35186// SetTargetType sets the TargetType field's value.
35187func (s *MappingEntry) SetTargetType(v string) *MappingEntry {
35188	s.TargetType = &v
35189	return s
35190}
35191
35192// A structure containing metadata information for a schema version.
35193type MetadataInfo struct {
35194	_ struct{} `type:"structure"`
35195
35196	// The time at which the entry was created.
35197	CreatedTime *string `type:"string"`
35198
35199	// The metadata key’s corresponding value.
35200	MetadataValue *string `min:"1" type:"string"`
35201}
35202
35203// String returns the string representation
35204func (s MetadataInfo) String() string {
35205	return awsutil.Prettify(s)
35206}
35207
35208// GoString returns the string representation
35209func (s MetadataInfo) GoString() string {
35210	return s.String()
35211}
35212
35213// SetCreatedTime sets the CreatedTime field's value.
35214func (s *MetadataInfo) SetCreatedTime(v string) *MetadataInfo {
35215	s.CreatedTime = &v
35216	return s
35217}
35218
35219// SetMetadataValue sets the MetadataValue field's value.
35220func (s *MetadataInfo) SetMetadataValue(v string) *MetadataInfo {
35221	s.MetadataValue = &v
35222	return s
35223}
35224
35225// A structure containing a key value pair for metadata.
35226type MetadataKeyValuePair struct {
35227	_ struct{} `type:"structure"`
35228
35229	// A metadata key.
35230	MetadataKey *string `min:"1" type:"string"`
35231
35232	// A metadata key’s corresponding value.
35233	MetadataValue *string `min:"1" type:"string"`
35234}
35235
35236// String returns the string representation
35237func (s MetadataKeyValuePair) String() string {
35238	return awsutil.Prettify(s)
35239}
35240
35241// GoString returns the string representation
35242func (s MetadataKeyValuePair) GoString() string {
35243	return s.String()
35244}
35245
35246// Validate inspects the fields of the type to determine if they are valid.
35247func (s *MetadataKeyValuePair) Validate() error {
35248	invalidParams := request.ErrInvalidParams{Context: "MetadataKeyValuePair"}
35249	if s.MetadataKey != nil && len(*s.MetadataKey) < 1 {
35250		invalidParams.Add(request.NewErrParamMinLen("MetadataKey", 1))
35251	}
35252	if s.MetadataValue != nil && len(*s.MetadataValue) < 1 {
35253		invalidParams.Add(request.NewErrParamMinLen("MetadataValue", 1))
35254	}
35255
35256	if invalidParams.Len() > 0 {
35257		return invalidParams
35258	}
35259	return nil
35260}
35261
35262// SetMetadataKey sets the MetadataKey field's value.
35263func (s *MetadataKeyValuePair) SetMetadataKey(v string) *MetadataKeyValuePair {
35264	s.MetadataKey = &v
35265	return s
35266}
35267
35268// SetMetadataValue sets the MetadataValue field's value.
35269func (s *MetadataKeyValuePair) SetMetadataValue(v string) *MetadataKeyValuePair {
35270	s.MetadataValue = &v
35271	return s
35272}
35273
35274// Specifies an Amazon DocumentDB or MongoDB data store to crawl.
35275type MongoDBTarget struct {
35276	_ struct{} `type:"structure"`
35277
35278	// The name of the connection to use to connect to the Amazon DocumentDB or
35279	// MongoDB target.
35280	ConnectionName *string `type:"string"`
35281
35282	// The path of the Amazon DocumentDB or MongoDB target (database/collection).
35283	Path *string `type:"string"`
35284
35285	// Indicates whether to scan all the records, or to sample rows from the table.
35286	// Scanning all the records can take a long time when the table is not a high
35287	// throughput table.
35288	//
35289	// A value of true means to scan all records, while a value of false means to
35290	// sample the records. If no value is specified, the value defaults to true.
35291	ScanAll *bool `type:"boolean"`
35292}
35293
35294// String returns the string representation
35295func (s MongoDBTarget) String() string {
35296	return awsutil.Prettify(s)
35297}
35298
35299// GoString returns the string representation
35300func (s MongoDBTarget) GoString() string {
35301	return s.String()
35302}
35303
35304// SetConnectionName sets the ConnectionName field's value.
35305func (s *MongoDBTarget) SetConnectionName(v string) *MongoDBTarget {
35306	s.ConnectionName = &v
35307	return s
35308}
35309
35310// SetPath sets the Path field's value.
35311func (s *MongoDBTarget) SetPath(v string) *MongoDBTarget {
35312	s.Path = &v
35313	return s
35314}
35315
35316// SetScanAll sets the ScanAll field's value.
35317func (s *MongoDBTarget) SetScanAll(v bool) *MongoDBTarget {
35318	s.ScanAll = &v
35319	return s
35320}
35321
35322// There is no applicable schedule.
35323type NoScheduleException struct {
35324	_            struct{}                  `type:"structure"`
35325	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
35326
35327	// A message describing the problem.
35328	Message_ *string `locationName:"Message" type:"string"`
35329}
35330
35331// String returns the string representation
35332func (s NoScheduleException) String() string {
35333	return awsutil.Prettify(s)
35334}
35335
35336// GoString returns the string representation
35337func (s NoScheduleException) GoString() string {
35338	return s.String()
35339}
35340
35341func newErrorNoScheduleException(v protocol.ResponseMetadata) error {
35342	return &NoScheduleException{
35343		RespMetadata: v,
35344	}
35345}
35346
35347// Code returns the exception type name.
35348func (s *NoScheduleException) Code() string {
35349	return "NoScheduleException"
35350}
35351
35352// Message returns the exception's message.
35353func (s *NoScheduleException) Message() string {
35354	if s.Message_ != nil {
35355		return *s.Message_
35356	}
35357	return ""
35358}
35359
35360// OrigErr always returns nil, satisfies awserr.Error interface.
35361func (s *NoScheduleException) OrigErr() error {
35362	return nil
35363}
35364
35365func (s *NoScheduleException) Error() string {
35366	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
35367}
35368
35369// Status code returns the HTTP status code for the request's response error.
35370func (s *NoScheduleException) StatusCode() int {
35371	return s.RespMetadata.StatusCode
35372}
35373
35374// RequestID returns the service's response RequestID for request.
35375func (s *NoScheduleException) RequestID() string {
35376	return s.RespMetadata.RequestID
35377}
35378
35379// A node represents an AWS Glue component such as a trigger, or job, etc.,
35380// that is part of a workflow.
35381type Node struct {
35382	_ struct{} `type:"structure"`
35383
35384	// Details of the crawler when the node represents a crawler.
35385	CrawlerDetails *CrawlerNodeDetails `type:"structure"`
35386
35387	// Details of the Job when the node represents a Job.
35388	JobDetails *JobNodeDetails `type:"structure"`
35389
35390	// The name of the AWS Glue component represented by the node.
35391	Name *string `min:"1" type:"string"`
35392
35393	// Details of the Trigger when the node represents a Trigger.
35394	TriggerDetails *TriggerNodeDetails `type:"structure"`
35395
35396	// The type of AWS Glue component represented by the node.
35397	Type *string `type:"string" enum:"NodeType"`
35398
35399	// The unique Id assigned to the node within the workflow.
35400	UniqueId *string `min:"1" type:"string"`
35401}
35402
35403// String returns the string representation
35404func (s Node) String() string {
35405	return awsutil.Prettify(s)
35406}
35407
35408// GoString returns the string representation
35409func (s Node) GoString() string {
35410	return s.String()
35411}
35412
35413// SetCrawlerDetails sets the CrawlerDetails field's value.
35414func (s *Node) SetCrawlerDetails(v *CrawlerNodeDetails) *Node {
35415	s.CrawlerDetails = v
35416	return s
35417}
35418
35419// SetJobDetails sets the JobDetails field's value.
35420func (s *Node) SetJobDetails(v *JobNodeDetails) *Node {
35421	s.JobDetails = v
35422	return s
35423}
35424
35425// SetName sets the Name field's value.
35426func (s *Node) SetName(v string) *Node {
35427	s.Name = &v
35428	return s
35429}
35430
35431// SetTriggerDetails sets the TriggerDetails field's value.
35432func (s *Node) SetTriggerDetails(v *TriggerNodeDetails) *Node {
35433	s.TriggerDetails = v
35434	return s
35435}
35436
35437// SetType sets the Type field's value.
35438func (s *Node) SetType(v string) *Node {
35439	s.Type = &v
35440	return s
35441}
35442
35443// SetUniqueId sets the UniqueId field's value.
35444func (s *Node) SetUniqueId(v string) *Node {
35445	s.UniqueId = &v
35446	return s
35447}
35448
35449// Specifies configuration properties of a notification.
35450type NotificationProperty struct {
35451	_ struct{} `type:"structure"`
35452
35453	// After a job run starts, the number of minutes to wait before sending a job
35454	// run delay notification.
35455	NotifyDelayAfter *int64 `min:"1" type:"integer"`
35456}
35457
35458// String returns the string representation
35459func (s NotificationProperty) String() string {
35460	return awsutil.Prettify(s)
35461}
35462
35463// GoString returns the string representation
35464func (s NotificationProperty) GoString() string {
35465	return s.String()
35466}
35467
35468// Validate inspects the fields of the type to determine if they are valid.
35469func (s *NotificationProperty) Validate() error {
35470	invalidParams := request.ErrInvalidParams{Context: "NotificationProperty"}
35471	if s.NotifyDelayAfter != nil && *s.NotifyDelayAfter < 1 {
35472		invalidParams.Add(request.NewErrParamMinValue("NotifyDelayAfter", 1))
35473	}
35474
35475	if invalidParams.Len() > 0 {
35476		return invalidParams
35477	}
35478	return nil
35479}
35480
35481// SetNotifyDelayAfter sets the NotifyDelayAfter field's value.
35482func (s *NotificationProperty) SetNotifyDelayAfter(v int64) *NotificationProperty {
35483	s.NotifyDelayAfter = &v
35484	return s
35485}
35486
35487// The operation timed out.
35488type OperationTimeoutException struct {
35489	_            struct{}                  `type:"structure"`
35490	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
35491
35492	// A message describing the problem.
35493	Message_ *string `locationName:"Message" type:"string"`
35494}
35495
35496// String returns the string representation
35497func (s OperationTimeoutException) String() string {
35498	return awsutil.Prettify(s)
35499}
35500
35501// GoString returns the string representation
35502func (s OperationTimeoutException) GoString() string {
35503	return s.String()
35504}
35505
35506func newErrorOperationTimeoutException(v protocol.ResponseMetadata) error {
35507	return &OperationTimeoutException{
35508		RespMetadata: v,
35509	}
35510}
35511
35512// Code returns the exception type name.
35513func (s *OperationTimeoutException) Code() string {
35514	return "OperationTimeoutException"
35515}
35516
35517// Message returns the exception's message.
35518func (s *OperationTimeoutException) Message() string {
35519	if s.Message_ != nil {
35520		return *s.Message_
35521	}
35522	return ""
35523}
35524
35525// OrigErr always returns nil, satisfies awserr.Error interface.
35526func (s *OperationTimeoutException) OrigErr() error {
35527	return nil
35528}
35529
35530func (s *OperationTimeoutException) Error() string {
35531	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
35532}
35533
35534// Status code returns the HTTP status code for the request's response error.
35535func (s *OperationTimeoutException) StatusCode() int {
35536	return s.RespMetadata.StatusCode
35537}
35538
35539// RequestID returns the service's response RequestID for request.
35540func (s *OperationTimeoutException) RequestID() string {
35541	return s.RespMetadata.RequestID
35542}
35543
35544// Specifies the sort order of a sorted column.
35545type Order struct {
35546	_ struct{} `type:"structure"`
35547
35548	// The name of the column.
35549	//
35550	// Column is a required field
35551	Column *string `min:"1" type:"string" required:"true"`
35552
35553	// Indicates that the column is sorted in ascending order (== 1), or in descending
35554	// order (==0).
35555	//
35556	// SortOrder is a required field
35557	SortOrder *int64 `type:"integer" required:"true"`
35558}
35559
35560// String returns the string representation
35561func (s Order) String() string {
35562	return awsutil.Prettify(s)
35563}
35564
35565// GoString returns the string representation
35566func (s Order) GoString() string {
35567	return s.String()
35568}
35569
35570// Validate inspects the fields of the type to determine if they are valid.
35571func (s *Order) Validate() error {
35572	invalidParams := request.ErrInvalidParams{Context: "Order"}
35573	if s.Column == nil {
35574		invalidParams.Add(request.NewErrParamRequired("Column"))
35575	}
35576	if s.Column != nil && len(*s.Column) < 1 {
35577		invalidParams.Add(request.NewErrParamMinLen("Column", 1))
35578	}
35579	if s.SortOrder == nil {
35580		invalidParams.Add(request.NewErrParamRequired("SortOrder"))
35581	}
35582
35583	if invalidParams.Len() > 0 {
35584		return invalidParams
35585	}
35586	return nil
35587}
35588
35589// SetColumn sets the Column field's value.
35590func (s *Order) SetColumn(v string) *Order {
35591	s.Column = &v
35592	return s
35593}
35594
35595// SetSortOrder sets the SortOrder field's value.
35596func (s *Order) SetSortOrder(v int64) *Order {
35597	s.SortOrder = &v
35598	return s
35599}
35600
35601// Represents a slice of table data.
35602type Partition struct {
35603	_ struct{} `type:"structure"`
35604
35605	// The ID of the Data Catalog in which the partition resides.
35606	CatalogId *string `min:"1" type:"string"`
35607
35608	// The time at which the partition was created.
35609	CreationTime *time.Time `type:"timestamp"`
35610
35611	// The name of the catalog database in which to create the partition.
35612	DatabaseName *string `min:"1" type:"string"`
35613
35614	// The last time at which the partition was accessed.
35615	LastAccessTime *time.Time `type:"timestamp"`
35616
35617	// The last time at which column statistics were computed for this partition.
35618	LastAnalyzedTime *time.Time `type:"timestamp"`
35619
35620	// These key-value pairs define partition parameters.
35621	Parameters map[string]*string `type:"map"`
35622
35623	// Provides information about the physical location where the partition is stored.
35624	StorageDescriptor *StorageDescriptor `type:"structure"`
35625
35626	// The name of the database table in which to create the partition.
35627	TableName *string `min:"1" type:"string"`
35628
35629	// The values of the partition.
35630	Values []*string `type:"list"`
35631}
35632
35633// String returns the string representation
35634func (s Partition) String() string {
35635	return awsutil.Prettify(s)
35636}
35637
35638// GoString returns the string representation
35639func (s Partition) GoString() string {
35640	return s.String()
35641}
35642
35643// SetCatalogId sets the CatalogId field's value.
35644func (s *Partition) SetCatalogId(v string) *Partition {
35645	s.CatalogId = &v
35646	return s
35647}
35648
35649// SetCreationTime sets the CreationTime field's value.
35650func (s *Partition) SetCreationTime(v time.Time) *Partition {
35651	s.CreationTime = &v
35652	return s
35653}
35654
35655// SetDatabaseName sets the DatabaseName field's value.
35656func (s *Partition) SetDatabaseName(v string) *Partition {
35657	s.DatabaseName = &v
35658	return s
35659}
35660
35661// SetLastAccessTime sets the LastAccessTime field's value.
35662func (s *Partition) SetLastAccessTime(v time.Time) *Partition {
35663	s.LastAccessTime = &v
35664	return s
35665}
35666
35667// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
35668func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition {
35669	s.LastAnalyzedTime = &v
35670	return s
35671}
35672
35673// SetParameters sets the Parameters field's value.
35674func (s *Partition) SetParameters(v map[string]*string) *Partition {
35675	s.Parameters = v
35676	return s
35677}
35678
35679// SetStorageDescriptor sets the StorageDescriptor field's value.
35680func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition {
35681	s.StorageDescriptor = v
35682	return s
35683}
35684
35685// SetTableName sets the TableName field's value.
35686func (s *Partition) SetTableName(v string) *Partition {
35687	s.TableName = &v
35688	return s
35689}
35690
35691// SetValues sets the Values field's value.
35692func (s *Partition) SetValues(v []*string) *Partition {
35693	s.Values = v
35694	return s
35695}
35696
35697// Contains information about a partition error.
35698type PartitionError struct {
35699	_ struct{} `type:"structure"`
35700
35701	// The details about the partition error.
35702	ErrorDetail *ErrorDetail `type:"structure"`
35703
35704	// The values that define the partition.
35705	PartitionValues []*string `type:"list"`
35706}
35707
35708// String returns the string representation
35709func (s PartitionError) String() string {
35710	return awsutil.Prettify(s)
35711}
35712
35713// GoString returns the string representation
35714func (s PartitionError) GoString() string {
35715	return s.String()
35716}
35717
35718// SetErrorDetail sets the ErrorDetail field's value.
35719func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError {
35720	s.ErrorDetail = v
35721	return s
35722}
35723
35724// SetPartitionValues sets the PartitionValues field's value.
35725func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError {
35726	s.PartitionValues = v
35727	return s
35728}
35729
35730// A structure for a partition index.
35731type PartitionIndex struct {
35732	_ struct{} `type:"structure"`
35733
35734	// The name of the partition index.
35735	//
35736	// IndexName is a required field
35737	IndexName *string `min:"1" type:"string" required:"true"`
35738
35739	// The keys for the partition index.
35740	//
35741	// Keys is a required field
35742	Keys []*string `min:"1" type:"list" required:"true"`
35743}
35744
35745// String returns the string representation
35746func (s PartitionIndex) String() string {
35747	return awsutil.Prettify(s)
35748}
35749
35750// GoString returns the string representation
35751func (s PartitionIndex) GoString() string {
35752	return s.String()
35753}
35754
35755// Validate inspects the fields of the type to determine if they are valid.
35756func (s *PartitionIndex) Validate() error {
35757	invalidParams := request.ErrInvalidParams{Context: "PartitionIndex"}
35758	if s.IndexName == nil {
35759		invalidParams.Add(request.NewErrParamRequired("IndexName"))
35760	}
35761	if s.IndexName != nil && len(*s.IndexName) < 1 {
35762		invalidParams.Add(request.NewErrParamMinLen("IndexName", 1))
35763	}
35764	if s.Keys == nil {
35765		invalidParams.Add(request.NewErrParamRequired("Keys"))
35766	}
35767	if s.Keys != nil && len(s.Keys) < 1 {
35768		invalidParams.Add(request.NewErrParamMinLen("Keys", 1))
35769	}
35770
35771	if invalidParams.Len() > 0 {
35772		return invalidParams
35773	}
35774	return nil
35775}
35776
35777// SetIndexName sets the IndexName field's value.
35778func (s *PartitionIndex) SetIndexName(v string) *PartitionIndex {
35779	s.IndexName = &v
35780	return s
35781}
35782
35783// SetKeys sets the Keys field's value.
35784func (s *PartitionIndex) SetKeys(v []*string) *PartitionIndex {
35785	s.Keys = v
35786	return s
35787}
35788
35789// A descriptor for a partition index in a table.
35790type PartitionIndexDescriptor struct {
35791	_ struct{} `type:"structure"`
35792
35793	// A list of errors that can occur when registering partition indexes for an
35794	// existing table.
35795	BackfillErrors []*BackfillError `type:"list"`
35796
35797	// The name of the partition index.
35798	//
35799	// IndexName is a required field
35800	IndexName *string `min:"1" type:"string" required:"true"`
35801
35802	// The status of the partition index.
35803	//
35804	// The possible statuses are:
35805	//
35806	//    * CREATING: The index is being created. When an index is in a CREATING
35807	//    state, the index or its table cannot be deleted.
35808	//
35809	//    * ACTIVE: The index creation succeeds.
35810	//
35811	//    * FAILED: The index creation fails.
35812	//
35813	//    * DELETING: The index is deleted from the list of indexes.
35814	//
35815	// IndexStatus is a required field
35816	IndexStatus *string `type:"string" required:"true" enum:"PartitionIndexStatus"`
35817
35818	// A list of one or more keys, as KeySchemaElement structures, for the partition
35819	// index.
35820	//
35821	// Keys is a required field
35822	Keys []*KeySchemaElement `min:"1" type:"list" required:"true"`
35823}
35824
35825// String returns the string representation
35826func (s PartitionIndexDescriptor) String() string {
35827	return awsutil.Prettify(s)
35828}
35829
35830// GoString returns the string representation
35831func (s PartitionIndexDescriptor) GoString() string {
35832	return s.String()
35833}
35834
35835// SetBackfillErrors sets the BackfillErrors field's value.
35836func (s *PartitionIndexDescriptor) SetBackfillErrors(v []*BackfillError) *PartitionIndexDescriptor {
35837	s.BackfillErrors = v
35838	return s
35839}
35840
35841// SetIndexName sets the IndexName field's value.
35842func (s *PartitionIndexDescriptor) SetIndexName(v string) *PartitionIndexDescriptor {
35843	s.IndexName = &v
35844	return s
35845}
35846
35847// SetIndexStatus sets the IndexStatus field's value.
35848func (s *PartitionIndexDescriptor) SetIndexStatus(v string) *PartitionIndexDescriptor {
35849	s.IndexStatus = &v
35850	return s
35851}
35852
35853// SetKeys sets the Keys field's value.
35854func (s *PartitionIndexDescriptor) SetKeys(v []*KeySchemaElement) *PartitionIndexDescriptor {
35855	s.Keys = v
35856	return s
35857}
35858
35859// The structure used to create and update a partition.
35860type PartitionInput struct {
35861	_ struct{} `type:"structure"`
35862
35863	// The last time at which the partition was accessed.
35864	LastAccessTime *time.Time `type:"timestamp"`
35865
35866	// The last time at which column statistics were computed for this partition.
35867	LastAnalyzedTime *time.Time `type:"timestamp"`
35868
35869	// These key-value pairs define partition parameters.
35870	Parameters map[string]*string `type:"map"`
35871
35872	// Provides information about the physical location where the partition is stored.
35873	StorageDescriptor *StorageDescriptor `type:"structure"`
35874
35875	// The values of the partition. Although this parameter is not required by the
35876	// SDK, you must specify this parameter for a valid input.
35877	//
35878	// The values for the keys for the new partition must be passed as an array
35879	// of String objects that must be ordered in the same order as the partition
35880	// keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values
35881	// to the wrong keys.
35882	Values []*string `type:"list"`
35883}
35884
35885// String returns the string representation
35886func (s PartitionInput) String() string {
35887	return awsutil.Prettify(s)
35888}
35889
35890// GoString returns the string representation
35891func (s PartitionInput) GoString() string {
35892	return s.String()
35893}
35894
35895// Validate inspects the fields of the type to determine if they are valid.
35896func (s *PartitionInput) Validate() error {
35897	invalidParams := request.ErrInvalidParams{Context: "PartitionInput"}
35898	if s.StorageDescriptor != nil {
35899		if err := s.StorageDescriptor.Validate(); err != nil {
35900			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
35901		}
35902	}
35903
35904	if invalidParams.Len() > 0 {
35905		return invalidParams
35906	}
35907	return nil
35908}
35909
35910// SetLastAccessTime sets the LastAccessTime field's value.
35911func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput {
35912	s.LastAccessTime = &v
35913	return s
35914}
35915
35916// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
35917func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput {
35918	s.LastAnalyzedTime = &v
35919	return s
35920}
35921
35922// SetParameters sets the Parameters field's value.
35923func (s *PartitionInput) SetParameters(v map[string]*string) *PartitionInput {
35924	s.Parameters = v
35925	return s
35926}
35927
35928// SetStorageDescriptor sets the StorageDescriptor field's value.
35929func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput {
35930	s.StorageDescriptor = v
35931	return s
35932}
35933
35934// SetValues sets the Values field's value.
35935func (s *PartitionInput) SetValues(v []*string) *PartitionInput {
35936	s.Values = v
35937	return s
35938}
35939
35940// Contains a list of values defining partitions.
35941type PartitionValueList struct {
35942	_ struct{} `type:"structure"`
35943
35944	// The list of values.
35945	//
35946	// Values is a required field
35947	Values []*string `type:"list" required:"true"`
35948}
35949
35950// String returns the string representation
35951func (s PartitionValueList) String() string {
35952	return awsutil.Prettify(s)
35953}
35954
35955// GoString returns the string representation
35956func (s PartitionValueList) GoString() string {
35957	return s.String()
35958}
35959
35960// Validate inspects the fields of the type to determine if they are valid.
35961func (s *PartitionValueList) Validate() error {
35962	invalidParams := request.ErrInvalidParams{Context: "PartitionValueList"}
35963	if s.Values == nil {
35964		invalidParams.Add(request.NewErrParamRequired("Values"))
35965	}
35966
35967	if invalidParams.Len() > 0 {
35968		return invalidParams
35969	}
35970	return nil
35971}
35972
35973// SetValues sets the Values field's value.
35974func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList {
35975	s.Values = v
35976	return s
35977}
35978
35979// Specifies the physical requirements for a connection.
35980type PhysicalConnectionRequirements struct {
35981	_ struct{} `type:"structure"`
35982
35983	// The connection's Availability Zone. This field is redundant because the specified
35984	// subnet implies the Availability Zone to be used. Currently the field must
35985	// be populated, but it will be deprecated in the future.
35986	AvailabilityZone *string `min:"1" type:"string"`
35987
35988	// The security group ID list used by the connection.
35989	SecurityGroupIdList []*string `type:"list"`
35990
35991	// The subnet ID used by the connection.
35992	SubnetId *string `min:"1" type:"string"`
35993}
35994
35995// String returns the string representation
35996func (s PhysicalConnectionRequirements) String() string {
35997	return awsutil.Prettify(s)
35998}
35999
36000// GoString returns the string representation
36001func (s PhysicalConnectionRequirements) GoString() string {
36002	return s.String()
36003}
36004
36005// Validate inspects the fields of the type to determine if they are valid.
36006func (s *PhysicalConnectionRequirements) Validate() error {
36007	invalidParams := request.ErrInvalidParams{Context: "PhysicalConnectionRequirements"}
36008	if s.AvailabilityZone != nil && len(*s.AvailabilityZone) < 1 {
36009		invalidParams.Add(request.NewErrParamMinLen("AvailabilityZone", 1))
36010	}
36011	if s.SubnetId != nil && len(*s.SubnetId) < 1 {
36012		invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
36013	}
36014
36015	if invalidParams.Len() > 0 {
36016		return invalidParams
36017	}
36018	return nil
36019}
36020
36021// SetAvailabilityZone sets the AvailabilityZone field's value.
36022func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements {
36023	s.AvailabilityZone = &v
36024	return s
36025}
36026
36027// SetSecurityGroupIdList sets the SecurityGroupIdList field's value.
36028func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []*string) *PhysicalConnectionRequirements {
36029	s.SecurityGroupIdList = v
36030	return s
36031}
36032
36033// SetSubnetId sets the SubnetId field's value.
36034func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements {
36035	s.SubnetId = &v
36036	return s
36037}
36038
36039// A job run that was used in the predicate of a conditional trigger that triggered
36040// this job run.
36041type Predecessor struct {
36042	_ struct{} `type:"structure"`
36043
36044	// The name of the job definition used by the predecessor job run.
36045	JobName *string `min:"1" type:"string"`
36046
36047	// The job-run ID of the predecessor job run.
36048	RunId *string `min:"1" type:"string"`
36049}
36050
36051// String returns the string representation
36052func (s Predecessor) String() string {
36053	return awsutil.Prettify(s)
36054}
36055
36056// GoString returns the string representation
36057func (s Predecessor) GoString() string {
36058	return s.String()
36059}
36060
36061// SetJobName sets the JobName field's value.
36062func (s *Predecessor) SetJobName(v string) *Predecessor {
36063	s.JobName = &v
36064	return s
36065}
36066
36067// SetRunId sets the RunId field's value.
36068func (s *Predecessor) SetRunId(v string) *Predecessor {
36069	s.RunId = &v
36070	return s
36071}
36072
36073// Defines the predicate of the trigger, which determines when it fires.
36074type Predicate struct {
36075	_ struct{} `type:"structure"`
36076
36077	// A list of the conditions that determine when the trigger will fire.
36078	Conditions []*Condition `type:"list"`
36079
36080	// An optional field if only one condition is listed. If multiple conditions
36081	// are listed, then this field is required.
36082	Logical *string `type:"string" enum:"Logical"`
36083}
36084
36085// String returns the string representation
36086func (s Predicate) String() string {
36087	return awsutil.Prettify(s)
36088}
36089
36090// GoString returns the string representation
36091func (s Predicate) GoString() string {
36092	return s.String()
36093}
36094
36095// Validate inspects the fields of the type to determine if they are valid.
36096func (s *Predicate) Validate() error {
36097	invalidParams := request.ErrInvalidParams{Context: "Predicate"}
36098	if s.Conditions != nil {
36099		for i, v := range s.Conditions {
36100			if v == nil {
36101				continue
36102			}
36103			if err := v.Validate(); err != nil {
36104				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams))
36105			}
36106		}
36107	}
36108
36109	if invalidParams.Len() > 0 {
36110		return invalidParams
36111	}
36112	return nil
36113}
36114
36115// SetConditions sets the Conditions field's value.
36116func (s *Predicate) SetConditions(v []*Condition) *Predicate {
36117	s.Conditions = v
36118	return s
36119}
36120
36121// SetLogical sets the Logical field's value.
36122func (s *Predicate) SetLogical(v string) *Predicate {
36123	s.Logical = &v
36124	return s
36125}
36126
36127// Permissions granted to a principal.
36128type PrincipalPermissions struct {
36129	_ struct{} `type:"structure"`
36130
36131	// The permissions that are granted to the principal.
36132	Permissions []*string `type:"list"`
36133
36134	// The principal who is granted permissions.
36135	Principal *DataLakePrincipal `type:"structure"`
36136}
36137
36138// String returns the string representation
36139func (s PrincipalPermissions) String() string {
36140	return awsutil.Prettify(s)
36141}
36142
36143// GoString returns the string representation
36144func (s PrincipalPermissions) GoString() string {
36145	return s.String()
36146}
36147
36148// Validate inspects the fields of the type to determine if they are valid.
36149func (s *PrincipalPermissions) Validate() error {
36150	invalidParams := request.ErrInvalidParams{Context: "PrincipalPermissions"}
36151	if s.Principal != nil {
36152		if err := s.Principal.Validate(); err != nil {
36153			invalidParams.AddNested("Principal", err.(request.ErrInvalidParams))
36154		}
36155	}
36156
36157	if invalidParams.Len() > 0 {
36158		return invalidParams
36159	}
36160	return nil
36161}
36162
36163// SetPermissions sets the Permissions field's value.
36164func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions {
36165	s.Permissions = v
36166	return s
36167}
36168
36169// SetPrincipal sets the Principal field's value.
36170func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions {
36171	s.Principal = v
36172	return s
36173}
36174
36175// Defines a property predicate.
36176type PropertyPredicate struct {
36177	_ struct{} `type:"structure"`
36178
36179	// The comparator used to compare this property to others.
36180	Comparator *string `type:"string" enum:"Comparator"`
36181
36182	// The key of the property.
36183	Key *string `type:"string"`
36184
36185	// The value of the property.
36186	Value *string `type:"string"`
36187}
36188
36189// String returns the string representation
36190func (s PropertyPredicate) String() string {
36191	return awsutil.Prettify(s)
36192}
36193
36194// GoString returns the string representation
36195func (s PropertyPredicate) GoString() string {
36196	return s.String()
36197}
36198
36199// SetComparator sets the Comparator field's value.
36200func (s *PropertyPredicate) SetComparator(v string) *PropertyPredicate {
36201	s.Comparator = &v
36202	return s
36203}
36204
36205// SetKey sets the Key field's value.
36206func (s *PropertyPredicate) SetKey(v string) *PropertyPredicate {
36207	s.Key = &v
36208	return s
36209}
36210
36211// SetValue sets the Value field's value.
36212func (s *PropertyPredicate) SetValue(v string) *PropertyPredicate {
36213	s.Value = &v
36214	return s
36215}
36216
36217type PutDataCatalogEncryptionSettingsInput struct {
36218	_ struct{} `type:"structure"`
36219
36220	// The ID of the Data Catalog to set the security configuration for. If none
36221	// is provided, the AWS account ID is used by default.
36222	CatalogId *string `min:"1" type:"string"`
36223
36224	// The security configuration to set.
36225	//
36226	// DataCatalogEncryptionSettings is a required field
36227	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure" required:"true"`
36228}
36229
36230// String returns the string representation
36231func (s PutDataCatalogEncryptionSettingsInput) String() string {
36232	return awsutil.Prettify(s)
36233}
36234
36235// GoString returns the string representation
36236func (s PutDataCatalogEncryptionSettingsInput) GoString() string {
36237	return s.String()
36238}
36239
36240// Validate inspects the fields of the type to determine if they are valid.
36241func (s *PutDataCatalogEncryptionSettingsInput) Validate() error {
36242	invalidParams := request.ErrInvalidParams{Context: "PutDataCatalogEncryptionSettingsInput"}
36243	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
36244		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
36245	}
36246	if s.DataCatalogEncryptionSettings == nil {
36247		invalidParams.Add(request.NewErrParamRequired("DataCatalogEncryptionSettings"))
36248	}
36249	if s.DataCatalogEncryptionSettings != nil {
36250		if err := s.DataCatalogEncryptionSettings.Validate(); err != nil {
36251			invalidParams.AddNested("DataCatalogEncryptionSettings", err.(request.ErrInvalidParams))
36252		}
36253	}
36254
36255	if invalidParams.Len() > 0 {
36256		return invalidParams
36257	}
36258	return nil
36259}
36260
36261// SetCatalogId sets the CatalogId field's value.
36262func (s *PutDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *PutDataCatalogEncryptionSettingsInput {
36263	s.CatalogId = &v
36264	return s
36265}
36266
36267// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
36268func (s *PutDataCatalogEncryptionSettingsInput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *PutDataCatalogEncryptionSettingsInput {
36269	s.DataCatalogEncryptionSettings = v
36270	return s
36271}
36272
36273type PutDataCatalogEncryptionSettingsOutput struct {
36274	_ struct{} `type:"structure"`
36275}
36276
36277// String returns the string representation
36278func (s PutDataCatalogEncryptionSettingsOutput) String() string {
36279	return awsutil.Prettify(s)
36280}
36281
36282// GoString returns the string representation
36283func (s PutDataCatalogEncryptionSettingsOutput) GoString() string {
36284	return s.String()
36285}
36286
36287type PutResourcePolicyInput struct {
36288	_ struct{} `type:"structure"`
36289
36290	// Allows you to specify if you want to use both resource-level and account/catalog-level
36291	// resource policies. A resource-level policy is a policy attached to an individual
36292	// resource such as a database or a table.
36293	//
36294	// The default value of NO indicates that resource-level policies cannot co-exist
36295	// with an account-level policy. A value of YES means the use of both resource-level
36296	// and account/catalog-level resource policies is allowed.
36297	EnableHybrid *string `type:"string" enum:"EnableHybridValues"`
36298
36299	// A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is
36300	// used to create a new policy. If a value of NONE or a null value is used,
36301	// the call will not depend on the existence of a policy.
36302	PolicyExistsCondition *string `type:"string" enum:"ExistCondition"`
36303
36304	// The hash value returned when the previous policy was set using PutResourcePolicy.
36305	// Its purpose is to prevent concurrent modifications of a policy. Do not use
36306	// this parameter if no previous policy has been set.
36307	PolicyHashCondition *string `min:"1" type:"string"`
36308
36309	// Contains the policy document to set, in JSON format.
36310	//
36311	// PolicyInJson is a required field
36312	PolicyInJson *string `min:"2" type:"string" required:"true"`
36313
36314	// The ARN of the AWS Glue resource for the resource policy to be set. For more
36315	// information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern
36316	// (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id)
36317	ResourceArn *string `min:"1" type:"string"`
36318}
36319
36320// String returns the string representation
36321func (s PutResourcePolicyInput) String() string {
36322	return awsutil.Prettify(s)
36323}
36324
36325// GoString returns the string representation
36326func (s PutResourcePolicyInput) GoString() string {
36327	return s.String()
36328}
36329
36330// Validate inspects the fields of the type to determine if they are valid.
36331func (s *PutResourcePolicyInput) Validate() error {
36332	invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"}
36333	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
36334		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
36335	}
36336	if s.PolicyInJson == nil {
36337		invalidParams.Add(request.NewErrParamRequired("PolicyInJson"))
36338	}
36339	if s.PolicyInJson != nil && len(*s.PolicyInJson) < 2 {
36340		invalidParams.Add(request.NewErrParamMinLen("PolicyInJson", 2))
36341	}
36342	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
36343		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
36344	}
36345
36346	if invalidParams.Len() > 0 {
36347		return invalidParams
36348	}
36349	return nil
36350}
36351
36352// SetEnableHybrid sets the EnableHybrid field's value.
36353func (s *PutResourcePolicyInput) SetEnableHybrid(v string) *PutResourcePolicyInput {
36354	s.EnableHybrid = &v
36355	return s
36356}
36357
36358// SetPolicyExistsCondition sets the PolicyExistsCondition field's value.
36359func (s *PutResourcePolicyInput) SetPolicyExistsCondition(v string) *PutResourcePolicyInput {
36360	s.PolicyExistsCondition = &v
36361	return s
36362}
36363
36364// SetPolicyHashCondition sets the PolicyHashCondition field's value.
36365func (s *PutResourcePolicyInput) SetPolicyHashCondition(v string) *PutResourcePolicyInput {
36366	s.PolicyHashCondition = &v
36367	return s
36368}
36369
36370// SetPolicyInJson sets the PolicyInJson field's value.
36371func (s *PutResourcePolicyInput) SetPolicyInJson(v string) *PutResourcePolicyInput {
36372	s.PolicyInJson = &v
36373	return s
36374}
36375
36376// SetResourceArn sets the ResourceArn field's value.
36377func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput {
36378	s.ResourceArn = &v
36379	return s
36380}
36381
36382type PutResourcePolicyOutput struct {
36383	_ struct{} `type:"structure"`
36384
36385	// A hash of the policy that has just been set. This must be included in a subsequent
36386	// call that overwrites or updates this policy.
36387	PolicyHash *string `min:"1" type:"string"`
36388}
36389
36390// String returns the string representation
36391func (s PutResourcePolicyOutput) String() string {
36392	return awsutil.Prettify(s)
36393}
36394
36395// GoString returns the string representation
36396func (s PutResourcePolicyOutput) GoString() string {
36397	return s.String()
36398}
36399
36400// SetPolicyHash sets the PolicyHash field's value.
36401func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput {
36402	s.PolicyHash = &v
36403	return s
36404}
36405
36406type PutSchemaVersionMetadataInput struct {
36407	_ struct{} `type:"structure"`
36408
36409	// The metadata key's corresponding value.
36410	//
36411	// MetadataKeyValue is a required field
36412	MetadataKeyValue *MetadataKeyValuePair `type:"structure" required:"true"`
36413
36414	// The unique ID for the schema.
36415	SchemaId *SchemaId `type:"structure"`
36416
36417	// The unique version ID of the schema version.
36418	SchemaVersionId *string `min:"36" type:"string"`
36419
36420	// The version number of the schema.
36421	SchemaVersionNumber *SchemaVersionNumber `type:"structure"`
36422}
36423
36424// String returns the string representation
36425func (s PutSchemaVersionMetadataInput) String() string {
36426	return awsutil.Prettify(s)
36427}
36428
36429// GoString returns the string representation
36430func (s PutSchemaVersionMetadataInput) GoString() string {
36431	return s.String()
36432}
36433
36434// Validate inspects the fields of the type to determine if they are valid.
36435func (s *PutSchemaVersionMetadataInput) Validate() error {
36436	invalidParams := request.ErrInvalidParams{Context: "PutSchemaVersionMetadataInput"}
36437	if s.MetadataKeyValue == nil {
36438		invalidParams.Add(request.NewErrParamRequired("MetadataKeyValue"))
36439	}
36440	if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 {
36441		invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36))
36442	}
36443	if s.MetadataKeyValue != nil {
36444		if err := s.MetadataKeyValue.Validate(); err != nil {
36445			invalidParams.AddNested("MetadataKeyValue", err.(request.ErrInvalidParams))
36446		}
36447	}
36448	if s.SchemaId != nil {
36449		if err := s.SchemaId.Validate(); err != nil {
36450			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
36451		}
36452	}
36453	if s.SchemaVersionNumber != nil {
36454		if err := s.SchemaVersionNumber.Validate(); err != nil {
36455			invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams))
36456		}
36457	}
36458
36459	if invalidParams.Len() > 0 {
36460		return invalidParams
36461	}
36462	return nil
36463}
36464
36465// SetMetadataKeyValue sets the MetadataKeyValue field's value.
36466func (s *PutSchemaVersionMetadataInput) SetMetadataKeyValue(v *MetadataKeyValuePair) *PutSchemaVersionMetadataInput {
36467	s.MetadataKeyValue = v
36468	return s
36469}
36470
36471// SetSchemaId sets the SchemaId field's value.
36472func (s *PutSchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *PutSchemaVersionMetadataInput {
36473	s.SchemaId = v
36474	return s
36475}
36476
36477// SetSchemaVersionId sets the SchemaVersionId field's value.
36478func (s *PutSchemaVersionMetadataInput) SetSchemaVersionId(v string) *PutSchemaVersionMetadataInput {
36479	s.SchemaVersionId = &v
36480	return s
36481}
36482
36483// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
36484func (s *PutSchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *PutSchemaVersionMetadataInput {
36485	s.SchemaVersionNumber = v
36486	return s
36487}
36488
36489type PutSchemaVersionMetadataOutput struct {
36490	_ struct{} `type:"structure"`
36491
36492	// The latest version of the schema.
36493	LatestVersion *bool `type:"boolean"`
36494
36495	// The metadata key.
36496	MetadataKey *string `min:"1" type:"string"`
36497
36498	// The value of the metadata key.
36499	MetadataValue *string `min:"1" type:"string"`
36500
36501	// The name for the registry.
36502	RegistryName *string `min:"1" type:"string"`
36503
36504	// The Amazon Resource Name (ARN) for the schema.
36505	SchemaArn *string `min:"1" type:"string"`
36506
36507	// The name for the schema.
36508	SchemaName *string `min:"1" type:"string"`
36509
36510	// The unique version ID of the schema version.
36511	SchemaVersionId *string `min:"36" type:"string"`
36512
36513	// The version number of the schema.
36514	VersionNumber *int64 `min:"1" type:"long"`
36515}
36516
36517// String returns the string representation
36518func (s PutSchemaVersionMetadataOutput) String() string {
36519	return awsutil.Prettify(s)
36520}
36521
36522// GoString returns the string representation
36523func (s PutSchemaVersionMetadataOutput) GoString() string {
36524	return s.String()
36525}
36526
36527// SetLatestVersion sets the LatestVersion field's value.
36528func (s *PutSchemaVersionMetadataOutput) SetLatestVersion(v bool) *PutSchemaVersionMetadataOutput {
36529	s.LatestVersion = &v
36530	return s
36531}
36532
36533// SetMetadataKey sets the MetadataKey field's value.
36534func (s *PutSchemaVersionMetadataOutput) SetMetadataKey(v string) *PutSchemaVersionMetadataOutput {
36535	s.MetadataKey = &v
36536	return s
36537}
36538
36539// SetMetadataValue sets the MetadataValue field's value.
36540func (s *PutSchemaVersionMetadataOutput) SetMetadataValue(v string) *PutSchemaVersionMetadataOutput {
36541	s.MetadataValue = &v
36542	return s
36543}
36544
36545// SetRegistryName sets the RegistryName field's value.
36546func (s *PutSchemaVersionMetadataOutput) SetRegistryName(v string) *PutSchemaVersionMetadataOutput {
36547	s.RegistryName = &v
36548	return s
36549}
36550
36551// SetSchemaArn sets the SchemaArn field's value.
36552func (s *PutSchemaVersionMetadataOutput) SetSchemaArn(v string) *PutSchemaVersionMetadataOutput {
36553	s.SchemaArn = &v
36554	return s
36555}
36556
36557// SetSchemaName sets the SchemaName field's value.
36558func (s *PutSchemaVersionMetadataOutput) SetSchemaName(v string) *PutSchemaVersionMetadataOutput {
36559	s.SchemaName = &v
36560	return s
36561}
36562
36563// SetSchemaVersionId sets the SchemaVersionId field's value.
36564func (s *PutSchemaVersionMetadataOutput) SetSchemaVersionId(v string) *PutSchemaVersionMetadataOutput {
36565	s.SchemaVersionId = &v
36566	return s
36567}
36568
36569// SetVersionNumber sets the VersionNumber field's value.
36570func (s *PutSchemaVersionMetadataOutput) SetVersionNumber(v int64) *PutSchemaVersionMetadataOutput {
36571	s.VersionNumber = &v
36572	return s
36573}
36574
36575type PutWorkflowRunPropertiesInput struct {
36576	_ struct{} `type:"structure"`
36577
36578	// Name of the workflow which was run.
36579	//
36580	// Name is a required field
36581	Name *string `min:"1" type:"string" required:"true"`
36582
36583	// The ID of the workflow run for which the run properties should be updated.
36584	//
36585	// RunId is a required field
36586	RunId *string `min:"1" type:"string" required:"true"`
36587
36588	// The properties to put for the specified run.
36589	//
36590	// RunProperties is a required field
36591	RunProperties map[string]*string `type:"map" required:"true"`
36592}
36593
36594// String returns the string representation
36595func (s PutWorkflowRunPropertiesInput) String() string {
36596	return awsutil.Prettify(s)
36597}
36598
36599// GoString returns the string representation
36600func (s PutWorkflowRunPropertiesInput) GoString() string {
36601	return s.String()
36602}
36603
36604// Validate inspects the fields of the type to determine if they are valid.
36605func (s *PutWorkflowRunPropertiesInput) Validate() error {
36606	invalidParams := request.ErrInvalidParams{Context: "PutWorkflowRunPropertiesInput"}
36607	if s.Name == nil {
36608		invalidParams.Add(request.NewErrParamRequired("Name"))
36609	}
36610	if s.Name != nil && len(*s.Name) < 1 {
36611		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
36612	}
36613	if s.RunId == nil {
36614		invalidParams.Add(request.NewErrParamRequired("RunId"))
36615	}
36616	if s.RunId != nil && len(*s.RunId) < 1 {
36617		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
36618	}
36619	if s.RunProperties == nil {
36620		invalidParams.Add(request.NewErrParamRequired("RunProperties"))
36621	}
36622
36623	if invalidParams.Len() > 0 {
36624		return invalidParams
36625	}
36626	return nil
36627}
36628
36629// SetName sets the Name field's value.
36630func (s *PutWorkflowRunPropertiesInput) SetName(v string) *PutWorkflowRunPropertiesInput {
36631	s.Name = &v
36632	return s
36633}
36634
36635// SetRunId sets the RunId field's value.
36636func (s *PutWorkflowRunPropertiesInput) SetRunId(v string) *PutWorkflowRunPropertiesInput {
36637	s.RunId = &v
36638	return s
36639}
36640
36641// SetRunProperties sets the RunProperties field's value.
36642func (s *PutWorkflowRunPropertiesInput) SetRunProperties(v map[string]*string) *PutWorkflowRunPropertiesInput {
36643	s.RunProperties = v
36644	return s
36645}
36646
36647type PutWorkflowRunPropertiesOutput struct {
36648	_ struct{} `type:"structure"`
36649}
36650
36651// String returns the string representation
36652func (s PutWorkflowRunPropertiesOutput) String() string {
36653	return awsutil.Prettify(s)
36654}
36655
36656// GoString returns the string representation
36657func (s PutWorkflowRunPropertiesOutput) GoString() string {
36658	return s.String()
36659}
36660
36661type QuerySchemaVersionMetadataInput struct {
36662	_ struct{} `type:"structure"`
36663
36664	// Maximum number of results required per page. If the value is not supplied,
36665	// this will be defaulted to 25 per page.
36666	MaxResults *int64 `min:"1" type:"integer"`
36667
36668	// Search key-value pairs for metadata, if they are not provided all the metadata
36669	// information will be fetched.
36670	MetadataList []*MetadataKeyValuePair `type:"list"`
36671
36672	// A continuation token, if this is a continuation call.
36673	NextToken *string `type:"string"`
36674
36675	// A wrapper structure that may contain the schema name and Amazon Resource
36676	// Name (ARN).
36677	SchemaId *SchemaId `type:"structure"`
36678
36679	// The unique version ID of the schema version.
36680	SchemaVersionId *string `min:"36" type:"string"`
36681
36682	// The version number of the schema.
36683	SchemaVersionNumber *SchemaVersionNumber `type:"structure"`
36684}
36685
36686// String returns the string representation
36687func (s QuerySchemaVersionMetadataInput) String() string {
36688	return awsutil.Prettify(s)
36689}
36690
36691// GoString returns the string representation
36692func (s QuerySchemaVersionMetadataInput) GoString() string {
36693	return s.String()
36694}
36695
36696// Validate inspects the fields of the type to determine if they are valid.
36697func (s *QuerySchemaVersionMetadataInput) Validate() error {
36698	invalidParams := request.ErrInvalidParams{Context: "QuerySchemaVersionMetadataInput"}
36699	if s.MaxResults != nil && *s.MaxResults < 1 {
36700		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36701	}
36702	if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 {
36703		invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36))
36704	}
36705	if s.MetadataList != nil {
36706		for i, v := range s.MetadataList {
36707			if v == nil {
36708				continue
36709			}
36710			if err := v.Validate(); err != nil {
36711				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetadataList", i), err.(request.ErrInvalidParams))
36712			}
36713		}
36714	}
36715	if s.SchemaId != nil {
36716		if err := s.SchemaId.Validate(); err != nil {
36717			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
36718		}
36719	}
36720	if s.SchemaVersionNumber != nil {
36721		if err := s.SchemaVersionNumber.Validate(); err != nil {
36722			invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams))
36723		}
36724	}
36725
36726	if invalidParams.Len() > 0 {
36727		return invalidParams
36728	}
36729	return nil
36730}
36731
36732// SetMaxResults sets the MaxResults field's value.
36733func (s *QuerySchemaVersionMetadataInput) SetMaxResults(v int64) *QuerySchemaVersionMetadataInput {
36734	s.MaxResults = &v
36735	return s
36736}
36737
36738// SetMetadataList sets the MetadataList field's value.
36739func (s *QuerySchemaVersionMetadataInput) SetMetadataList(v []*MetadataKeyValuePair) *QuerySchemaVersionMetadataInput {
36740	s.MetadataList = v
36741	return s
36742}
36743
36744// SetNextToken sets the NextToken field's value.
36745func (s *QuerySchemaVersionMetadataInput) SetNextToken(v string) *QuerySchemaVersionMetadataInput {
36746	s.NextToken = &v
36747	return s
36748}
36749
36750// SetSchemaId sets the SchemaId field's value.
36751func (s *QuerySchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *QuerySchemaVersionMetadataInput {
36752	s.SchemaId = v
36753	return s
36754}
36755
36756// SetSchemaVersionId sets the SchemaVersionId field's value.
36757func (s *QuerySchemaVersionMetadataInput) SetSchemaVersionId(v string) *QuerySchemaVersionMetadataInput {
36758	s.SchemaVersionId = &v
36759	return s
36760}
36761
36762// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
36763func (s *QuerySchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *QuerySchemaVersionMetadataInput {
36764	s.SchemaVersionNumber = v
36765	return s
36766}
36767
36768type QuerySchemaVersionMetadataOutput struct {
36769	_ struct{} `type:"structure"`
36770
36771	// A map of a metadata key and associated values.
36772	MetadataInfoMap map[string]*MetadataInfo `type:"map"`
36773
36774	// A continuation token for paginating the returned list of tokens, returned
36775	// if the current segment of the list is not the last.
36776	NextToken *string `type:"string"`
36777
36778	// The unique version ID of the schema version.
36779	SchemaVersionId *string `min:"36" type:"string"`
36780}
36781
36782// String returns the string representation
36783func (s QuerySchemaVersionMetadataOutput) String() string {
36784	return awsutil.Prettify(s)
36785}
36786
36787// GoString returns the string representation
36788func (s QuerySchemaVersionMetadataOutput) GoString() string {
36789	return s.String()
36790}
36791
36792// SetMetadataInfoMap sets the MetadataInfoMap field's value.
36793func (s *QuerySchemaVersionMetadataOutput) SetMetadataInfoMap(v map[string]*MetadataInfo) *QuerySchemaVersionMetadataOutput {
36794	s.MetadataInfoMap = v
36795	return s
36796}
36797
36798// SetNextToken sets the NextToken field's value.
36799func (s *QuerySchemaVersionMetadataOutput) SetNextToken(v string) *QuerySchemaVersionMetadataOutput {
36800	s.NextToken = &v
36801	return s
36802}
36803
36804// SetSchemaVersionId sets the SchemaVersionId field's value.
36805func (s *QuerySchemaVersionMetadataOutput) SetSchemaVersionId(v string) *QuerySchemaVersionMetadataOutput {
36806	s.SchemaVersionId = &v
36807	return s
36808}
36809
36810// When crawling an Amazon S3 data source after the first crawl is complete,
36811// specifies whether to crawl the entire dataset again or to crawl only folders
36812// that were added since the last crawler run. For more information, see Incremental
36813// Crawls in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html)
36814// in the developer guide.
36815type RecrawlPolicy struct {
36816	_ struct{} `type:"structure"`
36817
36818	// Specifies whether to crawl the entire dataset again or to crawl only folders
36819	// that were added since the last crawler run.
36820	//
36821	// A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.
36822	//
36823	// A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were
36824	// added since the last crawler run.
36825	RecrawlBehavior *string `type:"string" enum:"RecrawlBehavior"`
36826}
36827
36828// String returns the string representation
36829func (s RecrawlPolicy) String() string {
36830	return awsutil.Prettify(s)
36831}
36832
36833// GoString returns the string representation
36834func (s RecrawlPolicy) GoString() string {
36835	return s.String()
36836}
36837
36838// SetRecrawlBehavior sets the RecrawlBehavior field's value.
36839func (s *RecrawlPolicy) SetRecrawlBehavior(v string) *RecrawlPolicy {
36840	s.RecrawlBehavior = &v
36841	return s
36842}
36843
36844type RegisterSchemaVersionInput struct {
36845	_ struct{} `type:"structure"`
36846
36847	// The schema definition using the DataFormat setting for the SchemaName.
36848	//
36849	// SchemaDefinition is a required field
36850	SchemaDefinition *string `min:"1" type:"string" required:"true"`
36851
36852	// This is a wrapper structure to contain schema identity fields. The structure
36853	// contains:
36854	//
36855	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
36856	//    SchemaArn or SchemaName and RegistryName has to be provided.
36857	//
36858	//    * SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName
36859	//    and RegistryName has to be provided.
36860	//
36861	// SchemaId is a required field
36862	SchemaId *SchemaId `type:"structure" required:"true"`
36863}
36864
36865// String returns the string representation
36866func (s RegisterSchemaVersionInput) String() string {
36867	return awsutil.Prettify(s)
36868}
36869
36870// GoString returns the string representation
36871func (s RegisterSchemaVersionInput) GoString() string {
36872	return s.String()
36873}
36874
36875// Validate inspects the fields of the type to determine if they are valid.
36876func (s *RegisterSchemaVersionInput) Validate() error {
36877	invalidParams := request.ErrInvalidParams{Context: "RegisterSchemaVersionInput"}
36878	if s.SchemaDefinition == nil {
36879		invalidParams.Add(request.NewErrParamRequired("SchemaDefinition"))
36880	}
36881	if s.SchemaDefinition != nil && len(*s.SchemaDefinition) < 1 {
36882		invalidParams.Add(request.NewErrParamMinLen("SchemaDefinition", 1))
36883	}
36884	if s.SchemaId == nil {
36885		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
36886	}
36887	if s.SchemaId != nil {
36888		if err := s.SchemaId.Validate(); err != nil {
36889			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
36890		}
36891	}
36892
36893	if invalidParams.Len() > 0 {
36894		return invalidParams
36895	}
36896	return nil
36897}
36898
36899// SetSchemaDefinition sets the SchemaDefinition field's value.
36900func (s *RegisterSchemaVersionInput) SetSchemaDefinition(v string) *RegisterSchemaVersionInput {
36901	s.SchemaDefinition = &v
36902	return s
36903}
36904
36905// SetSchemaId sets the SchemaId field's value.
36906func (s *RegisterSchemaVersionInput) SetSchemaId(v *SchemaId) *RegisterSchemaVersionInput {
36907	s.SchemaId = v
36908	return s
36909}
36910
36911type RegisterSchemaVersionOutput struct {
36912	_ struct{} `type:"structure"`
36913
36914	// The unique ID that represents the version of this schema.
36915	SchemaVersionId *string `min:"36" type:"string"`
36916
36917	// The status of the schema version.
36918	Status *string `type:"string" enum:"SchemaVersionStatus"`
36919
36920	// The version of this schema (for sync flow only, in case this is the first
36921	// version).
36922	VersionNumber *int64 `min:"1" type:"long"`
36923}
36924
36925// String returns the string representation
36926func (s RegisterSchemaVersionOutput) String() string {
36927	return awsutil.Prettify(s)
36928}
36929
36930// GoString returns the string representation
36931func (s RegisterSchemaVersionOutput) GoString() string {
36932	return s.String()
36933}
36934
36935// SetSchemaVersionId sets the SchemaVersionId field's value.
36936func (s *RegisterSchemaVersionOutput) SetSchemaVersionId(v string) *RegisterSchemaVersionOutput {
36937	s.SchemaVersionId = &v
36938	return s
36939}
36940
36941// SetStatus sets the Status field's value.
36942func (s *RegisterSchemaVersionOutput) SetStatus(v string) *RegisterSchemaVersionOutput {
36943	s.Status = &v
36944	return s
36945}
36946
36947// SetVersionNumber sets the VersionNumber field's value.
36948func (s *RegisterSchemaVersionOutput) SetVersionNumber(v int64) *RegisterSchemaVersionOutput {
36949	s.VersionNumber = &v
36950	return s
36951}
36952
36953// A wrapper structure that may contain the registry name and Amazon Resource
36954// Name (ARN).
36955type RegistryId struct {
36956	_ struct{} `type:"structure"`
36957
36958	// Arn of the registry to be updated. One of RegistryArn or RegistryName has
36959	// to be provided.
36960	RegistryArn *string `min:"1" type:"string"`
36961
36962	// Name of the registry. Used only for lookup. One of RegistryArn or RegistryName
36963	// has to be provided.
36964	RegistryName *string `min:"1" type:"string"`
36965}
36966
36967// String returns the string representation
36968func (s RegistryId) String() string {
36969	return awsutil.Prettify(s)
36970}
36971
36972// GoString returns the string representation
36973func (s RegistryId) GoString() string {
36974	return s.String()
36975}
36976
36977// Validate inspects the fields of the type to determine if they are valid.
36978func (s *RegistryId) Validate() error {
36979	invalidParams := request.ErrInvalidParams{Context: "RegistryId"}
36980	if s.RegistryArn != nil && len(*s.RegistryArn) < 1 {
36981		invalidParams.Add(request.NewErrParamMinLen("RegistryArn", 1))
36982	}
36983	if s.RegistryName != nil && len(*s.RegistryName) < 1 {
36984		invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1))
36985	}
36986
36987	if invalidParams.Len() > 0 {
36988		return invalidParams
36989	}
36990	return nil
36991}
36992
36993// SetRegistryArn sets the RegistryArn field's value.
36994func (s *RegistryId) SetRegistryArn(v string) *RegistryId {
36995	s.RegistryArn = &v
36996	return s
36997}
36998
36999// SetRegistryName sets the RegistryName field's value.
37000func (s *RegistryId) SetRegistryName(v string) *RegistryId {
37001	s.RegistryName = &v
37002	return s
37003}
37004
37005// A structure containing the details for a registry.
37006type RegistryListItem struct {
37007	_ struct{} `type:"structure"`
37008
37009	// The data the registry was created.
37010	CreatedTime *string `type:"string"`
37011
37012	// A description of the registry.
37013	Description *string `type:"string"`
37014
37015	// The Amazon Resource Name (ARN) of the registry.
37016	RegistryArn *string `min:"1" type:"string"`
37017
37018	// The name of the registry.
37019	RegistryName *string `min:"1" type:"string"`
37020
37021	// The status of the registry.
37022	Status *string `type:"string" enum:"RegistryStatus"`
37023
37024	// The date the registry was updated.
37025	UpdatedTime *string `type:"string"`
37026}
37027
37028// String returns the string representation
37029func (s RegistryListItem) String() string {
37030	return awsutil.Prettify(s)
37031}
37032
37033// GoString returns the string representation
37034func (s RegistryListItem) GoString() string {
37035	return s.String()
37036}
37037
37038// SetCreatedTime sets the CreatedTime field's value.
37039func (s *RegistryListItem) SetCreatedTime(v string) *RegistryListItem {
37040	s.CreatedTime = &v
37041	return s
37042}
37043
37044// SetDescription sets the Description field's value.
37045func (s *RegistryListItem) SetDescription(v string) *RegistryListItem {
37046	s.Description = &v
37047	return s
37048}
37049
37050// SetRegistryArn sets the RegistryArn field's value.
37051func (s *RegistryListItem) SetRegistryArn(v string) *RegistryListItem {
37052	s.RegistryArn = &v
37053	return s
37054}
37055
37056// SetRegistryName sets the RegistryName field's value.
37057func (s *RegistryListItem) SetRegistryName(v string) *RegistryListItem {
37058	s.RegistryName = &v
37059	return s
37060}
37061
37062// SetStatus sets the Status field's value.
37063func (s *RegistryListItem) SetStatus(v string) *RegistryListItem {
37064	s.Status = &v
37065	return s
37066}
37067
37068// SetUpdatedTime sets the UpdatedTime field's value.
37069func (s *RegistryListItem) SetUpdatedTime(v string) *RegistryListItem {
37070	s.UpdatedTime = &v
37071	return s
37072}
37073
37074type RemoveSchemaVersionMetadataInput struct {
37075	_ struct{} `type:"structure"`
37076
37077	// The value of the metadata key.
37078	//
37079	// MetadataKeyValue is a required field
37080	MetadataKeyValue *MetadataKeyValuePair `type:"structure" required:"true"`
37081
37082	// A wrapper structure that may contain the schema name and Amazon Resource
37083	// Name (ARN).
37084	SchemaId *SchemaId `type:"structure"`
37085
37086	// The unique version ID of the schema version.
37087	SchemaVersionId *string `min:"36" type:"string"`
37088
37089	// The version number of the schema.
37090	SchemaVersionNumber *SchemaVersionNumber `type:"structure"`
37091}
37092
37093// String returns the string representation
37094func (s RemoveSchemaVersionMetadataInput) String() string {
37095	return awsutil.Prettify(s)
37096}
37097
37098// GoString returns the string representation
37099func (s RemoveSchemaVersionMetadataInput) GoString() string {
37100	return s.String()
37101}
37102
37103// Validate inspects the fields of the type to determine if they are valid.
37104func (s *RemoveSchemaVersionMetadataInput) Validate() error {
37105	invalidParams := request.ErrInvalidParams{Context: "RemoveSchemaVersionMetadataInput"}
37106	if s.MetadataKeyValue == nil {
37107		invalidParams.Add(request.NewErrParamRequired("MetadataKeyValue"))
37108	}
37109	if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 {
37110		invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36))
37111	}
37112	if s.MetadataKeyValue != nil {
37113		if err := s.MetadataKeyValue.Validate(); err != nil {
37114			invalidParams.AddNested("MetadataKeyValue", err.(request.ErrInvalidParams))
37115		}
37116	}
37117	if s.SchemaId != nil {
37118		if err := s.SchemaId.Validate(); err != nil {
37119			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
37120		}
37121	}
37122	if s.SchemaVersionNumber != nil {
37123		if err := s.SchemaVersionNumber.Validate(); err != nil {
37124			invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams))
37125		}
37126	}
37127
37128	if invalidParams.Len() > 0 {
37129		return invalidParams
37130	}
37131	return nil
37132}
37133
37134// SetMetadataKeyValue sets the MetadataKeyValue field's value.
37135func (s *RemoveSchemaVersionMetadataInput) SetMetadataKeyValue(v *MetadataKeyValuePair) *RemoveSchemaVersionMetadataInput {
37136	s.MetadataKeyValue = v
37137	return s
37138}
37139
37140// SetSchemaId sets the SchemaId field's value.
37141func (s *RemoveSchemaVersionMetadataInput) SetSchemaId(v *SchemaId) *RemoveSchemaVersionMetadataInput {
37142	s.SchemaId = v
37143	return s
37144}
37145
37146// SetSchemaVersionId sets the SchemaVersionId field's value.
37147func (s *RemoveSchemaVersionMetadataInput) SetSchemaVersionId(v string) *RemoveSchemaVersionMetadataInput {
37148	s.SchemaVersionId = &v
37149	return s
37150}
37151
37152// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
37153func (s *RemoveSchemaVersionMetadataInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *RemoveSchemaVersionMetadataInput {
37154	s.SchemaVersionNumber = v
37155	return s
37156}
37157
37158type RemoveSchemaVersionMetadataOutput struct {
37159	_ struct{} `type:"structure"`
37160
37161	// The latest version of the schema.
37162	LatestVersion *bool `type:"boolean"`
37163
37164	// The metadata key.
37165	MetadataKey *string `min:"1" type:"string"`
37166
37167	// The value of the metadata key.
37168	MetadataValue *string `min:"1" type:"string"`
37169
37170	// The name of the registry.
37171	RegistryName *string `min:"1" type:"string"`
37172
37173	// The Amazon Resource Name (ARN) of the schema.
37174	SchemaArn *string `min:"1" type:"string"`
37175
37176	// The name of the schema.
37177	SchemaName *string `min:"1" type:"string"`
37178
37179	// The version ID for the schema version.
37180	SchemaVersionId *string `min:"36" type:"string"`
37181
37182	// The version number of the schema.
37183	VersionNumber *int64 `min:"1" type:"long"`
37184}
37185
37186// String returns the string representation
37187func (s RemoveSchemaVersionMetadataOutput) String() string {
37188	return awsutil.Prettify(s)
37189}
37190
37191// GoString returns the string representation
37192func (s RemoveSchemaVersionMetadataOutput) GoString() string {
37193	return s.String()
37194}
37195
37196// SetLatestVersion sets the LatestVersion field's value.
37197func (s *RemoveSchemaVersionMetadataOutput) SetLatestVersion(v bool) *RemoveSchemaVersionMetadataOutput {
37198	s.LatestVersion = &v
37199	return s
37200}
37201
37202// SetMetadataKey sets the MetadataKey field's value.
37203func (s *RemoveSchemaVersionMetadataOutput) SetMetadataKey(v string) *RemoveSchemaVersionMetadataOutput {
37204	s.MetadataKey = &v
37205	return s
37206}
37207
37208// SetMetadataValue sets the MetadataValue field's value.
37209func (s *RemoveSchemaVersionMetadataOutput) SetMetadataValue(v string) *RemoveSchemaVersionMetadataOutput {
37210	s.MetadataValue = &v
37211	return s
37212}
37213
37214// SetRegistryName sets the RegistryName field's value.
37215func (s *RemoveSchemaVersionMetadataOutput) SetRegistryName(v string) *RemoveSchemaVersionMetadataOutput {
37216	s.RegistryName = &v
37217	return s
37218}
37219
37220// SetSchemaArn sets the SchemaArn field's value.
37221func (s *RemoveSchemaVersionMetadataOutput) SetSchemaArn(v string) *RemoveSchemaVersionMetadataOutput {
37222	s.SchemaArn = &v
37223	return s
37224}
37225
37226// SetSchemaName sets the SchemaName field's value.
37227func (s *RemoveSchemaVersionMetadataOutput) SetSchemaName(v string) *RemoveSchemaVersionMetadataOutput {
37228	s.SchemaName = &v
37229	return s
37230}
37231
37232// SetSchemaVersionId sets the SchemaVersionId field's value.
37233func (s *RemoveSchemaVersionMetadataOutput) SetSchemaVersionId(v string) *RemoveSchemaVersionMetadataOutput {
37234	s.SchemaVersionId = &v
37235	return s
37236}
37237
37238// SetVersionNumber sets the VersionNumber field's value.
37239func (s *RemoveSchemaVersionMetadataOutput) SetVersionNumber(v int64) *RemoveSchemaVersionMetadataOutput {
37240	s.VersionNumber = &v
37241	return s
37242}
37243
37244type ResetJobBookmarkInput struct {
37245	_ struct{} `type:"structure"`
37246
37247	// The name of the job in question.
37248	//
37249	// JobName is a required field
37250	JobName *string `type:"string" required:"true"`
37251
37252	// The unique run identifier associated with this job run.
37253	RunId *string `type:"string"`
37254}
37255
37256// String returns the string representation
37257func (s ResetJobBookmarkInput) String() string {
37258	return awsutil.Prettify(s)
37259}
37260
37261// GoString returns the string representation
37262func (s ResetJobBookmarkInput) GoString() string {
37263	return s.String()
37264}
37265
37266// Validate inspects the fields of the type to determine if they are valid.
37267func (s *ResetJobBookmarkInput) Validate() error {
37268	invalidParams := request.ErrInvalidParams{Context: "ResetJobBookmarkInput"}
37269	if s.JobName == nil {
37270		invalidParams.Add(request.NewErrParamRequired("JobName"))
37271	}
37272
37273	if invalidParams.Len() > 0 {
37274		return invalidParams
37275	}
37276	return nil
37277}
37278
37279// SetJobName sets the JobName field's value.
37280func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput {
37281	s.JobName = &v
37282	return s
37283}
37284
37285// SetRunId sets the RunId field's value.
37286func (s *ResetJobBookmarkInput) SetRunId(v string) *ResetJobBookmarkInput {
37287	s.RunId = &v
37288	return s
37289}
37290
37291type ResetJobBookmarkOutput struct {
37292	_ struct{} `type:"structure"`
37293
37294	// The reset bookmark entry.
37295	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
37296}
37297
37298// String returns the string representation
37299func (s ResetJobBookmarkOutput) String() string {
37300	return awsutil.Prettify(s)
37301}
37302
37303// GoString returns the string representation
37304func (s ResetJobBookmarkOutput) GoString() string {
37305	return s.String()
37306}
37307
37308// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
37309func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput {
37310	s.JobBookmarkEntry = v
37311	return s
37312}
37313
37314// A resource numerical limit was exceeded.
37315type ResourceNumberLimitExceededException struct {
37316	_            struct{}                  `type:"structure"`
37317	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37318
37319	// A message describing the problem.
37320	Message_ *string `locationName:"Message" type:"string"`
37321}
37322
37323// String returns the string representation
37324func (s ResourceNumberLimitExceededException) String() string {
37325	return awsutil.Prettify(s)
37326}
37327
37328// GoString returns the string representation
37329func (s ResourceNumberLimitExceededException) GoString() string {
37330	return s.String()
37331}
37332
37333func newErrorResourceNumberLimitExceededException(v protocol.ResponseMetadata) error {
37334	return &ResourceNumberLimitExceededException{
37335		RespMetadata: v,
37336	}
37337}
37338
37339// Code returns the exception type name.
37340func (s *ResourceNumberLimitExceededException) Code() string {
37341	return "ResourceNumberLimitExceededException"
37342}
37343
37344// Message returns the exception's message.
37345func (s *ResourceNumberLimitExceededException) Message() string {
37346	if s.Message_ != nil {
37347		return *s.Message_
37348	}
37349	return ""
37350}
37351
37352// OrigErr always returns nil, satisfies awserr.Error interface.
37353func (s *ResourceNumberLimitExceededException) OrigErr() error {
37354	return nil
37355}
37356
37357func (s *ResourceNumberLimitExceededException) Error() string {
37358	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
37359}
37360
37361// Status code returns the HTTP status code for the request's response error.
37362func (s *ResourceNumberLimitExceededException) StatusCode() int {
37363	return s.RespMetadata.StatusCode
37364}
37365
37366// RequestID returns the service's response RequestID for request.
37367func (s *ResourceNumberLimitExceededException) RequestID() string {
37368	return s.RespMetadata.RequestID
37369}
37370
37371// The URIs for function resources.
37372type ResourceUri struct {
37373	_ struct{} `type:"structure"`
37374
37375	// The type of the resource.
37376	ResourceType *string `type:"string" enum:"ResourceType"`
37377
37378	// The URI for accessing the resource.
37379	Uri *string `min:"1" type:"string"`
37380}
37381
37382// String returns the string representation
37383func (s ResourceUri) String() string {
37384	return awsutil.Prettify(s)
37385}
37386
37387// GoString returns the string representation
37388func (s ResourceUri) GoString() string {
37389	return s.String()
37390}
37391
37392// Validate inspects the fields of the type to determine if they are valid.
37393func (s *ResourceUri) Validate() error {
37394	invalidParams := request.ErrInvalidParams{Context: "ResourceUri"}
37395	if s.Uri != nil && len(*s.Uri) < 1 {
37396		invalidParams.Add(request.NewErrParamMinLen("Uri", 1))
37397	}
37398
37399	if invalidParams.Len() > 0 {
37400		return invalidParams
37401	}
37402	return nil
37403}
37404
37405// SetResourceType sets the ResourceType field's value.
37406func (s *ResourceUri) SetResourceType(v string) *ResourceUri {
37407	s.ResourceType = &v
37408	return s
37409}
37410
37411// SetUri sets the Uri field's value.
37412func (s *ResourceUri) SetUri(v string) *ResourceUri {
37413	s.Uri = &v
37414	return s
37415}
37416
37417type ResumeWorkflowRunInput struct {
37418	_ struct{} `type:"structure"`
37419
37420	// The name of the workflow to resume.
37421	//
37422	// Name is a required field
37423	Name *string `min:"1" type:"string" required:"true"`
37424
37425	// A list of the node IDs for the nodes you want to restart. The nodes that
37426	// are to be restarted must have a run attempt in the original run.
37427	//
37428	// NodeIds is a required field
37429	NodeIds []*string `type:"list" required:"true"`
37430
37431	// The ID of the workflow run to resume.
37432	//
37433	// RunId is a required field
37434	RunId *string `min:"1" type:"string" required:"true"`
37435}
37436
37437// String returns the string representation
37438func (s ResumeWorkflowRunInput) String() string {
37439	return awsutil.Prettify(s)
37440}
37441
37442// GoString returns the string representation
37443func (s ResumeWorkflowRunInput) GoString() string {
37444	return s.String()
37445}
37446
37447// Validate inspects the fields of the type to determine if they are valid.
37448func (s *ResumeWorkflowRunInput) Validate() error {
37449	invalidParams := request.ErrInvalidParams{Context: "ResumeWorkflowRunInput"}
37450	if s.Name == nil {
37451		invalidParams.Add(request.NewErrParamRequired("Name"))
37452	}
37453	if s.Name != nil && len(*s.Name) < 1 {
37454		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
37455	}
37456	if s.NodeIds == nil {
37457		invalidParams.Add(request.NewErrParamRequired("NodeIds"))
37458	}
37459	if s.RunId == nil {
37460		invalidParams.Add(request.NewErrParamRequired("RunId"))
37461	}
37462	if s.RunId != nil && len(*s.RunId) < 1 {
37463		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
37464	}
37465
37466	if invalidParams.Len() > 0 {
37467		return invalidParams
37468	}
37469	return nil
37470}
37471
37472// SetName sets the Name field's value.
37473func (s *ResumeWorkflowRunInput) SetName(v string) *ResumeWorkflowRunInput {
37474	s.Name = &v
37475	return s
37476}
37477
37478// SetNodeIds sets the NodeIds field's value.
37479func (s *ResumeWorkflowRunInput) SetNodeIds(v []*string) *ResumeWorkflowRunInput {
37480	s.NodeIds = v
37481	return s
37482}
37483
37484// SetRunId sets the RunId field's value.
37485func (s *ResumeWorkflowRunInput) SetRunId(v string) *ResumeWorkflowRunInput {
37486	s.RunId = &v
37487	return s
37488}
37489
37490type ResumeWorkflowRunOutput struct {
37491	_ struct{} `type:"structure"`
37492
37493	// A list of the node IDs for the nodes that were actually restarted.
37494	NodeIds []*string `type:"list"`
37495
37496	// The new ID assigned to the resumed workflow run. Each resume of a workflow
37497	// run will have a new run ID.
37498	RunId *string `min:"1" type:"string"`
37499}
37500
37501// String returns the string representation
37502func (s ResumeWorkflowRunOutput) String() string {
37503	return awsutil.Prettify(s)
37504}
37505
37506// GoString returns the string representation
37507func (s ResumeWorkflowRunOutput) GoString() string {
37508	return s.String()
37509}
37510
37511// SetNodeIds sets the NodeIds field's value.
37512func (s *ResumeWorkflowRunOutput) SetNodeIds(v []*string) *ResumeWorkflowRunOutput {
37513	s.NodeIds = v
37514	return s
37515}
37516
37517// SetRunId sets the RunId field's value.
37518func (s *ResumeWorkflowRunOutput) SetRunId(v string) *ResumeWorkflowRunOutput {
37519	s.RunId = &v
37520	return s
37521}
37522
37523// Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
37524type S3Encryption struct {
37525	_ struct{} `type:"structure"`
37526
37527	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
37528	KmsKeyArn *string `type:"string"`
37529
37530	// The encryption mode to use for Amazon S3 data.
37531	S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"`
37532}
37533
37534// String returns the string representation
37535func (s S3Encryption) String() string {
37536	return awsutil.Prettify(s)
37537}
37538
37539// GoString returns the string representation
37540func (s S3Encryption) GoString() string {
37541	return s.String()
37542}
37543
37544// SetKmsKeyArn sets the KmsKeyArn field's value.
37545func (s *S3Encryption) SetKmsKeyArn(v string) *S3Encryption {
37546	s.KmsKeyArn = &v
37547	return s
37548}
37549
37550// SetS3EncryptionMode sets the S3EncryptionMode field's value.
37551func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption {
37552	s.S3EncryptionMode = &v
37553	return s
37554}
37555
37556// Specifies a data store in Amazon Simple Storage Service (Amazon S3).
37557type S3Target struct {
37558	_ struct{} `type:"structure"`
37559
37560	// The name of a connection which allows a job or crawler to access data in
37561	// Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
37562	ConnectionName *string `type:"string"`
37563
37564	// A list of glob patterns used to exclude from the crawl. For more information,
37565	// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
37566	Exclusions []*string `type:"list"`
37567
37568	// The path to the Amazon S3 target.
37569	Path *string `type:"string"`
37570}
37571
37572// String returns the string representation
37573func (s S3Target) String() string {
37574	return awsutil.Prettify(s)
37575}
37576
37577// GoString returns the string representation
37578func (s S3Target) GoString() string {
37579	return s.String()
37580}
37581
37582// SetConnectionName sets the ConnectionName field's value.
37583func (s *S3Target) SetConnectionName(v string) *S3Target {
37584	s.ConnectionName = &v
37585	return s
37586}
37587
37588// SetExclusions sets the Exclusions field's value.
37589func (s *S3Target) SetExclusions(v []*string) *S3Target {
37590	s.Exclusions = v
37591	return s
37592}
37593
37594// SetPath sets the Path field's value.
37595func (s *S3Target) SetPath(v string) *S3Target {
37596	s.Path = &v
37597	return s
37598}
37599
37600// A scheduling object using a cron statement to schedule an event.
37601type Schedule struct {
37602	_ struct{} `type:"structure"`
37603
37604	// A cron expression used to specify the schedule (see Time-Based Schedules
37605	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
37606	// For example, to run something every day at 12:15 UTC, you would specify:
37607	// cron(15 12 * * ? *).
37608	ScheduleExpression *string `type:"string"`
37609
37610	// The state of the schedule.
37611	State *string `type:"string" enum:"ScheduleState"`
37612}
37613
37614// String returns the string representation
37615func (s Schedule) String() string {
37616	return awsutil.Prettify(s)
37617}
37618
37619// GoString returns the string representation
37620func (s Schedule) GoString() string {
37621	return s.String()
37622}
37623
37624// SetScheduleExpression sets the ScheduleExpression field's value.
37625func (s *Schedule) SetScheduleExpression(v string) *Schedule {
37626	s.ScheduleExpression = &v
37627	return s
37628}
37629
37630// SetState sets the State field's value.
37631func (s *Schedule) SetState(v string) *Schedule {
37632	s.State = &v
37633	return s
37634}
37635
37636// The specified scheduler is not running.
37637type SchedulerNotRunningException struct {
37638	_            struct{}                  `type:"structure"`
37639	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37640
37641	// A message describing the problem.
37642	Message_ *string `locationName:"Message" type:"string"`
37643}
37644
37645// String returns the string representation
37646func (s SchedulerNotRunningException) String() string {
37647	return awsutil.Prettify(s)
37648}
37649
37650// GoString returns the string representation
37651func (s SchedulerNotRunningException) GoString() string {
37652	return s.String()
37653}
37654
37655func newErrorSchedulerNotRunningException(v protocol.ResponseMetadata) error {
37656	return &SchedulerNotRunningException{
37657		RespMetadata: v,
37658	}
37659}
37660
37661// Code returns the exception type name.
37662func (s *SchedulerNotRunningException) Code() string {
37663	return "SchedulerNotRunningException"
37664}
37665
37666// Message returns the exception's message.
37667func (s *SchedulerNotRunningException) Message() string {
37668	if s.Message_ != nil {
37669		return *s.Message_
37670	}
37671	return ""
37672}
37673
37674// OrigErr always returns nil, satisfies awserr.Error interface.
37675func (s *SchedulerNotRunningException) OrigErr() error {
37676	return nil
37677}
37678
37679func (s *SchedulerNotRunningException) Error() string {
37680	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
37681}
37682
37683// Status code returns the HTTP status code for the request's response error.
37684func (s *SchedulerNotRunningException) StatusCode() int {
37685	return s.RespMetadata.StatusCode
37686}
37687
37688// RequestID returns the service's response RequestID for request.
37689func (s *SchedulerNotRunningException) RequestID() string {
37690	return s.RespMetadata.RequestID
37691}
37692
37693// The specified scheduler is already running.
37694type SchedulerRunningException struct {
37695	_            struct{}                  `type:"structure"`
37696	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37697
37698	// A message describing the problem.
37699	Message_ *string `locationName:"Message" type:"string"`
37700}
37701
37702// String returns the string representation
37703func (s SchedulerRunningException) String() string {
37704	return awsutil.Prettify(s)
37705}
37706
37707// GoString returns the string representation
37708func (s SchedulerRunningException) GoString() string {
37709	return s.String()
37710}
37711
37712func newErrorSchedulerRunningException(v protocol.ResponseMetadata) error {
37713	return &SchedulerRunningException{
37714		RespMetadata: v,
37715	}
37716}
37717
37718// Code returns the exception type name.
37719func (s *SchedulerRunningException) Code() string {
37720	return "SchedulerRunningException"
37721}
37722
37723// Message returns the exception's message.
37724func (s *SchedulerRunningException) Message() string {
37725	if s.Message_ != nil {
37726		return *s.Message_
37727	}
37728	return ""
37729}
37730
37731// OrigErr always returns nil, satisfies awserr.Error interface.
37732func (s *SchedulerRunningException) OrigErr() error {
37733	return nil
37734}
37735
37736func (s *SchedulerRunningException) Error() string {
37737	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
37738}
37739
37740// Status code returns the HTTP status code for the request's response error.
37741func (s *SchedulerRunningException) StatusCode() int {
37742	return s.RespMetadata.StatusCode
37743}
37744
37745// RequestID returns the service's response RequestID for request.
37746func (s *SchedulerRunningException) RequestID() string {
37747	return s.RespMetadata.RequestID
37748}
37749
37750// The specified scheduler is transitioning.
37751type SchedulerTransitioningException struct {
37752	_            struct{}                  `type:"structure"`
37753	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
37754
37755	// A message describing the problem.
37756	Message_ *string `locationName:"Message" type:"string"`
37757}
37758
37759// String returns the string representation
37760func (s SchedulerTransitioningException) String() string {
37761	return awsutil.Prettify(s)
37762}
37763
37764// GoString returns the string representation
37765func (s SchedulerTransitioningException) GoString() string {
37766	return s.String()
37767}
37768
37769func newErrorSchedulerTransitioningException(v protocol.ResponseMetadata) error {
37770	return &SchedulerTransitioningException{
37771		RespMetadata: v,
37772	}
37773}
37774
37775// Code returns the exception type name.
37776func (s *SchedulerTransitioningException) Code() string {
37777	return "SchedulerTransitioningException"
37778}
37779
37780// Message returns the exception's message.
37781func (s *SchedulerTransitioningException) Message() string {
37782	if s.Message_ != nil {
37783		return *s.Message_
37784	}
37785	return ""
37786}
37787
37788// OrigErr always returns nil, satisfies awserr.Error interface.
37789func (s *SchedulerTransitioningException) OrigErr() error {
37790	return nil
37791}
37792
37793func (s *SchedulerTransitioningException) Error() string {
37794	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
37795}
37796
37797// Status code returns the HTTP status code for the request's response error.
37798func (s *SchedulerTransitioningException) StatusCode() int {
37799	return s.RespMetadata.StatusCode
37800}
37801
37802// RequestID returns the service's response RequestID for request.
37803func (s *SchedulerTransitioningException) RequestID() string {
37804	return s.RespMetadata.RequestID
37805}
37806
37807// A policy that specifies update and deletion behaviors for the crawler.
37808type SchemaChangePolicy struct {
37809	_ struct{} `type:"structure"`
37810
37811	// The deletion behavior when the crawler finds a deleted object.
37812	DeleteBehavior *string `type:"string" enum:"DeleteBehavior"`
37813
37814	// The update behavior when the crawler finds a changed schema.
37815	UpdateBehavior *string `type:"string" enum:"UpdateBehavior"`
37816}
37817
37818// String returns the string representation
37819func (s SchemaChangePolicy) String() string {
37820	return awsutil.Prettify(s)
37821}
37822
37823// GoString returns the string representation
37824func (s SchemaChangePolicy) GoString() string {
37825	return s.String()
37826}
37827
37828// SetDeleteBehavior sets the DeleteBehavior field's value.
37829func (s *SchemaChangePolicy) SetDeleteBehavior(v string) *SchemaChangePolicy {
37830	s.DeleteBehavior = &v
37831	return s
37832}
37833
37834// SetUpdateBehavior sets the UpdateBehavior field's value.
37835func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy {
37836	s.UpdateBehavior = &v
37837	return s
37838}
37839
37840// A key-value pair representing a column and data type that this transform
37841// can run against. The Schema parameter of the MLTransform may contain up to
37842// 100 of these structures.
37843type SchemaColumn struct {
37844	_ struct{} `type:"structure"`
37845
37846	// The type of data in the column.
37847	DataType *string `type:"string"`
37848
37849	// The name of the column.
37850	Name *string `min:"1" type:"string"`
37851}
37852
37853// String returns the string representation
37854func (s SchemaColumn) String() string {
37855	return awsutil.Prettify(s)
37856}
37857
37858// GoString returns the string representation
37859func (s SchemaColumn) GoString() string {
37860	return s.String()
37861}
37862
37863// Validate inspects the fields of the type to determine if they are valid.
37864func (s *SchemaColumn) Validate() error {
37865	invalidParams := request.ErrInvalidParams{Context: "SchemaColumn"}
37866	if s.Name != nil && len(*s.Name) < 1 {
37867		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
37868	}
37869
37870	if invalidParams.Len() > 0 {
37871		return invalidParams
37872	}
37873	return nil
37874}
37875
37876// SetDataType sets the DataType field's value.
37877func (s *SchemaColumn) SetDataType(v string) *SchemaColumn {
37878	s.DataType = &v
37879	return s
37880}
37881
37882// SetName sets the Name field's value.
37883func (s *SchemaColumn) SetName(v string) *SchemaColumn {
37884	s.Name = &v
37885	return s
37886}
37887
37888// The unique ID of the schema in the AWS Glue schema registry.
37889type SchemaId struct {
37890	_ struct{} `type:"structure"`
37891
37892	// The name of the schema registry that contains the schema.
37893	RegistryName *string `min:"1" type:"string"`
37894
37895	// The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName
37896	// has to be provided.
37897	SchemaArn *string `min:"1" type:"string"`
37898
37899	// The name of the schema. One of SchemaArn or SchemaName has to be provided.
37900	SchemaName *string `min:"1" type:"string"`
37901}
37902
37903// String returns the string representation
37904func (s SchemaId) String() string {
37905	return awsutil.Prettify(s)
37906}
37907
37908// GoString returns the string representation
37909func (s SchemaId) GoString() string {
37910	return s.String()
37911}
37912
37913// Validate inspects the fields of the type to determine if they are valid.
37914func (s *SchemaId) Validate() error {
37915	invalidParams := request.ErrInvalidParams{Context: "SchemaId"}
37916	if s.RegistryName != nil && len(*s.RegistryName) < 1 {
37917		invalidParams.Add(request.NewErrParamMinLen("RegistryName", 1))
37918	}
37919	if s.SchemaArn != nil && len(*s.SchemaArn) < 1 {
37920		invalidParams.Add(request.NewErrParamMinLen("SchemaArn", 1))
37921	}
37922	if s.SchemaName != nil && len(*s.SchemaName) < 1 {
37923		invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1))
37924	}
37925
37926	if invalidParams.Len() > 0 {
37927		return invalidParams
37928	}
37929	return nil
37930}
37931
37932// SetRegistryName sets the RegistryName field's value.
37933func (s *SchemaId) SetRegistryName(v string) *SchemaId {
37934	s.RegistryName = &v
37935	return s
37936}
37937
37938// SetSchemaArn sets the SchemaArn field's value.
37939func (s *SchemaId) SetSchemaArn(v string) *SchemaId {
37940	s.SchemaArn = &v
37941	return s
37942}
37943
37944// SetSchemaName sets the SchemaName field's value.
37945func (s *SchemaId) SetSchemaName(v string) *SchemaId {
37946	s.SchemaName = &v
37947	return s
37948}
37949
37950// An object that contains minimal details for a schema.
37951type SchemaListItem struct {
37952	_ struct{} `type:"structure"`
37953
37954	// The date and time that a schema was created.
37955	CreatedTime *string `type:"string"`
37956
37957	// A description for the schema.
37958	Description *string `type:"string"`
37959
37960	// the name of the registry where the schema resides.
37961	RegistryName *string `min:"1" type:"string"`
37962
37963	// The Amazon Resource Name (ARN) for the schema.
37964	SchemaArn *string `min:"1" type:"string"`
37965
37966	// The name of the schema.
37967	SchemaName *string `min:"1" type:"string"`
37968
37969	// The status of the schema.
37970	SchemaStatus *string `type:"string" enum:"SchemaStatus"`
37971
37972	// The date and time that a schema was updated.
37973	UpdatedTime *string `type:"string"`
37974}
37975
37976// String returns the string representation
37977func (s SchemaListItem) String() string {
37978	return awsutil.Prettify(s)
37979}
37980
37981// GoString returns the string representation
37982func (s SchemaListItem) GoString() string {
37983	return s.String()
37984}
37985
37986// SetCreatedTime sets the CreatedTime field's value.
37987func (s *SchemaListItem) SetCreatedTime(v string) *SchemaListItem {
37988	s.CreatedTime = &v
37989	return s
37990}
37991
37992// SetDescription sets the Description field's value.
37993func (s *SchemaListItem) SetDescription(v string) *SchemaListItem {
37994	s.Description = &v
37995	return s
37996}
37997
37998// SetRegistryName sets the RegistryName field's value.
37999func (s *SchemaListItem) SetRegistryName(v string) *SchemaListItem {
38000	s.RegistryName = &v
38001	return s
38002}
38003
38004// SetSchemaArn sets the SchemaArn field's value.
38005func (s *SchemaListItem) SetSchemaArn(v string) *SchemaListItem {
38006	s.SchemaArn = &v
38007	return s
38008}
38009
38010// SetSchemaName sets the SchemaName field's value.
38011func (s *SchemaListItem) SetSchemaName(v string) *SchemaListItem {
38012	s.SchemaName = &v
38013	return s
38014}
38015
38016// SetSchemaStatus sets the SchemaStatus field's value.
38017func (s *SchemaListItem) SetSchemaStatus(v string) *SchemaListItem {
38018	s.SchemaStatus = &v
38019	return s
38020}
38021
38022// SetUpdatedTime sets the UpdatedTime field's value.
38023func (s *SchemaListItem) SetUpdatedTime(v string) *SchemaListItem {
38024	s.UpdatedTime = &v
38025	return s
38026}
38027
38028// An object that references a schema stored in the AWS Glue Schema Registry.
38029type SchemaReference struct {
38030	_ struct{} `type:"structure"`
38031
38032	// A structure that contains schema identity fields. Either this or the SchemaVersionId
38033	// has to be provided.
38034	SchemaId *SchemaId `type:"structure"`
38035
38036	// The unique ID assigned to a version of the schema. Either this or the SchemaId
38037	// has to be provided.
38038	SchemaVersionId *string `min:"36" type:"string"`
38039
38040	// The version number of the schema.
38041	SchemaVersionNumber *int64 `min:"1" type:"long"`
38042}
38043
38044// String returns the string representation
38045func (s SchemaReference) String() string {
38046	return awsutil.Prettify(s)
38047}
38048
38049// GoString returns the string representation
38050func (s SchemaReference) GoString() string {
38051	return s.String()
38052}
38053
38054// Validate inspects the fields of the type to determine if they are valid.
38055func (s *SchemaReference) Validate() error {
38056	invalidParams := request.ErrInvalidParams{Context: "SchemaReference"}
38057	if s.SchemaVersionId != nil && len(*s.SchemaVersionId) < 36 {
38058		invalidParams.Add(request.NewErrParamMinLen("SchemaVersionId", 36))
38059	}
38060	if s.SchemaVersionNumber != nil && *s.SchemaVersionNumber < 1 {
38061		invalidParams.Add(request.NewErrParamMinValue("SchemaVersionNumber", 1))
38062	}
38063	if s.SchemaId != nil {
38064		if err := s.SchemaId.Validate(); err != nil {
38065			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
38066		}
38067	}
38068
38069	if invalidParams.Len() > 0 {
38070		return invalidParams
38071	}
38072	return nil
38073}
38074
38075// SetSchemaId sets the SchemaId field's value.
38076func (s *SchemaReference) SetSchemaId(v *SchemaId) *SchemaReference {
38077	s.SchemaId = v
38078	return s
38079}
38080
38081// SetSchemaVersionId sets the SchemaVersionId field's value.
38082func (s *SchemaReference) SetSchemaVersionId(v string) *SchemaReference {
38083	s.SchemaVersionId = &v
38084	return s
38085}
38086
38087// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
38088func (s *SchemaReference) SetSchemaVersionNumber(v int64) *SchemaReference {
38089	s.SchemaVersionNumber = &v
38090	return s
38091}
38092
38093// An object that contains the error details for an operation on a schema version.
38094type SchemaVersionErrorItem struct {
38095	_ struct{} `type:"structure"`
38096
38097	// The details of the error for the schema version.
38098	ErrorDetails *ErrorDetails `type:"structure"`
38099
38100	// The version number of the schema.
38101	VersionNumber *int64 `min:"1" type:"long"`
38102}
38103
38104// String returns the string representation
38105func (s SchemaVersionErrorItem) String() string {
38106	return awsutil.Prettify(s)
38107}
38108
38109// GoString returns the string representation
38110func (s SchemaVersionErrorItem) GoString() string {
38111	return s.String()
38112}
38113
38114// SetErrorDetails sets the ErrorDetails field's value.
38115func (s *SchemaVersionErrorItem) SetErrorDetails(v *ErrorDetails) *SchemaVersionErrorItem {
38116	s.ErrorDetails = v
38117	return s
38118}
38119
38120// SetVersionNumber sets the VersionNumber field's value.
38121func (s *SchemaVersionErrorItem) SetVersionNumber(v int64) *SchemaVersionErrorItem {
38122	s.VersionNumber = &v
38123	return s
38124}
38125
38126// An object containing the details about a schema version.
38127type SchemaVersionListItem struct {
38128	_ struct{} `type:"structure"`
38129
38130	// The date and time the schema version was created.
38131	CreatedTime *string `type:"string"`
38132
38133	// The Amazon Resource Name (ARN) of the schema.
38134	SchemaArn *string `min:"1" type:"string"`
38135
38136	// The unique identifier of the schema version.
38137	SchemaVersionId *string `min:"36" type:"string"`
38138
38139	// The status of the schema version.
38140	Status *string `type:"string" enum:"SchemaVersionStatus"`
38141
38142	// The version number of the schema.
38143	VersionNumber *int64 `min:"1" type:"long"`
38144}
38145
38146// String returns the string representation
38147func (s SchemaVersionListItem) String() string {
38148	return awsutil.Prettify(s)
38149}
38150
38151// GoString returns the string representation
38152func (s SchemaVersionListItem) GoString() string {
38153	return s.String()
38154}
38155
38156// SetCreatedTime sets the CreatedTime field's value.
38157func (s *SchemaVersionListItem) SetCreatedTime(v string) *SchemaVersionListItem {
38158	s.CreatedTime = &v
38159	return s
38160}
38161
38162// SetSchemaArn sets the SchemaArn field's value.
38163func (s *SchemaVersionListItem) SetSchemaArn(v string) *SchemaVersionListItem {
38164	s.SchemaArn = &v
38165	return s
38166}
38167
38168// SetSchemaVersionId sets the SchemaVersionId field's value.
38169func (s *SchemaVersionListItem) SetSchemaVersionId(v string) *SchemaVersionListItem {
38170	s.SchemaVersionId = &v
38171	return s
38172}
38173
38174// SetStatus sets the Status field's value.
38175func (s *SchemaVersionListItem) SetStatus(v string) *SchemaVersionListItem {
38176	s.Status = &v
38177	return s
38178}
38179
38180// SetVersionNumber sets the VersionNumber field's value.
38181func (s *SchemaVersionListItem) SetVersionNumber(v int64) *SchemaVersionListItem {
38182	s.VersionNumber = &v
38183	return s
38184}
38185
38186// A structure containing the schema version information.
38187type SchemaVersionNumber struct {
38188	_ struct{} `type:"structure"`
38189
38190	// The latest version available for the schema.
38191	LatestVersion *bool `type:"boolean"`
38192
38193	// The version number of the schema.
38194	VersionNumber *int64 `min:"1" type:"long"`
38195}
38196
38197// String returns the string representation
38198func (s SchemaVersionNumber) String() string {
38199	return awsutil.Prettify(s)
38200}
38201
38202// GoString returns the string representation
38203func (s SchemaVersionNumber) GoString() string {
38204	return s.String()
38205}
38206
38207// Validate inspects the fields of the type to determine if they are valid.
38208func (s *SchemaVersionNumber) Validate() error {
38209	invalidParams := request.ErrInvalidParams{Context: "SchemaVersionNumber"}
38210	if s.VersionNumber != nil && *s.VersionNumber < 1 {
38211		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
38212	}
38213
38214	if invalidParams.Len() > 0 {
38215		return invalidParams
38216	}
38217	return nil
38218}
38219
38220// SetLatestVersion sets the LatestVersion field's value.
38221func (s *SchemaVersionNumber) SetLatestVersion(v bool) *SchemaVersionNumber {
38222	s.LatestVersion = &v
38223	return s
38224}
38225
38226// SetVersionNumber sets the VersionNumber field's value.
38227func (s *SchemaVersionNumber) SetVersionNumber(v int64) *SchemaVersionNumber {
38228	s.VersionNumber = &v
38229	return s
38230}
38231
38232type SearchTablesInput struct {
38233	_ struct{} `type:"structure"`
38234
38235	// A unique identifier, consisting of account_id .
38236	CatalogId *string `min:"1" type:"string"`
38237
38238	// A list of key-value pairs, and a comparator used to filter the search results.
38239	// Returns all entities matching the predicate.
38240	//
38241	// The Comparator member of the PropertyPredicate struct is used only for time
38242	// fields, and can be omitted for other field types. Also, when comparing string
38243	// values, such as when Key=Name, a fuzzy match algorithm is used. The Key field
38244	// (for example, the value of the Name field) is split on certain punctuation
38245	// characters, for example, -, :, #, etc. into tokens. Then each token is exact-match
38246	// compared with the Value member of PropertyPredicate. For example, if Key=Name
38247	// and Value=link, tables named customer-link and xx-link-yy are returned, but
38248	// xxlinkyy is not returned.
38249	Filters []*PropertyPredicate `type:"list"`
38250
38251	// The maximum number of tables to return in a single response.
38252	MaxResults *int64 `min:"1" type:"integer"`
38253
38254	// A continuation token, included if this is a continuation call.
38255	NextToken *string `type:"string"`
38256
38257	// Allows you to specify that you want to search the tables shared with your
38258	// account. The allowable values are FOREIGN or ALL.
38259	//
38260	//    * If set to FOREIGN, will search the tables shared with your account.
38261	//
38262	//    * If set to ALL, will search the tables shared with your account, as well
38263	//    as the tables in yor local account.
38264	ResourceShareType *string `type:"string" enum:"ResourceShareType"`
38265
38266	// A string used for a text search.
38267	//
38268	// Specifying a value in quotes filters based on an exact match to the value.
38269	SearchText *string `type:"string"`
38270
38271	// A list of criteria for sorting the results by a field name, in an ascending
38272	// or descending order.
38273	SortCriteria []*SortCriterion `type:"list"`
38274}
38275
38276// String returns the string representation
38277func (s SearchTablesInput) String() string {
38278	return awsutil.Prettify(s)
38279}
38280
38281// GoString returns the string representation
38282func (s SearchTablesInput) GoString() string {
38283	return s.String()
38284}
38285
38286// Validate inspects the fields of the type to determine if they are valid.
38287func (s *SearchTablesInput) Validate() error {
38288	invalidParams := request.ErrInvalidParams{Context: "SearchTablesInput"}
38289	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
38290		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
38291	}
38292	if s.MaxResults != nil && *s.MaxResults < 1 {
38293		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
38294	}
38295
38296	if invalidParams.Len() > 0 {
38297		return invalidParams
38298	}
38299	return nil
38300}
38301
38302// SetCatalogId sets the CatalogId field's value.
38303func (s *SearchTablesInput) SetCatalogId(v string) *SearchTablesInput {
38304	s.CatalogId = &v
38305	return s
38306}
38307
38308// SetFilters sets the Filters field's value.
38309func (s *SearchTablesInput) SetFilters(v []*PropertyPredicate) *SearchTablesInput {
38310	s.Filters = v
38311	return s
38312}
38313
38314// SetMaxResults sets the MaxResults field's value.
38315func (s *SearchTablesInput) SetMaxResults(v int64) *SearchTablesInput {
38316	s.MaxResults = &v
38317	return s
38318}
38319
38320// SetNextToken sets the NextToken field's value.
38321func (s *SearchTablesInput) SetNextToken(v string) *SearchTablesInput {
38322	s.NextToken = &v
38323	return s
38324}
38325
38326// SetResourceShareType sets the ResourceShareType field's value.
38327func (s *SearchTablesInput) SetResourceShareType(v string) *SearchTablesInput {
38328	s.ResourceShareType = &v
38329	return s
38330}
38331
38332// SetSearchText sets the SearchText field's value.
38333func (s *SearchTablesInput) SetSearchText(v string) *SearchTablesInput {
38334	s.SearchText = &v
38335	return s
38336}
38337
38338// SetSortCriteria sets the SortCriteria field's value.
38339func (s *SearchTablesInput) SetSortCriteria(v []*SortCriterion) *SearchTablesInput {
38340	s.SortCriteria = v
38341	return s
38342}
38343
38344type SearchTablesOutput struct {
38345	_ struct{} `type:"structure"`
38346
38347	// A continuation token, present if the current list segment is not the last.
38348	NextToken *string `type:"string"`
38349
38350	// A list of the requested Table objects. The SearchTables response returns
38351	// only the tables that you have access to.
38352	TableList []*TableData `type:"list"`
38353}
38354
38355// String returns the string representation
38356func (s SearchTablesOutput) String() string {
38357	return awsutil.Prettify(s)
38358}
38359
38360// GoString returns the string representation
38361func (s SearchTablesOutput) GoString() string {
38362	return s.String()
38363}
38364
38365// SetNextToken sets the NextToken field's value.
38366func (s *SearchTablesOutput) SetNextToken(v string) *SearchTablesOutput {
38367	s.NextToken = &v
38368	return s
38369}
38370
38371// SetTableList sets the TableList field's value.
38372func (s *SearchTablesOutput) SetTableList(v []*TableData) *SearchTablesOutput {
38373	s.TableList = v
38374	return s
38375}
38376
38377// Specifies a security configuration.
38378type SecurityConfiguration struct {
38379	_ struct{} `type:"structure"`
38380
38381	// The time at which this security configuration was created.
38382	CreatedTimeStamp *time.Time `type:"timestamp"`
38383
38384	// The encryption configuration associated with this security configuration.
38385	EncryptionConfiguration *EncryptionConfiguration `type:"structure"`
38386
38387	// The name of the security configuration.
38388	Name *string `min:"1" type:"string"`
38389}
38390
38391// String returns the string representation
38392func (s SecurityConfiguration) String() string {
38393	return awsutil.Prettify(s)
38394}
38395
38396// GoString returns the string representation
38397func (s SecurityConfiguration) GoString() string {
38398	return s.String()
38399}
38400
38401// SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
38402func (s *SecurityConfiguration) SetCreatedTimeStamp(v time.Time) *SecurityConfiguration {
38403	s.CreatedTimeStamp = &v
38404	return s
38405}
38406
38407// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
38408func (s *SecurityConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *SecurityConfiguration {
38409	s.EncryptionConfiguration = v
38410	return s
38411}
38412
38413// SetName sets the Name field's value.
38414func (s *SecurityConfiguration) SetName(v string) *SecurityConfiguration {
38415	s.Name = &v
38416	return s
38417}
38418
38419// Defines a non-overlapping region of a table's partitions, allowing multiple
38420// requests to be executed in parallel.
38421type Segment struct {
38422	_ struct{} `type:"structure"`
38423
38424	// The zero-based index number of the segment. For example, if the total number
38425	// of segments is 4, SegmentNumber values range from 0 through 3.
38426	//
38427	// SegmentNumber is a required field
38428	SegmentNumber *int64 `type:"integer" required:"true"`
38429
38430	// The total number of segments.
38431	//
38432	// TotalSegments is a required field
38433	TotalSegments *int64 `min:"1" type:"integer" required:"true"`
38434}
38435
38436// String returns the string representation
38437func (s Segment) String() string {
38438	return awsutil.Prettify(s)
38439}
38440
38441// GoString returns the string representation
38442func (s Segment) GoString() string {
38443	return s.String()
38444}
38445
38446// Validate inspects the fields of the type to determine if they are valid.
38447func (s *Segment) Validate() error {
38448	invalidParams := request.ErrInvalidParams{Context: "Segment"}
38449	if s.SegmentNumber == nil {
38450		invalidParams.Add(request.NewErrParamRequired("SegmentNumber"))
38451	}
38452	if s.TotalSegments == nil {
38453		invalidParams.Add(request.NewErrParamRequired("TotalSegments"))
38454	}
38455	if s.TotalSegments != nil && *s.TotalSegments < 1 {
38456		invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1))
38457	}
38458
38459	if invalidParams.Len() > 0 {
38460		return invalidParams
38461	}
38462	return nil
38463}
38464
38465// SetSegmentNumber sets the SegmentNumber field's value.
38466func (s *Segment) SetSegmentNumber(v int64) *Segment {
38467	s.SegmentNumber = &v
38468	return s
38469}
38470
38471// SetTotalSegments sets the TotalSegments field's value.
38472func (s *Segment) SetTotalSegments(v int64) *Segment {
38473	s.TotalSegments = &v
38474	return s
38475}
38476
38477// Information about a serialization/deserialization program (SerDe) that serves
38478// as an extractor and loader.
38479type SerDeInfo struct {
38480	_ struct{} `type:"structure"`
38481
38482	// Name of the SerDe.
38483	Name *string `min:"1" type:"string"`
38484
38485	// These key-value pairs define initialization parameters for the SerDe.
38486	Parameters map[string]*string `type:"map"`
38487
38488	// Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
38489	SerializationLibrary *string `min:"1" type:"string"`
38490}
38491
38492// String returns the string representation
38493func (s SerDeInfo) String() string {
38494	return awsutil.Prettify(s)
38495}
38496
38497// GoString returns the string representation
38498func (s SerDeInfo) GoString() string {
38499	return s.String()
38500}
38501
38502// Validate inspects the fields of the type to determine if they are valid.
38503func (s *SerDeInfo) Validate() error {
38504	invalidParams := request.ErrInvalidParams{Context: "SerDeInfo"}
38505	if s.Name != nil && len(*s.Name) < 1 {
38506		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38507	}
38508	if s.SerializationLibrary != nil && len(*s.SerializationLibrary) < 1 {
38509		invalidParams.Add(request.NewErrParamMinLen("SerializationLibrary", 1))
38510	}
38511
38512	if invalidParams.Len() > 0 {
38513		return invalidParams
38514	}
38515	return nil
38516}
38517
38518// SetName sets the Name field's value.
38519func (s *SerDeInfo) SetName(v string) *SerDeInfo {
38520	s.Name = &v
38521	return s
38522}
38523
38524// SetParameters sets the Parameters field's value.
38525func (s *SerDeInfo) SetParameters(v map[string]*string) *SerDeInfo {
38526	s.Parameters = v
38527	return s
38528}
38529
38530// SetSerializationLibrary sets the SerializationLibrary field's value.
38531func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo {
38532	s.SerializationLibrary = &v
38533	return s
38534}
38535
38536// Specifies skewed values in a table. Skewed values are those that occur with
38537// very high frequency.
38538type SkewedInfo struct {
38539	_ struct{} `type:"structure"`
38540
38541	// A list of names of columns that contain skewed values.
38542	SkewedColumnNames []*string `type:"list"`
38543
38544	// A mapping of skewed values to the columns that contain them.
38545	SkewedColumnValueLocationMaps map[string]*string `type:"map"`
38546
38547	// A list of values that appear so frequently as to be considered skewed.
38548	SkewedColumnValues []*string `type:"list"`
38549}
38550
38551// String returns the string representation
38552func (s SkewedInfo) String() string {
38553	return awsutil.Prettify(s)
38554}
38555
38556// GoString returns the string representation
38557func (s SkewedInfo) GoString() string {
38558	return s.String()
38559}
38560
38561// SetSkewedColumnNames sets the SkewedColumnNames field's value.
38562func (s *SkewedInfo) SetSkewedColumnNames(v []*string) *SkewedInfo {
38563	s.SkewedColumnNames = v
38564	return s
38565}
38566
38567// SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value.
38568func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]*string) *SkewedInfo {
38569	s.SkewedColumnValueLocationMaps = v
38570	return s
38571}
38572
38573// SetSkewedColumnValues sets the SkewedColumnValues field's value.
38574func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo {
38575	s.SkewedColumnValues = v
38576	return s
38577}
38578
38579// Specifies a field to sort by and a sort order.
38580type SortCriterion struct {
38581	_ struct{} `type:"structure"`
38582
38583	// The name of the field on which to sort.
38584	FieldName *string `type:"string"`
38585
38586	// An ascending or descending sort.
38587	Sort *string `type:"string" enum:"Sort"`
38588}
38589
38590// String returns the string representation
38591func (s SortCriterion) String() string {
38592	return awsutil.Prettify(s)
38593}
38594
38595// GoString returns the string representation
38596func (s SortCriterion) GoString() string {
38597	return s.String()
38598}
38599
38600// SetFieldName sets the FieldName field's value.
38601func (s *SortCriterion) SetFieldName(v string) *SortCriterion {
38602	s.FieldName = &v
38603	return s
38604}
38605
38606// SetSort sets the Sort field's value.
38607func (s *SortCriterion) SetSort(v string) *SortCriterion {
38608	s.Sort = &v
38609	return s
38610}
38611
38612type StartCrawlerInput struct {
38613	_ struct{} `type:"structure"`
38614
38615	// Name of the crawler to start.
38616	//
38617	// Name is a required field
38618	Name *string `min:"1" type:"string" required:"true"`
38619}
38620
38621// String returns the string representation
38622func (s StartCrawlerInput) String() string {
38623	return awsutil.Prettify(s)
38624}
38625
38626// GoString returns the string representation
38627func (s StartCrawlerInput) GoString() string {
38628	return s.String()
38629}
38630
38631// Validate inspects the fields of the type to determine if they are valid.
38632func (s *StartCrawlerInput) Validate() error {
38633	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerInput"}
38634	if s.Name == nil {
38635		invalidParams.Add(request.NewErrParamRequired("Name"))
38636	}
38637	if s.Name != nil && len(*s.Name) < 1 {
38638		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
38639	}
38640
38641	if invalidParams.Len() > 0 {
38642		return invalidParams
38643	}
38644	return nil
38645}
38646
38647// SetName sets the Name field's value.
38648func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput {
38649	s.Name = &v
38650	return s
38651}
38652
38653type StartCrawlerOutput struct {
38654	_ struct{} `type:"structure"`
38655}
38656
38657// String returns the string representation
38658func (s StartCrawlerOutput) String() string {
38659	return awsutil.Prettify(s)
38660}
38661
38662// GoString returns the string representation
38663func (s StartCrawlerOutput) GoString() string {
38664	return s.String()
38665}
38666
38667type StartCrawlerScheduleInput struct {
38668	_ struct{} `type:"structure"`
38669
38670	// Name of the crawler to schedule.
38671	//
38672	// CrawlerName is a required field
38673	CrawlerName *string `min:"1" type:"string" required:"true"`
38674}
38675
38676// String returns the string representation
38677func (s StartCrawlerScheduleInput) String() string {
38678	return awsutil.Prettify(s)
38679}
38680
38681// GoString returns the string representation
38682func (s StartCrawlerScheduleInput) GoString() string {
38683	return s.String()
38684}
38685
38686// Validate inspects the fields of the type to determine if they are valid.
38687func (s *StartCrawlerScheduleInput) Validate() error {
38688	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerScheduleInput"}
38689	if s.CrawlerName == nil {
38690		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
38691	}
38692	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
38693		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
38694	}
38695
38696	if invalidParams.Len() > 0 {
38697		return invalidParams
38698	}
38699	return nil
38700}
38701
38702// SetCrawlerName sets the CrawlerName field's value.
38703func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput {
38704	s.CrawlerName = &v
38705	return s
38706}
38707
38708type StartCrawlerScheduleOutput struct {
38709	_ struct{} `type:"structure"`
38710}
38711
38712// String returns the string representation
38713func (s StartCrawlerScheduleOutput) String() string {
38714	return awsutil.Prettify(s)
38715}
38716
38717// GoString returns the string representation
38718func (s StartCrawlerScheduleOutput) GoString() string {
38719	return s.String()
38720}
38721
38722type StartExportLabelsTaskRunInput struct {
38723	_ struct{} `type:"structure"`
38724
38725	// The Amazon S3 path where you export the labels.
38726	//
38727	// OutputS3Path is a required field
38728	OutputS3Path *string `type:"string" required:"true"`
38729
38730	// The unique identifier of the machine learning transform.
38731	//
38732	// TransformId is a required field
38733	TransformId *string `min:"1" type:"string" required:"true"`
38734}
38735
38736// String returns the string representation
38737func (s StartExportLabelsTaskRunInput) String() string {
38738	return awsutil.Prettify(s)
38739}
38740
38741// GoString returns the string representation
38742func (s StartExportLabelsTaskRunInput) GoString() string {
38743	return s.String()
38744}
38745
38746// Validate inspects the fields of the type to determine if they are valid.
38747func (s *StartExportLabelsTaskRunInput) Validate() error {
38748	invalidParams := request.ErrInvalidParams{Context: "StartExportLabelsTaskRunInput"}
38749	if s.OutputS3Path == nil {
38750		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
38751	}
38752	if s.TransformId == nil {
38753		invalidParams.Add(request.NewErrParamRequired("TransformId"))
38754	}
38755	if s.TransformId != nil && len(*s.TransformId) < 1 {
38756		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
38757	}
38758
38759	if invalidParams.Len() > 0 {
38760		return invalidParams
38761	}
38762	return nil
38763}
38764
38765// SetOutputS3Path sets the OutputS3Path field's value.
38766func (s *StartExportLabelsTaskRunInput) SetOutputS3Path(v string) *StartExportLabelsTaskRunInput {
38767	s.OutputS3Path = &v
38768	return s
38769}
38770
38771// SetTransformId sets the TransformId field's value.
38772func (s *StartExportLabelsTaskRunInput) SetTransformId(v string) *StartExportLabelsTaskRunInput {
38773	s.TransformId = &v
38774	return s
38775}
38776
38777type StartExportLabelsTaskRunOutput struct {
38778	_ struct{} `type:"structure"`
38779
38780	// The unique identifier for the task run.
38781	TaskRunId *string `min:"1" type:"string"`
38782}
38783
38784// String returns the string representation
38785func (s StartExportLabelsTaskRunOutput) String() string {
38786	return awsutil.Prettify(s)
38787}
38788
38789// GoString returns the string representation
38790func (s StartExportLabelsTaskRunOutput) GoString() string {
38791	return s.String()
38792}
38793
38794// SetTaskRunId sets the TaskRunId field's value.
38795func (s *StartExportLabelsTaskRunOutput) SetTaskRunId(v string) *StartExportLabelsTaskRunOutput {
38796	s.TaskRunId = &v
38797	return s
38798}
38799
38800type StartImportLabelsTaskRunInput struct {
38801	_ struct{} `type:"structure"`
38802
38803	// The Amazon Simple Storage Service (Amazon S3) path from where you import
38804	// the labels.
38805	//
38806	// InputS3Path is a required field
38807	InputS3Path *string `type:"string" required:"true"`
38808
38809	// Indicates whether to overwrite your existing labels.
38810	ReplaceAllLabels *bool `type:"boolean"`
38811
38812	// The unique identifier of the machine learning transform.
38813	//
38814	// TransformId is a required field
38815	TransformId *string `min:"1" type:"string" required:"true"`
38816}
38817
38818// String returns the string representation
38819func (s StartImportLabelsTaskRunInput) String() string {
38820	return awsutil.Prettify(s)
38821}
38822
38823// GoString returns the string representation
38824func (s StartImportLabelsTaskRunInput) GoString() string {
38825	return s.String()
38826}
38827
38828// Validate inspects the fields of the type to determine if they are valid.
38829func (s *StartImportLabelsTaskRunInput) Validate() error {
38830	invalidParams := request.ErrInvalidParams{Context: "StartImportLabelsTaskRunInput"}
38831	if s.InputS3Path == nil {
38832		invalidParams.Add(request.NewErrParamRequired("InputS3Path"))
38833	}
38834	if s.TransformId == nil {
38835		invalidParams.Add(request.NewErrParamRequired("TransformId"))
38836	}
38837	if s.TransformId != nil && len(*s.TransformId) < 1 {
38838		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
38839	}
38840
38841	if invalidParams.Len() > 0 {
38842		return invalidParams
38843	}
38844	return nil
38845}
38846
38847// SetInputS3Path sets the InputS3Path field's value.
38848func (s *StartImportLabelsTaskRunInput) SetInputS3Path(v string) *StartImportLabelsTaskRunInput {
38849	s.InputS3Path = &v
38850	return s
38851}
38852
38853// SetReplaceAllLabels sets the ReplaceAllLabels field's value.
38854func (s *StartImportLabelsTaskRunInput) SetReplaceAllLabels(v bool) *StartImportLabelsTaskRunInput {
38855	s.ReplaceAllLabels = &v
38856	return s
38857}
38858
38859// SetTransformId sets the TransformId field's value.
38860func (s *StartImportLabelsTaskRunInput) SetTransformId(v string) *StartImportLabelsTaskRunInput {
38861	s.TransformId = &v
38862	return s
38863}
38864
38865type StartImportLabelsTaskRunOutput struct {
38866	_ struct{} `type:"structure"`
38867
38868	// The unique identifier for the task run.
38869	TaskRunId *string `min:"1" type:"string"`
38870}
38871
38872// String returns the string representation
38873func (s StartImportLabelsTaskRunOutput) String() string {
38874	return awsutil.Prettify(s)
38875}
38876
38877// GoString returns the string representation
38878func (s StartImportLabelsTaskRunOutput) GoString() string {
38879	return s.String()
38880}
38881
38882// SetTaskRunId sets the TaskRunId field's value.
38883func (s *StartImportLabelsTaskRunOutput) SetTaskRunId(v string) *StartImportLabelsTaskRunOutput {
38884	s.TaskRunId = &v
38885	return s
38886}
38887
38888type StartJobRunInput struct {
38889	_ struct{} `type:"structure"`
38890
38891	// This field is deprecated. Use MaxCapacity instead.
38892	//
38893	// The number of AWS Glue data processing units (DPUs) to allocate to this JobRun.
38894	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
38895	// measure of processing power that consists of 4 vCPUs of compute capacity
38896	// and 16 GB of memory. For more information, see the AWS Glue pricing page
38897	// (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
38898	//
38899	// Deprecated: This property is deprecated, use MaxCapacity instead.
38900	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
38901
38902	// The job arguments specifically for this run. For this job run, they replace
38903	// the default arguments set in the job definition itself.
38904	//
38905	// You can specify arguments here that your own job-execution script consumes,
38906	// as well as arguments that AWS Glue itself consumes.
38907	//
38908	// For information about how to specify and consume your own Job arguments,
38909	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
38910	// topic in the developer guide.
38911	//
38912	// For information about the key-value pairs that AWS Glue consumes to set up
38913	// your job, see the Special Parameters Used by AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
38914	// topic in the developer guide.
38915	Arguments map[string]*string `type:"map"`
38916
38917	// The name of the job definition to use.
38918	//
38919	// JobName is a required field
38920	JobName *string `min:"1" type:"string" required:"true"`
38921
38922	// The ID of a previous JobRun to retry.
38923	JobRunId *string `min:"1" type:"string"`
38924
38925	// The number of AWS Glue data processing units (DPUs) that can be allocated
38926	// when this job runs. A DPU is a relative measure of processing power that
38927	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
38928	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
38929	//
38930	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
38931	//
38932	// The value that can be allocated for MaxCapacity depends on whether you are
38933	// running a Python shell job, or an Apache Spark ETL job:
38934	//
38935	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
38936	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
38937	//
38938	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
38939	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
38940	//    type cannot have a fractional DPU allocation.
38941	MaxCapacity *float64 `type:"double"`
38942
38943	// Specifies configuration properties of a job run notification.
38944	NotificationProperty *NotificationProperty `type:"structure"`
38945
38946	// The number of workers of a defined workerType that are allocated when a job
38947	// runs.
38948	//
38949	// The maximum number of workers you can define are 299 for G.1X, and 149 for
38950	// G.2X.
38951	NumberOfWorkers *int64 `type:"integer"`
38952
38953	// The name of the SecurityConfiguration structure to be used with this job
38954	// run.
38955	SecurityConfiguration *string `min:"1" type:"string"`
38956
38957	// The JobRun timeout in minutes. This is the maximum time that a job run can
38958	// consume resources before it is terminated and enters TIMEOUT status. The
38959	// default is 2,880 minutes (48 hours). This overrides the timeout value set
38960	// in the parent job.
38961	Timeout *int64 `min:"1" type:"integer"`
38962
38963	// The type of predefined worker that is allocated when a job runs. Accepts
38964	// a value of Standard, G.1X, or G.2X.
38965	//
38966	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
38967	//    memory and a 50GB disk, and 2 executors per worker.
38968	//
38969	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
38970	//    and a 64GB disk, and 1 executor per worker.
38971	//
38972	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
38973	//    and a 128GB disk, and 1 executor per worker.
38974	WorkerType *string `type:"string" enum:"WorkerType"`
38975}
38976
38977// String returns the string representation
38978func (s StartJobRunInput) String() string {
38979	return awsutil.Prettify(s)
38980}
38981
38982// GoString returns the string representation
38983func (s StartJobRunInput) GoString() string {
38984	return s.String()
38985}
38986
38987// Validate inspects the fields of the type to determine if they are valid.
38988func (s *StartJobRunInput) Validate() error {
38989	invalidParams := request.ErrInvalidParams{Context: "StartJobRunInput"}
38990	if s.JobName == nil {
38991		invalidParams.Add(request.NewErrParamRequired("JobName"))
38992	}
38993	if s.JobName != nil && len(*s.JobName) < 1 {
38994		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
38995	}
38996	if s.JobRunId != nil && len(*s.JobRunId) < 1 {
38997		invalidParams.Add(request.NewErrParamMinLen("JobRunId", 1))
38998	}
38999	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
39000		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
39001	}
39002	if s.Timeout != nil && *s.Timeout < 1 {
39003		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
39004	}
39005	if s.NotificationProperty != nil {
39006		if err := s.NotificationProperty.Validate(); err != nil {
39007			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
39008		}
39009	}
39010
39011	if invalidParams.Len() > 0 {
39012		return invalidParams
39013	}
39014	return nil
39015}
39016
39017// SetAllocatedCapacity sets the AllocatedCapacity field's value.
39018func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput {
39019	s.AllocatedCapacity = &v
39020	return s
39021}
39022
39023// SetArguments sets the Arguments field's value.
39024func (s *StartJobRunInput) SetArguments(v map[string]*string) *StartJobRunInput {
39025	s.Arguments = v
39026	return s
39027}
39028
39029// SetJobName sets the JobName field's value.
39030func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput {
39031	s.JobName = &v
39032	return s
39033}
39034
39035// SetJobRunId sets the JobRunId field's value.
39036func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput {
39037	s.JobRunId = &v
39038	return s
39039}
39040
39041// SetMaxCapacity sets the MaxCapacity field's value.
39042func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput {
39043	s.MaxCapacity = &v
39044	return s
39045}
39046
39047// SetNotificationProperty sets the NotificationProperty field's value.
39048func (s *StartJobRunInput) SetNotificationProperty(v *NotificationProperty) *StartJobRunInput {
39049	s.NotificationProperty = v
39050	return s
39051}
39052
39053// SetNumberOfWorkers sets the NumberOfWorkers field's value.
39054func (s *StartJobRunInput) SetNumberOfWorkers(v int64) *StartJobRunInput {
39055	s.NumberOfWorkers = &v
39056	return s
39057}
39058
39059// SetSecurityConfiguration sets the SecurityConfiguration field's value.
39060func (s *StartJobRunInput) SetSecurityConfiguration(v string) *StartJobRunInput {
39061	s.SecurityConfiguration = &v
39062	return s
39063}
39064
39065// SetTimeout sets the Timeout field's value.
39066func (s *StartJobRunInput) SetTimeout(v int64) *StartJobRunInput {
39067	s.Timeout = &v
39068	return s
39069}
39070
39071// SetWorkerType sets the WorkerType field's value.
39072func (s *StartJobRunInput) SetWorkerType(v string) *StartJobRunInput {
39073	s.WorkerType = &v
39074	return s
39075}
39076
39077type StartJobRunOutput struct {
39078	_ struct{} `type:"structure"`
39079
39080	// The ID assigned to this job run.
39081	JobRunId *string `min:"1" type:"string"`
39082}
39083
39084// String returns the string representation
39085func (s StartJobRunOutput) String() string {
39086	return awsutil.Prettify(s)
39087}
39088
39089// GoString returns the string representation
39090func (s StartJobRunOutput) GoString() string {
39091	return s.String()
39092}
39093
39094// SetJobRunId sets the JobRunId field's value.
39095func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput {
39096	s.JobRunId = &v
39097	return s
39098}
39099
39100type StartMLEvaluationTaskRunInput struct {
39101	_ struct{} `type:"structure"`
39102
39103	// The unique identifier of the machine learning transform.
39104	//
39105	// TransformId is a required field
39106	TransformId *string `min:"1" type:"string" required:"true"`
39107}
39108
39109// String returns the string representation
39110func (s StartMLEvaluationTaskRunInput) String() string {
39111	return awsutil.Prettify(s)
39112}
39113
39114// GoString returns the string representation
39115func (s StartMLEvaluationTaskRunInput) GoString() string {
39116	return s.String()
39117}
39118
39119// Validate inspects the fields of the type to determine if they are valid.
39120func (s *StartMLEvaluationTaskRunInput) Validate() error {
39121	invalidParams := request.ErrInvalidParams{Context: "StartMLEvaluationTaskRunInput"}
39122	if s.TransformId == nil {
39123		invalidParams.Add(request.NewErrParamRequired("TransformId"))
39124	}
39125	if s.TransformId != nil && len(*s.TransformId) < 1 {
39126		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
39127	}
39128
39129	if invalidParams.Len() > 0 {
39130		return invalidParams
39131	}
39132	return nil
39133}
39134
39135// SetTransformId sets the TransformId field's value.
39136func (s *StartMLEvaluationTaskRunInput) SetTransformId(v string) *StartMLEvaluationTaskRunInput {
39137	s.TransformId = &v
39138	return s
39139}
39140
39141type StartMLEvaluationTaskRunOutput struct {
39142	_ struct{} `type:"structure"`
39143
39144	// The unique identifier associated with this run.
39145	TaskRunId *string `min:"1" type:"string"`
39146}
39147
39148// String returns the string representation
39149func (s StartMLEvaluationTaskRunOutput) String() string {
39150	return awsutil.Prettify(s)
39151}
39152
39153// GoString returns the string representation
39154func (s StartMLEvaluationTaskRunOutput) GoString() string {
39155	return s.String()
39156}
39157
39158// SetTaskRunId sets the TaskRunId field's value.
39159func (s *StartMLEvaluationTaskRunOutput) SetTaskRunId(v string) *StartMLEvaluationTaskRunOutput {
39160	s.TaskRunId = &v
39161	return s
39162}
39163
39164type StartMLLabelingSetGenerationTaskRunInput struct {
39165	_ struct{} `type:"structure"`
39166
39167	// The Amazon Simple Storage Service (Amazon S3) path where you generate the
39168	// labeling set.
39169	//
39170	// OutputS3Path is a required field
39171	OutputS3Path *string `type:"string" required:"true"`
39172
39173	// The unique identifier of the machine learning transform.
39174	//
39175	// TransformId is a required field
39176	TransformId *string `min:"1" type:"string" required:"true"`
39177}
39178
39179// String returns the string representation
39180func (s StartMLLabelingSetGenerationTaskRunInput) String() string {
39181	return awsutil.Prettify(s)
39182}
39183
39184// GoString returns the string representation
39185func (s StartMLLabelingSetGenerationTaskRunInput) GoString() string {
39186	return s.String()
39187}
39188
39189// Validate inspects the fields of the type to determine if they are valid.
39190func (s *StartMLLabelingSetGenerationTaskRunInput) Validate() error {
39191	invalidParams := request.ErrInvalidParams{Context: "StartMLLabelingSetGenerationTaskRunInput"}
39192	if s.OutputS3Path == nil {
39193		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
39194	}
39195	if s.TransformId == nil {
39196		invalidParams.Add(request.NewErrParamRequired("TransformId"))
39197	}
39198	if s.TransformId != nil && len(*s.TransformId) < 1 {
39199		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
39200	}
39201
39202	if invalidParams.Len() > 0 {
39203		return invalidParams
39204	}
39205	return nil
39206}
39207
39208// SetOutputS3Path sets the OutputS3Path field's value.
39209func (s *StartMLLabelingSetGenerationTaskRunInput) SetOutputS3Path(v string) *StartMLLabelingSetGenerationTaskRunInput {
39210	s.OutputS3Path = &v
39211	return s
39212}
39213
39214// SetTransformId sets the TransformId field's value.
39215func (s *StartMLLabelingSetGenerationTaskRunInput) SetTransformId(v string) *StartMLLabelingSetGenerationTaskRunInput {
39216	s.TransformId = &v
39217	return s
39218}
39219
39220type StartMLLabelingSetGenerationTaskRunOutput struct {
39221	_ struct{} `type:"structure"`
39222
39223	// The unique run identifier that is associated with this task run.
39224	TaskRunId *string `min:"1" type:"string"`
39225}
39226
39227// String returns the string representation
39228func (s StartMLLabelingSetGenerationTaskRunOutput) String() string {
39229	return awsutil.Prettify(s)
39230}
39231
39232// GoString returns the string representation
39233func (s StartMLLabelingSetGenerationTaskRunOutput) GoString() string {
39234	return s.String()
39235}
39236
39237// SetTaskRunId sets the TaskRunId field's value.
39238func (s *StartMLLabelingSetGenerationTaskRunOutput) SetTaskRunId(v string) *StartMLLabelingSetGenerationTaskRunOutput {
39239	s.TaskRunId = &v
39240	return s
39241}
39242
39243type StartTriggerInput struct {
39244	_ struct{} `type:"structure"`
39245
39246	// The name of the trigger to start.
39247	//
39248	// Name is a required field
39249	Name *string `min:"1" type:"string" required:"true"`
39250}
39251
39252// String returns the string representation
39253func (s StartTriggerInput) String() string {
39254	return awsutil.Prettify(s)
39255}
39256
39257// GoString returns the string representation
39258func (s StartTriggerInput) GoString() string {
39259	return s.String()
39260}
39261
39262// Validate inspects the fields of the type to determine if they are valid.
39263func (s *StartTriggerInput) Validate() error {
39264	invalidParams := request.ErrInvalidParams{Context: "StartTriggerInput"}
39265	if s.Name == nil {
39266		invalidParams.Add(request.NewErrParamRequired("Name"))
39267	}
39268	if s.Name != nil && len(*s.Name) < 1 {
39269		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39270	}
39271
39272	if invalidParams.Len() > 0 {
39273		return invalidParams
39274	}
39275	return nil
39276}
39277
39278// SetName sets the Name field's value.
39279func (s *StartTriggerInput) SetName(v string) *StartTriggerInput {
39280	s.Name = &v
39281	return s
39282}
39283
39284type StartTriggerOutput struct {
39285	_ struct{} `type:"structure"`
39286
39287	// The name of the trigger that was started.
39288	Name *string `min:"1" type:"string"`
39289}
39290
39291// String returns the string representation
39292func (s StartTriggerOutput) String() string {
39293	return awsutil.Prettify(s)
39294}
39295
39296// GoString returns the string representation
39297func (s StartTriggerOutput) GoString() string {
39298	return s.String()
39299}
39300
39301// SetName sets the Name field's value.
39302func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput {
39303	s.Name = &v
39304	return s
39305}
39306
39307type StartWorkflowRunInput struct {
39308	_ struct{} `type:"structure"`
39309
39310	// The name of the workflow to start.
39311	//
39312	// Name is a required field
39313	Name *string `min:"1" type:"string" required:"true"`
39314}
39315
39316// String returns the string representation
39317func (s StartWorkflowRunInput) String() string {
39318	return awsutil.Prettify(s)
39319}
39320
39321// GoString returns the string representation
39322func (s StartWorkflowRunInput) GoString() string {
39323	return s.String()
39324}
39325
39326// Validate inspects the fields of the type to determine if they are valid.
39327func (s *StartWorkflowRunInput) Validate() error {
39328	invalidParams := request.ErrInvalidParams{Context: "StartWorkflowRunInput"}
39329	if s.Name == nil {
39330		invalidParams.Add(request.NewErrParamRequired("Name"))
39331	}
39332	if s.Name != nil && len(*s.Name) < 1 {
39333		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39334	}
39335
39336	if invalidParams.Len() > 0 {
39337		return invalidParams
39338	}
39339	return nil
39340}
39341
39342// SetName sets the Name field's value.
39343func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput {
39344	s.Name = &v
39345	return s
39346}
39347
39348type StartWorkflowRunOutput struct {
39349	_ struct{} `type:"structure"`
39350
39351	// An Id for the new run.
39352	RunId *string `min:"1" type:"string"`
39353}
39354
39355// String returns the string representation
39356func (s StartWorkflowRunOutput) String() string {
39357	return awsutil.Prettify(s)
39358}
39359
39360// GoString returns the string representation
39361func (s StartWorkflowRunOutput) GoString() string {
39362	return s.String()
39363}
39364
39365// SetRunId sets the RunId field's value.
39366func (s *StartWorkflowRunOutput) SetRunId(v string) *StartWorkflowRunOutput {
39367	s.RunId = &v
39368	return s
39369}
39370
39371type StopCrawlerInput struct {
39372	_ struct{} `type:"structure"`
39373
39374	// Name of the crawler to stop.
39375	//
39376	// Name is a required field
39377	Name *string `min:"1" type:"string" required:"true"`
39378}
39379
39380// String returns the string representation
39381func (s StopCrawlerInput) String() string {
39382	return awsutil.Prettify(s)
39383}
39384
39385// GoString returns the string representation
39386func (s StopCrawlerInput) GoString() string {
39387	return s.String()
39388}
39389
39390// Validate inspects the fields of the type to determine if they are valid.
39391func (s *StopCrawlerInput) Validate() error {
39392	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerInput"}
39393	if s.Name == nil {
39394		invalidParams.Add(request.NewErrParamRequired("Name"))
39395	}
39396	if s.Name != nil && len(*s.Name) < 1 {
39397		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39398	}
39399
39400	if invalidParams.Len() > 0 {
39401		return invalidParams
39402	}
39403	return nil
39404}
39405
39406// SetName sets the Name field's value.
39407func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput {
39408	s.Name = &v
39409	return s
39410}
39411
39412type StopCrawlerOutput struct {
39413	_ struct{} `type:"structure"`
39414}
39415
39416// String returns the string representation
39417func (s StopCrawlerOutput) String() string {
39418	return awsutil.Prettify(s)
39419}
39420
39421// GoString returns the string representation
39422func (s StopCrawlerOutput) GoString() string {
39423	return s.String()
39424}
39425
39426type StopCrawlerScheduleInput struct {
39427	_ struct{} `type:"structure"`
39428
39429	// Name of the crawler whose schedule state to set.
39430	//
39431	// CrawlerName is a required field
39432	CrawlerName *string `min:"1" type:"string" required:"true"`
39433}
39434
39435// String returns the string representation
39436func (s StopCrawlerScheduleInput) String() string {
39437	return awsutil.Prettify(s)
39438}
39439
39440// GoString returns the string representation
39441func (s StopCrawlerScheduleInput) GoString() string {
39442	return s.String()
39443}
39444
39445// Validate inspects the fields of the type to determine if they are valid.
39446func (s *StopCrawlerScheduleInput) Validate() error {
39447	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerScheduleInput"}
39448	if s.CrawlerName == nil {
39449		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
39450	}
39451	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
39452		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
39453	}
39454
39455	if invalidParams.Len() > 0 {
39456		return invalidParams
39457	}
39458	return nil
39459}
39460
39461// SetCrawlerName sets the CrawlerName field's value.
39462func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput {
39463	s.CrawlerName = &v
39464	return s
39465}
39466
39467type StopCrawlerScheduleOutput struct {
39468	_ struct{} `type:"structure"`
39469}
39470
39471// String returns the string representation
39472func (s StopCrawlerScheduleOutput) String() string {
39473	return awsutil.Prettify(s)
39474}
39475
39476// GoString returns the string representation
39477func (s StopCrawlerScheduleOutput) GoString() string {
39478	return s.String()
39479}
39480
39481type StopTriggerInput struct {
39482	_ struct{} `type:"structure"`
39483
39484	// The name of the trigger to stop.
39485	//
39486	// Name is a required field
39487	Name *string `min:"1" type:"string" required:"true"`
39488}
39489
39490// String returns the string representation
39491func (s StopTriggerInput) String() string {
39492	return awsutil.Prettify(s)
39493}
39494
39495// GoString returns the string representation
39496func (s StopTriggerInput) GoString() string {
39497	return s.String()
39498}
39499
39500// Validate inspects the fields of the type to determine if they are valid.
39501func (s *StopTriggerInput) Validate() error {
39502	invalidParams := request.ErrInvalidParams{Context: "StopTriggerInput"}
39503	if s.Name == nil {
39504		invalidParams.Add(request.NewErrParamRequired("Name"))
39505	}
39506	if s.Name != nil && len(*s.Name) < 1 {
39507		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39508	}
39509
39510	if invalidParams.Len() > 0 {
39511		return invalidParams
39512	}
39513	return nil
39514}
39515
39516// SetName sets the Name field's value.
39517func (s *StopTriggerInput) SetName(v string) *StopTriggerInput {
39518	s.Name = &v
39519	return s
39520}
39521
39522type StopTriggerOutput struct {
39523	_ struct{} `type:"structure"`
39524
39525	// The name of the trigger that was stopped.
39526	Name *string `min:"1" type:"string"`
39527}
39528
39529// String returns the string representation
39530func (s StopTriggerOutput) String() string {
39531	return awsutil.Prettify(s)
39532}
39533
39534// GoString returns the string representation
39535func (s StopTriggerOutput) GoString() string {
39536	return s.String()
39537}
39538
39539// SetName sets the Name field's value.
39540func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput {
39541	s.Name = &v
39542	return s
39543}
39544
39545type StopWorkflowRunInput struct {
39546	_ struct{} `type:"structure"`
39547
39548	// The name of the workflow to stop.
39549	//
39550	// Name is a required field
39551	Name *string `min:"1" type:"string" required:"true"`
39552
39553	// The ID of the workflow run to stop.
39554	//
39555	// RunId is a required field
39556	RunId *string `min:"1" type:"string" required:"true"`
39557}
39558
39559// String returns the string representation
39560func (s StopWorkflowRunInput) String() string {
39561	return awsutil.Prettify(s)
39562}
39563
39564// GoString returns the string representation
39565func (s StopWorkflowRunInput) GoString() string {
39566	return s.String()
39567}
39568
39569// Validate inspects the fields of the type to determine if they are valid.
39570func (s *StopWorkflowRunInput) Validate() error {
39571	invalidParams := request.ErrInvalidParams{Context: "StopWorkflowRunInput"}
39572	if s.Name == nil {
39573		invalidParams.Add(request.NewErrParamRequired("Name"))
39574	}
39575	if s.Name != nil && len(*s.Name) < 1 {
39576		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
39577	}
39578	if s.RunId == nil {
39579		invalidParams.Add(request.NewErrParamRequired("RunId"))
39580	}
39581	if s.RunId != nil && len(*s.RunId) < 1 {
39582		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
39583	}
39584
39585	if invalidParams.Len() > 0 {
39586		return invalidParams
39587	}
39588	return nil
39589}
39590
39591// SetName sets the Name field's value.
39592func (s *StopWorkflowRunInput) SetName(v string) *StopWorkflowRunInput {
39593	s.Name = &v
39594	return s
39595}
39596
39597// SetRunId sets the RunId field's value.
39598func (s *StopWorkflowRunInput) SetRunId(v string) *StopWorkflowRunInput {
39599	s.RunId = &v
39600	return s
39601}
39602
39603type StopWorkflowRunOutput struct {
39604	_ struct{} `type:"structure"`
39605}
39606
39607// String returns the string representation
39608func (s StopWorkflowRunOutput) String() string {
39609	return awsutil.Prettify(s)
39610}
39611
39612// GoString returns the string representation
39613func (s StopWorkflowRunOutput) GoString() string {
39614	return s.String()
39615}
39616
39617// Describes the physical storage of table data.
39618type StorageDescriptor struct {
39619	_ struct{} `type:"structure"`
39620
39621	// A list of reducer grouping columns, clustering columns, and bucketing columns
39622	// in the table.
39623	BucketColumns []*string `type:"list"`
39624
39625	// A list of the Columns in the table.
39626	Columns []*Column `type:"list"`
39627
39628	// True if the data in the table is compressed, or False if not.
39629	Compressed *bool `type:"boolean"`
39630
39631	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or
39632	// a custom format.
39633	InputFormat *string `type:"string"`
39634
39635	// The physical location of the table. By default, this takes the form of the
39636	// warehouse location, followed by the database location in the warehouse, followed
39637	// by the table name.
39638	Location *string `type:"string"`
39639
39640	// Must be specified if the table contains any dimension columns.
39641	NumberOfBuckets *int64 `type:"integer"`
39642
39643	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
39644	// or a custom format.
39645	OutputFormat *string `type:"string"`
39646
39647	// The user-supplied properties in key-value form.
39648	Parameters map[string]*string `type:"map"`
39649
39650	// An object that references a schema stored in the AWS Glue Schema Registry.
39651	//
39652	// When creating a table, you can pass an empty list of columns for the schema,
39653	// and instead use a schema reference.
39654	SchemaReference *SchemaReference `type:"structure"`
39655
39656	// The serialization/deserialization (SerDe) information.
39657	SerdeInfo *SerDeInfo `type:"structure"`
39658
39659	// The information about values that appear frequently in a column (skewed values).
39660	SkewedInfo *SkewedInfo `type:"structure"`
39661
39662	// A list specifying the sort order of each bucket in the table.
39663	SortColumns []*Order `type:"list"`
39664
39665	// True if the table data is stored in subdirectories, or False if not.
39666	StoredAsSubDirectories *bool `type:"boolean"`
39667}
39668
39669// String returns the string representation
39670func (s StorageDescriptor) String() string {
39671	return awsutil.Prettify(s)
39672}
39673
39674// GoString returns the string representation
39675func (s StorageDescriptor) GoString() string {
39676	return s.String()
39677}
39678
39679// Validate inspects the fields of the type to determine if they are valid.
39680func (s *StorageDescriptor) Validate() error {
39681	invalidParams := request.ErrInvalidParams{Context: "StorageDescriptor"}
39682	if s.Columns != nil {
39683		for i, v := range s.Columns {
39684			if v == nil {
39685				continue
39686			}
39687			if err := v.Validate(); err != nil {
39688				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
39689			}
39690		}
39691	}
39692	if s.SchemaReference != nil {
39693		if err := s.SchemaReference.Validate(); err != nil {
39694			invalidParams.AddNested("SchemaReference", err.(request.ErrInvalidParams))
39695		}
39696	}
39697	if s.SerdeInfo != nil {
39698		if err := s.SerdeInfo.Validate(); err != nil {
39699			invalidParams.AddNested("SerdeInfo", err.(request.ErrInvalidParams))
39700		}
39701	}
39702	if s.SortColumns != nil {
39703		for i, v := range s.SortColumns {
39704			if v == nil {
39705				continue
39706			}
39707			if err := v.Validate(); err != nil {
39708				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortColumns", i), err.(request.ErrInvalidParams))
39709			}
39710		}
39711	}
39712
39713	if invalidParams.Len() > 0 {
39714		return invalidParams
39715	}
39716	return nil
39717}
39718
39719// SetBucketColumns sets the BucketColumns field's value.
39720func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor {
39721	s.BucketColumns = v
39722	return s
39723}
39724
39725// SetColumns sets the Columns field's value.
39726func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor {
39727	s.Columns = v
39728	return s
39729}
39730
39731// SetCompressed sets the Compressed field's value.
39732func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor {
39733	s.Compressed = &v
39734	return s
39735}
39736
39737// SetInputFormat sets the InputFormat field's value.
39738func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor {
39739	s.InputFormat = &v
39740	return s
39741}
39742
39743// SetLocation sets the Location field's value.
39744func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor {
39745	s.Location = &v
39746	return s
39747}
39748
39749// SetNumberOfBuckets sets the NumberOfBuckets field's value.
39750func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor {
39751	s.NumberOfBuckets = &v
39752	return s
39753}
39754
39755// SetOutputFormat sets the OutputFormat field's value.
39756func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor {
39757	s.OutputFormat = &v
39758	return s
39759}
39760
39761// SetParameters sets the Parameters field's value.
39762func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor {
39763	s.Parameters = v
39764	return s
39765}
39766
39767// SetSchemaReference sets the SchemaReference field's value.
39768func (s *StorageDescriptor) SetSchemaReference(v *SchemaReference) *StorageDescriptor {
39769	s.SchemaReference = v
39770	return s
39771}
39772
39773// SetSerdeInfo sets the SerdeInfo field's value.
39774func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor {
39775	s.SerdeInfo = v
39776	return s
39777}
39778
39779// SetSkewedInfo sets the SkewedInfo field's value.
39780func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor {
39781	s.SkewedInfo = v
39782	return s
39783}
39784
39785// SetSortColumns sets the SortColumns field's value.
39786func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor {
39787	s.SortColumns = v
39788	return s
39789}
39790
39791// SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value.
39792func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor {
39793	s.StoredAsSubDirectories = &v
39794	return s
39795}
39796
39797// Defines column statistics supported for character sequence data values.
39798type StringColumnStatisticsData struct {
39799	_ struct{} `type:"structure"`
39800
39801	// The average string length in the column.
39802	//
39803	// AverageLength is a required field
39804	AverageLength *float64 `type:"double" required:"true"`
39805
39806	// The size of the longest string in the column.
39807	//
39808	// MaximumLength is a required field
39809	MaximumLength *int64 `type:"long" required:"true"`
39810
39811	// The number of distinct values in a column.
39812	//
39813	// NumberOfDistinctValues is a required field
39814	NumberOfDistinctValues *int64 `type:"long" required:"true"`
39815
39816	// The number of null values in the column.
39817	//
39818	// NumberOfNulls is a required field
39819	NumberOfNulls *int64 `type:"long" required:"true"`
39820}
39821
39822// String returns the string representation
39823func (s StringColumnStatisticsData) String() string {
39824	return awsutil.Prettify(s)
39825}
39826
39827// GoString returns the string representation
39828func (s StringColumnStatisticsData) GoString() string {
39829	return s.String()
39830}
39831
39832// Validate inspects the fields of the type to determine if they are valid.
39833func (s *StringColumnStatisticsData) Validate() error {
39834	invalidParams := request.ErrInvalidParams{Context: "StringColumnStatisticsData"}
39835	if s.AverageLength == nil {
39836		invalidParams.Add(request.NewErrParamRequired("AverageLength"))
39837	}
39838	if s.MaximumLength == nil {
39839		invalidParams.Add(request.NewErrParamRequired("MaximumLength"))
39840	}
39841	if s.NumberOfDistinctValues == nil {
39842		invalidParams.Add(request.NewErrParamRequired("NumberOfDistinctValues"))
39843	}
39844	if s.NumberOfNulls == nil {
39845		invalidParams.Add(request.NewErrParamRequired("NumberOfNulls"))
39846	}
39847
39848	if invalidParams.Len() > 0 {
39849		return invalidParams
39850	}
39851	return nil
39852}
39853
39854// SetAverageLength sets the AverageLength field's value.
39855func (s *StringColumnStatisticsData) SetAverageLength(v float64) *StringColumnStatisticsData {
39856	s.AverageLength = &v
39857	return s
39858}
39859
39860// SetMaximumLength sets the MaximumLength field's value.
39861func (s *StringColumnStatisticsData) SetMaximumLength(v int64) *StringColumnStatisticsData {
39862	s.MaximumLength = &v
39863	return s
39864}
39865
39866// SetNumberOfDistinctValues sets the NumberOfDistinctValues field's value.
39867func (s *StringColumnStatisticsData) SetNumberOfDistinctValues(v int64) *StringColumnStatisticsData {
39868	s.NumberOfDistinctValues = &v
39869	return s
39870}
39871
39872// SetNumberOfNulls sets the NumberOfNulls field's value.
39873func (s *StringColumnStatisticsData) SetNumberOfNulls(v int64) *StringColumnStatisticsData {
39874	s.NumberOfNulls = &v
39875	return s
39876}
39877
39878// The database and table in the AWS Glue Data Catalog that is used for input
39879// or output data.
39880type Table struct {
39881	_ struct{} `type:"structure"`
39882
39883	// A unique identifier for the AWS Glue Data Catalog.
39884	CatalogId *string `min:"1" type:"string"`
39885
39886	// The name of the connection to the AWS Glue Data Catalog.
39887	ConnectionName *string `min:"1" type:"string"`
39888
39889	// A database name in the AWS Glue Data Catalog.
39890	//
39891	// DatabaseName is a required field
39892	DatabaseName *string `min:"1" type:"string" required:"true"`
39893
39894	// A table name in the AWS Glue Data Catalog.
39895	//
39896	// TableName is a required field
39897	TableName *string `min:"1" type:"string" required:"true"`
39898}
39899
39900// String returns the string representation
39901func (s Table) String() string {
39902	return awsutil.Prettify(s)
39903}
39904
39905// GoString returns the string representation
39906func (s Table) GoString() string {
39907	return s.String()
39908}
39909
39910// Validate inspects the fields of the type to determine if they are valid.
39911func (s *Table) Validate() error {
39912	invalidParams := request.ErrInvalidParams{Context: "Table"}
39913	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
39914		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
39915	}
39916	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
39917		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
39918	}
39919	if s.DatabaseName == nil {
39920		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
39921	}
39922	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
39923		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
39924	}
39925	if s.TableName == nil {
39926		invalidParams.Add(request.NewErrParamRequired("TableName"))
39927	}
39928	if s.TableName != nil && len(*s.TableName) < 1 {
39929		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
39930	}
39931
39932	if invalidParams.Len() > 0 {
39933		return invalidParams
39934	}
39935	return nil
39936}
39937
39938// SetCatalogId sets the CatalogId field's value.
39939func (s *Table) SetCatalogId(v string) *Table {
39940	s.CatalogId = &v
39941	return s
39942}
39943
39944// SetConnectionName sets the ConnectionName field's value.
39945func (s *Table) SetConnectionName(v string) *Table {
39946	s.ConnectionName = &v
39947	return s
39948}
39949
39950// SetDatabaseName sets the DatabaseName field's value.
39951func (s *Table) SetDatabaseName(v string) *Table {
39952	s.DatabaseName = &v
39953	return s
39954}
39955
39956// SetTableName sets the TableName field's value.
39957func (s *Table) SetTableName(v string) *Table {
39958	s.TableName = &v
39959	return s
39960}
39961
39962// Represents a collection of related data organized in columns and rows.
39963type TableData struct {
39964	_ struct{} `type:"structure"`
39965
39966	// The ID of the Data Catalog in which the table resides.
39967	CatalogId *string `min:"1" type:"string"`
39968
39969	// The time when the table definition was created in the Data Catalog.
39970	CreateTime *time.Time `type:"timestamp"`
39971
39972	// The person or entity who created the table.
39973	CreatedBy *string `min:"1" type:"string"`
39974
39975	// The name of the database where the table metadata resides. For Hive compatibility,
39976	// this must be all lowercase.
39977	DatabaseName *string `min:"1" type:"string"`
39978
39979	// A description of the table.
39980	Description *string `type:"string"`
39981
39982	// Indicates whether the table has been registered with AWS Lake Formation.
39983	IsRegisteredWithLakeFormation *bool `type:"boolean"`
39984
39985	// The last time that the table was accessed. This is usually taken from HDFS,
39986	// and might not be reliable.
39987	LastAccessTime *time.Time `type:"timestamp"`
39988
39989	// The last time that column statistics were computed for this table.
39990	LastAnalyzedTime *time.Time `type:"timestamp"`
39991
39992	// The table name. For Hive compatibility, this must be entirely lowercase.
39993	//
39994	// Name is a required field
39995	Name *string `min:"1" type:"string" required:"true"`
39996
39997	// The owner of the table.
39998	Owner *string `min:"1" type:"string"`
39999
40000	// These key-value pairs define properties associated with the table.
40001	Parameters map[string]*string `type:"map"`
40002
40003	// A list of columns by which the table is partitioned. Only primitive types
40004	// are supported as partition keys.
40005	//
40006	// When you create a table used by Amazon Athena, and you do not specify any
40007	// partitionKeys, you must at least set the value of partitionKeys to an empty
40008	// list. For example:
40009	//
40010	// "PartitionKeys": []
40011	PartitionKeys []*Column `type:"list"`
40012
40013	// The retention time for this table.
40014	Retention *int64 `type:"integer"`
40015
40016	// A storage descriptor containing information about the physical storage of
40017	// this table.
40018	StorageDescriptor *StorageDescriptor `type:"structure"`
40019
40020	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
40021	TableType *string `type:"string"`
40022
40023	// A TableIdentifier structure that describes a target table for resource linking.
40024	TargetTable *TableIdentifier `type:"structure"`
40025
40026	// The last time that the table was updated.
40027	UpdateTime *time.Time `type:"timestamp"`
40028
40029	// If the table is a view, the expanded text of the view; otherwise null.
40030	ViewExpandedText *string `type:"string"`
40031
40032	// If the table is a view, the original text of the view; otherwise null.
40033	ViewOriginalText *string `type:"string"`
40034}
40035
40036// String returns the string representation
40037func (s TableData) String() string {
40038	return awsutil.Prettify(s)
40039}
40040
40041// GoString returns the string representation
40042func (s TableData) GoString() string {
40043	return s.String()
40044}
40045
40046// SetCatalogId sets the CatalogId field's value.
40047func (s *TableData) SetCatalogId(v string) *TableData {
40048	s.CatalogId = &v
40049	return s
40050}
40051
40052// SetCreateTime sets the CreateTime field's value.
40053func (s *TableData) SetCreateTime(v time.Time) *TableData {
40054	s.CreateTime = &v
40055	return s
40056}
40057
40058// SetCreatedBy sets the CreatedBy field's value.
40059func (s *TableData) SetCreatedBy(v string) *TableData {
40060	s.CreatedBy = &v
40061	return s
40062}
40063
40064// SetDatabaseName sets the DatabaseName field's value.
40065func (s *TableData) SetDatabaseName(v string) *TableData {
40066	s.DatabaseName = &v
40067	return s
40068}
40069
40070// SetDescription sets the Description field's value.
40071func (s *TableData) SetDescription(v string) *TableData {
40072	s.Description = &v
40073	return s
40074}
40075
40076// SetIsRegisteredWithLakeFormation sets the IsRegisteredWithLakeFormation field's value.
40077func (s *TableData) SetIsRegisteredWithLakeFormation(v bool) *TableData {
40078	s.IsRegisteredWithLakeFormation = &v
40079	return s
40080}
40081
40082// SetLastAccessTime sets the LastAccessTime field's value.
40083func (s *TableData) SetLastAccessTime(v time.Time) *TableData {
40084	s.LastAccessTime = &v
40085	return s
40086}
40087
40088// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
40089func (s *TableData) SetLastAnalyzedTime(v time.Time) *TableData {
40090	s.LastAnalyzedTime = &v
40091	return s
40092}
40093
40094// SetName sets the Name field's value.
40095func (s *TableData) SetName(v string) *TableData {
40096	s.Name = &v
40097	return s
40098}
40099
40100// SetOwner sets the Owner field's value.
40101func (s *TableData) SetOwner(v string) *TableData {
40102	s.Owner = &v
40103	return s
40104}
40105
40106// SetParameters sets the Parameters field's value.
40107func (s *TableData) SetParameters(v map[string]*string) *TableData {
40108	s.Parameters = v
40109	return s
40110}
40111
40112// SetPartitionKeys sets the PartitionKeys field's value.
40113func (s *TableData) SetPartitionKeys(v []*Column) *TableData {
40114	s.PartitionKeys = v
40115	return s
40116}
40117
40118// SetRetention sets the Retention field's value.
40119func (s *TableData) SetRetention(v int64) *TableData {
40120	s.Retention = &v
40121	return s
40122}
40123
40124// SetStorageDescriptor sets the StorageDescriptor field's value.
40125func (s *TableData) SetStorageDescriptor(v *StorageDescriptor) *TableData {
40126	s.StorageDescriptor = v
40127	return s
40128}
40129
40130// SetTableType sets the TableType field's value.
40131func (s *TableData) SetTableType(v string) *TableData {
40132	s.TableType = &v
40133	return s
40134}
40135
40136// SetTargetTable sets the TargetTable field's value.
40137func (s *TableData) SetTargetTable(v *TableIdentifier) *TableData {
40138	s.TargetTable = v
40139	return s
40140}
40141
40142// SetUpdateTime sets the UpdateTime field's value.
40143func (s *TableData) SetUpdateTime(v time.Time) *TableData {
40144	s.UpdateTime = &v
40145	return s
40146}
40147
40148// SetViewExpandedText sets the ViewExpandedText field's value.
40149func (s *TableData) SetViewExpandedText(v string) *TableData {
40150	s.ViewExpandedText = &v
40151	return s
40152}
40153
40154// SetViewOriginalText sets the ViewOriginalText field's value.
40155func (s *TableData) SetViewOriginalText(v string) *TableData {
40156	s.ViewOriginalText = &v
40157	return s
40158}
40159
40160// An error record for table operations.
40161type TableError struct {
40162	_ struct{} `type:"structure"`
40163
40164	// The details about the error.
40165	ErrorDetail *ErrorDetail `type:"structure"`
40166
40167	// The name of the table. For Hive compatibility, this must be entirely lowercase.
40168	TableName *string `min:"1" type:"string"`
40169}
40170
40171// String returns the string representation
40172func (s TableError) String() string {
40173	return awsutil.Prettify(s)
40174}
40175
40176// GoString returns the string representation
40177func (s TableError) GoString() string {
40178	return s.String()
40179}
40180
40181// SetErrorDetail sets the ErrorDetail field's value.
40182func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError {
40183	s.ErrorDetail = v
40184	return s
40185}
40186
40187// SetTableName sets the TableName field's value.
40188func (s *TableError) SetTableName(v string) *TableError {
40189	s.TableName = &v
40190	return s
40191}
40192
40193// A structure that describes a target table for resource linking.
40194type TableIdentifier struct {
40195	_ struct{} `type:"structure"`
40196
40197	// The ID of the Data Catalog in which the table resides.
40198	CatalogId *string `min:"1" type:"string"`
40199
40200	// The name of the catalog database that contains the target table.
40201	DatabaseName *string `min:"1" type:"string"`
40202
40203	// The name of the target table.
40204	Name *string `min:"1" type:"string"`
40205}
40206
40207// String returns the string representation
40208func (s TableIdentifier) String() string {
40209	return awsutil.Prettify(s)
40210}
40211
40212// GoString returns the string representation
40213func (s TableIdentifier) GoString() string {
40214	return s.String()
40215}
40216
40217// Validate inspects the fields of the type to determine if they are valid.
40218func (s *TableIdentifier) Validate() error {
40219	invalidParams := request.ErrInvalidParams{Context: "TableIdentifier"}
40220	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
40221		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
40222	}
40223	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
40224		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
40225	}
40226	if s.Name != nil && len(*s.Name) < 1 {
40227		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
40228	}
40229
40230	if invalidParams.Len() > 0 {
40231		return invalidParams
40232	}
40233	return nil
40234}
40235
40236// SetCatalogId sets the CatalogId field's value.
40237func (s *TableIdentifier) SetCatalogId(v string) *TableIdentifier {
40238	s.CatalogId = &v
40239	return s
40240}
40241
40242// SetDatabaseName sets the DatabaseName field's value.
40243func (s *TableIdentifier) SetDatabaseName(v string) *TableIdentifier {
40244	s.DatabaseName = &v
40245	return s
40246}
40247
40248// SetName sets the Name field's value.
40249func (s *TableIdentifier) SetName(v string) *TableIdentifier {
40250	s.Name = &v
40251	return s
40252}
40253
40254// A structure used to define a table.
40255type TableInput struct {
40256	_ struct{} `type:"structure"`
40257
40258	// A description of the table.
40259	Description *string `type:"string"`
40260
40261	// The last time that the table was accessed.
40262	LastAccessTime *time.Time `type:"timestamp"`
40263
40264	// The last time that column statistics were computed for this table.
40265	LastAnalyzedTime *time.Time `type:"timestamp"`
40266
40267	// The table name. For Hive compatibility, this is folded to lowercase when
40268	// it is stored.
40269	//
40270	// Name is a required field
40271	Name *string `min:"1" type:"string" required:"true"`
40272
40273	// The table owner.
40274	Owner *string `min:"1" type:"string"`
40275
40276	// These key-value pairs define properties associated with the table.
40277	Parameters map[string]*string `type:"map"`
40278
40279	// A list of columns by which the table is partitioned. Only primitive types
40280	// are supported as partition keys.
40281	//
40282	// When you create a table used by Amazon Athena, and you do not specify any
40283	// partitionKeys, you must at least set the value of partitionKeys to an empty
40284	// list. For example:
40285	//
40286	// "PartitionKeys": []
40287	PartitionKeys []*Column `type:"list"`
40288
40289	// The retention time for this table.
40290	Retention *int64 `type:"integer"`
40291
40292	// A storage descriptor containing information about the physical storage of
40293	// this table.
40294	StorageDescriptor *StorageDescriptor `type:"structure"`
40295
40296	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
40297	TableType *string `type:"string"`
40298
40299	// A TableIdentifier structure that describes a target table for resource linking.
40300	TargetTable *TableIdentifier `type:"structure"`
40301
40302	// If the table is a view, the expanded text of the view; otherwise null.
40303	ViewExpandedText *string `type:"string"`
40304
40305	// If the table is a view, the original text of the view; otherwise null.
40306	ViewOriginalText *string `type:"string"`
40307}
40308
40309// String returns the string representation
40310func (s TableInput) String() string {
40311	return awsutil.Prettify(s)
40312}
40313
40314// GoString returns the string representation
40315func (s TableInput) GoString() string {
40316	return s.String()
40317}
40318
40319// Validate inspects the fields of the type to determine if they are valid.
40320func (s *TableInput) Validate() error {
40321	invalidParams := request.ErrInvalidParams{Context: "TableInput"}
40322	if s.Name == nil {
40323		invalidParams.Add(request.NewErrParamRequired("Name"))
40324	}
40325	if s.Name != nil && len(*s.Name) < 1 {
40326		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
40327	}
40328	if s.Owner != nil && len(*s.Owner) < 1 {
40329		invalidParams.Add(request.NewErrParamMinLen("Owner", 1))
40330	}
40331	if s.PartitionKeys != nil {
40332		for i, v := range s.PartitionKeys {
40333			if v == nil {
40334				continue
40335			}
40336			if err := v.Validate(); err != nil {
40337				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionKeys", i), err.(request.ErrInvalidParams))
40338			}
40339		}
40340	}
40341	if s.StorageDescriptor != nil {
40342		if err := s.StorageDescriptor.Validate(); err != nil {
40343			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
40344		}
40345	}
40346	if s.TargetTable != nil {
40347		if err := s.TargetTable.Validate(); err != nil {
40348			invalidParams.AddNested("TargetTable", err.(request.ErrInvalidParams))
40349		}
40350	}
40351
40352	if invalidParams.Len() > 0 {
40353		return invalidParams
40354	}
40355	return nil
40356}
40357
40358// SetDescription sets the Description field's value.
40359func (s *TableInput) SetDescription(v string) *TableInput {
40360	s.Description = &v
40361	return s
40362}
40363
40364// SetLastAccessTime sets the LastAccessTime field's value.
40365func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput {
40366	s.LastAccessTime = &v
40367	return s
40368}
40369
40370// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
40371func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput {
40372	s.LastAnalyzedTime = &v
40373	return s
40374}
40375
40376// SetName sets the Name field's value.
40377func (s *TableInput) SetName(v string) *TableInput {
40378	s.Name = &v
40379	return s
40380}
40381
40382// SetOwner sets the Owner field's value.
40383func (s *TableInput) SetOwner(v string) *TableInput {
40384	s.Owner = &v
40385	return s
40386}
40387
40388// SetParameters sets the Parameters field's value.
40389func (s *TableInput) SetParameters(v map[string]*string) *TableInput {
40390	s.Parameters = v
40391	return s
40392}
40393
40394// SetPartitionKeys sets the PartitionKeys field's value.
40395func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput {
40396	s.PartitionKeys = v
40397	return s
40398}
40399
40400// SetRetention sets the Retention field's value.
40401func (s *TableInput) SetRetention(v int64) *TableInput {
40402	s.Retention = &v
40403	return s
40404}
40405
40406// SetStorageDescriptor sets the StorageDescriptor field's value.
40407func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput {
40408	s.StorageDescriptor = v
40409	return s
40410}
40411
40412// SetTableType sets the TableType field's value.
40413func (s *TableInput) SetTableType(v string) *TableInput {
40414	s.TableType = &v
40415	return s
40416}
40417
40418// SetTargetTable sets the TargetTable field's value.
40419func (s *TableInput) SetTargetTable(v *TableIdentifier) *TableInput {
40420	s.TargetTable = v
40421	return s
40422}
40423
40424// SetViewExpandedText sets the ViewExpandedText field's value.
40425func (s *TableInput) SetViewExpandedText(v string) *TableInput {
40426	s.ViewExpandedText = &v
40427	return s
40428}
40429
40430// SetViewOriginalText sets the ViewOriginalText field's value.
40431func (s *TableInput) SetViewOriginalText(v string) *TableInput {
40432	s.ViewOriginalText = &v
40433	return s
40434}
40435
40436// Specifies a version of a table.
40437type TableVersion struct {
40438	_ struct{} `type:"structure"`
40439
40440	// The table in question.
40441	Table *TableData `type:"structure"`
40442
40443	// The ID value that identifies this table version. A VersionId is a string
40444	// representation of an integer. Each version is incremented by 1.
40445	VersionId *string `min:"1" type:"string"`
40446}
40447
40448// String returns the string representation
40449func (s TableVersion) String() string {
40450	return awsutil.Prettify(s)
40451}
40452
40453// GoString returns the string representation
40454func (s TableVersion) GoString() string {
40455	return s.String()
40456}
40457
40458// SetTable sets the Table field's value.
40459func (s *TableVersion) SetTable(v *TableData) *TableVersion {
40460	s.Table = v
40461	return s
40462}
40463
40464// SetVersionId sets the VersionId field's value.
40465func (s *TableVersion) SetVersionId(v string) *TableVersion {
40466	s.VersionId = &v
40467	return s
40468}
40469
40470// An error record for table-version operations.
40471type TableVersionError struct {
40472	_ struct{} `type:"structure"`
40473
40474	// The details about the error.
40475	ErrorDetail *ErrorDetail `type:"structure"`
40476
40477	// The name of the table in question.
40478	TableName *string `min:"1" type:"string"`
40479
40480	// The ID value of the version in question. A VersionID is a string representation
40481	// of an integer. Each version is incremented by 1.
40482	VersionId *string `min:"1" type:"string"`
40483}
40484
40485// String returns the string representation
40486func (s TableVersionError) String() string {
40487	return awsutil.Prettify(s)
40488}
40489
40490// GoString returns the string representation
40491func (s TableVersionError) GoString() string {
40492	return s.String()
40493}
40494
40495// SetErrorDetail sets the ErrorDetail field's value.
40496func (s *TableVersionError) SetErrorDetail(v *ErrorDetail) *TableVersionError {
40497	s.ErrorDetail = v
40498	return s
40499}
40500
40501// SetTableName sets the TableName field's value.
40502func (s *TableVersionError) SetTableName(v string) *TableVersionError {
40503	s.TableName = &v
40504	return s
40505}
40506
40507// SetVersionId sets the VersionId field's value.
40508func (s *TableVersionError) SetVersionId(v string) *TableVersionError {
40509	s.VersionId = &v
40510	return s
40511}
40512
40513type TagResourceInput struct {
40514	_ struct{} `type:"structure"`
40515
40516	// The ARN of the AWS Glue resource to which to add the tags. For more information
40517	// about AWS Glue resource ARNs, see the AWS 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).
40518	//
40519	// ResourceArn is a required field
40520	ResourceArn *string `min:"1" type:"string" required:"true"`
40521
40522	// Tags to add to this resource.
40523	//
40524	// TagsToAdd is a required field
40525	TagsToAdd map[string]*string `type:"map" required:"true"`
40526}
40527
40528// String returns the string representation
40529func (s TagResourceInput) String() string {
40530	return awsutil.Prettify(s)
40531}
40532
40533// GoString returns the string representation
40534func (s TagResourceInput) GoString() string {
40535	return s.String()
40536}
40537
40538// Validate inspects the fields of the type to determine if they are valid.
40539func (s *TagResourceInput) Validate() error {
40540	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
40541	if s.ResourceArn == nil {
40542		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
40543	}
40544	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
40545		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
40546	}
40547	if s.TagsToAdd == nil {
40548		invalidParams.Add(request.NewErrParamRequired("TagsToAdd"))
40549	}
40550
40551	if invalidParams.Len() > 0 {
40552		return invalidParams
40553	}
40554	return nil
40555}
40556
40557// SetResourceArn sets the ResourceArn field's value.
40558func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
40559	s.ResourceArn = &v
40560	return s
40561}
40562
40563// SetTagsToAdd sets the TagsToAdd field's value.
40564func (s *TagResourceInput) SetTagsToAdd(v map[string]*string) *TagResourceInput {
40565	s.TagsToAdd = v
40566	return s
40567}
40568
40569type TagResourceOutput struct {
40570	_ struct{} `type:"structure"`
40571}
40572
40573// String returns the string representation
40574func (s TagResourceOutput) String() string {
40575	return awsutil.Prettify(s)
40576}
40577
40578// GoString returns the string representation
40579func (s TagResourceOutput) GoString() string {
40580	return s.String()
40581}
40582
40583// The sampling parameters that are associated with the machine learning transform.
40584type TaskRun struct {
40585	_ struct{} `type:"structure"`
40586
40587	// The last point in time that the requested task run was completed.
40588	CompletedOn *time.Time `type:"timestamp"`
40589
40590	// The list of error strings associated with this task run.
40591	ErrorString *string `type:"string"`
40592
40593	// The amount of time (in seconds) that the task run consumed resources.
40594	ExecutionTime *int64 `type:"integer"`
40595
40596	// The last point in time that the requested task run was updated.
40597	LastModifiedOn *time.Time `type:"timestamp"`
40598
40599	// The names of the log group for secure logging, associated with this task
40600	// run.
40601	LogGroupName *string `type:"string"`
40602
40603	// Specifies configuration properties associated with this task run.
40604	Properties *TaskRunProperties `type:"structure"`
40605
40606	// The date and time that this task run started.
40607	StartedOn *time.Time `type:"timestamp"`
40608
40609	// The current status of the requested task run.
40610	Status *string `type:"string" enum:"TaskStatusType"`
40611
40612	// The unique identifier for this task run.
40613	TaskRunId *string `min:"1" type:"string"`
40614
40615	// The unique identifier for the transform.
40616	TransformId *string `min:"1" type:"string"`
40617}
40618
40619// String returns the string representation
40620func (s TaskRun) String() string {
40621	return awsutil.Prettify(s)
40622}
40623
40624// GoString returns the string representation
40625func (s TaskRun) GoString() string {
40626	return s.String()
40627}
40628
40629// SetCompletedOn sets the CompletedOn field's value.
40630func (s *TaskRun) SetCompletedOn(v time.Time) *TaskRun {
40631	s.CompletedOn = &v
40632	return s
40633}
40634
40635// SetErrorString sets the ErrorString field's value.
40636func (s *TaskRun) SetErrorString(v string) *TaskRun {
40637	s.ErrorString = &v
40638	return s
40639}
40640
40641// SetExecutionTime sets the ExecutionTime field's value.
40642func (s *TaskRun) SetExecutionTime(v int64) *TaskRun {
40643	s.ExecutionTime = &v
40644	return s
40645}
40646
40647// SetLastModifiedOn sets the LastModifiedOn field's value.
40648func (s *TaskRun) SetLastModifiedOn(v time.Time) *TaskRun {
40649	s.LastModifiedOn = &v
40650	return s
40651}
40652
40653// SetLogGroupName sets the LogGroupName field's value.
40654func (s *TaskRun) SetLogGroupName(v string) *TaskRun {
40655	s.LogGroupName = &v
40656	return s
40657}
40658
40659// SetProperties sets the Properties field's value.
40660func (s *TaskRun) SetProperties(v *TaskRunProperties) *TaskRun {
40661	s.Properties = v
40662	return s
40663}
40664
40665// SetStartedOn sets the StartedOn field's value.
40666func (s *TaskRun) SetStartedOn(v time.Time) *TaskRun {
40667	s.StartedOn = &v
40668	return s
40669}
40670
40671// SetStatus sets the Status field's value.
40672func (s *TaskRun) SetStatus(v string) *TaskRun {
40673	s.Status = &v
40674	return s
40675}
40676
40677// SetTaskRunId sets the TaskRunId field's value.
40678func (s *TaskRun) SetTaskRunId(v string) *TaskRun {
40679	s.TaskRunId = &v
40680	return s
40681}
40682
40683// SetTransformId sets the TransformId field's value.
40684func (s *TaskRun) SetTransformId(v string) *TaskRun {
40685	s.TransformId = &v
40686	return s
40687}
40688
40689// The criteria that are used to filter the task runs for the machine learning
40690// transform.
40691type TaskRunFilterCriteria struct {
40692	_ struct{} `type:"structure"`
40693
40694	// Filter on task runs started after this date.
40695	StartedAfter *time.Time `type:"timestamp"`
40696
40697	// Filter on task runs started before this date.
40698	StartedBefore *time.Time `type:"timestamp"`
40699
40700	// The current status of the task run.
40701	Status *string `type:"string" enum:"TaskStatusType"`
40702
40703	// The type of task run.
40704	TaskRunType *string `type:"string" enum:"TaskType"`
40705}
40706
40707// String returns the string representation
40708func (s TaskRunFilterCriteria) String() string {
40709	return awsutil.Prettify(s)
40710}
40711
40712// GoString returns the string representation
40713func (s TaskRunFilterCriteria) GoString() string {
40714	return s.String()
40715}
40716
40717// SetStartedAfter sets the StartedAfter field's value.
40718func (s *TaskRunFilterCriteria) SetStartedAfter(v time.Time) *TaskRunFilterCriteria {
40719	s.StartedAfter = &v
40720	return s
40721}
40722
40723// SetStartedBefore sets the StartedBefore field's value.
40724func (s *TaskRunFilterCriteria) SetStartedBefore(v time.Time) *TaskRunFilterCriteria {
40725	s.StartedBefore = &v
40726	return s
40727}
40728
40729// SetStatus sets the Status field's value.
40730func (s *TaskRunFilterCriteria) SetStatus(v string) *TaskRunFilterCriteria {
40731	s.Status = &v
40732	return s
40733}
40734
40735// SetTaskRunType sets the TaskRunType field's value.
40736func (s *TaskRunFilterCriteria) SetTaskRunType(v string) *TaskRunFilterCriteria {
40737	s.TaskRunType = &v
40738	return s
40739}
40740
40741// The configuration properties for the task run.
40742type TaskRunProperties struct {
40743	_ struct{} `type:"structure"`
40744
40745	// The configuration properties for an exporting labels task run.
40746	ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties `type:"structure"`
40747
40748	// The configuration properties for a find matches task run.
40749	FindMatchesTaskRunProperties *FindMatchesTaskRunProperties `type:"structure"`
40750
40751	// The configuration properties for an importing labels task run.
40752	ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties `type:"structure"`
40753
40754	// The configuration properties for a labeling set generation task run.
40755	LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties `type:"structure"`
40756
40757	// The type of task run.
40758	TaskType *string `type:"string" enum:"TaskType"`
40759}
40760
40761// String returns the string representation
40762func (s TaskRunProperties) String() string {
40763	return awsutil.Prettify(s)
40764}
40765
40766// GoString returns the string representation
40767func (s TaskRunProperties) GoString() string {
40768	return s.String()
40769}
40770
40771// SetExportLabelsTaskRunProperties sets the ExportLabelsTaskRunProperties field's value.
40772func (s *TaskRunProperties) SetExportLabelsTaskRunProperties(v *ExportLabelsTaskRunProperties) *TaskRunProperties {
40773	s.ExportLabelsTaskRunProperties = v
40774	return s
40775}
40776
40777// SetFindMatchesTaskRunProperties sets the FindMatchesTaskRunProperties field's value.
40778func (s *TaskRunProperties) SetFindMatchesTaskRunProperties(v *FindMatchesTaskRunProperties) *TaskRunProperties {
40779	s.FindMatchesTaskRunProperties = v
40780	return s
40781}
40782
40783// SetImportLabelsTaskRunProperties sets the ImportLabelsTaskRunProperties field's value.
40784func (s *TaskRunProperties) SetImportLabelsTaskRunProperties(v *ImportLabelsTaskRunProperties) *TaskRunProperties {
40785	s.ImportLabelsTaskRunProperties = v
40786	return s
40787}
40788
40789// SetLabelingSetGenerationTaskRunProperties sets the LabelingSetGenerationTaskRunProperties field's value.
40790func (s *TaskRunProperties) SetLabelingSetGenerationTaskRunProperties(v *LabelingSetGenerationTaskRunProperties) *TaskRunProperties {
40791	s.LabelingSetGenerationTaskRunProperties = v
40792	return s
40793}
40794
40795// SetTaskType sets the TaskType field's value.
40796func (s *TaskRunProperties) SetTaskType(v string) *TaskRunProperties {
40797	s.TaskType = &v
40798	return s
40799}
40800
40801// The sorting criteria that are used to sort the list of task runs for the
40802// machine learning transform.
40803type TaskRunSortCriteria struct {
40804	_ struct{} `type:"structure"`
40805
40806	// The column to be used to sort the list of task runs for the machine learning
40807	// transform.
40808	//
40809	// Column is a required field
40810	Column *string `type:"string" required:"true" enum:"TaskRunSortColumnType"`
40811
40812	// The sort direction to be used to sort the list of task runs for the machine
40813	// learning transform.
40814	//
40815	// SortDirection is a required field
40816	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
40817}
40818
40819// String returns the string representation
40820func (s TaskRunSortCriteria) String() string {
40821	return awsutil.Prettify(s)
40822}
40823
40824// GoString returns the string representation
40825func (s TaskRunSortCriteria) GoString() string {
40826	return s.String()
40827}
40828
40829// Validate inspects the fields of the type to determine if they are valid.
40830func (s *TaskRunSortCriteria) Validate() error {
40831	invalidParams := request.ErrInvalidParams{Context: "TaskRunSortCriteria"}
40832	if s.Column == nil {
40833		invalidParams.Add(request.NewErrParamRequired("Column"))
40834	}
40835	if s.SortDirection == nil {
40836		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
40837	}
40838
40839	if invalidParams.Len() > 0 {
40840		return invalidParams
40841	}
40842	return nil
40843}
40844
40845// SetColumn sets the Column field's value.
40846func (s *TaskRunSortCriteria) SetColumn(v string) *TaskRunSortCriteria {
40847	s.Column = &v
40848	return s
40849}
40850
40851// SetSortDirection sets the SortDirection field's value.
40852func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria {
40853	s.SortDirection = &v
40854	return s
40855}
40856
40857// The encryption-at-rest settings of the transform that apply to accessing
40858// user data. Machine learning transforms can access user data encrypted in
40859// Amazon S3 using KMS.
40860//
40861// Additionally, imported labels and trained transforms can now be encrypted
40862// using a customer provided KMS key.
40863type TransformEncryption struct {
40864	_ struct{} `type:"structure"`
40865
40866	// An MLUserDataEncryption object containing the encryption mode and customer-provided
40867	// KMS key ID.
40868	MlUserDataEncryption *MLUserDataEncryption `type:"structure"`
40869
40870	// The name of the security configuration.
40871	TaskRunSecurityConfigurationName *string `min:"1" type:"string"`
40872}
40873
40874// String returns the string representation
40875func (s TransformEncryption) String() string {
40876	return awsutil.Prettify(s)
40877}
40878
40879// GoString returns the string representation
40880func (s TransformEncryption) GoString() string {
40881	return s.String()
40882}
40883
40884// Validate inspects the fields of the type to determine if they are valid.
40885func (s *TransformEncryption) Validate() error {
40886	invalidParams := request.ErrInvalidParams{Context: "TransformEncryption"}
40887	if s.TaskRunSecurityConfigurationName != nil && len(*s.TaskRunSecurityConfigurationName) < 1 {
40888		invalidParams.Add(request.NewErrParamMinLen("TaskRunSecurityConfigurationName", 1))
40889	}
40890	if s.MlUserDataEncryption != nil {
40891		if err := s.MlUserDataEncryption.Validate(); err != nil {
40892			invalidParams.AddNested("MlUserDataEncryption", err.(request.ErrInvalidParams))
40893		}
40894	}
40895
40896	if invalidParams.Len() > 0 {
40897		return invalidParams
40898	}
40899	return nil
40900}
40901
40902// SetMlUserDataEncryption sets the MlUserDataEncryption field's value.
40903func (s *TransformEncryption) SetMlUserDataEncryption(v *MLUserDataEncryption) *TransformEncryption {
40904	s.MlUserDataEncryption = v
40905	return s
40906}
40907
40908// SetTaskRunSecurityConfigurationName sets the TaskRunSecurityConfigurationName field's value.
40909func (s *TransformEncryption) SetTaskRunSecurityConfigurationName(v string) *TransformEncryption {
40910	s.TaskRunSecurityConfigurationName = &v
40911	return s
40912}
40913
40914// The criteria used to filter the machine learning transforms.
40915type TransformFilterCriteria struct {
40916	_ struct{} `type:"structure"`
40917
40918	// The time and date after which the transforms were created.
40919	CreatedAfter *time.Time `type:"timestamp"`
40920
40921	// The time and date before which the transforms were created.
40922	CreatedBefore *time.Time `type:"timestamp"`
40923
40924	// This value determines which version of AWS Glue this machine learning transform
40925	// is compatible with. Glue 1.0 is recommended for most customers. If the value
40926	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
40927	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
40928	// in the developer guide.
40929	GlueVersion *string `min:"1" type:"string"`
40930
40931	// Filter on transforms last modified after this date.
40932	LastModifiedAfter *time.Time `type:"timestamp"`
40933
40934	// Filter on transforms last modified before this date.
40935	LastModifiedBefore *time.Time `type:"timestamp"`
40936
40937	// A unique transform name that is used to filter the machine learning transforms.
40938	Name *string `min:"1" type:"string"`
40939
40940	// Filters on datasets with a specific schema. The Map<Column, Type> object
40941	// is an array of key-value pairs representing the schema this transform accepts,
40942	// where Column is the name of a column, and Type is the type of the data such
40943	// as an integer or string. Has an upper bound of 100 columns.
40944	Schema []*SchemaColumn `type:"list"`
40945
40946	// Filters the list of machine learning transforms by the last known status
40947	// of the transforms (to indicate whether a transform can be used or not). One
40948	// of "NOT_READY", "READY", or "DELETING".
40949	Status *string `type:"string" enum:"TransformStatusType"`
40950
40951	// The type of machine learning transform that is used to filter the machine
40952	// learning transforms.
40953	TransformType *string `type:"string" enum:"TransformType"`
40954}
40955
40956// String returns the string representation
40957func (s TransformFilterCriteria) String() string {
40958	return awsutil.Prettify(s)
40959}
40960
40961// GoString returns the string representation
40962func (s TransformFilterCriteria) GoString() string {
40963	return s.String()
40964}
40965
40966// Validate inspects the fields of the type to determine if they are valid.
40967func (s *TransformFilterCriteria) Validate() error {
40968	invalidParams := request.ErrInvalidParams{Context: "TransformFilterCriteria"}
40969	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
40970		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
40971	}
40972	if s.Name != nil && len(*s.Name) < 1 {
40973		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
40974	}
40975	if s.Schema != nil {
40976		for i, v := range s.Schema {
40977			if v == nil {
40978				continue
40979			}
40980			if err := v.Validate(); err != nil {
40981				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams))
40982			}
40983		}
40984	}
40985
40986	if invalidParams.Len() > 0 {
40987		return invalidParams
40988	}
40989	return nil
40990}
40991
40992// SetCreatedAfter sets the CreatedAfter field's value.
40993func (s *TransformFilterCriteria) SetCreatedAfter(v time.Time) *TransformFilterCriteria {
40994	s.CreatedAfter = &v
40995	return s
40996}
40997
40998// SetCreatedBefore sets the CreatedBefore field's value.
40999func (s *TransformFilterCriteria) SetCreatedBefore(v time.Time) *TransformFilterCriteria {
41000	s.CreatedBefore = &v
41001	return s
41002}
41003
41004// SetGlueVersion sets the GlueVersion field's value.
41005func (s *TransformFilterCriteria) SetGlueVersion(v string) *TransformFilterCriteria {
41006	s.GlueVersion = &v
41007	return s
41008}
41009
41010// SetLastModifiedAfter sets the LastModifiedAfter field's value.
41011func (s *TransformFilterCriteria) SetLastModifiedAfter(v time.Time) *TransformFilterCriteria {
41012	s.LastModifiedAfter = &v
41013	return s
41014}
41015
41016// SetLastModifiedBefore sets the LastModifiedBefore field's value.
41017func (s *TransformFilterCriteria) SetLastModifiedBefore(v time.Time) *TransformFilterCriteria {
41018	s.LastModifiedBefore = &v
41019	return s
41020}
41021
41022// SetName sets the Name field's value.
41023func (s *TransformFilterCriteria) SetName(v string) *TransformFilterCriteria {
41024	s.Name = &v
41025	return s
41026}
41027
41028// SetSchema sets the Schema field's value.
41029func (s *TransformFilterCriteria) SetSchema(v []*SchemaColumn) *TransformFilterCriteria {
41030	s.Schema = v
41031	return s
41032}
41033
41034// SetStatus sets the Status field's value.
41035func (s *TransformFilterCriteria) SetStatus(v string) *TransformFilterCriteria {
41036	s.Status = &v
41037	return s
41038}
41039
41040// SetTransformType sets the TransformType field's value.
41041func (s *TransformFilterCriteria) SetTransformType(v string) *TransformFilterCriteria {
41042	s.TransformType = &v
41043	return s
41044}
41045
41046// The algorithm-specific parameters that are associated with the machine learning
41047// transform.
41048type TransformParameters struct {
41049	_ struct{} `type:"structure"`
41050
41051	// The parameters for the find matches algorithm.
41052	FindMatchesParameters *FindMatchesParameters `type:"structure"`
41053
41054	// The type of machine learning transform.
41055	//
41056	// For information about the types of machine learning transforms, see Creating
41057	// Machine Learning Transforms (https://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html).
41058	//
41059	// TransformType is a required field
41060	TransformType *string `type:"string" required:"true" enum:"TransformType"`
41061}
41062
41063// String returns the string representation
41064func (s TransformParameters) String() string {
41065	return awsutil.Prettify(s)
41066}
41067
41068// GoString returns the string representation
41069func (s TransformParameters) GoString() string {
41070	return s.String()
41071}
41072
41073// Validate inspects the fields of the type to determine if they are valid.
41074func (s *TransformParameters) Validate() error {
41075	invalidParams := request.ErrInvalidParams{Context: "TransformParameters"}
41076	if s.TransformType == nil {
41077		invalidParams.Add(request.NewErrParamRequired("TransformType"))
41078	}
41079	if s.FindMatchesParameters != nil {
41080		if err := s.FindMatchesParameters.Validate(); err != nil {
41081			invalidParams.AddNested("FindMatchesParameters", err.(request.ErrInvalidParams))
41082		}
41083	}
41084
41085	if invalidParams.Len() > 0 {
41086		return invalidParams
41087	}
41088	return nil
41089}
41090
41091// SetFindMatchesParameters sets the FindMatchesParameters field's value.
41092func (s *TransformParameters) SetFindMatchesParameters(v *FindMatchesParameters) *TransformParameters {
41093	s.FindMatchesParameters = v
41094	return s
41095}
41096
41097// SetTransformType sets the TransformType field's value.
41098func (s *TransformParameters) SetTransformType(v string) *TransformParameters {
41099	s.TransformType = &v
41100	return s
41101}
41102
41103// The sorting criteria that are associated with the machine learning transform.
41104type TransformSortCriteria struct {
41105	_ struct{} `type:"structure"`
41106
41107	// The column to be used in the sorting criteria that are associated with the
41108	// machine learning transform.
41109	//
41110	// Column is a required field
41111	Column *string `type:"string" required:"true" enum:"TransformSortColumnType"`
41112
41113	// The sort direction to be used in the sorting criteria that are associated
41114	// with the machine learning transform.
41115	//
41116	// SortDirection is a required field
41117	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
41118}
41119
41120// String returns the string representation
41121func (s TransformSortCriteria) String() string {
41122	return awsutil.Prettify(s)
41123}
41124
41125// GoString returns the string representation
41126func (s TransformSortCriteria) GoString() string {
41127	return s.String()
41128}
41129
41130// Validate inspects the fields of the type to determine if they are valid.
41131func (s *TransformSortCriteria) Validate() error {
41132	invalidParams := request.ErrInvalidParams{Context: "TransformSortCriteria"}
41133	if s.Column == nil {
41134		invalidParams.Add(request.NewErrParamRequired("Column"))
41135	}
41136	if s.SortDirection == nil {
41137		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
41138	}
41139
41140	if invalidParams.Len() > 0 {
41141		return invalidParams
41142	}
41143	return nil
41144}
41145
41146// SetColumn sets the Column field's value.
41147func (s *TransformSortCriteria) SetColumn(v string) *TransformSortCriteria {
41148	s.Column = &v
41149	return s
41150}
41151
41152// SetSortDirection sets the SortDirection field's value.
41153func (s *TransformSortCriteria) SetSortDirection(v string) *TransformSortCriteria {
41154	s.SortDirection = &v
41155	return s
41156}
41157
41158// Information about a specific trigger.
41159type Trigger struct {
41160	_ struct{} `type:"structure"`
41161
41162	// The actions initiated by this trigger.
41163	Actions []*Action `type:"list"`
41164
41165	// A description of this trigger.
41166	Description *string `type:"string"`
41167
41168	// Reserved for future use.
41169	Id *string `min:"1" type:"string"`
41170
41171	// The name of the trigger.
41172	Name *string `min:"1" type:"string"`
41173
41174	// The predicate of this trigger, which defines when it will fire.
41175	Predicate *Predicate `type:"structure"`
41176
41177	// A cron expression used to specify the schedule (see Time-Based Schedules
41178	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
41179	// For example, to run something every day at 12:15 UTC, you would specify:
41180	// cron(15 12 * * ? *).
41181	Schedule *string `type:"string"`
41182
41183	// The current state of the trigger.
41184	State *string `type:"string" enum:"TriggerState"`
41185
41186	// The type of trigger that this is.
41187	Type *string `type:"string" enum:"TriggerType"`
41188
41189	// The name of the workflow associated with the trigger.
41190	WorkflowName *string `min:"1" type:"string"`
41191}
41192
41193// String returns the string representation
41194func (s Trigger) String() string {
41195	return awsutil.Prettify(s)
41196}
41197
41198// GoString returns the string representation
41199func (s Trigger) GoString() string {
41200	return s.String()
41201}
41202
41203// SetActions sets the Actions field's value.
41204func (s *Trigger) SetActions(v []*Action) *Trigger {
41205	s.Actions = v
41206	return s
41207}
41208
41209// SetDescription sets the Description field's value.
41210func (s *Trigger) SetDescription(v string) *Trigger {
41211	s.Description = &v
41212	return s
41213}
41214
41215// SetId sets the Id field's value.
41216func (s *Trigger) SetId(v string) *Trigger {
41217	s.Id = &v
41218	return s
41219}
41220
41221// SetName sets the Name field's value.
41222func (s *Trigger) SetName(v string) *Trigger {
41223	s.Name = &v
41224	return s
41225}
41226
41227// SetPredicate sets the Predicate field's value.
41228func (s *Trigger) SetPredicate(v *Predicate) *Trigger {
41229	s.Predicate = v
41230	return s
41231}
41232
41233// SetSchedule sets the Schedule field's value.
41234func (s *Trigger) SetSchedule(v string) *Trigger {
41235	s.Schedule = &v
41236	return s
41237}
41238
41239// SetState sets the State field's value.
41240func (s *Trigger) SetState(v string) *Trigger {
41241	s.State = &v
41242	return s
41243}
41244
41245// SetType sets the Type field's value.
41246func (s *Trigger) SetType(v string) *Trigger {
41247	s.Type = &v
41248	return s
41249}
41250
41251// SetWorkflowName sets the WorkflowName field's value.
41252func (s *Trigger) SetWorkflowName(v string) *Trigger {
41253	s.WorkflowName = &v
41254	return s
41255}
41256
41257// The details of a Trigger node present in the workflow.
41258type TriggerNodeDetails struct {
41259	_ struct{} `type:"structure"`
41260
41261	// The information of the trigger represented by the trigger node.
41262	Trigger *Trigger `type:"structure"`
41263}
41264
41265// String returns the string representation
41266func (s TriggerNodeDetails) String() string {
41267	return awsutil.Prettify(s)
41268}
41269
41270// GoString returns the string representation
41271func (s TriggerNodeDetails) GoString() string {
41272	return s.String()
41273}
41274
41275// SetTrigger sets the Trigger field's value.
41276func (s *TriggerNodeDetails) SetTrigger(v *Trigger) *TriggerNodeDetails {
41277	s.Trigger = v
41278	return s
41279}
41280
41281// A structure used to provide information used to update a trigger. This object
41282// updates the previous trigger definition by overwriting it completely.
41283type TriggerUpdate struct {
41284	_ struct{} `type:"structure"`
41285
41286	// The actions initiated by this trigger.
41287	Actions []*Action `type:"list"`
41288
41289	// A description of this trigger.
41290	Description *string `type:"string"`
41291
41292	// Reserved for future use.
41293	Name *string `min:"1" type:"string"`
41294
41295	// The predicate of this trigger, which defines when it will fire.
41296	Predicate *Predicate `type:"structure"`
41297
41298	// A cron expression used to specify the schedule (see Time-Based Schedules
41299	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
41300	// For example, to run something every day at 12:15 UTC, you would specify:
41301	// cron(15 12 * * ? *).
41302	Schedule *string `type:"string"`
41303}
41304
41305// String returns the string representation
41306func (s TriggerUpdate) String() string {
41307	return awsutil.Prettify(s)
41308}
41309
41310// GoString returns the string representation
41311func (s TriggerUpdate) GoString() string {
41312	return s.String()
41313}
41314
41315// Validate inspects the fields of the type to determine if they are valid.
41316func (s *TriggerUpdate) Validate() error {
41317	invalidParams := request.ErrInvalidParams{Context: "TriggerUpdate"}
41318	if s.Name != nil && len(*s.Name) < 1 {
41319		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
41320	}
41321	if s.Actions != nil {
41322		for i, v := range s.Actions {
41323			if v == nil {
41324				continue
41325			}
41326			if err := v.Validate(); err != nil {
41327				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
41328			}
41329		}
41330	}
41331	if s.Predicate != nil {
41332		if err := s.Predicate.Validate(); err != nil {
41333			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
41334		}
41335	}
41336
41337	if invalidParams.Len() > 0 {
41338		return invalidParams
41339	}
41340	return nil
41341}
41342
41343// SetActions sets the Actions field's value.
41344func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate {
41345	s.Actions = v
41346	return s
41347}
41348
41349// SetDescription sets the Description field's value.
41350func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate {
41351	s.Description = &v
41352	return s
41353}
41354
41355// SetName sets the Name field's value.
41356func (s *TriggerUpdate) SetName(v string) *TriggerUpdate {
41357	s.Name = &v
41358	return s
41359}
41360
41361// SetPredicate sets the Predicate field's value.
41362func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate {
41363	s.Predicate = v
41364	return s
41365}
41366
41367// SetSchedule sets the Schedule field's value.
41368func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate {
41369	s.Schedule = &v
41370	return s
41371}
41372
41373type UntagResourceInput struct {
41374	_ struct{} `type:"structure"`
41375
41376	// The Amazon Resource Name (ARN) of the resource from which to remove the tags.
41377	//
41378	// ResourceArn is a required field
41379	ResourceArn *string `min:"1" type:"string" required:"true"`
41380
41381	// Tags to remove from this resource.
41382	//
41383	// TagsToRemove is a required field
41384	TagsToRemove []*string `type:"list" required:"true"`
41385}
41386
41387// String returns the string representation
41388func (s UntagResourceInput) String() string {
41389	return awsutil.Prettify(s)
41390}
41391
41392// GoString returns the string representation
41393func (s UntagResourceInput) GoString() string {
41394	return s.String()
41395}
41396
41397// Validate inspects the fields of the type to determine if they are valid.
41398func (s *UntagResourceInput) Validate() error {
41399	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
41400	if s.ResourceArn == nil {
41401		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
41402	}
41403	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
41404		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
41405	}
41406	if s.TagsToRemove == nil {
41407		invalidParams.Add(request.NewErrParamRequired("TagsToRemove"))
41408	}
41409
41410	if invalidParams.Len() > 0 {
41411		return invalidParams
41412	}
41413	return nil
41414}
41415
41416// SetResourceArn sets the ResourceArn field's value.
41417func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
41418	s.ResourceArn = &v
41419	return s
41420}
41421
41422// SetTagsToRemove sets the TagsToRemove field's value.
41423func (s *UntagResourceInput) SetTagsToRemove(v []*string) *UntagResourceInput {
41424	s.TagsToRemove = v
41425	return s
41426}
41427
41428type UntagResourceOutput struct {
41429	_ struct{} `type:"structure"`
41430}
41431
41432// String returns the string representation
41433func (s UntagResourceOutput) String() string {
41434	return awsutil.Prettify(s)
41435}
41436
41437// GoString returns the string representation
41438func (s UntagResourceOutput) GoString() string {
41439	return s.String()
41440}
41441
41442type UpdateClassifierInput struct {
41443	_ struct{} `type:"structure"`
41444
41445	// A CsvClassifier object with updated fields.
41446	CsvClassifier *UpdateCsvClassifierRequest `type:"structure"`
41447
41448	// A GrokClassifier object with updated fields.
41449	GrokClassifier *UpdateGrokClassifierRequest `type:"structure"`
41450
41451	// A JsonClassifier object with updated fields.
41452	JsonClassifier *UpdateJsonClassifierRequest `type:"structure"`
41453
41454	// An XMLClassifier object with updated fields.
41455	XMLClassifier *UpdateXMLClassifierRequest `type:"structure"`
41456}
41457
41458// String returns the string representation
41459func (s UpdateClassifierInput) String() string {
41460	return awsutil.Prettify(s)
41461}
41462
41463// GoString returns the string representation
41464func (s UpdateClassifierInput) GoString() string {
41465	return s.String()
41466}
41467
41468// Validate inspects the fields of the type to determine if they are valid.
41469func (s *UpdateClassifierInput) Validate() error {
41470	invalidParams := request.ErrInvalidParams{Context: "UpdateClassifierInput"}
41471	if s.CsvClassifier != nil {
41472		if err := s.CsvClassifier.Validate(); err != nil {
41473			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
41474		}
41475	}
41476	if s.GrokClassifier != nil {
41477		if err := s.GrokClassifier.Validate(); err != nil {
41478			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
41479		}
41480	}
41481	if s.JsonClassifier != nil {
41482		if err := s.JsonClassifier.Validate(); err != nil {
41483			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
41484		}
41485	}
41486	if s.XMLClassifier != nil {
41487		if err := s.XMLClassifier.Validate(); err != nil {
41488			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
41489		}
41490	}
41491
41492	if invalidParams.Len() > 0 {
41493		return invalidParams
41494	}
41495	return nil
41496}
41497
41498// SetCsvClassifier sets the CsvClassifier field's value.
41499func (s *UpdateClassifierInput) SetCsvClassifier(v *UpdateCsvClassifierRequest) *UpdateClassifierInput {
41500	s.CsvClassifier = v
41501	return s
41502}
41503
41504// SetGrokClassifier sets the GrokClassifier field's value.
41505func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput {
41506	s.GrokClassifier = v
41507	return s
41508}
41509
41510// SetJsonClassifier sets the JsonClassifier field's value.
41511func (s *UpdateClassifierInput) SetJsonClassifier(v *UpdateJsonClassifierRequest) *UpdateClassifierInput {
41512	s.JsonClassifier = v
41513	return s
41514}
41515
41516// SetXMLClassifier sets the XMLClassifier field's value.
41517func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput {
41518	s.XMLClassifier = v
41519	return s
41520}
41521
41522type UpdateClassifierOutput struct {
41523	_ struct{} `type:"structure"`
41524}
41525
41526// String returns the string representation
41527func (s UpdateClassifierOutput) String() string {
41528	return awsutil.Prettify(s)
41529}
41530
41531// GoString returns the string representation
41532func (s UpdateClassifierOutput) GoString() string {
41533	return s.String()
41534}
41535
41536type UpdateColumnStatisticsForPartitionInput struct {
41537	_ struct{} `type:"structure"`
41538
41539	// The ID of the Data Catalog where the partitions in question reside. If none
41540	// is supplied, the AWS account ID is used by default.
41541	CatalogId *string `min:"1" type:"string"`
41542
41543	// A list of the column statistics.
41544	//
41545	// ColumnStatisticsList is a required field
41546	ColumnStatisticsList []*ColumnStatistics `type:"list" required:"true"`
41547
41548	// The name of the catalog database where the partitions reside.
41549	//
41550	// DatabaseName is a required field
41551	DatabaseName *string `min:"1" type:"string" required:"true"`
41552
41553	// A list of partition values identifying the partition.
41554	//
41555	// PartitionValues is a required field
41556	PartitionValues []*string `type:"list" required:"true"`
41557
41558	// The name of the partitions' table.
41559	//
41560	// TableName is a required field
41561	TableName *string `min:"1" type:"string" required:"true"`
41562}
41563
41564// String returns the string representation
41565func (s UpdateColumnStatisticsForPartitionInput) String() string {
41566	return awsutil.Prettify(s)
41567}
41568
41569// GoString returns the string representation
41570func (s UpdateColumnStatisticsForPartitionInput) GoString() string {
41571	return s.String()
41572}
41573
41574// Validate inspects the fields of the type to determine if they are valid.
41575func (s *UpdateColumnStatisticsForPartitionInput) Validate() error {
41576	invalidParams := request.ErrInvalidParams{Context: "UpdateColumnStatisticsForPartitionInput"}
41577	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
41578		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
41579	}
41580	if s.ColumnStatisticsList == nil {
41581		invalidParams.Add(request.NewErrParamRequired("ColumnStatisticsList"))
41582	}
41583	if s.DatabaseName == nil {
41584		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
41585	}
41586	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
41587		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
41588	}
41589	if s.PartitionValues == nil {
41590		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
41591	}
41592	if s.TableName == nil {
41593		invalidParams.Add(request.NewErrParamRequired("TableName"))
41594	}
41595	if s.TableName != nil && len(*s.TableName) < 1 {
41596		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
41597	}
41598	if s.ColumnStatisticsList != nil {
41599		for i, v := range s.ColumnStatisticsList {
41600			if v == nil {
41601				continue
41602			}
41603			if err := v.Validate(); err != nil {
41604				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnStatisticsList", i), err.(request.ErrInvalidParams))
41605			}
41606		}
41607	}
41608
41609	if invalidParams.Len() > 0 {
41610		return invalidParams
41611	}
41612	return nil
41613}
41614
41615// SetCatalogId sets the CatalogId field's value.
41616func (s *UpdateColumnStatisticsForPartitionInput) SetCatalogId(v string) *UpdateColumnStatisticsForPartitionInput {
41617	s.CatalogId = &v
41618	return s
41619}
41620
41621// SetColumnStatisticsList sets the ColumnStatisticsList field's value.
41622func (s *UpdateColumnStatisticsForPartitionInput) SetColumnStatisticsList(v []*ColumnStatistics) *UpdateColumnStatisticsForPartitionInput {
41623	s.ColumnStatisticsList = v
41624	return s
41625}
41626
41627// SetDatabaseName sets the DatabaseName field's value.
41628func (s *UpdateColumnStatisticsForPartitionInput) SetDatabaseName(v string) *UpdateColumnStatisticsForPartitionInput {
41629	s.DatabaseName = &v
41630	return s
41631}
41632
41633// SetPartitionValues sets the PartitionValues field's value.
41634func (s *UpdateColumnStatisticsForPartitionInput) SetPartitionValues(v []*string) *UpdateColumnStatisticsForPartitionInput {
41635	s.PartitionValues = v
41636	return s
41637}
41638
41639// SetTableName sets the TableName field's value.
41640func (s *UpdateColumnStatisticsForPartitionInput) SetTableName(v string) *UpdateColumnStatisticsForPartitionInput {
41641	s.TableName = &v
41642	return s
41643}
41644
41645type UpdateColumnStatisticsForPartitionOutput struct {
41646	_ struct{} `type:"structure"`
41647
41648	// Error occurred during updating column statistics data.
41649	Errors []*ColumnStatisticsError `type:"list"`
41650}
41651
41652// String returns the string representation
41653func (s UpdateColumnStatisticsForPartitionOutput) String() string {
41654	return awsutil.Prettify(s)
41655}
41656
41657// GoString returns the string representation
41658func (s UpdateColumnStatisticsForPartitionOutput) GoString() string {
41659	return s.String()
41660}
41661
41662// SetErrors sets the Errors field's value.
41663func (s *UpdateColumnStatisticsForPartitionOutput) SetErrors(v []*ColumnStatisticsError) *UpdateColumnStatisticsForPartitionOutput {
41664	s.Errors = v
41665	return s
41666}
41667
41668type UpdateColumnStatisticsForTableInput struct {
41669	_ struct{} `type:"structure"`
41670
41671	// The ID of the Data Catalog where the partitions in question reside. If none
41672	// is supplied, the AWS account ID is used by default.
41673	CatalogId *string `min:"1" type:"string"`
41674
41675	// A list of the column statistics.
41676	//
41677	// ColumnStatisticsList is a required field
41678	ColumnStatisticsList []*ColumnStatistics `type:"list" required:"true"`
41679
41680	// The name of the catalog database where the partitions reside.
41681	//
41682	// DatabaseName is a required field
41683	DatabaseName *string `min:"1" type:"string" required:"true"`
41684
41685	// The name of the partitions' table.
41686	//
41687	// TableName is a required field
41688	TableName *string `min:"1" type:"string" required:"true"`
41689}
41690
41691// String returns the string representation
41692func (s UpdateColumnStatisticsForTableInput) String() string {
41693	return awsutil.Prettify(s)
41694}
41695
41696// GoString returns the string representation
41697func (s UpdateColumnStatisticsForTableInput) GoString() string {
41698	return s.String()
41699}
41700
41701// Validate inspects the fields of the type to determine if they are valid.
41702func (s *UpdateColumnStatisticsForTableInput) Validate() error {
41703	invalidParams := request.ErrInvalidParams{Context: "UpdateColumnStatisticsForTableInput"}
41704	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
41705		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
41706	}
41707	if s.ColumnStatisticsList == nil {
41708		invalidParams.Add(request.NewErrParamRequired("ColumnStatisticsList"))
41709	}
41710	if s.DatabaseName == nil {
41711		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
41712	}
41713	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
41714		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
41715	}
41716	if s.TableName == nil {
41717		invalidParams.Add(request.NewErrParamRequired("TableName"))
41718	}
41719	if s.TableName != nil && len(*s.TableName) < 1 {
41720		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
41721	}
41722	if s.ColumnStatisticsList != nil {
41723		for i, v := range s.ColumnStatisticsList {
41724			if v == nil {
41725				continue
41726			}
41727			if err := v.Validate(); err != nil {
41728				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnStatisticsList", i), err.(request.ErrInvalidParams))
41729			}
41730		}
41731	}
41732
41733	if invalidParams.Len() > 0 {
41734		return invalidParams
41735	}
41736	return nil
41737}
41738
41739// SetCatalogId sets the CatalogId field's value.
41740func (s *UpdateColumnStatisticsForTableInput) SetCatalogId(v string) *UpdateColumnStatisticsForTableInput {
41741	s.CatalogId = &v
41742	return s
41743}
41744
41745// SetColumnStatisticsList sets the ColumnStatisticsList field's value.
41746func (s *UpdateColumnStatisticsForTableInput) SetColumnStatisticsList(v []*ColumnStatistics) *UpdateColumnStatisticsForTableInput {
41747	s.ColumnStatisticsList = v
41748	return s
41749}
41750
41751// SetDatabaseName sets the DatabaseName field's value.
41752func (s *UpdateColumnStatisticsForTableInput) SetDatabaseName(v string) *UpdateColumnStatisticsForTableInput {
41753	s.DatabaseName = &v
41754	return s
41755}
41756
41757// SetTableName sets the TableName field's value.
41758func (s *UpdateColumnStatisticsForTableInput) SetTableName(v string) *UpdateColumnStatisticsForTableInput {
41759	s.TableName = &v
41760	return s
41761}
41762
41763type UpdateColumnStatisticsForTableOutput struct {
41764	_ struct{} `type:"structure"`
41765
41766	// List of ColumnStatisticsErrors.
41767	Errors []*ColumnStatisticsError `type:"list"`
41768}
41769
41770// String returns the string representation
41771func (s UpdateColumnStatisticsForTableOutput) String() string {
41772	return awsutil.Prettify(s)
41773}
41774
41775// GoString returns the string representation
41776func (s UpdateColumnStatisticsForTableOutput) GoString() string {
41777	return s.String()
41778}
41779
41780// SetErrors sets the Errors field's value.
41781func (s *UpdateColumnStatisticsForTableOutput) SetErrors(v []*ColumnStatisticsError) *UpdateColumnStatisticsForTableOutput {
41782	s.Errors = v
41783	return s
41784}
41785
41786type UpdateConnectionInput struct {
41787	_ struct{} `type:"structure"`
41788
41789	// The ID of the Data Catalog in which the connection resides. If none is provided,
41790	// the AWS account ID is used by default.
41791	CatalogId *string `min:"1" type:"string"`
41792
41793	// A ConnectionInput object that redefines the connection in question.
41794	//
41795	// ConnectionInput is a required field
41796	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
41797
41798	// The name of the connection definition to update.
41799	//
41800	// Name is a required field
41801	Name *string `min:"1" type:"string" required:"true"`
41802}
41803
41804// String returns the string representation
41805func (s UpdateConnectionInput) String() string {
41806	return awsutil.Prettify(s)
41807}
41808
41809// GoString returns the string representation
41810func (s UpdateConnectionInput) GoString() string {
41811	return s.String()
41812}
41813
41814// Validate inspects the fields of the type to determine if they are valid.
41815func (s *UpdateConnectionInput) Validate() error {
41816	invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"}
41817	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
41818		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
41819	}
41820	if s.ConnectionInput == nil {
41821		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
41822	}
41823	if s.Name == nil {
41824		invalidParams.Add(request.NewErrParamRequired("Name"))
41825	}
41826	if s.Name != nil && len(*s.Name) < 1 {
41827		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
41828	}
41829	if s.ConnectionInput != nil {
41830		if err := s.ConnectionInput.Validate(); err != nil {
41831			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
41832		}
41833	}
41834
41835	if invalidParams.Len() > 0 {
41836		return invalidParams
41837	}
41838	return nil
41839}
41840
41841// SetCatalogId sets the CatalogId field's value.
41842func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput {
41843	s.CatalogId = &v
41844	return s
41845}
41846
41847// SetConnectionInput sets the ConnectionInput field's value.
41848func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput {
41849	s.ConnectionInput = v
41850	return s
41851}
41852
41853// SetName sets the Name field's value.
41854func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput {
41855	s.Name = &v
41856	return s
41857}
41858
41859type UpdateConnectionOutput struct {
41860	_ struct{} `type:"structure"`
41861}
41862
41863// String returns the string representation
41864func (s UpdateConnectionOutput) String() string {
41865	return awsutil.Prettify(s)
41866}
41867
41868// GoString returns the string representation
41869func (s UpdateConnectionOutput) GoString() string {
41870	return s.String()
41871}
41872
41873type UpdateCrawlerInput struct {
41874	_ struct{} `type:"structure"`
41875
41876	// A list of custom classifiers that the user has registered. By default, all
41877	// built-in classifiers are included in a crawl, but these custom classifiers
41878	// always override the default classifiers for a given classification.
41879	Classifiers []*string `type:"list"`
41880
41881	// Crawler configuration information. This versioned JSON string allows users
41882	// to specify aspects of a crawler's behavior. For more information, see Configuring
41883	// a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
41884	Configuration *string `type:"string"`
41885
41886	// The name of the SecurityConfiguration structure to be used by this crawler.
41887	CrawlerSecurityConfiguration *string `type:"string"`
41888
41889	// The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
41890	DatabaseName *string `type:"string"`
41891
41892	// A description of the new crawler.
41893	Description *string `type:"string"`
41894
41895	// Specifies data lineage configuration settings for the crawler.
41896	LineageConfiguration *LineageConfiguration `type:"structure"`
41897
41898	// Name of the new crawler.
41899	//
41900	// Name is a required field
41901	Name *string `min:"1" type:"string" required:"true"`
41902
41903	// A policy that specifies whether to crawl the entire dataset again, or to
41904	// crawl only folders that were added since the last crawler run.
41905	RecrawlPolicy *RecrawlPolicy `type:"structure"`
41906
41907	// The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by
41908	// the new crawler to access customer resources.
41909	Role *string `type:"string"`
41910
41911	// A cron expression used to specify the schedule (see Time-Based Schedules
41912	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
41913	// For example, to run something every day at 12:15 UTC, you would specify:
41914	// cron(15 12 * * ? *).
41915	Schedule *string `type:"string"`
41916
41917	// The policy for the crawler's update and deletion behavior.
41918	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
41919
41920	// The table prefix used for catalog tables that are created.
41921	TablePrefix *string `type:"string"`
41922
41923	// A list of targets to crawl.
41924	Targets *CrawlerTargets `type:"structure"`
41925}
41926
41927// String returns the string representation
41928func (s UpdateCrawlerInput) String() string {
41929	return awsutil.Prettify(s)
41930}
41931
41932// GoString returns the string representation
41933func (s UpdateCrawlerInput) GoString() string {
41934	return s.String()
41935}
41936
41937// Validate inspects the fields of the type to determine if they are valid.
41938func (s *UpdateCrawlerInput) Validate() error {
41939	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerInput"}
41940	if s.Name == nil {
41941		invalidParams.Add(request.NewErrParamRequired("Name"))
41942	}
41943	if s.Name != nil && len(*s.Name) < 1 {
41944		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
41945	}
41946	if s.Targets != nil {
41947		if err := s.Targets.Validate(); err != nil {
41948			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
41949		}
41950	}
41951
41952	if invalidParams.Len() > 0 {
41953		return invalidParams
41954	}
41955	return nil
41956}
41957
41958// SetClassifiers sets the Classifiers field's value.
41959func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput {
41960	s.Classifiers = v
41961	return s
41962}
41963
41964// SetConfiguration sets the Configuration field's value.
41965func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput {
41966	s.Configuration = &v
41967	return s
41968}
41969
41970// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
41971func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput {
41972	s.CrawlerSecurityConfiguration = &v
41973	return s
41974}
41975
41976// SetDatabaseName sets the DatabaseName field's value.
41977func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput {
41978	s.DatabaseName = &v
41979	return s
41980}
41981
41982// SetDescription sets the Description field's value.
41983func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput {
41984	s.Description = &v
41985	return s
41986}
41987
41988// SetLineageConfiguration sets the LineageConfiguration field's value.
41989func (s *UpdateCrawlerInput) SetLineageConfiguration(v *LineageConfiguration) *UpdateCrawlerInput {
41990	s.LineageConfiguration = v
41991	return s
41992}
41993
41994// SetName sets the Name field's value.
41995func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput {
41996	s.Name = &v
41997	return s
41998}
41999
42000// SetRecrawlPolicy sets the RecrawlPolicy field's value.
42001func (s *UpdateCrawlerInput) SetRecrawlPolicy(v *RecrawlPolicy) *UpdateCrawlerInput {
42002	s.RecrawlPolicy = v
42003	return s
42004}
42005
42006// SetRole sets the Role field's value.
42007func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput {
42008	s.Role = &v
42009	return s
42010}
42011
42012// SetSchedule sets the Schedule field's value.
42013func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput {
42014	s.Schedule = &v
42015	return s
42016}
42017
42018// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
42019func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput {
42020	s.SchemaChangePolicy = v
42021	return s
42022}
42023
42024// SetTablePrefix sets the TablePrefix field's value.
42025func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput {
42026	s.TablePrefix = &v
42027	return s
42028}
42029
42030// SetTargets sets the Targets field's value.
42031func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput {
42032	s.Targets = v
42033	return s
42034}
42035
42036type UpdateCrawlerOutput struct {
42037	_ struct{} `type:"structure"`
42038}
42039
42040// String returns the string representation
42041func (s UpdateCrawlerOutput) String() string {
42042	return awsutil.Prettify(s)
42043}
42044
42045// GoString returns the string representation
42046func (s UpdateCrawlerOutput) GoString() string {
42047	return s.String()
42048}
42049
42050type UpdateCrawlerScheduleInput struct {
42051	_ struct{} `type:"structure"`
42052
42053	// The name of the crawler whose schedule to update.
42054	//
42055	// CrawlerName is a required field
42056	CrawlerName *string `min:"1" type:"string" required:"true"`
42057
42058	// The updated cron expression used to specify the schedule (see Time-Based
42059	// Schedules for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
42060	// For example, to run something every day at 12:15 UTC, you would specify:
42061	// cron(15 12 * * ? *).
42062	Schedule *string `type:"string"`
42063}
42064
42065// String returns the string representation
42066func (s UpdateCrawlerScheduleInput) String() string {
42067	return awsutil.Prettify(s)
42068}
42069
42070// GoString returns the string representation
42071func (s UpdateCrawlerScheduleInput) GoString() string {
42072	return s.String()
42073}
42074
42075// Validate inspects the fields of the type to determine if they are valid.
42076func (s *UpdateCrawlerScheduleInput) Validate() error {
42077	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerScheduleInput"}
42078	if s.CrawlerName == nil {
42079		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
42080	}
42081	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
42082		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
42083	}
42084
42085	if invalidParams.Len() > 0 {
42086		return invalidParams
42087	}
42088	return nil
42089}
42090
42091// SetCrawlerName sets the CrawlerName field's value.
42092func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput {
42093	s.CrawlerName = &v
42094	return s
42095}
42096
42097// SetSchedule sets the Schedule field's value.
42098func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput {
42099	s.Schedule = &v
42100	return s
42101}
42102
42103type UpdateCrawlerScheduleOutput struct {
42104	_ struct{} `type:"structure"`
42105}
42106
42107// String returns the string representation
42108func (s UpdateCrawlerScheduleOutput) String() string {
42109	return awsutil.Prettify(s)
42110}
42111
42112// GoString returns the string representation
42113func (s UpdateCrawlerScheduleOutput) GoString() string {
42114	return s.String()
42115}
42116
42117// Specifies a custom CSV classifier to be updated.
42118type UpdateCsvClassifierRequest struct {
42119	_ struct{} `type:"structure"`
42120
42121	// Enables the processing of files that contain only one column.
42122	AllowSingleColumn *bool `type:"boolean"`
42123
42124	// Indicates whether the CSV file contains a header.
42125	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
42126
42127	// A custom symbol to denote what separates each column entry in the row.
42128	Delimiter *string `min:"1" type:"string"`
42129
42130	// Specifies not to trim values before identifying the type of column values.
42131	// The default value is true.
42132	DisableValueTrimming *bool `type:"boolean"`
42133
42134	// A list of strings representing column names.
42135	Header []*string `type:"list"`
42136
42137	// The name of the classifier.
42138	//
42139	// Name is a required field
42140	Name *string `min:"1" type:"string" required:"true"`
42141
42142	// A custom symbol to denote what combines content into a single column value.
42143	// It must be different from the column delimiter.
42144	QuoteSymbol *string `min:"1" type:"string"`
42145}
42146
42147// String returns the string representation
42148func (s UpdateCsvClassifierRequest) String() string {
42149	return awsutil.Prettify(s)
42150}
42151
42152// GoString returns the string representation
42153func (s UpdateCsvClassifierRequest) GoString() string {
42154	return s.String()
42155}
42156
42157// Validate inspects the fields of the type to determine if they are valid.
42158func (s *UpdateCsvClassifierRequest) Validate() error {
42159	invalidParams := request.ErrInvalidParams{Context: "UpdateCsvClassifierRequest"}
42160	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
42161		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
42162	}
42163	if s.Name == nil {
42164		invalidParams.Add(request.NewErrParamRequired("Name"))
42165	}
42166	if s.Name != nil && len(*s.Name) < 1 {
42167		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
42168	}
42169	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
42170		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
42171	}
42172
42173	if invalidParams.Len() > 0 {
42174		return invalidParams
42175	}
42176	return nil
42177}
42178
42179// SetAllowSingleColumn sets the AllowSingleColumn field's value.
42180func (s *UpdateCsvClassifierRequest) SetAllowSingleColumn(v bool) *UpdateCsvClassifierRequest {
42181	s.AllowSingleColumn = &v
42182	return s
42183}
42184
42185// SetContainsHeader sets the ContainsHeader field's value.
42186func (s *UpdateCsvClassifierRequest) SetContainsHeader(v string) *UpdateCsvClassifierRequest {
42187	s.ContainsHeader = &v
42188	return s
42189}
42190
42191// SetDelimiter sets the Delimiter field's value.
42192func (s *UpdateCsvClassifierRequest) SetDelimiter(v string) *UpdateCsvClassifierRequest {
42193	s.Delimiter = &v
42194	return s
42195}
42196
42197// SetDisableValueTrimming sets the DisableValueTrimming field's value.
42198func (s *UpdateCsvClassifierRequest) SetDisableValueTrimming(v bool) *UpdateCsvClassifierRequest {
42199	s.DisableValueTrimming = &v
42200	return s
42201}
42202
42203// SetHeader sets the Header field's value.
42204func (s *UpdateCsvClassifierRequest) SetHeader(v []*string) *UpdateCsvClassifierRequest {
42205	s.Header = v
42206	return s
42207}
42208
42209// SetName sets the Name field's value.
42210func (s *UpdateCsvClassifierRequest) SetName(v string) *UpdateCsvClassifierRequest {
42211	s.Name = &v
42212	return s
42213}
42214
42215// SetQuoteSymbol sets the QuoteSymbol field's value.
42216func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest {
42217	s.QuoteSymbol = &v
42218	return s
42219}
42220
42221type UpdateDatabaseInput struct {
42222	_ struct{} `type:"structure"`
42223
42224	// The ID of the Data Catalog in which the metadata database resides. If none
42225	// is provided, the AWS account ID is used by default.
42226	CatalogId *string `min:"1" type:"string"`
42227
42228	// A DatabaseInput object specifying the new definition of the metadata database
42229	// in the catalog.
42230	//
42231	// DatabaseInput is a required field
42232	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
42233
42234	// The name of the database to update in the catalog. For Hive compatibility,
42235	// this is folded to lowercase.
42236	//
42237	// Name is a required field
42238	Name *string `min:"1" type:"string" required:"true"`
42239}
42240
42241// String returns the string representation
42242func (s UpdateDatabaseInput) String() string {
42243	return awsutil.Prettify(s)
42244}
42245
42246// GoString returns the string representation
42247func (s UpdateDatabaseInput) GoString() string {
42248	return s.String()
42249}
42250
42251// Validate inspects the fields of the type to determine if they are valid.
42252func (s *UpdateDatabaseInput) Validate() error {
42253	invalidParams := request.ErrInvalidParams{Context: "UpdateDatabaseInput"}
42254	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
42255		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
42256	}
42257	if s.DatabaseInput == nil {
42258		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
42259	}
42260	if s.Name == nil {
42261		invalidParams.Add(request.NewErrParamRequired("Name"))
42262	}
42263	if s.Name != nil && len(*s.Name) < 1 {
42264		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
42265	}
42266	if s.DatabaseInput != nil {
42267		if err := s.DatabaseInput.Validate(); err != nil {
42268			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
42269		}
42270	}
42271
42272	if invalidParams.Len() > 0 {
42273		return invalidParams
42274	}
42275	return nil
42276}
42277
42278// SetCatalogId sets the CatalogId field's value.
42279func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput {
42280	s.CatalogId = &v
42281	return s
42282}
42283
42284// SetDatabaseInput sets the DatabaseInput field's value.
42285func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput {
42286	s.DatabaseInput = v
42287	return s
42288}
42289
42290// SetName sets the Name field's value.
42291func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput {
42292	s.Name = &v
42293	return s
42294}
42295
42296type UpdateDatabaseOutput struct {
42297	_ struct{} `type:"structure"`
42298}
42299
42300// String returns the string representation
42301func (s UpdateDatabaseOutput) String() string {
42302	return awsutil.Prettify(s)
42303}
42304
42305// GoString returns the string representation
42306func (s UpdateDatabaseOutput) GoString() string {
42307	return s.String()
42308}
42309
42310type UpdateDevEndpointInput struct {
42311	_ struct{} `type:"structure"`
42312
42313	// The map of arguments to add the map of arguments used to configure the DevEndpoint.
42314	//
42315	// Valid arguments are:
42316	//
42317	//    * "--enable-glue-datacatalog": ""
42318	//
42319	//    * "GLUE_PYTHON_VERSION": "3"
42320	//
42321	//    * "GLUE_PYTHON_VERSION": "2"
42322	//
42323	// You can specify a version of Python support for development endpoints by
42324	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
42325	// APIs. If no arguments are provided, the version defaults to Python 2.
42326	AddArguments map[string]*string `type:"map"`
42327
42328	// The list of public keys for the DevEndpoint to use.
42329	AddPublicKeys []*string `type:"list"`
42330
42331	// Custom Python or Java libraries to be loaded in the DevEndpoint.
42332	CustomLibraries *DevEndpointCustomLibraries `type:"structure"`
42333
42334	// The list of argument keys to be deleted from the map of arguments used to
42335	// configure the DevEndpoint.
42336	DeleteArguments []*string `type:"list"`
42337
42338	// The list of public keys to be deleted from the DevEndpoint.
42339	DeletePublicKeys []*string `type:"list"`
42340
42341	// The name of the DevEndpoint to be updated.
42342	//
42343	// EndpointName is a required field
42344	EndpointName *string `type:"string" required:"true"`
42345
42346	// The public key for the DevEndpoint to use.
42347	PublicKey *string `type:"string"`
42348
42349	// True if the list of custom libraries to be loaded in the development endpoint
42350	// needs to be updated, or False if otherwise.
42351	UpdateEtlLibraries *bool `type:"boolean"`
42352}
42353
42354// String returns the string representation
42355func (s UpdateDevEndpointInput) String() string {
42356	return awsutil.Prettify(s)
42357}
42358
42359// GoString returns the string representation
42360func (s UpdateDevEndpointInput) GoString() string {
42361	return s.String()
42362}
42363
42364// Validate inspects the fields of the type to determine if they are valid.
42365func (s *UpdateDevEndpointInput) Validate() error {
42366	invalidParams := request.ErrInvalidParams{Context: "UpdateDevEndpointInput"}
42367	if s.EndpointName == nil {
42368		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
42369	}
42370
42371	if invalidParams.Len() > 0 {
42372		return invalidParams
42373	}
42374	return nil
42375}
42376
42377// SetAddArguments sets the AddArguments field's value.
42378func (s *UpdateDevEndpointInput) SetAddArguments(v map[string]*string) *UpdateDevEndpointInput {
42379	s.AddArguments = v
42380	return s
42381}
42382
42383// SetAddPublicKeys sets the AddPublicKeys field's value.
42384func (s *UpdateDevEndpointInput) SetAddPublicKeys(v []*string) *UpdateDevEndpointInput {
42385	s.AddPublicKeys = v
42386	return s
42387}
42388
42389// SetCustomLibraries sets the CustomLibraries field's value.
42390func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput {
42391	s.CustomLibraries = v
42392	return s
42393}
42394
42395// SetDeleteArguments sets the DeleteArguments field's value.
42396func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput {
42397	s.DeleteArguments = v
42398	return s
42399}
42400
42401// SetDeletePublicKeys sets the DeletePublicKeys field's value.
42402func (s *UpdateDevEndpointInput) SetDeletePublicKeys(v []*string) *UpdateDevEndpointInput {
42403	s.DeletePublicKeys = v
42404	return s
42405}
42406
42407// SetEndpointName sets the EndpointName field's value.
42408func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput {
42409	s.EndpointName = &v
42410	return s
42411}
42412
42413// SetPublicKey sets the PublicKey field's value.
42414func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput {
42415	s.PublicKey = &v
42416	return s
42417}
42418
42419// SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value.
42420func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput {
42421	s.UpdateEtlLibraries = &v
42422	return s
42423}
42424
42425type UpdateDevEndpointOutput struct {
42426	_ struct{} `type:"structure"`
42427}
42428
42429// String returns the string representation
42430func (s UpdateDevEndpointOutput) String() string {
42431	return awsutil.Prettify(s)
42432}
42433
42434// GoString returns the string representation
42435func (s UpdateDevEndpointOutput) GoString() string {
42436	return s.String()
42437}
42438
42439// Specifies a grok classifier to update when passed to UpdateClassifier.
42440type UpdateGrokClassifierRequest struct {
42441	_ struct{} `type:"structure"`
42442
42443	// An identifier of the data format that the classifier matches, such as Twitter,
42444	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
42445	Classification *string `type:"string"`
42446
42447	// Optional custom grok patterns used by this classifier.
42448	CustomPatterns *string `type:"string"`
42449
42450	// The grok pattern used by this classifier.
42451	GrokPattern *string `min:"1" type:"string"`
42452
42453	// The name of the GrokClassifier.
42454	//
42455	// Name is a required field
42456	Name *string `min:"1" type:"string" required:"true"`
42457}
42458
42459// String returns the string representation
42460func (s UpdateGrokClassifierRequest) String() string {
42461	return awsutil.Prettify(s)
42462}
42463
42464// GoString returns the string representation
42465func (s UpdateGrokClassifierRequest) GoString() string {
42466	return s.String()
42467}
42468
42469// Validate inspects the fields of the type to determine if they are valid.
42470func (s *UpdateGrokClassifierRequest) Validate() error {
42471	invalidParams := request.ErrInvalidParams{Context: "UpdateGrokClassifierRequest"}
42472	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
42473		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
42474	}
42475	if s.Name == nil {
42476		invalidParams.Add(request.NewErrParamRequired("Name"))
42477	}
42478	if s.Name != nil && len(*s.Name) < 1 {
42479		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
42480	}
42481
42482	if invalidParams.Len() > 0 {
42483		return invalidParams
42484	}
42485	return nil
42486}
42487
42488// SetClassification sets the Classification field's value.
42489func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest {
42490	s.Classification = &v
42491	return s
42492}
42493
42494// SetCustomPatterns sets the CustomPatterns field's value.
42495func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest {
42496	s.CustomPatterns = &v
42497	return s
42498}
42499
42500// SetGrokPattern sets the GrokPattern field's value.
42501func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest {
42502	s.GrokPattern = &v
42503	return s
42504}
42505
42506// SetName sets the Name field's value.
42507func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest {
42508	s.Name = &v
42509	return s
42510}
42511
42512type UpdateJobInput struct {
42513	_ struct{} `type:"structure"`
42514
42515	// The name of the job definition to update.
42516	//
42517	// JobName is a required field
42518	JobName *string `min:"1" type:"string" required:"true"`
42519
42520	// Specifies the values with which to update the job definition.
42521	//
42522	// JobUpdate is a required field
42523	JobUpdate *JobUpdate `type:"structure" required:"true"`
42524}
42525
42526// String returns the string representation
42527func (s UpdateJobInput) String() string {
42528	return awsutil.Prettify(s)
42529}
42530
42531// GoString returns the string representation
42532func (s UpdateJobInput) GoString() string {
42533	return s.String()
42534}
42535
42536// Validate inspects the fields of the type to determine if they are valid.
42537func (s *UpdateJobInput) Validate() error {
42538	invalidParams := request.ErrInvalidParams{Context: "UpdateJobInput"}
42539	if s.JobName == nil {
42540		invalidParams.Add(request.NewErrParamRequired("JobName"))
42541	}
42542	if s.JobName != nil && len(*s.JobName) < 1 {
42543		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
42544	}
42545	if s.JobUpdate == nil {
42546		invalidParams.Add(request.NewErrParamRequired("JobUpdate"))
42547	}
42548	if s.JobUpdate != nil {
42549		if err := s.JobUpdate.Validate(); err != nil {
42550			invalidParams.AddNested("JobUpdate", err.(request.ErrInvalidParams))
42551		}
42552	}
42553
42554	if invalidParams.Len() > 0 {
42555		return invalidParams
42556	}
42557	return nil
42558}
42559
42560// SetJobName sets the JobName field's value.
42561func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput {
42562	s.JobName = &v
42563	return s
42564}
42565
42566// SetJobUpdate sets the JobUpdate field's value.
42567func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput {
42568	s.JobUpdate = v
42569	return s
42570}
42571
42572type UpdateJobOutput struct {
42573	_ struct{} `type:"structure"`
42574
42575	// Returns the name of the updated job definition.
42576	JobName *string `min:"1" type:"string"`
42577}
42578
42579// String returns the string representation
42580func (s UpdateJobOutput) String() string {
42581	return awsutil.Prettify(s)
42582}
42583
42584// GoString returns the string representation
42585func (s UpdateJobOutput) GoString() string {
42586	return s.String()
42587}
42588
42589// SetJobName sets the JobName field's value.
42590func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput {
42591	s.JobName = &v
42592	return s
42593}
42594
42595// Specifies a JSON classifier to be updated.
42596type UpdateJsonClassifierRequest struct {
42597	_ struct{} `type:"structure"`
42598
42599	// A JsonPath string defining the JSON data for the classifier to classify.
42600	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
42601	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
42602	JsonPath *string `type:"string"`
42603
42604	// The name of the classifier.
42605	//
42606	// Name is a required field
42607	Name *string `min:"1" type:"string" required:"true"`
42608}
42609
42610// String returns the string representation
42611func (s UpdateJsonClassifierRequest) String() string {
42612	return awsutil.Prettify(s)
42613}
42614
42615// GoString returns the string representation
42616func (s UpdateJsonClassifierRequest) GoString() string {
42617	return s.String()
42618}
42619
42620// Validate inspects the fields of the type to determine if they are valid.
42621func (s *UpdateJsonClassifierRequest) Validate() error {
42622	invalidParams := request.ErrInvalidParams{Context: "UpdateJsonClassifierRequest"}
42623	if s.Name == nil {
42624		invalidParams.Add(request.NewErrParamRequired("Name"))
42625	}
42626	if s.Name != nil && len(*s.Name) < 1 {
42627		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
42628	}
42629
42630	if invalidParams.Len() > 0 {
42631		return invalidParams
42632	}
42633	return nil
42634}
42635
42636// SetJsonPath sets the JsonPath field's value.
42637func (s *UpdateJsonClassifierRequest) SetJsonPath(v string) *UpdateJsonClassifierRequest {
42638	s.JsonPath = &v
42639	return s
42640}
42641
42642// SetName sets the Name field's value.
42643func (s *UpdateJsonClassifierRequest) SetName(v string) *UpdateJsonClassifierRequest {
42644	s.Name = &v
42645	return s
42646}
42647
42648type UpdateMLTransformInput struct {
42649	_ struct{} `type:"structure"`
42650
42651	// A description of the transform. The default is an empty string.
42652	Description *string `type:"string"`
42653
42654	// This value determines which version of AWS Glue this machine learning transform
42655	// is compatible with. Glue 1.0 is recommended for most customers. If the value
42656	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
42657	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
42658	// in the developer guide.
42659	GlueVersion *string `min:"1" type:"string"`
42660
42661	// The number of AWS Glue data processing units (DPUs) that are allocated to
42662	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
42663	// is 10. A DPU is a relative measure of processing power that consists of 4
42664	// vCPUs of compute capacity and 16 GB of memory. For more information, see
42665	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
42666	//
42667	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
42668	// field is set automatically and becomes read-only.
42669	MaxCapacity *float64 `type:"double"`
42670
42671	// The maximum number of times to retry a task for this transform after a task
42672	// run fails.
42673	MaxRetries *int64 `type:"integer"`
42674
42675	// The unique name that you gave the transform when you created it.
42676	Name *string `min:"1" type:"string"`
42677
42678	// The number of workers of a defined workerType that are allocated when this
42679	// task runs.
42680	NumberOfWorkers *int64 `type:"integer"`
42681
42682	// The configuration parameters that are specific to the transform type (algorithm)
42683	// used. Conditionally dependent on the transform type.
42684	Parameters *TransformParameters `type:"structure"`
42685
42686	// The name or Amazon Resource Name (ARN) of the IAM role with the required
42687	// permissions.
42688	Role *string `type:"string"`
42689
42690	// The timeout for a task run for this transform in minutes. This is the maximum
42691	// time that a task run for this transform can consume resources before it is
42692	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
42693	Timeout *int64 `min:"1" type:"integer"`
42694
42695	// A unique identifier that was generated when the transform was created.
42696	//
42697	// TransformId is a required field
42698	TransformId *string `min:"1" type:"string" required:"true"`
42699
42700	// The type of predefined worker that is allocated when this task runs. Accepts
42701	// a value of Standard, G.1X, or G.2X.
42702	//
42703	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
42704	//    memory and a 50GB disk, and 2 executors per worker.
42705	//
42706	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
42707	//    and a 64GB disk, and 1 executor per worker.
42708	//
42709	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
42710	//    and a 128GB disk, and 1 executor per worker.
42711	WorkerType *string `type:"string" enum:"WorkerType"`
42712}
42713
42714// String returns the string representation
42715func (s UpdateMLTransformInput) String() string {
42716	return awsutil.Prettify(s)
42717}
42718
42719// GoString returns the string representation
42720func (s UpdateMLTransformInput) GoString() string {
42721	return s.String()
42722}
42723
42724// Validate inspects the fields of the type to determine if they are valid.
42725func (s *UpdateMLTransformInput) Validate() error {
42726	invalidParams := request.ErrInvalidParams{Context: "UpdateMLTransformInput"}
42727	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
42728		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
42729	}
42730	if s.Name != nil && len(*s.Name) < 1 {
42731		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
42732	}
42733	if s.Timeout != nil && *s.Timeout < 1 {
42734		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
42735	}
42736	if s.TransformId == nil {
42737		invalidParams.Add(request.NewErrParamRequired("TransformId"))
42738	}
42739	if s.TransformId != nil && len(*s.TransformId) < 1 {
42740		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
42741	}
42742	if s.Parameters != nil {
42743		if err := s.Parameters.Validate(); err != nil {
42744			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
42745		}
42746	}
42747
42748	if invalidParams.Len() > 0 {
42749		return invalidParams
42750	}
42751	return nil
42752}
42753
42754// SetDescription sets the Description field's value.
42755func (s *UpdateMLTransformInput) SetDescription(v string) *UpdateMLTransformInput {
42756	s.Description = &v
42757	return s
42758}
42759
42760// SetGlueVersion sets the GlueVersion field's value.
42761func (s *UpdateMLTransformInput) SetGlueVersion(v string) *UpdateMLTransformInput {
42762	s.GlueVersion = &v
42763	return s
42764}
42765
42766// SetMaxCapacity sets the MaxCapacity field's value.
42767func (s *UpdateMLTransformInput) SetMaxCapacity(v float64) *UpdateMLTransformInput {
42768	s.MaxCapacity = &v
42769	return s
42770}
42771
42772// SetMaxRetries sets the MaxRetries field's value.
42773func (s *UpdateMLTransformInput) SetMaxRetries(v int64) *UpdateMLTransformInput {
42774	s.MaxRetries = &v
42775	return s
42776}
42777
42778// SetName sets the Name field's value.
42779func (s *UpdateMLTransformInput) SetName(v string) *UpdateMLTransformInput {
42780	s.Name = &v
42781	return s
42782}
42783
42784// SetNumberOfWorkers sets the NumberOfWorkers field's value.
42785func (s *UpdateMLTransformInput) SetNumberOfWorkers(v int64) *UpdateMLTransformInput {
42786	s.NumberOfWorkers = &v
42787	return s
42788}
42789
42790// SetParameters sets the Parameters field's value.
42791func (s *UpdateMLTransformInput) SetParameters(v *TransformParameters) *UpdateMLTransformInput {
42792	s.Parameters = v
42793	return s
42794}
42795
42796// SetRole sets the Role field's value.
42797func (s *UpdateMLTransformInput) SetRole(v string) *UpdateMLTransformInput {
42798	s.Role = &v
42799	return s
42800}
42801
42802// SetTimeout sets the Timeout field's value.
42803func (s *UpdateMLTransformInput) SetTimeout(v int64) *UpdateMLTransformInput {
42804	s.Timeout = &v
42805	return s
42806}
42807
42808// SetTransformId sets the TransformId field's value.
42809func (s *UpdateMLTransformInput) SetTransformId(v string) *UpdateMLTransformInput {
42810	s.TransformId = &v
42811	return s
42812}
42813
42814// SetWorkerType sets the WorkerType field's value.
42815func (s *UpdateMLTransformInput) SetWorkerType(v string) *UpdateMLTransformInput {
42816	s.WorkerType = &v
42817	return s
42818}
42819
42820type UpdateMLTransformOutput struct {
42821	_ struct{} `type:"structure"`
42822
42823	// The unique identifier for the transform that was updated.
42824	TransformId *string `min:"1" type:"string"`
42825}
42826
42827// String returns the string representation
42828func (s UpdateMLTransformOutput) String() string {
42829	return awsutil.Prettify(s)
42830}
42831
42832// GoString returns the string representation
42833func (s UpdateMLTransformOutput) GoString() string {
42834	return s.String()
42835}
42836
42837// SetTransformId sets the TransformId field's value.
42838func (s *UpdateMLTransformOutput) SetTransformId(v string) *UpdateMLTransformOutput {
42839	s.TransformId = &v
42840	return s
42841}
42842
42843type UpdatePartitionInput struct {
42844	_ struct{} `type:"structure"`
42845
42846	// The ID of the Data Catalog where the partition to be updated resides. If
42847	// none is provided, the AWS account ID is used by default.
42848	CatalogId *string `min:"1" type:"string"`
42849
42850	// The name of the catalog database in which the table in question resides.
42851	//
42852	// DatabaseName is a required field
42853	DatabaseName *string `min:"1" type:"string" required:"true"`
42854
42855	// The new partition object to update the partition to.
42856	//
42857	// The Values property can't be changed. If you want to change the partition
42858	// key values for a partition, delete and recreate the partition.
42859	//
42860	// PartitionInput is a required field
42861	PartitionInput *PartitionInput `type:"structure" required:"true"`
42862
42863	// List of partition key values that define the partition to update.
42864	//
42865	// PartitionValueList is a required field
42866	PartitionValueList []*string `type:"list" required:"true"`
42867
42868	// The name of the table in which the partition to be updated is located.
42869	//
42870	// TableName is a required field
42871	TableName *string `min:"1" type:"string" required:"true"`
42872}
42873
42874// String returns the string representation
42875func (s UpdatePartitionInput) String() string {
42876	return awsutil.Prettify(s)
42877}
42878
42879// GoString returns the string representation
42880func (s UpdatePartitionInput) GoString() string {
42881	return s.String()
42882}
42883
42884// Validate inspects the fields of the type to determine if they are valid.
42885func (s *UpdatePartitionInput) Validate() error {
42886	invalidParams := request.ErrInvalidParams{Context: "UpdatePartitionInput"}
42887	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
42888		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
42889	}
42890	if s.DatabaseName == nil {
42891		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
42892	}
42893	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
42894		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
42895	}
42896	if s.PartitionInput == nil {
42897		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
42898	}
42899	if s.PartitionValueList == nil {
42900		invalidParams.Add(request.NewErrParamRequired("PartitionValueList"))
42901	}
42902	if s.TableName == nil {
42903		invalidParams.Add(request.NewErrParamRequired("TableName"))
42904	}
42905	if s.TableName != nil && len(*s.TableName) < 1 {
42906		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
42907	}
42908	if s.PartitionInput != nil {
42909		if err := s.PartitionInput.Validate(); err != nil {
42910			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
42911		}
42912	}
42913
42914	if invalidParams.Len() > 0 {
42915		return invalidParams
42916	}
42917	return nil
42918}
42919
42920// SetCatalogId sets the CatalogId field's value.
42921func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput {
42922	s.CatalogId = &v
42923	return s
42924}
42925
42926// SetDatabaseName sets the DatabaseName field's value.
42927func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput {
42928	s.DatabaseName = &v
42929	return s
42930}
42931
42932// SetPartitionInput sets the PartitionInput field's value.
42933func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput {
42934	s.PartitionInput = v
42935	return s
42936}
42937
42938// SetPartitionValueList sets the PartitionValueList field's value.
42939func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput {
42940	s.PartitionValueList = v
42941	return s
42942}
42943
42944// SetTableName sets the TableName field's value.
42945func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput {
42946	s.TableName = &v
42947	return s
42948}
42949
42950type UpdatePartitionOutput struct {
42951	_ struct{} `type:"structure"`
42952}
42953
42954// String returns the string representation
42955func (s UpdatePartitionOutput) String() string {
42956	return awsutil.Prettify(s)
42957}
42958
42959// GoString returns the string representation
42960func (s UpdatePartitionOutput) GoString() string {
42961	return s.String()
42962}
42963
42964type UpdateRegistryInput struct {
42965	_ struct{} `type:"structure"`
42966
42967	// A description of the registry. If description is not provided, this field
42968	// will not be updated.
42969	//
42970	// Description is a required field
42971	Description *string `type:"string" required:"true"`
42972
42973	// This is a wrapper structure that may contain the registry name and Amazon
42974	// Resource Name (ARN).
42975	//
42976	// RegistryId is a required field
42977	RegistryId *RegistryId `type:"structure" required:"true"`
42978}
42979
42980// String returns the string representation
42981func (s UpdateRegistryInput) String() string {
42982	return awsutil.Prettify(s)
42983}
42984
42985// GoString returns the string representation
42986func (s UpdateRegistryInput) GoString() string {
42987	return s.String()
42988}
42989
42990// Validate inspects the fields of the type to determine if they are valid.
42991func (s *UpdateRegistryInput) Validate() error {
42992	invalidParams := request.ErrInvalidParams{Context: "UpdateRegistryInput"}
42993	if s.Description == nil {
42994		invalidParams.Add(request.NewErrParamRequired("Description"))
42995	}
42996	if s.RegistryId == nil {
42997		invalidParams.Add(request.NewErrParamRequired("RegistryId"))
42998	}
42999	if s.RegistryId != nil {
43000		if err := s.RegistryId.Validate(); err != nil {
43001			invalidParams.AddNested("RegistryId", err.(request.ErrInvalidParams))
43002		}
43003	}
43004
43005	if invalidParams.Len() > 0 {
43006		return invalidParams
43007	}
43008	return nil
43009}
43010
43011// SetDescription sets the Description field's value.
43012func (s *UpdateRegistryInput) SetDescription(v string) *UpdateRegistryInput {
43013	s.Description = &v
43014	return s
43015}
43016
43017// SetRegistryId sets the RegistryId field's value.
43018func (s *UpdateRegistryInput) SetRegistryId(v *RegistryId) *UpdateRegistryInput {
43019	s.RegistryId = v
43020	return s
43021}
43022
43023type UpdateRegistryOutput struct {
43024	_ struct{} `type:"structure"`
43025
43026	// The Amazon Resource name (ARN) of the updated registry.
43027	RegistryArn *string `min:"1" type:"string"`
43028
43029	// The name of the updated registry.
43030	RegistryName *string `min:"1" type:"string"`
43031}
43032
43033// String returns the string representation
43034func (s UpdateRegistryOutput) String() string {
43035	return awsutil.Prettify(s)
43036}
43037
43038// GoString returns the string representation
43039func (s UpdateRegistryOutput) GoString() string {
43040	return s.String()
43041}
43042
43043// SetRegistryArn sets the RegistryArn field's value.
43044func (s *UpdateRegistryOutput) SetRegistryArn(v string) *UpdateRegistryOutput {
43045	s.RegistryArn = &v
43046	return s
43047}
43048
43049// SetRegistryName sets the RegistryName field's value.
43050func (s *UpdateRegistryOutput) SetRegistryName(v string) *UpdateRegistryOutput {
43051	s.RegistryName = &v
43052	return s
43053}
43054
43055type UpdateSchemaInput struct {
43056	_ struct{} `type:"structure"`
43057
43058	// The new compatibility setting for the schema.
43059	Compatibility *string `type:"string" enum:"Compatibility"`
43060
43061	// The new description for the schema.
43062	Description *string `type:"string"`
43063
43064	// This is a wrapper structure to contain schema identity fields. The structure
43065	// contains:
43066	//
43067	//    * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One
43068	//    of SchemaArn or SchemaName has to be provided.
43069	//
43070	//    * SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName
43071	//    has to be provided.
43072	//
43073	// SchemaId is a required field
43074	SchemaId *SchemaId `type:"structure" required:"true"`
43075
43076	// Version number required for check pointing. One of VersionNumber or Compatibility
43077	// has to be provided.
43078	SchemaVersionNumber *SchemaVersionNumber `type:"structure"`
43079}
43080
43081// String returns the string representation
43082func (s UpdateSchemaInput) String() string {
43083	return awsutil.Prettify(s)
43084}
43085
43086// GoString returns the string representation
43087func (s UpdateSchemaInput) GoString() string {
43088	return s.String()
43089}
43090
43091// Validate inspects the fields of the type to determine if they are valid.
43092func (s *UpdateSchemaInput) Validate() error {
43093	invalidParams := request.ErrInvalidParams{Context: "UpdateSchemaInput"}
43094	if s.SchemaId == nil {
43095		invalidParams.Add(request.NewErrParamRequired("SchemaId"))
43096	}
43097	if s.SchemaId != nil {
43098		if err := s.SchemaId.Validate(); err != nil {
43099			invalidParams.AddNested("SchemaId", err.(request.ErrInvalidParams))
43100		}
43101	}
43102	if s.SchemaVersionNumber != nil {
43103		if err := s.SchemaVersionNumber.Validate(); err != nil {
43104			invalidParams.AddNested("SchemaVersionNumber", err.(request.ErrInvalidParams))
43105		}
43106	}
43107
43108	if invalidParams.Len() > 0 {
43109		return invalidParams
43110	}
43111	return nil
43112}
43113
43114// SetCompatibility sets the Compatibility field's value.
43115func (s *UpdateSchemaInput) SetCompatibility(v string) *UpdateSchemaInput {
43116	s.Compatibility = &v
43117	return s
43118}
43119
43120// SetDescription sets the Description field's value.
43121func (s *UpdateSchemaInput) SetDescription(v string) *UpdateSchemaInput {
43122	s.Description = &v
43123	return s
43124}
43125
43126// SetSchemaId sets the SchemaId field's value.
43127func (s *UpdateSchemaInput) SetSchemaId(v *SchemaId) *UpdateSchemaInput {
43128	s.SchemaId = v
43129	return s
43130}
43131
43132// SetSchemaVersionNumber sets the SchemaVersionNumber field's value.
43133func (s *UpdateSchemaInput) SetSchemaVersionNumber(v *SchemaVersionNumber) *UpdateSchemaInput {
43134	s.SchemaVersionNumber = v
43135	return s
43136}
43137
43138type UpdateSchemaOutput struct {
43139	_ struct{} `type:"structure"`
43140
43141	// The name of the registry that contains the schema.
43142	RegistryName *string `min:"1" type:"string"`
43143
43144	// The Amazon Resource Name (ARN) of the schema.
43145	SchemaArn *string `min:"1" type:"string"`
43146
43147	// The name of the schema.
43148	SchemaName *string `min:"1" type:"string"`
43149}
43150
43151// String returns the string representation
43152func (s UpdateSchemaOutput) String() string {
43153	return awsutil.Prettify(s)
43154}
43155
43156// GoString returns the string representation
43157func (s UpdateSchemaOutput) GoString() string {
43158	return s.String()
43159}
43160
43161// SetRegistryName sets the RegistryName field's value.
43162func (s *UpdateSchemaOutput) SetRegistryName(v string) *UpdateSchemaOutput {
43163	s.RegistryName = &v
43164	return s
43165}
43166
43167// SetSchemaArn sets the SchemaArn field's value.
43168func (s *UpdateSchemaOutput) SetSchemaArn(v string) *UpdateSchemaOutput {
43169	s.SchemaArn = &v
43170	return s
43171}
43172
43173// SetSchemaName sets the SchemaName field's value.
43174func (s *UpdateSchemaOutput) SetSchemaName(v string) *UpdateSchemaOutput {
43175	s.SchemaName = &v
43176	return s
43177}
43178
43179type UpdateTableInput struct {
43180	_ struct{} `type:"structure"`
43181
43182	// The ID of the Data Catalog where the table resides. If none is provided,
43183	// the AWS account ID is used by default.
43184	CatalogId *string `min:"1" type:"string"`
43185
43186	// The name of the catalog database in which the table resides. For Hive compatibility,
43187	// this name is entirely lowercase.
43188	//
43189	// DatabaseName is a required field
43190	DatabaseName *string `min:"1" type:"string" required:"true"`
43191
43192	// By default, UpdateTable always creates an archived version of the table before
43193	// updating it. However, if skipArchive is set to true, UpdateTable does not
43194	// create the archived version.
43195	SkipArchive *bool `type:"boolean"`
43196
43197	// An updated TableInput object to define the metadata table in the catalog.
43198	//
43199	// TableInput is a required field
43200	TableInput *TableInput `type:"structure" required:"true"`
43201}
43202
43203// String returns the string representation
43204func (s UpdateTableInput) String() string {
43205	return awsutil.Prettify(s)
43206}
43207
43208// GoString returns the string representation
43209func (s UpdateTableInput) GoString() string {
43210	return s.String()
43211}
43212
43213// Validate inspects the fields of the type to determine if they are valid.
43214func (s *UpdateTableInput) Validate() error {
43215	invalidParams := request.ErrInvalidParams{Context: "UpdateTableInput"}
43216	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
43217		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
43218	}
43219	if s.DatabaseName == nil {
43220		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
43221	}
43222	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
43223		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
43224	}
43225	if s.TableInput == nil {
43226		invalidParams.Add(request.NewErrParamRequired("TableInput"))
43227	}
43228	if s.TableInput != nil {
43229		if err := s.TableInput.Validate(); err != nil {
43230			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
43231		}
43232	}
43233
43234	if invalidParams.Len() > 0 {
43235		return invalidParams
43236	}
43237	return nil
43238}
43239
43240// SetCatalogId sets the CatalogId field's value.
43241func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput {
43242	s.CatalogId = &v
43243	return s
43244}
43245
43246// SetDatabaseName sets the DatabaseName field's value.
43247func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput {
43248	s.DatabaseName = &v
43249	return s
43250}
43251
43252// SetSkipArchive sets the SkipArchive field's value.
43253func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput {
43254	s.SkipArchive = &v
43255	return s
43256}
43257
43258// SetTableInput sets the TableInput field's value.
43259func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput {
43260	s.TableInput = v
43261	return s
43262}
43263
43264type UpdateTableOutput struct {
43265	_ struct{} `type:"structure"`
43266}
43267
43268// String returns the string representation
43269func (s UpdateTableOutput) String() string {
43270	return awsutil.Prettify(s)
43271}
43272
43273// GoString returns the string representation
43274func (s UpdateTableOutput) GoString() string {
43275	return s.String()
43276}
43277
43278type UpdateTriggerInput struct {
43279	_ struct{} `type:"structure"`
43280
43281	// The name of the trigger to update.
43282	//
43283	// Name is a required field
43284	Name *string `min:"1" type:"string" required:"true"`
43285
43286	// The new values with which to update the trigger.
43287	//
43288	// TriggerUpdate is a required field
43289	TriggerUpdate *TriggerUpdate `type:"structure" required:"true"`
43290}
43291
43292// String returns the string representation
43293func (s UpdateTriggerInput) String() string {
43294	return awsutil.Prettify(s)
43295}
43296
43297// GoString returns the string representation
43298func (s UpdateTriggerInput) GoString() string {
43299	return s.String()
43300}
43301
43302// Validate inspects the fields of the type to determine if they are valid.
43303func (s *UpdateTriggerInput) Validate() error {
43304	invalidParams := request.ErrInvalidParams{Context: "UpdateTriggerInput"}
43305	if s.Name == nil {
43306		invalidParams.Add(request.NewErrParamRequired("Name"))
43307	}
43308	if s.Name != nil && len(*s.Name) < 1 {
43309		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
43310	}
43311	if s.TriggerUpdate == nil {
43312		invalidParams.Add(request.NewErrParamRequired("TriggerUpdate"))
43313	}
43314	if s.TriggerUpdate != nil {
43315		if err := s.TriggerUpdate.Validate(); err != nil {
43316			invalidParams.AddNested("TriggerUpdate", err.(request.ErrInvalidParams))
43317		}
43318	}
43319
43320	if invalidParams.Len() > 0 {
43321		return invalidParams
43322	}
43323	return nil
43324}
43325
43326// SetName sets the Name field's value.
43327func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput {
43328	s.Name = &v
43329	return s
43330}
43331
43332// SetTriggerUpdate sets the TriggerUpdate field's value.
43333func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput {
43334	s.TriggerUpdate = v
43335	return s
43336}
43337
43338type UpdateTriggerOutput struct {
43339	_ struct{} `type:"structure"`
43340
43341	// The resulting trigger definition.
43342	Trigger *Trigger `type:"structure"`
43343}
43344
43345// String returns the string representation
43346func (s UpdateTriggerOutput) String() string {
43347	return awsutil.Prettify(s)
43348}
43349
43350// GoString returns the string representation
43351func (s UpdateTriggerOutput) GoString() string {
43352	return s.String()
43353}
43354
43355// SetTrigger sets the Trigger field's value.
43356func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput {
43357	s.Trigger = v
43358	return s
43359}
43360
43361type UpdateUserDefinedFunctionInput struct {
43362	_ struct{} `type:"structure"`
43363
43364	// The ID of the Data Catalog where the function to be updated is located. If
43365	// none is provided, the AWS account ID is used by default.
43366	CatalogId *string `min:"1" type:"string"`
43367
43368	// The name of the catalog database where the function to be updated is located.
43369	//
43370	// DatabaseName is a required field
43371	DatabaseName *string `min:"1" type:"string" required:"true"`
43372
43373	// A FunctionInput object that redefines the function in the Data Catalog.
43374	//
43375	// FunctionInput is a required field
43376	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
43377
43378	// The name of the function.
43379	//
43380	// FunctionName is a required field
43381	FunctionName *string `min:"1" type:"string" required:"true"`
43382}
43383
43384// String returns the string representation
43385func (s UpdateUserDefinedFunctionInput) String() string {
43386	return awsutil.Prettify(s)
43387}
43388
43389// GoString returns the string representation
43390func (s UpdateUserDefinedFunctionInput) GoString() string {
43391	return s.String()
43392}
43393
43394// Validate inspects the fields of the type to determine if they are valid.
43395func (s *UpdateUserDefinedFunctionInput) Validate() error {
43396	invalidParams := request.ErrInvalidParams{Context: "UpdateUserDefinedFunctionInput"}
43397	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
43398		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
43399	}
43400	if s.DatabaseName == nil {
43401		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
43402	}
43403	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
43404		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
43405	}
43406	if s.FunctionInput == nil {
43407		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
43408	}
43409	if s.FunctionName == nil {
43410		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
43411	}
43412	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
43413		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
43414	}
43415	if s.FunctionInput != nil {
43416		if err := s.FunctionInput.Validate(); err != nil {
43417			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
43418		}
43419	}
43420
43421	if invalidParams.Len() > 0 {
43422		return invalidParams
43423	}
43424	return nil
43425}
43426
43427// SetCatalogId sets the CatalogId field's value.
43428func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput {
43429	s.CatalogId = &v
43430	return s
43431}
43432
43433// SetDatabaseName sets the DatabaseName field's value.
43434func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput {
43435	s.DatabaseName = &v
43436	return s
43437}
43438
43439// SetFunctionInput sets the FunctionInput field's value.
43440func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput {
43441	s.FunctionInput = v
43442	return s
43443}
43444
43445// SetFunctionName sets the FunctionName field's value.
43446func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput {
43447	s.FunctionName = &v
43448	return s
43449}
43450
43451type UpdateUserDefinedFunctionOutput struct {
43452	_ struct{} `type:"structure"`
43453}
43454
43455// String returns the string representation
43456func (s UpdateUserDefinedFunctionOutput) String() string {
43457	return awsutil.Prettify(s)
43458}
43459
43460// GoString returns the string representation
43461func (s UpdateUserDefinedFunctionOutput) GoString() string {
43462	return s.String()
43463}
43464
43465type UpdateWorkflowInput struct {
43466	_ struct{} `type:"structure"`
43467
43468	// A collection of properties to be used as part of each execution of the workflow.
43469	DefaultRunProperties map[string]*string `type:"map"`
43470
43471	// The description of the workflow.
43472	Description *string `type:"string"`
43473
43474	// You can use this parameter to prevent unwanted multiple updates to data,
43475	// to control costs, or in some cases, to prevent exceeding the maximum number
43476	// of concurrent runs of any of the component jobs. If you leave this parameter
43477	// blank, there is no limit to the number of concurrent workflow runs.
43478	MaxConcurrentRuns *int64 `type:"integer"`
43479
43480	// Name of the workflow to be updated.
43481	//
43482	// Name is a required field
43483	Name *string `min:"1" type:"string" required:"true"`
43484}
43485
43486// String returns the string representation
43487func (s UpdateWorkflowInput) String() string {
43488	return awsutil.Prettify(s)
43489}
43490
43491// GoString returns the string representation
43492func (s UpdateWorkflowInput) GoString() string {
43493	return s.String()
43494}
43495
43496// Validate inspects the fields of the type to determine if they are valid.
43497func (s *UpdateWorkflowInput) Validate() error {
43498	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"}
43499	if s.Name == nil {
43500		invalidParams.Add(request.NewErrParamRequired("Name"))
43501	}
43502	if s.Name != nil && len(*s.Name) < 1 {
43503		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
43504	}
43505
43506	if invalidParams.Len() > 0 {
43507		return invalidParams
43508	}
43509	return nil
43510}
43511
43512// SetDefaultRunProperties sets the DefaultRunProperties field's value.
43513func (s *UpdateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *UpdateWorkflowInput {
43514	s.DefaultRunProperties = v
43515	return s
43516}
43517
43518// SetDescription sets the Description field's value.
43519func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput {
43520	s.Description = &v
43521	return s
43522}
43523
43524// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
43525func (s *UpdateWorkflowInput) SetMaxConcurrentRuns(v int64) *UpdateWorkflowInput {
43526	s.MaxConcurrentRuns = &v
43527	return s
43528}
43529
43530// SetName sets the Name field's value.
43531func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput {
43532	s.Name = &v
43533	return s
43534}
43535
43536type UpdateWorkflowOutput struct {
43537	_ struct{} `type:"structure"`
43538
43539	// The name of the workflow which was specified in input.
43540	Name *string `min:"1" type:"string"`
43541}
43542
43543// String returns the string representation
43544func (s UpdateWorkflowOutput) String() string {
43545	return awsutil.Prettify(s)
43546}
43547
43548// GoString returns the string representation
43549func (s UpdateWorkflowOutput) GoString() string {
43550	return s.String()
43551}
43552
43553// SetName sets the Name field's value.
43554func (s *UpdateWorkflowOutput) SetName(v string) *UpdateWorkflowOutput {
43555	s.Name = &v
43556	return s
43557}
43558
43559// Specifies an XML classifier to be updated.
43560type UpdateXMLClassifierRequest struct {
43561	_ struct{} `type:"structure"`
43562
43563	// An identifier of the data format that the classifier matches.
43564	Classification *string `type:"string"`
43565
43566	// The name of the classifier.
43567	//
43568	// Name is a required field
43569	Name *string `min:"1" type:"string" required:"true"`
43570
43571	// The XML tag designating the element that contains each record in an XML document
43572	// being parsed. This cannot identify a self-closing element (closed by />).
43573	// An empty row element that contains only attributes can be parsed as long
43574	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
43575	// is okay, but <row item_a="A" item_b="B" /> is not).
43576	RowTag *string `type:"string"`
43577}
43578
43579// String returns the string representation
43580func (s UpdateXMLClassifierRequest) String() string {
43581	return awsutil.Prettify(s)
43582}
43583
43584// GoString returns the string representation
43585func (s UpdateXMLClassifierRequest) GoString() string {
43586	return s.String()
43587}
43588
43589// Validate inspects the fields of the type to determine if they are valid.
43590func (s *UpdateXMLClassifierRequest) Validate() error {
43591	invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"}
43592	if s.Name == nil {
43593		invalidParams.Add(request.NewErrParamRequired("Name"))
43594	}
43595	if s.Name != nil && len(*s.Name) < 1 {
43596		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
43597	}
43598
43599	if invalidParams.Len() > 0 {
43600		return invalidParams
43601	}
43602	return nil
43603}
43604
43605// SetClassification sets the Classification field's value.
43606func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest {
43607	s.Classification = &v
43608	return s
43609}
43610
43611// SetName sets the Name field's value.
43612func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest {
43613	s.Name = &v
43614	return s
43615}
43616
43617// SetRowTag sets the RowTag field's value.
43618func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest {
43619	s.RowTag = &v
43620	return s
43621}
43622
43623// Represents the equivalent of a Hive user-defined function (UDF) definition.
43624type UserDefinedFunction struct {
43625	_ struct{} `type:"structure"`
43626
43627	// The ID of the Data Catalog in which the function resides.
43628	CatalogId *string `min:"1" type:"string"`
43629
43630	// The Java class that contains the function code.
43631	ClassName *string `min:"1" type:"string"`
43632
43633	// The time at which the function was created.
43634	CreateTime *time.Time `type:"timestamp"`
43635
43636	// The name of the catalog database that contains the function.
43637	DatabaseName *string `min:"1" type:"string"`
43638
43639	// The name of the function.
43640	FunctionName *string `min:"1" type:"string"`
43641
43642	// The owner of the function.
43643	OwnerName *string `min:"1" type:"string"`
43644
43645	// The owner type.
43646	OwnerType *string `type:"string" enum:"PrincipalType"`
43647
43648	// The resource URIs for the function.
43649	ResourceUris []*ResourceUri `type:"list"`
43650}
43651
43652// String returns the string representation
43653func (s UserDefinedFunction) String() string {
43654	return awsutil.Prettify(s)
43655}
43656
43657// GoString returns the string representation
43658func (s UserDefinedFunction) GoString() string {
43659	return s.String()
43660}
43661
43662// SetCatalogId sets the CatalogId field's value.
43663func (s *UserDefinedFunction) SetCatalogId(v string) *UserDefinedFunction {
43664	s.CatalogId = &v
43665	return s
43666}
43667
43668// SetClassName sets the ClassName field's value.
43669func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction {
43670	s.ClassName = &v
43671	return s
43672}
43673
43674// SetCreateTime sets the CreateTime field's value.
43675func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction {
43676	s.CreateTime = &v
43677	return s
43678}
43679
43680// SetDatabaseName sets the DatabaseName field's value.
43681func (s *UserDefinedFunction) SetDatabaseName(v string) *UserDefinedFunction {
43682	s.DatabaseName = &v
43683	return s
43684}
43685
43686// SetFunctionName sets the FunctionName field's value.
43687func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction {
43688	s.FunctionName = &v
43689	return s
43690}
43691
43692// SetOwnerName sets the OwnerName field's value.
43693func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction {
43694	s.OwnerName = &v
43695	return s
43696}
43697
43698// SetOwnerType sets the OwnerType field's value.
43699func (s *UserDefinedFunction) SetOwnerType(v string) *UserDefinedFunction {
43700	s.OwnerType = &v
43701	return s
43702}
43703
43704// SetResourceUris sets the ResourceUris field's value.
43705func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunction {
43706	s.ResourceUris = v
43707	return s
43708}
43709
43710// A structure used to create or update a user-defined function.
43711type UserDefinedFunctionInput struct {
43712	_ struct{} `type:"structure"`
43713
43714	// The Java class that contains the function code.
43715	ClassName *string `min:"1" type:"string"`
43716
43717	// The name of the function.
43718	FunctionName *string `min:"1" type:"string"`
43719
43720	// The owner of the function.
43721	OwnerName *string `min:"1" type:"string"`
43722
43723	// The owner type.
43724	OwnerType *string `type:"string" enum:"PrincipalType"`
43725
43726	// The resource URIs for the function.
43727	ResourceUris []*ResourceUri `type:"list"`
43728}
43729
43730// String returns the string representation
43731func (s UserDefinedFunctionInput) String() string {
43732	return awsutil.Prettify(s)
43733}
43734
43735// GoString returns the string representation
43736func (s UserDefinedFunctionInput) GoString() string {
43737	return s.String()
43738}
43739
43740// Validate inspects the fields of the type to determine if they are valid.
43741func (s *UserDefinedFunctionInput) Validate() error {
43742	invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"}
43743	if s.ClassName != nil && len(*s.ClassName) < 1 {
43744		invalidParams.Add(request.NewErrParamMinLen("ClassName", 1))
43745	}
43746	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
43747		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
43748	}
43749	if s.OwnerName != nil && len(*s.OwnerName) < 1 {
43750		invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1))
43751	}
43752	if s.ResourceUris != nil {
43753		for i, v := range s.ResourceUris {
43754			if v == nil {
43755				continue
43756			}
43757			if err := v.Validate(); err != nil {
43758				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams))
43759			}
43760		}
43761	}
43762
43763	if invalidParams.Len() > 0 {
43764		return invalidParams
43765	}
43766	return nil
43767}
43768
43769// SetClassName sets the ClassName field's value.
43770func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput {
43771	s.ClassName = &v
43772	return s
43773}
43774
43775// SetFunctionName sets the FunctionName field's value.
43776func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput {
43777	s.FunctionName = &v
43778	return s
43779}
43780
43781// SetOwnerName sets the OwnerName field's value.
43782func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput {
43783	s.OwnerName = &v
43784	return s
43785}
43786
43787// SetOwnerType sets the OwnerType field's value.
43788func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput {
43789	s.OwnerType = &v
43790	return s
43791}
43792
43793// SetResourceUris sets the ResourceUris field's value.
43794func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput {
43795	s.ResourceUris = v
43796	return s
43797}
43798
43799// A value could not be validated.
43800type ValidationException struct {
43801	_            struct{}                  `type:"structure"`
43802	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
43803
43804	// A message describing the problem.
43805	Message_ *string `locationName:"Message" type:"string"`
43806}
43807
43808// String returns the string representation
43809func (s ValidationException) String() string {
43810	return awsutil.Prettify(s)
43811}
43812
43813// GoString returns the string representation
43814func (s ValidationException) GoString() string {
43815	return s.String()
43816}
43817
43818func newErrorValidationException(v protocol.ResponseMetadata) error {
43819	return &ValidationException{
43820		RespMetadata: v,
43821	}
43822}
43823
43824// Code returns the exception type name.
43825func (s *ValidationException) Code() string {
43826	return "ValidationException"
43827}
43828
43829// Message returns the exception's message.
43830func (s *ValidationException) Message() string {
43831	if s.Message_ != nil {
43832		return *s.Message_
43833	}
43834	return ""
43835}
43836
43837// OrigErr always returns nil, satisfies awserr.Error interface.
43838func (s *ValidationException) OrigErr() error {
43839	return nil
43840}
43841
43842func (s *ValidationException) Error() string {
43843	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
43844}
43845
43846// Status code returns the HTTP status code for the request's response error.
43847func (s *ValidationException) StatusCode() int {
43848	return s.RespMetadata.StatusCode
43849}
43850
43851// RequestID returns the service's response RequestID for request.
43852func (s *ValidationException) RequestID() string {
43853	return s.RespMetadata.RequestID
43854}
43855
43856// There was a version conflict.
43857type VersionMismatchException struct {
43858	_            struct{}                  `type:"structure"`
43859	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
43860
43861	// A message describing the problem.
43862	Message_ *string `locationName:"Message" type:"string"`
43863}
43864
43865// String returns the string representation
43866func (s VersionMismatchException) String() string {
43867	return awsutil.Prettify(s)
43868}
43869
43870// GoString returns the string representation
43871func (s VersionMismatchException) GoString() string {
43872	return s.String()
43873}
43874
43875func newErrorVersionMismatchException(v protocol.ResponseMetadata) error {
43876	return &VersionMismatchException{
43877		RespMetadata: v,
43878	}
43879}
43880
43881// Code returns the exception type name.
43882func (s *VersionMismatchException) Code() string {
43883	return "VersionMismatchException"
43884}
43885
43886// Message returns the exception's message.
43887func (s *VersionMismatchException) Message() string {
43888	if s.Message_ != nil {
43889		return *s.Message_
43890	}
43891	return ""
43892}
43893
43894// OrigErr always returns nil, satisfies awserr.Error interface.
43895func (s *VersionMismatchException) OrigErr() error {
43896	return nil
43897}
43898
43899func (s *VersionMismatchException) Error() string {
43900	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
43901}
43902
43903// Status code returns the HTTP status code for the request's response error.
43904func (s *VersionMismatchException) StatusCode() int {
43905	return s.RespMetadata.StatusCode
43906}
43907
43908// RequestID returns the service's response RequestID for request.
43909func (s *VersionMismatchException) RequestID() string {
43910	return s.RespMetadata.RequestID
43911}
43912
43913// A workflow represents a flow in which AWS Glue components should be executed
43914// to complete a logical task.
43915type Workflow struct {
43916	_ struct{} `type:"structure"`
43917
43918	// The date and time when the workflow was created.
43919	CreatedOn *time.Time `type:"timestamp"`
43920
43921	// A collection of properties to be used as part of each execution of the workflow.
43922	DefaultRunProperties map[string]*string `type:"map"`
43923
43924	// A description of the workflow.
43925	Description *string `type:"string"`
43926
43927	// The graph representing all the AWS Glue components that belong to the workflow
43928	// as nodes and directed connections between them as edges.
43929	Graph *WorkflowGraph `type:"structure"`
43930
43931	// The date and time when the workflow was last modified.
43932	LastModifiedOn *time.Time `type:"timestamp"`
43933
43934	// The information about the last execution of the workflow.
43935	LastRun *WorkflowRun `type:"structure"`
43936
43937	// You can use this parameter to prevent unwanted multiple updates to data,
43938	// to control costs, or in some cases, to prevent exceeding the maximum number
43939	// of concurrent runs of any of the component jobs. If you leave this parameter
43940	// blank, there is no limit to the number of concurrent workflow runs.
43941	MaxConcurrentRuns *int64 `type:"integer"`
43942
43943	// The name of the workflow representing the flow.
43944	Name *string `min:"1" type:"string"`
43945}
43946
43947// String returns the string representation
43948func (s Workflow) String() string {
43949	return awsutil.Prettify(s)
43950}
43951
43952// GoString returns the string representation
43953func (s Workflow) GoString() string {
43954	return s.String()
43955}
43956
43957// SetCreatedOn sets the CreatedOn field's value.
43958func (s *Workflow) SetCreatedOn(v time.Time) *Workflow {
43959	s.CreatedOn = &v
43960	return s
43961}
43962
43963// SetDefaultRunProperties sets the DefaultRunProperties field's value.
43964func (s *Workflow) SetDefaultRunProperties(v map[string]*string) *Workflow {
43965	s.DefaultRunProperties = v
43966	return s
43967}
43968
43969// SetDescription sets the Description field's value.
43970func (s *Workflow) SetDescription(v string) *Workflow {
43971	s.Description = &v
43972	return s
43973}
43974
43975// SetGraph sets the Graph field's value.
43976func (s *Workflow) SetGraph(v *WorkflowGraph) *Workflow {
43977	s.Graph = v
43978	return s
43979}
43980
43981// SetLastModifiedOn sets the LastModifiedOn field's value.
43982func (s *Workflow) SetLastModifiedOn(v time.Time) *Workflow {
43983	s.LastModifiedOn = &v
43984	return s
43985}
43986
43987// SetLastRun sets the LastRun field's value.
43988func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow {
43989	s.LastRun = v
43990	return s
43991}
43992
43993// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
43994func (s *Workflow) SetMaxConcurrentRuns(v int64) *Workflow {
43995	s.MaxConcurrentRuns = &v
43996	return s
43997}
43998
43999// SetName sets the Name field's value.
44000func (s *Workflow) SetName(v string) *Workflow {
44001	s.Name = &v
44002	return s
44003}
44004
44005// A workflow graph represents the complete workflow containing all the AWS
44006// Glue components present in the workflow and all the directed connections
44007// between them.
44008type WorkflowGraph struct {
44009	_ struct{} `type:"structure"`
44010
44011	// A list of all the directed connections between the nodes belonging to the
44012	// workflow.
44013	Edges []*Edge `type:"list"`
44014
44015	// A list of the the AWS Glue components belong to the workflow represented
44016	// as nodes.
44017	Nodes []*Node `type:"list"`
44018}
44019
44020// String returns the string representation
44021func (s WorkflowGraph) String() string {
44022	return awsutil.Prettify(s)
44023}
44024
44025// GoString returns the string representation
44026func (s WorkflowGraph) GoString() string {
44027	return s.String()
44028}
44029
44030// SetEdges sets the Edges field's value.
44031func (s *WorkflowGraph) SetEdges(v []*Edge) *WorkflowGraph {
44032	s.Edges = v
44033	return s
44034}
44035
44036// SetNodes sets the Nodes field's value.
44037func (s *WorkflowGraph) SetNodes(v []*Node) *WorkflowGraph {
44038	s.Nodes = v
44039	return s
44040}
44041
44042// A workflow run is an execution of a workflow providing all the runtime information.
44043type WorkflowRun struct {
44044	_ struct{} `type:"structure"`
44045
44046	// The date and time when the workflow run completed.
44047	CompletedOn *time.Time `type:"timestamp"`
44048
44049	// This error message describes any error that may have occurred in starting
44050	// the workflow run. Currently the only error message is "Concurrent runs exceeded
44051	// for workflow: foo."
44052	ErrorMessage *string `type:"string"`
44053
44054	// The graph representing all the AWS Glue components that belong to the workflow
44055	// as nodes and directed connections between them as edges.
44056	Graph *WorkflowGraph `type:"structure"`
44057
44058	// Name of the workflow that was executed.
44059	Name *string `min:"1" type:"string"`
44060
44061	// The ID of the previous workflow run.
44062	PreviousRunId *string `min:"1" type:"string"`
44063
44064	// The date and time when the workflow run was started.
44065	StartedOn *time.Time `type:"timestamp"`
44066
44067	// The statistics of the run.
44068	Statistics *WorkflowRunStatistics `type:"structure"`
44069
44070	// The status of the workflow run.
44071	Status *string `type:"string" enum:"WorkflowRunStatus"`
44072
44073	// The ID of this workflow run.
44074	WorkflowRunId *string `min:"1" type:"string"`
44075
44076	// The workflow run properties which were set during the run.
44077	WorkflowRunProperties map[string]*string `type:"map"`
44078}
44079
44080// String returns the string representation
44081func (s WorkflowRun) String() string {
44082	return awsutil.Prettify(s)
44083}
44084
44085// GoString returns the string representation
44086func (s WorkflowRun) GoString() string {
44087	return s.String()
44088}
44089
44090// SetCompletedOn sets the CompletedOn field's value.
44091func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun {
44092	s.CompletedOn = &v
44093	return s
44094}
44095
44096// SetErrorMessage sets the ErrorMessage field's value.
44097func (s *WorkflowRun) SetErrorMessage(v string) *WorkflowRun {
44098	s.ErrorMessage = &v
44099	return s
44100}
44101
44102// SetGraph sets the Graph field's value.
44103func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun {
44104	s.Graph = v
44105	return s
44106}
44107
44108// SetName sets the Name field's value.
44109func (s *WorkflowRun) SetName(v string) *WorkflowRun {
44110	s.Name = &v
44111	return s
44112}
44113
44114// SetPreviousRunId sets the PreviousRunId field's value.
44115func (s *WorkflowRun) SetPreviousRunId(v string) *WorkflowRun {
44116	s.PreviousRunId = &v
44117	return s
44118}
44119
44120// SetStartedOn sets the StartedOn field's value.
44121func (s *WorkflowRun) SetStartedOn(v time.Time) *WorkflowRun {
44122	s.StartedOn = &v
44123	return s
44124}
44125
44126// SetStatistics sets the Statistics field's value.
44127func (s *WorkflowRun) SetStatistics(v *WorkflowRunStatistics) *WorkflowRun {
44128	s.Statistics = v
44129	return s
44130}
44131
44132// SetStatus sets the Status field's value.
44133func (s *WorkflowRun) SetStatus(v string) *WorkflowRun {
44134	s.Status = &v
44135	return s
44136}
44137
44138// SetWorkflowRunId sets the WorkflowRunId field's value.
44139func (s *WorkflowRun) SetWorkflowRunId(v string) *WorkflowRun {
44140	s.WorkflowRunId = &v
44141	return s
44142}
44143
44144// SetWorkflowRunProperties sets the WorkflowRunProperties field's value.
44145func (s *WorkflowRun) SetWorkflowRunProperties(v map[string]*string) *WorkflowRun {
44146	s.WorkflowRunProperties = v
44147	return s
44148}
44149
44150// Workflow run statistics provides statistics about the workflow run.
44151type WorkflowRunStatistics struct {
44152	_ struct{} `type:"structure"`
44153
44154	// Total number of Actions that have failed.
44155	FailedActions *int64 `type:"integer"`
44156
44157	// Total number Actions in running state.
44158	RunningActions *int64 `type:"integer"`
44159
44160	// Total number of Actions that have stopped.
44161	StoppedActions *int64 `type:"integer"`
44162
44163	// Total number of Actions that have succeeded.
44164	SucceededActions *int64 `type:"integer"`
44165
44166	// Total number of Actions that timed out.
44167	TimeoutActions *int64 `type:"integer"`
44168
44169	// Total number of Actions in the workflow run.
44170	TotalActions *int64 `type:"integer"`
44171}
44172
44173// String returns the string representation
44174func (s WorkflowRunStatistics) String() string {
44175	return awsutil.Prettify(s)
44176}
44177
44178// GoString returns the string representation
44179func (s WorkflowRunStatistics) GoString() string {
44180	return s.String()
44181}
44182
44183// SetFailedActions sets the FailedActions field's value.
44184func (s *WorkflowRunStatistics) SetFailedActions(v int64) *WorkflowRunStatistics {
44185	s.FailedActions = &v
44186	return s
44187}
44188
44189// SetRunningActions sets the RunningActions field's value.
44190func (s *WorkflowRunStatistics) SetRunningActions(v int64) *WorkflowRunStatistics {
44191	s.RunningActions = &v
44192	return s
44193}
44194
44195// SetStoppedActions sets the StoppedActions field's value.
44196func (s *WorkflowRunStatistics) SetStoppedActions(v int64) *WorkflowRunStatistics {
44197	s.StoppedActions = &v
44198	return s
44199}
44200
44201// SetSucceededActions sets the SucceededActions field's value.
44202func (s *WorkflowRunStatistics) SetSucceededActions(v int64) *WorkflowRunStatistics {
44203	s.SucceededActions = &v
44204	return s
44205}
44206
44207// SetTimeoutActions sets the TimeoutActions field's value.
44208func (s *WorkflowRunStatistics) SetTimeoutActions(v int64) *WorkflowRunStatistics {
44209	s.TimeoutActions = &v
44210	return s
44211}
44212
44213// SetTotalActions sets the TotalActions field's value.
44214func (s *WorkflowRunStatistics) SetTotalActions(v int64) *WorkflowRunStatistics {
44215	s.TotalActions = &v
44216	return s
44217}
44218
44219// A classifier for XML content.
44220type XMLClassifier struct {
44221	_ struct{} `type:"structure"`
44222
44223	// An identifier of the data format that the classifier matches.
44224	//
44225	// Classification is a required field
44226	Classification *string `type:"string" required:"true"`
44227
44228	// The time that this classifier was registered.
44229	CreationTime *time.Time `type:"timestamp"`
44230
44231	// The time that this classifier was last updated.
44232	LastUpdated *time.Time `type:"timestamp"`
44233
44234	// The name of the classifier.
44235	//
44236	// Name is a required field
44237	Name *string `min:"1" type:"string" required:"true"`
44238
44239	// The XML tag designating the element that contains each record in an XML document
44240	// being parsed. This can't identify a self-closing element (closed by />).
44241	// An empty row element that contains only attributes can be parsed as long
44242	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
44243	// is okay, but <row item_a="A" item_b="B" /> is not).
44244	RowTag *string `type:"string"`
44245
44246	// The version of this classifier.
44247	Version *int64 `type:"long"`
44248}
44249
44250// String returns the string representation
44251func (s XMLClassifier) String() string {
44252	return awsutil.Prettify(s)
44253}
44254
44255// GoString returns the string representation
44256func (s XMLClassifier) GoString() string {
44257	return s.String()
44258}
44259
44260// SetClassification sets the Classification field's value.
44261func (s *XMLClassifier) SetClassification(v string) *XMLClassifier {
44262	s.Classification = &v
44263	return s
44264}
44265
44266// SetCreationTime sets the CreationTime field's value.
44267func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier {
44268	s.CreationTime = &v
44269	return s
44270}
44271
44272// SetLastUpdated sets the LastUpdated field's value.
44273func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier {
44274	s.LastUpdated = &v
44275	return s
44276}
44277
44278// SetName sets the Name field's value.
44279func (s *XMLClassifier) SetName(v string) *XMLClassifier {
44280	s.Name = &v
44281	return s
44282}
44283
44284// SetRowTag sets the RowTag field's value.
44285func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier {
44286	s.RowTag = &v
44287	return s
44288}
44289
44290// SetVersion sets the Version field's value.
44291func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier {
44292	s.Version = &v
44293	return s
44294}
44295
44296const (
44297	// BackfillErrorCodeEncryptedPartitionError is a BackfillErrorCode enum value
44298	BackfillErrorCodeEncryptedPartitionError = "ENCRYPTED_PARTITION_ERROR"
44299
44300	// BackfillErrorCodeInternalError is a BackfillErrorCode enum value
44301	BackfillErrorCodeInternalError = "INTERNAL_ERROR"
44302
44303	// BackfillErrorCodeInvalidPartitionTypeDataError is a BackfillErrorCode enum value
44304	BackfillErrorCodeInvalidPartitionTypeDataError = "INVALID_PARTITION_TYPE_DATA_ERROR"
44305
44306	// BackfillErrorCodeMissingPartitionValueError is a BackfillErrorCode enum value
44307	BackfillErrorCodeMissingPartitionValueError = "MISSING_PARTITION_VALUE_ERROR"
44308
44309	// BackfillErrorCodeUnsupportedPartitionCharacterError is a BackfillErrorCode enum value
44310	BackfillErrorCodeUnsupportedPartitionCharacterError = "UNSUPPORTED_PARTITION_CHARACTER_ERROR"
44311)
44312
44313// BackfillErrorCode_Values returns all elements of the BackfillErrorCode enum
44314func BackfillErrorCode_Values() []string {
44315	return []string{
44316		BackfillErrorCodeEncryptedPartitionError,
44317		BackfillErrorCodeInternalError,
44318		BackfillErrorCodeInvalidPartitionTypeDataError,
44319		BackfillErrorCodeMissingPartitionValueError,
44320		BackfillErrorCodeUnsupportedPartitionCharacterError,
44321	}
44322}
44323
44324const (
44325	// CatalogEncryptionModeDisabled is a CatalogEncryptionMode enum value
44326	CatalogEncryptionModeDisabled = "DISABLED"
44327
44328	// CatalogEncryptionModeSseKms is a CatalogEncryptionMode enum value
44329	CatalogEncryptionModeSseKms = "SSE-KMS"
44330)
44331
44332// CatalogEncryptionMode_Values returns all elements of the CatalogEncryptionMode enum
44333func CatalogEncryptionMode_Values() []string {
44334	return []string{
44335		CatalogEncryptionModeDisabled,
44336		CatalogEncryptionModeSseKms,
44337	}
44338}
44339
44340const (
44341	// CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value
44342	CloudWatchEncryptionModeDisabled = "DISABLED"
44343
44344	// CloudWatchEncryptionModeSseKms is a CloudWatchEncryptionMode enum value
44345	CloudWatchEncryptionModeSseKms = "SSE-KMS"
44346)
44347
44348// CloudWatchEncryptionMode_Values returns all elements of the CloudWatchEncryptionMode enum
44349func CloudWatchEncryptionMode_Values() []string {
44350	return []string{
44351		CloudWatchEncryptionModeDisabled,
44352		CloudWatchEncryptionModeSseKms,
44353	}
44354}
44355
44356const (
44357	// ColumnStatisticsTypeBoolean is a ColumnStatisticsType enum value
44358	ColumnStatisticsTypeBoolean = "BOOLEAN"
44359
44360	// ColumnStatisticsTypeDate is a ColumnStatisticsType enum value
44361	ColumnStatisticsTypeDate = "DATE"
44362
44363	// ColumnStatisticsTypeDecimal is a ColumnStatisticsType enum value
44364	ColumnStatisticsTypeDecimal = "DECIMAL"
44365
44366	// ColumnStatisticsTypeDouble is a ColumnStatisticsType enum value
44367	ColumnStatisticsTypeDouble = "DOUBLE"
44368
44369	// ColumnStatisticsTypeLong is a ColumnStatisticsType enum value
44370	ColumnStatisticsTypeLong = "LONG"
44371
44372	// ColumnStatisticsTypeString is a ColumnStatisticsType enum value
44373	ColumnStatisticsTypeString = "STRING"
44374
44375	// ColumnStatisticsTypeBinary is a ColumnStatisticsType enum value
44376	ColumnStatisticsTypeBinary = "BINARY"
44377)
44378
44379// ColumnStatisticsType_Values returns all elements of the ColumnStatisticsType enum
44380func ColumnStatisticsType_Values() []string {
44381	return []string{
44382		ColumnStatisticsTypeBoolean,
44383		ColumnStatisticsTypeDate,
44384		ColumnStatisticsTypeDecimal,
44385		ColumnStatisticsTypeDouble,
44386		ColumnStatisticsTypeLong,
44387		ColumnStatisticsTypeString,
44388		ColumnStatisticsTypeBinary,
44389	}
44390}
44391
44392const (
44393	// ComparatorEquals is a Comparator enum value
44394	ComparatorEquals = "EQUALS"
44395
44396	// ComparatorGreaterThan is a Comparator enum value
44397	ComparatorGreaterThan = "GREATER_THAN"
44398
44399	// ComparatorLessThan is a Comparator enum value
44400	ComparatorLessThan = "LESS_THAN"
44401
44402	// ComparatorGreaterThanEquals is a Comparator enum value
44403	ComparatorGreaterThanEquals = "GREATER_THAN_EQUALS"
44404
44405	// ComparatorLessThanEquals is a Comparator enum value
44406	ComparatorLessThanEquals = "LESS_THAN_EQUALS"
44407)
44408
44409// Comparator_Values returns all elements of the Comparator enum
44410func Comparator_Values() []string {
44411	return []string{
44412		ComparatorEquals,
44413		ComparatorGreaterThan,
44414		ComparatorLessThan,
44415		ComparatorGreaterThanEquals,
44416		ComparatorLessThanEquals,
44417	}
44418}
44419
44420const (
44421	// CompatibilityNone is a Compatibility enum value
44422	CompatibilityNone = "NONE"
44423
44424	// CompatibilityDisabled is a Compatibility enum value
44425	CompatibilityDisabled = "DISABLED"
44426
44427	// CompatibilityBackward is a Compatibility enum value
44428	CompatibilityBackward = "BACKWARD"
44429
44430	// CompatibilityBackwardAll is a Compatibility enum value
44431	CompatibilityBackwardAll = "BACKWARD_ALL"
44432
44433	// CompatibilityForward is a Compatibility enum value
44434	CompatibilityForward = "FORWARD"
44435
44436	// CompatibilityForwardAll is a Compatibility enum value
44437	CompatibilityForwardAll = "FORWARD_ALL"
44438
44439	// CompatibilityFull is a Compatibility enum value
44440	CompatibilityFull = "FULL"
44441
44442	// CompatibilityFullAll is a Compatibility enum value
44443	CompatibilityFullAll = "FULL_ALL"
44444)
44445
44446// Compatibility_Values returns all elements of the Compatibility enum
44447func Compatibility_Values() []string {
44448	return []string{
44449		CompatibilityNone,
44450		CompatibilityDisabled,
44451		CompatibilityBackward,
44452		CompatibilityBackwardAll,
44453		CompatibilityForward,
44454		CompatibilityForwardAll,
44455		CompatibilityFull,
44456		CompatibilityFullAll,
44457	}
44458}
44459
44460const (
44461	// ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value
44462	ConnectionPropertyKeyHost = "HOST"
44463
44464	// ConnectionPropertyKeyPort is a ConnectionPropertyKey enum value
44465	ConnectionPropertyKeyPort = "PORT"
44466
44467	// ConnectionPropertyKeyUsername is a ConnectionPropertyKey enum value
44468	ConnectionPropertyKeyUsername = "USERNAME"
44469
44470	// ConnectionPropertyKeyPassword is a ConnectionPropertyKey enum value
44471	ConnectionPropertyKeyPassword = "PASSWORD"
44472
44473	// ConnectionPropertyKeyEncryptedPassword is a ConnectionPropertyKey enum value
44474	ConnectionPropertyKeyEncryptedPassword = "ENCRYPTED_PASSWORD"
44475
44476	// ConnectionPropertyKeyJdbcDriverJarUri is a ConnectionPropertyKey enum value
44477	ConnectionPropertyKeyJdbcDriverJarUri = "JDBC_DRIVER_JAR_URI"
44478
44479	// ConnectionPropertyKeyJdbcDriverClassName is a ConnectionPropertyKey enum value
44480	ConnectionPropertyKeyJdbcDriverClassName = "JDBC_DRIVER_CLASS_NAME"
44481
44482	// ConnectionPropertyKeyJdbcEngine is a ConnectionPropertyKey enum value
44483	ConnectionPropertyKeyJdbcEngine = "JDBC_ENGINE"
44484
44485	// ConnectionPropertyKeyJdbcEngineVersion is a ConnectionPropertyKey enum value
44486	ConnectionPropertyKeyJdbcEngineVersion = "JDBC_ENGINE_VERSION"
44487
44488	// ConnectionPropertyKeyConfigFiles is a ConnectionPropertyKey enum value
44489	ConnectionPropertyKeyConfigFiles = "CONFIG_FILES"
44490
44491	// ConnectionPropertyKeyInstanceId is a ConnectionPropertyKey enum value
44492	ConnectionPropertyKeyInstanceId = "INSTANCE_ID"
44493
44494	// ConnectionPropertyKeyJdbcConnectionUrl is a ConnectionPropertyKey enum value
44495	ConnectionPropertyKeyJdbcConnectionUrl = "JDBC_CONNECTION_URL"
44496
44497	// ConnectionPropertyKeyJdbcEnforceSsl is a ConnectionPropertyKey enum value
44498	ConnectionPropertyKeyJdbcEnforceSsl = "JDBC_ENFORCE_SSL"
44499
44500	// ConnectionPropertyKeyCustomJdbcCert is a ConnectionPropertyKey enum value
44501	ConnectionPropertyKeyCustomJdbcCert = "CUSTOM_JDBC_CERT"
44502
44503	// ConnectionPropertyKeySkipCustomJdbcCertValidation is a ConnectionPropertyKey enum value
44504	ConnectionPropertyKeySkipCustomJdbcCertValidation = "SKIP_CUSTOM_JDBC_CERT_VALIDATION"
44505
44506	// ConnectionPropertyKeyCustomJdbcCertString is a ConnectionPropertyKey enum value
44507	ConnectionPropertyKeyCustomJdbcCertString = "CUSTOM_JDBC_CERT_STRING"
44508
44509	// ConnectionPropertyKeyConnectionUrl is a ConnectionPropertyKey enum value
44510	ConnectionPropertyKeyConnectionUrl = "CONNECTION_URL"
44511
44512	// ConnectionPropertyKeyKafkaBootstrapServers is a ConnectionPropertyKey enum value
44513	ConnectionPropertyKeyKafkaBootstrapServers = "KAFKA_BOOTSTRAP_SERVERS"
44514
44515	// ConnectionPropertyKeyKafkaSslEnabled is a ConnectionPropertyKey enum value
44516	ConnectionPropertyKeyKafkaSslEnabled = "KAFKA_SSL_ENABLED"
44517
44518	// ConnectionPropertyKeyKafkaCustomCert is a ConnectionPropertyKey enum value
44519	ConnectionPropertyKeyKafkaCustomCert = "KAFKA_CUSTOM_CERT"
44520
44521	// ConnectionPropertyKeyKafkaSkipCustomCertValidation is a ConnectionPropertyKey enum value
44522	ConnectionPropertyKeyKafkaSkipCustomCertValidation = "KAFKA_SKIP_CUSTOM_CERT_VALIDATION"
44523
44524	// ConnectionPropertyKeySecretId is a ConnectionPropertyKey enum value
44525	ConnectionPropertyKeySecretId = "SECRET_ID"
44526
44527	// ConnectionPropertyKeyConnectorUrl is a ConnectionPropertyKey enum value
44528	ConnectionPropertyKeyConnectorUrl = "CONNECTOR_URL"
44529
44530	// ConnectionPropertyKeyConnectorType is a ConnectionPropertyKey enum value
44531	ConnectionPropertyKeyConnectorType = "CONNECTOR_TYPE"
44532
44533	// ConnectionPropertyKeyConnectorClassName is a ConnectionPropertyKey enum value
44534	ConnectionPropertyKeyConnectorClassName = "CONNECTOR_CLASS_NAME"
44535)
44536
44537// ConnectionPropertyKey_Values returns all elements of the ConnectionPropertyKey enum
44538func ConnectionPropertyKey_Values() []string {
44539	return []string{
44540		ConnectionPropertyKeyHost,
44541		ConnectionPropertyKeyPort,
44542		ConnectionPropertyKeyUsername,
44543		ConnectionPropertyKeyPassword,
44544		ConnectionPropertyKeyEncryptedPassword,
44545		ConnectionPropertyKeyJdbcDriverJarUri,
44546		ConnectionPropertyKeyJdbcDriverClassName,
44547		ConnectionPropertyKeyJdbcEngine,
44548		ConnectionPropertyKeyJdbcEngineVersion,
44549		ConnectionPropertyKeyConfigFiles,
44550		ConnectionPropertyKeyInstanceId,
44551		ConnectionPropertyKeyJdbcConnectionUrl,
44552		ConnectionPropertyKeyJdbcEnforceSsl,
44553		ConnectionPropertyKeyCustomJdbcCert,
44554		ConnectionPropertyKeySkipCustomJdbcCertValidation,
44555		ConnectionPropertyKeyCustomJdbcCertString,
44556		ConnectionPropertyKeyConnectionUrl,
44557		ConnectionPropertyKeyKafkaBootstrapServers,
44558		ConnectionPropertyKeyKafkaSslEnabled,
44559		ConnectionPropertyKeyKafkaCustomCert,
44560		ConnectionPropertyKeyKafkaSkipCustomCertValidation,
44561		ConnectionPropertyKeySecretId,
44562		ConnectionPropertyKeyConnectorUrl,
44563		ConnectionPropertyKeyConnectorType,
44564		ConnectionPropertyKeyConnectorClassName,
44565	}
44566}
44567
44568const (
44569	// ConnectionTypeJdbc is a ConnectionType enum value
44570	ConnectionTypeJdbc = "JDBC"
44571
44572	// ConnectionTypeSftp is a ConnectionType enum value
44573	ConnectionTypeSftp = "SFTP"
44574
44575	// ConnectionTypeMongodb is a ConnectionType enum value
44576	ConnectionTypeMongodb = "MONGODB"
44577
44578	// ConnectionTypeKafka is a ConnectionType enum value
44579	ConnectionTypeKafka = "KAFKA"
44580
44581	// ConnectionTypeNetwork is a ConnectionType enum value
44582	ConnectionTypeNetwork = "NETWORK"
44583
44584	// ConnectionTypeMarketplace is a ConnectionType enum value
44585	ConnectionTypeMarketplace = "MARKETPLACE"
44586
44587	// ConnectionTypeCustom is a ConnectionType enum value
44588	ConnectionTypeCustom = "CUSTOM"
44589)
44590
44591// ConnectionType_Values returns all elements of the ConnectionType enum
44592func ConnectionType_Values() []string {
44593	return []string{
44594		ConnectionTypeJdbc,
44595		ConnectionTypeSftp,
44596		ConnectionTypeMongodb,
44597		ConnectionTypeKafka,
44598		ConnectionTypeNetwork,
44599		ConnectionTypeMarketplace,
44600		ConnectionTypeCustom,
44601	}
44602}
44603
44604const (
44605	// CrawlStateRunning is a CrawlState enum value
44606	CrawlStateRunning = "RUNNING"
44607
44608	// CrawlStateCancelling is a CrawlState enum value
44609	CrawlStateCancelling = "CANCELLING"
44610
44611	// CrawlStateCancelled is a CrawlState enum value
44612	CrawlStateCancelled = "CANCELLED"
44613
44614	// CrawlStateSucceeded is a CrawlState enum value
44615	CrawlStateSucceeded = "SUCCEEDED"
44616
44617	// CrawlStateFailed is a CrawlState enum value
44618	CrawlStateFailed = "FAILED"
44619)
44620
44621// CrawlState_Values returns all elements of the CrawlState enum
44622func CrawlState_Values() []string {
44623	return []string{
44624		CrawlStateRunning,
44625		CrawlStateCancelling,
44626		CrawlStateCancelled,
44627		CrawlStateSucceeded,
44628		CrawlStateFailed,
44629	}
44630}
44631
44632const (
44633	// CrawlerLineageSettingsEnable is a CrawlerLineageSettings enum value
44634	CrawlerLineageSettingsEnable = "ENABLE"
44635
44636	// CrawlerLineageSettingsDisable is a CrawlerLineageSettings enum value
44637	CrawlerLineageSettingsDisable = "DISABLE"
44638)
44639
44640// CrawlerLineageSettings_Values returns all elements of the CrawlerLineageSettings enum
44641func CrawlerLineageSettings_Values() []string {
44642	return []string{
44643		CrawlerLineageSettingsEnable,
44644		CrawlerLineageSettingsDisable,
44645	}
44646}
44647
44648const (
44649	// CrawlerStateReady is a CrawlerState enum value
44650	CrawlerStateReady = "READY"
44651
44652	// CrawlerStateRunning is a CrawlerState enum value
44653	CrawlerStateRunning = "RUNNING"
44654
44655	// CrawlerStateStopping is a CrawlerState enum value
44656	CrawlerStateStopping = "STOPPING"
44657)
44658
44659// CrawlerState_Values returns all elements of the CrawlerState enum
44660func CrawlerState_Values() []string {
44661	return []string{
44662		CrawlerStateReady,
44663		CrawlerStateRunning,
44664		CrawlerStateStopping,
44665	}
44666}
44667
44668const (
44669	// CsvHeaderOptionUnknown is a CsvHeaderOption enum value
44670	CsvHeaderOptionUnknown = "UNKNOWN"
44671
44672	// CsvHeaderOptionPresent is a CsvHeaderOption enum value
44673	CsvHeaderOptionPresent = "PRESENT"
44674
44675	// CsvHeaderOptionAbsent is a CsvHeaderOption enum value
44676	CsvHeaderOptionAbsent = "ABSENT"
44677)
44678
44679// CsvHeaderOption_Values returns all elements of the CsvHeaderOption enum
44680func CsvHeaderOption_Values() []string {
44681	return []string{
44682		CsvHeaderOptionUnknown,
44683		CsvHeaderOptionPresent,
44684		CsvHeaderOptionAbsent,
44685	}
44686}
44687
44688const (
44689	// DataFormatAvro is a DataFormat enum value
44690	DataFormatAvro = "AVRO"
44691)
44692
44693// DataFormat_Values returns all elements of the DataFormat enum
44694func DataFormat_Values() []string {
44695	return []string{
44696		DataFormatAvro,
44697	}
44698}
44699
44700const (
44701	// DeleteBehaviorLog is a DeleteBehavior enum value
44702	DeleteBehaviorLog = "LOG"
44703
44704	// DeleteBehaviorDeleteFromDatabase is a DeleteBehavior enum value
44705	DeleteBehaviorDeleteFromDatabase = "DELETE_FROM_DATABASE"
44706
44707	// DeleteBehaviorDeprecateInDatabase is a DeleteBehavior enum value
44708	DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE"
44709)
44710
44711// DeleteBehavior_Values returns all elements of the DeleteBehavior enum
44712func DeleteBehavior_Values() []string {
44713	return []string{
44714		DeleteBehaviorLog,
44715		DeleteBehaviorDeleteFromDatabase,
44716		DeleteBehaviorDeprecateInDatabase,
44717	}
44718}
44719
44720const (
44721	// EnableHybridValuesTrue is a EnableHybridValues enum value
44722	EnableHybridValuesTrue = "TRUE"
44723
44724	// EnableHybridValuesFalse is a EnableHybridValues enum value
44725	EnableHybridValuesFalse = "FALSE"
44726)
44727
44728// EnableHybridValues_Values returns all elements of the EnableHybridValues enum
44729func EnableHybridValues_Values() []string {
44730	return []string{
44731		EnableHybridValuesTrue,
44732		EnableHybridValuesFalse,
44733	}
44734}
44735
44736const (
44737	// ExistConditionMustExist is a ExistCondition enum value
44738	ExistConditionMustExist = "MUST_EXIST"
44739
44740	// ExistConditionNotExist is a ExistCondition enum value
44741	ExistConditionNotExist = "NOT_EXIST"
44742
44743	// ExistConditionNone is a ExistCondition enum value
44744	ExistConditionNone = "NONE"
44745)
44746
44747// ExistCondition_Values returns all elements of the ExistCondition enum
44748func ExistCondition_Values() []string {
44749	return []string{
44750		ExistConditionMustExist,
44751		ExistConditionNotExist,
44752		ExistConditionNone,
44753	}
44754}
44755
44756const (
44757	// JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value
44758	JobBookmarksEncryptionModeDisabled = "DISABLED"
44759
44760	// JobBookmarksEncryptionModeCseKms is a JobBookmarksEncryptionMode enum value
44761	JobBookmarksEncryptionModeCseKms = "CSE-KMS"
44762)
44763
44764// JobBookmarksEncryptionMode_Values returns all elements of the JobBookmarksEncryptionMode enum
44765func JobBookmarksEncryptionMode_Values() []string {
44766	return []string{
44767		JobBookmarksEncryptionModeDisabled,
44768		JobBookmarksEncryptionModeCseKms,
44769	}
44770}
44771
44772const (
44773	// JobRunStateStarting is a JobRunState enum value
44774	JobRunStateStarting = "STARTING"
44775
44776	// JobRunStateRunning is a JobRunState enum value
44777	JobRunStateRunning = "RUNNING"
44778
44779	// JobRunStateStopping is a JobRunState enum value
44780	JobRunStateStopping = "STOPPING"
44781
44782	// JobRunStateStopped is a JobRunState enum value
44783	JobRunStateStopped = "STOPPED"
44784
44785	// JobRunStateSucceeded is a JobRunState enum value
44786	JobRunStateSucceeded = "SUCCEEDED"
44787
44788	// JobRunStateFailed is a JobRunState enum value
44789	JobRunStateFailed = "FAILED"
44790
44791	// JobRunStateTimeout is a JobRunState enum value
44792	JobRunStateTimeout = "TIMEOUT"
44793)
44794
44795// JobRunState_Values returns all elements of the JobRunState enum
44796func JobRunState_Values() []string {
44797	return []string{
44798		JobRunStateStarting,
44799		JobRunStateRunning,
44800		JobRunStateStopping,
44801		JobRunStateStopped,
44802		JobRunStateSucceeded,
44803		JobRunStateFailed,
44804		JobRunStateTimeout,
44805	}
44806}
44807
44808const (
44809	// LanguagePython is a Language enum value
44810	LanguagePython = "PYTHON"
44811
44812	// LanguageScala is a Language enum value
44813	LanguageScala = "SCALA"
44814)
44815
44816// Language_Values returns all elements of the Language enum
44817func Language_Values() []string {
44818	return []string{
44819		LanguagePython,
44820		LanguageScala,
44821	}
44822}
44823
44824const (
44825	// LastCrawlStatusSucceeded is a LastCrawlStatus enum value
44826	LastCrawlStatusSucceeded = "SUCCEEDED"
44827
44828	// LastCrawlStatusCancelled is a LastCrawlStatus enum value
44829	LastCrawlStatusCancelled = "CANCELLED"
44830
44831	// LastCrawlStatusFailed is a LastCrawlStatus enum value
44832	LastCrawlStatusFailed = "FAILED"
44833)
44834
44835// LastCrawlStatus_Values returns all elements of the LastCrawlStatus enum
44836func LastCrawlStatus_Values() []string {
44837	return []string{
44838		LastCrawlStatusSucceeded,
44839		LastCrawlStatusCancelled,
44840		LastCrawlStatusFailed,
44841	}
44842}
44843
44844const (
44845	// LogicalAnd is a Logical enum value
44846	LogicalAnd = "AND"
44847
44848	// LogicalAny is a Logical enum value
44849	LogicalAny = "ANY"
44850)
44851
44852// Logical_Values returns all elements of the Logical enum
44853func Logical_Values() []string {
44854	return []string{
44855		LogicalAnd,
44856		LogicalAny,
44857	}
44858}
44859
44860const (
44861	// LogicalOperatorEquals is a LogicalOperator enum value
44862	LogicalOperatorEquals = "EQUALS"
44863)
44864
44865// LogicalOperator_Values returns all elements of the LogicalOperator enum
44866func LogicalOperator_Values() []string {
44867	return []string{
44868		LogicalOperatorEquals,
44869	}
44870}
44871
44872const (
44873	// MLUserDataEncryptionModeStringDisabled is a MLUserDataEncryptionModeString enum value
44874	MLUserDataEncryptionModeStringDisabled = "DISABLED"
44875
44876	// MLUserDataEncryptionModeStringSseKms is a MLUserDataEncryptionModeString enum value
44877	MLUserDataEncryptionModeStringSseKms = "SSE-KMS"
44878)
44879
44880// MLUserDataEncryptionModeString_Values returns all elements of the MLUserDataEncryptionModeString enum
44881func MLUserDataEncryptionModeString_Values() []string {
44882	return []string{
44883		MLUserDataEncryptionModeStringDisabled,
44884		MLUserDataEncryptionModeStringSseKms,
44885	}
44886}
44887
44888const (
44889	// NodeTypeCrawler is a NodeType enum value
44890	NodeTypeCrawler = "CRAWLER"
44891
44892	// NodeTypeJob is a NodeType enum value
44893	NodeTypeJob = "JOB"
44894
44895	// NodeTypeTrigger is a NodeType enum value
44896	NodeTypeTrigger = "TRIGGER"
44897)
44898
44899// NodeType_Values returns all elements of the NodeType enum
44900func NodeType_Values() []string {
44901	return []string{
44902		NodeTypeCrawler,
44903		NodeTypeJob,
44904		NodeTypeTrigger,
44905	}
44906}
44907
44908const (
44909	// PartitionIndexStatusCreating is a PartitionIndexStatus enum value
44910	PartitionIndexStatusCreating = "CREATING"
44911
44912	// PartitionIndexStatusActive is a PartitionIndexStatus enum value
44913	PartitionIndexStatusActive = "ACTIVE"
44914
44915	// PartitionIndexStatusDeleting is a PartitionIndexStatus enum value
44916	PartitionIndexStatusDeleting = "DELETING"
44917
44918	// PartitionIndexStatusFailed is a PartitionIndexStatus enum value
44919	PartitionIndexStatusFailed = "FAILED"
44920)
44921
44922// PartitionIndexStatus_Values returns all elements of the PartitionIndexStatus enum
44923func PartitionIndexStatus_Values() []string {
44924	return []string{
44925		PartitionIndexStatusCreating,
44926		PartitionIndexStatusActive,
44927		PartitionIndexStatusDeleting,
44928		PartitionIndexStatusFailed,
44929	}
44930}
44931
44932const (
44933	// PermissionAll is a Permission enum value
44934	PermissionAll = "ALL"
44935
44936	// PermissionSelect is a Permission enum value
44937	PermissionSelect = "SELECT"
44938
44939	// PermissionAlter is a Permission enum value
44940	PermissionAlter = "ALTER"
44941
44942	// PermissionDrop is a Permission enum value
44943	PermissionDrop = "DROP"
44944
44945	// PermissionDelete is a Permission enum value
44946	PermissionDelete = "DELETE"
44947
44948	// PermissionInsert is a Permission enum value
44949	PermissionInsert = "INSERT"
44950
44951	// PermissionCreateDatabase is a Permission enum value
44952	PermissionCreateDatabase = "CREATE_DATABASE"
44953
44954	// PermissionCreateTable is a Permission enum value
44955	PermissionCreateTable = "CREATE_TABLE"
44956
44957	// PermissionDataLocationAccess is a Permission enum value
44958	PermissionDataLocationAccess = "DATA_LOCATION_ACCESS"
44959)
44960
44961// Permission_Values returns all elements of the Permission enum
44962func Permission_Values() []string {
44963	return []string{
44964		PermissionAll,
44965		PermissionSelect,
44966		PermissionAlter,
44967		PermissionDrop,
44968		PermissionDelete,
44969		PermissionInsert,
44970		PermissionCreateDatabase,
44971		PermissionCreateTable,
44972		PermissionDataLocationAccess,
44973	}
44974}
44975
44976const (
44977	// PrincipalTypeUser is a PrincipalType enum value
44978	PrincipalTypeUser = "USER"
44979
44980	// PrincipalTypeRole is a PrincipalType enum value
44981	PrincipalTypeRole = "ROLE"
44982
44983	// PrincipalTypeGroup is a PrincipalType enum value
44984	PrincipalTypeGroup = "GROUP"
44985)
44986
44987// PrincipalType_Values returns all elements of the PrincipalType enum
44988func PrincipalType_Values() []string {
44989	return []string{
44990		PrincipalTypeUser,
44991		PrincipalTypeRole,
44992		PrincipalTypeGroup,
44993	}
44994}
44995
44996const (
44997	// RecrawlBehaviorCrawlEverything is a RecrawlBehavior enum value
44998	RecrawlBehaviorCrawlEverything = "CRAWL_EVERYTHING"
44999
45000	// RecrawlBehaviorCrawlNewFoldersOnly is a RecrawlBehavior enum value
45001	RecrawlBehaviorCrawlNewFoldersOnly = "CRAWL_NEW_FOLDERS_ONLY"
45002)
45003
45004// RecrawlBehavior_Values returns all elements of the RecrawlBehavior enum
45005func RecrawlBehavior_Values() []string {
45006	return []string{
45007		RecrawlBehaviorCrawlEverything,
45008		RecrawlBehaviorCrawlNewFoldersOnly,
45009	}
45010}
45011
45012const (
45013	// RegistryStatusAvailable is a RegistryStatus enum value
45014	RegistryStatusAvailable = "AVAILABLE"
45015
45016	// RegistryStatusDeleting is a RegistryStatus enum value
45017	RegistryStatusDeleting = "DELETING"
45018)
45019
45020// RegistryStatus_Values returns all elements of the RegistryStatus enum
45021func RegistryStatus_Values() []string {
45022	return []string{
45023		RegistryStatusAvailable,
45024		RegistryStatusDeleting,
45025	}
45026}
45027
45028const (
45029	// ResourceShareTypeForeign is a ResourceShareType enum value
45030	ResourceShareTypeForeign = "FOREIGN"
45031
45032	// ResourceShareTypeAll is a ResourceShareType enum value
45033	ResourceShareTypeAll = "ALL"
45034)
45035
45036// ResourceShareType_Values returns all elements of the ResourceShareType enum
45037func ResourceShareType_Values() []string {
45038	return []string{
45039		ResourceShareTypeForeign,
45040		ResourceShareTypeAll,
45041	}
45042}
45043
45044const (
45045	// ResourceTypeJar is a ResourceType enum value
45046	ResourceTypeJar = "JAR"
45047
45048	// ResourceTypeFile is a ResourceType enum value
45049	ResourceTypeFile = "FILE"
45050
45051	// ResourceTypeArchive is a ResourceType enum value
45052	ResourceTypeArchive = "ARCHIVE"
45053)
45054
45055// ResourceType_Values returns all elements of the ResourceType enum
45056func ResourceType_Values() []string {
45057	return []string{
45058		ResourceTypeJar,
45059		ResourceTypeFile,
45060		ResourceTypeArchive,
45061	}
45062}
45063
45064const (
45065	// S3EncryptionModeDisabled is a S3EncryptionMode enum value
45066	S3EncryptionModeDisabled = "DISABLED"
45067
45068	// S3EncryptionModeSseKms is a S3EncryptionMode enum value
45069	S3EncryptionModeSseKms = "SSE-KMS"
45070
45071	// S3EncryptionModeSseS3 is a S3EncryptionMode enum value
45072	S3EncryptionModeSseS3 = "SSE-S3"
45073)
45074
45075// S3EncryptionMode_Values returns all elements of the S3EncryptionMode enum
45076func S3EncryptionMode_Values() []string {
45077	return []string{
45078		S3EncryptionModeDisabled,
45079		S3EncryptionModeSseKms,
45080		S3EncryptionModeSseS3,
45081	}
45082}
45083
45084const (
45085	// ScheduleStateScheduled is a ScheduleState enum value
45086	ScheduleStateScheduled = "SCHEDULED"
45087
45088	// ScheduleStateNotScheduled is a ScheduleState enum value
45089	ScheduleStateNotScheduled = "NOT_SCHEDULED"
45090
45091	// ScheduleStateTransitioning is a ScheduleState enum value
45092	ScheduleStateTransitioning = "TRANSITIONING"
45093)
45094
45095// ScheduleState_Values returns all elements of the ScheduleState enum
45096func ScheduleState_Values() []string {
45097	return []string{
45098		ScheduleStateScheduled,
45099		ScheduleStateNotScheduled,
45100		ScheduleStateTransitioning,
45101	}
45102}
45103
45104const (
45105	// SchemaDiffTypeSyntaxDiff is a SchemaDiffType enum value
45106	SchemaDiffTypeSyntaxDiff = "SYNTAX_DIFF"
45107)
45108
45109// SchemaDiffType_Values returns all elements of the SchemaDiffType enum
45110func SchemaDiffType_Values() []string {
45111	return []string{
45112		SchemaDiffTypeSyntaxDiff,
45113	}
45114}
45115
45116const (
45117	// SchemaStatusAvailable is a SchemaStatus enum value
45118	SchemaStatusAvailable = "AVAILABLE"
45119
45120	// SchemaStatusPending is a SchemaStatus enum value
45121	SchemaStatusPending = "PENDING"
45122
45123	// SchemaStatusDeleting is a SchemaStatus enum value
45124	SchemaStatusDeleting = "DELETING"
45125)
45126
45127// SchemaStatus_Values returns all elements of the SchemaStatus enum
45128func SchemaStatus_Values() []string {
45129	return []string{
45130		SchemaStatusAvailable,
45131		SchemaStatusPending,
45132		SchemaStatusDeleting,
45133	}
45134}
45135
45136const (
45137	// SchemaVersionStatusAvailable is a SchemaVersionStatus enum value
45138	SchemaVersionStatusAvailable = "AVAILABLE"
45139
45140	// SchemaVersionStatusPending is a SchemaVersionStatus enum value
45141	SchemaVersionStatusPending = "PENDING"
45142
45143	// SchemaVersionStatusFailure is a SchemaVersionStatus enum value
45144	SchemaVersionStatusFailure = "FAILURE"
45145
45146	// SchemaVersionStatusDeleting is a SchemaVersionStatus enum value
45147	SchemaVersionStatusDeleting = "DELETING"
45148)
45149
45150// SchemaVersionStatus_Values returns all elements of the SchemaVersionStatus enum
45151func SchemaVersionStatus_Values() []string {
45152	return []string{
45153		SchemaVersionStatusAvailable,
45154		SchemaVersionStatusPending,
45155		SchemaVersionStatusFailure,
45156		SchemaVersionStatusDeleting,
45157	}
45158}
45159
45160const (
45161	// SortAsc is a Sort enum value
45162	SortAsc = "ASC"
45163
45164	// SortDesc is a Sort enum value
45165	SortDesc = "DESC"
45166)
45167
45168// Sort_Values returns all elements of the Sort enum
45169func Sort_Values() []string {
45170	return []string{
45171		SortAsc,
45172		SortDesc,
45173	}
45174}
45175
45176const (
45177	// SortDirectionTypeDescending is a SortDirectionType enum value
45178	SortDirectionTypeDescending = "DESCENDING"
45179
45180	// SortDirectionTypeAscending is a SortDirectionType enum value
45181	SortDirectionTypeAscending = "ASCENDING"
45182)
45183
45184// SortDirectionType_Values returns all elements of the SortDirectionType enum
45185func SortDirectionType_Values() []string {
45186	return []string{
45187		SortDirectionTypeDescending,
45188		SortDirectionTypeAscending,
45189	}
45190}
45191
45192const (
45193	// TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value
45194	TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE"
45195
45196	// TaskRunSortColumnTypeStatus is a TaskRunSortColumnType enum value
45197	TaskRunSortColumnTypeStatus = "STATUS"
45198
45199	// TaskRunSortColumnTypeStarted is a TaskRunSortColumnType enum value
45200	TaskRunSortColumnTypeStarted = "STARTED"
45201)
45202
45203// TaskRunSortColumnType_Values returns all elements of the TaskRunSortColumnType enum
45204func TaskRunSortColumnType_Values() []string {
45205	return []string{
45206		TaskRunSortColumnTypeTaskRunType,
45207		TaskRunSortColumnTypeStatus,
45208		TaskRunSortColumnTypeStarted,
45209	}
45210}
45211
45212const (
45213	// TaskStatusTypeStarting is a TaskStatusType enum value
45214	TaskStatusTypeStarting = "STARTING"
45215
45216	// TaskStatusTypeRunning is a TaskStatusType enum value
45217	TaskStatusTypeRunning = "RUNNING"
45218
45219	// TaskStatusTypeStopping is a TaskStatusType enum value
45220	TaskStatusTypeStopping = "STOPPING"
45221
45222	// TaskStatusTypeStopped is a TaskStatusType enum value
45223	TaskStatusTypeStopped = "STOPPED"
45224
45225	// TaskStatusTypeSucceeded is a TaskStatusType enum value
45226	TaskStatusTypeSucceeded = "SUCCEEDED"
45227
45228	// TaskStatusTypeFailed is a TaskStatusType enum value
45229	TaskStatusTypeFailed = "FAILED"
45230
45231	// TaskStatusTypeTimeout is a TaskStatusType enum value
45232	TaskStatusTypeTimeout = "TIMEOUT"
45233)
45234
45235// TaskStatusType_Values returns all elements of the TaskStatusType enum
45236func TaskStatusType_Values() []string {
45237	return []string{
45238		TaskStatusTypeStarting,
45239		TaskStatusTypeRunning,
45240		TaskStatusTypeStopping,
45241		TaskStatusTypeStopped,
45242		TaskStatusTypeSucceeded,
45243		TaskStatusTypeFailed,
45244		TaskStatusTypeTimeout,
45245	}
45246}
45247
45248const (
45249	// TaskTypeEvaluation is a TaskType enum value
45250	TaskTypeEvaluation = "EVALUATION"
45251
45252	// TaskTypeLabelingSetGeneration is a TaskType enum value
45253	TaskTypeLabelingSetGeneration = "LABELING_SET_GENERATION"
45254
45255	// TaskTypeImportLabels is a TaskType enum value
45256	TaskTypeImportLabels = "IMPORT_LABELS"
45257
45258	// TaskTypeExportLabels is a TaskType enum value
45259	TaskTypeExportLabels = "EXPORT_LABELS"
45260
45261	// TaskTypeFindMatches is a TaskType enum value
45262	TaskTypeFindMatches = "FIND_MATCHES"
45263)
45264
45265// TaskType_Values returns all elements of the TaskType enum
45266func TaskType_Values() []string {
45267	return []string{
45268		TaskTypeEvaluation,
45269		TaskTypeLabelingSetGeneration,
45270		TaskTypeImportLabels,
45271		TaskTypeExportLabels,
45272		TaskTypeFindMatches,
45273	}
45274}
45275
45276const (
45277	// TransformSortColumnTypeName is a TransformSortColumnType enum value
45278	TransformSortColumnTypeName = "NAME"
45279
45280	// TransformSortColumnTypeTransformType is a TransformSortColumnType enum value
45281	TransformSortColumnTypeTransformType = "TRANSFORM_TYPE"
45282
45283	// TransformSortColumnTypeStatus is a TransformSortColumnType enum value
45284	TransformSortColumnTypeStatus = "STATUS"
45285
45286	// TransformSortColumnTypeCreated is a TransformSortColumnType enum value
45287	TransformSortColumnTypeCreated = "CREATED"
45288
45289	// TransformSortColumnTypeLastModified is a TransformSortColumnType enum value
45290	TransformSortColumnTypeLastModified = "LAST_MODIFIED"
45291)
45292
45293// TransformSortColumnType_Values returns all elements of the TransformSortColumnType enum
45294func TransformSortColumnType_Values() []string {
45295	return []string{
45296		TransformSortColumnTypeName,
45297		TransformSortColumnTypeTransformType,
45298		TransformSortColumnTypeStatus,
45299		TransformSortColumnTypeCreated,
45300		TransformSortColumnTypeLastModified,
45301	}
45302}
45303
45304const (
45305	// TransformStatusTypeNotReady is a TransformStatusType enum value
45306	TransformStatusTypeNotReady = "NOT_READY"
45307
45308	// TransformStatusTypeReady is a TransformStatusType enum value
45309	TransformStatusTypeReady = "READY"
45310
45311	// TransformStatusTypeDeleting is a TransformStatusType enum value
45312	TransformStatusTypeDeleting = "DELETING"
45313)
45314
45315// TransformStatusType_Values returns all elements of the TransformStatusType enum
45316func TransformStatusType_Values() []string {
45317	return []string{
45318		TransformStatusTypeNotReady,
45319		TransformStatusTypeReady,
45320		TransformStatusTypeDeleting,
45321	}
45322}
45323
45324const (
45325	// TransformTypeFindMatches is a TransformType enum value
45326	TransformTypeFindMatches = "FIND_MATCHES"
45327)
45328
45329// TransformType_Values returns all elements of the TransformType enum
45330func TransformType_Values() []string {
45331	return []string{
45332		TransformTypeFindMatches,
45333	}
45334}
45335
45336const (
45337	// TriggerStateCreating is a TriggerState enum value
45338	TriggerStateCreating = "CREATING"
45339
45340	// TriggerStateCreated is a TriggerState enum value
45341	TriggerStateCreated = "CREATED"
45342
45343	// TriggerStateActivating is a TriggerState enum value
45344	TriggerStateActivating = "ACTIVATING"
45345
45346	// TriggerStateActivated is a TriggerState enum value
45347	TriggerStateActivated = "ACTIVATED"
45348
45349	// TriggerStateDeactivating is a TriggerState enum value
45350	TriggerStateDeactivating = "DEACTIVATING"
45351
45352	// TriggerStateDeactivated is a TriggerState enum value
45353	TriggerStateDeactivated = "DEACTIVATED"
45354
45355	// TriggerStateDeleting is a TriggerState enum value
45356	TriggerStateDeleting = "DELETING"
45357
45358	// TriggerStateUpdating is a TriggerState enum value
45359	TriggerStateUpdating = "UPDATING"
45360)
45361
45362// TriggerState_Values returns all elements of the TriggerState enum
45363func TriggerState_Values() []string {
45364	return []string{
45365		TriggerStateCreating,
45366		TriggerStateCreated,
45367		TriggerStateActivating,
45368		TriggerStateActivated,
45369		TriggerStateDeactivating,
45370		TriggerStateDeactivated,
45371		TriggerStateDeleting,
45372		TriggerStateUpdating,
45373	}
45374}
45375
45376const (
45377	// TriggerTypeScheduled is a TriggerType enum value
45378	TriggerTypeScheduled = "SCHEDULED"
45379
45380	// TriggerTypeConditional is a TriggerType enum value
45381	TriggerTypeConditional = "CONDITIONAL"
45382
45383	// TriggerTypeOnDemand is a TriggerType enum value
45384	TriggerTypeOnDemand = "ON_DEMAND"
45385)
45386
45387// TriggerType_Values returns all elements of the TriggerType enum
45388func TriggerType_Values() []string {
45389	return []string{
45390		TriggerTypeScheduled,
45391		TriggerTypeConditional,
45392		TriggerTypeOnDemand,
45393	}
45394}
45395
45396const (
45397	// UpdateBehaviorLog is a UpdateBehavior enum value
45398	UpdateBehaviorLog = "LOG"
45399
45400	// UpdateBehaviorUpdateInDatabase is a UpdateBehavior enum value
45401	UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE"
45402)
45403
45404// UpdateBehavior_Values returns all elements of the UpdateBehavior enum
45405func UpdateBehavior_Values() []string {
45406	return []string{
45407		UpdateBehaviorLog,
45408		UpdateBehaviorUpdateInDatabase,
45409	}
45410}
45411
45412const (
45413	// WorkerTypeStandard is a WorkerType enum value
45414	WorkerTypeStandard = "Standard"
45415
45416	// WorkerTypeG1x is a WorkerType enum value
45417	WorkerTypeG1x = "G.1X"
45418
45419	// WorkerTypeG2x is a WorkerType enum value
45420	WorkerTypeG2x = "G.2X"
45421)
45422
45423// WorkerType_Values returns all elements of the WorkerType enum
45424func WorkerType_Values() []string {
45425	return []string{
45426		WorkerTypeStandard,
45427		WorkerTypeG1x,
45428		WorkerTypeG2x,
45429	}
45430}
45431
45432const (
45433	// WorkflowRunStatusRunning is a WorkflowRunStatus enum value
45434	WorkflowRunStatusRunning = "RUNNING"
45435
45436	// WorkflowRunStatusCompleted is a WorkflowRunStatus enum value
45437	WorkflowRunStatusCompleted = "COMPLETED"
45438
45439	// WorkflowRunStatusStopping is a WorkflowRunStatus enum value
45440	WorkflowRunStatusStopping = "STOPPING"
45441
45442	// WorkflowRunStatusStopped is a WorkflowRunStatus enum value
45443	WorkflowRunStatusStopped = "STOPPED"
45444
45445	// WorkflowRunStatusError is a WorkflowRunStatus enum value
45446	WorkflowRunStatusError = "ERROR"
45447)
45448
45449// WorkflowRunStatus_Values returns all elements of the WorkflowRunStatus enum
45450func WorkflowRunStatus_Values() []string {
45451	return []string{
45452		WorkflowRunStatusRunning,
45453		WorkflowRunStatusCompleted,
45454		WorkflowRunStatusStopping,
45455		WorkflowRunStatusStopped,
45456		WorkflowRunStatusError,
45457	}
45458}
45459