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 opCancelMLTaskRun = "CancelMLTaskRun"
1085
1086// CancelMLTaskRunRequest generates a "aws/request.Request" representing the
1087// client's request for the CancelMLTaskRun 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 CancelMLTaskRun for more information on using the CancelMLTaskRun
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 CancelMLTaskRunRequest method.
1102//    req, resp := client.CancelMLTaskRunRequest(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/CancelMLTaskRun
1110func (c *Glue) CancelMLTaskRunRequest(input *CancelMLTaskRunInput) (req *request.Request, output *CancelMLTaskRunOutput) {
1111	op := &request.Operation{
1112		Name:       opCancelMLTaskRun,
1113		HTTPMethod: "POST",
1114		HTTPPath:   "/",
1115	}
1116
1117	if input == nil {
1118		input = &CancelMLTaskRunInput{}
1119	}
1120
1121	output = &CancelMLTaskRunOutput{}
1122	req = c.newRequest(op, input, output)
1123	return
1124}
1125
1126// CancelMLTaskRun API operation for AWS Glue.
1127//
1128// Cancels (stops) a task run. Machine learning task runs are asynchronous tasks
1129// that AWS Glue runs on your behalf as part of various machine learning workflows.
1130// You can cancel a machine learning task run at any time by calling CancelMLTaskRun
1131// with a task run's parent transform's TransformID and the task run's TaskRunId.
1132//
1133// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1134// with awserr.Error's Code and Message methods to get detailed information about
1135// the error.
1136//
1137// See the AWS API reference guide for AWS Glue's
1138// API operation CancelMLTaskRun for usage and error information.
1139//
1140// Returned Error Types:
1141//   * EntityNotFoundException
1142//   A specified entity does not exist
1143//
1144//   * InvalidInputException
1145//   The input provided was not valid.
1146//
1147//   * OperationTimeoutException
1148//   The operation timed out.
1149//
1150//   * InternalServiceException
1151//   An internal service error occurred.
1152//
1153// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun
1154func (c *Glue) CancelMLTaskRun(input *CancelMLTaskRunInput) (*CancelMLTaskRunOutput, error) {
1155	req, out := c.CancelMLTaskRunRequest(input)
1156	return out, req.Send()
1157}
1158
1159// CancelMLTaskRunWithContext is the same as CancelMLTaskRun with the addition of
1160// the ability to pass a context and additional request options.
1161//
1162// See CancelMLTaskRun 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) CancelMLTaskRunWithContext(ctx aws.Context, input *CancelMLTaskRunInput, opts ...request.Option) (*CancelMLTaskRunOutput, error) {
1169	req, out := c.CancelMLTaskRunRequest(input)
1170	req.SetContext(ctx)
1171	req.ApplyOptions(opts...)
1172	return out, req.Send()
1173}
1174
1175const opCreateClassifier = "CreateClassifier"
1176
1177// CreateClassifierRequest generates a "aws/request.Request" representing the
1178// client's request for the CreateClassifier 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 CreateClassifier for more information on using the CreateClassifier
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 CreateClassifierRequest method.
1193//    req, resp := client.CreateClassifierRequest(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/CreateClassifier
1201func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *request.Request, output *CreateClassifierOutput) {
1202	op := &request.Operation{
1203		Name:       opCreateClassifier,
1204		HTTPMethod: "POST",
1205		HTTPPath:   "/",
1206	}
1207
1208	if input == nil {
1209		input = &CreateClassifierInput{}
1210	}
1211
1212	output = &CreateClassifierOutput{}
1213	req = c.newRequest(op, input, output)
1214	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1215	return
1216}
1217
1218// CreateClassifier API operation for AWS Glue.
1219//
1220// Creates a classifier in the user's account. This can be a GrokClassifier,
1221// an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which
1222// field of the request is present.
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 CreateClassifier for usage and error information.
1230//
1231// Returned Error Types:
1232//   * AlreadyExistsException
1233//   A resource to be created or added already exists.
1234//
1235//   * InvalidInputException
1236//   The input provided was not valid.
1237//
1238//   * OperationTimeoutException
1239//   The operation timed out.
1240//
1241// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier
1242func (c *Glue) CreateClassifier(input *CreateClassifierInput) (*CreateClassifierOutput, error) {
1243	req, out := c.CreateClassifierRequest(input)
1244	return out, req.Send()
1245}
1246
1247// CreateClassifierWithContext is the same as CreateClassifier with the addition of
1248// the ability to pass a context and additional request options.
1249//
1250// See CreateClassifier for details on how to use this API operation.
1251//
1252// The context must be non-nil and will be used for request cancellation. If
1253// the context is nil a panic will occur. In the future the SDK may create
1254// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1255// for more information on using Contexts.
1256func (c *Glue) CreateClassifierWithContext(ctx aws.Context, input *CreateClassifierInput, opts ...request.Option) (*CreateClassifierOutput, error) {
1257	req, out := c.CreateClassifierRequest(input)
1258	req.SetContext(ctx)
1259	req.ApplyOptions(opts...)
1260	return out, req.Send()
1261}
1262
1263const opCreateConnection = "CreateConnection"
1264
1265// CreateConnectionRequest generates a "aws/request.Request" representing the
1266// client's request for the CreateConnection operation. The "output" return
1267// value will be populated with the request's response once the request completes
1268// successfully.
1269//
1270// Use "Send" method on the returned Request to send the API call to the service.
1271// the "output" return value is not valid until after Send returns without error.
1272//
1273// See CreateConnection for more information on using the CreateConnection
1274// API call, and error handling.
1275//
1276// This method is useful when you want to inject custom logic or configuration
1277// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1278//
1279//
1280//    // Example sending a request using the CreateConnectionRequest method.
1281//    req, resp := client.CreateConnectionRequest(params)
1282//
1283//    err := req.Send()
1284//    if err == nil { // resp is now filled
1285//        fmt.Println(resp)
1286//    }
1287//
1288// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection
1289func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) {
1290	op := &request.Operation{
1291		Name:       opCreateConnection,
1292		HTTPMethod: "POST",
1293		HTTPPath:   "/",
1294	}
1295
1296	if input == nil {
1297		input = &CreateConnectionInput{}
1298	}
1299
1300	output = &CreateConnectionOutput{}
1301	req = c.newRequest(op, input, output)
1302	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1303	return
1304}
1305
1306// CreateConnection API operation for AWS Glue.
1307//
1308// Creates a connection definition in the Data Catalog.
1309//
1310// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1311// with awserr.Error's Code and Message methods to get detailed information about
1312// the error.
1313//
1314// See the AWS API reference guide for AWS Glue's
1315// API operation CreateConnection for usage and error information.
1316//
1317// Returned Error Types:
1318//   * AlreadyExistsException
1319//   A resource to be created or added already exists.
1320//
1321//   * InvalidInputException
1322//   The input provided was not valid.
1323//
1324//   * OperationTimeoutException
1325//   The operation timed out.
1326//
1327//   * ResourceNumberLimitExceededException
1328//   A resource numerical limit was exceeded.
1329//
1330//   * EncryptionException
1331//   An encryption operation failed.
1332//
1333// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection
1334func (c *Glue) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) {
1335	req, out := c.CreateConnectionRequest(input)
1336	return out, req.Send()
1337}
1338
1339// CreateConnectionWithContext is the same as CreateConnection with the addition of
1340// the ability to pass a context and additional request options.
1341//
1342// See CreateConnection for details on how to use this API operation.
1343//
1344// The context must be non-nil and will be used for request cancellation. If
1345// the context is nil a panic will occur. In the future the SDK may create
1346// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1347// for more information on using Contexts.
1348func (c *Glue) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*CreateConnectionOutput, error) {
1349	req, out := c.CreateConnectionRequest(input)
1350	req.SetContext(ctx)
1351	req.ApplyOptions(opts...)
1352	return out, req.Send()
1353}
1354
1355const opCreateCrawler = "CreateCrawler"
1356
1357// CreateCrawlerRequest generates a "aws/request.Request" representing the
1358// client's request for the CreateCrawler operation. The "output" return
1359// value will be populated with the request's response once the request completes
1360// successfully.
1361//
1362// Use "Send" method on the returned Request to send the API call to the service.
1363// the "output" return value is not valid until after Send returns without error.
1364//
1365// See CreateCrawler for more information on using the CreateCrawler
1366// API call, and error handling.
1367//
1368// This method is useful when you want to inject custom logic or configuration
1369// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1370//
1371//
1372//    // Example sending a request using the CreateCrawlerRequest method.
1373//    req, resp := client.CreateCrawlerRequest(params)
1374//
1375//    err := req.Send()
1376//    if err == nil { // resp is now filled
1377//        fmt.Println(resp)
1378//    }
1379//
1380// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler
1381func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Request, output *CreateCrawlerOutput) {
1382	op := &request.Operation{
1383		Name:       opCreateCrawler,
1384		HTTPMethod: "POST",
1385		HTTPPath:   "/",
1386	}
1387
1388	if input == nil {
1389		input = &CreateCrawlerInput{}
1390	}
1391
1392	output = &CreateCrawlerOutput{}
1393	req = c.newRequest(op, input, output)
1394	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1395	return
1396}
1397
1398// CreateCrawler API operation for AWS Glue.
1399//
1400// Creates a new crawler with specified targets, role, configuration, and optional
1401// schedule. At least one crawl target must be specified, in the s3Targets field,
1402// the jdbcTargets field, or the DynamoDBTargets field.
1403//
1404// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1405// with awserr.Error's Code and Message methods to get detailed information about
1406// the error.
1407//
1408// See the AWS API reference guide for AWS Glue's
1409// API operation CreateCrawler for usage and error information.
1410//
1411// Returned Error Types:
1412//   * InvalidInputException
1413//   The input provided was not valid.
1414//
1415//   * AlreadyExistsException
1416//   A resource to be created or added already exists.
1417//
1418//   * OperationTimeoutException
1419//   The operation timed out.
1420//
1421//   * ResourceNumberLimitExceededException
1422//   A resource numerical limit was exceeded.
1423//
1424// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler
1425func (c *Glue) CreateCrawler(input *CreateCrawlerInput) (*CreateCrawlerOutput, error) {
1426	req, out := c.CreateCrawlerRequest(input)
1427	return out, req.Send()
1428}
1429
1430// CreateCrawlerWithContext is the same as CreateCrawler with the addition of
1431// the ability to pass a context and additional request options.
1432//
1433// See CreateCrawler for details on how to use this API operation.
1434//
1435// The context must be non-nil and will be used for request cancellation. If
1436// the context is nil a panic will occur. In the future the SDK may create
1437// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1438// for more information on using Contexts.
1439func (c *Glue) CreateCrawlerWithContext(ctx aws.Context, input *CreateCrawlerInput, opts ...request.Option) (*CreateCrawlerOutput, error) {
1440	req, out := c.CreateCrawlerRequest(input)
1441	req.SetContext(ctx)
1442	req.ApplyOptions(opts...)
1443	return out, req.Send()
1444}
1445
1446const opCreateDatabase = "CreateDatabase"
1447
1448// CreateDatabaseRequest generates a "aws/request.Request" representing the
1449// client's request for the CreateDatabase operation. The "output" return
1450// value will be populated with the request's response once the request completes
1451// successfully.
1452//
1453// Use "Send" method on the returned Request to send the API call to the service.
1454// the "output" return value is not valid until after Send returns without error.
1455//
1456// See CreateDatabase for more information on using the CreateDatabase
1457// API call, and error handling.
1458//
1459// This method is useful when you want to inject custom logic or configuration
1460// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1461//
1462//
1463//    // Example sending a request using the CreateDatabaseRequest method.
1464//    req, resp := client.CreateDatabaseRequest(params)
1465//
1466//    err := req.Send()
1467//    if err == nil { // resp is now filled
1468//        fmt.Println(resp)
1469//    }
1470//
1471// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase
1472func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) {
1473	op := &request.Operation{
1474		Name:       opCreateDatabase,
1475		HTTPMethod: "POST",
1476		HTTPPath:   "/",
1477	}
1478
1479	if input == nil {
1480		input = &CreateDatabaseInput{}
1481	}
1482
1483	output = &CreateDatabaseOutput{}
1484	req = c.newRequest(op, input, output)
1485	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1486	return
1487}
1488
1489// CreateDatabase API operation for AWS Glue.
1490//
1491// Creates a new database in a Data Catalog.
1492//
1493// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1494// with awserr.Error's Code and Message methods to get detailed information about
1495// the error.
1496//
1497// See the AWS API reference guide for AWS Glue's
1498// API operation CreateDatabase for usage and error information.
1499//
1500// Returned Error Types:
1501//   * InvalidInputException
1502//   The input provided was not valid.
1503//
1504//   * AlreadyExistsException
1505//   A resource to be created or added already exists.
1506//
1507//   * ResourceNumberLimitExceededException
1508//   A resource numerical limit was exceeded.
1509//
1510//   * InternalServiceException
1511//   An internal service error occurred.
1512//
1513//   * OperationTimeoutException
1514//   The operation timed out.
1515//
1516//   * EncryptionException
1517//   An encryption operation failed.
1518//
1519// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase
1520func (c *Glue) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) {
1521	req, out := c.CreateDatabaseRequest(input)
1522	return out, req.Send()
1523}
1524
1525// CreateDatabaseWithContext is the same as CreateDatabase with the addition of
1526// the ability to pass a context and additional request options.
1527//
1528// See CreateDatabase for details on how to use this API operation.
1529//
1530// The context must be non-nil and will be used for request cancellation. If
1531// the context is nil a panic will occur. In the future the SDK may create
1532// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1533// for more information on using Contexts.
1534func (c *Glue) CreateDatabaseWithContext(ctx aws.Context, input *CreateDatabaseInput, opts ...request.Option) (*CreateDatabaseOutput, error) {
1535	req, out := c.CreateDatabaseRequest(input)
1536	req.SetContext(ctx)
1537	req.ApplyOptions(opts...)
1538	return out, req.Send()
1539}
1540
1541const opCreateDevEndpoint = "CreateDevEndpoint"
1542
1543// CreateDevEndpointRequest generates a "aws/request.Request" representing the
1544// client's request for the CreateDevEndpoint operation. The "output" return
1545// value will be populated with the request's response once the request completes
1546// successfully.
1547//
1548// Use "Send" method on the returned Request to send the API call to the service.
1549// the "output" return value is not valid until after Send returns without error.
1550//
1551// See CreateDevEndpoint for more information on using the CreateDevEndpoint
1552// API call, and error handling.
1553//
1554// This method is useful when you want to inject custom logic or configuration
1555// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1556//
1557//
1558//    // Example sending a request using the CreateDevEndpointRequest method.
1559//    req, resp := client.CreateDevEndpointRequest(params)
1560//
1561//    err := req.Send()
1562//    if err == nil { // resp is now filled
1563//        fmt.Println(resp)
1564//    }
1565//
1566// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint
1567func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *request.Request, output *CreateDevEndpointOutput) {
1568	op := &request.Operation{
1569		Name:       opCreateDevEndpoint,
1570		HTTPMethod: "POST",
1571		HTTPPath:   "/",
1572	}
1573
1574	if input == nil {
1575		input = &CreateDevEndpointInput{}
1576	}
1577
1578	output = &CreateDevEndpointOutput{}
1579	req = c.newRequest(op, input, output)
1580	return
1581}
1582
1583// CreateDevEndpoint API operation for AWS Glue.
1584//
1585// Creates a new development endpoint.
1586//
1587// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1588// with awserr.Error's Code and Message methods to get detailed information about
1589// the error.
1590//
1591// See the AWS API reference guide for AWS Glue's
1592// API operation CreateDevEndpoint for usage and error information.
1593//
1594// Returned Error Types:
1595//   * AccessDeniedException
1596//   Access to a resource was denied.
1597//
1598//   * AlreadyExistsException
1599//   A resource to be created or added already exists.
1600//
1601//   * IdempotentParameterMismatchException
1602//   The same unique identifier was associated with two different records.
1603//
1604//   * InternalServiceException
1605//   An internal service error occurred.
1606//
1607//   * OperationTimeoutException
1608//   The operation timed out.
1609//
1610//   * InvalidInputException
1611//   The input provided was not valid.
1612//
1613//   * ValidationException
1614//   A value could not be validated.
1615//
1616//   * ResourceNumberLimitExceededException
1617//   A resource numerical limit was exceeded.
1618//
1619// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint
1620func (c *Glue) CreateDevEndpoint(input *CreateDevEndpointInput) (*CreateDevEndpointOutput, error) {
1621	req, out := c.CreateDevEndpointRequest(input)
1622	return out, req.Send()
1623}
1624
1625// CreateDevEndpointWithContext is the same as CreateDevEndpoint with the addition of
1626// the ability to pass a context and additional request options.
1627//
1628// See CreateDevEndpoint for details on how to use this API operation.
1629//
1630// The context must be non-nil and will be used for request cancellation. If
1631// the context is nil a panic will occur. In the future the SDK may create
1632// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1633// for more information on using Contexts.
1634func (c *Glue) CreateDevEndpointWithContext(ctx aws.Context, input *CreateDevEndpointInput, opts ...request.Option) (*CreateDevEndpointOutput, error) {
1635	req, out := c.CreateDevEndpointRequest(input)
1636	req.SetContext(ctx)
1637	req.ApplyOptions(opts...)
1638	return out, req.Send()
1639}
1640
1641const opCreateJob = "CreateJob"
1642
1643// CreateJobRequest generates a "aws/request.Request" representing the
1644// client's request for the CreateJob operation. The "output" return
1645// value will be populated with the request's response once the request completes
1646// successfully.
1647//
1648// Use "Send" method on the returned Request to send the API call to the service.
1649// the "output" return value is not valid until after Send returns without error.
1650//
1651// See CreateJob for more information on using the CreateJob
1652// API call, and error handling.
1653//
1654// This method is useful when you want to inject custom logic or configuration
1655// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1656//
1657//
1658//    // Example sending a request using the CreateJobRequest method.
1659//    req, resp := client.CreateJobRequest(params)
1660//
1661//    err := req.Send()
1662//    if err == nil { // resp is now filled
1663//        fmt.Println(resp)
1664//    }
1665//
1666// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob
1667func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) {
1668	op := &request.Operation{
1669		Name:       opCreateJob,
1670		HTTPMethod: "POST",
1671		HTTPPath:   "/",
1672	}
1673
1674	if input == nil {
1675		input = &CreateJobInput{}
1676	}
1677
1678	output = &CreateJobOutput{}
1679	req = c.newRequest(op, input, output)
1680	return
1681}
1682
1683// CreateJob API operation for AWS Glue.
1684//
1685// Creates a new job definition.
1686//
1687// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1688// with awserr.Error's Code and Message methods to get detailed information about
1689// the error.
1690//
1691// See the AWS API reference guide for AWS Glue's
1692// API operation CreateJob for usage and error information.
1693//
1694// Returned Error Types:
1695//   * InvalidInputException
1696//   The input provided was not valid.
1697//
1698//   * IdempotentParameterMismatchException
1699//   The same unique identifier was associated with two different records.
1700//
1701//   * AlreadyExistsException
1702//   A resource to be created or added already exists.
1703//
1704//   * InternalServiceException
1705//   An internal service error occurred.
1706//
1707//   * OperationTimeoutException
1708//   The operation timed out.
1709//
1710//   * ResourceNumberLimitExceededException
1711//   A resource numerical limit was exceeded.
1712//
1713//   * ConcurrentModificationException
1714//   Two processes are trying to modify a resource simultaneously.
1715//
1716// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob
1717func (c *Glue) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) {
1718	req, out := c.CreateJobRequest(input)
1719	return out, req.Send()
1720}
1721
1722// CreateJobWithContext is the same as CreateJob with the addition of
1723// the ability to pass a context and additional request options.
1724//
1725// See CreateJob for details on how to use this API operation.
1726//
1727// The context must be non-nil and will be used for request cancellation. If
1728// the context is nil a panic will occur. In the future the SDK may create
1729// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1730// for more information on using Contexts.
1731func (c *Glue) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error) {
1732	req, out := c.CreateJobRequest(input)
1733	req.SetContext(ctx)
1734	req.ApplyOptions(opts...)
1735	return out, req.Send()
1736}
1737
1738const opCreateMLTransform = "CreateMLTransform"
1739
1740// CreateMLTransformRequest generates a "aws/request.Request" representing the
1741// client's request for the CreateMLTransform operation. The "output" return
1742// value will be populated with the request's response once the request completes
1743// successfully.
1744//
1745// Use "Send" method on the returned Request to send the API call to the service.
1746// the "output" return value is not valid until after Send returns without error.
1747//
1748// See CreateMLTransform for more information on using the CreateMLTransform
1749// API call, and error handling.
1750//
1751// This method is useful when you want to inject custom logic or configuration
1752// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1753//
1754//
1755//    // Example sending a request using the CreateMLTransformRequest method.
1756//    req, resp := client.CreateMLTransformRequest(params)
1757//
1758//    err := req.Send()
1759//    if err == nil { // resp is now filled
1760//        fmt.Println(resp)
1761//    }
1762//
1763// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform
1764func (c *Glue) CreateMLTransformRequest(input *CreateMLTransformInput) (req *request.Request, output *CreateMLTransformOutput) {
1765	op := &request.Operation{
1766		Name:       opCreateMLTransform,
1767		HTTPMethod: "POST",
1768		HTTPPath:   "/",
1769	}
1770
1771	if input == nil {
1772		input = &CreateMLTransformInput{}
1773	}
1774
1775	output = &CreateMLTransformOutput{}
1776	req = c.newRequest(op, input, output)
1777	return
1778}
1779
1780// CreateMLTransform API operation for AWS Glue.
1781//
1782// Creates an AWS Glue machine learning transform. This operation creates the
1783// transform and all the necessary parameters to train it.
1784//
1785// Call this operation as the first step in the process of using a machine learning
1786// transform (such as the FindMatches transform) for deduplicating data. You
1787// can provide an optional Description, in addition to the parameters that you
1788// want to use for your algorithm.
1789//
1790// You must also specify certain parameters for the tasks that AWS Glue runs
1791// on your behalf as part of learning from your data and creating a high-quality
1792// machine learning transform. These parameters include Role, and optionally,
1793// AllocatedCapacity, Timeout, and MaxRetries. For more information, see Jobs
1794// (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html).
1795//
1796// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1797// with awserr.Error's Code and Message methods to get detailed information about
1798// the error.
1799//
1800// See the AWS API reference guide for AWS Glue's
1801// API operation CreateMLTransform for usage and error information.
1802//
1803// Returned Error Types:
1804//   * AlreadyExistsException
1805//   A resource to be created or added already exists.
1806//
1807//   * InvalidInputException
1808//   The input provided was not valid.
1809//
1810//   * OperationTimeoutException
1811//   The operation timed out.
1812//
1813//   * InternalServiceException
1814//   An internal service error occurred.
1815//
1816//   * AccessDeniedException
1817//   Access to a resource was denied.
1818//
1819//   * ResourceNumberLimitExceededException
1820//   A resource numerical limit was exceeded.
1821//
1822//   * IdempotentParameterMismatchException
1823//   The same unique identifier was associated with two different records.
1824//
1825// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform
1826func (c *Glue) CreateMLTransform(input *CreateMLTransformInput) (*CreateMLTransformOutput, error) {
1827	req, out := c.CreateMLTransformRequest(input)
1828	return out, req.Send()
1829}
1830
1831// CreateMLTransformWithContext is the same as CreateMLTransform with the addition of
1832// the ability to pass a context and additional request options.
1833//
1834// See CreateMLTransform for details on how to use this API operation.
1835//
1836// The context must be non-nil and will be used for request cancellation. If
1837// the context is nil a panic will occur. In the future the SDK may create
1838// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1839// for more information on using Contexts.
1840func (c *Glue) CreateMLTransformWithContext(ctx aws.Context, input *CreateMLTransformInput, opts ...request.Option) (*CreateMLTransformOutput, error) {
1841	req, out := c.CreateMLTransformRequest(input)
1842	req.SetContext(ctx)
1843	req.ApplyOptions(opts...)
1844	return out, req.Send()
1845}
1846
1847const opCreatePartition = "CreatePartition"
1848
1849// CreatePartitionRequest generates a "aws/request.Request" representing the
1850// client's request for the CreatePartition operation. The "output" return
1851// value will be populated with the request's response once the request completes
1852// successfully.
1853//
1854// Use "Send" method on the returned Request to send the API call to the service.
1855// the "output" return value is not valid until after Send returns without error.
1856//
1857// See CreatePartition for more information on using the CreatePartition
1858// API call, and error handling.
1859//
1860// This method is useful when you want to inject custom logic or configuration
1861// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1862//
1863//
1864//    // Example sending a request using the CreatePartitionRequest method.
1865//    req, resp := client.CreatePartitionRequest(params)
1866//
1867//    err := req.Send()
1868//    if err == nil { // resp is now filled
1869//        fmt.Println(resp)
1870//    }
1871//
1872// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition
1873func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request.Request, output *CreatePartitionOutput) {
1874	op := &request.Operation{
1875		Name:       opCreatePartition,
1876		HTTPMethod: "POST",
1877		HTTPPath:   "/",
1878	}
1879
1880	if input == nil {
1881		input = &CreatePartitionInput{}
1882	}
1883
1884	output = &CreatePartitionOutput{}
1885	req = c.newRequest(op, input, output)
1886	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1887	return
1888}
1889
1890// CreatePartition API operation for AWS Glue.
1891//
1892// Creates a new partition.
1893//
1894// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1895// with awserr.Error's Code and Message methods to get detailed information about
1896// the error.
1897//
1898// See the AWS API reference guide for AWS Glue's
1899// API operation CreatePartition for usage and error information.
1900//
1901// Returned Error Types:
1902//   * InvalidInputException
1903//   The input provided was not valid.
1904//
1905//   * AlreadyExistsException
1906//   A resource to be created or added already exists.
1907//
1908//   * ResourceNumberLimitExceededException
1909//   A resource numerical limit was exceeded.
1910//
1911//   * InternalServiceException
1912//   An internal service error occurred.
1913//
1914//   * EntityNotFoundException
1915//   A specified entity does not exist
1916//
1917//   * OperationTimeoutException
1918//   The operation timed out.
1919//
1920//   * EncryptionException
1921//   An encryption operation failed.
1922//
1923// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition
1924func (c *Glue) CreatePartition(input *CreatePartitionInput) (*CreatePartitionOutput, error) {
1925	req, out := c.CreatePartitionRequest(input)
1926	return out, req.Send()
1927}
1928
1929// CreatePartitionWithContext is the same as CreatePartition with the addition of
1930// the ability to pass a context and additional request options.
1931//
1932// See CreatePartition for details on how to use this API operation.
1933//
1934// The context must be non-nil and will be used for request cancellation. If
1935// the context is nil a panic will occur. In the future the SDK may create
1936// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1937// for more information on using Contexts.
1938func (c *Glue) CreatePartitionWithContext(ctx aws.Context, input *CreatePartitionInput, opts ...request.Option) (*CreatePartitionOutput, error) {
1939	req, out := c.CreatePartitionRequest(input)
1940	req.SetContext(ctx)
1941	req.ApplyOptions(opts...)
1942	return out, req.Send()
1943}
1944
1945const opCreateScript = "CreateScript"
1946
1947// CreateScriptRequest generates a "aws/request.Request" representing the
1948// client's request for the CreateScript operation. The "output" return
1949// value will be populated with the request's response once the request completes
1950// successfully.
1951//
1952// Use "Send" method on the returned Request to send the API call to the service.
1953// the "output" return value is not valid until after Send returns without error.
1954//
1955// See CreateScript for more information on using the CreateScript
1956// API call, and error handling.
1957//
1958// This method is useful when you want to inject custom logic or configuration
1959// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1960//
1961//
1962//    // Example sending a request using the CreateScriptRequest method.
1963//    req, resp := client.CreateScriptRequest(params)
1964//
1965//    err := req.Send()
1966//    if err == nil { // resp is now filled
1967//        fmt.Println(resp)
1968//    }
1969//
1970// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript
1971func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) {
1972	op := &request.Operation{
1973		Name:       opCreateScript,
1974		HTTPMethod: "POST",
1975		HTTPPath:   "/",
1976	}
1977
1978	if input == nil {
1979		input = &CreateScriptInput{}
1980	}
1981
1982	output = &CreateScriptOutput{}
1983	req = c.newRequest(op, input, output)
1984	return
1985}
1986
1987// CreateScript API operation for AWS Glue.
1988//
1989// Transforms a directed acyclic graph (DAG) into code.
1990//
1991// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1992// with awserr.Error's Code and Message methods to get detailed information about
1993// the error.
1994//
1995// See the AWS API reference guide for AWS Glue's
1996// API operation CreateScript for usage and error information.
1997//
1998// Returned Error Types:
1999//   * InvalidInputException
2000//   The input provided was not valid.
2001//
2002//   * InternalServiceException
2003//   An internal service error occurred.
2004//
2005//   * OperationTimeoutException
2006//   The operation timed out.
2007//
2008// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript
2009func (c *Glue) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) {
2010	req, out := c.CreateScriptRequest(input)
2011	return out, req.Send()
2012}
2013
2014// CreateScriptWithContext is the same as CreateScript with the addition of
2015// the ability to pass a context and additional request options.
2016//
2017// See CreateScript for details on how to use this API operation.
2018//
2019// The context must be non-nil and will be used for request cancellation. If
2020// the context is nil a panic will occur. In the future the SDK may create
2021// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2022// for more information on using Contexts.
2023func (c *Glue) CreateScriptWithContext(ctx aws.Context, input *CreateScriptInput, opts ...request.Option) (*CreateScriptOutput, error) {
2024	req, out := c.CreateScriptRequest(input)
2025	req.SetContext(ctx)
2026	req.ApplyOptions(opts...)
2027	return out, req.Send()
2028}
2029
2030const opCreateSecurityConfiguration = "CreateSecurityConfiguration"
2031
2032// CreateSecurityConfigurationRequest generates a "aws/request.Request" representing the
2033// client's request for the CreateSecurityConfiguration operation. The "output" return
2034// value will be populated with the request's response once the request completes
2035// successfully.
2036//
2037// Use "Send" method on the returned Request to send the API call to the service.
2038// the "output" return value is not valid until after Send returns without error.
2039//
2040// See CreateSecurityConfiguration for more information on using the CreateSecurityConfiguration
2041// API call, and error handling.
2042//
2043// This method is useful when you want to inject custom logic or configuration
2044// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2045//
2046//
2047//    // Example sending a request using the CreateSecurityConfigurationRequest method.
2048//    req, resp := client.CreateSecurityConfigurationRequest(params)
2049//
2050//    err := req.Send()
2051//    if err == nil { // resp is now filled
2052//        fmt.Println(resp)
2053//    }
2054//
2055// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration
2056func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) {
2057	op := &request.Operation{
2058		Name:       opCreateSecurityConfiguration,
2059		HTTPMethod: "POST",
2060		HTTPPath:   "/",
2061	}
2062
2063	if input == nil {
2064		input = &CreateSecurityConfigurationInput{}
2065	}
2066
2067	output = &CreateSecurityConfigurationOutput{}
2068	req = c.newRequest(op, input, output)
2069	return
2070}
2071
2072// CreateSecurityConfiguration API operation for AWS Glue.
2073//
2074// Creates a new security configuration. A security configuration is a set of
2075// security properties that can be used by AWS Glue. You can use a security
2076// configuration to encrypt data at rest. For information about using security
2077// configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs,
2078// and Development Endpoints (https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html).
2079//
2080// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2081// with awserr.Error's Code and Message methods to get detailed information about
2082// the error.
2083//
2084// See the AWS API reference guide for AWS Glue's
2085// API operation CreateSecurityConfiguration for usage and error information.
2086//
2087// Returned Error Types:
2088//   * AlreadyExistsException
2089//   A resource to be created or added already exists.
2090//
2091//   * InvalidInputException
2092//   The input provided was not valid.
2093//
2094//   * InternalServiceException
2095//   An internal service error occurred.
2096//
2097//   * OperationTimeoutException
2098//   The operation timed out.
2099//
2100//   * ResourceNumberLimitExceededException
2101//   A resource numerical limit was exceeded.
2102//
2103// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration
2104func (c *Glue) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) {
2105	req, out := c.CreateSecurityConfigurationRequest(input)
2106	return out, req.Send()
2107}
2108
2109// CreateSecurityConfigurationWithContext is the same as CreateSecurityConfiguration with the addition of
2110// the ability to pass a context and additional request options.
2111//
2112// See CreateSecurityConfiguration for details on how to use this API operation.
2113//
2114// The context must be non-nil and will be used for request cancellation. If
2115// the context is nil a panic will occur. In the future the SDK may create
2116// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2117// for more information on using Contexts.
2118func (c *Glue) CreateSecurityConfigurationWithContext(ctx aws.Context, input *CreateSecurityConfigurationInput, opts ...request.Option) (*CreateSecurityConfigurationOutput, error) {
2119	req, out := c.CreateSecurityConfigurationRequest(input)
2120	req.SetContext(ctx)
2121	req.ApplyOptions(opts...)
2122	return out, req.Send()
2123}
2124
2125const opCreateTable = "CreateTable"
2126
2127// CreateTableRequest generates a "aws/request.Request" representing the
2128// client's request for the CreateTable operation. The "output" return
2129// value will be populated with the request's response once the request completes
2130// successfully.
2131//
2132// Use "Send" method on the returned Request to send the API call to the service.
2133// the "output" return value is not valid until after Send returns without error.
2134//
2135// See CreateTable for more information on using the CreateTable
2136// API call, and error handling.
2137//
2138// This method is useful when you want to inject custom logic or configuration
2139// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2140//
2141//
2142//    // Example sending a request using the CreateTableRequest method.
2143//    req, resp := client.CreateTableRequest(params)
2144//
2145//    err := req.Send()
2146//    if err == nil { // resp is now filled
2147//        fmt.Println(resp)
2148//    }
2149//
2150// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable
2151func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) {
2152	op := &request.Operation{
2153		Name:       opCreateTable,
2154		HTTPMethod: "POST",
2155		HTTPPath:   "/",
2156	}
2157
2158	if input == nil {
2159		input = &CreateTableInput{}
2160	}
2161
2162	output = &CreateTableOutput{}
2163	req = c.newRequest(op, input, output)
2164	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2165	return
2166}
2167
2168// CreateTable API operation for AWS Glue.
2169//
2170// Creates a new table definition in the Data Catalog.
2171//
2172// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2173// with awserr.Error's Code and Message methods to get detailed information about
2174// the error.
2175//
2176// See the AWS API reference guide for AWS Glue's
2177// API operation CreateTable for usage and error information.
2178//
2179// Returned Error Types:
2180//   * AlreadyExistsException
2181//   A resource to be created or added already exists.
2182//
2183//   * InvalidInputException
2184//   The input provided was not valid.
2185//
2186//   * EntityNotFoundException
2187//   A specified entity does not exist
2188//
2189//   * ResourceNumberLimitExceededException
2190//   A resource numerical limit was exceeded.
2191//
2192//   * InternalServiceException
2193//   An internal service error occurred.
2194//
2195//   * OperationTimeoutException
2196//   The operation timed out.
2197//
2198//   * EncryptionException
2199//   An encryption operation failed.
2200//
2201// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable
2202func (c *Glue) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) {
2203	req, out := c.CreateTableRequest(input)
2204	return out, req.Send()
2205}
2206
2207// CreateTableWithContext is the same as CreateTable with the addition of
2208// the ability to pass a context and additional request options.
2209//
2210// See CreateTable for details on how to use this API operation.
2211//
2212// The context must be non-nil and will be used for request cancellation. If
2213// the context is nil a panic will occur. In the future the SDK may create
2214// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2215// for more information on using Contexts.
2216func (c *Glue) CreateTableWithContext(ctx aws.Context, input *CreateTableInput, opts ...request.Option) (*CreateTableOutput, error) {
2217	req, out := c.CreateTableRequest(input)
2218	req.SetContext(ctx)
2219	req.ApplyOptions(opts...)
2220	return out, req.Send()
2221}
2222
2223const opCreateTrigger = "CreateTrigger"
2224
2225// CreateTriggerRequest generates a "aws/request.Request" representing the
2226// client's request for the CreateTrigger operation. The "output" return
2227// value will be populated with the request's response once the request completes
2228// successfully.
2229//
2230// Use "Send" method on the returned Request to send the API call to the service.
2231// the "output" return value is not valid until after Send returns without error.
2232//
2233// See CreateTrigger for more information on using the CreateTrigger
2234// API call, and error handling.
2235//
2236// This method is useful when you want to inject custom logic or configuration
2237// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2238//
2239//
2240//    // Example sending a request using the CreateTriggerRequest method.
2241//    req, resp := client.CreateTriggerRequest(params)
2242//
2243//    err := req.Send()
2244//    if err == nil { // resp is now filled
2245//        fmt.Println(resp)
2246//    }
2247//
2248// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger
2249func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Request, output *CreateTriggerOutput) {
2250	op := &request.Operation{
2251		Name:       opCreateTrigger,
2252		HTTPMethod: "POST",
2253		HTTPPath:   "/",
2254	}
2255
2256	if input == nil {
2257		input = &CreateTriggerInput{}
2258	}
2259
2260	output = &CreateTriggerOutput{}
2261	req = c.newRequest(op, input, output)
2262	return
2263}
2264
2265// CreateTrigger API operation for AWS Glue.
2266//
2267// Creates a new trigger.
2268//
2269// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2270// with awserr.Error's Code and Message methods to get detailed information about
2271// the error.
2272//
2273// See the AWS API reference guide for AWS Glue's
2274// API operation CreateTrigger for usage and error information.
2275//
2276// Returned Error Types:
2277//   * AlreadyExistsException
2278//   A resource to be created or added already exists.
2279//
2280//   * EntityNotFoundException
2281//   A specified entity does not exist
2282//
2283//   * InvalidInputException
2284//   The input provided was not valid.
2285//
2286//   * IdempotentParameterMismatchException
2287//   The same unique identifier was associated with two different records.
2288//
2289//   * InternalServiceException
2290//   An internal service error occurred.
2291//
2292//   * OperationTimeoutException
2293//   The operation timed out.
2294//
2295//   * ResourceNumberLimitExceededException
2296//   A resource numerical limit was exceeded.
2297//
2298//   * ConcurrentModificationException
2299//   Two processes are trying to modify a resource simultaneously.
2300//
2301// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger
2302func (c *Glue) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error) {
2303	req, out := c.CreateTriggerRequest(input)
2304	return out, req.Send()
2305}
2306
2307// CreateTriggerWithContext is the same as CreateTrigger with the addition of
2308// the ability to pass a context and additional request options.
2309//
2310// See CreateTrigger for details on how to use this API operation.
2311//
2312// The context must be non-nil and will be used for request cancellation. If
2313// the context is nil a panic will occur. In the future the SDK may create
2314// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2315// for more information on using Contexts.
2316func (c *Glue) CreateTriggerWithContext(ctx aws.Context, input *CreateTriggerInput, opts ...request.Option) (*CreateTriggerOutput, error) {
2317	req, out := c.CreateTriggerRequest(input)
2318	req.SetContext(ctx)
2319	req.ApplyOptions(opts...)
2320	return out, req.Send()
2321}
2322
2323const opCreateUserDefinedFunction = "CreateUserDefinedFunction"
2324
2325// CreateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
2326// client's request for the CreateUserDefinedFunction operation. The "output" return
2327// value will be populated with the request's response once the request completes
2328// successfully.
2329//
2330// Use "Send" method on the returned Request to send the API call to the service.
2331// the "output" return value is not valid until after Send returns without error.
2332//
2333// See CreateUserDefinedFunction for more information on using the CreateUserDefinedFunction
2334// API call, and error handling.
2335//
2336// This method is useful when you want to inject custom logic or configuration
2337// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2338//
2339//
2340//    // Example sending a request using the CreateUserDefinedFunctionRequest method.
2341//    req, resp := client.CreateUserDefinedFunctionRequest(params)
2342//
2343//    err := req.Send()
2344//    if err == nil { // resp is now filled
2345//        fmt.Println(resp)
2346//    }
2347//
2348// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction
2349func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunctionInput) (req *request.Request, output *CreateUserDefinedFunctionOutput) {
2350	op := &request.Operation{
2351		Name:       opCreateUserDefinedFunction,
2352		HTTPMethod: "POST",
2353		HTTPPath:   "/",
2354	}
2355
2356	if input == nil {
2357		input = &CreateUserDefinedFunctionInput{}
2358	}
2359
2360	output = &CreateUserDefinedFunctionOutput{}
2361	req = c.newRequest(op, input, output)
2362	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2363	return
2364}
2365
2366// CreateUserDefinedFunction API operation for AWS Glue.
2367//
2368// Creates a new function definition in the Data Catalog.
2369//
2370// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2371// with awserr.Error's Code and Message methods to get detailed information about
2372// the error.
2373//
2374// See the AWS API reference guide for AWS Glue's
2375// API operation CreateUserDefinedFunction for usage and error information.
2376//
2377// Returned Error Types:
2378//   * AlreadyExistsException
2379//   A resource to be created or added already exists.
2380//
2381//   * InvalidInputException
2382//   The input provided was not valid.
2383//
2384//   * InternalServiceException
2385//   An internal service error occurred.
2386//
2387//   * EntityNotFoundException
2388//   A specified entity does not exist
2389//
2390//   * OperationTimeoutException
2391//   The operation timed out.
2392//
2393//   * ResourceNumberLimitExceededException
2394//   A resource numerical limit was exceeded.
2395//
2396//   * EncryptionException
2397//   An encryption operation failed.
2398//
2399// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction
2400func (c *Glue) CreateUserDefinedFunction(input *CreateUserDefinedFunctionInput) (*CreateUserDefinedFunctionOutput, error) {
2401	req, out := c.CreateUserDefinedFunctionRequest(input)
2402	return out, req.Send()
2403}
2404
2405// CreateUserDefinedFunctionWithContext is the same as CreateUserDefinedFunction with the addition of
2406// the ability to pass a context and additional request options.
2407//
2408// See CreateUserDefinedFunction for details on how to use this API operation.
2409//
2410// The context must be non-nil and will be used for request cancellation. If
2411// the context is nil a panic will occur. In the future the SDK may create
2412// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2413// for more information on using Contexts.
2414func (c *Glue) CreateUserDefinedFunctionWithContext(ctx aws.Context, input *CreateUserDefinedFunctionInput, opts ...request.Option) (*CreateUserDefinedFunctionOutput, error) {
2415	req, out := c.CreateUserDefinedFunctionRequest(input)
2416	req.SetContext(ctx)
2417	req.ApplyOptions(opts...)
2418	return out, req.Send()
2419}
2420
2421const opCreateWorkflow = "CreateWorkflow"
2422
2423// CreateWorkflowRequest generates a "aws/request.Request" representing the
2424// client's request for the CreateWorkflow operation. The "output" return
2425// value will be populated with the request's response once the request completes
2426// successfully.
2427//
2428// Use "Send" method on the returned Request to send the API call to the service.
2429// the "output" return value is not valid until after Send returns without error.
2430//
2431// See CreateWorkflow for more information on using the CreateWorkflow
2432// API call, and error handling.
2433//
2434// This method is useful when you want to inject custom logic or configuration
2435// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2436//
2437//
2438//    // Example sending a request using the CreateWorkflowRequest method.
2439//    req, resp := client.CreateWorkflowRequest(params)
2440//
2441//    err := req.Send()
2442//    if err == nil { // resp is now filled
2443//        fmt.Println(resp)
2444//    }
2445//
2446// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow
2447func (c *Glue) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) {
2448	op := &request.Operation{
2449		Name:       opCreateWorkflow,
2450		HTTPMethod: "POST",
2451		HTTPPath:   "/",
2452	}
2453
2454	if input == nil {
2455		input = &CreateWorkflowInput{}
2456	}
2457
2458	output = &CreateWorkflowOutput{}
2459	req = c.newRequest(op, input, output)
2460	return
2461}
2462
2463// CreateWorkflow API operation for AWS Glue.
2464//
2465// Creates a new workflow.
2466//
2467// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2468// with awserr.Error's Code and Message methods to get detailed information about
2469// the error.
2470//
2471// See the AWS API reference guide for AWS Glue's
2472// API operation CreateWorkflow for usage and error information.
2473//
2474// Returned Error Types:
2475//   * AlreadyExistsException
2476//   A resource to be created or added already exists.
2477//
2478//   * InvalidInputException
2479//   The input provided was not valid.
2480//
2481//   * InternalServiceException
2482//   An internal service error occurred.
2483//
2484//   * OperationTimeoutException
2485//   The operation timed out.
2486//
2487//   * ResourceNumberLimitExceededException
2488//   A resource numerical limit was exceeded.
2489//
2490//   * ConcurrentModificationException
2491//   Two processes are trying to modify a resource simultaneously.
2492//
2493// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow
2494func (c *Glue) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) {
2495	req, out := c.CreateWorkflowRequest(input)
2496	return out, req.Send()
2497}
2498
2499// CreateWorkflowWithContext is the same as CreateWorkflow with the addition of
2500// the ability to pass a context and additional request options.
2501//
2502// See CreateWorkflow for details on how to use this API operation.
2503//
2504// The context must be non-nil and will be used for request cancellation. If
2505// the context is nil a panic will occur. In the future the SDK may create
2506// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2507// for more information on using Contexts.
2508func (c *Glue) CreateWorkflowWithContext(ctx aws.Context, input *CreateWorkflowInput, opts ...request.Option) (*CreateWorkflowOutput, error) {
2509	req, out := c.CreateWorkflowRequest(input)
2510	req.SetContext(ctx)
2511	req.ApplyOptions(opts...)
2512	return out, req.Send()
2513}
2514
2515const opDeleteClassifier = "DeleteClassifier"
2516
2517// DeleteClassifierRequest generates a "aws/request.Request" representing the
2518// client's request for the DeleteClassifier operation. The "output" return
2519// value will be populated with the request's response once the request completes
2520// successfully.
2521//
2522// Use "Send" method on the returned Request to send the API call to the service.
2523// the "output" return value is not valid until after Send returns without error.
2524//
2525// See DeleteClassifier for more information on using the DeleteClassifier
2526// API call, and error handling.
2527//
2528// This method is useful when you want to inject custom logic or configuration
2529// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2530//
2531//
2532//    // Example sending a request using the DeleteClassifierRequest method.
2533//    req, resp := client.DeleteClassifierRequest(params)
2534//
2535//    err := req.Send()
2536//    if err == nil { // resp is now filled
2537//        fmt.Println(resp)
2538//    }
2539//
2540// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier
2541func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *request.Request, output *DeleteClassifierOutput) {
2542	op := &request.Operation{
2543		Name:       opDeleteClassifier,
2544		HTTPMethod: "POST",
2545		HTTPPath:   "/",
2546	}
2547
2548	if input == nil {
2549		input = &DeleteClassifierInput{}
2550	}
2551
2552	output = &DeleteClassifierOutput{}
2553	req = c.newRequest(op, input, output)
2554	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2555	return
2556}
2557
2558// DeleteClassifier API operation for AWS Glue.
2559//
2560// Removes a classifier from the Data Catalog.
2561//
2562// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2563// with awserr.Error's Code and Message methods to get detailed information about
2564// the error.
2565//
2566// See the AWS API reference guide for AWS Glue's
2567// API operation DeleteClassifier for usage and error information.
2568//
2569// Returned Error Types:
2570//   * EntityNotFoundException
2571//   A specified entity does not exist
2572//
2573//   * OperationTimeoutException
2574//   The operation timed out.
2575//
2576// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier
2577func (c *Glue) DeleteClassifier(input *DeleteClassifierInput) (*DeleteClassifierOutput, error) {
2578	req, out := c.DeleteClassifierRequest(input)
2579	return out, req.Send()
2580}
2581
2582// DeleteClassifierWithContext is the same as DeleteClassifier with the addition of
2583// the ability to pass a context and additional request options.
2584//
2585// See DeleteClassifier for details on how to use this API operation.
2586//
2587// The context must be non-nil and will be used for request cancellation. If
2588// the context is nil a panic will occur. In the future the SDK may create
2589// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2590// for more information on using Contexts.
2591func (c *Glue) DeleteClassifierWithContext(ctx aws.Context, input *DeleteClassifierInput, opts ...request.Option) (*DeleteClassifierOutput, error) {
2592	req, out := c.DeleteClassifierRequest(input)
2593	req.SetContext(ctx)
2594	req.ApplyOptions(opts...)
2595	return out, req.Send()
2596}
2597
2598const opDeleteConnection = "DeleteConnection"
2599
2600// DeleteConnectionRequest generates a "aws/request.Request" representing the
2601// client's request for the DeleteConnection operation. The "output" return
2602// value will be populated with the request's response once the request completes
2603// successfully.
2604//
2605// Use "Send" method on the returned Request to send the API call to the service.
2606// the "output" return value is not valid until after Send returns without error.
2607//
2608// See DeleteConnection for more information on using the DeleteConnection
2609// API call, and error handling.
2610//
2611// This method is useful when you want to inject custom logic or configuration
2612// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2613//
2614//
2615//    // Example sending a request using the DeleteConnectionRequest method.
2616//    req, resp := client.DeleteConnectionRequest(params)
2617//
2618//    err := req.Send()
2619//    if err == nil { // resp is now filled
2620//        fmt.Println(resp)
2621//    }
2622//
2623// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection
2624func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) {
2625	op := &request.Operation{
2626		Name:       opDeleteConnection,
2627		HTTPMethod: "POST",
2628		HTTPPath:   "/",
2629	}
2630
2631	if input == nil {
2632		input = &DeleteConnectionInput{}
2633	}
2634
2635	output = &DeleteConnectionOutput{}
2636	req = c.newRequest(op, input, output)
2637	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2638	return
2639}
2640
2641// DeleteConnection API operation for AWS Glue.
2642//
2643// Deletes a connection from the Data Catalog.
2644//
2645// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2646// with awserr.Error's Code and Message methods to get detailed information about
2647// the error.
2648//
2649// See the AWS API reference guide for AWS Glue's
2650// API operation DeleteConnection for usage and error information.
2651//
2652// Returned Error Types:
2653//   * EntityNotFoundException
2654//   A specified entity does not exist
2655//
2656//   * OperationTimeoutException
2657//   The operation timed out.
2658//
2659// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection
2660func (c *Glue) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) {
2661	req, out := c.DeleteConnectionRequest(input)
2662	return out, req.Send()
2663}
2664
2665// DeleteConnectionWithContext is the same as DeleteConnection with the addition of
2666// the ability to pass a context and additional request options.
2667//
2668// See DeleteConnection for details on how to use this API operation.
2669//
2670// The context must be non-nil and will be used for request cancellation. If
2671// the context is nil a panic will occur. In the future the SDK may create
2672// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2673// for more information on using Contexts.
2674func (c *Glue) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error) {
2675	req, out := c.DeleteConnectionRequest(input)
2676	req.SetContext(ctx)
2677	req.ApplyOptions(opts...)
2678	return out, req.Send()
2679}
2680
2681const opDeleteCrawler = "DeleteCrawler"
2682
2683// DeleteCrawlerRequest generates a "aws/request.Request" representing the
2684// client's request for the DeleteCrawler operation. The "output" return
2685// value will be populated with the request's response once the request completes
2686// successfully.
2687//
2688// Use "Send" method on the returned Request to send the API call to the service.
2689// the "output" return value is not valid until after Send returns without error.
2690//
2691// See DeleteCrawler for more information on using the DeleteCrawler
2692// API call, and error handling.
2693//
2694// This method is useful when you want to inject custom logic or configuration
2695// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2696//
2697//
2698//    // Example sending a request using the DeleteCrawlerRequest method.
2699//    req, resp := client.DeleteCrawlerRequest(params)
2700//
2701//    err := req.Send()
2702//    if err == nil { // resp is now filled
2703//        fmt.Println(resp)
2704//    }
2705//
2706// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler
2707func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Request, output *DeleteCrawlerOutput) {
2708	op := &request.Operation{
2709		Name:       opDeleteCrawler,
2710		HTTPMethod: "POST",
2711		HTTPPath:   "/",
2712	}
2713
2714	if input == nil {
2715		input = &DeleteCrawlerInput{}
2716	}
2717
2718	output = &DeleteCrawlerOutput{}
2719	req = c.newRequest(op, input, output)
2720	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2721	return
2722}
2723
2724// DeleteCrawler API operation for AWS Glue.
2725//
2726// Removes a specified crawler from the AWS Glue Data Catalog, unless the crawler
2727// state is RUNNING.
2728//
2729// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2730// with awserr.Error's Code and Message methods to get detailed information about
2731// the error.
2732//
2733// See the AWS API reference guide for AWS Glue's
2734// API operation DeleteCrawler for usage and error information.
2735//
2736// Returned Error Types:
2737//   * EntityNotFoundException
2738//   A specified entity does not exist
2739//
2740//   * CrawlerRunningException
2741//   The operation cannot be performed because the crawler is already running.
2742//
2743//   * SchedulerTransitioningException
2744//   The specified scheduler is transitioning.
2745//
2746//   * OperationTimeoutException
2747//   The operation timed out.
2748//
2749// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler
2750func (c *Glue) DeleteCrawler(input *DeleteCrawlerInput) (*DeleteCrawlerOutput, error) {
2751	req, out := c.DeleteCrawlerRequest(input)
2752	return out, req.Send()
2753}
2754
2755// DeleteCrawlerWithContext is the same as DeleteCrawler with the addition of
2756// the ability to pass a context and additional request options.
2757//
2758// See DeleteCrawler for details on how to use this API operation.
2759//
2760// The context must be non-nil and will be used for request cancellation. If
2761// the context is nil a panic will occur. In the future the SDK may create
2762// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2763// for more information on using Contexts.
2764func (c *Glue) DeleteCrawlerWithContext(ctx aws.Context, input *DeleteCrawlerInput, opts ...request.Option) (*DeleteCrawlerOutput, error) {
2765	req, out := c.DeleteCrawlerRequest(input)
2766	req.SetContext(ctx)
2767	req.ApplyOptions(opts...)
2768	return out, req.Send()
2769}
2770
2771const opDeleteDatabase = "DeleteDatabase"
2772
2773// DeleteDatabaseRequest generates a "aws/request.Request" representing the
2774// client's request for the DeleteDatabase operation. The "output" return
2775// value will be populated with the request's response once the request completes
2776// successfully.
2777//
2778// Use "Send" method on the returned Request to send the API call to the service.
2779// the "output" return value is not valid until after Send returns without error.
2780//
2781// See DeleteDatabase for more information on using the DeleteDatabase
2782// API call, and error handling.
2783//
2784// This method is useful when you want to inject custom logic or configuration
2785// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2786//
2787//
2788//    // Example sending a request using the DeleteDatabaseRequest method.
2789//    req, resp := client.DeleteDatabaseRequest(params)
2790//
2791//    err := req.Send()
2792//    if err == nil { // resp is now filled
2793//        fmt.Println(resp)
2794//    }
2795//
2796// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase
2797func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) {
2798	op := &request.Operation{
2799		Name:       opDeleteDatabase,
2800		HTTPMethod: "POST",
2801		HTTPPath:   "/",
2802	}
2803
2804	if input == nil {
2805		input = &DeleteDatabaseInput{}
2806	}
2807
2808	output = &DeleteDatabaseOutput{}
2809	req = c.newRequest(op, input, output)
2810	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2811	return
2812}
2813
2814// DeleteDatabase API operation for AWS Glue.
2815//
2816// Removes a specified database from a Data Catalog.
2817//
2818// After completing this operation, you no longer have access to the tables
2819// (and all table versions and partitions that might belong to the tables) and
2820// the user-defined functions in the deleted database. AWS Glue deletes these
2821// "orphaned" resources asynchronously in a timely manner, at the discretion
2822// of the service.
2823//
2824// To ensure the immediate deletion of all related resources, before calling
2825// DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition
2826// or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable,
2827// to delete any resources that belong to the database.
2828//
2829// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2830// with awserr.Error's Code and Message methods to get detailed information about
2831// the error.
2832//
2833// See the AWS API reference guide for AWS Glue's
2834// API operation DeleteDatabase for usage and error information.
2835//
2836// Returned Error Types:
2837//   * EntityNotFoundException
2838//   A specified entity does not exist
2839//
2840//   * InvalidInputException
2841//   The input provided was not valid.
2842//
2843//   * InternalServiceException
2844//   An internal service error occurred.
2845//
2846//   * OperationTimeoutException
2847//   The operation timed out.
2848//
2849// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase
2850func (c *Glue) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) {
2851	req, out := c.DeleteDatabaseRequest(input)
2852	return out, req.Send()
2853}
2854
2855// DeleteDatabaseWithContext is the same as DeleteDatabase with the addition of
2856// the ability to pass a context and additional request options.
2857//
2858// See DeleteDatabase for details on how to use this API operation.
2859//
2860// The context must be non-nil and will be used for request cancellation. If
2861// the context is nil a panic will occur. In the future the SDK may create
2862// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2863// for more information on using Contexts.
2864func (c *Glue) DeleteDatabaseWithContext(ctx aws.Context, input *DeleteDatabaseInput, opts ...request.Option) (*DeleteDatabaseOutput, error) {
2865	req, out := c.DeleteDatabaseRequest(input)
2866	req.SetContext(ctx)
2867	req.ApplyOptions(opts...)
2868	return out, req.Send()
2869}
2870
2871const opDeleteDevEndpoint = "DeleteDevEndpoint"
2872
2873// DeleteDevEndpointRequest generates a "aws/request.Request" representing the
2874// client's request for the DeleteDevEndpoint operation. The "output" return
2875// value will be populated with the request's response once the request completes
2876// successfully.
2877//
2878// Use "Send" method on the returned Request to send the API call to the service.
2879// the "output" return value is not valid until after Send returns without error.
2880//
2881// See DeleteDevEndpoint for more information on using the DeleteDevEndpoint
2882// API call, and error handling.
2883//
2884// This method is useful when you want to inject custom logic or configuration
2885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2886//
2887//
2888//    // Example sending a request using the DeleteDevEndpointRequest method.
2889//    req, resp := client.DeleteDevEndpointRequest(params)
2890//
2891//    err := req.Send()
2892//    if err == nil { // resp is now filled
2893//        fmt.Println(resp)
2894//    }
2895//
2896// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint
2897func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *request.Request, output *DeleteDevEndpointOutput) {
2898	op := &request.Operation{
2899		Name:       opDeleteDevEndpoint,
2900		HTTPMethod: "POST",
2901		HTTPPath:   "/",
2902	}
2903
2904	if input == nil {
2905		input = &DeleteDevEndpointInput{}
2906	}
2907
2908	output = &DeleteDevEndpointOutput{}
2909	req = c.newRequest(op, input, output)
2910	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2911	return
2912}
2913
2914// DeleteDevEndpoint API operation for AWS Glue.
2915//
2916// Deletes a specified development endpoint.
2917//
2918// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2919// with awserr.Error's Code and Message methods to get detailed information about
2920// the error.
2921//
2922// See the AWS API reference guide for AWS Glue's
2923// API operation DeleteDevEndpoint for usage and error information.
2924//
2925// Returned Error Types:
2926//   * EntityNotFoundException
2927//   A specified entity does not exist
2928//
2929//   * InternalServiceException
2930//   An internal service error occurred.
2931//
2932//   * OperationTimeoutException
2933//   The operation timed out.
2934//
2935//   * InvalidInputException
2936//   The input provided was not valid.
2937//
2938// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint
2939func (c *Glue) DeleteDevEndpoint(input *DeleteDevEndpointInput) (*DeleteDevEndpointOutput, error) {
2940	req, out := c.DeleteDevEndpointRequest(input)
2941	return out, req.Send()
2942}
2943
2944// DeleteDevEndpointWithContext is the same as DeleteDevEndpoint with the addition of
2945// the ability to pass a context and additional request options.
2946//
2947// See DeleteDevEndpoint for details on how to use this API operation.
2948//
2949// The context must be non-nil and will be used for request cancellation. If
2950// the context is nil a panic will occur. In the future the SDK may create
2951// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2952// for more information on using Contexts.
2953func (c *Glue) DeleteDevEndpointWithContext(ctx aws.Context, input *DeleteDevEndpointInput, opts ...request.Option) (*DeleteDevEndpointOutput, error) {
2954	req, out := c.DeleteDevEndpointRequest(input)
2955	req.SetContext(ctx)
2956	req.ApplyOptions(opts...)
2957	return out, req.Send()
2958}
2959
2960const opDeleteJob = "DeleteJob"
2961
2962// DeleteJobRequest generates a "aws/request.Request" representing the
2963// client's request for the DeleteJob operation. The "output" return
2964// value will be populated with the request's response once the request completes
2965// successfully.
2966//
2967// Use "Send" method on the returned Request to send the API call to the service.
2968// the "output" return value is not valid until after Send returns without error.
2969//
2970// See DeleteJob for more information on using the DeleteJob
2971// API call, and error handling.
2972//
2973// This method is useful when you want to inject custom logic or configuration
2974// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2975//
2976//
2977//    // Example sending a request using the DeleteJobRequest method.
2978//    req, resp := client.DeleteJobRequest(params)
2979//
2980//    err := req.Send()
2981//    if err == nil { // resp is now filled
2982//        fmt.Println(resp)
2983//    }
2984//
2985// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob
2986func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) {
2987	op := &request.Operation{
2988		Name:       opDeleteJob,
2989		HTTPMethod: "POST",
2990		HTTPPath:   "/",
2991	}
2992
2993	if input == nil {
2994		input = &DeleteJobInput{}
2995	}
2996
2997	output = &DeleteJobOutput{}
2998	req = c.newRequest(op, input, output)
2999	return
3000}
3001
3002// DeleteJob API operation for AWS Glue.
3003//
3004// Deletes a specified job definition. If the job definition is not found, no
3005// exception is thrown.
3006//
3007// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3008// with awserr.Error's Code and Message methods to get detailed information about
3009// the error.
3010//
3011// See the AWS API reference guide for AWS Glue's
3012// API operation DeleteJob for usage and error information.
3013//
3014// Returned Error Types:
3015//   * InvalidInputException
3016//   The input provided was not valid.
3017//
3018//   * InternalServiceException
3019//   An internal service error occurred.
3020//
3021//   * OperationTimeoutException
3022//   The operation timed out.
3023//
3024// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob
3025func (c *Glue) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) {
3026	req, out := c.DeleteJobRequest(input)
3027	return out, req.Send()
3028}
3029
3030// DeleteJobWithContext is the same as DeleteJob with the addition of
3031// the ability to pass a context and additional request options.
3032//
3033// See DeleteJob for details on how to use this API operation.
3034//
3035// The context must be non-nil and will be used for request cancellation. If
3036// the context is nil a panic will occur. In the future the SDK may create
3037// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3038// for more information on using Contexts.
3039func (c *Glue) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts ...request.Option) (*DeleteJobOutput, error) {
3040	req, out := c.DeleteJobRequest(input)
3041	req.SetContext(ctx)
3042	req.ApplyOptions(opts...)
3043	return out, req.Send()
3044}
3045
3046const opDeleteMLTransform = "DeleteMLTransform"
3047
3048// DeleteMLTransformRequest generates a "aws/request.Request" representing the
3049// client's request for the DeleteMLTransform operation. The "output" return
3050// value will be populated with the request's response once the request completes
3051// successfully.
3052//
3053// Use "Send" method on the returned Request to send the API call to the service.
3054// the "output" return value is not valid until after Send returns without error.
3055//
3056// See DeleteMLTransform for more information on using the DeleteMLTransform
3057// API call, and error handling.
3058//
3059// This method is useful when you want to inject custom logic or configuration
3060// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3061//
3062//
3063//    // Example sending a request using the DeleteMLTransformRequest method.
3064//    req, resp := client.DeleteMLTransformRequest(params)
3065//
3066//    err := req.Send()
3067//    if err == nil { // resp is now filled
3068//        fmt.Println(resp)
3069//    }
3070//
3071// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform
3072func (c *Glue) DeleteMLTransformRequest(input *DeleteMLTransformInput) (req *request.Request, output *DeleteMLTransformOutput) {
3073	op := &request.Operation{
3074		Name:       opDeleteMLTransform,
3075		HTTPMethod: "POST",
3076		HTTPPath:   "/",
3077	}
3078
3079	if input == nil {
3080		input = &DeleteMLTransformInput{}
3081	}
3082
3083	output = &DeleteMLTransformOutput{}
3084	req = c.newRequest(op, input, output)
3085	return
3086}
3087
3088// DeleteMLTransform API operation for AWS Glue.
3089//
3090// Deletes an AWS Glue machine learning transform. Machine learning transforms
3091// are a special type of transform that use machine learning to learn the details
3092// of the transformation to be performed by learning from examples provided
3093// by humans. These transformations are then saved by AWS Glue. If you no longer
3094// need a transform, you can delete it by calling DeleteMLTransforms. However,
3095// any AWS Glue jobs that still reference the deleted transform will no longer
3096// succeed.
3097//
3098// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3099// with awserr.Error's Code and Message methods to get detailed information about
3100// the error.
3101//
3102// See the AWS API reference guide for AWS Glue's
3103// API operation DeleteMLTransform for usage and error information.
3104//
3105// Returned Error Types:
3106//   * EntityNotFoundException
3107//   A specified entity does not exist
3108//
3109//   * InvalidInputException
3110//   The input provided was not valid.
3111//
3112//   * OperationTimeoutException
3113//   The operation timed out.
3114//
3115//   * InternalServiceException
3116//   An internal service error occurred.
3117//
3118// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform
3119func (c *Glue) DeleteMLTransform(input *DeleteMLTransformInput) (*DeleteMLTransformOutput, error) {
3120	req, out := c.DeleteMLTransformRequest(input)
3121	return out, req.Send()
3122}
3123
3124// DeleteMLTransformWithContext is the same as DeleteMLTransform with the addition of
3125// the ability to pass a context and additional request options.
3126//
3127// See DeleteMLTransform for details on how to use this API operation.
3128//
3129// The context must be non-nil and will be used for request cancellation. If
3130// the context is nil a panic will occur. In the future the SDK may create
3131// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3132// for more information on using Contexts.
3133func (c *Glue) DeleteMLTransformWithContext(ctx aws.Context, input *DeleteMLTransformInput, opts ...request.Option) (*DeleteMLTransformOutput, error) {
3134	req, out := c.DeleteMLTransformRequest(input)
3135	req.SetContext(ctx)
3136	req.ApplyOptions(opts...)
3137	return out, req.Send()
3138}
3139
3140const opDeletePartition = "DeletePartition"
3141
3142// DeletePartitionRequest generates a "aws/request.Request" representing the
3143// client's request for the DeletePartition operation. The "output" return
3144// value will be populated with the request's response once the request completes
3145// successfully.
3146//
3147// Use "Send" method on the returned Request to send the API call to the service.
3148// the "output" return value is not valid until after Send returns without error.
3149//
3150// See DeletePartition for more information on using the DeletePartition
3151// API call, and error handling.
3152//
3153// This method is useful when you want to inject custom logic or configuration
3154// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3155//
3156//
3157//    // Example sending a request using the DeletePartitionRequest method.
3158//    req, resp := client.DeletePartitionRequest(params)
3159//
3160//    err := req.Send()
3161//    if err == nil { // resp is now filled
3162//        fmt.Println(resp)
3163//    }
3164//
3165// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition
3166func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request.Request, output *DeletePartitionOutput) {
3167	op := &request.Operation{
3168		Name:       opDeletePartition,
3169		HTTPMethod: "POST",
3170		HTTPPath:   "/",
3171	}
3172
3173	if input == nil {
3174		input = &DeletePartitionInput{}
3175	}
3176
3177	output = &DeletePartitionOutput{}
3178	req = c.newRequest(op, input, output)
3179	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3180	return
3181}
3182
3183// DeletePartition API operation for AWS Glue.
3184//
3185// Deletes a specified partition.
3186//
3187// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3188// with awserr.Error's Code and Message methods to get detailed information about
3189// the error.
3190//
3191// See the AWS API reference guide for AWS Glue's
3192// API operation DeletePartition for usage and error information.
3193//
3194// Returned Error Types:
3195//   * EntityNotFoundException
3196//   A specified entity does not exist
3197//
3198//   * InvalidInputException
3199//   The input provided was not valid.
3200//
3201//   * InternalServiceException
3202//   An internal service error occurred.
3203//
3204//   * OperationTimeoutException
3205//   The operation timed out.
3206//
3207// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition
3208func (c *Glue) DeletePartition(input *DeletePartitionInput) (*DeletePartitionOutput, error) {
3209	req, out := c.DeletePartitionRequest(input)
3210	return out, req.Send()
3211}
3212
3213// DeletePartitionWithContext is the same as DeletePartition with the addition of
3214// the ability to pass a context and additional request options.
3215//
3216// See DeletePartition for details on how to use this API operation.
3217//
3218// The context must be non-nil and will be used for request cancellation. If
3219// the context is nil a panic will occur. In the future the SDK may create
3220// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3221// for more information on using Contexts.
3222func (c *Glue) DeletePartitionWithContext(ctx aws.Context, input *DeletePartitionInput, opts ...request.Option) (*DeletePartitionOutput, error) {
3223	req, out := c.DeletePartitionRequest(input)
3224	req.SetContext(ctx)
3225	req.ApplyOptions(opts...)
3226	return out, req.Send()
3227}
3228
3229const opDeleteResourcePolicy = "DeleteResourcePolicy"
3230
3231// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the
3232// client's request for the DeleteResourcePolicy operation. The "output" return
3233// value will be populated with the request's response once the request completes
3234// successfully.
3235//
3236// Use "Send" method on the returned Request to send the API call to the service.
3237// the "output" return value is not valid until after Send returns without error.
3238//
3239// See DeleteResourcePolicy for more information on using the DeleteResourcePolicy
3240// API call, and error handling.
3241//
3242// This method is useful when you want to inject custom logic or configuration
3243// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3244//
3245//
3246//    // Example sending a request using the DeleteResourcePolicyRequest method.
3247//    req, resp := client.DeleteResourcePolicyRequest(params)
3248//
3249//    err := req.Send()
3250//    if err == nil { // resp is now filled
3251//        fmt.Println(resp)
3252//    }
3253//
3254// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy
3255func (c *Glue) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) {
3256	op := &request.Operation{
3257		Name:       opDeleteResourcePolicy,
3258		HTTPMethod: "POST",
3259		HTTPPath:   "/",
3260	}
3261
3262	if input == nil {
3263		input = &DeleteResourcePolicyInput{}
3264	}
3265
3266	output = &DeleteResourcePolicyOutput{}
3267	req = c.newRequest(op, input, output)
3268	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3269	return
3270}
3271
3272// DeleteResourcePolicy API operation for AWS Glue.
3273//
3274// Deletes a specified policy.
3275//
3276// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3277// with awserr.Error's Code and Message methods to get detailed information about
3278// the error.
3279//
3280// See the AWS API reference guide for AWS Glue's
3281// API operation DeleteResourcePolicy for usage and error information.
3282//
3283// Returned Error Types:
3284//   * EntityNotFoundException
3285//   A specified entity does not exist
3286//
3287//   * InternalServiceException
3288//   An internal service error occurred.
3289//
3290//   * OperationTimeoutException
3291//   The operation timed out.
3292//
3293//   * InvalidInputException
3294//   The input provided was not valid.
3295//
3296//   * ConditionCheckFailureException
3297//   A specified condition was not satisfied.
3298//
3299// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy
3300func (c *Glue) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) {
3301	req, out := c.DeleteResourcePolicyRequest(input)
3302	return out, req.Send()
3303}
3304
3305// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of
3306// the ability to pass a context and additional request options.
3307//
3308// See DeleteResourcePolicy for details on how to use this API operation.
3309//
3310// The context must be non-nil and will be used for request cancellation. If
3311// the context is nil a panic will occur. In the future the SDK may create
3312// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3313// for more information on using Contexts.
3314func (c *Glue) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) {
3315	req, out := c.DeleteResourcePolicyRequest(input)
3316	req.SetContext(ctx)
3317	req.ApplyOptions(opts...)
3318	return out, req.Send()
3319}
3320
3321const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration"
3322
3323// DeleteSecurityConfigurationRequest generates a "aws/request.Request" representing the
3324// client's request for the DeleteSecurityConfiguration operation. The "output" return
3325// value will be populated with the request's response once the request completes
3326// successfully.
3327//
3328// Use "Send" method on the returned Request to send the API call to the service.
3329// the "output" return value is not valid until after Send returns without error.
3330//
3331// See DeleteSecurityConfiguration for more information on using the DeleteSecurityConfiguration
3332// API call, and error handling.
3333//
3334// This method is useful when you want to inject custom logic or configuration
3335// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3336//
3337//
3338//    // Example sending a request using the DeleteSecurityConfigurationRequest method.
3339//    req, resp := client.DeleteSecurityConfigurationRequest(params)
3340//
3341//    err := req.Send()
3342//    if err == nil { // resp is now filled
3343//        fmt.Println(resp)
3344//    }
3345//
3346// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration
3347func (c *Glue) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) {
3348	op := &request.Operation{
3349		Name:       opDeleteSecurityConfiguration,
3350		HTTPMethod: "POST",
3351		HTTPPath:   "/",
3352	}
3353
3354	if input == nil {
3355		input = &DeleteSecurityConfigurationInput{}
3356	}
3357
3358	output = &DeleteSecurityConfigurationOutput{}
3359	req = c.newRequest(op, input, output)
3360	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3361	return
3362}
3363
3364// DeleteSecurityConfiguration API operation for AWS Glue.
3365//
3366// Deletes a specified security configuration.
3367//
3368// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3369// with awserr.Error's Code and Message methods to get detailed information about
3370// the error.
3371//
3372// See the AWS API reference guide for AWS Glue's
3373// API operation DeleteSecurityConfiguration for usage and error information.
3374//
3375// Returned Error Types:
3376//   * EntityNotFoundException
3377//   A specified entity does not exist
3378//
3379//   * InvalidInputException
3380//   The input provided was not valid.
3381//
3382//   * InternalServiceException
3383//   An internal service error occurred.
3384//
3385//   * OperationTimeoutException
3386//   The operation timed out.
3387//
3388// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration
3389func (c *Glue) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) {
3390	req, out := c.DeleteSecurityConfigurationRequest(input)
3391	return out, req.Send()
3392}
3393
3394// DeleteSecurityConfigurationWithContext is the same as DeleteSecurityConfiguration with the addition of
3395// the ability to pass a context and additional request options.
3396//
3397// See DeleteSecurityConfiguration for details on how to use this API operation.
3398//
3399// The context must be non-nil and will be used for request cancellation. If
3400// the context is nil a panic will occur. In the future the SDK may create
3401// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3402// for more information on using Contexts.
3403func (c *Glue) DeleteSecurityConfigurationWithContext(ctx aws.Context, input *DeleteSecurityConfigurationInput, opts ...request.Option) (*DeleteSecurityConfigurationOutput, error) {
3404	req, out := c.DeleteSecurityConfigurationRequest(input)
3405	req.SetContext(ctx)
3406	req.ApplyOptions(opts...)
3407	return out, req.Send()
3408}
3409
3410const opDeleteTable = "DeleteTable"
3411
3412// DeleteTableRequest generates a "aws/request.Request" representing the
3413// client's request for the DeleteTable operation. The "output" return
3414// value will be populated with the request's response once the request completes
3415// successfully.
3416//
3417// Use "Send" method on the returned Request to send the API call to the service.
3418// the "output" return value is not valid until after Send returns without error.
3419//
3420// See DeleteTable for more information on using the DeleteTable
3421// API call, and error handling.
3422//
3423// This method is useful when you want to inject custom logic or configuration
3424// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3425//
3426//
3427//    // Example sending a request using the DeleteTableRequest method.
3428//    req, resp := client.DeleteTableRequest(params)
3429//
3430//    err := req.Send()
3431//    if err == nil { // resp is now filled
3432//        fmt.Println(resp)
3433//    }
3434//
3435// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable
3436func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) {
3437	op := &request.Operation{
3438		Name:       opDeleteTable,
3439		HTTPMethod: "POST",
3440		HTTPPath:   "/",
3441	}
3442
3443	if input == nil {
3444		input = &DeleteTableInput{}
3445	}
3446
3447	output = &DeleteTableOutput{}
3448	req = c.newRequest(op, input, output)
3449	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3450	return
3451}
3452
3453// DeleteTable API operation for AWS Glue.
3454//
3455// Removes a table definition from the Data Catalog.
3456//
3457// After completing this operation, you no longer have access to the table versions
3458// and partitions that belong to the deleted table. AWS Glue deletes these "orphaned"
3459// resources asynchronously in a timely manner, at the discretion of the service.
3460//
3461// To ensure the immediate deletion of all related resources, before calling
3462// DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition
3463// or BatchDeletePartition, to delete any resources that belong to the table.
3464//
3465// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3466// with awserr.Error's Code and Message methods to get detailed information about
3467// the error.
3468//
3469// See the AWS API reference guide for AWS Glue's
3470// API operation DeleteTable for usage and error information.
3471//
3472// Returned Error Types:
3473//   * EntityNotFoundException
3474//   A specified entity does not exist
3475//
3476//   * InvalidInputException
3477//   The input provided was not valid.
3478//
3479//   * InternalServiceException
3480//   An internal service error occurred.
3481//
3482//   * OperationTimeoutException
3483//   The operation timed out.
3484//
3485// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable
3486func (c *Glue) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) {
3487	req, out := c.DeleteTableRequest(input)
3488	return out, req.Send()
3489}
3490
3491// DeleteTableWithContext is the same as DeleteTable with the addition of
3492// the ability to pass a context and additional request options.
3493//
3494// See DeleteTable for details on how to use this API operation.
3495//
3496// The context must be non-nil and will be used for request cancellation. If
3497// the context is nil a panic will occur. In the future the SDK may create
3498// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3499// for more information on using Contexts.
3500func (c *Glue) DeleteTableWithContext(ctx aws.Context, input *DeleteTableInput, opts ...request.Option) (*DeleteTableOutput, error) {
3501	req, out := c.DeleteTableRequest(input)
3502	req.SetContext(ctx)
3503	req.ApplyOptions(opts...)
3504	return out, req.Send()
3505}
3506
3507const opDeleteTableVersion = "DeleteTableVersion"
3508
3509// DeleteTableVersionRequest generates a "aws/request.Request" representing the
3510// client's request for the DeleteTableVersion operation. The "output" return
3511// value will be populated with the request's response once the request completes
3512// successfully.
3513//
3514// Use "Send" method on the returned Request to send the API call to the service.
3515// the "output" return value is not valid until after Send returns without error.
3516//
3517// See DeleteTableVersion for more information on using the DeleteTableVersion
3518// API call, and error handling.
3519//
3520// This method is useful when you want to inject custom logic or configuration
3521// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3522//
3523//
3524//    // Example sending a request using the DeleteTableVersionRequest method.
3525//    req, resp := client.DeleteTableVersionRequest(params)
3526//
3527//    err := req.Send()
3528//    if err == nil { // resp is now filled
3529//        fmt.Println(resp)
3530//    }
3531//
3532// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion
3533func (c *Glue) DeleteTableVersionRequest(input *DeleteTableVersionInput) (req *request.Request, output *DeleteTableVersionOutput) {
3534	op := &request.Operation{
3535		Name:       opDeleteTableVersion,
3536		HTTPMethod: "POST",
3537		HTTPPath:   "/",
3538	}
3539
3540	if input == nil {
3541		input = &DeleteTableVersionInput{}
3542	}
3543
3544	output = &DeleteTableVersionOutput{}
3545	req = c.newRequest(op, input, output)
3546	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3547	return
3548}
3549
3550// DeleteTableVersion API operation for AWS Glue.
3551//
3552// Deletes a specified version of a table.
3553//
3554// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3555// with awserr.Error's Code and Message methods to get detailed information about
3556// the error.
3557//
3558// See the AWS API reference guide for AWS Glue's
3559// API operation DeleteTableVersion for usage and error information.
3560//
3561// Returned Error Types:
3562//   * EntityNotFoundException
3563//   A specified entity does not exist
3564//
3565//   * InvalidInputException
3566//   The input provided was not valid.
3567//
3568//   * InternalServiceException
3569//   An internal service error occurred.
3570//
3571//   * OperationTimeoutException
3572//   The operation timed out.
3573//
3574// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion
3575func (c *Glue) DeleteTableVersion(input *DeleteTableVersionInput) (*DeleteTableVersionOutput, error) {
3576	req, out := c.DeleteTableVersionRequest(input)
3577	return out, req.Send()
3578}
3579
3580// DeleteTableVersionWithContext is the same as DeleteTableVersion with the addition of
3581// the ability to pass a context and additional request options.
3582//
3583// See DeleteTableVersion for details on how to use this API operation.
3584//
3585// The context must be non-nil and will be used for request cancellation. If
3586// the context is nil a panic will occur. In the future the SDK may create
3587// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3588// for more information on using Contexts.
3589func (c *Glue) DeleteTableVersionWithContext(ctx aws.Context, input *DeleteTableVersionInput, opts ...request.Option) (*DeleteTableVersionOutput, error) {
3590	req, out := c.DeleteTableVersionRequest(input)
3591	req.SetContext(ctx)
3592	req.ApplyOptions(opts...)
3593	return out, req.Send()
3594}
3595
3596const opDeleteTrigger = "DeleteTrigger"
3597
3598// DeleteTriggerRequest generates a "aws/request.Request" representing the
3599// client's request for the DeleteTrigger operation. The "output" return
3600// value will be populated with the request's response once the request completes
3601// successfully.
3602//
3603// Use "Send" method on the returned Request to send the API call to the service.
3604// the "output" return value is not valid until after Send returns without error.
3605//
3606// See DeleteTrigger for more information on using the DeleteTrigger
3607// API call, and error handling.
3608//
3609// This method is useful when you want to inject custom logic or configuration
3610// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3611//
3612//
3613//    // Example sending a request using the DeleteTriggerRequest method.
3614//    req, resp := client.DeleteTriggerRequest(params)
3615//
3616//    err := req.Send()
3617//    if err == nil { // resp is now filled
3618//        fmt.Println(resp)
3619//    }
3620//
3621// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger
3622func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Request, output *DeleteTriggerOutput) {
3623	op := &request.Operation{
3624		Name:       opDeleteTrigger,
3625		HTTPMethod: "POST",
3626		HTTPPath:   "/",
3627	}
3628
3629	if input == nil {
3630		input = &DeleteTriggerInput{}
3631	}
3632
3633	output = &DeleteTriggerOutput{}
3634	req = c.newRequest(op, input, output)
3635	return
3636}
3637
3638// DeleteTrigger API operation for AWS Glue.
3639//
3640// Deletes a specified trigger. If the trigger is not found, no exception is
3641// thrown.
3642//
3643// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3644// with awserr.Error's Code and Message methods to get detailed information about
3645// the error.
3646//
3647// See the AWS API reference guide for AWS Glue's
3648// API operation DeleteTrigger for usage and error information.
3649//
3650// Returned Error Types:
3651//   * InvalidInputException
3652//   The input provided was not valid.
3653//
3654//   * InternalServiceException
3655//   An internal service error occurred.
3656//
3657//   * OperationTimeoutException
3658//   The operation timed out.
3659//
3660//   * ConcurrentModificationException
3661//   Two processes are trying to modify a resource simultaneously.
3662//
3663// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger
3664func (c *Glue) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error) {
3665	req, out := c.DeleteTriggerRequest(input)
3666	return out, req.Send()
3667}
3668
3669// DeleteTriggerWithContext is the same as DeleteTrigger with the addition of
3670// the ability to pass a context and additional request options.
3671//
3672// See DeleteTrigger for details on how to use this API operation.
3673//
3674// The context must be non-nil and will be used for request cancellation. If
3675// the context is nil a panic will occur. In the future the SDK may create
3676// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3677// for more information on using Contexts.
3678func (c *Glue) DeleteTriggerWithContext(ctx aws.Context, input *DeleteTriggerInput, opts ...request.Option) (*DeleteTriggerOutput, error) {
3679	req, out := c.DeleteTriggerRequest(input)
3680	req.SetContext(ctx)
3681	req.ApplyOptions(opts...)
3682	return out, req.Send()
3683}
3684
3685const opDeleteUserDefinedFunction = "DeleteUserDefinedFunction"
3686
3687// DeleteUserDefinedFunctionRequest generates a "aws/request.Request" representing the
3688// client's request for the DeleteUserDefinedFunction operation. The "output" return
3689// value will be populated with the request's response once the request completes
3690// successfully.
3691//
3692// Use "Send" method on the returned Request to send the API call to the service.
3693// the "output" return value is not valid until after Send returns without error.
3694//
3695// See DeleteUserDefinedFunction for more information on using the DeleteUserDefinedFunction
3696// API call, and error handling.
3697//
3698// This method is useful when you want to inject custom logic or configuration
3699// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3700//
3701//
3702//    // Example sending a request using the DeleteUserDefinedFunctionRequest method.
3703//    req, resp := client.DeleteUserDefinedFunctionRequest(params)
3704//
3705//    err := req.Send()
3706//    if err == nil { // resp is now filled
3707//        fmt.Println(resp)
3708//    }
3709//
3710// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction
3711func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunctionInput) (req *request.Request, output *DeleteUserDefinedFunctionOutput) {
3712	op := &request.Operation{
3713		Name:       opDeleteUserDefinedFunction,
3714		HTTPMethod: "POST",
3715		HTTPPath:   "/",
3716	}
3717
3718	if input == nil {
3719		input = &DeleteUserDefinedFunctionInput{}
3720	}
3721
3722	output = &DeleteUserDefinedFunctionOutput{}
3723	req = c.newRequest(op, input, output)
3724	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3725	return
3726}
3727
3728// DeleteUserDefinedFunction API operation for AWS Glue.
3729//
3730// Deletes an existing function definition from the Data Catalog.
3731//
3732// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3733// with awserr.Error's Code and Message methods to get detailed information about
3734// the error.
3735//
3736// See the AWS API reference guide for AWS Glue's
3737// API operation DeleteUserDefinedFunction for usage and error information.
3738//
3739// Returned Error Types:
3740//   * EntityNotFoundException
3741//   A specified entity does not exist
3742//
3743//   * InvalidInputException
3744//   The input provided was not valid.
3745//
3746//   * InternalServiceException
3747//   An internal service error occurred.
3748//
3749//   * OperationTimeoutException
3750//   The operation timed out.
3751//
3752// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction
3753func (c *Glue) DeleteUserDefinedFunction(input *DeleteUserDefinedFunctionInput) (*DeleteUserDefinedFunctionOutput, error) {
3754	req, out := c.DeleteUserDefinedFunctionRequest(input)
3755	return out, req.Send()
3756}
3757
3758// DeleteUserDefinedFunctionWithContext is the same as DeleteUserDefinedFunction with the addition of
3759// the ability to pass a context and additional request options.
3760//
3761// See DeleteUserDefinedFunction for details on how to use this API operation.
3762//
3763// The context must be non-nil and will be used for request cancellation. If
3764// the context is nil a panic will occur. In the future the SDK may create
3765// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3766// for more information on using Contexts.
3767func (c *Glue) DeleteUserDefinedFunctionWithContext(ctx aws.Context, input *DeleteUserDefinedFunctionInput, opts ...request.Option) (*DeleteUserDefinedFunctionOutput, error) {
3768	req, out := c.DeleteUserDefinedFunctionRequest(input)
3769	req.SetContext(ctx)
3770	req.ApplyOptions(opts...)
3771	return out, req.Send()
3772}
3773
3774const opDeleteWorkflow = "DeleteWorkflow"
3775
3776// DeleteWorkflowRequest generates a "aws/request.Request" representing the
3777// client's request for the DeleteWorkflow operation. The "output" return
3778// value will be populated with the request's response once the request completes
3779// successfully.
3780//
3781// Use "Send" method on the returned Request to send the API call to the service.
3782// the "output" return value is not valid until after Send returns without error.
3783//
3784// See DeleteWorkflow for more information on using the DeleteWorkflow
3785// API call, and error handling.
3786//
3787// This method is useful when you want to inject custom logic or configuration
3788// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3789//
3790//
3791//    // Example sending a request using the DeleteWorkflowRequest method.
3792//    req, resp := client.DeleteWorkflowRequest(params)
3793//
3794//    err := req.Send()
3795//    if err == nil { // resp is now filled
3796//        fmt.Println(resp)
3797//    }
3798//
3799// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow
3800func (c *Glue) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) {
3801	op := &request.Operation{
3802		Name:       opDeleteWorkflow,
3803		HTTPMethod: "POST",
3804		HTTPPath:   "/",
3805	}
3806
3807	if input == nil {
3808		input = &DeleteWorkflowInput{}
3809	}
3810
3811	output = &DeleteWorkflowOutput{}
3812	req = c.newRequest(op, input, output)
3813	return
3814}
3815
3816// DeleteWorkflow API operation for AWS Glue.
3817//
3818// Deletes a workflow.
3819//
3820// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3821// with awserr.Error's Code and Message methods to get detailed information about
3822// the error.
3823//
3824// See the AWS API reference guide for AWS Glue's
3825// API operation DeleteWorkflow for usage and error information.
3826//
3827// Returned Error Types:
3828//   * InvalidInputException
3829//   The input provided was not valid.
3830//
3831//   * InternalServiceException
3832//   An internal service error occurred.
3833//
3834//   * OperationTimeoutException
3835//   The operation timed out.
3836//
3837//   * ConcurrentModificationException
3838//   Two processes are trying to modify a resource simultaneously.
3839//
3840// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow
3841func (c *Glue) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) {
3842	req, out := c.DeleteWorkflowRequest(input)
3843	return out, req.Send()
3844}
3845
3846// DeleteWorkflowWithContext is the same as DeleteWorkflow with the addition of
3847// the ability to pass a context and additional request options.
3848//
3849// See DeleteWorkflow for details on how to use this API operation.
3850//
3851// The context must be non-nil and will be used for request cancellation. If
3852// the context is nil a panic will occur. In the future the SDK may create
3853// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3854// for more information on using Contexts.
3855func (c *Glue) DeleteWorkflowWithContext(ctx aws.Context, input *DeleteWorkflowInput, opts ...request.Option) (*DeleteWorkflowOutput, error) {
3856	req, out := c.DeleteWorkflowRequest(input)
3857	req.SetContext(ctx)
3858	req.ApplyOptions(opts...)
3859	return out, req.Send()
3860}
3861
3862const opGetCatalogImportStatus = "GetCatalogImportStatus"
3863
3864// GetCatalogImportStatusRequest generates a "aws/request.Request" representing the
3865// client's request for the GetCatalogImportStatus operation. The "output" return
3866// value will be populated with the request's response once the request completes
3867// successfully.
3868//
3869// Use "Send" method on the returned Request to send the API call to the service.
3870// the "output" return value is not valid until after Send returns without error.
3871//
3872// See GetCatalogImportStatus for more information on using the GetCatalogImportStatus
3873// API call, and error handling.
3874//
3875// This method is useful when you want to inject custom logic or configuration
3876// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3877//
3878//
3879//    // Example sending a request using the GetCatalogImportStatusRequest method.
3880//    req, resp := client.GetCatalogImportStatusRequest(params)
3881//
3882//    err := req.Send()
3883//    if err == nil { // resp is now filled
3884//        fmt.Println(resp)
3885//    }
3886//
3887// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus
3888func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) (req *request.Request, output *GetCatalogImportStatusOutput) {
3889	op := &request.Operation{
3890		Name:       opGetCatalogImportStatus,
3891		HTTPMethod: "POST",
3892		HTTPPath:   "/",
3893	}
3894
3895	if input == nil {
3896		input = &GetCatalogImportStatusInput{}
3897	}
3898
3899	output = &GetCatalogImportStatusOutput{}
3900	req = c.newRequest(op, input, output)
3901	return
3902}
3903
3904// GetCatalogImportStatus API operation for AWS Glue.
3905//
3906// Retrieves the status of a migration operation.
3907//
3908// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3909// with awserr.Error's Code and Message methods to get detailed information about
3910// the error.
3911//
3912// See the AWS API reference guide for AWS Glue's
3913// API operation GetCatalogImportStatus for usage and error information.
3914//
3915// Returned Error Types:
3916//   * InternalServiceException
3917//   An internal service error occurred.
3918//
3919//   * OperationTimeoutException
3920//   The operation timed out.
3921//
3922// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus
3923func (c *Glue) GetCatalogImportStatus(input *GetCatalogImportStatusInput) (*GetCatalogImportStatusOutput, error) {
3924	req, out := c.GetCatalogImportStatusRequest(input)
3925	return out, req.Send()
3926}
3927
3928// GetCatalogImportStatusWithContext is the same as GetCatalogImportStatus with the addition of
3929// the ability to pass a context and additional request options.
3930//
3931// See GetCatalogImportStatus for details on how to use this API operation.
3932//
3933// The context must be non-nil and will be used for request cancellation. If
3934// the context is nil a panic will occur. In the future the SDK may create
3935// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3936// for more information on using Contexts.
3937func (c *Glue) GetCatalogImportStatusWithContext(ctx aws.Context, input *GetCatalogImportStatusInput, opts ...request.Option) (*GetCatalogImportStatusOutput, error) {
3938	req, out := c.GetCatalogImportStatusRequest(input)
3939	req.SetContext(ctx)
3940	req.ApplyOptions(opts...)
3941	return out, req.Send()
3942}
3943
3944const opGetClassifier = "GetClassifier"
3945
3946// GetClassifierRequest generates a "aws/request.Request" representing the
3947// client's request for the GetClassifier operation. The "output" return
3948// value will be populated with the request's response once the request completes
3949// successfully.
3950//
3951// Use "Send" method on the returned Request to send the API call to the service.
3952// the "output" return value is not valid until after Send returns without error.
3953//
3954// See GetClassifier for more information on using the GetClassifier
3955// API call, and error handling.
3956//
3957// This method is useful when you want to inject custom logic or configuration
3958// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3959//
3960//
3961//    // Example sending a request using the GetClassifierRequest method.
3962//    req, resp := client.GetClassifierRequest(params)
3963//
3964//    err := req.Send()
3965//    if err == nil { // resp is now filled
3966//        fmt.Println(resp)
3967//    }
3968//
3969// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier
3970func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Request, output *GetClassifierOutput) {
3971	op := &request.Operation{
3972		Name:       opGetClassifier,
3973		HTTPMethod: "POST",
3974		HTTPPath:   "/",
3975	}
3976
3977	if input == nil {
3978		input = &GetClassifierInput{}
3979	}
3980
3981	output = &GetClassifierOutput{}
3982	req = c.newRequest(op, input, output)
3983	return
3984}
3985
3986// GetClassifier API operation for AWS Glue.
3987//
3988// Retrieve a classifier by name.
3989//
3990// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3991// with awserr.Error's Code and Message methods to get detailed information about
3992// the error.
3993//
3994// See the AWS API reference guide for AWS Glue's
3995// API operation GetClassifier for usage and error information.
3996//
3997// Returned Error Types:
3998//   * EntityNotFoundException
3999//   A specified entity does not exist
4000//
4001//   * OperationTimeoutException
4002//   The operation timed out.
4003//
4004// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier
4005func (c *Glue) GetClassifier(input *GetClassifierInput) (*GetClassifierOutput, error) {
4006	req, out := c.GetClassifierRequest(input)
4007	return out, req.Send()
4008}
4009
4010// GetClassifierWithContext is the same as GetClassifier with the addition of
4011// the ability to pass a context and additional request options.
4012//
4013// See GetClassifier for details on how to use this API operation.
4014//
4015// The context must be non-nil and will be used for request cancellation. If
4016// the context is nil a panic will occur. In the future the SDK may create
4017// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4018// for more information on using Contexts.
4019func (c *Glue) GetClassifierWithContext(ctx aws.Context, input *GetClassifierInput, opts ...request.Option) (*GetClassifierOutput, error) {
4020	req, out := c.GetClassifierRequest(input)
4021	req.SetContext(ctx)
4022	req.ApplyOptions(opts...)
4023	return out, req.Send()
4024}
4025
4026const opGetClassifiers = "GetClassifiers"
4027
4028// GetClassifiersRequest generates a "aws/request.Request" representing the
4029// client's request for the GetClassifiers operation. The "output" return
4030// value will be populated with the request's response once the request completes
4031// successfully.
4032//
4033// Use "Send" method on the returned Request to send the API call to the service.
4034// the "output" return value is not valid until after Send returns without error.
4035//
4036// See GetClassifiers for more information on using the GetClassifiers
4037// API call, and error handling.
4038//
4039// This method is useful when you want to inject custom logic or configuration
4040// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4041//
4042//
4043//    // Example sending a request using the GetClassifiersRequest method.
4044//    req, resp := client.GetClassifiersRequest(params)
4045//
4046//    err := req.Send()
4047//    if err == nil { // resp is now filled
4048//        fmt.Println(resp)
4049//    }
4050//
4051// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers
4052func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.Request, output *GetClassifiersOutput) {
4053	op := &request.Operation{
4054		Name:       opGetClassifiers,
4055		HTTPMethod: "POST",
4056		HTTPPath:   "/",
4057		Paginator: &request.Paginator{
4058			InputTokens:     []string{"NextToken"},
4059			OutputTokens:    []string{"NextToken"},
4060			LimitToken:      "MaxResults",
4061			TruncationToken: "",
4062		},
4063	}
4064
4065	if input == nil {
4066		input = &GetClassifiersInput{}
4067	}
4068
4069	output = &GetClassifiersOutput{}
4070	req = c.newRequest(op, input, output)
4071	return
4072}
4073
4074// GetClassifiers API operation for AWS Glue.
4075//
4076// Lists all classifier objects in the Data Catalog.
4077//
4078// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4079// with awserr.Error's Code and Message methods to get detailed information about
4080// the error.
4081//
4082// See the AWS API reference guide for AWS Glue's
4083// API operation GetClassifiers for usage and error information.
4084//
4085// Returned Error Types:
4086//   * OperationTimeoutException
4087//   The operation timed out.
4088//
4089// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers
4090func (c *Glue) GetClassifiers(input *GetClassifiersInput) (*GetClassifiersOutput, error) {
4091	req, out := c.GetClassifiersRequest(input)
4092	return out, req.Send()
4093}
4094
4095// GetClassifiersWithContext is the same as GetClassifiers with the addition of
4096// the ability to pass a context and additional request options.
4097//
4098// See GetClassifiers for details on how to use this API operation.
4099//
4100// The context must be non-nil and will be used for request cancellation. If
4101// the context is nil a panic will occur. In the future the SDK may create
4102// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4103// for more information on using Contexts.
4104func (c *Glue) GetClassifiersWithContext(ctx aws.Context, input *GetClassifiersInput, opts ...request.Option) (*GetClassifiersOutput, error) {
4105	req, out := c.GetClassifiersRequest(input)
4106	req.SetContext(ctx)
4107	req.ApplyOptions(opts...)
4108	return out, req.Send()
4109}
4110
4111// GetClassifiersPages iterates over the pages of a GetClassifiers operation,
4112// calling the "fn" function with the response data for each page. To stop
4113// iterating, return false from the fn function.
4114//
4115// See GetClassifiers method for more information on how to use this operation.
4116//
4117// Note: This operation can generate multiple requests to a service.
4118//
4119//    // Example iterating over at most 3 pages of a GetClassifiers operation.
4120//    pageNum := 0
4121//    err := client.GetClassifiersPages(params,
4122//        func(page *glue.GetClassifiersOutput, lastPage bool) bool {
4123//            pageNum++
4124//            fmt.Println(page)
4125//            return pageNum <= 3
4126//        })
4127//
4128func (c *Glue) GetClassifiersPages(input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool) error {
4129	return c.GetClassifiersPagesWithContext(aws.BackgroundContext(), input, fn)
4130}
4131
4132// GetClassifiersPagesWithContext same as GetClassifiersPages except
4133// it takes a Context and allows setting request options on the pages.
4134//
4135// The context must be non-nil and will be used for request cancellation. If
4136// the context is nil a panic will occur. In the future the SDK may create
4137// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4138// for more information on using Contexts.
4139func (c *Glue) GetClassifiersPagesWithContext(ctx aws.Context, input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool, opts ...request.Option) error {
4140	p := request.Pagination{
4141		NewRequest: func() (*request.Request, error) {
4142			var inCpy *GetClassifiersInput
4143			if input != nil {
4144				tmp := *input
4145				inCpy = &tmp
4146			}
4147			req, _ := c.GetClassifiersRequest(inCpy)
4148			req.SetContext(ctx)
4149			req.ApplyOptions(opts...)
4150			return req, nil
4151		},
4152	}
4153
4154	for p.Next() {
4155		if !fn(p.Page().(*GetClassifiersOutput), !p.HasNextPage()) {
4156			break
4157		}
4158	}
4159
4160	return p.Err()
4161}
4162
4163const opGetConnection = "GetConnection"
4164
4165// GetConnectionRequest generates a "aws/request.Request" representing the
4166// client's request for the GetConnection operation. The "output" return
4167// value will be populated with the request's response once the request completes
4168// successfully.
4169//
4170// Use "Send" method on the returned Request to send the API call to the service.
4171// the "output" return value is not valid until after Send returns without error.
4172//
4173// See GetConnection for more information on using the GetConnection
4174// API call, and error handling.
4175//
4176// This method is useful when you want to inject custom logic or configuration
4177// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4178//
4179//
4180//    // Example sending a request using the GetConnectionRequest method.
4181//    req, resp := client.GetConnectionRequest(params)
4182//
4183//    err := req.Send()
4184//    if err == nil { // resp is now filled
4185//        fmt.Println(resp)
4186//    }
4187//
4188// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
4189func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) {
4190	op := &request.Operation{
4191		Name:       opGetConnection,
4192		HTTPMethod: "POST",
4193		HTTPPath:   "/",
4194	}
4195
4196	if input == nil {
4197		input = &GetConnectionInput{}
4198	}
4199
4200	output = &GetConnectionOutput{}
4201	req = c.newRequest(op, input, output)
4202	return
4203}
4204
4205// GetConnection API operation for AWS Glue.
4206//
4207// Retrieves a connection definition from the Data Catalog.
4208//
4209// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4210// with awserr.Error's Code and Message methods to get detailed information about
4211// the error.
4212//
4213// See the AWS API reference guide for AWS Glue's
4214// API operation GetConnection for usage and error information.
4215//
4216// Returned Error Types:
4217//   * EntityNotFoundException
4218//   A specified entity does not exist
4219//
4220//   * OperationTimeoutException
4221//   The operation timed out.
4222//
4223//   * InvalidInputException
4224//   The input provided was not valid.
4225//
4226//   * EncryptionException
4227//   An encryption operation failed.
4228//
4229// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
4230func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) {
4231	req, out := c.GetConnectionRequest(input)
4232	return out, req.Send()
4233}
4234
4235// GetConnectionWithContext is the same as GetConnection with the addition of
4236// the ability to pass a context and additional request options.
4237//
4238// See GetConnection for details on how to use this API operation.
4239//
4240// The context must be non-nil and will be used for request cancellation. If
4241// the context is nil a panic will occur. In the future the SDK may create
4242// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4243// for more information on using Contexts.
4244func (c *Glue) GetConnectionWithContext(ctx aws.Context, input *GetConnectionInput, opts ...request.Option) (*GetConnectionOutput, error) {
4245	req, out := c.GetConnectionRequest(input)
4246	req.SetContext(ctx)
4247	req.ApplyOptions(opts...)
4248	return out, req.Send()
4249}
4250
4251const opGetConnections = "GetConnections"
4252
4253// GetConnectionsRequest generates a "aws/request.Request" representing the
4254// client's request for the GetConnections operation. The "output" return
4255// value will be populated with the request's response once the request completes
4256// successfully.
4257//
4258// Use "Send" method on the returned Request to send the API call to the service.
4259// the "output" return value is not valid until after Send returns without error.
4260//
4261// See GetConnections for more information on using the GetConnections
4262// API call, and error handling.
4263//
4264// This method is useful when you want to inject custom logic or configuration
4265// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4266//
4267//
4268//    // Example sending a request using the GetConnectionsRequest method.
4269//    req, resp := client.GetConnectionsRequest(params)
4270//
4271//    err := req.Send()
4272//    if err == nil { // resp is now filled
4273//        fmt.Println(resp)
4274//    }
4275//
4276// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
4277func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) {
4278	op := &request.Operation{
4279		Name:       opGetConnections,
4280		HTTPMethod: "POST",
4281		HTTPPath:   "/",
4282		Paginator: &request.Paginator{
4283			InputTokens:     []string{"NextToken"},
4284			OutputTokens:    []string{"NextToken"},
4285			LimitToken:      "MaxResults",
4286			TruncationToken: "",
4287		},
4288	}
4289
4290	if input == nil {
4291		input = &GetConnectionsInput{}
4292	}
4293
4294	output = &GetConnectionsOutput{}
4295	req = c.newRequest(op, input, output)
4296	return
4297}
4298
4299// GetConnections API operation for AWS Glue.
4300//
4301// Retrieves a list of connection definitions from the Data Catalog.
4302//
4303// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4304// with awserr.Error's Code and Message methods to get detailed information about
4305// the error.
4306//
4307// See the AWS API reference guide for AWS Glue's
4308// API operation GetConnections for usage and error information.
4309//
4310// Returned Error Types:
4311//   * EntityNotFoundException
4312//   A specified entity does not exist
4313//
4314//   * OperationTimeoutException
4315//   The operation timed out.
4316//
4317//   * InvalidInputException
4318//   The input provided was not valid.
4319//
4320//   * EncryptionException
4321//   An encryption operation failed.
4322//
4323// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
4324func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) {
4325	req, out := c.GetConnectionsRequest(input)
4326	return out, req.Send()
4327}
4328
4329// GetConnectionsWithContext is the same as GetConnections with the addition of
4330// the ability to pass a context and additional request options.
4331//
4332// See GetConnections for details on how to use this API operation.
4333//
4334// The context must be non-nil and will be used for request cancellation. If
4335// the context is nil a panic will occur. In the future the SDK may create
4336// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4337// for more information on using Contexts.
4338func (c *Glue) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error) {
4339	req, out := c.GetConnectionsRequest(input)
4340	req.SetContext(ctx)
4341	req.ApplyOptions(opts...)
4342	return out, req.Send()
4343}
4344
4345// GetConnectionsPages iterates over the pages of a GetConnections operation,
4346// calling the "fn" function with the response data for each page. To stop
4347// iterating, return false from the fn function.
4348//
4349// See GetConnections method for more information on how to use this operation.
4350//
4351// Note: This operation can generate multiple requests to a service.
4352//
4353//    // Example iterating over at most 3 pages of a GetConnections operation.
4354//    pageNum := 0
4355//    err := client.GetConnectionsPages(params,
4356//        func(page *glue.GetConnectionsOutput, lastPage bool) bool {
4357//            pageNum++
4358//            fmt.Println(page)
4359//            return pageNum <= 3
4360//        })
4361//
4362func (c *Glue) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error {
4363	return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn)
4364}
4365
4366// GetConnectionsPagesWithContext same as GetConnectionsPages except
4367// it takes a Context and allows setting request options on the pages.
4368//
4369// The context must be non-nil and will be used for request cancellation. If
4370// the context is nil a panic will occur. In the future the SDK may create
4371// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4372// for more information on using Contexts.
4373func (c *Glue) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error {
4374	p := request.Pagination{
4375		NewRequest: func() (*request.Request, error) {
4376			var inCpy *GetConnectionsInput
4377			if input != nil {
4378				tmp := *input
4379				inCpy = &tmp
4380			}
4381			req, _ := c.GetConnectionsRequest(inCpy)
4382			req.SetContext(ctx)
4383			req.ApplyOptions(opts...)
4384			return req, nil
4385		},
4386	}
4387
4388	for p.Next() {
4389		if !fn(p.Page().(*GetConnectionsOutput), !p.HasNextPage()) {
4390			break
4391		}
4392	}
4393
4394	return p.Err()
4395}
4396
4397const opGetCrawler = "GetCrawler"
4398
4399// GetCrawlerRequest generates a "aws/request.Request" representing the
4400// client's request for the GetCrawler operation. The "output" return
4401// value will be populated with the request's response once the request completes
4402// successfully.
4403//
4404// Use "Send" method on the returned Request to send the API call to the service.
4405// the "output" return value is not valid until after Send returns without error.
4406//
4407// See GetCrawler for more information on using the GetCrawler
4408// API call, and error handling.
4409//
4410// This method is useful when you want to inject custom logic or configuration
4411// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4412//
4413//
4414//    // Example sending a request using the GetCrawlerRequest method.
4415//    req, resp := client.GetCrawlerRequest(params)
4416//
4417//    err := req.Send()
4418//    if err == nil { // resp is now filled
4419//        fmt.Println(resp)
4420//    }
4421//
4422// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
4423func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) {
4424	op := &request.Operation{
4425		Name:       opGetCrawler,
4426		HTTPMethod: "POST",
4427		HTTPPath:   "/",
4428	}
4429
4430	if input == nil {
4431		input = &GetCrawlerInput{}
4432	}
4433
4434	output = &GetCrawlerOutput{}
4435	req = c.newRequest(op, input, output)
4436	return
4437}
4438
4439// GetCrawler API operation for AWS Glue.
4440//
4441// Retrieves metadata for a specified crawler.
4442//
4443// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4444// with awserr.Error's Code and Message methods to get detailed information about
4445// the error.
4446//
4447// See the AWS API reference guide for AWS Glue's
4448// API operation GetCrawler for usage and error information.
4449//
4450// Returned Error Types:
4451//   * EntityNotFoundException
4452//   A specified entity does not exist
4453//
4454//   * OperationTimeoutException
4455//   The operation timed out.
4456//
4457// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
4458func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) {
4459	req, out := c.GetCrawlerRequest(input)
4460	return out, req.Send()
4461}
4462
4463// GetCrawlerWithContext is the same as GetCrawler with the addition of
4464// the ability to pass a context and additional request options.
4465//
4466// See GetCrawler for details on how to use this API operation.
4467//
4468// The context must be non-nil and will be used for request cancellation. If
4469// the context is nil a panic will occur. In the future the SDK may create
4470// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4471// for more information on using Contexts.
4472func (c *Glue) GetCrawlerWithContext(ctx aws.Context, input *GetCrawlerInput, opts ...request.Option) (*GetCrawlerOutput, error) {
4473	req, out := c.GetCrawlerRequest(input)
4474	req.SetContext(ctx)
4475	req.ApplyOptions(opts...)
4476	return out, req.Send()
4477}
4478
4479const opGetCrawlerMetrics = "GetCrawlerMetrics"
4480
4481// GetCrawlerMetricsRequest generates a "aws/request.Request" representing the
4482// client's request for the GetCrawlerMetrics operation. The "output" return
4483// value will be populated with the request's response once the request completes
4484// successfully.
4485//
4486// Use "Send" method on the returned Request to send the API call to the service.
4487// the "output" return value is not valid until after Send returns without error.
4488//
4489// See GetCrawlerMetrics for more information on using the GetCrawlerMetrics
4490// API call, and error handling.
4491//
4492// This method is useful when you want to inject custom logic or configuration
4493// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4494//
4495//
4496//    // Example sending a request using the GetCrawlerMetricsRequest method.
4497//    req, resp := client.GetCrawlerMetricsRequest(params)
4498//
4499//    err := req.Send()
4500//    if err == nil { // resp is now filled
4501//        fmt.Println(resp)
4502//    }
4503//
4504// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
4505func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) {
4506	op := &request.Operation{
4507		Name:       opGetCrawlerMetrics,
4508		HTTPMethod: "POST",
4509		HTTPPath:   "/",
4510		Paginator: &request.Paginator{
4511			InputTokens:     []string{"NextToken"},
4512			OutputTokens:    []string{"NextToken"},
4513			LimitToken:      "MaxResults",
4514			TruncationToken: "",
4515		},
4516	}
4517
4518	if input == nil {
4519		input = &GetCrawlerMetricsInput{}
4520	}
4521
4522	output = &GetCrawlerMetricsOutput{}
4523	req = c.newRequest(op, input, output)
4524	return
4525}
4526
4527// GetCrawlerMetrics API operation for AWS Glue.
4528//
4529// Retrieves metrics about specified crawlers.
4530//
4531// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4532// with awserr.Error's Code and Message methods to get detailed information about
4533// the error.
4534//
4535// See the AWS API reference guide for AWS Glue's
4536// API operation GetCrawlerMetrics for usage and error information.
4537//
4538// Returned Error Types:
4539//   * OperationTimeoutException
4540//   The operation timed out.
4541//
4542// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
4543func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) {
4544	req, out := c.GetCrawlerMetricsRequest(input)
4545	return out, req.Send()
4546}
4547
4548// GetCrawlerMetricsWithContext is the same as GetCrawlerMetrics with the addition of
4549// the ability to pass a context and additional request options.
4550//
4551// See GetCrawlerMetrics for details on how to use this API operation.
4552//
4553// The context must be non-nil and will be used for request cancellation. If
4554// the context is nil a panic will occur. In the future the SDK may create
4555// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4556// for more information on using Contexts.
4557func (c *Glue) GetCrawlerMetricsWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, opts ...request.Option) (*GetCrawlerMetricsOutput, error) {
4558	req, out := c.GetCrawlerMetricsRequest(input)
4559	req.SetContext(ctx)
4560	req.ApplyOptions(opts...)
4561	return out, req.Send()
4562}
4563
4564// GetCrawlerMetricsPages iterates over the pages of a GetCrawlerMetrics operation,
4565// calling the "fn" function with the response data for each page. To stop
4566// iterating, return false from the fn function.
4567//
4568// See GetCrawlerMetrics method for more information on how to use this operation.
4569//
4570// Note: This operation can generate multiple requests to a service.
4571//
4572//    // Example iterating over at most 3 pages of a GetCrawlerMetrics operation.
4573//    pageNum := 0
4574//    err := client.GetCrawlerMetricsPages(params,
4575//        func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool {
4576//            pageNum++
4577//            fmt.Println(page)
4578//            return pageNum <= 3
4579//        })
4580//
4581func (c *Glue) GetCrawlerMetricsPages(input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool) error {
4582	return c.GetCrawlerMetricsPagesWithContext(aws.BackgroundContext(), input, fn)
4583}
4584
4585// GetCrawlerMetricsPagesWithContext same as GetCrawlerMetricsPages except
4586// it takes a Context and allows setting request options on the pages.
4587//
4588// The context must be non-nil and will be used for request cancellation. If
4589// the context is nil a panic will occur. In the future the SDK may create
4590// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4591// for more information on using Contexts.
4592func (c *Glue) GetCrawlerMetricsPagesWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool, opts ...request.Option) error {
4593	p := request.Pagination{
4594		NewRequest: func() (*request.Request, error) {
4595			var inCpy *GetCrawlerMetricsInput
4596			if input != nil {
4597				tmp := *input
4598				inCpy = &tmp
4599			}
4600			req, _ := c.GetCrawlerMetricsRequest(inCpy)
4601			req.SetContext(ctx)
4602			req.ApplyOptions(opts...)
4603			return req, nil
4604		},
4605	}
4606
4607	for p.Next() {
4608		if !fn(p.Page().(*GetCrawlerMetricsOutput), !p.HasNextPage()) {
4609			break
4610		}
4611	}
4612
4613	return p.Err()
4614}
4615
4616const opGetCrawlers = "GetCrawlers"
4617
4618// GetCrawlersRequest generates a "aws/request.Request" representing the
4619// client's request for the GetCrawlers operation. The "output" return
4620// value will be populated with the request's response once the request completes
4621// successfully.
4622//
4623// Use "Send" method on the returned Request to send the API call to the service.
4624// the "output" return value is not valid until after Send returns without error.
4625//
4626// See GetCrawlers for more information on using the GetCrawlers
4627// API call, and error handling.
4628//
4629// This method is useful when you want to inject custom logic or configuration
4630// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4631//
4632//
4633//    // Example sending a request using the GetCrawlersRequest method.
4634//    req, resp := client.GetCrawlersRequest(params)
4635//
4636//    err := req.Send()
4637//    if err == nil { // resp is now filled
4638//        fmt.Println(resp)
4639//    }
4640//
4641// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
4642func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) {
4643	op := &request.Operation{
4644		Name:       opGetCrawlers,
4645		HTTPMethod: "POST",
4646		HTTPPath:   "/",
4647		Paginator: &request.Paginator{
4648			InputTokens:     []string{"NextToken"},
4649			OutputTokens:    []string{"NextToken"},
4650			LimitToken:      "MaxResults",
4651			TruncationToken: "",
4652		},
4653	}
4654
4655	if input == nil {
4656		input = &GetCrawlersInput{}
4657	}
4658
4659	output = &GetCrawlersOutput{}
4660	req = c.newRequest(op, input, output)
4661	return
4662}
4663
4664// GetCrawlers API operation for AWS Glue.
4665//
4666// Retrieves metadata for all crawlers defined in the customer account.
4667//
4668// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4669// with awserr.Error's Code and Message methods to get detailed information about
4670// the error.
4671//
4672// See the AWS API reference guide for AWS Glue's
4673// API operation GetCrawlers for usage and error information.
4674//
4675// Returned Error Types:
4676//   * OperationTimeoutException
4677//   The operation timed out.
4678//
4679// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
4680func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) {
4681	req, out := c.GetCrawlersRequest(input)
4682	return out, req.Send()
4683}
4684
4685// GetCrawlersWithContext is the same as GetCrawlers with the addition of
4686// the ability to pass a context and additional request options.
4687//
4688// See GetCrawlers for details on how to use this API operation.
4689//
4690// The context must be non-nil and will be used for request cancellation. If
4691// the context is nil a panic will occur. In the future the SDK may create
4692// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4693// for more information on using Contexts.
4694func (c *Glue) GetCrawlersWithContext(ctx aws.Context, input *GetCrawlersInput, opts ...request.Option) (*GetCrawlersOutput, error) {
4695	req, out := c.GetCrawlersRequest(input)
4696	req.SetContext(ctx)
4697	req.ApplyOptions(opts...)
4698	return out, req.Send()
4699}
4700
4701// GetCrawlersPages iterates over the pages of a GetCrawlers operation,
4702// calling the "fn" function with the response data for each page. To stop
4703// iterating, return false from the fn function.
4704//
4705// See GetCrawlers method for more information on how to use this operation.
4706//
4707// Note: This operation can generate multiple requests to a service.
4708//
4709//    // Example iterating over at most 3 pages of a GetCrawlers operation.
4710//    pageNum := 0
4711//    err := client.GetCrawlersPages(params,
4712//        func(page *glue.GetCrawlersOutput, lastPage bool) bool {
4713//            pageNum++
4714//            fmt.Println(page)
4715//            return pageNum <= 3
4716//        })
4717//
4718func (c *Glue) GetCrawlersPages(input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool) error {
4719	return c.GetCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
4720}
4721
4722// GetCrawlersPagesWithContext same as GetCrawlersPages except
4723// it takes a Context and allows setting request options on the pages.
4724//
4725// The context must be non-nil and will be used for request cancellation. If
4726// the context is nil a panic will occur. In the future the SDK may create
4727// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4728// for more information on using Contexts.
4729func (c *Glue) GetCrawlersPagesWithContext(ctx aws.Context, input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool, opts ...request.Option) error {
4730	p := request.Pagination{
4731		NewRequest: func() (*request.Request, error) {
4732			var inCpy *GetCrawlersInput
4733			if input != nil {
4734				tmp := *input
4735				inCpy = &tmp
4736			}
4737			req, _ := c.GetCrawlersRequest(inCpy)
4738			req.SetContext(ctx)
4739			req.ApplyOptions(opts...)
4740			return req, nil
4741		},
4742	}
4743
4744	for p.Next() {
4745		if !fn(p.Page().(*GetCrawlersOutput), !p.HasNextPage()) {
4746			break
4747		}
4748	}
4749
4750	return p.Err()
4751}
4752
4753const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings"
4754
4755// GetDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
4756// client's request for the GetDataCatalogEncryptionSettings operation. The "output" return
4757// value will be populated with the request's response once the request completes
4758// successfully.
4759//
4760// Use "Send" method on the returned Request to send the API call to the service.
4761// the "output" return value is not valid until after Send returns without error.
4762//
4763// See GetDataCatalogEncryptionSettings for more information on using the GetDataCatalogEncryptionSettings
4764// API call, and error handling.
4765//
4766// This method is useful when you want to inject custom logic or configuration
4767// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4768//
4769//
4770//    // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method.
4771//    req, resp := client.GetDataCatalogEncryptionSettingsRequest(params)
4772//
4773//    err := req.Send()
4774//    if err == nil { // resp is now filled
4775//        fmt.Println(resp)
4776//    }
4777//
4778// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings
4779func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) {
4780	op := &request.Operation{
4781		Name:       opGetDataCatalogEncryptionSettings,
4782		HTTPMethod: "POST",
4783		HTTPPath:   "/",
4784	}
4785
4786	if input == nil {
4787		input = &GetDataCatalogEncryptionSettingsInput{}
4788	}
4789
4790	output = &GetDataCatalogEncryptionSettingsOutput{}
4791	req = c.newRequest(op, input, output)
4792	return
4793}
4794
4795// GetDataCatalogEncryptionSettings API operation for AWS Glue.
4796//
4797// Retrieves the security configuration for a specified catalog.
4798//
4799// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4800// with awserr.Error's Code and Message methods to get detailed information about
4801// the error.
4802//
4803// See the AWS API reference guide for AWS Glue's
4804// API operation GetDataCatalogEncryptionSettings for usage and error information.
4805//
4806// Returned Error Types:
4807//   * InternalServiceException
4808//   An internal service error occurred.
4809//
4810//   * InvalidInputException
4811//   The input provided was not valid.
4812//
4813//   * OperationTimeoutException
4814//   The operation timed out.
4815//
4816// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings
4817func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) {
4818	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
4819	return out, req.Send()
4820}
4821
4822// GetDataCatalogEncryptionSettingsWithContext is the same as GetDataCatalogEncryptionSettings with the addition of
4823// the ability to pass a context and additional request options.
4824//
4825// See GetDataCatalogEncryptionSettings for details on how to use this API operation.
4826//
4827// The context must be non-nil and will be used for request cancellation. If
4828// the context is nil a panic will occur. In the future the SDK may create
4829// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4830// for more information on using Contexts.
4831func (c *Glue) GetDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *GetDataCatalogEncryptionSettingsInput, opts ...request.Option) (*GetDataCatalogEncryptionSettingsOutput, error) {
4832	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
4833	req.SetContext(ctx)
4834	req.ApplyOptions(opts...)
4835	return out, req.Send()
4836}
4837
4838const opGetDatabase = "GetDatabase"
4839
4840// GetDatabaseRequest generates a "aws/request.Request" representing the
4841// client's request for the GetDatabase operation. The "output" return
4842// value will be populated with the request's response once the request completes
4843// successfully.
4844//
4845// Use "Send" method on the returned Request to send the API call to the service.
4846// the "output" return value is not valid until after Send returns without error.
4847//
4848// See GetDatabase for more information on using the GetDatabase
4849// API call, and error handling.
4850//
4851// This method is useful when you want to inject custom logic or configuration
4852// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4853//
4854//
4855//    // Example sending a request using the GetDatabaseRequest method.
4856//    req, resp := client.GetDatabaseRequest(params)
4857//
4858//    err := req.Send()
4859//    if err == nil { // resp is now filled
4860//        fmt.Println(resp)
4861//    }
4862//
4863// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
4864func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) {
4865	op := &request.Operation{
4866		Name:       opGetDatabase,
4867		HTTPMethod: "POST",
4868		HTTPPath:   "/",
4869	}
4870
4871	if input == nil {
4872		input = &GetDatabaseInput{}
4873	}
4874
4875	output = &GetDatabaseOutput{}
4876	req = c.newRequest(op, input, output)
4877	return
4878}
4879
4880// GetDatabase API operation for AWS Glue.
4881//
4882// Retrieves the definition of a specified database.
4883//
4884// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4885// with awserr.Error's Code and Message methods to get detailed information about
4886// the error.
4887//
4888// See the AWS API reference guide for AWS Glue's
4889// API operation GetDatabase for usage and error information.
4890//
4891// Returned Error Types:
4892//   * InvalidInputException
4893//   The input provided was not valid.
4894//
4895//   * EntityNotFoundException
4896//   A specified entity does not exist
4897//
4898//   * InternalServiceException
4899//   An internal service error occurred.
4900//
4901//   * OperationTimeoutException
4902//   The operation timed out.
4903//
4904//   * EncryptionException
4905//   An encryption operation failed.
4906//
4907// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
4908func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) {
4909	req, out := c.GetDatabaseRequest(input)
4910	return out, req.Send()
4911}
4912
4913// GetDatabaseWithContext is the same as GetDatabase with the addition of
4914// the ability to pass a context and additional request options.
4915//
4916// See GetDatabase for details on how to use this API operation.
4917//
4918// The context must be non-nil and will be used for request cancellation. If
4919// the context is nil a panic will occur. In the future the SDK may create
4920// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4921// for more information on using Contexts.
4922func (c *Glue) GetDatabaseWithContext(ctx aws.Context, input *GetDatabaseInput, opts ...request.Option) (*GetDatabaseOutput, error) {
4923	req, out := c.GetDatabaseRequest(input)
4924	req.SetContext(ctx)
4925	req.ApplyOptions(opts...)
4926	return out, req.Send()
4927}
4928
4929const opGetDatabases = "GetDatabases"
4930
4931// GetDatabasesRequest generates a "aws/request.Request" representing the
4932// client's request for the GetDatabases operation. The "output" return
4933// value will be populated with the request's response once the request completes
4934// successfully.
4935//
4936// Use "Send" method on the returned Request to send the API call to the service.
4937// the "output" return value is not valid until after Send returns without error.
4938//
4939// See GetDatabases for more information on using the GetDatabases
4940// API call, and error handling.
4941//
4942// This method is useful when you want to inject custom logic or configuration
4943// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4944//
4945//
4946//    // Example sending a request using the GetDatabasesRequest method.
4947//    req, resp := client.GetDatabasesRequest(params)
4948//
4949//    err := req.Send()
4950//    if err == nil { // resp is now filled
4951//        fmt.Println(resp)
4952//    }
4953//
4954// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
4955func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) {
4956	op := &request.Operation{
4957		Name:       opGetDatabases,
4958		HTTPMethod: "POST",
4959		HTTPPath:   "/",
4960		Paginator: &request.Paginator{
4961			InputTokens:     []string{"NextToken"},
4962			OutputTokens:    []string{"NextToken"},
4963			LimitToken:      "MaxResults",
4964			TruncationToken: "",
4965		},
4966	}
4967
4968	if input == nil {
4969		input = &GetDatabasesInput{}
4970	}
4971
4972	output = &GetDatabasesOutput{}
4973	req = c.newRequest(op, input, output)
4974	return
4975}
4976
4977// GetDatabases API operation for AWS Glue.
4978//
4979// Retrieves all databases defined in a given Data Catalog.
4980//
4981// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4982// with awserr.Error's Code and Message methods to get detailed information about
4983// the error.
4984//
4985// See the AWS API reference guide for AWS Glue's
4986// API operation GetDatabases for usage and error information.
4987//
4988// Returned Error Types:
4989//   * InvalidInputException
4990//   The input provided was not valid.
4991//
4992//   * InternalServiceException
4993//   An internal service error occurred.
4994//
4995//   * OperationTimeoutException
4996//   The operation timed out.
4997//
4998//   * EncryptionException
4999//   An encryption operation failed.
5000//
5001// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
5002func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) {
5003	req, out := c.GetDatabasesRequest(input)
5004	return out, req.Send()
5005}
5006
5007// GetDatabasesWithContext is the same as GetDatabases with the addition of
5008// the ability to pass a context and additional request options.
5009//
5010// See GetDatabases for details on how to use this API operation.
5011//
5012// The context must be non-nil and will be used for request cancellation. If
5013// the context is nil a panic will occur. In the future the SDK may create
5014// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5015// for more information on using Contexts.
5016func (c *Glue) GetDatabasesWithContext(ctx aws.Context, input *GetDatabasesInput, opts ...request.Option) (*GetDatabasesOutput, error) {
5017	req, out := c.GetDatabasesRequest(input)
5018	req.SetContext(ctx)
5019	req.ApplyOptions(opts...)
5020	return out, req.Send()
5021}
5022
5023// GetDatabasesPages iterates over the pages of a GetDatabases operation,
5024// calling the "fn" function with the response data for each page. To stop
5025// iterating, return false from the fn function.
5026//
5027// See GetDatabases method for more information on how to use this operation.
5028//
5029// Note: This operation can generate multiple requests to a service.
5030//
5031//    // Example iterating over at most 3 pages of a GetDatabases operation.
5032//    pageNum := 0
5033//    err := client.GetDatabasesPages(params,
5034//        func(page *glue.GetDatabasesOutput, lastPage bool) bool {
5035//            pageNum++
5036//            fmt.Println(page)
5037//            return pageNum <= 3
5038//        })
5039//
5040func (c *Glue) GetDatabasesPages(input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool) error {
5041	return c.GetDatabasesPagesWithContext(aws.BackgroundContext(), input, fn)
5042}
5043
5044// GetDatabasesPagesWithContext same as GetDatabasesPages except
5045// it takes a Context and allows setting request options on the pages.
5046//
5047// The context must be non-nil and will be used for request cancellation. If
5048// the context is nil a panic will occur. In the future the SDK may create
5049// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5050// for more information on using Contexts.
5051func (c *Glue) GetDatabasesPagesWithContext(ctx aws.Context, input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool, opts ...request.Option) error {
5052	p := request.Pagination{
5053		NewRequest: func() (*request.Request, error) {
5054			var inCpy *GetDatabasesInput
5055			if input != nil {
5056				tmp := *input
5057				inCpy = &tmp
5058			}
5059			req, _ := c.GetDatabasesRequest(inCpy)
5060			req.SetContext(ctx)
5061			req.ApplyOptions(opts...)
5062			return req, nil
5063		},
5064	}
5065
5066	for p.Next() {
5067		if !fn(p.Page().(*GetDatabasesOutput), !p.HasNextPage()) {
5068			break
5069		}
5070	}
5071
5072	return p.Err()
5073}
5074
5075const opGetDataflowGraph = "GetDataflowGraph"
5076
5077// GetDataflowGraphRequest generates a "aws/request.Request" representing the
5078// client's request for the GetDataflowGraph operation. The "output" return
5079// value will be populated with the request's response once the request completes
5080// successfully.
5081//
5082// Use "Send" method on the returned Request to send the API call to the service.
5083// the "output" return value is not valid until after Send returns without error.
5084//
5085// See GetDataflowGraph for more information on using the GetDataflowGraph
5086// API call, and error handling.
5087//
5088// This method is useful when you want to inject custom logic or configuration
5089// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5090//
5091//
5092//    // Example sending a request using the GetDataflowGraphRequest method.
5093//    req, resp := client.GetDataflowGraphRequest(params)
5094//
5095//    err := req.Send()
5096//    if err == nil { // resp is now filled
5097//        fmt.Println(resp)
5098//    }
5099//
5100// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
5101func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) {
5102	op := &request.Operation{
5103		Name:       opGetDataflowGraph,
5104		HTTPMethod: "POST",
5105		HTTPPath:   "/",
5106	}
5107
5108	if input == nil {
5109		input = &GetDataflowGraphInput{}
5110	}
5111
5112	output = &GetDataflowGraphOutput{}
5113	req = c.newRequest(op, input, output)
5114	return
5115}
5116
5117// GetDataflowGraph API operation for AWS Glue.
5118//
5119// Transforms a Python script into a directed acyclic graph (DAG).
5120//
5121// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5122// with awserr.Error's Code and Message methods to get detailed information about
5123// the error.
5124//
5125// See the AWS API reference guide for AWS Glue's
5126// API operation GetDataflowGraph for usage and error information.
5127//
5128// Returned Error Types:
5129//   * InvalidInputException
5130//   The input provided was not valid.
5131//
5132//   * InternalServiceException
5133//   An internal service error occurred.
5134//
5135//   * OperationTimeoutException
5136//   The operation timed out.
5137//
5138// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
5139func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) {
5140	req, out := c.GetDataflowGraphRequest(input)
5141	return out, req.Send()
5142}
5143
5144// GetDataflowGraphWithContext is the same as GetDataflowGraph with the addition of
5145// the ability to pass a context and additional request options.
5146//
5147// See GetDataflowGraph for details on how to use this API operation.
5148//
5149// The context must be non-nil and will be used for request cancellation. If
5150// the context is nil a panic will occur. In the future the SDK may create
5151// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5152// for more information on using Contexts.
5153func (c *Glue) GetDataflowGraphWithContext(ctx aws.Context, input *GetDataflowGraphInput, opts ...request.Option) (*GetDataflowGraphOutput, error) {
5154	req, out := c.GetDataflowGraphRequest(input)
5155	req.SetContext(ctx)
5156	req.ApplyOptions(opts...)
5157	return out, req.Send()
5158}
5159
5160const opGetDevEndpoint = "GetDevEndpoint"
5161
5162// GetDevEndpointRequest generates a "aws/request.Request" representing the
5163// client's request for the GetDevEndpoint operation. The "output" return
5164// value will be populated with the request's response once the request completes
5165// successfully.
5166//
5167// Use "Send" method on the returned Request to send the API call to the service.
5168// the "output" return value is not valid until after Send returns without error.
5169//
5170// See GetDevEndpoint for more information on using the GetDevEndpoint
5171// API call, and error handling.
5172//
5173// This method is useful when you want to inject custom logic or configuration
5174// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5175//
5176//
5177//    // Example sending a request using the GetDevEndpointRequest method.
5178//    req, resp := client.GetDevEndpointRequest(params)
5179//
5180//    err := req.Send()
5181//    if err == nil { // resp is now filled
5182//        fmt.Println(resp)
5183//    }
5184//
5185// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
5186func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) {
5187	op := &request.Operation{
5188		Name:       opGetDevEndpoint,
5189		HTTPMethod: "POST",
5190		HTTPPath:   "/",
5191	}
5192
5193	if input == nil {
5194		input = &GetDevEndpointInput{}
5195	}
5196
5197	output = &GetDevEndpointOutput{}
5198	req = c.newRequest(op, input, output)
5199	return
5200}
5201
5202// GetDevEndpoint API operation for AWS Glue.
5203//
5204// Retrieves information about a specified development endpoint.
5205//
5206// When you create a development endpoint in a virtual private cloud (VPC),
5207// AWS Glue returns only a private IP address, and the public IP address field
5208// is not populated. When you create a non-VPC development endpoint, AWS Glue
5209// returns only a public IP address.
5210//
5211// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5212// with awserr.Error's Code and Message methods to get detailed information about
5213// the error.
5214//
5215// See the AWS API reference guide for AWS Glue's
5216// API operation GetDevEndpoint for usage and error information.
5217//
5218// Returned Error Types:
5219//   * EntityNotFoundException
5220//   A specified entity does not exist
5221//
5222//   * InternalServiceException
5223//   An internal service error occurred.
5224//
5225//   * OperationTimeoutException
5226//   The operation timed out.
5227//
5228//   * InvalidInputException
5229//   The input provided was not valid.
5230//
5231// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
5232func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) {
5233	req, out := c.GetDevEndpointRequest(input)
5234	return out, req.Send()
5235}
5236
5237// GetDevEndpointWithContext is the same as GetDevEndpoint with the addition of
5238// the ability to pass a context and additional request options.
5239//
5240// See GetDevEndpoint for details on how to use this API operation.
5241//
5242// The context must be non-nil and will be used for request cancellation. If
5243// the context is nil a panic will occur. In the future the SDK may create
5244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5245// for more information on using Contexts.
5246func (c *Glue) GetDevEndpointWithContext(ctx aws.Context, input *GetDevEndpointInput, opts ...request.Option) (*GetDevEndpointOutput, error) {
5247	req, out := c.GetDevEndpointRequest(input)
5248	req.SetContext(ctx)
5249	req.ApplyOptions(opts...)
5250	return out, req.Send()
5251}
5252
5253const opGetDevEndpoints = "GetDevEndpoints"
5254
5255// GetDevEndpointsRequest generates a "aws/request.Request" representing the
5256// client's request for the GetDevEndpoints operation. The "output" return
5257// value will be populated with the request's response once the request completes
5258// successfully.
5259//
5260// Use "Send" method on the returned Request to send the API call to the service.
5261// the "output" return value is not valid until after Send returns without error.
5262//
5263// See GetDevEndpoints for more information on using the GetDevEndpoints
5264// API call, and error handling.
5265//
5266// This method is useful when you want to inject custom logic or configuration
5267// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5268//
5269//
5270//    // Example sending a request using the GetDevEndpointsRequest method.
5271//    req, resp := client.GetDevEndpointsRequest(params)
5272//
5273//    err := req.Send()
5274//    if err == nil { // resp is now filled
5275//        fmt.Println(resp)
5276//    }
5277//
5278// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
5279func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) {
5280	op := &request.Operation{
5281		Name:       opGetDevEndpoints,
5282		HTTPMethod: "POST",
5283		HTTPPath:   "/",
5284		Paginator: &request.Paginator{
5285			InputTokens:     []string{"NextToken"},
5286			OutputTokens:    []string{"NextToken"},
5287			LimitToken:      "MaxResults",
5288			TruncationToken: "",
5289		},
5290	}
5291
5292	if input == nil {
5293		input = &GetDevEndpointsInput{}
5294	}
5295
5296	output = &GetDevEndpointsOutput{}
5297	req = c.newRequest(op, input, output)
5298	return
5299}
5300
5301// GetDevEndpoints API operation for AWS Glue.
5302//
5303// Retrieves all the development endpoints in this AWS account.
5304//
5305// When you create a development endpoint in a virtual private cloud (VPC),
5306// AWS Glue returns only a private IP address and the public IP address field
5307// is not populated. When you create a non-VPC development endpoint, AWS Glue
5308// returns only a public IP address.
5309//
5310// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5311// with awserr.Error's Code and Message methods to get detailed information about
5312// the error.
5313//
5314// See the AWS API reference guide for AWS Glue's
5315// API operation GetDevEndpoints for usage and error information.
5316//
5317// Returned Error Types:
5318//   * EntityNotFoundException
5319//   A specified entity does not exist
5320//
5321//   * InternalServiceException
5322//   An internal service error occurred.
5323//
5324//   * OperationTimeoutException
5325//   The operation timed out.
5326//
5327//   * InvalidInputException
5328//   The input provided was not valid.
5329//
5330// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
5331func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) {
5332	req, out := c.GetDevEndpointsRequest(input)
5333	return out, req.Send()
5334}
5335
5336// GetDevEndpointsWithContext is the same as GetDevEndpoints with the addition of
5337// the ability to pass a context and additional request options.
5338//
5339// See GetDevEndpoints for details on how to use this API operation.
5340//
5341// The context must be non-nil and will be used for request cancellation. If
5342// the context is nil a panic will occur. In the future the SDK may create
5343// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5344// for more information on using Contexts.
5345func (c *Glue) GetDevEndpointsWithContext(ctx aws.Context, input *GetDevEndpointsInput, opts ...request.Option) (*GetDevEndpointsOutput, error) {
5346	req, out := c.GetDevEndpointsRequest(input)
5347	req.SetContext(ctx)
5348	req.ApplyOptions(opts...)
5349	return out, req.Send()
5350}
5351
5352// GetDevEndpointsPages iterates over the pages of a GetDevEndpoints operation,
5353// calling the "fn" function with the response data for each page. To stop
5354// iterating, return false from the fn function.
5355//
5356// See GetDevEndpoints method for more information on how to use this operation.
5357//
5358// Note: This operation can generate multiple requests to a service.
5359//
5360//    // Example iterating over at most 3 pages of a GetDevEndpoints operation.
5361//    pageNum := 0
5362//    err := client.GetDevEndpointsPages(params,
5363//        func(page *glue.GetDevEndpointsOutput, lastPage bool) bool {
5364//            pageNum++
5365//            fmt.Println(page)
5366//            return pageNum <= 3
5367//        })
5368//
5369func (c *Glue) GetDevEndpointsPages(input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool) error {
5370	return c.GetDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
5371}
5372
5373// GetDevEndpointsPagesWithContext same as GetDevEndpointsPages except
5374// it takes a Context and allows setting request options on the pages.
5375//
5376// The context must be non-nil and will be used for request cancellation. If
5377// the context is nil a panic will occur. In the future the SDK may create
5378// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5379// for more information on using Contexts.
5380func (c *Glue) GetDevEndpointsPagesWithContext(ctx aws.Context, input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool, opts ...request.Option) error {
5381	p := request.Pagination{
5382		NewRequest: func() (*request.Request, error) {
5383			var inCpy *GetDevEndpointsInput
5384			if input != nil {
5385				tmp := *input
5386				inCpy = &tmp
5387			}
5388			req, _ := c.GetDevEndpointsRequest(inCpy)
5389			req.SetContext(ctx)
5390			req.ApplyOptions(opts...)
5391			return req, nil
5392		},
5393	}
5394
5395	for p.Next() {
5396		if !fn(p.Page().(*GetDevEndpointsOutput), !p.HasNextPage()) {
5397			break
5398		}
5399	}
5400
5401	return p.Err()
5402}
5403
5404const opGetJob = "GetJob"
5405
5406// GetJobRequest generates a "aws/request.Request" representing the
5407// client's request for the GetJob operation. The "output" return
5408// value will be populated with the request's response once the request completes
5409// successfully.
5410//
5411// Use "Send" method on the returned Request to send the API call to the service.
5412// the "output" return value is not valid until after Send returns without error.
5413//
5414// See GetJob for more information on using the GetJob
5415// API call, and error handling.
5416//
5417// This method is useful when you want to inject custom logic or configuration
5418// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5419//
5420//
5421//    // Example sending a request using the GetJobRequest method.
5422//    req, resp := client.GetJobRequest(params)
5423//
5424//    err := req.Send()
5425//    if err == nil { // resp is now filled
5426//        fmt.Println(resp)
5427//    }
5428//
5429// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
5430func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) {
5431	op := &request.Operation{
5432		Name:       opGetJob,
5433		HTTPMethod: "POST",
5434		HTTPPath:   "/",
5435	}
5436
5437	if input == nil {
5438		input = &GetJobInput{}
5439	}
5440
5441	output = &GetJobOutput{}
5442	req = c.newRequest(op, input, output)
5443	return
5444}
5445
5446// GetJob API operation for AWS Glue.
5447//
5448// Retrieves an existing job definition.
5449//
5450// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5451// with awserr.Error's Code and Message methods to get detailed information about
5452// the error.
5453//
5454// See the AWS API reference guide for AWS Glue's
5455// API operation GetJob for usage and error information.
5456//
5457// Returned Error Types:
5458//   * InvalidInputException
5459//   The input provided was not valid.
5460//
5461//   * EntityNotFoundException
5462//   A specified entity does not exist
5463//
5464//   * InternalServiceException
5465//   An internal service error occurred.
5466//
5467//   * OperationTimeoutException
5468//   The operation timed out.
5469//
5470// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
5471func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) {
5472	req, out := c.GetJobRequest(input)
5473	return out, req.Send()
5474}
5475
5476// GetJobWithContext is the same as GetJob with the addition of
5477// the ability to pass a context and additional request options.
5478//
5479// See GetJob for details on how to use this API operation.
5480//
5481// The context must be non-nil and will be used for request cancellation. If
5482// the context is nil a panic will occur. In the future the SDK may create
5483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5484// for more information on using Contexts.
5485func (c *Glue) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) {
5486	req, out := c.GetJobRequest(input)
5487	req.SetContext(ctx)
5488	req.ApplyOptions(opts...)
5489	return out, req.Send()
5490}
5491
5492const opGetJobBookmark = "GetJobBookmark"
5493
5494// GetJobBookmarkRequest generates a "aws/request.Request" representing the
5495// client's request for the GetJobBookmark operation. The "output" return
5496// value will be populated with the request's response once the request completes
5497// successfully.
5498//
5499// Use "Send" method on the returned Request to send the API call to the service.
5500// the "output" return value is not valid until after Send returns without error.
5501//
5502// See GetJobBookmark for more information on using the GetJobBookmark
5503// API call, and error handling.
5504//
5505// This method is useful when you want to inject custom logic or configuration
5506// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5507//
5508//
5509//    // Example sending a request using the GetJobBookmarkRequest method.
5510//    req, resp := client.GetJobBookmarkRequest(params)
5511//
5512//    err := req.Send()
5513//    if err == nil { // resp is now filled
5514//        fmt.Println(resp)
5515//    }
5516//
5517// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
5518func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.Request, output *GetJobBookmarkOutput) {
5519	op := &request.Operation{
5520		Name:       opGetJobBookmark,
5521		HTTPMethod: "POST",
5522		HTTPPath:   "/",
5523	}
5524
5525	if input == nil {
5526		input = &GetJobBookmarkInput{}
5527	}
5528
5529	output = &GetJobBookmarkOutput{}
5530	req = c.newRequest(op, input, output)
5531	return
5532}
5533
5534// GetJobBookmark API operation for AWS Glue.
5535//
5536// Returns information on a job bookmark entry.
5537//
5538// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5539// with awserr.Error's Code and Message methods to get detailed information about
5540// the error.
5541//
5542// See the AWS API reference guide for AWS Glue's
5543// API operation GetJobBookmark for usage and error information.
5544//
5545// Returned Error Types:
5546//   * EntityNotFoundException
5547//   A specified entity does not exist
5548//
5549//   * InvalidInputException
5550//   The input provided was not valid.
5551//
5552//   * InternalServiceException
5553//   An internal service error occurred.
5554//
5555//   * OperationTimeoutException
5556//   The operation timed out.
5557//
5558//   * ValidationException
5559//   A value could not be validated.
5560//
5561// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
5562func (c *Glue) GetJobBookmark(input *GetJobBookmarkInput) (*GetJobBookmarkOutput, error) {
5563	req, out := c.GetJobBookmarkRequest(input)
5564	return out, req.Send()
5565}
5566
5567// GetJobBookmarkWithContext is the same as GetJobBookmark with the addition of
5568// the ability to pass a context and additional request options.
5569//
5570// See GetJobBookmark for details on how to use this API operation.
5571//
5572// The context must be non-nil and will be used for request cancellation. If
5573// the context is nil a panic will occur. In the future the SDK may create
5574// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5575// for more information on using Contexts.
5576func (c *Glue) GetJobBookmarkWithContext(ctx aws.Context, input *GetJobBookmarkInput, opts ...request.Option) (*GetJobBookmarkOutput, error) {
5577	req, out := c.GetJobBookmarkRequest(input)
5578	req.SetContext(ctx)
5579	req.ApplyOptions(opts...)
5580	return out, req.Send()
5581}
5582
5583const opGetJobRun = "GetJobRun"
5584
5585// GetJobRunRequest generates a "aws/request.Request" representing the
5586// client's request for the GetJobRun operation. The "output" return
5587// value will be populated with the request's response once the request completes
5588// successfully.
5589//
5590// Use "Send" method on the returned Request to send the API call to the service.
5591// the "output" return value is not valid until after Send returns without error.
5592//
5593// See GetJobRun for more information on using the GetJobRun
5594// API call, and error handling.
5595//
5596// This method is useful when you want to inject custom logic or configuration
5597// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5598//
5599//
5600//    // Example sending a request using the GetJobRunRequest method.
5601//    req, resp := client.GetJobRunRequest(params)
5602//
5603//    err := req.Send()
5604//    if err == nil { // resp is now filled
5605//        fmt.Println(resp)
5606//    }
5607//
5608// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
5609func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) {
5610	op := &request.Operation{
5611		Name:       opGetJobRun,
5612		HTTPMethod: "POST",
5613		HTTPPath:   "/",
5614	}
5615
5616	if input == nil {
5617		input = &GetJobRunInput{}
5618	}
5619
5620	output = &GetJobRunOutput{}
5621	req = c.newRequest(op, input, output)
5622	return
5623}
5624
5625// GetJobRun API operation for AWS Glue.
5626//
5627// Retrieves the metadata for a given job run.
5628//
5629// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5630// with awserr.Error's Code and Message methods to get detailed information about
5631// the error.
5632//
5633// See the AWS API reference guide for AWS Glue's
5634// API operation GetJobRun for usage and error information.
5635//
5636// Returned Error Types:
5637//   * InvalidInputException
5638//   The input provided was not valid.
5639//
5640//   * EntityNotFoundException
5641//   A specified entity does not exist
5642//
5643//   * InternalServiceException
5644//   An internal service error occurred.
5645//
5646//   * OperationTimeoutException
5647//   The operation timed out.
5648//
5649// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
5650func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) {
5651	req, out := c.GetJobRunRequest(input)
5652	return out, req.Send()
5653}
5654
5655// GetJobRunWithContext is the same as GetJobRun with the addition of
5656// the ability to pass a context and additional request options.
5657//
5658// See GetJobRun for details on how to use this API operation.
5659//
5660// The context must be non-nil and will be used for request cancellation. If
5661// the context is nil a panic will occur. In the future the SDK may create
5662// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5663// for more information on using Contexts.
5664func (c *Glue) GetJobRunWithContext(ctx aws.Context, input *GetJobRunInput, opts ...request.Option) (*GetJobRunOutput, error) {
5665	req, out := c.GetJobRunRequest(input)
5666	req.SetContext(ctx)
5667	req.ApplyOptions(opts...)
5668	return out, req.Send()
5669}
5670
5671const opGetJobRuns = "GetJobRuns"
5672
5673// GetJobRunsRequest generates a "aws/request.Request" representing the
5674// client's request for the GetJobRuns operation. The "output" return
5675// value will be populated with the request's response once the request completes
5676// successfully.
5677//
5678// Use "Send" method on the returned Request to send the API call to the service.
5679// the "output" return value is not valid until after Send returns without error.
5680//
5681// See GetJobRuns for more information on using the GetJobRuns
5682// API call, and error handling.
5683//
5684// This method is useful when you want to inject custom logic or configuration
5685// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5686//
5687//
5688//    // Example sending a request using the GetJobRunsRequest method.
5689//    req, resp := client.GetJobRunsRequest(params)
5690//
5691//    err := req.Send()
5692//    if err == nil { // resp is now filled
5693//        fmt.Println(resp)
5694//    }
5695//
5696// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
5697func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) {
5698	op := &request.Operation{
5699		Name:       opGetJobRuns,
5700		HTTPMethod: "POST",
5701		HTTPPath:   "/",
5702		Paginator: &request.Paginator{
5703			InputTokens:     []string{"NextToken"},
5704			OutputTokens:    []string{"NextToken"},
5705			LimitToken:      "MaxResults",
5706			TruncationToken: "",
5707		},
5708	}
5709
5710	if input == nil {
5711		input = &GetJobRunsInput{}
5712	}
5713
5714	output = &GetJobRunsOutput{}
5715	req = c.newRequest(op, input, output)
5716	return
5717}
5718
5719// GetJobRuns API operation for AWS Glue.
5720//
5721// Retrieves metadata for all runs of a given job definition.
5722//
5723// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5724// with awserr.Error's Code and Message methods to get detailed information about
5725// the error.
5726//
5727// See the AWS API reference guide for AWS Glue's
5728// API operation GetJobRuns for usage and error information.
5729//
5730// Returned Error Types:
5731//   * InvalidInputException
5732//   The input provided was not valid.
5733//
5734//   * EntityNotFoundException
5735//   A specified entity does not exist
5736//
5737//   * InternalServiceException
5738//   An internal service error occurred.
5739//
5740//   * OperationTimeoutException
5741//   The operation timed out.
5742//
5743// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
5744func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) {
5745	req, out := c.GetJobRunsRequest(input)
5746	return out, req.Send()
5747}
5748
5749// GetJobRunsWithContext is the same as GetJobRuns with the addition of
5750// the ability to pass a context and additional request options.
5751//
5752// See GetJobRuns for details on how to use this API operation.
5753//
5754// The context must be non-nil and will be used for request cancellation. If
5755// the context is nil a panic will occur. In the future the SDK may create
5756// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5757// for more information on using Contexts.
5758func (c *Glue) GetJobRunsWithContext(ctx aws.Context, input *GetJobRunsInput, opts ...request.Option) (*GetJobRunsOutput, error) {
5759	req, out := c.GetJobRunsRequest(input)
5760	req.SetContext(ctx)
5761	req.ApplyOptions(opts...)
5762	return out, req.Send()
5763}
5764
5765// GetJobRunsPages iterates over the pages of a GetJobRuns operation,
5766// calling the "fn" function with the response data for each page. To stop
5767// iterating, return false from the fn function.
5768//
5769// See GetJobRuns method for more information on how to use this operation.
5770//
5771// Note: This operation can generate multiple requests to a service.
5772//
5773//    // Example iterating over at most 3 pages of a GetJobRuns operation.
5774//    pageNum := 0
5775//    err := client.GetJobRunsPages(params,
5776//        func(page *glue.GetJobRunsOutput, lastPage bool) bool {
5777//            pageNum++
5778//            fmt.Println(page)
5779//            return pageNum <= 3
5780//        })
5781//
5782func (c *Glue) GetJobRunsPages(input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool) error {
5783	return c.GetJobRunsPagesWithContext(aws.BackgroundContext(), input, fn)
5784}
5785
5786// GetJobRunsPagesWithContext same as GetJobRunsPages except
5787// it takes a Context and allows setting request options on the pages.
5788//
5789// The context must be non-nil and will be used for request cancellation. If
5790// the context is nil a panic will occur. In the future the SDK may create
5791// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5792// for more information on using Contexts.
5793func (c *Glue) GetJobRunsPagesWithContext(ctx aws.Context, input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool, opts ...request.Option) error {
5794	p := request.Pagination{
5795		NewRequest: func() (*request.Request, error) {
5796			var inCpy *GetJobRunsInput
5797			if input != nil {
5798				tmp := *input
5799				inCpy = &tmp
5800			}
5801			req, _ := c.GetJobRunsRequest(inCpy)
5802			req.SetContext(ctx)
5803			req.ApplyOptions(opts...)
5804			return req, nil
5805		},
5806	}
5807
5808	for p.Next() {
5809		if !fn(p.Page().(*GetJobRunsOutput), !p.HasNextPage()) {
5810			break
5811		}
5812	}
5813
5814	return p.Err()
5815}
5816
5817const opGetJobs = "GetJobs"
5818
5819// GetJobsRequest generates a "aws/request.Request" representing the
5820// client's request for the GetJobs operation. The "output" return
5821// value will be populated with the request's response once the request completes
5822// successfully.
5823//
5824// Use "Send" method on the returned Request to send the API call to the service.
5825// the "output" return value is not valid until after Send returns without error.
5826//
5827// See GetJobs for more information on using the GetJobs
5828// API call, and error handling.
5829//
5830// This method is useful when you want to inject custom logic or configuration
5831// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5832//
5833//
5834//    // Example sending a request using the GetJobsRequest method.
5835//    req, resp := client.GetJobsRequest(params)
5836//
5837//    err := req.Send()
5838//    if err == nil { // resp is now filled
5839//        fmt.Println(resp)
5840//    }
5841//
5842// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
5843func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) {
5844	op := &request.Operation{
5845		Name:       opGetJobs,
5846		HTTPMethod: "POST",
5847		HTTPPath:   "/",
5848		Paginator: &request.Paginator{
5849			InputTokens:     []string{"NextToken"},
5850			OutputTokens:    []string{"NextToken"},
5851			LimitToken:      "MaxResults",
5852			TruncationToken: "",
5853		},
5854	}
5855
5856	if input == nil {
5857		input = &GetJobsInput{}
5858	}
5859
5860	output = &GetJobsOutput{}
5861	req = c.newRequest(op, input, output)
5862	return
5863}
5864
5865// GetJobs API operation for AWS Glue.
5866//
5867// Retrieves all current job definitions.
5868//
5869// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5870// with awserr.Error's Code and Message methods to get detailed information about
5871// the error.
5872//
5873// See the AWS API reference guide for AWS Glue's
5874// API operation GetJobs for usage and error information.
5875//
5876// Returned Error Types:
5877//   * InvalidInputException
5878//   The input provided was not valid.
5879//
5880//   * EntityNotFoundException
5881//   A specified entity does not exist
5882//
5883//   * InternalServiceException
5884//   An internal service error occurred.
5885//
5886//   * OperationTimeoutException
5887//   The operation timed out.
5888//
5889// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
5890func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) {
5891	req, out := c.GetJobsRequest(input)
5892	return out, req.Send()
5893}
5894
5895// GetJobsWithContext is the same as GetJobs with the addition of
5896// the ability to pass a context and additional request options.
5897//
5898// See GetJobs for details on how to use this API operation.
5899//
5900// The context must be non-nil and will be used for request cancellation. If
5901// the context is nil a panic will occur. In the future the SDK may create
5902// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5903// for more information on using Contexts.
5904func (c *Glue) GetJobsWithContext(ctx aws.Context, input *GetJobsInput, opts ...request.Option) (*GetJobsOutput, error) {
5905	req, out := c.GetJobsRequest(input)
5906	req.SetContext(ctx)
5907	req.ApplyOptions(opts...)
5908	return out, req.Send()
5909}
5910
5911// GetJobsPages iterates over the pages of a GetJobs operation,
5912// calling the "fn" function with the response data for each page. To stop
5913// iterating, return false from the fn function.
5914//
5915// See GetJobs method for more information on how to use this operation.
5916//
5917// Note: This operation can generate multiple requests to a service.
5918//
5919//    // Example iterating over at most 3 pages of a GetJobs operation.
5920//    pageNum := 0
5921//    err := client.GetJobsPages(params,
5922//        func(page *glue.GetJobsOutput, lastPage bool) bool {
5923//            pageNum++
5924//            fmt.Println(page)
5925//            return pageNum <= 3
5926//        })
5927//
5928func (c *Glue) GetJobsPages(input *GetJobsInput, fn func(*GetJobsOutput, bool) bool) error {
5929	return c.GetJobsPagesWithContext(aws.BackgroundContext(), input, fn)
5930}
5931
5932// GetJobsPagesWithContext same as GetJobsPages except
5933// it takes a Context and allows setting request options on the pages.
5934//
5935// The context must be non-nil and will be used for request cancellation. If
5936// the context is nil a panic will occur. In the future the SDK may create
5937// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5938// for more information on using Contexts.
5939func (c *Glue) GetJobsPagesWithContext(ctx aws.Context, input *GetJobsInput, fn func(*GetJobsOutput, bool) bool, opts ...request.Option) error {
5940	p := request.Pagination{
5941		NewRequest: func() (*request.Request, error) {
5942			var inCpy *GetJobsInput
5943			if input != nil {
5944				tmp := *input
5945				inCpy = &tmp
5946			}
5947			req, _ := c.GetJobsRequest(inCpy)
5948			req.SetContext(ctx)
5949			req.ApplyOptions(opts...)
5950			return req, nil
5951		},
5952	}
5953
5954	for p.Next() {
5955		if !fn(p.Page().(*GetJobsOutput), !p.HasNextPage()) {
5956			break
5957		}
5958	}
5959
5960	return p.Err()
5961}
5962
5963const opGetMLTaskRun = "GetMLTaskRun"
5964
5965// GetMLTaskRunRequest generates a "aws/request.Request" representing the
5966// client's request for the GetMLTaskRun operation. The "output" return
5967// value will be populated with the request's response once the request completes
5968// successfully.
5969//
5970// Use "Send" method on the returned Request to send the API call to the service.
5971// the "output" return value is not valid until after Send returns without error.
5972//
5973// See GetMLTaskRun for more information on using the GetMLTaskRun
5974// API call, and error handling.
5975//
5976// This method is useful when you want to inject custom logic or configuration
5977// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5978//
5979//
5980//    // Example sending a request using the GetMLTaskRunRequest method.
5981//    req, resp := client.GetMLTaskRunRequest(params)
5982//
5983//    err := req.Send()
5984//    if err == nil { // resp is now filled
5985//        fmt.Println(resp)
5986//    }
5987//
5988// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
5989func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Request, output *GetMLTaskRunOutput) {
5990	op := &request.Operation{
5991		Name:       opGetMLTaskRun,
5992		HTTPMethod: "POST",
5993		HTTPPath:   "/",
5994	}
5995
5996	if input == nil {
5997		input = &GetMLTaskRunInput{}
5998	}
5999
6000	output = &GetMLTaskRunOutput{}
6001	req = c.newRequest(op, input, output)
6002	return
6003}
6004
6005// GetMLTaskRun API operation for AWS Glue.
6006//
6007// Gets details for a specific task run on a machine learning transform. Machine
6008// learning task runs are asynchronous tasks that AWS Glue runs on your behalf
6009// as part of various machine learning workflows. You can check the stats of
6010// any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's
6011// TransformID.
6012//
6013// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6014// with awserr.Error's Code and Message methods to get detailed information about
6015// the error.
6016//
6017// See the AWS API reference guide for AWS Glue's
6018// API operation GetMLTaskRun for usage and error information.
6019//
6020// Returned Error Types:
6021//   * EntityNotFoundException
6022//   A specified entity does not exist
6023//
6024//   * InvalidInputException
6025//   The input provided was not valid.
6026//
6027//   * OperationTimeoutException
6028//   The operation timed out.
6029//
6030//   * InternalServiceException
6031//   An internal service error occurred.
6032//
6033// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
6034func (c *Glue) GetMLTaskRun(input *GetMLTaskRunInput) (*GetMLTaskRunOutput, error) {
6035	req, out := c.GetMLTaskRunRequest(input)
6036	return out, req.Send()
6037}
6038
6039// GetMLTaskRunWithContext is the same as GetMLTaskRun with the addition of
6040// the ability to pass a context and additional request options.
6041//
6042// See GetMLTaskRun for details on how to use this API operation.
6043//
6044// The context must be non-nil and will be used for request cancellation. If
6045// the context is nil a panic will occur. In the future the SDK may create
6046// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6047// for more information on using Contexts.
6048func (c *Glue) GetMLTaskRunWithContext(ctx aws.Context, input *GetMLTaskRunInput, opts ...request.Option) (*GetMLTaskRunOutput, error) {
6049	req, out := c.GetMLTaskRunRequest(input)
6050	req.SetContext(ctx)
6051	req.ApplyOptions(opts...)
6052	return out, req.Send()
6053}
6054
6055const opGetMLTaskRuns = "GetMLTaskRuns"
6056
6057// GetMLTaskRunsRequest generates a "aws/request.Request" representing the
6058// client's request for the GetMLTaskRuns operation. The "output" return
6059// value will be populated with the request's response once the request completes
6060// successfully.
6061//
6062// Use "Send" method on the returned Request to send the API call to the service.
6063// the "output" return value is not valid until after Send returns without error.
6064//
6065// See GetMLTaskRuns for more information on using the GetMLTaskRuns
6066// API call, and error handling.
6067//
6068// This method is useful when you want to inject custom logic or configuration
6069// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6070//
6071//
6072//    // Example sending a request using the GetMLTaskRunsRequest method.
6073//    req, resp := client.GetMLTaskRunsRequest(params)
6074//
6075//    err := req.Send()
6076//    if err == nil { // resp is now filled
6077//        fmt.Println(resp)
6078//    }
6079//
6080// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
6081func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Request, output *GetMLTaskRunsOutput) {
6082	op := &request.Operation{
6083		Name:       opGetMLTaskRuns,
6084		HTTPMethod: "POST",
6085		HTTPPath:   "/",
6086		Paginator: &request.Paginator{
6087			InputTokens:     []string{"NextToken"},
6088			OutputTokens:    []string{"NextToken"},
6089			LimitToken:      "MaxResults",
6090			TruncationToken: "",
6091		},
6092	}
6093
6094	if input == nil {
6095		input = &GetMLTaskRunsInput{}
6096	}
6097
6098	output = &GetMLTaskRunsOutput{}
6099	req = c.newRequest(op, input, output)
6100	return
6101}
6102
6103// GetMLTaskRuns API operation for AWS Glue.
6104//
6105// Gets a list of runs for a machine learning transform. Machine learning task
6106// runs are asynchronous tasks that AWS Glue runs on your behalf as part of
6107// various machine learning workflows. You can get a sortable, filterable list
6108// of machine learning task runs by calling GetMLTaskRuns with their parent
6109// transform's TransformID and other optional parameters as documented in this
6110// section.
6111//
6112// This operation returns a list of historic runs and must be paginated.
6113//
6114// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6115// with awserr.Error's Code and Message methods to get detailed information about
6116// the error.
6117//
6118// See the AWS API reference guide for AWS Glue's
6119// API operation GetMLTaskRuns for usage and error information.
6120//
6121// Returned Error Types:
6122//   * EntityNotFoundException
6123//   A specified entity does not exist
6124//
6125//   * InvalidInputException
6126//   The input provided was not valid.
6127//
6128//   * OperationTimeoutException
6129//   The operation timed out.
6130//
6131//   * InternalServiceException
6132//   An internal service error occurred.
6133//
6134// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
6135func (c *Glue) GetMLTaskRuns(input *GetMLTaskRunsInput) (*GetMLTaskRunsOutput, error) {
6136	req, out := c.GetMLTaskRunsRequest(input)
6137	return out, req.Send()
6138}
6139
6140// GetMLTaskRunsWithContext is the same as GetMLTaskRuns with the addition of
6141// the ability to pass a context and additional request options.
6142//
6143// See GetMLTaskRuns for details on how to use this API operation.
6144//
6145// The context must be non-nil and will be used for request cancellation. If
6146// the context is nil a panic will occur. In the future the SDK may create
6147// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6148// for more information on using Contexts.
6149func (c *Glue) GetMLTaskRunsWithContext(ctx aws.Context, input *GetMLTaskRunsInput, opts ...request.Option) (*GetMLTaskRunsOutput, error) {
6150	req, out := c.GetMLTaskRunsRequest(input)
6151	req.SetContext(ctx)
6152	req.ApplyOptions(opts...)
6153	return out, req.Send()
6154}
6155
6156// GetMLTaskRunsPages iterates over the pages of a GetMLTaskRuns operation,
6157// calling the "fn" function with the response data for each page. To stop
6158// iterating, return false from the fn function.
6159//
6160// See GetMLTaskRuns method for more information on how to use this operation.
6161//
6162// Note: This operation can generate multiple requests to a service.
6163//
6164//    // Example iterating over at most 3 pages of a GetMLTaskRuns operation.
6165//    pageNum := 0
6166//    err := client.GetMLTaskRunsPages(params,
6167//        func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool {
6168//            pageNum++
6169//            fmt.Println(page)
6170//            return pageNum <= 3
6171//        })
6172//
6173func (c *Glue) GetMLTaskRunsPages(input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool) error {
6174	return c.GetMLTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn)
6175}
6176
6177// GetMLTaskRunsPagesWithContext same as GetMLTaskRunsPages except
6178// it takes a Context and allows setting request options on the pages.
6179//
6180// The context must be non-nil and will be used for request cancellation. If
6181// the context is nil a panic will occur. In the future the SDK may create
6182// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6183// for more information on using Contexts.
6184func (c *Glue) GetMLTaskRunsPagesWithContext(ctx aws.Context, input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool, opts ...request.Option) error {
6185	p := request.Pagination{
6186		NewRequest: func() (*request.Request, error) {
6187			var inCpy *GetMLTaskRunsInput
6188			if input != nil {
6189				tmp := *input
6190				inCpy = &tmp
6191			}
6192			req, _ := c.GetMLTaskRunsRequest(inCpy)
6193			req.SetContext(ctx)
6194			req.ApplyOptions(opts...)
6195			return req, nil
6196		},
6197	}
6198
6199	for p.Next() {
6200		if !fn(p.Page().(*GetMLTaskRunsOutput), !p.HasNextPage()) {
6201			break
6202		}
6203	}
6204
6205	return p.Err()
6206}
6207
6208const opGetMLTransform = "GetMLTransform"
6209
6210// GetMLTransformRequest generates a "aws/request.Request" representing the
6211// client's request for the GetMLTransform operation. The "output" return
6212// value will be populated with the request's response once the request completes
6213// successfully.
6214//
6215// Use "Send" method on the returned Request to send the API call to the service.
6216// the "output" return value is not valid until after Send returns without error.
6217//
6218// See GetMLTransform for more information on using the GetMLTransform
6219// API call, and error handling.
6220//
6221// This method is useful when you want to inject custom logic or configuration
6222// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6223//
6224//
6225//    // Example sending a request using the GetMLTransformRequest method.
6226//    req, resp := client.GetMLTransformRequest(params)
6227//
6228//    err := req.Send()
6229//    if err == nil { // resp is now filled
6230//        fmt.Println(resp)
6231//    }
6232//
6233// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
6234func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.Request, output *GetMLTransformOutput) {
6235	op := &request.Operation{
6236		Name:       opGetMLTransform,
6237		HTTPMethod: "POST",
6238		HTTPPath:   "/",
6239	}
6240
6241	if input == nil {
6242		input = &GetMLTransformInput{}
6243	}
6244
6245	output = &GetMLTransformOutput{}
6246	req = c.newRequest(op, input, output)
6247	return
6248}
6249
6250// GetMLTransform API operation for AWS Glue.
6251//
6252// Gets an AWS Glue machine learning transform artifact and all its corresponding
6253// metadata. Machine learning transforms are a special type of transform that
6254// use machine learning to learn the details of the transformation to be performed
6255// by learning from examples provided by humans. These transformations are then
6256// saved by AWS Glue. You can retrieve their metadata by calling GetMLTransform.
6257//
6258// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6259// with awserr.Error's Code and Message methods to get detailed information about
6260// the error.
6261//
6262// See the AWS API reference guide for AWS Glue's
6263// API operation GetMLTransform for usage and error information.
6264//
6265// Returned Error Types:
6266//   * EntityNotFoundException
6267//   A specified entity does not exist
6268//
6269//   * InvalidInputException
6270//   The input provided was not valid.
6271//
6272//   * OperationTimeoutException
6273//   The operation timed out.
6274//
6275//   * InternalServiceException
6276//   An internal service error occurred.
6277//
6278// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
6279func (c *Glue) GetMLTransform(input *GetMLTransformInput) (*GetMLTransformOutput, error) {
6280	req, out := c.GetMLTransformRequest(input)
6281	return out, req.Send()
6282}
6283
6284// GetMLTransformWithContext is the same as GetMLTransform with the addition of
6285// the ability to pass a context and additional request options.
6286//
6287// See GetMLTransform for details on how to use this API operation.
6288//
6289// The context must be non-nil and will be used for request cancellation. If
6290// the context is nil a panic will occur. In the future the SDK may create
6291// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6292// for more information on using Contexts.
6293func (c *Glue) GetMLTransformWithContext(ctx aws.Context, input *GetMLTransformInput, opts ...request.Option) (*GetMLTransformOutput, error) {
6294	req, out := c.GetMLTransformRequest(input)
6295	req.SetContext(ctx)
6296	req.ApplyOptions(opts...)
6297	return out, req.Send()
6298}
6299
6300const opGetMLTransforms = "GetMLTransforms"
6301
6302// GetMLTransformsRequest generates a "aws/request.Request" representing the
6303// client's request for the GetMLTransforms operation. The "output" return
6304// value will be populated with the request's response once the request completes
6305// successfully.
6306//
6307// Use "Send" method on the returned Request to send the API call to the service.
6308// the "output" return value is not valid until after Send returns without error.
6309//
6310// See GetMLTransforms for more information on using the GetMLTransforms
6311// API call, and error handling.
6312//
6313// This method is useful when you want to inject custom logic or configuration
6314// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6315//
6316//
6317//    // Example sending a request using the GetMLTransformsRequest method.
6318//    req, resp := client.GetMLTransformsRequest(params)
6319//
6320//    err := req.Send()
6321//    if err == nil { // resp is now filled
6322//        fmt.Println(resp)
6323//    }
6324//
6325// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
6326func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request.Request, output *GetMLTransformsOutput) {
6327	op := &request.Operation{
6328		Name:       opGetMLTransforms,
6329		HTTPMethod: "POST",
6330		HTTPPath:   "/",
6331		Paginator: &request.Paginator{
6332			InputTokens:     []string{"NextToken"},
6333			OutputTokens:    []string{"NextToken"},
6334			LimitToken:      "MaxResults",
6335			TruncationToken: "",
6336		},
6337	}
6338
6339	if input == nil {
6340		input = &GetMLTransformsInput{}
6341	}
6342
6343	output = &GetMLTransformsOutput{}
6344	req = c.newRequest(op, input, output)
6345	return
6346}
6347
6348// GetMLTransforms API operation for AWS Glue.
6349//
6350// Gets a sortable, filterable list of existing AWS Glue machine learning transforms.
6351// Machine learning transforms are a special type of transform that use machine
6352// learning to learn the details of the transformation to be performed by learning
6353// from examples provided by humans. These transformations are then saved by
6354// AWS Glue, and you can retrieve their metadata by calling GetMLTransforms.
6355//
6356// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6357// with awserr.Error's Code and Message methods to get detailed information about
6358// the error.
6359//
6360// See the AWS API reference guide for AWS Glue's
6361// API operation GetMLTransforms for usage and error information.
6362//
6363// Returned Error Types:
6364//   * EntityNotFoundException
6365//   A specified entity does not exist
6366//
6367//   * InvalidInputException
6368//   The input provided was not valid.
6369//
6370//   * OperationTimeoutException
6371//   The operation timed out.
6372//
6373//   * InternalServiceException
6374//   An internal service error occurred.
6375//
6376// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
6377func (c *Glue) GetMLTransforms(input *GetMLTransformsInput) (*GetMLTransformsOutput, error) {
6378	req, out := c.GetMLTransformsRequest(input)
6379	return out, req.Send()
6380}
6381
6382// GetMLTransformsWithContext is the same as GetMLTransforms with the addition of
6383// the ability to pass a context and additional request options.
6384//
6385// See GetMLTransforms for details on how to use this API operation.
6386//
6387// The context must be non-nil and will be used for request cancellation. If
6388// the context is nil a panic will occur. In the future the SDK may create
6389// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6390// for more information on using Contexts.
6391func (c *Glue) GetMLTransformsWithContext(ctx aws.Context, input *GetMLTransformsInput, opts ...request.Option) (*GetMLTransformsOutput, error) {
6392	req, out := c.GetMLTransformsRequest(input)
6393	req.SetContext(ctx)
6394	req.ApplyOptions(opts...)
6395	return out, req.Send()
6396}
6397
6398// GetMLTransformsPages iterates over the pages of a GetMLTransforms operation,
6399// calling the "fn" function with the response data for each page. To stop
6400// iterating, return false from the fn function.
6401//
6402// See GetMLTransforms method for more information on how to use this operation.
6403//
6404// Note: This operation can generate multiple requests to a service.
6405//
6406//    // Example iterating over at most 3 pages of a GetMLTransforms operation.
6407//    pageNum := 0
6408//    err := client.GetMLTransformsPages(params,
6409//        func(page *glue.GetMLTransformsOutput, lastPage bool) bool {
6410//            pageNum++
6411//            fmt.Println(page)
6412//            return pageNum <= 3
6413//        })
6414//
6415func (c *Glue) GetMLTransformsPages(input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool) error {
6416	return c.GetMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn)
6417}
6418
6419// GetMLTransformsPagesWithContext same as GetMLTransformsPages except
6420// it takes a Context and allows setting request options on the pages.
6421//
6422// The context must be non-nil and will be used for request cancellation. If
6423// the context is nil a panic will occur. In the future the SDK may create
6424// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6425// for more information on using Contexts.
6426func (c *Glue) GetMLTransformsPagesWithContext(ctx aws.Context, input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool, opts ...request.Option) error {
6427	p := request.Pagination{
6428		NewRequest: func() (*request.Request, error) {
6429			var inCpy *GetMLTransformsInput
6430			if input != nil {
6431				tmp := *input
6432				inCpy = &tmp
6433			}
6434			req, _ := c.GetMLTransformsRequest(inCpy)
6435			req.SetContext(ctx)
6436			req.ApplyOptions(opts...)
6437			return req, nil
6438		},
6439	}
6440
6441	for p.Next() {
6442		if !fn(p.Page().(*GetMLTransformsOutput), !p.HasNextPage()) {
6443			break
6444		}
6445	}
6446
6447	return p.Err()
6448}
6449
6450const opGetMapping = "GetMapping"
6451
6452// GetMappingRequest generates a "aws/request.Request" representing the
6453// client's request for the GetMapping operation. The "output" return
6454// value will be populated with the request's response once the request completes
6455// successfully.
6456//
6457// Use "Send" method on the returned Request to send the API call to the service.
6458// the "output" return value is not valid until after Send returns without error.
6459//
6460// See GetMapping for more information on using the GetMapping
6461// API call, and error handling.
6462//
6463// This method is useful when you want to inject custom logic or configuration
6464// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6465//
6466//
6467//    // Example sending a request using the GetMappingRequest method.
6468//    req, resp := client.GetMappingRequest(params)
6469//
6470//    err := req.Send()
6471//    if err == nil { // resp is now filled
6472//        fmt.Println(resp)
6473//    }
6474//
6475// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
6476func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) {
6477	op := &request.Operation{
6478		Name:       opGetMapping,
6479		HTTPMethod: "POST",
6480		HTTPPath:   "/",
6481	}
6482
6483	if input == nil {
6484		input = &GetMappingInput{}
6485	}
6486
6487	output = &GetMappingOutput{}
6488	req = c.newRequest(op, input, output)
6489	return
6490}
6491
6492// GetMapping API operation for AWS Glue.
6493//
6494// Creates mappings.
6495//
6496// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6497// with awserr.Error's Code and Message methods to get detailed information about
6498// the error.
6499//
6500// See the AWS API reference guide for AWS Glue's
6501// API operation GetMapping for usage and error information.
6502//
6503// Returned Error Types:
6504//   * InvalidInputException
6505//   The input provided was not valid.
6506//
6507//   * InternalServiceException
6508//   An internal service error occurred.
6509//
6510//   * OperationTimeoutException
6511//   The operation timed out.
6512//
6513//   * EntityNotFoundException
6514//   A specified entity does not exist
6515//
6516// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
6517func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) {
6518	req, out := c.GetMappingRequest(input)
6519	return out, req.Send()
6520}
6521
6522// GetMappingWithContext is the same as GetMapping with the addition of
6523// the ability to pass a context and additional request options.
6524//
6525// See GetMapping for details on how to use this API operation.
6526//
6527// The context must be non-nil and will be used for request cancellation. If
6528// the context is nil a panic will occur. In the future the SDK may create
6529// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6530// for more information on using Contexts.
6531func (c *Glue) GetMappingWithContext(ctx aws.Context, input *GetMappingInput, opts ...request.Option) (*GetMappingOutput, error) {
6532	req, out := c.GetMappingRequest(input)
6533	req.SetContext(ctx)
6534	req.ApplyOptions(opts...)
6535	return out, req.Send()
6536}
6537
6538const opGetPartition = "GetPartition"
6539
6540// GetPartitionRequest generates a "aws/request.Request" representing the
6541// client's request for the GetPartition operation. The "output" return
6542// value will be populated with the request's response once the request completes
6543// successfully.
6544//
6545// Use "Send" method on the returned Request to send the API call to the service.
6546// the "output" return value is not valid until after Send returns without error.
6547//
6548// See GetPartition for more information on using the GetPartition
6549// API call, and error handling.
6550//
6551// This method is useful when you want to inject custom logic or configuration
6552// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6553//
6554//
6555//    // Example sending a request using the GetPartitionRequest method.
6556//    req, resp := client.GetPartitionRequest(params)
6557//
6558//    err := req.Send()
6559//    if err == nil { // resp is now filled
6560//        fmt.Println(resp)
6561//    }
6562//
6563// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
6564func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) {
6565	op := &request.Operation{
6566		Name:       opGetPartition,
6567		HTTPMethod: "POST",
6568		HTTPPath:   "/",
6569	}
6570
6571	if input == nil {
6572		input = &GetPartitionInput{}
6573	}
6574
6575	output = &GetPartitionOutput{}
6576	req = c.newRequest(op, input, output)
6577	return
6578}
6579
6580// GetPartition API operation for AWS Glue.
6581//
6582// Retrieves information about a specified partition.
6583//
6584// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6585// with awserr.Error's Code and Message methods to get detailed information about
6586// the error.
6587//
6588// See the AWS API reference guide for AWS Glue's
6589// API operation GetPartition for usage and error information.
6590//
6591// Returned Error Types:
6592//   * EntityNotFoundException
6593//   A specified entity does not exist
6594//
6595//   * InvalidInputException
6596//   The input provided was not valid.
6597//
6598//   * InternalServiceException
6599//   An internal service error occurred.
6600//
6601//   * OperationTimeoutException
6602//   The operation timed out.
6603//
6604//   * EncryptionException
6605//   An encryption operation failed.
6606//
6607// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
6608func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) {
6609	req, out := c.GetPartitionRequest(input)
6610	return out, req.Send()
6611}
6612
6613// GetPartitionWithContext is the same as GetPartition with the addition of
6614// the ability to pass a context and additional request options.
6615//
6616// See GetPartition for details on how to use this API operation.
6617//
6618// The context must be non-nil and will be used for request cancellation. If
6619// the context is nil a panic will occur. In the future the SDK may create
6620// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6621// for more information on using Contexts.
6622func (c *Glue) GetPartitionWithContext(ctx aws.Context, input *GetPartitionInput, opts ...request.Option) (*GetPartitionOutput, error) {
6623	req, out := c.GetPartitionRequest(input)
6624	req.SetContext(ctx)
6625	req.ApplyOptions(opts...)
6626	return out, req.Send()
6627}
6628
6629const opGetPartitions = "GetPartitions"
6630
6631// GetPartitionsRequest generates a "aws/request.Request" representing the
6632// client's request for the GetPartitions operation. The "output" return
6633// value will be populated with the request's response once the request completes
6634// successfully.
6635//
6636// Use "Send" method on the returned Request to send the API call to the service.
6637// the "output" return value is not valid until after Send returns without error.
6638//
6639// See GetPartitions for more information on using the GetPartitions
6640// API call, and error handling.
6641//
6642// This method is useful when you want to inject custom logic or configuration
6643// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6644//
6645//
6646//    // Example sending a request using the GetPartitionsRequest method.
6647//    req, resp := client.GetPartitionsRequest(params)
6648//
6649//    err := req.Send()
6650//    if err == nil { // resp is now filled
6651//        fmt.Println(resp)
6652//    }
6653//
6654// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
6655func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) {
6656	op := &request.Operation{
6657		Name:       opGetPartitions,
6658		HTTPMethod: "POST",
6659		HTTPPath:   "/",
6660		Paginator: &request.Paginator{
6661			InputTokens:     []string{"NextToken"},
6662			OutputTokens:    []string{"NextToken"},
6663			LimitToken:      "MaxResults",
6664			TruncationToken: "",
6665		},
6666	}
6667
6668	if input == nil {
6669		input = &GetPartitionsInput{}
6670	}
6671
6672	output = &GetPartitionsOutput{}
6673	req = c.newRequest(op, input, output)
6674	return
6675}
6676
6677// GetPartitions API operation for AWS Glue.
6678//
6679// Retrieves information about the partitions in a table.
6680//
6681// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6682// with awserr.Error's Code and Message methods to get detailed information about
6683// the error.
6684//
6685// See the AWS API reference guide for AWS Glue's
6686// API operation GetPartitions for usage and error information.
6687//
6688// Returned Error Types:
6689//   * EntityNotFoundException
6690//   A specified entity does not exist
6691//
6692//   * InvalidInputException
6693//   The input provided was not valid.
6694//
6695//   * OperationTimeoutException
6696//   The operation timed out.
6697//
6698//   * InternalServiceException
6699//   An internal service error occurred.
6700//
6701//   * EncryptionException
6702//   An encryption operation failed.
6703//
6704// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
6705func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) {
6706	req, out := c.GetPartitionsRequest(input)
6707	return out, req.Send()
6708}
6709
6710// GetPartitionsWithContext is the same as GetPartitions with the addition of
6711// the ability to pass a context and additional request options.
6712//
6713// See GetPartitions for details on how to use this API operation.
6714//
6715// The context must be non-nil and will be used for request cancellation. If
6716// the context is nil a panic will occur. In the future the SDK may create
6717// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6718// for more information on using Contexts.
6719func (c *Glue) GetPartitionsWithContext(ctx aws.Context, input *GetPartitionsInput, opts ...request.Option) (*GetPartitionsOutput, error) {
6720	req, out := c.GetPartitionsRequest(input)
6721	req.SetContext(ctx)
6722	req.ApplyOptions(opts...)
6723	return out, req.Send()
6724}
6725
6726// GetPartitionsPages iterates over the pages of a GetPartitions operation,
6727// calling the "fn" function with the response data for each page. To stop
6728// iterating, return false from the fn function.
6729//
6730// See GetPartitions method for more information on how to use this operation.
6731//
6732// Note: This operation can generate multiple requests to a service.
6733//
6734//    // Example iterating over at most 3 pages of a GetPartitions operation.
6735//    pageNum := 0
6736//    err := client.GetPartitionsPages(params,
6737//        func(page *glue.GetPartitionsOutput, lastPage bool) bool {
6738//            pageNum++
6739//            fmt.Println(page)
6740//            return pageNum <= 3
6741//        })
6742//
6743func (c *Glue) GetPartitionsPages(input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool) error {
6744	return c.GetPartitionsPagesWithContext(aws.BackgroundContext(), input, fn)
6745}
6746
6747// GetPartitionsPagesWithContext same as GetPartitionsPages except
6748// it takes a Context and allows setting request options on the pages.
6749//
6750// The context must be non-nil and will be used for request cancellation. If
6751// the context is nil a panic will occur. In the future the SDK may create
6752// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6753// for more information on using Contexts.
6754func (c *Glue) GetPartitionsPagesWithContext(ctx aws.Context, input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool, opts ...request.Option) error {
6755	p := request.Pagination{
6756		NewRequest: func() (*request.Request, error) {
6757			var inCpy *GetPartitionsInput
6758			if input != nil {
6759				tmp := *input
6760				inCpy = &tmp
6761			}
6762			req, _ := c.GetPartitionsRequest(inCpy)
6763			req.SetContext(ctx)
6764			req.ApplyOptions(opts...)
6765			return req, nil
6766		},
6767	}
6768
6769	for p.Next() {
6770		if !fn(p.Page().(*GetPartitionsOutput), !p.HasNextPage()) {
6771			break
6772		}
6773	}
6774
6775	return p.Err()
6776}
6777
6778const opGetPlan = "GetPlan"
6779
6780// GetPlanRequest generates a "aws/request.Request" representing the
6781// client's request for the GetPlan operation. The "output" return
6782// value will be populated with the request's response once the request completes
6783// successfully.
6784//
6785// Use "Send" method on the returned Request to send the API call to the service.
6786// the "output" return value is not valid until after Send returns without error.
6787//
6788// See GetPlan for more information on using the GetPlan
6789// API call, and error handling.
6790//
6791// This method is useful when you want to inject custom logic or configuration
6792// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6793//
6794//
6795//    // Example sending a request using the GetPlanRequest method.
6796//    req, resp := client.GetPlanRequest(params)
6797//
6798//    err := req.Send()
6799//    if err == nil { // resp is now filled
6800//        fmt.Println(resp)
6801//    }
6802//
6803// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
6804func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) {
6805	op := &request.Operation{
6806		Name:       opGetPlan,
6807		HTTPMethod: "POST",
6808		HTTPPath:   "/",
6809	}
6810
6811	if input == nil {
6812		input = &GetPlanInput{}
6813	}
6814
6815	output = &GetPlanOutput{}
6816	req = c.newRequest(op, input, output)
6817	return
6818}
6819
6820// GetPlan API operation for AWS Glue.
6821//
6822// Gets code to perform a specified mapping.
6823//
6824// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6825// with awserr.Error's Code and Message methods to get detailed information about
6826// the error.
6827//
6828// See the AWS API reference guide for AWS Glue's
6829// API operation GetPlan for usage and error information.
6830//
6831// Returned Error Types:
6832//   * InvalidInputException
6833//   The input provided was not valid.
6834//
6835//   * InternalServiceException
6836//   An internal service error occurred.
6837//
6838//   * OperationTimeoutException
6839//   The operation timed out.
6840//
6841// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
6842func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) {
6843	req, out := c.GetPlanRequest(input)
6844	return out, req.Send()
6845}
6846
6847// GetPlanWithContext is the same as GetPlan with the addition of
6848// the ability to pass a context and additional request options.
6849//
6850// See GetPlan for details on how to use this API operation.
6851//
6852// The context must be non-nil and will be used for request cancellation. If
6853// the context is nil a panic will occur. In the future the SDK may create
6854// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6855// for more information on using Contexts.
6856func (c *Glue) GetPlanWithContext(ctx aws.Context, input *GetPlanInput, opts ...request.Option) (*GetPlanOutput, error) {
6857	req, out := c.GetPlanRequest(input)
6858	req.SetContext(ctx)
6859	req.ApplyOptions(opts...)
6860	return out, req.Send()
6861}
6862
6863const opGetResourcePolicy = "GetResourcePolicy"
6864
6865// GetResourcePolicyRequest generates a "aws/request.Request" representing the
6866// client's request for the GetResourcePolicy operation. The "output" return
6867// value will be populated with the request's response once the request completes
6868// successfully.
6869//
6870// Use "Send" method on the returned Request to send the API call to the service.
6871// the "output" return value is not valid until after Send returns without error.
6872//
6873// See GetResourcePolicy for more information on using the GetResourcePolicy
6874// API call, and error handling.
6875//
6876// This method is useful when you want to inject custom logic or configuration
6877// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6878//
6879//
6880//    // Example sending a request using the GetResourcePolicyRequest method.
6881//    req, resp := client.GetResourcePolicyRequest(params)
6882//
6883//    err := req.Send()
6884//    if err == nil { // resp is now filled
6885//        fmt.Println(resp)
6886//    }
6887//
6888// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
6889func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) {
6890	op := &request.Operation{
6891		Name:       opGetResourcePolicy,
6892		HTTPMethod: "POST",
6893		HTTPPath:   "/",
6894	}
6895
6896	if input == nil {
6897		input = &GetResourcePolicyInput{}
6898	}
6899
6900	output = &GetResourcePolicyOutput{}
6901	req = c.newRequest(op, input, output)
6902	return
6903}
6904
6905// GetResourcePolicy API operation for AWS Glue.
6906//
6907// Retrieves a specified resource policy.
6908//
6909// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6910// with awserr.Error's Code and Message methods to get detailed information about
6911// the error.
6912//
6913// See the AWS API reference guide for AWS Glue's
6914// API operation GetResourcePolicy for usage and error information.
6915//
6916// Returned Error Types:
6917//   * EntityNotFoundException
6918//   A specified entity does not exist
6919//
6920//   * InternalServiceException
6921//   An internal service error occurred.
6922//
6923//   * OperationTimeoutException
6924//   The operation timed out.
6925//
6926//   * InvalidInputException
6927//   The input provided was not valid.
6928//
6929// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
6930func (c *Glue) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) {
6931	req, out := c.GetResourcePolicyRequest(input)
6932	return out, req.Send()
6933}
6934
6935// GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of
6936// the ability to pass a context and additional request options.
6937//
6938// See GetResourcePolicy for details on how to use this API operation.
6939//
6940// The context must be non-nil and will be used for request cancellation. If
6941// the context is nil a panic will occur. In the future the SDK may create
6942// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6943// for more information on using Contexts.
6944func (c *Glue) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) {
6945	req, out := c.GetResourcePolicyRequest(input)
6946	req.SetContext(ctx)
6947	req.ApplyOptions(opts...)
6948	return out, req.Send()
6949}
6950
6951const opGetSecurityConfiguration = "GetSecurityConfiguration"
6952
6953// GetSecurityConfigurationRequest generates a "aws/request.Request" representing the
6954// client's request for the GetSecurityConfiguration operation. The "output" return
6955// value will be populated with the request's response once the request completes
6956// successfully.
6957//
6958// Use "Send" method on the returned Request to send the API call to the service.
6959// the "output" return value is not valid until after Send returns without error.
6960//
6961// See GetSecurityConfiguration for more information on using the GetSecurityConfiguration
6962// API call, and error handling.
6963//
6964// This method is useful when you want to inject custom logic or configuration
6965// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6966//
6967//
6968//    // Example sending a request using the GetSecurityConfigurationRequest method.
6969//    req, resp := client.GetSecurityConfigurationRequest(params)
6970//
6971//    err := req.Send()
6972//    if err == nil { // resp is now filled
6973//        fmt.Println(resp)
6974//    }
6975//
6976// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
6977func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationInput) (req *request.Request, output *GetSecurityConfigurationOutput) {
6978	op := &request.Operation{
6979		Name:       opGetSecurityConfiguration,
6980		HTTPMethod: "POST",
6981		HTTPPath:   "/",
6982	}
6983
6984	if input == nil {
6985		input = &GetSecurityConfigurationInput{}
6986	}
6987
6988	output = &GetSecurityConfigurationOutput{}
6989	req = c.newRequest(op, input, output)
6990	return
6991}
6992
6993// GetSecurityConfiguration API operation for AWS Glue.
6994//
6995// Retrieves a specified security configuration.
6996//
6997// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6998// with awserr.Error's Code and Message methods to get detailed information about
6999// the error.
7000//
7001// See the AWS API reference guide for AWS Glue's
7002// API operation GetSecurityConfiguration for usage and error information.
7003//
7004// Returned Error Types:
7005//   * EntityNotFoundException
7006//   A specified entity does not exist
7007//
7008//   * InvalidInputException
7009//   The input provided was not valid.
7010//
7011//   * InternalServiceException
7012//   An internal service error occurred.
7013//
7014//   * OperationTimeoutException
7015//   The operation timed out.
7016//
7017// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
7018func (c *Glue) GetSecurityConfiguration(input *GetSecurityConfigurationInput) (*GetSecurityConfigurationOutput, error) {
7019	req, out := c.GetSecurityConfigurationRequest(input)
7020	return out, req.Send()
7021}
7022
7023// GetSecurityConfigurationWithContext is the same as GetSecurityConfiguration with the addition of
7024// the ability to pass a context and additional request options.
7025//
7026// See GetSecurityConfiguration for details on how to use this API operation.
7027//
7028// The context must be non-nil and will be used for request cancellation. If
7029// the context is nil a panic will occur. In the future the SDK may create
7030// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7031// for more information on using Contexts.
7032func (c *Glue) GetSecurityConfigurationWithContext(ctx aws.Context, input *GetSecurityConfigurationInput, opts ...request.Option) (*GetSecurityConfigurationOutput, error) {
7033	req, out := c.GetSecurityConfigurationRequest(input)
7034	req.SetContext(ctx)
7035	req.ApplyOptions(opts...)
7036	return out, req.Send()
7037}
7038
7039const opGetSecurityConfigurations = "GetSecurityConfigurations"
7040
7041// GetSecurityConfigurationsRequest generates a "aws/request.Request" representing the
7042// client's request for the GetSecurityConfigurations operation. The "output" return
7043// value will be populated with the request's response once the request completes
7044// successfully.
7045//
7046// Use "Send" method on the returned Request to send the API call to the service.
7047// the "output" return value is not valid until after Send returns without error.
7048//
7049// See GetSecurityConfigurations for more information on using the GetSecurityConfigurations
7050// API call, and error handling.
7051//
7052// This method is useful when you want to inject custom logic or configuration
7053// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7054//
7055//
7056//    // Example sending a request using the GetSecurityConfigurationsRequest method.
7057//    req, resp := client.GetSecurityConfigurationsRequest(params)
7058//
7059//    err := req.Send()
7060//    if err == nil { // resp is now filled
7061//        fmt.Println(resp)
7062//    }
7063//
7064// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
7065func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurationsInput) (req *request.Request, output *GetSecurityConfigurationsOutput) {
7066	op := &request.Operation{
7067		Name:       opGetSecurityConfigurations,
7068		HTTPMethod: "POST",
7069		HTTPPath:   "/",
7070		Paginator: &request.Paginator{
7071			InputTokens:     []string{"NextToken"},
7072			OutputTokens:    []string{"NextToken"},
7073			LimitToken:      "MaxResults",
7074			TruncationToken: "",
7075		},
7076	}
7077
7078	if input == nil {
7079		input = &GetSecurityConfigurationsInput{}
7080	}
7081
7082	output = &GetSecurityConfigurationsOutput{}
7083	req = c.newRequest(op, input, output)
7084	return
7085}
7086
7087// GetSecurityConfigurations API operation for AWS Glue.
7088//
7089// Retrieves a list of all security configurations.
7090//
7091// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7092// with awserr.Error's Code and Message methods to get detailed information about
7093// the error.
7094//
7095// See the AWS API reference guide for AWS Glue's
7096// API operation GetSecurityConfigurations for usage and error information.
7097//
7098// Returned Error Types:
7099//   * EntityNotFoundException
7100//   A specified entity does not exist
7101//
7102//   * InvalidInputException
7103//   The input provided was not valid.
7104//
7105//   * InternalServiceException
7106//   An internal service error occurred.
7107//
7108//   * OperationTimeoutException
7109//   The operation timed out.
7110//
7111// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
7112func (c *Glue) GetSecurityConfigurations(input *GetSecurityConfigurationsInput) (*GetSecurityConfigurationsOutput, error) {
7113	req, out := c.GetSecurityConfigurationsRequest(input)
7114	return out, req.Send()
7115}
7116
7117// GetSecurityConfigurationsWithContext is the same as GetSecurityConfigurations with the addition of
7118// the ability to pass a context and additional request options.
7119//
7120// See GetSecurityConfigurations for details on how to use this API operation.
7121//
7122// The context must be non-nil and will be used for request cancellation. If
7123// the context is nil a panic will occur. In the future the SDK may create
7124// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7125// for more information on using Contexts.
7126func (c *Glue) GetSecurityConfigurationsWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, opts ...request.Option) (*GetSecurityConfigurationsOutput, error) {
7127	req, out := c.GetSecurityConfigurationsRequest(input)
7128	req.SetContext(ctx)
7129	req.ApplyOptions(opts...)
7130	return out, req.Send()
7131}
7132
7133// GetSecurityConfigurationsPages iterates over the pages of a GetSecurityConfigurations operation,
7134// calling the "fn" function with the response data for each page. To stop
7135// iterating, return false from the fn function.
7136//
7137// See GetSecurityConfigurations method for more information on how to use this operation.
7138//
7139// Note: This operation can generate multiple requests to a service.
7140//
7141//    // Example iterating over at most 3 pages of a GetSecurityConfigurations operation.
7142//    pageNum := 0
7143//    err := client.GetSecurityConfigurationsPages(params,
7144//        func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool {
7145//            pageNum++
7146//            fmt.Println(page)
7147//            return pageNum <= 3
7148//        })
7149//
7150func (c *Glue) GetSecurityConfigurationsPages(input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool) error {
7151	return c.GetSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn)
7152}
7153
7154// GetSecurityConfigurationsPagesWithContext same as GetSecurityConfigurationsPages except
7155// it takes a Context and allows setting request options on the pages.
7156//
7157// The context must be non-nil and will be used for request cancellation. If
7158// the context is nil a panic will occur. In the future the SDK may create
7159// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7160// for more information on using Contexts.
7161func (c *Glue) GetSecurityConfigurationsPagesWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool, opts ...request.Option) error {
7162	p := request.Pagination{
7163		NewRequest: func() (*request.Request, error) {
7164			var inCpy *GetSecurityConfigurationsInput
7165			if input != nil {
7166				tmp := *input
7167				inCpy = &tmp
7168			}
7169			req, _ := c.GetSecurityConfigurationsRequest(inCpy)
7170			req.SetContext(ctx)
7171			req.ApplyOptions(opts...)
7172			return req, nil
7173		},
7174	}
7175
7176	for p.Next() {
7177		if !fn(p.Page().(*GetSecurityConfigurationsOutput), !p.HasNextPage()) {
7178			break
7179		}
7180	}
7181
7182	return p.Err()
7183}
7184
7185const opGetTable = "GetTable"
7186
7187// GetTableRequest generates a "aws/request.Request" representing the
7188// client's request for the GetTable operation. The "output" return
7189// value will be populated with the request's response once the request completes
7190// successfully.
7191//
7192// Use "Send" method on the returned Request to send the API call to the service.
7193// the "output" return value is not valid until after Send returns without error.
7194//
7195// See GetTable for more information on using the GetTable
7196// API call, and error handling.
7197//
7198// This method is useful when you want to inject custom logic or configuration
7199// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7200//
7201//
7202//    // Example sending a request using the GetTableRequest method.
7203//    req, resp := client.GetTableRequest(params)
7204//
7205//    err := req.Send()
7206//    if err == nil { // resp is now filled
7207//        fmt.Println(resp)
7208//    }
7209//
7210// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
7211func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) {
7212	op := &request.Operation{
7213		Name:       opGetTable,
7214		HTTPMethod: "POST",
7215		HTTPPath:   "/",
7216	}
7217
7218	if input == nil {
7219		input = &GetTableInput{}
7220	}
7221
7222	output = &GetTableOutput{}
7223	req = c.newRequest(op, input, output)
7224	return
7225}
7226
7227// GetTable API operation for AWS Glue.
7228//
7229// Retrieves the Table definition in a Data Catalog for a specified table.
7230//
7231// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7232// with awserr.Error's Code and Message methods to get detailed information about
7233// the error.
7234//
7235// See the AWS API reference guide for AWS Glue's
7236// API operation GetTable for usage and error information.
7237//
7238// Returned Error Types:
7239//   * EntityNotFoundException
7240//   A specified entity does not exist
7241//
7242//   * InvalidInputException
7243//   The input provided was not valid.
7244//
7245//   * InternalServiceException
7246//   An internal service error occurred.
7247//
7248//   * OperationTimeoutException
7249//   The operation timed out.
7250//
7251//   * EncryptionException
7252//   An encryption operation failed.
7253//
7254// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
7255func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) {
7256	req, out := c.GetTableRequest(input)
7257	return out, req.Send()
7258}
7259
7260// GetTableWithContext is the same as GetTable with the addition of
7261// the ability to pass a context and additional request options.
7262//
7263// See GetTable for details on how to use this API operation.
7264//
7265// The context must be non-nil and will be used for request cancellation. If
7266// the context is nil a panic will occur. In the future the SDK may create
7267// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7268// for more information on using Contexts.
7269func (c *Glue) GetTableWithContext(ctx aws.Context, input *GetTableInput, opts ...request.Option) (*GetTableOutput, error) {
7270	req, out := c.GetTableRequest(input)
7271	req.SetContext(ctx)
7272	req.ApplyOptions(opts...)
7273	return out, req.Send()
7274}
7275
7276const opGetTableVersion = "GetTableVersion"
7277
7278// GetTableVersionRequest generates a "aws/request.Request" representing the
7279// client's request for the GetTableVersion operation. The "output" return
7280// value will be populated with the request's response once the request completes
7281// successfully.
7282//
7283// Use "Send" method on the returned Request to send the API call to the service.
7284// the "output" return value is not valid until after Send returns without error.
7285//
7286// See GetTableVersion for more information on using the GetTableVersion
7287// API call, and error handling.
7288//
7289// This method is useful when you want to inject custom logic or configuration
7290// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7291//
7292//
7293//    // Example sending a request using the GetTableVersionRequest method.
7294//    req, resp := client.GetTableVersionRequest(params)
7295//
7296//    err := req.Send()
7297//    if err == nil { // resp is now filled
7298//        fmt.Println(resp)
7299//    }
7300//
7301// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
7302func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request.Request, output *GetTableVersionOutput) {
7303	op := &request.Operation{
7304		Name:       opGetTableVersion,
7305		HTTPMethod: "POST",
7306		HTTPPath:   "/",
7307	}
7308
7309	if input == nil {
7310		input = &GetTableVersionInput{}
7311	}
7312
7313	output = &GetTableVersionOutput{}
7314	req = c.newRequest(op, input, output)
7315	return
7316}
7317
7318// GetTableVersion API operation for AWS Glue.
7319//
7320// Retrieves a specified version of a table.
7321//
7322// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7323// with awserr.Error's Code and Message methods to get detailed information about
7324// the error.
7325//
7326// See the AWS API reference guide for AWS Glue's
7327// API operation GetTableVersion for usage and error information.
7328//
7329// Returned Error Types:
7330//   * EntityNotFoundException
7331//   A specified entity does not exist
7332//
7333//   * InvalidInputException
7334//   The input provided was not valid.
7335//
7336//   * InternalServiceException
7337//   An internal service error occurred.
7338//
7339//   * OperationTimeoutException
7340//   The operation timed out.
7341//
7342//   * EncryptionException
7343//   An encryption operation failed.
7344//
7345// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
7346func (c *Glue) GetTableVersion(input *GetTableVersionInput) (*GetTableVersionOutput, error) {
7347	req, out := c.GetTableVersionRequest(input)
7348	return out, req.Send()
7349}
7350
7351// GetTableVersionWithContext is the same as GetTableVersion with the addition of
7352// the ability to pass a context and additional request options.
7353//
7354// See GetTableVersion for details on how to use this API operation.
7355//
7356// The context must be non-nil and will be used for request cancellation. If
7357// the context is nil a panic will occur. In the future the SDK may create
7358// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7359// for more information on using Contexts.
7360func (c *Glue) GetTableVersionWithContext(ctx aws.Context, input *GetTableVersionInput, opts ...request.Option) (*GetTableVersionOutput, error) {
7361	req, out := c.GetTableVersionRequest(input)
7362	req.SetContext(ctx)
7363	req.ApplyOptions(opts...)
7364	return out, req.Send()
7365}
7366
7367const opGetTableVersions = "GetTableVersions"
7368
7369// GetTableVersionsRequest generates a "aws/request.Request" representing the
7370// client's request for the GetTableVersions operation. The "output" return
7371// value will be populated with the request's response once the request completes
7372// successfully.
7373//
7374// Use "Send" method on the returned Request to send the API call to the service.
7375// the "output" return value is not valid until after Send returns without error.
7376//
7377// See GetTableVersions for more information on using the GetTableVersions
7378// API call, and error handling.
7379//
7380// This method is useful when you want to inject custom logic or configuration
7381// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7382//
7383//
7384//    // Example sending a request using the GetTableVersionsRequest method.
7385//    req, resp := client.GetTableVersionsRequest(params)
7386//
7387//    err := req.Send()
7388//    if err == nil { // resp is now filled
7389//        fmt.Println(resp)
7390//    }
7391//
7392// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
7393func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) {
7394	op := &request.Operation{
7395		Name:       opGetTableVersions,
7396		HTTPMethod: "POST",
7397		HTTPPath:   "/",
7398		Paginator: &request.Paginator{
7399			InputTokens:     []string{"NextToken"},
7400			OutputTokens:    []string{"NextToken"},
7401			LimitToken:      "MaxResults",
7402			TruncationToken: "",
7403		},
7404	}
7405
7406	if input == nil {
7407		input = &GetTableVersionsInput{}
7408	}
7409
7410	output = &GetTableVersionsOutput{}
7411	req = c.newRequest(op, input, output)
7412	return
7413}
7414
7415// GetTableVersions API operation for AWS Glue.
7416//
7417// Retrieves a list of strings that identify available versions of a specified
7418// table.
7419//
7420// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7421// with awserr.Error's Code and Message methods to get detailed information about
7422// the error.
7423//
7424// See the AWS API reference guide for AWS Glue's
7425// API operation GetTableVersions for usage and error information.
7426//
7427// Returned Error Types:
7428//   * EntityNotFoundException
7429//   A specified entity does not exist
7430//
7431//   * InvalidInputException
7432//   The input provided was not valid.
7433//
7434//   * InternalServiceException
7435//   An internal service error occurred.
7436//
7437//   * OperationTimeoutException
7438//   The operation timed out.
7439//
7440//   * EncryptionException
7441//   An encryption operation failed.
7442//
7443// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
7444func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) {
7445	req, out := c.GetTableVersionsRequest(input)
7446	return out, req.Send()
7447}
7448
7449// GetTableVersionsWithContext is the same as GetTableVersions with the addition of
7450// the ability to pass a context and additional request options.
7451//
7452// See GetTableVersions for details on how to use this API operation.
7453//
7454// The context must be non-nil and will be used for request cancellation. If
7455// the context is nil a panic will occur. In the future the SDK may create
7456// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7457// for more information on using Contexts.
7458func (c *Glue) GetTableVersionsWithContext(ctx aws.Context, input *GetTableVersionsInput, opts ...request.Option) (*GetTableVersionsOutput, error) {
7459	req, out := c.GetTableVersionsRequest(input)
7460	req.SetContext(ctx)
7461	req.ApplyOptions(opts...)
7462	return out, req.Send()
7463}
7464
7465// GetTableVersionsPages iterates over the pages of a GetTableVersions operation,
7466// calling the "fn" function with the response data for each page. To stop
7467// iterating, return false from the fn function.
7468//
7469// See GetTableVersions method for more information on how to use this operation.
7470//
7471// Note: This operation can generate multiple requests to a service.
7472//
7473//    // Example iterating over at most 3 pages of a GetTableVersions operation.
7474//    pageNum := 0
7475//    err := client.GetTableVersionsPages(params,
7476//        func(page *glue.GetTableVersionsOutput, lastPage bool) bool {
7477//            pageNum++
7478//            fmt.Println(page)
7479//            return pageNum <= 3
7480//        })
7481//
7482func (c *Glue) GetTableVersionsPages(input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool) error {
7483	return c.GetTableVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
7484}
7485
7486// GetTableVersionsPagesWithContext same as GetTableVersionsPages except
7487// it takes a Context and allows setting request options on the pages.
7488//
7489// The context must be non-nil and will be used for request cancellation. If
7490// the context is nil a panic will occur. In the future the SDK may create
7491// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7492// for more information on using Contexts.
7493func (c *Glue) GetTableVersionsPagesWithContext(ctx aws.Context, input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool, opts ...request.Option) error {
7494	p := request.Pagination{
7495		NewRequest: func() (*request.Request, error) {
7496			var inCpy *GetTableVersionsInput
7497			if input != nil {
7498				tmp := *input
7499				inCpy = &tmp
7500			}
7501			req, _ := c.GetTableVersionsRequest(inCpy)
7502			req.SetContext(ctx)
7503			req.ApplyOptions(opts...)
7504			return req, nil
7505		},
7506	}
7507
7508	for p.Next() {
7509		if !fn(p.Page().(*GetTableVersionsOutput), !p.HasNextPage()) {
7510			break
7511		}
7512	}
7513
7514	return p.Err()
7515}
7516
7517const opGetTables = "GetTables"
7518
7519// GetTablesRequest generates a "aws/request.Request" representing the
7520// client's request for the GetTables operation. The "output" return
7521// value will be populated with the request's response once the request completes
7522// successfully.
7523//
7524// Use "Send" method on the returned Request to send the API call to the service.
7525// the "output" return value is not valid until after Send returns without error.
7526//
7527// See GetTables for more information on using the GetTables
7528// API call, and error handling.
7529//
7530// This method is useful when you want to inject custom logic or configuration
7531// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7532//
7533//
7534//    // Example sending a request using the GetTablesRequest method.
7535//    req, resp := client.GetTablesRequest(params)
7536//
7537//    err := req.Send()
7538//    if err == nil { // resp is now filled
7539//        fmt.Println(resp)
7540//    }
7541//
7542// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
7543func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) {
7544	op := &request.Operation{
7545		Name:       opGetTables,
7546		HTTPMethod: "POST",
7547		HTTPPath:   "/",
7548		Paginator: &request.Paginator{
7549			InputTokens:     []string{"NextToken"},
7550			OutputTokens:    []string{"NextToken"},
7551			LimitToken:      "MaxResults",
7552			TruncationToken: "",
7553		},
7554	}
7555
7556	if input == nil {
7557		input = &GetTablesInput{}
7558	}
7559
7560	output = &GetTablesOutput{}
7561	req = c.newRequest(op, input, output)
7562	return
7563}
7564
7565// GetTables API operation for AWS Glue.
7566//
7567// Retrieves the definitions of some or all of the tables in a given Database.
7568//
7569// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7570// with awserr.Error's Code and Message methods to get detailed information about
7571// the error.
7572//
7573// See the AWS API reference guide for AWS Glue's
7574// API operation GetTables for usage and error information.
7575//
7576// Returned Error Types:
7577//   * EntityNotFoundException
7578//   A specified entity does not exist
7579//
7580//   * InvalidInputException
7581//   The input provided was not valid.
7582//
7583//   * OperationTimeoutException
7584//   The operation timed out.
7585//
7586//   * InternalServiceException
7587//   An internal service error occurred.
7588//
7589//   * EncryptionException
7590//   An encryption operation failed.
7591//
7592// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
7593func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) {
7594	req, out := c.GetTablesRequest(input)
7595	return out, req.Send()
7596}
7597
7598// GetTablesWithContext is the same as GetTables with the addition of
7599// the ability to pass a context and additional request options.
7600//
7601// See GetTables for details on how to use this API operation.
7602//
7603// The context must be non-nil and will be used for request cancellation. If
7604// the context is nil a panic will occur. In the future the SDK may create
7605// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7606// for more information on using Contexts.
7607func (c *Glue) GetTablesWithContext(ctx aws.Context, input *GetTablesInput, opts ...request.Option) (*GetTablesOutput, error) {
7608	req, out := c.GetTablesRequest(input)
7609	req.SetContext(ctx)
7610	req.ApplyOptions(opts...)
7611	return out, req.Send()
7612}
7613
7614// GetTablesPages iterates over the pages of a GetTables operation,
7615// calling the "fn" function with the response data for each page. To stop
7616// iterating, return false from the fn function.
7617//
7618// See GetTables method for more information on how to use this operation.
7619//
7620// Note: This operation can generate multiple requests to a service.
7621//
7622//    // Example iterating over at most 3 pages of a GetTables operation.
7623//    pageNum := 0
7624//    err := client.GetTablesPages(params,
7625//        func(page *glue.GetTablesOutput, lastPage bool) bool {
7626//            pageNum++
7627//            fmt.Println(page)
7628//            return pageNum <= 3
7629//        })
7630//
7631func (c *Glue) GetTablesPages(input *GetTablesInput, fn func(*GetTablesOutput, bool) bool) error {
7632	return c.GetTablesPagesWithContext(aws.BackgroundContext(), input, fn)
7633}
7634
7635// GetTablesPagesWithContext same as GetTablesPages except
7636// it takes a Context and allows setting request options on the pages.
7637//
7638// The context must be non-nil and will be used for request cancellation. If
7639// the context is nil a panic will occur. In the future the SDK may create
7640// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7641// for more information on using Contexts.
7642func (c *Glue) GetTablesPagesWithContext(ctx aws.Context, input *GetTablesInput, fn func(*GetTablesOutput, bool) bool, opts ...request.Option) error {
7643	p := request.Pagination{
7644		NewRequest: func() (*request.Request, error) {
7645			var inCpy *GetTablesInput
7646			if input != nil {
7647				tmp := *input
7648				inCpy = &tmp
7649			}
7650			req, _ := c.GetTablesRequest(inCpy)
7651			req.SetContext(ctx)
7652			req.ApplyOptions(opts...)
7653			return req, nil
7654		},
7655	}
7656
7657	for p.Next() {
7658		if !fn(p.Page().(*GetTablesOutput), !p.HasNextPage()) {
7659			break
7660		}
7661	}
7662
7663	return p.Err()
7664}
7665
7666const opGetTags = "GetTags"
7667
7668// GetTagsRequest generates a "aws/request.Request" representing the
7669// client's request for the GetTags operation. The "output" return
7670// value will be populated with the request's response once the request completes
7671// successfully.
7672//
7673// Use "Send" method on the returned Request to send the API call to the service.
7674// the "output" return value is not valid until after Send returns without error.
7675//
7676// See GetTags for more information on using the GetTags
7677// API call, and error handling.
7678//
7679// This method is useful when you want to inject custom logic or configuration
7680// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7681//
7682//
7683//    // Example sending a request using the GetTagsRequest method.
7684//    req, resp := client.GetTagsRequest(params)
7685//
7686//    err := req.Send()
7687//    if err == nil { // resp is now filled
7688//        fmt.Println(resp)
7689//    }
7690//
7691// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
7692func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) {
7693	op := &request.Operation{
7694		Name:       opGetTags,
7695		HTTPMethod: "POST",
7696		HTTPPath:   "/",
7697	}
7698
7699	if input == nil {
7700		input = &GetTagsInput{}
7701	}
7702
7703	output = &GetTagsOutput{}
7704	req = c.newRequest(op, input, output)
7705	return
7706}
7707
7708// GetTags API operation for AWS Glue.
7709//
7710// Retrieves a list of tags associated with a resource.
7711//
7712// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7713// with awserr.Error's Code and Message methods to get detailed information about
7714// the error.
7715//
7716// See the AWS API reference guide for AWS Glue's
7717// API operation GetTags for usage and error information.
7718//
7719// Returned Error Types:
7720//   * InvalidInputException
7721//   The input provided was not valid.
7722//
7723//   * InternalServiceException
7724//   An internal service error occurred.
7725//
7726//   * OperationTimeoutException
7727//   The operation timed out.
7728//
7729//   * EntityNotFoundException
7730//   A specified entity does not exist
7731//
7732// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
7733func (c *Glue) GetTags(input *GetTagsInput) (*GetTagsOutput, error) {
7734	req, out := c.GetTagsRequest(input)
7735	return out, req.Send()
7736}
7737
7738// GetTagsWithContext is the same as GetTags with the addition of
7739// the ability to pass a context and additional request options.
7740//
7741// See GetTags for details on how to use this API operation.
7742//
7743// The context must be non-nil and will be used for request cancellation. If
7744// the context is nil a panic will occur. In the future the SDK may create
7745// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7746// for more information on using Contexts.
7747func (c *Glue) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error) {
7748	req, out := c.GetTagsRequest(input)
7749	req.SetContext(ctx)
7750	req.ApplyOptions(opts...)
7751	return out, req.Send()
7752}
7753
7754const opGetTrigger = "GetTrigger"
7755
7756// GetTriggerRequest generates a "aws/request.Request" representing the
7757// client's request for the GetTrigger operation. The "output" return
7758// value will be populated with the request's response once the request completes
7759// successfully.
7760//
7761// Use "Send" method on the returned Request to send the API call to the service.
7762// the "output" return value is not valid until after Send returns without error.
7763//
7764// See GetTrigger for more information on using the GetTrigger
7765// API call, and error handling.
7766//
7767// This method is useful when you want to inject custom logic or configuration
7768// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7769//
7770//
7771//    // Example sending a request using the GetTriggerRequest method.
7772//    req, resp := client.GetTriggerRequest(params)
7773//
7774//    err := req.Send()
7775//    if err == nil { // resp is now filled
7776//        fmt.Println(resp)
7777//    }
7778//
7779// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
7780func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) {
7781	op := &request.Operation{
7782		Name:       opGetTrigger,
7783		HTTPMethod: "POST",
7784		HTTPPath:   "/",
7785	}
7786
7787	if input == nil {
7788		input = &GetTriggerInput{}
7789	}
7790
7791	output = &GetTriggerOutput{}
7792	req = c.newRequest(op, input, output)
7793	return
7794}
7795
7796// GetTrigger API operation for AWS Glue.
7797//
7798// Retrieves the definition of a trigger.
7799//
7800// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7801// with awserr.Error's Code and Message methods to get detailed information about
7802// the error.
7803//
7804// See the AWS API reference guide for AWS Glue's
7805// API operation GetTrigger for usage and error information.
7806//
7807// Returned Error Types:
7808//   * EntityNotFoundException
7809//   A specified entity does not exist
7810//
7811//   * InvalidInputException
7812//   The input provided was not valid.
7813//
7814//   * InternalServiceException
7815//   An internal service error occurred.
7816//
7817//   * OperationTimeoutException
7818//   The operation timed out.
7819//
7820// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
7821func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) {
7822	req, out := c.GetTriggerRequest(input)
7823	return out, req.Send()
7824}
7825
7826// GetTriggerWithContext is the same as GetTrigger with the addition of
7827// the ability to pass a context and additional request options.
7828//
7829// See GetTrigger for details on how to use this API operation.
7830//
7831// The context must be non-nil and will be used for request cancellation. If
7832// the context is nil a panic will occur. In the future the SDK may create
7833// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7834// for more information on using Contexts.
7835func (c *Glue) GetTriggerWithContext(ctx aws.Context, input *GetTriggerInput, opts ...request.Option) (*GetTriggerOutput, error) {
7836	req, out := c.GetTriggerRequest(input)
7837	req.SetContext(ctx)
7838	req.ApplyOptions(opts...)
7839	return out, req.Send()
7840}
7841
7842const opGetTriggers = "GetTriggers"
7843
7844// GetTriggersRequest generates a "aws/request.Request" representing the
7845// client's request for the GetTriggers operation. The "output" return
7846// value will be populated with the request's response once the request completes
7847// successfully.
7848//
7849// Use "Send" method on the returned Request to send the API call to the service.
7850// the "output" return value is not valid until after Send returns without error.
7851//
7852// See GetTriggers for more information on using the GetTriggers
7853// API call, and error handling.
7854//
7855// This method is useful when you want to inject custom logic or configuration
7856// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7857//
7858//
7859//    // Example sending a request using the GetTriggersRequest method.
7860//    req, resp := client.GetTriggersRequest(params)
7861//
7862//    err := req.Send()
7863//    if err == nil { // resp is now filled
7864//        fmt.Println(resp)
7865//    }
7866//
7867// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
7868func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) {
7869	op := &request.Operation{
7870		Name:       opGetTriggers,
7871		HTTPMethod: "POST",
7872		HTTPPath:   "/",
7873		Paginator: &request.Paginator{
7874			InputTokens:     []string{"NextToken"},
7875			OutputTokens:    []string{"NextToken"},
7876			LimitToken:      "MaxResults",
7877			TruncationToken: "",
7878		},
7879	}
7880
7881	if input == nil {
7882		input = &GetTriggersInput{}
7883	}
7884
7885	output = &GetTriggersOutput{}
7886	req = c.newRequest(op, input, output)
7887	return
7888}
7889
7890// GetTriggers API operation for AWS Glue.
7891//
7892// Gets all the triggers associated with a job.
7893//
7894// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7895// with awserr.Error's Code and Message methods to get detailed information about
7896// the error.
7897//
7898// See the AWS API reference guide for AWS Glue's
7899// API operation GetTriggers for usage and error information.
7900//
7901// Returned Error Types:
7902//   * EntityNotFoundException
7903//   A specified entity does not exist
7904//
7905//   * InvalidInputException
7906//   The input provided was not valid.
7907//
7908//   * InternalServiceException
7909//   An internal service error occurred.
7910//
7911//   * OperationTimeoutException
7912//   The operation timed out.
7913//
7914// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
7915func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) {
7916	req, out := c.GetTriggersRequest(input)
7917	return out, req.Send()
7918}
7919
7920// GetTriggersWithContext is the same as GetTriggers with the addition of
7921// the ability to pass a context and additional request options.
7922//
7923// See GetTriggers for details on how to use this API operation.
7924//
7925// The context must be non-nil and will be used for request cancellation. If
7926// the context is nil a panic will occur. In the future the SDK may create
7927// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7928// for more information on using Contexts.
7929func (c *Glue) GetTriggersWithContext(ctx aws.Context, input *GetTriggersInput, opts ...request.Option) (*GetTriggersOutput, error) {
7930	req, out := c.GetTriggersRequest(input)
7931	req.SetContext(ctx)
7932	req.ApplyOptions(opts...)
7933	return out, req.Send()
7934}
7935
7936// GetTriggersPages iterates over the pages of a GetTriggers operation,
7937// calling the "fn" function with the response data for each page. To stop
7938// iterating, return false from the fn function.
7939//
7940// See GetTriggers method for more information on how to use this operation.
7941//
7942// Note: This operation can generate multiple requests to a service.
7943//
7944//    // Example iterating over at most 3 pages of a GetTriggers operation.
7945//    pageNum := 0
7946//    err := client.GetTriggersPages(params,
7947//        func(page *glue.GetTriggersOutput, lastPage bool) bool {
7948//            pageNum++
7949//            fmt.Println(page)
7950//            return pageNum <= 3
7951//        })
7952//
7953func (c *Glue) GetTriggersPages(input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool) error {
7954	return c.GetTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
7955}
7956
7957// GetTriggersPagesWithContext same as GetTriggersPages except
7958// it takes a Context and allows setting request options on the pages.
7959//
7960// The context must be non-nil and will be used for request cancellation. If
7961// the context is nil a panic will occur. In the future the SDK may create
7962// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7963// for more information on using Contexts.
7964func (c *Glue) GetTriggersPagesWithContext(ctx aws.Context, input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool, opts ...request.Option) error {
7965	p := request.Pagination{
7966		NewRequest: func() (*request.Request, error) {
7967			var inCpy *GetTriggersInput
7968			if input != nil {
7969				tmp := *input
7970				inCpy = &tmp
7971			}
7972			req, _ := c.GetTriggersRequest(inCpy)
7973			req.SetContext(ctx)
7974			req.ApplyOptions(opts...)
7975			return req, nil
7976		},
7977	}
7978
7979	for p.Next() {
7980		if !fn(p.Page().(*GetTriggersOutput), !p.HasNextPage()) {
7981			break
7982		}
7983	}
7984
7985	return p.Err()
7986}
7987
7988const opGetUserDefinedFunction = "GetUserDefinedFunction"
7989
7990// GetUserDefinedFunctionRequest generates a "aws/request.Request" representing the
7991// client's request for the GetUserDefinedFunction operation. The "output" return
7992// value will be populated with the request's response once the request completes
7993// successfully.
7994//
7995// Use "Send" method on the returned Request to send the API call to the service.
7996// the "output" return value is not valid until after Send returns without error.
7997//
7998// See GetUserDefinedFunction for more information on using the GetUserDefinedFunction
7999// API call, and error handling.
8000//
8001// This method is useful when you want to inject custom logic or configuration
8002// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8003//
8004//
8005//    // Example sending a request using the GetUserDefinedFunctionRequest method.
8006//    req, resp := client.GetUserDefinedFunctionRequest(params)
8007//
8008//    err := req.Send()
8009//    if err == nil { // resp is now filled
8010//        fmt.Println(resp)
8011//    }
8012//
8013// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
8014func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) {
8015	op := &request.Operation{
8016		Name:       opGetUserDefinedFunction,
8017		HTTPMethod: "POST",
8018		HTTPPath:   "/",
8019	}
8020
8021	if input == nil {
8022		input = &GetUserDefinedFunctionInput{}
8023	}
8024
8025	output = &GetUserDefinedFunctionOutput{}
8026	req = c.newRequest(op, input, output)
8027	return
8028}
8029
8030// GetUserDefinedFunction API operation for AWS Glue.
8031//
8032// Retrieves a specified function definition from the Data Catalog.
8033//
8034// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8035// with awserr.Error's Code and Message methods to get detailed information about
8036// the error.
8037//
8038// See the AWS API reference guide for AWS Glue's
8039// API operation GetUserDefinedFunction for usage and error information.
8040//
8041// Returned Error Types:
8042//   * EntityNotFoundException
8043//   A specified entity does not exist
8044//
8045//   * InvalidInputException
8046//   The input provided was not valid.
8047//
8048//   * InternalServiceException
8049//   An internal service error occurred.
8050//
8051//   * OperationTimeoutException
8052//   The operation timed out.
8053//
8054//   * EncryptionException
8055//   An encryption operation failed.
8056//
8057// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
8058func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) {
8059	req, out := c.GetUserDefinedFunctionRequest(input)
8060	return out, req.Send()
8061}
8062
8063// GetUserDefinedFunctionWithContext is the same as GetUserDefinedFunction with the addition of
8064// the ability to pass a context and additional request options.
8065//
8066// See GetUserDefinedFunction for details on how to use this API operation.
8067//
8068// The context must be non-nil and will be used for request cancellation. If
8069// the context is nil a panic will occur. In the future the SDK may create
8070// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8071// for more information on using Contexts.
8072func (c *Glue) GetUserDefinedFunctionWithContext(ctx aws.Context, input *GetUserDefinedFunctionInput, opts ...request.Option) (*GetUserDefinedFunctionOutput, error) {
8073	req, out := c.GetUserDefinedFunctionRequest(input)
8074	req.SetContext(ctx)
8075	req.ApplyOptions(opts...)
8076	return out, req.Send()
8077}
8078
8079const opGetUserDefinedFunctions = "GetUserDefinedFunctions"
8080
8081// GetUserDefinedFunctionsRequest generates a "aws/request.Request" representing the
8082// client's request for the GetUserDefinedFunctions operation. The "output" return
8083// value will be populated with the request's response once the request completes
8084// successfully.
8085//
8086// Use "Send" method on the returned Request to send the API call to the service.
8087// the "output" return value is not valid until after Send returns without error.
8088//
8089// See GetUserDefinedFunctions for more information on using the GetUserDefinedFunctions
8090// API call, and error handling.
8091//
8092// This method is useful when you want to inject custom logic or configuration
8093// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8094//
8095//
8096//    // Example sending a request using the GetUserDefinedFunctionsRequest method.
8097//    req, resp := client.GetUserDefinedFunctionsRequest(params)
8098//
8099//    err := req.Send()
8100//    if err == nil { // resp is now filled
8101//        fmt.Println(resp)
8102//    }
8103//
8104// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
8105func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) {
8106	op := &request.Operation{
8107		Name:       opGetUserDefinedFunctions,
8108		HTTPMethod: "POST",
8109		HTTPPath:   "/",
8110		Paginator: &request.Paginator{
8111			InputTokens:     []string{"NextToken"},
8112			OutputTokens:    []string{"NextToken"},
8113			LimitToken:      "MaxResults",
8114			TruncationToken: "",
8115		},
8116	}
8117
8118	if input == nil {
8119		input = &GetUserDefinedFunctionsInput{}
8120	}
8121
8122	output = &GetUserDefinedFunctionsOutput{}
8123	req = c.newRequest(op, input, output)
8124	return
8125}
8126
8127// GetUserDefinedFunctions API operation for AWS Glue.
8128//
8129// Retrieves multiple function definitions from the Data Catalog.
8130//
8131// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8132// with awserr.Error's Code and Message methods to get detailed information about
8133// the error.
8134//
8135// See the AWS API reference guide for AWS Glue's
8136// API operation GetUserDefinedFunctions for usage and error information.
8137//
8138// Returned Error Types:
8139//   * EntityNotFoundException
8140//   A specified entity does not exist
8141//
8142//   * InvalidInputException
8143//   The input provided was not valid.
8144//
8145//   * OperationTimeoutException
8146//   The operation timed out.
8147//
8148//   * InternalServiceException
8149//   An internal service error occurred.
8150//
8151//   * EncryptionException
8152//   An encryption operation failed.
8153//
8154// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
8155func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) {
8156	req, out := c.GetUserDefinedFunctionsRequest(input)
8157	return out, req.Send()
8158}
8159
8160// GetUserDefinedFunctionsWithContext is the same as GetUserDefinedFunctions with the addition of
8161// the ability to pass a context and additional request options.
8162//
8163// See GetUserDefinedFunctions for details on how to use this API operation.
8164//
8165// The context must be non-nil and will be used for request cancellation. If
8166// the context is nil a panic will occur. In the future the SDK may create
8167// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8168// for more information on using Contexts.
8169func (c *Glue) GetUserDefinedFunctionsWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, opts ...request.Option) (*GetUserDefinedFunctionsOutput, error) {
8170	req, out := c.GetUserDefinedFunctionsRequest(input)
8171	req.SetContext(ctx)
8172	req.ApplyOptions(opts...)
8173	return out, req.Send()
8174}
8175
8176// GetUserDefinedFunctionsPages iterates over the pages of a GetUserDefinedFunctions operation,
8177// calling the "fn" function with the response data for each page. To stop
8178// iterating, return false from the fn function.
8179//
8180// See GetUserDefinedFunctions method for more information on how to use this operation.
8181//
8182// Note: This operation can generate multiple requests to a service.
8183//
8184//    // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation.
8185//    pageNum := 0
8186//    err := client.GetUserDefinedFunctionsPages(params,
8187//        func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool {
8188//            pageNum++
8189//            fmt.Println(page)
8190//            return pageNum <= 3
8191//        })
8192//
8193func (c *Glue) GetUserDefinedFunctionsPages(input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool) error {
8194	return c.GetUserDefinedFunctionsPagesWithContext(aws.BackgroundContext(), input, fn)
8195}
8196
8197// GetUserDefinedFunctionsPagesWithContext same as GetUserDefinedFunctionsPages except
8198// it takes a Context and allows setting request options on the pages.
8199//
8200// The context must be non-nil and will be used for request cancellation. If
8201// the context is nil a panic will occur. In the future the SDK may create
8202// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8203// for more information on using Contexts.
8204func (c *Glue) GetUserDefinedFunctionsPagesWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool, opts ...request.Option) error {
8205	p := request.Pagination{
8206		NewRequest: func() (*request.Request, error) {
8207			var inCpy *GetUserDefinedFunctionsInput
8208			if input != nil {
8209				tmp := *input
8210				inCpy = &tmp
8211			}
8212			req, _ := c.GetUserDefinedFunctionsRequest(inCpy)
8213			req.SetContext(ctx)
8214			req.ApplyOptions(opts...)
8215			return req, nil
8216		},
8217	}
8218
8219	for p.Next() {
8220		if !fn(p.Page().(*GetUserDefinedFunctionsOutput), !p.HasNextPage()) {
8221			break
8222		}
8223	}
8224
8225	return p.Err()
8226}
8227
8228const opGetWorkflow = "GetWorkflow"
8229
8230// GetWorkflowRequest generates a "aws/request.Request" representing the
8231// client's request for the GetWorkflow operation. The "output" return
8232// value will be populated with the request's response once the request completes
8233// successfully.
8234//
8235// Use "Send" method on the returned Request to send the API call to the service.
8236// the "output" return value is not valid until after Send returns without error.
8237//
8238// See GetWorkflow for more information on using the GetWorkflow
8239// API call, and error handling.
8240//
8241// This method is useful when you want to inject custom logic or configuration
8242// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8243//
8244//
8245//    // Example sending a request using the GetWorkflowRequest method.
8246//    req, resp := client.GetWorkflowRequest(params)
8247//
8248//    err := req.Send()
8249//    if err == nil { // resp is now filled
8250//        fmt.Println(resp)
8251//    }
8252//
8253// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
8254func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) {
8255	op := &request.Operation{
8256		Name:       opGetWorkflow,
8257		HTTPMethod: "POST",
8258		HTTPPath:   "/",
8259	}
8260
8261	if input == nil {
8262		input = &GetWorkflowInput{}
8263	}
8264
8265	output = &GetWorkflowOutput{}
8266	req = c.newRequest(op, input, output)
8267	return
8268}
8269
8270// GetWorkflow API operation for AWS Glue.
8271//
8272// Retrieves resource metadata for a workflow.
8273//
8274// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8275// with awserr.Error's Code and Message methods to get detailed information about
8276// the error.
8277//
8278// See the AWS API reference guide for AWS Glue's
8279// API operation GetWorkflow for usage and error information.
8280//
8281// Returned Error Types:
8282//   * InvalidInputException
8283//   The input provided was not valid.
8284//
8285//   * EntityNotFoundException
8286//   A specified entity does not exist
8287//
8288//   * InternalServiceException
8289//   An internal service error occurred.
8290//
8291//   * OperationTimeoutException
8292//   The operation timed out.
8293//
8294// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
8295func (c *Glue) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) {
8296	req, out := c.GetWorkflowRequest(input)
8297	return out, req.Send()
8298}
8299
8300// GetWorkflowWithContext is the same as GetWorkflow with the addition of
8301// the ability to pass a context and additional request options.
8302//
8303// See GetWorkflow for details on how to use this API operation.
8304//
8305// The context must be non-nil and will be used for request cancellation. If
8306// the context is nil a panic will occur. In the future the SDK may create
8307// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8308// for more information on using Contexts.
8309func (c *Glue) GetWorkflowWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.Option) (*GetWorkflowOutput, error) {
8310	req, out := c.GetWorkflowRequest(input)
8311	req.SetContext(ctx)
8312	req.ApplyOptions(opts...)
8313	return out, req.Send()
8314}
8315
8316const opGetWorkflowRun = "GetWorkflowRun"
8317
8318// GetWorkflowRunRequest generates a "aws/request.Request" representing the
8319// client's request for the GetWorkflowRun operation. The "output" return
8320// value will be populated with the request's response once the request completes
8321// successfully.
8322//
8323// Use "Send" method on the returned Request to send the API call to the service.
8324// the "output" return value is not valid until after Send returns without error.
8325//
8326// See GetWorkflowRun for more information on using the GetWorkflowRun
8327// API call, and error handling.
8328//
8329// This method is useful when you want to inject custom logic or configuration
8330// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8331//
8332//
8333//    // Example sending a request using the GetWorkflowRunRequest method.
8334//    req, resp := client.GetWorkflowRunRequest(params)
8335//
8336//    err := req.Send()
8337//    if err == nil { // resp is now filled
8338//        fmt.Println(resp)
8339//    }
8340//
8341// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
8342func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.Request, output *GetWorkflowRunOutput) {
8343	op := &request.Operation{
8344		Name:       opGetWorkflowRun,
8345		HTTPMethod: "POST",
8346		HTTPPath:   "/",
8347	}
8348
8349	if input == nil {
8350		input = &GetWorkflowRunInput{}
8351	}
8352
8353	output = &GetWorkflowRunOutput{}
8354	req = c.newRequest(op, input, output)
8355	return
8356}
8357
8358// GetWorkflowRun API operation for AWS Glue.
8359//
8360// Retrieves the metadata for a given workflow run.
8361//
8362// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8363// with awserr.Error's Code and Message methods to get detailed information about
8364// the error.
8365//
8366// See the AWS API reference guide for AWS Glue's
8367// API operation GetWorkflowRun for usage and error information.
8368//
8369// Returned Error Types:
8370//   * InvalidInputException
8371//   The input provided was not valid.
8372//
8373//   * EntityNotFoundException
8374//   A specified entity does not exist
8375//
8376//   * InternalServiceException
8377//   An internal service error occurred.
8378//
8379//   * OperationTimeoutException
8380//   The operation timed out.
8381//
8382// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
8383func (c *Glue) GetWorkflowRun(input *GetWorkflowRunInput) (*GetWorkflowRunOutput, error) {
8384	req, out := c.GetWorkflowRunRequest(input)
8385	return out, req.Send()
8386}
8387
8388// GetWorkflowRunWithContext is the same as GetWorkflowRun with the addition of
8389// the ability to pass a context and additional request options.
8390//
8391// See GetWorkflowRun for details on how to use this API operation.
8392//
8393// The context must be non-nil and will be used for request cancellation. If
8394// the context is nil a panic will occur. In the future the SDK may create
8395// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8396// for more information on using Contexts.
8397func (c *Glue) GetWorkflowRunWithContext(ctx aws.Context, input *GetWorkflowRunInput, opts ...request.Option) (*GetWorkflowRunOutput, error) {
8398	req, out := c.GetWorkflowRunRequest(input)
8399	req.SetContext(ctx)
8400	req.ApplyOptions(opts...)
8401	return out, req.Send()
8402}
8403
8404const opGetWorkflowRunProperties = "GetWorkflowRunProperties"
8405
8406// GetWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
8407// client's request for the GetWorkflowRunProperties operation. The "output" return
8408// value will be populated with the request's response once the request completes
8409// successfully.
8410//
8411// Use "Send" method on the returned Request to send the API call to the service.
8412// the "output" return value is not valid until after Send returns without error.
8413//
8414// See GetWorkflowRunProperties for more information on using the GetWorkflowRunProperties
8415// API call, and error handling.
8416//
8417// This method is useful when you want to inject custom logic or configuration
8418// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8419//
8420//
8421//    // Example sending a request using the GetWorkflowRunPropertiesRequest method.
8422//    req, resp := client.GetWorkflowRunPropertiesRequest(params)
8423//
8424//    err := req.Send()
8425//    if err == nil { // resp is now filled
8426//        fmt.Println(resp)
8427//    }
8428//
8429// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
8430func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesInput) (req *request.Request, output *GetWorkflowRunPropertiesOutput) {
8431	op := &request.Operation{
8432		Name:       opGetWorkflowRunProperties,
8433		HTTPMethod: "POST",
8434		HTTPPath:   "/",
8435	}
8436
8437	if input == nil {
8438		input = &GetWorkflowRunPropertiesInput{}
8439	}
8440
8441	output = &GetWorkflowRunPropertiesOutput{}
8442	req = c.newRequest(op, input, output)
8443	return
8444}
8445
8446// GetWorkflowRunProperties API operation for AWS Glue.
8447//
8448// Retrieves the workflow run properties which were set during the run.
8449//
8450// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8451// with awserr.Error's Code and Message methods to get detailed information about
8452// the error.
8453//
8454// See the AWS API reference guide for AWS Glue's
8455// API operation GetWorkflowRunProperties for usage and error information.
8456//
8457// Returned Error Types:
8458//   * InvalidInputException
8459//   The input provided was not valid.
8460//
8461//   * EntityNotFoundException
8462//   A specified entity does not exist
8463//
8464//   * InternalServiceException
8465//   An internal service error occurred.
8466//
8467//   * OperationTimeoutException
8468//   The operation timed out.
8469//
8470// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
8471func (c *Glue) GetWorkflowRunProperties(input *GetWorkflowRunPropertiesInput) (*GetWorkflowRunPropertiesOutput, error) {
8472	req, out := c.GetWorkflowRunPropertiesRequest(input)
8473	return out, req.Send()
8474}
8475
8476// GetWorkflowRunPropertiesWithContext is the same as GetWorkflowRunProperties with the addition of
8477// the ability to pass a context and additional request options.
8478//
8479// See GetWorkflowRunProperties for details on how to use this API operation.
8480//
8481// The context must be non-nil and will be used for request cancellation. If
8482// the context is nil a panic will occur. In the future the SDK may create
8483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8484// for more information on using Contexts.
8485func (c *Glue) GetWorkflowRunPropertiesWithContext(ctx aws.Context, input *GetWorkflowRunPropertiesInput, opts ...request.Option) (*GetWorkflowRunPropertiesOutput, error) {
8486	req, out := c.GetWorkflowRunPropertiesRequest(input)
8487	req.SetContext(ctx)
8488	req.ApplyOptions(opts...)
8489	return out, req.Send()
8490}
8491
8492const opGetWorkflowRuns = "GetWorkflowRuns"
8493
8494// GetWorkflowRunsRequest generates a "aws/request.Request" representing the
8495// client's request for the GetWorkflowRuns operation. The "output" return
8496// value will be populated with the request's response once the request completes
8497// successfully.
8498//
8499// Use "Send" method on the returned Request to send the API call to the service.
8500// the "output" return value is not valid until after Send returns without error.
8501//
8502// See GetWorkflowRuns for more information on using the GetWorkflowRuns
8503// API call, and error handling.
8504//
8505// This method is useful when you want to inject custom logic or configuration
8506// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8507//
8508//
8509//    // Example sending a request using the GetWorkflowRunsRequest method.
8510//    req, resp := client.GetWorkflowRunsRequest(params)
8511//
8512//    err := req.Send()
8513//    if err == nil { // resp is now filled
8514//        fmt.Println(resp)
8515//    }
8516//
8517// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
8518func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request.Request, output *GetWorkflowRunsOutput) {
8519	op := &request.Operation{
8520		Name:       opGetWorkflowRuns,
8521		HTTPMethod: "POST",
8522		HTTPPath:   "/",
8523		Paginator: &request.Paginator{
8524			InputTokens:     []string{"NextToken"},
8525			OutputTokens:    []string{"NextToken"},
8526			LimitToken:      "MaxResults",
8527			TruncationToken: "",
8528		},
8529	}
8530
8531	if input == nil {
8532		input = &GetWorkflowRunsInput{}
8533	}
8534
8535	output = &GetWorkflowRunsOutput{}
8536	req = c.newRequest(op, input, output)
8537	return
8538}
8539
8540// GetWorkflowRuns API operation for AWS Glue.
8541//
8542// Retrieves metadata for all runs of a given workflow.
8543//
8544// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8545// with awserr.Error's Code and Message methods to get detailed information about
8546// the error.
8547//
8548// See the AWS API reference guide for AWS Glue's
8549// API operation GetWorkflowRuns for usage and error information.
8550//
8551// Returned Error Types:
8552//   * InvalidInputException
8553//   The input provided was not valid.
8554//
8555//   * EntityNotFoundException
8556//   A specified entity does not exist
8557//
8558//   * InternalServiceException
8559//   An internal service error occurred.
8560//
8561//   * OperationTimeoutException
8562//   The operation timed out.
8563//
8564// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
8565func (c *Glue) GetWorkflowRuns(input *GetWorkflowRunsInput) (*GetWorkflowRunsOutput, error) {
8566	req, out := c.GetWorkflowRunsRequest(input)
8567	return out, req.Send()
8568}
8569
8570// GetWorkflowRunsWithContext is the same as GetWorkflowRuns with the addition of
8571// the ability to pass a context and additional request options.
8572//
8573// See GetWorkflowRuns for details on how to use this API operation.
8574//
8575// The context must be non-nil and will be used for request cancellation. If
8576// the context is nil a panic will occur. In the future the SDK may create
8577// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8578// for more information on using Contexts.
8579func (c *Glue) GetWorkflowRunsWithContext(ctx aws.Context, input *GetWorkflowRunsInput, opts ...request.Option) (*GetWorkflowRunsOutput, error) {
8580	req, out := c.GetWorkflowRunsRequest(input)
8581	req.SetContext(ctx)
8582	req.ApplyOptions(opts...)
8583	return out, req.Send()
8584}
8585
8586// GetWorkflowRunsPages iterates over the pages of a GetWorkflowRuns operation,
8587// calling the "fn" function with the response data for each page. To stop
8588// iterating, return false from the fn function.
8589//
8590// See GetWorkflowRuns method for more information on how to use this operation.
8591//
8592// Note: This operation can generate multiple requests to a service.
8593//
8594//    // Example iterating over at most 3 pages of a GetWorkflowRuns operation.
8595//    pageNum := 0
8596//    err := client.GetWorkflowRunsPages(params,
8597//        func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool {
8598//            pageNum++
8599//            fmt.Println(page)
8600//            return pageNum <= 3
8601//        })
8602//
8603func (c *Glue) GetWorkflowRunsPages(input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool) error {
8604	return c.GetWorkflowRunsPagesWithContext(aws.BackgroundContext(), input, fn)
8605}
8606
8607// GetWorkflowRunsPagesWithContext same as GetWorkflowRunsPages except
8608// it takes a Context and allows setting request options on the pages.
8609//
8610// The context must be non-nil and will be used for request cancellation. If
8611// the context is nil a panic will occur. In the future the SDK may create
8612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8613// for more information on using Contexts.
8614func (c *Glue) GetWorkflowRunsPagesWithContext(ctx aws.Context, input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool, opts ...request.Option) error {
8615	p := request.Pagination{
8616		NewRequest: func() (*request.Request, error) {
8617			var inCpy *GetWorkflowRunsInput
8618			if input != nil {
8619				tmp := *input
8620				inCpy = &tmp
8621			}
8622			req, _ := c.GetWorkflowRunsRequest(inCpy)
8623			req.SetContext(ctx)
8624			req.ApplyOptions(opts...)
8625			return req, nil
8626		},
8627	}
8628
8629	for p.Next() {
8630		if !fn(p.Page().(*GetWorkflowRunsOutput), !p.HasNextPage()) {
8631			break
8632		}
8633	}
8634
8635	return p.Err()
8636}
8637
8638const opImportCatalogToGlue = "ImportCatalogToGlue"
8639
8640// ImportCatalogToGlueRequest generates a "aws/request.Request" representing the
8641// client's request for the ImportCatalogToGlue operation. The "output" return
8642// value will be populated with the request's response once the request completes
8643// successfully.
8644//
8645// Use "Send" method on the returned Request to send the API call to the service.
8646// the "output" return value is not valid until after Send returns without error.
8647//
8648// See ImportCatalogToGlue for more information on using the ImportCatalogToGlue
8649// API call, and error handling.
8650//
8651// This method is useful when you want to inject custom logic or configuration
8652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8653//
8654//
8655//    // Example sending a request using the ImportCatalogToGlueRequest method.
8656//    req, resp := client.ImportCatalogToGlueRequest(params)
8657//
8658//    err := req.Send()
8659//    if err == nil { // resp is now filled
8660//        fmt.Println(resp)
8661//    }
8662//
8663// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
8664func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) {
8665	op := &request.Operation{
8666		Name:       opImportCatalogToGlue,
8667		HTTPMethod: "POST",
8668		HTTPPath:   "/",
8669	}
8670
8671	if input == nil {
8672		input = &ImportCatalogToGlueInput{}
8673	}
8674
8675	output = &ImportCatalogToGlueOutput{}
8676	req = c.newRequest(op, input, output)
8677	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
8678	return
8679}
8680
8681// ImportCatalogToGlue API operation for AWS Glue.
8682//
8683// Imports an existing Amazon Athena Data Catalog to AWS Glue
8684//
8685// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8686// with awserr.Error's Code and Message methods to get detailed information about
8687// the error.
8688//
8689// See the AWS API reference guide for AWS Glue's
8690// API operation ImportCatalogToGlue for usage and error information.
8691//
8692// Returned Error Types:
8693//   * InternalServiceException
8694//   An internal service error occurred.
8695//
8696//   * OperationTimeoutException
8697//   The operation timed out.
8698//
8699// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
8700func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) {
8701	req, out := c.ImportCatalogToGlueRequest(input)
8702	return out, req.Send()
8703}
8704
8705// ImportCatalogToGlueWithContext is the same as ImportCatalogToGlue with the addition of
8706// the ability to pass a context and additional request options.
8707//
8708// See ImportCatalogToGlue for details on how to use this API operation.
8709//
8710// The context must be non-nil and will be used for request cancellation. If
8711// the context is nil a panic will occur. In the future the SDK may create
8712// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8713// for more information on using Contexts.
8714func (c *Glue) ImportCatalogToGlueWithContext(ctx aws.Context, input *ImportCatalogToGlueInput, opts ...request.Option) (*ImportCatalogToGlueOutput, error) {
8715	req, out := c.ImportCatalogToGlueRequest(input)
8716	req.SetContext(ctx)
8717	req.ApplyOptions(opts...)
8718	return out, req.Send()
8719}
8720
8721const opListCrawlers = "ListCrawlers"
8722
8723// ListCrawlersRequest generates a "aws/request.Request" representing the
8724// client's request for the ListCrawlers operation. The "output" return
8725// value will be populated with the request's response once the request completes
8726// successfully.
8727//
8728// Use "Send" method on the returned Request to send the API call to the service.
8729// the "output" return value is not valid until after Send returns without error.
8730//
8731// See ListCrawlers for more information on using the ListCrawlers
8732// API call, and error handling.
8733//
8734// This method is useful when you want to inject custom logic or configuration
8735// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8736//
8737//
8738//    // Example sending a request using the ListCrawlersRequest method.
8739//    req, resp := client.ListCrawlersRequest(params)
8740//
8741//    err := req.Send()
8742//    if err == nil { // resp is now filled
8743//        fmt.Println(resp)
8744//    }
8745//
8746// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
8747func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Request, output *ListCrawlersOutput) {
8748	op := &request.Operation{
8749		Name:       opListCrawlers,
8750		HTTPMethod: "POST",
8751		HTTPPath:   "/",
8752		Paginator: &request.Paginator{
8753			InputTokens:     []string{"NextToken"},
8754			OutputTokens:    []string{"NextToken"},
8755			LimitToken:      "MaxResults",
8756			TruncationToken: "",
8757		},
8758	}
8759
8760	if input == nil {
8761		input = &ListCrawlersInput{}
8762	}
8763
8764	output = &ListCrawlersOutput{}
8765	req = c.newRequest(op, input, output)
8766	return
8767}
8768
8769// ListCrawlers API operation for AWS Glue.
8770//
8771// Retrieves the names of all crawler resources in this AWS account, or the
8772// resources with the specified tag. This operation allows you to see which
8773// resources are available in your account, and their names.
8774//
8775// This operation takes the optional Tags field, which you can use as a filter
8776// on the response so that tagged resources can be retrieved as a group. If
8777// you choose to use tags filtering, only resources with the tag are retrieved.
8778//
8779// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8780// with awserr.Error's Code and Message methods to get detailed information about
8781// the error.
8782//
8783// See the AWS API reference guide for AWS Glue's
8784// API operation ListCrawlers for usage and error information.
8785//
8786// Returned Error Types:
8787//   * OperationTimeoutException
8788//   The operation timed out.
8789//
8790// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
8791func (c *Glue) ListCrawlers(input *ListCrawlersInput) (*ListCrawlersOutput, error) {
8792	req, out := c.ListCrawlersRequest(input)
8793	return out, req.Send()
8794}
8795
8796// ListCrawlersWithContext is the same as ListCrawlers with the addition of
8797// the ability to pass a context and additional request options.
8798//
8799// See ListCrawlers for details on how to use this API operation.
8800//
8801// The context must be non-nil and will be used for request cancellation. If
8802// the context is nil a panic will occur. In the future the SDK may create
8803// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8804// for more information on using Contexts.
8805func (c *Glue) ListCrawlersWithContext(ctx aws.Context, input *ListCrawlersInput, opts ...request.Option) (*ListCrawlersOutput, error) {
8806	req, out := c.ListCrawlersRequest(input)
8807	req.SetContext(ctx)
8808	req.ApplyOptions(opts...)
8809	return out, req.Send()
8810}
8811
8812// ListCrawlersPages iterates over the pages of a ListCrawlers operation,
8813// calling the "fn" function with the response data for each page. To stop
8814// iterating, return false from the fn function.
8815//
8816// See ListCrawlers method for more information on how to use this operation.
8817//
8818// Note: This operation can generate multiple requests to a service.
8819//
8820//    // Example iterating over at most 3 pages of a ListCrawlers operation.
8821//    pageNum := 0
8822//    err := client.ListCrawlersPages(params,
8823//        func(page *glue.ListCrawlersOutput, lastPage bool) bool {
8824//            pageNum++
8825//            fmt.Println(page)
8826//            return pageNum <= 3
8827//        })
8828//
8829func (c *Glue) ListCrawlersPages(input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool) error {
8830	return c.ListCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
8831}
8832
8833// ListCrawlersPagesWithContext same as ListCrawlersPages except
8834// it takes a Context and allows setting request options on the pages.
8835//
8836// The context must be non-nil and will be used for request cancellation. If
8837// the context is nil a panic will occur. In the future the SDK may create
8838// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8839// for more information on using Contexts.
8840func (c *Glue) ListCrawlersPagesWithContext(ctx aws.Context, input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool, opts ...request.Option) error {
8841	p := request.Pagination{
8842		NewRequest: func() (*request.Request, error) {
8843			var inCpy *ListCrawlersInput
8844			if input != nil {
8845				tmp := *input
8846				inCpy = &tmp
8847			}
8848			req, _ := c.ListCrawlersRequest(inCpy)
8849			req.SetContext(ctx)
8850			req.ApplyOptions(opts...)
8851			return req, nil
8852		},
8853	}
8854
8855	for p.Next() {
8856		if !fn(p.Page().(*ListCrawlersOutput), !p.HasNextPage()) {
8857			break
8858		}
8859	}
8860
8861	return p.Err()
8862}
8863
8864const opListDevEndpoints = "ListDevEndpoints"
8865
8866// ListDevEndpointsRequest generates a "aws/request.Request" representing the
8867// client's request for the ListDevEndpoints operation. The "output" return
8868// value will be populated with the request's response once the request completes
8869// successfully.
8870//
8871// Use "Send" method on the returned Request to send the API call to the service.
8872// the "output" return value is not valid until after Send returns without error.
8873//
8874// See ListDevEndpoints for more information on using the ListDevEndpoints
8875// API call, and error handling.
8876//
8877// This method is useful when you want to inject custom logic or configuration
8878// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8879//
8880//
8881//    // Example sending a request using the ListDevEndpointsRequest method.
8882//    req, resp := client.ListDevEndpointsRequest(params)
8883//
8884//    err := req.Send()
8885//    if err == nil { // resp is now filled
8886//        fmt.Println(resp)
8887//    }
8888//
8889// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
8890func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *request.Request, output *ListDevEndpointsOutput) {
8891	op := &request.Operation{
8892		Name:       opListDevEndpoints,
8893		HTTPMethod: "POST",
8894		HTTPPath:   "/",
8895		Paginator: &request.Paginator{
8896			InputTokens:     []string{"NextToken"},
8897			OutputTokens:    []string{"NextToken"},
8898			LimitToken:      "MaxResults",
8899			TruncationToken: "",
8900		},
8901	}
8902
8903	if input == nil {
8904		input = &ListDevEndpointsInput{}
8905	}
8906
8907	output = &ListDevEndpointsOutput{}
8908	req = c.newRequest(op, input, output)
8909	return
8910}
8911
8912// ListDevEndpoints API operation for AWS Glue.
8913//
8914// Retrieves the names of all DevEndpoint resources in this AWS account, or
8915// the resources with the specified tag. This operation allows you to see which
8916// resources are available in your account, and their names.
8917//
8918// This operation takes the optional Tags field, which you can use as a filter
8919// on the response so that tagged resources can be retrieved as a group. If
8920// you choose to use tags filtering, only resources with the tag are retrieved.
8921//
8922// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8923// with awserr.Error's Code and Message methods to get detailed information about
8924// the error.
8925//
8926// See the AWS API reference guide for AWS Glue's
8927// API operation ListDevEndpoints for usage and error information.
8928//
8929// Returned Error Types:
8930//   * InvalidInputException
8931//   The input provided was not valid.
8932//
8933//   * EntityNotFoundException
8934//   A specified entity does not exist
8935//
8936//   * InternalServiceException
8937//   An internal service error occurred.
8938//
8939//   * OperationTimeoutException
8940//   The operation timed out.
8941//
8942// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
8943func (c *Glue) ListDevEndpoints(input *ListDevEndpointsInput) (*ListDevEndpointsOutput, error) {
8944	req, out := c.ListDevEndpointsRequest(input)
8945	return out, req.Send()
8946}
8947
8948// ListDevEndpointsWithContext is the same as ListDevEndpoints with the addition of
8949// the ability to pass a context and additional request options.
8950//
8951// See ListDevEndpoints for details on how to use this API operation.
8952//
8953// The context must be non-nil and will be used for request cancellation. If
8954// the context is nil a panic will occur. In the future the SDK may create
8955// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8956// for more information on using Contexts.
8957func (c *Glue) ListDevEndpointsWithContext(ctx aws.Context, input *ListDevEndpointsInput, opts ...request.Option) (*ListDevEndpointsOutput, error) {
8958	req, out := c.ListDevEndpointsRequest(input)
8959	req.SetContext(ctx)
8960	req.ApplyOptions(opts...)
8961	return out, req.Send()
8962}
8963
8964// ListDevEndpointsPages iterates over the pages of a ListDevEndpoints operation,
8965// calling the "fn" function with the response data for each page. To stop
8966// iterating, return false from the fn function.
8967//
8968// See ListDevEndpoints method for more information on how to use this operation.
8969//
8970// Note: This operation can generate multiple requests to a service.
8971//
8972//    // Example iterating over at most 3 pages of a ListDevEndpoints operation.
8973//    pageNum := 0
8974//    err := client.ListDevEndpointsPages(params,
8975//        func(page *glue.ListDevEndpointsOutput, lastPage bool) bool {
8976//            pageNum++
8977//            fmt.Println(page)
8978//            return pageNum <= 3
8979//        })
8980//
8981func (c *Glue) ListDevEndpointsPages(input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool) error {
8982	return c.ListDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
8983}
8984
8985// ListDevEndpointsPagesWithContext same as ListDevEndpointsPages except
8986// it takes a Context and allows setting request options on the pages.
8987//
8988// The context must be non-nil and will be used for request cancellation. If
8989// the context is nil a panic will occur. In the future the SDK may create
8990// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8991// for more information on using Contexts.
8992func (c *Glue) ListDevEndpointsPagesWithContext(ctx aws.Context, input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool, opts ...request.Option) error {
8993	p := request.Pagination{
8994		NewRequest: func() (*request.Request, error) {
8995			var inCpy *ListDevEndpointsInput
8996			if input != nil {
8997				tmp := *input
8998				inCpy = &tmp
8999			}
9000			req, _ := c.ListDevEndpointsRequest(inCpy)
9001			req.SetContext(ctx)
9002			req.ApplyOptions(opts...)
9003			return req, nil
9004		},
9005	}
9006
9007	for p.Next() {
9008		if !fn(p.Page().(*ListDevEndpointsOutput), !p.HasNextPage()) {
9009			break
9010		}
9011	}
9012
9013	return p.Err()
9014}
9015
9016const opListJobs = "ListJobs"
9017
9018// ListJobsRequest generates a "aws/request.Request" representing the
9019// client's request for the ListJobs operation. The "output" return
9020// value will be populated with the request's response once the request completes
9021// successfully.
9022//
9023// Use "Send" method on the returned Request to send the API call to the service.
9024// the "output" return value is not valid until after Send returns without error.
9025//
9026// See ListJobs for more information on using the ListJobs
9027// API call, and error handling.
9028//
9029// This method is useful when you want to inject custom logic or configuration
9030// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9031//
9032//
9033//    // Example sending a request using the ListJobsRequest method.
9034//    req, resp := client.ListJobsRequest(params)
9035//
9036//    err := req.Send()
9037//    if err == nil { // resp is now filled
9038//        fmt.Println(resp)
9039//    }
9040//
9041// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
9042func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) {
9043	op := &request.Operation{
9044		Name:       opListJobs,
9045		HTTPMethod: "POST",
9046		HTTPPath:   "/",
9047		Paginator: &request.Paginator{
9048			InputTokens:     []string{"NextToken"},
9049			OutputTokens:    []string{"NextToken"},
9050			LimitToken:      "MaxResults",
9051			TruncationToken: "",
9052		},
9053	}
9054
9055	if input == nil {
9056		input = &ListJobsInput{}
9057	}
9058
9059	output = &ListJobsOutput{}
9060	req = c.newRequest(op, input, output)
9061	return
9062}
9063
9064// ListJobs API operation for AWS Glue.
9065//
9066// Retrieves the names of all job resources in this AWS account, or the resources
9067// with the specified tag. This operation allows you to see which resources
9068// are available in your account, and their names.
9069//
9070// This operation takes the optional Tags field, which you can use as a filter
9071// on the response so that tagged resources can be retrieved as a group. If
9072// you choose to use tags filtering, only resources with the tag are retrieved.
9073//
9074// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9075// with awserr.Error's Code and Message methods to get detailed information about
9076// the error.
9077//
9078// See the AWS API reference guide for AWS Glue's
9079// API operation ListJobs for usage and error information.
9080//
9081// Returned Error Types:
9082//   * InvalidInputException
9083//   The input provided was not valid.
9084//
9085//   * EntityNotFoundException
9086//   A specified entity does not exist
9087//
9088//   * InternalServiceException
9089//   An internal service error occurred.
9090//
9091//   * OperationTimeoutException
9092//   The operation timed out.
9093//
9094// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
9095func (c *Glue) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) {
9096	req, out := c.ListJobsRequest(input)
9097	return out, req.Send()
9098}
9099
9100// ListJobsWithContext is the same as ListJobs with the addition of
9101// the ability to pass a context and additional request options.
9102//
9103// See ListJobs for details on how to use this API operation.
9104//
9105// The context must be non-nil and will be used for request cancellation. If
9106// the context is nil a panic will occur. In the future the SDK may create
9107// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9108// for more information on using Contexts.
9109func (c *Glue) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) {
9110	req, out := c.ListJobsRequest(input)
9111	req.SetContext(ctx)
9112	req.ApplyOptions(opts...)
9113	return out, req.Send()
9114}
9115
9116// ListJobsPages iterates over the pages of a ListJobs operation,
9117// calling the "fn" function with the response data for each page. To stop
9118// iterating, return false from the fn function.
9119//
9120// See ListJobs method for more information on how to use this operation.
9121//
9122// Note: This operation can generate multiple requests to a service.
9123//
9124//    // Example iterating over at most 3 pages of a ListJobs operation.
9125//    pageNum := 0
9126//    err := client.ListJobsPages(params,
9127//        func(page *glue.ListJobsOutput, lastPage bool) bool {
9128//            pageNum++
9129//            fmt.Println(page)
9130//            return pageNum <= 3
9131//        })
9132//
9133func (c *Glue) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error {
9134	return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn)
9135}
9136
9137// ListJobsPagesWithContext same as ListJobsPages except
9138// it takes a Context and allows setting request options on the pages.
9139//
9140// The context must be non-nil and will be used for request cancellation. If
9141// the context is nil a panic will occur. In the future the SDK may create
9142// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9143// for more information on using Contexts.
9144func (c *Glue) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error {
9145	p := request.Pagination{
9146		NewRequest: func() (*request.Request, error) {
9147			var inCpy *ListJobsInput
9148			if input != nil {
9149				tmp := *input
9150				inCpy = &tmp
9151			}
9152			req, _ := c.ListJobsRequest(inCpy)
9153			req.SetContext(ctx)
9154			req.ApplyOptions(opts...)
9155			return req, nil
9156		},
9157	}
9158
9159	for p.Next() {
9160		if !fn(p.Page().(*ListJobsOutput), !p.HasNextPage()) {
9161			break
9162		}
9163	}
9164
9165	return p.Err()
9166}
9167
9168const opListMLTransforms = "ListMLTransforms"
9169
9170// ListMLTransformsRequest generates a "aws/request.Request" representing the
9171// client's request for the ListMLTransforms operation. The "output" return
9172// value will be populated with the request's response once the request completes
9173// successfully.
9174//
9175// Use "Send" method on the returned Request to send the API call to the service.
9176// the "output" return value is not valid until after Send returns without error.
9177//
9178// See ListMLTransforms for more information on using the ListMLTransforms
9179// API call, and error handling.
9180//
9181// This method is useful when you want to inject custom logic or configuration
9182// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9183//
9184//
9185//    // Example sending a request using the ListMLTransformsRequest method.
9186//    req, resp := client.ListMLTransformsRequest(params)
9187//
9188//    err := req.Send()
9189//    if err == nil { // resp is now filled
9190//        fmt.Println(resp)
9191//    }
9192//
9193// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms
9194func (c *Glue) ListMLTransformsRequest(input *ListMLTransformsInput) (req *request.Request, output *ListMLTransformsOutput) {
9195	op := &request.Operation{
9196		Name:       opListMLTransforms,
9197		HTTPMethod: "POST",
9198		HTTPPath:   "/",
9199		Paginator: &request.Paginator{
9200			InputTokens:     []string{"NextToken"},
9201			OutputTokens:    []string{"NextToken"},
9202			LimitToken:      "MaxResults",
9203			TruncationToken: "",
9204		},
9205	}
9206
9207	if input == nil {
9208		input = &ListMLTransformsInput{}
9209	}
9210
9211	output = &ListMLTransformsOutput{}
9212	req = c.newRequest(op, input, output)
9213	return
9214}
9215
9216// ListMLTransforms API operation for AWS Glue.
9217//
9218// Retrieves a sortable, filterable list of existing AWS Glue machine learning
9219// transforms in this AWS account, or the resources with the specified tag.
9220// This operation takes the optional Tags field, which you can use as a filter
9221// of the responses so that tagged resources can be retrieved as a group. If
9222// you choose to use tag filtering, only resources with the tags are retrieved.
9223//
9224// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9225// with awserr.Error's Code and Message methods to get detailed information about
9226// the error.
9227//
9228// See the AWS API reference guide for AWS Glue's
9229// API operation ListMLTransforms for usage and error information.
9230//
9231// Returned Error Types:
9232//   * EntityNotFoundException
9233//   A specified entity does not exist
9234//
9235//   * InvalidInputException
9236//   The input provided was not valid.
9237//
9238//   * OperationTimeoutException
9239//   The operation timed out.
9240//
9241//   * InternalServiceException
9242//   An internal service error occurred.
9243//
9244// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms
9245func (c *Glue) ListMLTransforms(input *ListMLTransformsInput) (*ListMLTransformsOutput, error) {
9246	req, out := c.ListMLTransformsRequest(input)
9247	return out, req.Send()
9248}
9249
9250// ListMLTransformsWithContext is the same as ListMLTransforms with the addition of
9251// the ability to pass a context and additional request options.
9252//
9253// See ListMLTransforms for details on how to use this API operation.
9254//
9255// The context must be non-nil and will be used for request cancellation. If
9256// the context is nil a panic will occur. In the future the SDK may create
9257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9258// for more information on using Contexts.
9259func (c *Glue) ListMLTransformsWithContext(ctx aws.Context, input *ListMLTransformsInput, opts ...request.Option) (*ListMLTransformsOutput, error) {
9260	req, out := c.ListMLTransformsRequest(input)
9261	req.SetContext(ctx)
9262	req.ApplyOptions(opts...)
9263	return out, req.Send()
9264}
9265
9266// ListMLTransformsPages iterates over the pages of a ListMLTransforms operation,
9267// calling the "fn" function with the response data for each page. To stop
9268// iterating, return false from the fn function.
9269//
9270// See ListMLTransforms method for more information on how to use this operation.
9271//
9272// Note: This operation can generate multiple requests to a service.
9273//
9274//    // Example iterating over at most 3 pages of a ListMLTransforms operation.
9275//    pageNum := 0
9276//    err := client.ListMLTransformsPages(params,
9277//        func(page *glue.ListMLTransformsOutput, lastPage bool) bool {
9278//            pageNum++
9279//            fmt.Println(page)
9280//            return pageNum <= 3
9281//        })
9282//
9283func (c *Glue) ListMLTransformsPages(input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool) error {
9284	return c.ListMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn)
9285}
9286
9287// ListMLTransformsPagesWithContext same as ListMLTransformsPages except
9288// it takes a Context and allows setting request options on the pages.
9289//
9290// The context must be non-nil and will be used for request cancellation. If
9291// the context is nil a panic will occur. In the future the SDK may create
9292// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9293// for more information on using Contexts.
9294func (c *Glue) ListMLTransformsPagesWithContext(ctx aws.Context, input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool, opts ...request.Option) error {
9295	p := request.Pagination{
9296		NewRequest: func() (*request.Request, error) {
9297			var inCpy *ListMLTransformsInput
9298			if input != nil {
9299				tmp := *input
9300				inCpy = &tmp
9301			}
9302			req, _ := c.ListMLTransformsRequest(inCpy)
9303			req.SetContext(ctx)
9304			req.ApplyOptions(opts...)
9305			return req, nil
9306		},
9307	}
9308
9309	for p.Next() {
9310		if !fn(p.Page().(*ListMLTransformsOutput), !p.HasNextPage()) {
9311			break
9312		}
9313	}
9314
9315	return p.Err()
9316}
9317
9318const opListTriggers = "ListTriggers"
9319
9320// ListTriggersRequest generates a "aws/request.Request" representing the
9321// client's request for the ListTriggers operation. The "output" return
9322// value will be populated with the request's response once the request completes
9323// successfully.
9324//
9325// Use "Send" method on the returned Request to send the API call to the service.
9326// the "output" return value is not valid until after Send returns without error.
9327//
9328// See ListTriggers for more information on using the ListTriggers
9329// API call, and error handling.
9330//
9331// This method is useful when you want to inject custom logic or configuration
9332// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9333//
9334//
9335//    // Example sending a request using the ListTriggersRequest method.
9336//    req, resp := client.ListTriggersRequest(params)
9337//
9338//    err := req.Send()
9339//    if err == nil { // resp is now filled
9340//        fmt.Println(resp)
9341//    }
9342//
9343// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
9344func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) {
9345	op := &request.Operation{
9346		Name:       opListTriggers,
9347		HTTPMethod: "POST",
9348		HTTPPath:   "/",
9349		Paginator: &request.Paginator{
9350			InputTokens:     []string{"NextToken"},
9351			OutputTokens:    []string{"NextToken"},
9352			LimitToken:      "MaxResults",
9353			TruncationToken: "",
9354		},
9355	}
9356
9357	if input == nil {
9358		input = &ListTriggersInput{}
9359	}
9360
9361	output = &ListTriggersOutput{}
9362	req = c.newRequest(op, input, output)
9363	return
9364}
9365
9366// ListTriggers API operation for AWS Glue.
9367//
9368// Retrieves the names of all trigger resources in this AWS account, or the
9369// resources with the specified tag. This operation allows you to see which
9370// resources are available in your account, and their names.
9371//
9372// This operation takes the optional Tags field, which you can use as a filter
9373// on the response so that tagged resources can be retrieved as a group. If
9374// you choose to use tags filtering, only resources with the tag are retrieved.
9375//
9376// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9377// with awserr.Error's Code and Message methods to get detailed information about
9378// the error.
9379//
9380// See the AWS API reference guide for AWS Glue's
9381// API operation ListTriggers for usage and error information.
9382//
9383// Returned Error Types:
9384//   * EntityNotFoundException
9385//   A specified entity does not exist
9386//
9387//   * InvalidInputException
9388//   The input provided was not valid.
9389//
9390//   * InternalServiceException
9391//   An internal service error occurred.
9392//
9393//   * OperationTimeoutException
9394//   The operation timed out.
9395//
9396// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
9397func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) {
9398	req, out := c.ListTriggersRequest(input)
9399	return out, req.Send()
9400}
9401
9402// ListTriggersWithContext is the same as ListTriggers with the addition of
9403// the ability to pass a context and additional request options.
9404//
9405// See ListTriggers for details on how to use this API operation.
9406//
9407// The context must be non-nil and will be used for request cancellation. If
9408// the context is nil a panic will occur. In the future the SDK may create
9409// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9410// for more information on using Contexts.
9411func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput, opts ...request.Option) (*ListTriggersOutput, error) {
9412	req, out := c.ListTriggersRequest(input)
9413	req.SetContext(ctx)
9414	req.ApplyOptions(opts...)
9415	return out, req.Send()
9416}
9417
9418// ListTriggersPages iterates over the pages of a ListTriggers operation,
9419// calling the "fn" function with the response data for each page. To stop
9420// iterating, return false from the fn function.
9421//
9422// See ListTriggers method for more information on how to use this operation.
9423//
9424// Note: This operation can generate multiple requests to a service.
9425//
9426//    // Example iterating over at most 3 pages of a ListTriggers operation.
9427//    pageNum := 0
9428//    err := client.ListTriggersPages(params,
9429//        func(page *glue.ListTriggersOutput, lastPage bool) bool {
9430//            pageNum++
9431//            fmt.Println(page)
9432//            return pageNum <= 3
9433//        })
9434//
9435func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error {
9436	return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
9437}
9438
9439// ListTriggersPagesWithContext same as ListTriggersPages except
9440// it takes a Context and allows setting request options on the pages.
9441//
9442// The context must be non-nil and will be used for request cancellation. If
9443// the context is nil a panic will occur. In the future the SDK may create
9444// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9445// for more information on using Contexts.
9446func (c *Glue) ListTriggersPagesWithContext(ctx aws.Context, input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool, opts ...request.Option) error {
9447	p := request.Pagination{
9448		NewRequest: func() (*request.Request, error) {
9449			var inCpy *ListTriggersInput
9450			if input != nil {
9451				tmp := *input
9452				inCpy = &tmp
9453			}
9454			req, _ := c.ListTriggersRequest(inCpy)
9455			req.SetContext(ctx)
9456			req.ApplyOptions(opts...)
9457			return req, nil
9458		},
9459	}
9460
9461	for p.Next() {
9462		if !fn(p.Page().(*ListTriggersOutput), !p.HasNextPage()) {
9463			break
9464		}
9465	}
9466
9467	return p.Err()
9468}
9469
9470const opListWorkflows = "ListWorkflows"
9471
9472// ListWorkflowsRequest generates a "aws/request.Request" representing the
9473// client's request for the ListWorkflows operation. The "output" return
9474// value will be populated with the request's response once the request completes
9475// successfully.
9476//
9477// Use "Send" method on the returned Request to send the API call to the service.
9478// the "output" return value is not valid until after Send returns without error.
9479//
9480// See ListWorkflows for more information on using the ListWorkflows
9481// API call, and error handling.
9482//
9483// This method is useful when you want to inject custom logic or configuration
9484// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9485//
9486//
9487//    // Example sending a request using the ListWorkflowsRequest method.
9488//    req, resp := client.ListWorkflowsRequest(params)
9489//
9490//    err := req.Send()
9491//    if err == nil { // resp is now filled
9492//        fmt.Println(resp)
9493//    }
9494//
9495// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9496func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) {
9497	op := &request.Operation{
9498		Name:       opListWorkflows,
9499		HTTPMethod: "POST",
9500		HTTPPath:   "/",
9501		Paginator: &request.Paginator{
9502			InputTokens:     []string{"NextToken"},
9503			OutputTokens:    []string{"NextToken"},
9504			LimitToken:      "MaxResults",
9505			TruncationToken: "",
9506		},
9507	}
9508
9509	if input == nil {
9510		input = &ListWorkflowsInput{}
9511	}
9512
9513	output = &ListWorkflowsOutput{}
9514	req = c.newRequest(op, input, output)
9515	return
9516}
9517
9518// ListWorkflows API operation for AWS Glue.
9519//
9520// Lists names of workflows created in the account.
9521//
9522// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9523// with awserr.Error's Code and Message methods to get detailed information about
9524// the error.
9525//
9526// See the AWS API reference guide for AWS Glue's
9527// API operation ListWorkflows for usage and error information.
9528//
9529// Returned Error Types:
9530//   * InvalidInputException
9531//   The input provided was not valid.
9532//
9533//   * InternalServiceException
9534//   An internal service error occurred.
9535//
9536//   * OperationTimeoutException
9537//   The operation timed out.
9538//
9539// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9540func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) {
9541	req, out := c.ListWorkflowsRequest(input)
9542	return out, req.Send()
9543}
9544
9545// ListWorkflowsWithContext is the same as ListWorkflows with the addition of
9546// the ability to pass a context and additional request options.
9547//
9548// See ListWorkflows for details on how to use this API operation.
9549//
9550// The context must be non-nil and will be used for request cancellation. If
9551// the context is nil a panic will occur. In the future the SDK may create
9552// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9553// for more information on using Contexts.
9554func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) {
9555	req, out := c.ListWorkflowsRequest(input)
9556	req.SetContext(ctx)
9557	req.ApplyOptions(opts...)
9558	return out, req.Send()
9559}
9560
9561// ListWorkflowsPages iterates over the pages of a ListWorkflows operation,
9562// calling the "fn" function with the response data for each page. To stop
9563// iterating, return false from the fn function.
9564//
9565// See ListWorkflows method for more information on how to use this operation.
9566//
9567// Note: This operation can generate multiple requests to a service.
9568//
9569//    // Example iterating over at most 3 pages of a ListWorkflows operation.
9570//    pageNum := 0
9571//    err := client.ListWorkflowsPages(params,
9572//        func(page *glue.ListWorkflowsOutput, lastPage bool) bool {
9573//            pageNum++
9574//            fmt.Println(page)
9575//            return pageNum <= 3
9576//        })
9577//
9578func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error {
9579	return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn)
9580}
9581
9582// ListWorkflowsPagesWithContext same as ListWorkflowsPages except
9583// it takes a Context and allows setting request options on the pages.
9584//
9585// The context must be non-nil and will be used for request cancellation. If
9586// the context is nil a panic will occur. In the future the SDK may create
9587// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9588// for more information on using Contexts.
9589func (c *Glue) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error {
9590	p := request.Pagination{
9591		NewRequest: func() (*request.Request, error) {
9592			var inCpy *ListWorkflowsInput
9593			if input != nil {
9594				tmp := *input
9595				inCpy = &tmp
9596			}
9597			req, _ := c.ListWorkflowsRequest(inCpy)
9598			req.SetContext(ctx)
9599			req.ApplyOptions(opts...)
9600			return req, nil
9601		},
9602	}
9603
9604	for p.Next() {
9605		if !fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage()) {
9606			break
9607		}
9608	}
9609
9610	return p.Err()
9611}
9612
9613const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings"
9614
9615// PutDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
9616// client's request for the PutDataCatalogEncryptionSettings operation. The "output" return
9617// value will be populated with the request's response once the request completes
9618// successfully.
9619//
9620// Use "Send" method on the returned Request to send the API call to the service.
9621// the "output" return value is not valid until after Send returns without error.
9622//
9623// See PutDataCatalogEncryptionSettings for more information on using the PutDataCatalogEncryptionSettings
9624// API call, and error handling.
9625//
9626// This method is useful when you want to inject custom logic or configuration
9627// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9628//
9629//
9630//    // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method.
9631//    req, resp := client.PutDataCatalogEncryptionSettingsRequest(params)
9632//
9633//    err := req.Send()
9634//    if err == nil { // resp is now filled
9635//        fmt.Println(resp)
9636//    }
9637//
9638// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9639func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) {
9640	op := &request.Operation{
9641		Name:       opPutDataCatalogEncryptionSettings,
9642		HTTPMethod: "POST",
9643		HTTPPath:   "/",
9644	}
9645
9646	if input == nil {
9647		input = &PutDataCatalogEncryptionSettingsInput{}
9648	}
9649
9650	output = &PutDataCatalogEncryptionSettingsOutput{}
9651	req = c.newRequest(op, input, output)
9652	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9653	return
9654}
9655
9656// PutDataCatalogEncryptionSettings API operation for AWS Glue.
9657//
9658// Sets the security configuration for a specified catalog. After the configuration
9659// has been set, the specified encryption is applied to every catalog write
9660// thereafter.
9661//
9662// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9663// with awserr.Error's Code and Message methods to get detailed information about
9664// the error.
9665//
9666// See the AWS API reference guide for AWS Glue's
9667// API operation PutDataCatalogEncryptionSettings for usage and error information.
9668//
9669// Returned Error Types:
9670//   * InternalServiceException
9671//   An internal service error occurred.
9672//
9673//   * InvalidInputException
9674//   The input provided was not valid.
9675//
9676//   * OperationTimeoutException
9677//   The operation timed out.
9678//
9679// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9680func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) {
9681	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9682	return out, req.Send()
9683}
9684
9685// PutDataCatalogEncryptionSettingsWithContext is the same as PutDataCatalogEncryptionSettings with the addition of
9686// the ability to pass a context and additional request options.
9687//
9688// See PutDataCatalogEncryptionSettings for details on how to use this API operation.
9689//
9690// The context must be non-nil and will be used for request cancellation. If
9691// the context is nil a panic will occur. In the future the SDK may create
9692// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9693// for more information on using Contexts.
9694func (c *Glue) PutDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *PutDataCatalogEncryptionSettingsInput, opts ...request.Option) (*PutDataCatalogEncryptionSettingsOutput, error) {
9695	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9696	req.SetContext(ctx)
9697	req.ApplyOptions(opts...)
9698	return out, req.Send()
9699}
9700
9701const opPutResourcePolicy = "PutResourcePolicy"
9702
9703// PutResourcePolicyRequest generates a "aws/request.Request" representing the
9704// client's request for the PutResourcePolicy operation. The "output" return
9705// value will be populated with the request's response once the request completes
9706// successfully.
9707//
9708// Use "Send" method on the returned Request to send the API call to the service.
9709// the "output" return value is not valid until after Send returns without error.
9710//
9711// See PutResourcePolicy for more information on using the PutResourcePolicy
9712// API call, and error handling.
9713//
9714// This method is useful when you want to inject custom logic or configuration
9715// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9716//
9717//
9718//    // Example sending a request using the PutResourcePolicyRequest method.
9719//    req, resp := client.PutResourcePolicyRequest(params)
9720//
9721//    err := req.Send()
9722//    if err == nil { // resp is now filled
9723//        fmt.Println(resp)
9724//    }
9725//
9726// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9727func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) {
9728	op := &request.Operation{
9729		Name:       opPutResourcePolicy,
9730		HTTPMethod: "POST",
9731		HTTPPath:   "/",
9732	}
9733
9734	if input == nil {
9735		input = &PutResourcePolicyInput{}
9736	}
9737
9738	output = &PutResourcePolicyOutput{}
9739	req = c.newRequest(op, input, output)
9740	return
9741}
9742
9743// PutResourcePolicy API operation for AWS Glue.
9744//
9745// Sets the Data Catalog resource policy for access control.
9746//
9747// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9748// with awserr.Error's Code and Message methods to get detailed information about
9749// the error.
9750//
9751// See the AWS API reference guide for AWS Glue's
9752// API operation PutResourcePolicy for usage and error information.
9753//
9754// Returned Error Types:
9755//   * EntityNotFoundException
9756//   A specified entity does not exist
9757//
9758//   * InternalServiceException
9759//   An internal service error occurred.
9760//
9761//   * OperationTimeoutException
9762//   The operation timed out.
9763//
9764//   * InvalidInputException
9765//   The input provided was not valid.
9766//
9767//   * ConditionCheckFailureException
9768//   A specified condition was not satisfied.
9769//
9770// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9771func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) {
9772	req, out := c.PutResourcePolicyRequest(input)
9773	return out, req.Send()
9774}
9775
9776// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of
9777// the ability to pass a context and additional request options.
9778//
9779// See PutResourcePolicy for details on how to use this API operation.
9780//
9781// The context must be non-nil and will be used for request cancellation. If
9782// the context is nil a panic will occur. In the future the SDK may create
9783// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9784// for more information on using Contexts.
9785func (c *Glue) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) {
9786	req, out := c.PutResourcePolicyRequest(input)
9787	req.SetContext(ctx)
9788	req.ApplyOptions(opts...)
9789	return out, req.Send()
9790}
9791
9792const opPutWorkflowRunProperties = "PutWorkflowRunProperties"
9793
9794// PutWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
9795// client's request for the PutWorkflowRunProperties operation. The "output" return
9796// value will be populated with the request's response once the request completes
9797// successfully.
9798//
9799// Use "Send" method on the returned Request to send the API call to the service.
9800// the "output" return value is not valid until after Send returns without error.
9801//
9802// See PutWorkflowRunProperties for more information on using the PutWorkflowRunProperties
9803// API call, and error handling.
9804//
9805// This method is useful when you want to inject custom logic or configuration
9806// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9807//
9808//
9809//    // Example sending a request using the PutWorkflowRunPropertiesRequest method.
9810//    req, resp := client.PutWorkflowRunPropertiesRequest(params)
9811//
9812//    err := req.Send()
9813//    if err == nil { // resp is now filled
9814//        fmt.Println(resp)
9815//    }
9816//
9817// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9818func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) {
9819	op := &request.Operation{
9820		Name:       opPutWorkflowRunProperties,
9821		HTTPMethod: "POST",
9822		HTTPPath:   "/",
9823	}
9824
9825	if input == nil {
9826		input = &PutWorkflowRunPropertiesInput{}
9827	}
9828
9829	output = &PutWorkflowRunPropertiesOutput{}
9830	req = c.newRequest(op, input, output)
9831	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9832	return
9833}
9834
9835// PutWorkflowRunProperties API operation for AWS Glue.
9836//
9837// Puts the specified workflow run properties for the given workflow run. If
9838// a property already exists for the specified run, then it overrides the value
9839// otherwise adds the property to existing properties.
9840//
9841// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9842// with awserr.Error's Code and Message methods to get detailed information about
9843// the error.
9844//
9845// See the AWS API reference guide for AWS Glue's
9846// API operation PutWorkflowRunProperties for usage and error information.
9847//
9848// Returned Error Types:
9849//   * AlreadyExistsException
9850//   A resource to be created or added already exists.
9851//
9852//   * EntityNotFoundException
9853//   A specified entity does not exist
9854//
9855//   * InvalidInputException
9856//   The input provided was not valid.
9857//
9858//   * InternalServiceException
9859//   An internal service error occurred.
9860//
9861//   * OperationTimeoutException
9862//   The operation timed out.
9863//
9864//   * ResourceNumberLimitExceededException
9865//   A resource numerical limit was exceeded.
9866//
9867//   * ConcurrentModificationException
9868//   Two processes are trying to modify a resource simultaneously.
9869//
9870// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9871func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) {
9872	req, out := c.PutWorkflowRunPropertiesRequest(input)
9873	return out, req.Send()
9874}
9875
9876// PutWorkflowRunPropertiesWithContext is the same as PutWorkflowRunProperties with the addition of
9877// the ability to pass a context and additional request options.
9878//
9879// See PutWorkflowRunProperties for details on how to use this API operation.
9880//
9881// The context must be non-nil and will be used for request cancellation. If
9882// the context is nil a panic will occur. In the future the SDK may create
9883// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9884// for more information on using Contexts.
9885func (c *Glue) PutWorkflowRunPropertiesWithContext(ctx aws.Context, input *PutWorkflowRunPropertiesInput, opts ...request.Option) (*PutWorkflowRunPropertiesOutput, error) {
9886	req, out := c.PutWorkflowRunPropertiesRequest(input)
9887	req.SetContext(ctx)
9888	req.ApplyOptions(opts...)
9889	return out, req.Send()
9890}
9891
9892const opResetJobBookmark = "ResetJobBookmark"
9893
9894// ResetJobBookmarkRequest generates a "aws/request.Request" representing the
9895// client's request for the ResetJobBookmark operation. The "output" return
9896// value will be populated with the request's response once the request completes
9897// successfully.
9898//
9899// Use "Send" method on the returned Request to send the API call to the service.
9900// the "output" return value is not valid until after Send returns without error.
9901//
9902// See ResetJobBookmark for more information on using the ResetJobBookmark
9903// API call, and error handling.
9904//
9905// This method is useful when you want to inject custom logic or configuration
9906// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9907//
9908//
9909//    // Example sending a request using the ResetJobBookmarkRequest method.
9910//    req, resp := client.ResetJobBookmarkRequest(params)
9911//
9912//    err := req.Send()
9913//    if err == nil { // resp is now filled
9914//        fmt.Println(resp)
9915//    }
9916//
9917// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9918func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) {
9919	op := &request.Operation{
9920		Name:       opResetJobBookmark,
9921		HTTPMethod: "POST",
9922		HTTPPath:   "/",
9923	}
9924
9925	if input == nil {
9926		input = &ResetJobBookmarkInput{}
9927	}
9928
9929	output = &ResetJobBookmarkOutput{}
9930	req = c.newRequest(op, input, output)
9931	return
9932}
9933
9934// ResetJobBookmark API operation for AWS Glue.
9935//
9936// Resets a bookmark entry.
9937//
9938// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9939// with awserr.Error's Code and Message methods to get detailed information about
9940// the error.
9941//
9942// See the AWS API reference guide for AWS Glue's
9943// API operation ResetJobBookmark for usage and error information.
9944//
9945// Returned Error Types:
9946//   * EntityNotFoundException
9947//   A specified entity does not exist
9948//
9949//   * InvalidInputException
9950//   The input provided was not valid.
9951//
9952//   * InternalServiceException
9953//   An internal service error occurred.
9954//
9955//   * OperationTimeoutException
9956//   The operation timed out.
9957//
9958// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9959func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) {
9960	req, out := c.ResetJobBookmarkRequest(input)
9961	return out, req.Send()
9962}
9963
9964// ResetJobBookmarkWithContext is the same as ResetJobBookmark with the addition of
9965// the ability to pass a context and additional request options.
9966//
9967// See ResetJobBookmark for details on how to use this API operation.
9968//
9969// The context must be non-nil and will be used for request cancellation. If
9970// the context is nil a panic will occur. In the future the SDK may create
9971// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9972// for more information on using Contexts.
9973func (c *Glue) ResetJobBookmarkWithContext(ctx aws.Context, input *ResetJobBookmarkInput, opts ...request.Option) (*ResetJobBookmarkOutput, error) {
9974	req, out := c.ResetJobBookmarkRequest(input)
9975	req.SetContext(ctx)
9976	req.ApplyOptions(opts...)
9977	return out, req.Send()
9978}
9979
9980const opSearchTables = "SearchTables"
9981
9982// SearchTablesRequest generates a "aws/request.Request" representing the
9983// client's request for the SearchTables operation. The "output" return
9984// value will be populated with the request's response once the request completes
9985// successfully.
9986//
9987// Use "Send" method on the returned Request to send the API call to the service.
9988// the "output" return value is not valid until after Send returns without error.
9989//
9990// See SearchTables for more information on using the SearchTables
9991// API call, and error handling.
9992//
9993// This method is useful when you want to inject custom logic or configuration
9994// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9995//
9996//
9997//    // Example sending a request using the SearchTablesRequest method.
9998//    req, resp := client.SearchTablesRequest(params)
9999//
10000//    err := req.Send()
10001//    if err == nil { // resp is now filled
10002//        fmt.Println(resp)
10003//    }
10004//
10005// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
10006func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) {
10007	op := &request.Operation{
10008		Name:       opSearchTables,
10009		HTTPMethod: "POST",
10010		HTTPPath:   "/",
10011		Paginator: &request.Paginator{
10012			InputTokens:     []string{"NextToken"},
10013			OutputTokens:    []string{"NextToken"},
10014			LimitToken:      "MaxResults",
10015			TruncationToken: "",
10016		},
10017	}
10018
10019	if input == nil {
10020		input = &SearchTablesInput{}
10021	}
10022
10023	output = &SearchTablesOutput{}
10024	req = c.newRequest(op, input, output)
10025	return
10026}
10027
10028// SearchTables API operation for AWS Glue.
10029//
10030// Searches a set of tables based on properties in the table metadata as well
10031// as on the parent database. You can search against text or filter conditions.
10032//
10033// You can only get tables that you have access to based on the security policies
10034// defined in Lake Formation. You need at least a read-only access to the table
10035// for it to be returned. If you do not have access to all the columns in the
10036// table, these columns will not be searched against when returning the list
10037// of tables back to you. If you have access to the columns but not the data
10038// in the columns, those columns and the associated metadata for those columns
10039// will be included in the search.
10040//
10041// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10042// with awserr.Error's Code and Message methods to get detailed information about
10043// the error.
10044//
10045// See the AWS API reference guide for AWS Glue's
10046// API operation SearchTables for usage and error information.
10047//
10048// Returned Error Types:
10049//   * InternalServiceException
10050//   An internal service error occurred.
10051//
10052//   * InvalidInputException
10053//   The input provided was not valid.
10054//
10055//   * OperationTimeoutException
10056//   The operation timed out.
10057//
10058// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
10059func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) {
10060	req, out := c.SearchTablesRequest(input)
10061	return out, req.Send()
10062}
10063
10064// SearchTablesWithContext is the same as SearchTables with the addition of
10065// the ability to pass a context and additional request options.
10066//
10067// See SearchTables for details on how to use this API operation.
10068//
10069// The context must be non-nil and will be used for request cancellation. If
10070// the context is nil a panic will occur. In the future the SDK may create
10071// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10072// for more information on using Contexts.
10073func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput, opts ...request.Option) (*SearchTablesOutput, error) {
10074	req, out := c.SearchTablesRequest(input)
10075	req.SetContext(ctx)
10076	req.ApplyOptions(opts...)
10077	return out, req.Send()
10078}
10079
10080// SearchTablesPages iterates over the pages of a SearchTables operation,
10081// calling the "fn" function with the response data for each page. To stop
10082// iterating, return false from the fn function.
10083//
10084// See SearchTables method for more information on how to use this operation.
10085//
10086// Note: This operation can generate multiple requests to a service.
10087//
10088//    // Example iterating over at most 3 pages of a SearchTables operation.
10089//    pageNum := 0
10090//    err := client.SearchTablesPages(params,
10091//        func(page *glue.SearchTablesOutput, lastPage bool) bool {
10092//            pageNum++
10093//            fmt.Println(page)
10094//            return pageNum <= 3
10095//        })
10096//
10097func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error {
10098	return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn)
10099}
10100
10101// SearchTablesPagesWithContext same as SearchTablesPages except
10102// it takes a Context and allows setting request options on the pages.
10103//
10104// The context must be non-nil and will be used for request cancellation. If
10105// the context is nil a panic will occur. In the future the SDK may create
10106// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10107// for more information on using Contexts.
10108func (c *Glue) SearchTablesPagesWithContext(ctx aws.Context, input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool, opts ...request.Option) error {
10109	p := request.Pagination{
10110		NewRequest: func() (*request.Request, error) {
10111			var inCpy *SearchTablesInput
10112			if input != nil {
10113				tmp := *input
10114				inCpy = &tmp
10115			}
10116			req, _ := c.SearchTablesRequest(inCpy)
10117			req.SetContext(ctx)
10118			req.ApplyOptions(opts...)
10119			return req, nil
10120		},
10121	}
10122
10123	for p.Next() {
10124		if !fn(p.Page().(*SearchTablesOutput), !p.HasNextPage()) {
10125			break
10126		}
10127	}
10128
10129	return p.Err()
10130}
10131
10132const opStartCrawler = "StartCrawler"
10133
10134// StartCrawlerRequest generates a "aws/request.Request" representing the
10135// client's request for the StartCrawler operation. The "output" return
10136// value will be populated with the request's response once the request completes
10137// successfully.
10138//
10139// Use "Send" method on the returned Request to send the API call to the service.
10140// the "output" return value is not valid until after Send returns without error.
10141//
10142// See StartCrawler for more information on using the StartCrawler
10143// API call, and error handling.
10144//
10145// This method is useful when you want to inject custom logic or configuration
10146// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10147//
10148//
10149//    // Example sending a request using the StartCrawlerRequest method.
10150//    req, resp := client.StartCrawlerRequest(params)
10151//
10152//    err := req.Send()
10153//    if err == nil { // resp is now filled
10154//        fmt.Println(resp)
10155//    }
10156//
10157// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
10158func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) {
10159	op := &request.Operation{
10160		Name:       opStartCrawler,
10161		HTTPMethod: "POST",
10162		HTTPPath:   "/",
10163	}
10164
10165	if input == nil {
10166		input = &StartCrawlerInput{}
10167	}
10168
10169	output = &StartCrawlerOutput{}
10170	req = c.newRequest(op, input, output)
10171	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10172	return
10173}
10174
10175// StartCrawler API operation for AWS Glue.
10176//
10177// Starts a crawl using the specified crawler, regardless of what is scheduled.
10178// 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).
10179//
10180// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10181// with awserr.Error's Code and Message methods to get detailed information about
10182// the error.
10183//
10184// See the AWS API reference guide for AWS Glue's
10185// API operation StartCrawler for usage and error information.
10186//
10187// Returned Error Types:
10188//   * EntityNotFoundException
10189//   A specified entity does not exist
10190//
10191//   * CrawlerRunningException
10192//   The operation cannot be performed because the crawler is already running.
10193//
10194//   * OperationTimeoutException
10195//   The operation timed out.
10196//
10197// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
10198func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) {
10199	req, out := c.StartCrawlerRequest(input)
10200	return out, req.Send()
10201}
10202
10203// StartCrawlerWithContext is the same as StartCrawler with the addition of
10204// the ability to pass a context and additional request options.
10205//
10206// See StartCrawler for details on how to use this API operation.
10207//
10208// The context must be non-nil and will be used for request cancellation. If
10209// the context is nil a panic will occur. In the future the SDK may create
10210// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10211// for more information on using Contexts.
10212func (c *Glue) StartCrawlerWithContext(ctx aws.Context, input *StartCrawlerInput, opts ...request.Option) (*StartCrawlerOutput, error) {
10213	req, out := c.StartCrawlerRequest(input)
10214	req.SetContext(ctx)
10215	req.ApplyOptions(opts...)
10216	return out, req.Send()
10217}
10218
10219const opStartCrawlerSchedule = "StartCrawlerSchedule"
10220
10221// StartCrawlerScheduleRequest generates a "aws/request.Request" representing the
10222// client's request for the StartCrawlerSchedule operation. The "output" return
10223// value will be populated with the request's response once the request completes
10224// successfully.
10225//
10226// Use "Send" method on the returned Request to send the API call to the service.
10227// the "output" return value is not valid until after Send returns without error.
10228//
10229// See StartCrawlerSchedule for more information on using the StartCrawlerSchedule
10230// API call, and error handling.
10231//
10232// This method is useful when you want to inject custom logic or configuration
10233// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10234//
10235//
10236//    // Example sending a request using the StartCrawlerScheduleRequest method.
10237//    req, resp := client.StartCrawlerScheduleRequest(params)
10238//
10239//    err := req.Send()
10240//    if err == nil { // resp is now filled
10241//        fmt.Println(resp)
10242//    }
10243//
10244// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10245func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) {
10246	op := &request.Operation{
10247		Name:       opStartCrawlerSchedule,
10248		HTTPMethod: "POST",
10249		HTTPPath:   "/",
10250	}
10251
10252	if input == nil {
10253		input = &StartCrawlerScheduleInput{}
10254	}
10255
10256	output = &StartCrawlerScheduleOutput{}
10257	req = c.newRequest(op, input, output)
10258	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10259	return
10260}
10261
10262// StartCrawlerSchedule API operation for AWS Glue.
10263//
10264// Changes the schedule state of the specified crawler to SCHEDULED, unless
10265// the crawler is already running or the schedule state is already SCHEDULED.
10266//
10267// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10268// with awserr.Error's Code and Message methods to get detailed information about
10269// the error.
10270//
10271// See the AWS API reference guide for AWS Glue's
10272// API operation StartCrawlerSchedule for usage and error information.
10273//
10274// Returned Error Types:
10275//   * EntityNotFoundException
10276//   A specified entity does not exist
10277//
10278//   * SchedulerRunningException
10279//   The specified scheduler is already running.
10280//
10281//   * SchedulerTransitioningException
10282//   The specified scheduler is transitioning.
10283//
10284//   * NoScheduleException
10285//   There is no applicable schedule.
10286//
10287//   * OperationTimeoutException
10288//   The operation timed out.
10289//
10290// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10291func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) {
10292	req, out := c.StartCrawlerScheduleRequest(input)
10293	return out, req.Send()
10294}
10295
10296// StartCrawlerScheduleWithContext is the same as StartCrawlerSchedule with the addition of
10297// the ability to pass a context and additional request options.
10298//
10299// See StartCrawlerSchedule for details on how to use this API operation.
10300//
10301// The context must be non-nil and will be used for request cancellation. If
10302// the context is nil a panic will occur. In the future the SDK may create
10303// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10304// for more information on using Contexts.
10305func (c *Glue) StartCrawlerScheduleWithContext(ctx aws.Context, input *StartCrawlerScheduleInput, opts ...request.Option) (*StartCrawlerScheduleOutput, error) {
10306	req, out := c.StartCrawlerScheduleRequest(input)
10307	req.SetContext(ctx)
10308	req.ApplyOptions(opts...)
10309	return out, req.Send()
10310}
10311
10312const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun"
10313
10314// StartExportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10315// client's request for the StartExportLabelsTaskRun operation. The "output" return
10316// value will be populated with the request's response once the request completes
10317// successfully.
10318//
10319// Use "Send" method on the returned Request to send the API call to the service.
10320// the "output" return value is not valid until after Send returns without error.
10321//
10322// See StartExportLabelsTaskRun for more information on using the StartExportLabelsTaskRun
10323// API call, and error handling.
10324//
10325// This method is useful when you want to inject custom logic or configuration
10326// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10327//
10328//
10329//    // Example sending a request using the StartExportLabelsTaskRunRequest method.
10330//    req, resp := client.StartExportLabelsTaskRunRequest(params)
10331//
10332//    err := req.Send()
10333//    if err == nil { // resp is now filled
10334//        fmt.Println(resp)
10335//    }
10336//
10337// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10338func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) {
10339	op := &request.Operation{
10340		Name:       opStartExportLabelsTaskRun,
10341		HTTPMethod: "POST",
10342		HTTPPath:   "/",
10343	}
10344
10345	if input == nil {
10346		input = &StartExportLabelsTaskRunInput{}
10347	}
10348
10349	output = &StartExportLabelsTaskRunOutput{}
10350	req = c.newRequest(op, input, output)
10351	return
10352}
10353
10354// StartExportLabelsTaskRun API operation for AWS Glue.
10355//
10356// Begins an asynchronous task to export all labeled data for a particular transform.
10357// This task is the only label-related API call that is not part of the typical
10358// active learning workflow. You typically use StartExportLabelsTaskRun when
10359// you want to work with all of your existing labels at the same time, such
10360// as when you want to remove or change labels that were previously submitted
10361// as truth. This API operation accepts the TransformId whose labels you want
10362// to export and an Amazon Simple Storage Service (Amazon S3) path to export
10363// the labels to. The operation returns a TaskRunId. You can check on the status
10364// of your task run by calling the GetMLTaskRun API.
10365//
10366// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10367// with awserr.Error's Code and Message methods to get detailed information about
10368// the error.
10369//
10370// See the AWS API reference guide for AWS Glue's
10371// API operation StartExportLabelsTaskRun for usage and error information.
10372//
10373// Returned Error Types:
10374//   * EntityNotFoundException
10375//   A specified entity does not exist
10376//
10377//   * InvalidInputException
10378//   The input provided was not valid.
10379//
10380//   * OperationTimeoutException
10381//   The operation timed out.
10382//
10383//   * InternalServiceException
10384//   An internal service error occurred.
10385//
10386// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10387func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) {
10388	req, out := c.StartExportLabelsTaskRunRequest(input)
10389	return out, req.Send()
10390}
10391
10392// StartExportLabelsTaskRunWithContext is the same as StartExportLabelsTaskRun with the addition of
10393// the ability to pass a context and additional request options.
10394//
10395// See StartExportLabelsTaskRun for details on how to use this API operation.
10396//
10397// The context must be non-nil and will be used for request cancellation. If
10398// the context is nil a panic will occur. In the future the SDK may create
10399// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10400// for more information on using Contexts.
10401func (c *Glue) StartExportLabelsTaskRunWithContext(ctx aws.Context, input *StartExportLabelsTaskRunInput, opts ...request.Option) (*StartExportLabelsTaskRunOutput, error) {
10402	req, out := c.StartExportLabelsTaskRunRequest(input)
10403	req.SetContext(ctx)
10404	req.ApplyOptions(opts...)
10405	return out, req.Send()
10406}
10407
10408const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun"
10409
10410// StartImportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10411// client's request for the StartImportLabelsTaskRun operation. The "output" return
10412// value will be populated with the request's response once the request completes
10413// successfully.
10414//
10415// Use "Send" method on the returned Request to send the API call to the service.
10416// the "output" return value is not valid until after Send returns without error.
10417//
10418// See StartImportLabelsTaskRun for more information on using the StartImportLabelsTaskRun
10419// API call, and error handling.
10420//
10421// This method is useful when you want to inject custom logic or configuration
10422// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10423//
10424//
10425//    // Example sending a request using the StartImportLabelsTaskRunRequest method.
10426//    req, resp := client.StartImportLabelsTaskRunRequest(params)
10427//
10428//    err := req.Send()
10429//    if err == nil { // resp is now filled
10430//        fmt.Println(resp)
10431//    }
10432//
10433// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10434func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) {
10435	op := &request.Operation{
10436		Name:       opStartImportLabelsTaskRun,
10437		HTTPMethod: "POST",
10438		HTTPPath:   "/",
10439	}
10440
10441	if input == nil {
10442		input = &StartImportLabelsTaskRunInput{}
10443	}
10444
10445	output = &StartImportLabelsTaskRunOutput{}
10446	req = c.newRequest(op, input, output)
10447	return
10448}
10449
10450// StartImportLabelsTaskRun API operation for AWS Glue.
10451//
10452// Enables you to provide additional labels (examples of truth) to be used to
10453// teach the machine learning transform and improve its quality. This API operation
10454// is generally used as part of the active learning workflow that starts with
10455// the StartMLLabelingSetGenerationTaskRun call and that ultimately results
10456// in improving the quality of your machine learning transform.
10457//
10458// After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine
10459// learning will have generated a series of questions for humans to answer.
10460// (Answering these questions is often called 'labeling' in the machine learning
10461// workflows). In the case of the FindMatches transform, these questions are
10462// of the form, “What is the correct way to group these rows together into
10463// groups composed entirely of matching records?” After the labeling process
10464// is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun.
10465// After StartImportLabelsTaskRun finishes, all future runs of the machine learning
10466// transform use the new and improved labels and perform a higher-quality transformation.
10467//
10468// By default, StartMLLabelingSetGenerationTaskRun continually learns from and
10469// combines all labels that you upload unless you set Replace to true. If you
10470// set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously
10471// uploaded labels and learns only from the exact set that you upload. Replacing
10472// labels can be helpful if you realize that you previously uploaded incorrect
10473// labels, and you believe that they are having a negative effect on your transform
10474// quality.
10475//
10476// You can check on the status of your task run by calling the GetMLTaskRun
10477// operation.
10478//
10479// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10480// with awserr.Error's Code and Message methods to get detailed information about
10481// the error.
10482//
10483// See the AWS API reference guide for AWS Glue's
10484// API operation StartImportLabelsTaskRun for usage and error information.
10485//
10486// Returned Error Types:
10487//   * EntityNotFoundException
10488//   A specified entity does not exist
10489//
10490//   * InvalidInputException
10491//   The input provided was not valid.
10492//
10493//   * OperationTimeoutException
10494//   The operation timed out.
10495//
10496//   * ResourceNumberLimitExceededException
10497//   A resource numerical limit was exceeded.
10498//
10499//   * InternalServiceException
10500//   An internal service error occurred.
10501//
10502// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10503func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) {
10504	req, out := c.StartImportLabelsTaskRunRequest(input)
10505	return out, req.Send()
10506}
10507
10508// StartImportLabelsTaskRunWithContext is the same as StartImportLabelsTaskRun with the addition of
10509// the ability to pass a context and additional request options.
10510//
10511// See StartImportLabelsTaskRun for details on how to use this API operation.
10512//
10513// The context must be non-nil and will be used for request cancellation. If
10514// the context is nil a panic will occur. In the future the SDK may create
10515// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10516// for more information on using Contexts.
10517func (c *Glue) StartImportLabelsTaskRunWithContext(ctx aws.Context, input *StartImportLabelsTaskRunInput, opts ...request.Option) (*StartImportLabelsTaskRunOutput, error) {
10518	req, out := c.StartImportLabelsTaskRunRequest(input)
10519	req.SetContext(ctx)
10520	req.ApplyOptions(opts...)
10521	return out, req.Send()
10522}
10523
10524const opStartJobRun = "StartJobRun"
10525
10526// StartJobRunRequest generates a "aws/request.Request" representing the
10527// client's request for the StartJobRun operation. The "output" return
10528// value will be populated with the request's response once the request completes
10529// successfully.
10530//
10531// Use "Send" method on the returned Request to send the API call to the service.
10532// the "output" return value is not valid until after Send returns without error.
10533//
10534// See StartJobRun for more information on using the StartJobRun
10535// API call, and error handling.
10536//
10537// This method is useful when you want to inject custom logic or configuration
10538// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10539//
10540//
10541//    // Example sending a request using the StartJobRunRequest method.
10542//    req, resp := client.StartJobRunRequest(params)
10543//
10544//    err := req.Send()
10545//    if err == nil { // resp is now filled
10546//        fmt.Println(resp)
10547//    }
10548//
10549// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10550func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) {
10551	op := &request.Operation{
10552		Name:       opStartJobRun,
10553		HTTPMethod: "POST",
10554		HTTPPath:   "/",
10555	}
10556
10557	if input == nil {
10558		input = &StartJobRunInput{}
10559	}
10560
10561	output = &StartJobRunOutput{}
10562	req = c.newRequest(op, input, output)
10563	return
10564}
10565
10566// StartJobRun API operation for AWS Glue.
10567//
10568// Starts a job run using a job definition.
10569//
10570// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10571// with awserr.Error's Code and Message methods to get detailed information about
10572// the error.
10573//
10574// See the AWS API reference guide for AWS Glue's
10575// API operation StartJobRun for usage and error information.
10576//
10577// Returned Error Types:
10578//   * InvalidInputException
10579//   The input provided was not valid.
10580//
10581//   * EntityNotFoundException
10582//   A specified entity does not exist
10583//
10584//   * InternalServiceException
10585//   An internal service error occurred.
10586//
10587//   * OperationTimeoutException
10588//   The operation timed out.
10589//
10590//   * ResourceNumberLimitExceededException
10591//   A resource numerical limit was exceeded.
10592//
10593//   * ConcurrentRunsExceededException
10594//   Too many jobs are being run concurrently.
10595//
10596// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10597func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) {
10598	req, out := c.StartJobRunRequest(input)
10599	return out, req.Send()
10600}
10601
10602// StartJobRunWithContext is the same as StartJobRun with the addition of
10603// the ability to pass a context and additional request options.
10604//
10605// See StartJobRun for details on how to use this API operation.
10606//
10607// The context must be non-nil and will be used for request cancellation. If
10608// the context is nil a panic will occur. In the future the SDK may create
10609// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10610// for more information on using Contexts.
10611func (c *Glue) StartJobRunWithContext(ctx aws.Context, input *StartJobRunInput, opts ...request.Option) (*StartJobRunOutput, error) {
10612	req, out := c.StartJobRunRequest(input)
10613	req.SetContext(ctx)
10614	req.ApplyOptions(opts...)
10615	return out, req.Send()
10616}
10617
10618const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun"
10619
10620// StartMLEvaluationTaskRunRequest generates a "aws/request.Request" representing the
10621// client's request for the StartMLEvaluationTaskRun operation. The "output" return
10622// value will be populated with the request's response once the request completes
10623// successfully.
10624//
10625// Use "Send" method on the returned Request to send the API call to the service.
10626// the "output" return value is not valid until after Send returns without error.
10627//
10628// See StartMLEvaluationTaskRun for more information on using the StartMLEvaluationTaskRun
10629// API call, and error handling.
10630//
10631// This method is useful when you want to inject custom logic or configuration
10632// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10633//
10634//
10635//    // Example sending a request using the StartMLEvaluationTaskRunRequest method.
10636//    req, resp := client.StartMLEvaluationTaskRunRequest(params)
10637//
10638//    err := req.Send()
10639//    if err == nil { // resp is now filled
10640//        fmt.Println(resp)
10641//    }
10642//
10643// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10644func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) {
10645	op := &request.Operation{
10646		Name:       opStartMLEvaluationTaskRun,
10647		HTTPMethod: "POST",
10648		HTTPPath:   "/",
10649	}
10650
10651	if input == nil {
10652		input = &StartMLEvaluationTaskRunInput{}
10653	}
10654
10655	output = &StartMLEvaluationTaskRunOutput{}
10656	req = c.newRequest(op, input, output)
10657	return
10658}
10659
10660// StartMLEvaluationTaskRun API operation for AWS Glue.
10661//
10662// Starts a task to estimate the quality of the transform.
10663//
10664// When you provide label sets as examples of truth, AWS Glue machine learning
10665// uses some of those examples to learn from them. The rest of the labels are
10666// used as a test to estimate quality.
10667//
10668// Returns a unique identifier for the run. You can call GetMLTaskRun to get
10669// more information about the stats of the EvaluationTaskRun.
10670//
10671// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10672// with awserr.Error's Code and Message methods to get detailed information about
10673// the error.
10674//
10675// See the AWS API reference guide for AWS Glue's
10676// API operation StartMLEvaluationTaskRun for usage and error information.
10677//
10678// Returned Error Types:
10679//   * EntityNotFoundException
10680//   A specified entity does not exist
10681//
10682//   * InvalidInputException
10683//   The input provided was not valid.
10684//
10685//   * OperationTimeoutException
10686//   The operation timed out.
10687//
10688//   * InternalServiceException
10689//   An internal service error occurred.
10690//
10691//   * ConcurrentRunsExceededException
10692//   Too many jobs are being run concurrently.
10693//
10694//   * MLTransformNotReadyException
10695//   The machine learning transform is not ready to run.
10696//
10697// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10698func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) {
10699	req, out := c.StartMLEvaluationTaskRunRequest(input)
10700	return out, req.Send()
10701}
10702
10703// StartMLEvaluationTaskRunWithContext is the same as StartMLEvaluationTaskRun with the addition of
10704// the ability to pass a context and additional request options.
10705//
10706// See StartMLEvaluationTaskRun for details on how to use this API operation.
10707//
10708// The context must be non-nil and will be used for request cancellation. If
10709// the context is nil a panic will occur. In the future the SDK may create
10710// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10711// for more information on using Contexts.
10712func (c *Glue) StartMLEvaluationTaskRunWithContext(ctx aws.Context, input *StartMLEvaluationTaskRunInput, opts ...request.Option) (*StartMLEvaluationTaskRunOutput, error) {
10713	req, out := c.StartMLEvaluationTaskRunRequest(input)
10714	req.SetContext(ctx)
10715	req.ApplyOptions(opts...)
10716	return out, req.Send()
10717}
10718
10719const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskRun"
10720
10721// StartMLLabelingSetGenerationTaskRunRequest generates a "aws/request.Request" representing the
10722// client's request for the StartMLLabelingSetGenerationTaskRun operation. The "output" return
10723// value will be populated with the request's response once the request completes
10724// successfully.
10725//
10726// Use "Send" method on the returned Request to send the API call to the service.
10727// the "output" return value is not valid until after Send returns without error.
10728//
10729// See StartMLLabelingSetGenerationTaskRun for more information on using the StartMLLabelingSetGenerationTaskRun
10730// API call, and error handling.
10731//
10732// This method is useful when you want to inject custom logic or configuration
10733// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10734//
10735//
10736//    // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method.
10737//    req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params)
10738//
10739//    err := req.Send()
10740//    if err == nil { // resp is now filled
10741//        fmt.Println(resp)
10742//    }
10743//
10744// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10745func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) {
10746	op := &request.Operation{
10747		Name:       opStartMLLabelingSetGenerationTaskRun,
10748		HTTPMethod: "POST",
10749		HTTPPath:   "/",
10750	}
10751
10752	if input == nil {
10753		input = &StartMLLabelingSetGenerationTaskRunInput{}
10754	}
10755
10756	output = &StartMLLabelingSetGenerationTaskRunOutput{}
10757	req = c.newRequest(op, input, output)
10758	return
10759}
10760
10761// StartMLLabelingSetGenerationTaskRun API operation for AWS Glue.
10762//
10763// Starts the active learning workflow for your machine learning transform to
10764// improve the transform's quality by generating label sets and adding labels.
10765//
10766// When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have
10767// generated a "labeling set" or a set of questions for humans to answer.
10768//
10769// In the case of the FindMatches transform, these questions are of the form,
10770// “What is the correct way to group these rows together into groups composed
10771// entirely of matching records?”
10772//
10773// After the labeling process is finished, you can upload your labels with a
10774// call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes,
10775// all future runs of the machine learning transform will use the new and improved
10776// labels and perform a higher-quality transformation.
10777//
10778// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10779// with awserr.Error's Code and Message methods to get detailed information about
10780// the error.
10781//
10782// See the AWS API reference guide for AWS Glue's
10783// API operation StartMLLabelingSetGenerationTaskRun for usage and error information.
10784//
10785// Returned Error Types:
10786//   * EntityNotFoundException
10787//   A specified entity does not exist
10788//
10789//   * InvalidInputException
10790//   The input provided was not valid.
10791//
10792//   * OperationTimeoutException
10793//   The operation timed out.
10794//
10795//   * InternalServiceException
10796//   An internal service error occurred.
10797//
10798//   * ConcurrentRunsExceededException
10799//   Too many jobs are being run concurrently.
10800//
10801// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10802func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10803	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10804	return out, req.Send()
10805}
10806
10807// StartMLLabelingSetGenerationTaskRunWithContext is the same as StartMLLabelingSetGenerationTaskRun with the addition of
10808// the ability to pass a context and additional request options.
10809//
10810// See StartMLLabelingSetGenerationTaskRun for details on how to use this API operation.
10811//
10812// The context must be non-nil and will be used for request cancellation. If
10813// the context is nil a panic will occur. In the future the SDK may create
10814// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10815// for more information on using Contexts.
10816func (c *Glue) StartMLLabelingSetGenerationTaskRunWithContext(ctx aws.Context, input *StartMLLabelingSetGenerationTaskRunInput, opts ...request.Option) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10817	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10818	req.SetContext(ctx)
10819	req.ApplyOptions(opts...)
10820	return out, req.Send()
10821}
10822
10823const opStartTrigger = "StartTrigger"
10824
10825// StartTriggerRequest generates a "aws/request.Request" representing the
10826// client's request for the StartTrigger operation. The "output" return
10827// value will be populated with the request's response once the request completes
10828// successfully.
10829//
10830// Use "Send" method on the returned Request to send the API call to the service.
10831// the "output" return value is not valid until after Send returns without error.
10832//
10833// See StartTrigger for more information on using the StartTrigger
10834// API call, and error handling.
10835//
10836// This method is useful when you want to inject custom logic or configuration
10837// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10838//
10839//
10840//    // Example sending a request using the StartTriggerRequest method.
10841//    req, resp := client.StartTriggerRequest(params)
10842//
10843//    err := req.Send()
10844//    if err == nil { // resp is now filled
10845//        fmt.Println(resp)
10846//    }
10847//
10848// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10849func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) {
10850	op := &request.Operation{
10851		Name:       opStartTrigger,
10852		HTTPMethod: "POST",
10853		HTTPPath:   "/",
10854	}
10855
10856	if input == nil {
10857		input = &StartTriggerInput{}
10858	}
10859
10860	output = &StartTriggerOutput{}
10861	req = c.newRequest(op, input, output)
10862	return
10863}
10864
10865// StartTrigger API operation for AWS Glue.
10866//
10867// Starts an existing trigger. See Triggering Jobs (https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html)
10868// for information about how different types of trigger are started.
10869//
10870// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10871// with awserr.Error's Code and Message methods to get detailed information about
10872// the error.
10873//
10874// See the AWS API reference guide for AWS Glue's
10875// API operation StartTrigger for usage and error information.
10876//
10877// Returned Error Types:
10878//   * InvalidInputException
10879//   The input provided was not valid.
10880//
10881//   * InternalServiceException
10882//   An internal service error occurred.
10883//
10884//   * EntityNotFoundException
10885//   A specified entity does not exist
10886//
10887//   * OperationTimeoutException
10888//   The operation timed out.
10889//
10890//   * ResourceNumberLimitExceededException
10891//   A resource numerical limit was exceeded.
10892//
10893//   * ConcurrentRunsExceededException
10894//   Too many jobs are being run concurrently.
10895//
10896// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10897func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) {
10898	req, out := c.StartTriggerRequest(input)
10899	return out, req.Send()
10900}
10901
10902// StartTriggerWithContext is the same as StartTrigger with the addition of
10903// the ability to pass a context and additional request options.
10904//
10905// See StartTrigger for details on how to use this API operation.
10906//
10907// The context must be non-nil and will be used for request cancellation. If
10908// the context is nil a panic will occur. In the future the SDK may create
10909// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10910// for more information on using Contexts.
10911func (c *Glue) StartTriggerWithContext(ctx aws.Context, input *StartTriggerInput, opts ...request.Option) (*StartTriggerOutput, error) {
10912	req, out := c.StartTriggerRequest(input)
10913	req.SetContext(ctx)
10914	req.ApplyOptions(opts...)
10915	return out, req.Send()
10916}
10917
10918const opStartWorkflowRun = "StartWorkflowRun"
10919
10920// StartWorkflowRunRequest generates a "aws/request.Request" representing the
10921// client's request for the StartWorkflowRun operation. The "output" return
10922// value will be populated with the request's response once the request completes
10923// successfully.
10924//
10925// Use "Send" method on the returned Request to send the API call to the service.
10926// the "output" return value is not valid until after Send returns without error.
10927//
10928// See StartWorkflowRun for more information on using the StartWorkflowRun
10929// API call, and error handling.
10930//
10931// This method is useful when you want to inject custom logic or configuration
10932// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10933//
10934//
10935//    // Example sending a request using the StartWorkflowRunRequest method.
10936//    req, resp := client.StartWorkflowRunRequest(params)
10937//
10938//    err := req.Send()
10939//    if err == nil { // resp is now filled
10940//        fmt.Println(resp)
10941//    }
10942//
10943// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10944func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) {
10945	op := &request.Operation{
10946		Name:       opStartWorkflowRun,
10947		HTTPMethod: "POST",
10948		HTTPPath:   "/",
10949	}
10950
10951	if input == nil {
10952		input = &StartWorkflowRunInput{}
10953	}
10954
10955	output = &StartWorkflowRunOutput{}
10956	req = c.newRequest(op, input, output)
10957	return
10958}
10959
10960// StartWorkflowRun API operation for AWS Glue.
10961//
10962// Starts a new run of the specified workflow.
10963//
10964// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10965// with awserr.Error's Code and Message methods to get detailed information about
10966// the error.
10967//
10968// See the AWS API reference guide for AWS Glue's
10969// API operation StartWorkflowRun for usage and error information.
10970//
10971// Returned Error Types:
10972//   * InvalidInputException
10973//   The input provided was not valid.
10974//
10975//   * EntityNotFoundException
10976//   A specified entity does not exist
10977//
10978//   * InternalServiceException
10979//   An internal service error occurred.
10980//
10981//   * OperationTimeoutException
10982//   The operation timed out.
10983//
10984//   * ResourceNumberLimitExceededException
10985//   A resource numerical limit was exceeded.
10986//
10987//   * ConcurrentRunsExceededException
10988//   Too many jobs are being run concurrently.
10989//
10990// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10991func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) {
10992	req, out := c.StartWorkflowRunRequest(input)
10993	return out, req.Send()
10994}
10995
10996// StartWorkflowRunWithContext is the same as StartWorkflowRun with the addition of
10997// the ability to pass a context and additional request options.
10998//
10999// See StartWorkflowRun for details on how to use this API operation.
11000//
11001// The context must be non-nil and will be used for request cancellation. If
11002// the context is nil a panic will occur. In the future the SDK may create
11003// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11004// for more information on using Contexts.
11005func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflowRunInput, opts ...request.Option) (*StartWorkflowRunOutput, error) {
11006	req, out := c.StartWorkflowRunRequest(input)
11007	req.SetContext(ctx)
11008	req.ApplyOptions(opts...)
11009	return out, req.Send()
11010}
11011
11012const opStopCrawler = "StopCrawler"
11013
11014// StopCrawlerRequest generates a "aws/request.Request" representing the
11015// client's request for the StopCrawler operation. The "output" return
11016// value will be populated with the request's response once the request completes
11017// successfully.
11018//
11019// Use "Send" method on the returned Request to send the API call to the service.
11020// the "output" return value is not valid until after Send returns without error.
11021//
11022// See StopCrawler for more information on using the StopCrawler
11023// API call, and error handling.
11024//
11025// This method is useful when you want to inject custom logic or configuration
11026// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11027//
11028//
11029//    // Example sending a request using the StopCrawlerRequest method.
11030//    req, resp := client.StopCrawlerRequest(params)
11031//
11032//    err := req.Send()
11033//    if err == nil { // resp is now filled
11034//        fmt.Println(resp)
11035//    }
11036//
11037// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
11038func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) {
11039	op := &request.Operation{
11040		Name:       opStopCrawler,
11041		HTTPMethod: "POST",
11042		HTTPPath:   "/",
11043	}
11044
11045	if input == nil {
11046		input = &StopCrawlerInput{}
11047	}
11048
11049	output = &StopCrawlerOutput{}
11050	req = c.newRequest(op, input, output)
11051	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11052	return
11053}
11054
11055// StopCrawler API operation for AWS Glue.
11056//
11057// If the specified crawler is running, stops the crawl.
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 StopCrawler for usage and error information.
11065//
11066// Returned Error Types:
11067//   * EntityNotFoundException
11068//   A specified entity does not exist
11069//
11070//   * CrawlerNotRunningException
11071//   The specified crawler is not running.
11072//
11073//   * CrawlerStoppingException
11074//   The specified crawler is stopping.
11075//
11076//   * OperationTimeoutException
11077//   The operation timed out.
11078//
11079// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
11080func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) {
11081	req, out := c.StopCrawlerRequest(input)
11082	return out, req.Send()
11083}
11084
11085// StopCrawlerWithContext is the same as StopCrawler with the addition of
11086// the ability to pass a context and additional request options.
11087//
11088// See StopCrawler 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) StopCrawlerWithContext(ctx aws.Context, input *StopCrawlerInput, opts ...request.Option) (*StopCrawlerOutput, error) {
11095	req, out := c.StopCrawlerRequest(input)
11096	req.SetContext(ctx)
11097	req.ApplyOptions(opts...)
11098	return out, req.Send()
11099}
11100
11101const opStopCrawlerSchedule = "StopCrawlerSchedule"
11102
11103// StopCrawlerScheduleRequest generates a "aws/request.Request" representing the
11104// client's request for the StopCrawlerSchedule operation. The "output" return
11105// value will be populated with the request's response once the request completes
11106// successfully.
11107//
11108// Use "Send" method on the returned Request to send the API call to the service.
11109// the "output" return value is not valid until after Send returns without error.
11110//
11111// See StopCrawlerSchedule for more information on using the StopCrawlerSchedule
11112// API call, and error handling.
11113//
11114// This method is useful when you want to inject custom logic or configuration
11115// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11116//
11117//
11118//    // Example sending a request using the StopCrawlerScheduleRequest method.
11119//    req, resp := client.StopCrawlerScheduleRequest(params)
11120//
11121//    err := req.Send()
11122//    if err == nil { // resp is now filled
11123//        fmt.Println(resp)
11124//    }
11125//
11126// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
11127func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) {
11128	op := &request.Operation{
11129		Name:       opStopCrawlerSchedule,
11130		HTTPMethod: "POST",
11131		HTTPPath:   "/",
11132	}
11133
11134	if input == nil {
11135		input = &StopCrawlerScheduleInput{}
11136	}
11137
11138	output = &StopCrawlerScheduleOutput{}
11139	req = c.newRequest(op, input, output)
11140	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11141	return
11142}
11143
11144// StopCrawlerSchedule API operation for AWS Glue.
11145//
11146// Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does
11147// not stop the crawler if it is already running.
11148//
11149// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11150// with awserr.Error's Code and Message methods to get detailed information about
11151// the error.
11152//
11153// See the AWS API reference guide for AWS Glue's
11154// API operation StopCrawlerSchedule for usage and error information.
11155//
11156// Returned Error Types:
11157//   * EntityNotFoundException
11158//   A specified entity does not exist
11159//
11160//   * SchedulerNotRunningException
11161//   The specified scheduler is not running.
11162//
11163//   * SchedulerTransitioningException
11164//   The specified scheduler is transitioning.
11165//
11166//   * OperationTimeoutException
11167//   The operation timed out.
11168//
11169// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
11170func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) {
11171	req, out := c.StopCrawlerScheduleRequest(input)
11172	return out, req.Send()
11173}
11174
11175// StopCrawlerScheduleWithContext is the same as StopCrawlerSchedule with the addition of
11176// the ability to pass a context and additional request options.
11177//
11178// See StopCrawlerSchedule for details on how to use this API operation.
11179//
11180// The context must be non-nil and will be used for request cancellation. If
11181// the context is nil a panic will occur. In the future the SDK may create
11182// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11183// for more information on using Contexts.
11184func (c *Glue) StopCrawlerScheduleWithContext(ctx aws.Context, input *StopCrawlerScheduleInput, opts ...request.Option) (*StopCrawlerScheduleOutput, error) {
11185	req, out := c.StopCrawlerScheduleRequest(input)
11186	req.SetContext(ctx)
11187	req.ApplyOptions(opts...)
11188	return out, req.Send()
11189}
11190
11191const opStopTrigger = "StopTrigger"
11192
11193// StopTriggerRequest generates a "aws/request.Request" representing the
11194// client's request for the StopTrigger operation. The "output" return
11195// value will be populated with the request's response once the request completes
11196// successfully.
11197//
11198// Use "Send" method on the returned Request to send the API call to the service.
11199// the "output" return value is not valid until after Send returns without error.
11200//
11201// See StopTrigger for more information on using the StopTrigger
11202// API call, and error handling.
11203//
11204// This method is useful when you want to inject custom logic or configuration
11205// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11206//
11207//
11208//    // Example sending a request using the StopTriggerRequest method.
11209//    req, resp := client.StopTriggerRequest(params)
11210//
11211//    err := req.Send()
11212//    if err == nil { // resp is now filled
11213//        fmt.Println(resp)
11214//    }
11215//
11216// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11217func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) {
11218	op := &request.Operation{
11219		Name:       opStopTrigger,
11220		HTTPMethod: "POST",
11221		HTTPPath:   "/",
11222	}
11223
11224	if input == nil {
11225		input = &StopTriggerInput{}
11226	}
11227
11228	output = &StopTriggerOutput{}
11229	req = c.newRequest(op, input, output)
11230	return
11231}
11232
11233// StopTrigger API operation for AWS Glue.
11234//
11235// Stops a specified trigger.
11236//
11237// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11238// with awserr.Error's Code and Message methods to get detailed information about
11239// the error.
11240//
11241// See the AWS API reference guide for AWS Glue's
11242// API operation StopTrigger for usage and error information.
11243//
11244// Returned Error Types:
11245//   * InvalidInputException
11246//   The input provided was not valid.
11247//
11248//   * InternalServiceException
11249//   An internal service error occurred.
11250//
11251//   * EntityNotFoundException
11252//   A specified entity does not exist
11253//
11254//   * OperationTimeoutException
11255//   The operation timed out.
11256//
11257//   * ConcurrentModificationException
11258//   Two processes are trying to modify a resource simultaneously.
11259//
11260// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11261func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) {
11262	req, out := c.StopTriggerRequest(input)
11263	return out, req.Send()
11264}
11265
11266// StopTriggerWithContext is the same as StopTrigger with the addition of
11267// the ability to pass a context and additional request options.
11268//
11269// See StopTrigger for details on how to use this API operation.
11270//
11271// The context must be non-nil and will be used for request cancellation. If
11272// the context is nil a panic will occur. In the future the SDK may create
11273// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11274// for more information on using Contexts.
11275func (c *Glue) StopTriggerWithContext(ctx aws.Context, input *StopTriggerInput, opts ...request.Option) (*StopTriggerOutput, error) {
11276	req, out := c.StopTriggerRequest(input)
11277	req.SetContext(ctx)
11278	req.ApplyOptions(opts...)
11279	return out, req.Send()
11280}
11281
11282const opTagResource = "TagResource"
11283
11284// TagResourceRequest generates a "aws/request.Request" representing the
11285// client's request for the TagResource operation. The "output" return
11286// value will be populated with the request's response once the request completes
11287// successfully.
11288//
11289// Use "Send" method on the returned Request to send the API call to the service.
11290// the "output" return value is not valid until after Send returns without error.
11291//
11292// See TagResource for more information on using the TagResource
11293// API call, and error handling.
11294//
11295// This method is useful when you want to inject custom logic or configuration
11296// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11297//
11298//
11299//    // Example sending a request using the TagResourceRequest method.
11300//    req, resp := client.TagResourceRequest(params)
11301//
11302//    err := req.Send()
11303//    if err == nil { // resp is now filled
11304//        fmt.Println(resp)
11305//    }
11306//
11307// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11308func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
11309	op := &request.Operation{
11310		Name:       opTagResource,
11311		HTTPMethod: "POST",
11312		HTTPPath:   "/",
11313	}
11314
11315	if input == nil {
11316		input = &TagResourceInput{}
11317	}
11318
11319	output = &TagResourceOutput{}
11320	req = c.newRequest(op, input, output)
11321	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11322	return
11323}
11324
11325// TagResource API operation for AWS Glue.
11326//
11327// Adds tags to a resource. A tag is a label you can assign to an AWS resource.
11328// In AWS Glue, you can tag only certain resources. For information about what
11329// resources you can tag, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
11330//
11331// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11332// with awserr.Error's Code and Message methods to get detailed information about
11333// the error.
11334//
11335// See the AWS API reference guide for AWS Glue's
11336// API operation TagResource for usage and error information.
11337//
11338// Returned Error Types:
11339//   * InvalidInputException
11340//   The input provided was not valid.
11341//
11342//   * InternalServiceException
11343//   An internal service error occurred.
11344//
11345//   * OperationTimeoutException
11346//   The operation timed out.
11347//
11348//   * EntityNotFoundException
11349//   A specified entity does not exist
11350//
11351// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11352func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
11353	req, out := c.TagResourceRequest(input)
11354	return out, req.Send()
11355}
11356
11357// TagResourceWithContext is the same as TagResource with the addition of
11358// the ability to pass a context and additional request options.
11359//
11360// See TagResource for details on how to use this API operation.
11361//
11362// The context must be non-nil and will be used for request cancellation. If
11363// the context is nil a panic will occur. In the future the SDK may create
11364// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11365// for more information on using Contexts.
11366func (c *Glue) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
11367	req, out := c.TagResourceRequest(input)
11368	req.SetContext(ctx)
11369	req.ApplyOptions(opts...)
11370	return out, req.Send()
11371}
11372
11373const opUntagResource = "UntagResource"
11374
11375// UntagResourceRequest generates a "aws/request.Request" representing the
11376// client's request for the UntagResource operation. The "output" return
11377// value will be populated with the request's response once the request completes
11378// successfully.
11379//
11380// Use "Send" method on the returned Request to send the API call to the service.
11381// the "output" return value is not valid until after Send returns without error.
11382//
11383// See UntagResource for more information on using the UntagResource
11384// API call, and error handling.
11385//
11386// This method is useful when you want to inject custom logic or configuration
11387// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11388//
11389//
11390//    // Example sending a request using the UntagResourceRequest method.
11391//    req, resp := client.UntagResourceRequest(params)
11392//
11393//    err := req.Send()
11394//    if err == nil { // resp is now filled
11395//        fmt.Println(resp)
11396//    }
11397//
11398// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11399func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
11400	op := &request.Operation{
11401		Name:       opUntagResource,
11402		HTTPMethod: "POST",
11403		HTTPPath:   "/",
11404	}
11405
11406	if input == nil {
11407		input = &UntagResourceInput{}
11408	}
11409
11410	output = &UntagResourceOutput{}
11411	req = c.newRequest(op, input, output)
11412	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11413	return
11414}
11415
11416// UntagResource API operation for AWS Glue.
11417//
11418// Removes tags from a resource.
11419//
11420// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11421// with awserr.Error's Code and Message methods to get detailed information about
11422// the error.
11423//
11424// See the AWS API reference guide for AWS Glue's
11425// API operation UntagResource for usage and error information.
11426//
11427// Returned Error Types:
11428//   * InvalidInputException
11429//   The input provided was not valid.
11430//
11431//   * InternalServiceException
11432//   An internal service error occurred.
11433//
11434//   * OperationTimeoutException
11435//   The operation timed out.
11436//
11437//   * EntityNotFoundException
11438//   A specified entity does not exist
11439//
11440// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11441func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
11442	req, out := c.UntagResourceRequest(input)
11443	return out, req.Send()
11444}
11445
11446// UntagResourceWithContext is the same as UntagResource with the addition of
11447// the ability to pass a context and additional request options.
11448//
11449// See UntagResource for details on how to use this API operation.
11450//
11451// The context must be non-nil and will be used for request cancellation. If
11452// the context is nil a panic will occur. In the future the SDK may create
11453// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11454// for more information on using Contexts.
11455func (c *Glue) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
11456	req, out := c.UntagResourceRequest(input)
11457	req.SetContext(ctx)
11458	req.ApplyOptions(opts...)
11459	return out, req.Send()
11460}
11461
11462const opUpdateClassifier = "UpdateClassifier"
11463
11464// UpdateClassifierRequest generates a "aws/request.Request" representing the
11465// client's request for the UpdateClassifier operation. The "output" return
11466// value will be populated with the request's response once the request completes
11467// successfully.
11468//
11469// Use "Send" method on the returned Request to send the API call to the service.
11470// the "output" return value is not valid until after Send returns without error.
11471//
11472// See UpdateClassifier for more information on using the UpdateClassifier
11473// API call, and error handling.
11474//
11475// This method is useful when you want to inject custom logic or configuration
11476// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11477//
11478//
11479//    // Example sending a request using the UpdateClassifierRequest method.
11480//    req, resp := client.UpdateClassifierRequest(params)
11481//
11482//    err := req.Send()
11483//    if err == nil { // resp is now filled
11484//        fmt.Println(resp)
11485//    }
11486//
11487// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11488func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) {
11489	op := &request.Operation{
11490		Name:       opUpdateClassifier,
11491		HTTPMethod: "POST",
11492		HTTPPath:   "/",
11493	}
11494
11495	if input == nil {
11496		input = &UpdateClassifierInput{}
11497	}
11498
11499	output = &UpdateClassifierOutput{}
11500	req = c.newRequest(op, input, output)
11501	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11502	return
11503}
11504
11505// UpdateClassifier API operation for AWS Glue.
11506//
11507// Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier,
11508// or a CsvClassifier, depending on which field is present).
11509//
11510// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11511// with awserr.Error's Code and Message methods to get detailed information about
11512// the error.
11513//
11514// See the AWS API reference guide for AWS Glue's
11515// API operation UpdateClassifier for usage and error information.
11516//
11517// Returned Error Types:
11518//   * InvalidInputException
11519//   The input provided was not valid.
11520//
11521//   * VersionMismatchException
11522//   There was a version conflict.
11523//
11524//   * EntityNotFoundException
11525//   A specified entity does not exist
11526//
11527//   * OperationTimeoutException
11528//   The operation timed out.
11529//
11530// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11531func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) {
11532	req, out := c.UpdateClassifierRequest(input)
11533	return out, req.Send()
11534}
11535
11536// UpdateClassifierWithContext is the same as UpdateClassifier with the addition of
11537// the ability to pass a context and additional request options.
11538//
11539// See UpdateClassifier for details on how to use this API operation.
11540//
11541// The context must be non-nil and will be used for request cancellation. If
11542// the context is nil a panic will occur. In the future the SDK may create
11543// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11544// for more information on using Contexts.
11545func (c *Glue) UpdateClassifierWithContext(ctx aws.Context, input *UpdateClassifierInput, opts ...request.Option) (*UpdateClassifierOutput, error) {
11546	req, out := c.UpdateClassifierRequest(input)
11547	req.SetContext(ctx)
11548	req.ApplyOptions(opts...)
11549	return out, req.Send()
11550}
11551
11552const opUpdateConnection = "UpdateConnection"
11553
11554// UpdateConnectionRequest generates a "aws/request.Request" representing the
11555// client's request for the UpdateConnection operation. The "output" return
11556// value will be populated with the request's response once the request completes
11557// successfully.
11558//
11559// Use "Send" method on the returned Request to send the API call to the service.
11560// the "output" return value is not valid until after Send returns without error.
11561//
11562// See UpdateConnection for more information on using the UpdateConnection
11563// API call, and error handling.
11564//
11565// This method is useful when you want to inject custom logic or configuration
11566// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11567//
11568//
11569//    // Example sending a request using the UpdateConnectionRequest method.
11570//    req, resp := client.UpdateConnectionRequest(params)
11571//
11572//    err := req.Send()
11573//    if err == nil { // resp is now filled
11574//        fmt.Println(resp)
11575//    }
11576//
11577// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11578func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) {
11579	op := &request.Operation{
11580		Name:       opUpdateConnection,
11581		HTTPMethod: "POST",
11582		HTTPPath:   "/",
11583	}
11584
11585	if input == nil {
11586		input = &UpdateConnectionInput{}
11587	}
11588
11589	output = &UpdateConnectionOutput{}
11590	req = c.newRequest(op, input, output)
11591	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11592	return
11593}
11594
11595// UpdateConnection API operation for AWS Glue.
11596//
11597// Updates a connection definition in the Data Catalog.
11598//
11599// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11600// with awserr.Error's Code and Message methods to get detailed information about
11601// the error.
11602//
11603// See the AWS API reference guide for AWS Glue's
11604// API operation UpdateConnection for usage and error information.
11605//
11606// Returned Error Types:
11607//   * InvalidInputException
11608//   The input provided was not valid.
11609//
11610//   * EntityNotFoundException
11611//   A specified entity does not exist
11612//
11613//   * OperationTimeoutException
11614//   The operation timed out.
11615//
11616//   * InvalidInputException
11617//   The input provided was not valid.
11618//
11619//   * EncryptionException
11620//   An encryption operation failed.
11621//
11622// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11623func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) {
11624	req, out := c.UpdateConnectionRequest(input)
11625	return out, req.Send()
11626}
11627
11628// UpdateConnectionWithContext is the same as UpdateConnection with the addition of
11629// the ability to pass a context and additional request options.
11630//
11631// See UpdateConnection for details on how to use this API operation.
11632//
11633// The context must be non-nil and will be used for request cancellation. If
11634// the context is nil a panic will occur. In the future the SDK may create
11635// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11636// for more information on using Contexts.
11637func (c *Glue) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) {
11638	req, out := c.UpdateConnectionRequest(input)
11639	req.SetContext(ctx)
11640	req.ApplyOptions(opts...)
11641	return out, req.Send()
11642}
11643
11644const opUpdateCrawler = "UpdateCrawler"
11645
11646// UpdateCrawlerRequest generates a "aws/request.Request" representing the
11647// client's request for the UpdateCrawler operation. The "output" return
11648// value will be populated with the request's response once the request completes
11649// successfully.
11650//
11651// Use "Send" method on the returned Request to send the API call to the service.
11652// the "output" return value is not valid until after Send returns without error.
11653//
11654// See UpdateCrawler for more information on using the UpdateCrawler
11655// API call, and error handling.
11656//
11657// This method is useful when you want to inject custom logic or configuration
11658// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11659//
11660//
11661//    // Example sending a request using the UpdateCrawlerRequest method.
11662//    req, resp := client.UpdateCrawlerRequest(params)
11663//
11664//    err := req.Send()
11665//    if err == nil { // resp is now filled
11666//        fmt.Println(resp)
11667//    }
11668//
11669// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11670func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) {
11671	op := &request.Operation{
11672		Name:       opUpdateCrawler,
11673		HTTPMethod: "POST",
11674		HTTPPath:   "/",
11675	}
11676
11677	if input == nil {
11678		input = &UpdateCrawlerInput{}
11679	}
11680
11681	output = &UpdateCrawlerOutput{}
11682	req = c.newRequest(op, input, output)
11683	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11684	return
11685}
11686
11687// UpdateCrawler API operation for AWS Glue.
11688//
11689// Updates a crawler. If a crawler is running, you must stop it using StopCrawler
11690// before updating it.
11691//
11692// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11693// with awserr.Error's Code and Message methods to get detailed information about
11694// the error.
11695//
11696// See the AWS API reference guide for AWS Glue's
11697// API operation UpdateCrawler for usage and error information.
11698//
11699// Returned Error Types:
11700//   * InvalidInputException
11701//   The input provided was not valid.
11702//
11703//   * VersionMismatchException
11704//   There was a version conflict.
11705//
11706//   * EntityNotFoundException
11707//   A specified entity does not exist
11708//
11709//   * CrawlerRunningException
11710//   The operation cannot be performed because the crawler is already running.
11711//
11712//   * OperationTimeoutException
11713//   The operation timed out.
11714//
11715// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11716func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) {
11717	req, out := c.UpdateCrawlerRequest(input)
11718	return out, req.Send()
11719}
11720
11721// UpdateCrawlerWithContext is the same as UpdateCrawler with the addition of
11722// the ability to pass a context and additional request options.
11723//
11724// See UpdateCrawler for details on how to use this API operation.
11725//
11726// The context must be non-nil and will be used for request cancellation. If
11727// the context is nil a panic will occur. In the future the SDK may create
11728// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11729// for more information on using Contexts.
11730func (c *Glue) UpdateCrawlerWithContext(ctx aws.Context, input *UpdateCrawlerInput, opts ...request.Option) (*UpdateCrawlerOutput, error) {
11731	req, out := c.UpdateCrawlerRequest(input)
11732	req.SetContext(ctx)
11733	req.ApplyOptions(opts...)
11734	return out, req.Send()
11735}
11736
11737const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule"
11738
11739// UpdateCrawlerScheduleRequest generates a "aws/request.Request" representing the
11740// client's request for the UpdateCrawlerSchedule operation. The "output" return
11741// value will be populated with the request's response once the request completes
11742// successfully.
11743//
11744// Use "Send" method on the returned Request to send the API call to the service.
11745// the "output" return value is not valid until after Send returns without error.
11746//
11747// See UpdateCrawlerSchedule for more information on using the UpdateCrawlerSchedule
11748// API call, and error handling.
11749//
11750// This method is useful when you want to inject custom logic or configuration
11751// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11752//
11753//
11754//    // Example sending a request using the UpdateCrawlerScheduleRequest method.
11755//    req, resp := client.UpdateCrawlerScheduleRequest(params)
11756//
11757//    err := req.Send()
11758//    if err == nil { // resp is now filled
11759//        fmt.Println(resp)
11760//    }
11761//
11762// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11763func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) {
11764	op := &request.Operation{
11765		Name:       opUpdateCrawlerSchedule,
11766		HTTPMethod: "POST",
11767		HTTPPath:   "/",
11768	}
11769
11770	if input == nil {
11771		input = &UpdateCrawlerScheduleInput{}
11772	}
11773
11774	output = &UpdateCrawlerScheduleOutput{}
11775	req = c.newRequest(op, input, output)
11776	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11777	return
11778}
11779
11780// UpdateCrawlerSchedule API operation for AWS Glue.
11781//
11782// Updates the schedule of a crawler using a cron expression.
11783//
11784// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11785// with awserr.Error's Code and Message methods to get detailed information about
11786// the error.
11787//
11788// See the AWS API reference guide for AWS Glue's
11789// API operation UpdateCrawlerSchedule for usage and error information.
11790//
11791// Returned Error Types:
11792//   * EntityNotFoundException
11793//   A specified entity does not exist
11794//
11795//   * InvalidInputException
11796//   The input provided was not valid.
11797//
11798//   * VersionMismatchException
11799//   There was a version conflict.
11800//
11801//   * SchedulerTransitioningException
11802//   The specified scheduler is transitioning.
11803//
11804//   * OperationTimeoutException
11805//   The operation timed out.
11806//
11807// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11808func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) {
11809	req, out := c.UpdateCrawlerScheduleRequest(input)
11810	return out, req.Send()
11811}
11812
11813// UpdateCrawlerScheduleWithContext is the same as UpdateCrawlerSchedule with the addition of
11814// the ability to pass a context and additional request options.
11815//
11816// See UpdateCrawlerSchedule for details on how to use this API operation.
11817//
11818// The context must be non-nil and will be used for request cancellation. If
11819// the context is nil a panic will occur. In the future the SDK may create
11820// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11821// for more information on using Contexts.
11822func (c *Glue) UpdateCrawlerScheduleWithContext(ctx aws.Context, input *UpdateCrawlerScheduleInput, opts ...request.Option) (*UpdateCrawlerScheduleOutput, error) {
11823	req, out := c.UpdateCrawlerScheduleRequest(input)
11824	req.SetContext(ctx)
11825	req.ApplyOptions(opts...)
11826	return out, req.Send()
11827}
11828
11829const opUpdateDatabase = "UpdateDatabase"
11830
11831// UpdateDatabaseRequest generates a "aws/request.Request" representing the
11832// client's request for the UpdateDatabase operation. The "output" return
11833// value will be populated with the request's response once the request completes
11834// successfully.
11835//
11836// Use "Send" method on the returned Request to send the API call to the service.
11837// the "output" return value is not valid until after Send returns without error.
11838//
11839// See UpdateDatabase for more information on using the UpdateDatabase
11840// API call, and error handling.
11841//
11842// This method is useful when you want to inject custom logic or configuration
11843// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11844//
11845//
11846//    // Example sending a request using the UpdateDatabaseRequest method.
11847//    req, resp := client.UpdateDatabaseRequest(params)
11848//
11849//    err := req.Send()
11850//    if err == nil { // resp is now filled
11851//        fmt.Println(resp)
11852//    }
11853//
11854// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11855func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) {
11856	op := &request.Operation{
11857		Name:       opUpdateDatabase,
11858		HTTPMethod: "POST",
11859		HTTPPath:   "/",
11860	}
11861
11862	if input == nil {
11863		input = &UpdateDatabaseInput{}
11864	}
11865
11866	output = &UpdateDatabaseOutput{}
11867	req = c.newRequest(op, input, output)
11868	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11869	return
11870}
11871
11872// UpdateDatabase API operation for AWS Glue.
11873//
11874// Updates an existing database definition in a Data Catalog.
11875//
11876// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11877// with awserr.Error's Code and Message methods to get detailed information about
11878// the error.
11879//
11880// See the AWS API reference guide for AWS Glue's
11881// API operation UpdateDatabase for usage and error information.
11882//
11883// Returned Error Types:
11884//   * EntityNotFoundException
11885//   A specified entity does not exist
11886//
11887//   * InvalidInputException
11888//   The input provided was not valid.
11889//
11890//   * InternalServiceException
11891//   An internal service error occurred.
11892//
11893//   * OperationTimeoutException
11894//   The operation timed out.
11895//
11896//   * EncryptionException
11897//   An encryption operation failed.
11898//
11899// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11900func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) {
11901	req, out := c.UpdateDatabaseRequest(input)
11902	return out, req.Send()
11903}
11904
11905// UpdateDatabaseWithContext is the same as UpdateDatabase with the addition of
11906// the ability to pass a context and additional request options.
11907//
11908// See UpdateDatabase for details on how to use this API operation.
11909//
11910// The context must be non-nil and will be used for request cancellation. If
11911// the context is nil a panic will occur. In the future the SDK may create
11912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11913// for more information on using Contexts.
11914func (c *Glue) UpdateDatabaseWithContext(ctx aws.Context, input *UpdateDatabaseInput, opts ...request.Option) (*UpdateDatabaseOutput, error) {
11915	req, out := c.UpdateDatabaseRequest(input)
11916	req.SetContext(ctx)
11917	req.ApplyOptions(opts...)
11918	return out, req.Send()
11919}
11920
11921const opUpdateDevEndpoint = "UpdateDevEndpoint"
11922
11923// UpdateDevEndpointRequest generates a "aws/request.Request" representing the
11924// client's request for the UpdateDevEndpoint operation. The "output" return
11925// value will be populated with the request's response once the request completes
11926// successfully.
11927//
11928// Use "Send" method on the returned Request to send the API call to the service.
11929// the "output" return value is not valid until after Send returns without error.
11930//
11931// See UpdateDevEndpoint for more information on using the UpdateDevEndpoint
11932// API call, and error handling.
11933//
11934// This method is useful when you want to inject custom logic or configuration
11935// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11936//
11937//
11938//    // Example sending a request using the UpdateDevEndpointRequest method.
11939//    req, resp := client.UpdateDevEndpointRequest(params)
11940//
11941//    err := req.Send()
11942//    if err == nil { // resp is now filled
11943//        fmt.Println(resp)
11944//    }
11945//
11946// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11947func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) {
11948	op := &request.Operation{
11949		Name:       opUpdateDevEndpoint,
11950		HTTPMethod: "POST",
11951		HTTPPath:   "/",
11952	}
11953
11954	if input == nil {
11955		input = &UpdateDevEndpointInput{}
11956	}
11957
11958	output = &UpdateDevEndpointOutput{}
11959	req = c.newRequest(op, input, output)
11960	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11961	return
11962}
11963
11964// UpdateDevEndpoint API operation for AWS Glue.
11965//
11966// Updates a specified development endpoint.
11967//
11968// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11969// with awserr.Error's Code and Message methods to get detailed information about
11970// the error.
11971//
11972// See the AWS API reference guide for AWS Glue's
11973// API operation UpdateDevEndpoint for usage and error information.
11974//
11975// Returned Error Types:
11976//   * EntityNotFoundException
11977//   A specified entity does not exist
11978//
11979//   * InternalServiceException
11980//   An internal service error occurred.
11981//
11982//   * OperationTimeoutException
11983//   The operation timed out.
11984//
11985//   * InvalidInputException
11986//   The input provided was not valid.
11987//
11988//   * ValidationException
11989//   A value could not be validated.
11990//
11991// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11992func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) {
11993	req, out := c.UpdateDevEndpointRequest(input)
11994	return out, req.Send()
11995}
11996
11997// UpdateDevEndpointWithContext is the same as UpdateDevEndpoint with the addition of
11998// the ability to pass a context and additional request options.
11999//
12000// See UpdateDevEndpoint for details on how to use this API operation.
12001//
12002// The context must be non-nil and will be used for request cancellation. If
12003// the context is nil a panic will occur. In the future the SDK may create
12004// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12005// for more information on using Contexts.
12006func (c *Glue) UpdateDevEndpointWithContext(ctx aws.Context, input *UpdateDevEndpointInput, opts ...request.Option) (*UpdateDevEndpointOutput, error) {
12007	req, out := c.UpdateDevEndpointRequest(input)
12008	req.SetContext(ctx)
12009	req.ApplyOptions(opts...)
12010	return out, req.Send()
12011}
12012
12013const opUpdateJob = "UpdateJob"
12014
12015// UpdateJobRequest generates a "aws/request.Request" representing the
12016// client's request for the UpdateJob operation. The "output" return
12017// value will be populated with the request's response once the request completes
12018// successfully.
12019//
12020// Use "Send" method on the returned Request to send the API call to the service.
12021// the "output" return value is not valid until after Send returns without error.
12022//
12023// See UpdateJob for more information on using the UpdateJob
12024// API call, and error handling.
12025//
12026// This method is useful when you want to inject custom logic or configuration
12027// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12028//
12029//
12030//    // Example sending a request using the UpdateJobRequest method.
12031//    req, resp := client.UpdateJobRequest(params)
12032//
12033//    err := req.Send()
12034//    if err == nil { // resp is now filled
12035//        fmt.Println(resp)
12036//    }
12037//
12038// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
12039func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) {
12040	op := &request.Operation{
12041		Name:       opUpdateJob,
12042		HTTPMethod: "POST",
12043		HTTPPath:   "/",
12044	}
12045
12046	if input == nil {
12047		input = &UpdateJobInput{}
12048	}
12049
12050	output = &UpdateJobOutput{}
12051	req = c.newRequest(op, input, output)
12052	return
12053}
12054
12055// UpdateJob API operation for AWS Glue.
12056//
12057// Updates an existing job definition.
12058//
12059// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12060// with awserr.Error's Code and Message methods to get detailed information about
12061// the error.
12062//
12063// See the AWS API reference guide for AWS Glue's
12064// API operation UpdateJob for usage and error information.
12065//
12066// Returned Error Types:
12067//   * InvalidInputException
12068//   The input provided was not valid.
12069//
12070//   * EntityNotFoundException
12071//   A specified entity does not exist
12072//
12073//   * InternalServiceException
12074//   An internal service error occurred.
12075//
12076//   * OperationTimeoutException
12077//   The operation timed out.
12078//
12079//   * ConcurrentModificationException
12080//   Two processes are trying to modify a resource simultaneously.
12081//
12082// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
12083func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) {
12084	req, out := c.UpdateJobRequest(input)
12085	return out, req.Send()
12086}
12087
12088// UpdateJobWithContext is the same as UpdateJob with the addition of
12089// the ability to pass a context and additional request options.
12090//
12091// See UpdateJob for details on how to use this API operation.
12092//
12093// The context must be non-nil and will be used for request cancellation. If
12094// the context is nil a panic will occur. In the future the SDK may create
12095// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12096// for more information on using Contexts.
12097func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts ...request.Option) (*UpdateJobOutput, error) {
12098	req, out := c.UpdateJobRequest(input)
12099	req.SetContext(ctx)
12100	req.ApplyOptions(opts...)
12101	return out, req.Send()
12102}
12103
12104const opUpdateMLTransform = "UpdateMLTransform"
12105
12106// UpdateMLTransformRequest generates a "aws/request.Request" representing the
12107// client's request for the UpdateMLTransform operation. The "output" return
12108// value will be populated with the request's response once the request completes
12109// successfully.
12110//
12111// Use "Send" method on the returned Request to send the API call to the service.
12112// the "output" return value is not valid until after Send returns without error.
12113//
12114// See UpdateMLTransform for more information on using the UpdateMLTransform
12115// API call, and error handling.
12116//
12117// This method is useful when you want to inject custom logic or configuration
12118// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12119//
12120//
12121//    // Example sending a request using the UpdateMLTransformRequest method.
12122//    req, resp := client.UpdateMLTransformRequest(params)
12123//
12124//    err := req.Send()
12125//    if err == nil { // resp is now filled
12126//        fmt.Println(resp)
12127//    }
12128//
12129// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
12130func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) {
12131	op := &request.Operation{
12132		Name:       opUpdateMLTransform,
12133		HTTPMethod: "POST",
12134		HTTPPath:   "/",
12135	}
12136
12137	if input == nil {
12138		input = &UpdateMLTransformInput{}
12139	}
12140
12141	output = &UpdateMLTransformOutput{}
12142	req = c.newRequest(op, input, output)
12143	return
12144}
12145
12146// UpdateMLTransform API operation for AWS Glue.
12147//
12148// Updates an existing machine learning transform. Call this operation to tune
12149// the algorithm parameters to achieve better results.
12150//
12151// After calling this operation, you can call the StartMLEvaluationTaskRun operation
12152// to assess how well your new parameters achieved your goals (such as improving
12153// the quality of your machine learning transform, or making it more cost-effective).
12154//
12155// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12156// with awserr.Error's Code and Message methods to get detailed information about
12157// the error.
12158//
12159// See the AWS API reference guide for AWS Glue's
12160// API operation UpdateMLTransform for usage and error information.
12161//
12162// Returned Error Types:
12163//   * EntityNotFoundException
12164//   A specified entity does not exist
12165//
12166//   * InvalidInputException
12167//   The input provided was not valid.
12168//
12169//   * OperationTimeoutException
12170//   The operation timed out.
12171//
12172//   * InternalServiceException
12173//   An internal service error occurred.
12174//
12175//   * AccessDeniedException
12176//   Access to a resource was denied.
12177//
12178// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
12179func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) {
12180	req, out := c.UpdateMLTransformRequest(input)
12181	return out, req.Send()
12182}
12183
12184// UpdateMLTransformWithContext is the same as UpdateMLTransform with the addition of
12185// the ability to pass a context and additional request options.
12186//
12187// See UpdateMLTransform for details on how to use this API operation.
12188//
12189// The context must be non-nil and will be used for request cancellation. If
12190// the context is nil a panic will occur. In the future the SDK may create
12191// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12192// for more information on using Contexts.
12193func (c *Glue) UpdateMLTransformWithContext(ctx aws.Context, input *UpdateMLTransformInput, opts ...request.Option) (*UpdateMLTransformOutput, error) {
12194	req, out := c.UpdateMLTransformRequest(input)
12195	req.SetContext(ctx)
12196	req.ApplyOptions(opts...)
12197	return out, req.Send()
12198}
12199
12200const opUpdatePartition = "UpdatePartition"
12201
12202// UpdatePartitionRequest generates a "aws/request.Request" representing the
12203// client's request for the UpdatePartition operation. The "output" return
12204// value will be populated with the request's response once the request completes
12205// successfully.
12206//
12207// Use "Send" method on the returned Request to send the API call to the service.
12208// the "output" return value is not valid until after Send returns without error.
12209//
12210// See UpdatePartition for more information on using the UpdatePartition
12211// API call, and error handling.
12212//
12213// This method is useful when you want to inject custom logic or configuration
12214// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12215//
12216//
12217//    // Example sending a request using the UpdatePartitionRequest method.
12218//    req, resp := client.UpdatePartitionRequest(params)
12219//
12220//    err := req.Send()
12221//    if err == nil { // resp is now filled
12222//        fmt.Println(resp)
12223//    }
12224//
12225// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12226func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) {
12227	op := &request.Operation{
12228		Name:       opUpdatePartition,
12229		HTTPMethod: "POST",
12230		HTTPPath:   "/",
12231	}
12232
12233	if input == nil {
12234		input = &UpdatePartitionInput{}
12235	}
12236
12237	output = &UpdatePartitionOutput{}
12238	req = c.newRequest(op, input, output)
12239	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12240	return
12241}
12242
12243// UpdatePartition API operation for AWS Glue.
12244//
12245// Updates a partition.
12246//
12247// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12248// with awserr.Error's Code and Message methods to get detailed information about
12249// the error.
12250//
12251// See the AWS API reference guide for AWS Glue's
12252// API operation UpdatePartition for usage and error information.
12253//
12254// Returned Error Types:
12255//   * EntityNotFoundException
12256//   A specified entity does not exist
12257//
12258//   * InvalidInputException
12259//   The input provided was not valid.
12260//
12261//   * InternalServiceException
12262//   An internal service error occurred.
12263//
12264//   * OperationTimeoutException
12265//   The operation timed out.
12266//
12267//   * EncryptionException
12268//   An encryption operation failed.
12269//
12270// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12271func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) {
12272	req, out := c.UpdatePartitionRequest(input)
12273	return out, req.Send()
12274}
12275
12276// UpdatePartitionWithContext is the same as UpdatePartition with the addition of
12277// the ability to pass a context and additional request options.
12278//
12279// See UpdatePartition for details on how to use this API operation.
12280//
12281// The context must be non-nil and will be used for request cancellation. If
12282// the context is nil a panic will occur. In the future the SDK may create
12283// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12284// for more information on using Contexts.
12285func (c *Glue) UpdatePartitionWithContext(ctx aws.Context, input *UpdatePartitionInput, opts ...request.Option) (*UpdatePartitionOutput, error) {
12286	req, out := c.UpdatePartitionRequest(input)
12287	req.SetContext(ctx)
12288	req.ApplyOptions(opts...)
12289	return out, req.Send()
12290}
12291
12292const opUpdateTable = "UpdateTable"
12293
12294// UpdateTableRequest generates a "aws/request.Request" representing the
12295// client's request for the UpdateTable operation. The "output" return
12296// value will be populated with the request's response once the request completes
12297// successfully.
12298//
12299// Use "Send" method on the returned Request to send the API call to the service.
12300// the "output" return value is not valid until after Send returns without error.
12301//
12302// See UpdateTable for more information on using the UpdateTable
12303// API call, and error handling.
12304//
12305// This method is useful when you want to inject custom logic or configuration
12306// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12307//
12308//
12309//    // Example sending a request using the UpdateTableRequest method.
12310//    req, resp := client.UpdateTableRequest(params)
12311//
12312//    err := req.Send()
12313//    if err == nil { // resp is now filled
12314//        fmt.Println(resp)
12315//    }
12316//
12317// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12318func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) {
12319	op := &request.Operation{
12320		Name:       opUpdateTable,
12321		HTTPMethod: "POST",
12322		HTTPPath:   "/",
12323	}
12324
12325	if input == nil {
12326		input = &UpdateTableInput{}
12327	}
12328
12329	output = &UpdateTableOutput{}
12330	req = c.newRequest(op, input, output)
12331	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12332	return
12333}
12334
12335// UpdateTable API operation for AWS Glue.
12336//
12337// Updates a metadata table in the Data Catalog.
12338//
12339// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12340// with awserr.Error's Code and Message methods to get detailed information about
12341// the error.
12342//
12343// See the AWS API reference guide for AWS Glue's
12344// API operation UpdateTable for usage and error information.
12345//
12346// Returned Error Types:
12347//   * EntityNotFoundException
12348//   A specified entity does not exist
12349//
12350//   * InvalidInputException
12351//   The input provided was not valid.
12352//
12353//   * InternalServiceException
12354//   An internal service error occurred.
12355//
12356//   * OperationTimeoutException
12357//   The operation timed out.
12358//
12359//   * ConcurrentModificationException
12360//   Two processes are trying to modify a resource simultaneously.
12361//
12362//   * ResourceNumberLimitExceededException
12363//   A resource numerical limit was exceeded.
12364//
12365//   * EncryptionException
12366//   An encryption operation failed.
12367//
12368// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12369func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) {
12370	req, out := c.UpdateTableRequest(input)
12371	return out, req.Send()
12372}
12373
12374// UpdateTableWithContext is the same as UpdateTable with the addition of
12375// the ability to pass a context and additional request options.
12376//
12377// See UpdateTable for details on how to use this API operation.
12378//
12379// The context must be non-nil and will be used for request cancellation. If
12380// the context is nil a panic will occur. In the future the SDK may create
12381// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12382// for more information on using Contexts.
12383func (c *Glue) UpdateTableWithContext(ctx aws.Context, input *UpdateTableInput, opts ...request.Option) (*UpdateTableOutput, error) {
12384	req, out := c.UpdateTableRequest(input)
12385	req.SetContext(ctx)
12386	req.ApplyOptions(opts...)
12387	return out, req.Send()
12388}
12389
12390const opUpdateTrigger = "UpdateTrigger"
12391
12392// UpdateTriggerRequest generates a "aws/request.Request" representing the
12393// client's request for the UpdateTrigger operation. The "output" return
12394// value will be populated with the request's response once the request completes
12395// successfully.
12396//
12397// Use "Send" method on the returned Request to send the API call to the service.
12398// the "output" return value is not valid until after Send returns without error.
12399//
12400// See UpdateTrigger for more information on using the UpdateTrigger
12401// API call, and error handling.
12402//
12403// This method is useful when you want to inject custom logic or configuration
12404// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12405//
12406//
12407//    // Example sending a request using the UpdateTriggerRequest method.
12408//    req, resp := client.UpdateTriggerRequest(params)
12409//
12410//    err := req.Send()
12411//    if err == nil { // resp is now filled
12412//        fmt.Println(resp)
12413//    }
12414//
12415// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12416func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) {
12417	op := &request.Operation{
12418		Name:       opUpdateTrigger,
12419		HTTPMethod: "POST",
12420		HTTPPath:   "/",
12421	}
12422
12423	if input == nil {
12424		input = &UpdateTriggerInput{}
12425	}
12426
12427	output = &UpdateTriggerOutput{}
12428	req = c.newRequest(op, input, output)
12429	return
12430}
12431
12432// UpdateTrigger API operation for AWS Glue.
12433//
12434// Updates a trigger definition.
12435//
12436// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12437// with awserr.Error's Code and Message methods to get detailed information about
12438// the error.
12439//
12440// See the AWS API reference guide for AWS Glue's
12441// API operation UpdateTrigger for usage and error information.
12442//
12443// Returned Error Types:
12444//   * InvalidInputException
12445//   The input provided was not valid.
12446//
12447//   * InternalServiceException
12448//   An internal service error occurred.
12449//
12450//   * EntityNotFoundException
12451//   A specified entity does not exist
12452//
12453//   * OperationTimeoutException
12454//   The operation timed out.
12455//
12456//   * ConcurrentModificationException
12457//   Two processes are trying to modify a resource simultaneously.
12458//
12459// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12460func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) {
12461	req, out := c.UpdateTriggerRequest(input)
12462	return out, req.Send()
12463}
12464
12465// UpdateTriggerWithContext is the same as UpdateTrigger with the addition of
12466// the ability to pass a context and additional request options.
12467//
12468// See UpdateTrigger for details on how to use this API operation.
12469//
12470// The context must be non-nil and will be used for request cancellation. If
12471// the context is nil a panic will occur. In the future the SDK may create
12472// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12473// for more information on using Contexts.
12474func (c *Glue) UpdateTriggerWithContext(ctx aws.Context, input *UpdateTriggerInput, opts ...request.Option) (*UpdateTriggerOutput, error) {
12475	req, out := c.UpdateTriggerRequest(input)
12476	req.SetContext(ctx)
12477	req.ApplyOptions(opts...)
12478	return out, req.Send()
12479}
12480
12481const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction"
12482
12483// UpdateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
12484// client's request for the UpdateUserDefinedFunction operation. The "output" return
12485// value will be populated with the request's response once the request completes
12486// successfully.
12487//
12488// Use "Send" method on the returned Request to send the API call to the service.
12489// the "output" return value is not valid until after Send returns without error.
12490//
12491// See UpdateUserDefinedFunction for more information on using the UpdateUserDefinedFunction
12492// API call, and error handling.
12493//
12494// This method is useful when you want to inject custom logic or configuration
12495// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12496//
12497//
12498//    // Example sending a request using the UpdateUserDefinedFunctionRequest method.
12499//    req, resp := client.UpdateUserDefinedFunctionRequest(params)
12500//
12501//    err := req.Send()
12502//    if err == nil { // resp is now filled
12503//        fmt.Println(resp)
12504//    }
12505//
12506// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12507func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) {
12508	op := &request.Operation{
12509		Name:       opUpdateUserDefinedFunction,
12510		HTTPMethod: "POST",
12511		HTTPPath:   "/",
12512	}
12513
12514	if input == nil {
12515		input = &UpdateUserDefinedFunctionInput{}
12516	}
12517
12518	output = &UpdateUserDefinedFunctionOutput{}
12519	req = c.newRequest(op, input, output)
12520	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12521	return
12522}
12523
12524// UpdateUserDefinedFunction API operation for AWS Glue.
12525//
12526// Updates an existing function definition in the Data Catalog.
12527//
12528// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12529// with awserr.Error's Code and Message methods to get detailed information about
12530// the error.
12531//
12532// See the AWS API reference guide for AWS Glue's
12533// API operation UpdateUserDefinedFunction for usage and error information.
12534//
12535// Returned Error Types:
12536//   * EntityNotFoundException
12537//   A specified entity does not exist
12538//
12539//   * InvalidInputException
12540//   The input provided was not valid.
12541//
12542//   * InternalServiceException
12543//   An internal service error occurred.
12544//
12545//   * OperationTimeoutException
12546//   The operation timed out.
12547//
12548//   * EncryptionException
12549//   An encryption operation failed.
12550//
12551// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12552func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) {
12553	req, out := c.UpdateUserDefinedFunctionRequest(input)
12554	return out, req.Send()
12555}
12556
12557// UpdateUserDefinedFunctionWithContext is the same as UpdateUserDefinedFunction with the addition of
12558// the ability to pass a context and additional request options.
12559//
12560// See UpdateUserDefinedFunction for details on how to use this API operation.
12561//
12562// The context must be non-nil and will be used for request cancellation. If
12563// the context is nil a panic will occur. In the future the SDK may create
12564// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12565// for more information on using Contexts.
12566func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *UpdateUserDefinedFunctionInput, opts ...request.Option) (*UpdateUserDefinedFunctionOutput, error) {
12567	req, out := c.UpdateUserDefinedFunctionRequest(input)
12568	req.SetContext(ctx)
12569	req.ApplyOptions(opts...)
12570	return out, req.Send()
12571}
12572
12573const opUpdateWorkflow = "UpdateWorkflow"
12574
12575// UpdateWorkflowRequest generates a "aws/request.Request" representing the
12576// client's request for the UpdateWorkflow operation. The "output" return
12577// value will be populated with the request's response once the request completes
12578// successfully.
12579//
12580// Use "Send" method on the returned Request to send the API call to the service.
12581// the "output" return value is not valid until after Send returns without error.
12582//
12583// See UpdateWorkflow for more information on using the UpdateWorkflow
12584// API call, and error handling.
12585//
12586// This method is useful when you want to inject custom logic or configuration
12587// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12588//
12589//
12590//    // Example sending a request using the UpdateWorkflowRequest method.
12591//    req, resp := client.UpdateWorkflowRequest(params)
12592//
12593//    err := req.Send()
12594//    if err == nil { // resp is now filled
12595//        fmt.Println(resp)
12596//    }
12597//
12598// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12599func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) {
12600	op := &request.Operation{
12601		Name:       opUpdateWorkflow,
12602		HTTPMethod: "POST",
12603		HTTPPath:   "/",
12604	}
12605
12606	if input == nil {
12607		input = &UpdateWorkflowInput{}
12608	}
12609
12610	output = &UpdateWorkflowOutput{}
12611	req = c.newRequest(op, input, output)
12612	return
12613}
12614
12615// UpdateWorkflow API operation for AWS Glue.
12616//
12617// Updates an existing workflow.
12618//
12619// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12620// with awserr.Error's Code and Message methods to get detailed information about
12621// the error.
12622//
12623// See the AWS API reference guide for AWS Glue's
12624// API operation UpdateWorkflow for usage and error information.
12625//
12626// Returned Error Types:
12627//   * InvalidInputException
12628//   The input provided was not valid.
12629//
12630//   * EntityNotFoundException
12631//   A specified entity does not exist
12632//
12633//   * InternalServiceException
12634//   An internal service error occurred.
12635//
12636//   * OperationTimeoutException
12637//   The operation timed out.
12638//
12639//   * ConcurrentModificationException
12640//   Two processes are trying to modify a resource simultaneously.
12641//
12642// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12643func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) {
12644	req, out := c.UpdateWorkflowRequest(input)
12645	return out, req.Send()
12646}
12647
12648// UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of
12649// the ability to pass a context and additional request options.
12650//
12651// See UpdateWorkflow for details on how to use this API operation.
12652//
12653// The context must be non-nil and will be used for request cancellation. If
12654// the context is nil a panic will occur. In the future the SDK may create
12655// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12656// for more information on using Contexts.
12657func (c *Glue) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) {
12658	req, out := c.UpdateWorkflowRequest(input)
12659	req.SetContext(ctx)
12660	req.ApplyOptions(opts...)
12661	return out, req.Send()
12662}
12663
12664// Access to a resource was denied.
12665type AccessDeniedException struct {
12666	_            struct{} `type:"structure"`
12667	respMetadata protocol.ResponseMetadata
12668
12669	// A message describing the problem.
12670	Message_ *string `locationName:"Message" type:"string"`
12671}
12672
12673// String returns the string representation
12674func (s AccessDeniedException) String() string {
12675	return awsutil.Prettify(s)
12676}
12677
12678// GoString returns the string representation
12679func (s AccessDeniedException) GoString() string {
12680	return s.String()
12681}
12682
12683func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
12684	return &AccessDeniedException{
12685		respMetadata: v,
12686	}
12687}
12688
12689// Code returns the exception type name.
12690func (s AccessDeniedException) Code() string {
12691	return "AccessDeniedException"
12692}
12693
12694// Message returns the exception's message.
12695func (s AccessDeniedException) Message() string {
12696	if s.Message_ != nil {
12697		return *s.Message_
12698	}
12699	return ""
12700}
12701
12702// OrigErr always returns nil, satisfies awserr.Error interface.
12703func (s AccessDeniedException) OrigErr() error {
12704	return nil
12705}
12706
12707func (s AccessDeniedException) Error() string {
12708	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
12709}
12710
12711// Status code returns the HTTP status code for the request's response error.
12712func (s AccessDeniedException) StatusCode() int {
12713	return s.respMetadata.StatusCode
12714}
12715
12716// RequestID returns the service's response RequestID for request.
12717func (s AccessDeniedException) RequestID() string {
12718	return s.respMetadata.RequestID
12719}
12720
12721// Defines an action to be initiated by a trigger.
12722type Action struct {
12723	_ struct{} `type:"structure"`
12724
12725	// The job arguments used when this trigger fires. For this job run, they replace
12726	// the default arguments set in the job definition itself.
12727	//
12728	// You can specify arguments here that your own job-execution script consumes,
12729	// as well as arguments that AWS Glue itself consumes.
12730	//
12731	// For information about how to specify and consume your own Job arguments,
12732	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
12733	// topic in the developer guide.
12734	//
12735	// For information about the key-value pairs that AWS Glue consumes to set up
12736	// 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)
12737	// topic in the developer guide.
12738	Arguments map[string]*string `type:"map"`
12739
12740	// The name of the crawler to be used with this action.
12741	CrawlerName *string `min:"1" type:"string"`
12742
12743	// The name of a job to be executed.
12744	JobName *string `min:"1" type:"string"`
12745
12746	// Specifies configuration properties of a job run notification.
12747	NotificationProperty *NotificationProperty `type:"structure"`
12748
12749	// The name of the SecurityConfiguration structure to be used with this action.
12750	SecurityConfiguration *string `min:"1" type:"string"`
12751
12752	// The JobRun timeout in minutes. This is the maximum time that a job run can
12753	// consume resources before it is terminated and enters TIMEOUT status. The
12754	// default is 2,880 minutes (48 hours). This overrides the timeout value set
12755	// in the parent job.
12756	Timeout *int64 `min:"1" type:"integer"`
12757}
12758
12759// String returns the string representation
12760func (s Action) String() string {
12761	return awsutil.Prettify(s)
12762}
12763
12764// GoString returns the string representation
12765func (s Action) GoString() string {
12766	return s.String()
12767}
12768
12769// Validate inspects the fields of the type to determine if they are valid.
12770func (s *Action) Validate() error {
12771	invalidParams := request.ErrInvalidParams{Context: "Action"}
12772	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
12773		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
12774	}
12775	if s.JobName != nil && len(*s.JobName) < 1 {
12776		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
12777	}
12778	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
12779		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
12780	}
12781	if s.Timeout != nil && *s.Timeout < 1 {
12782		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
12783	}
12784	if s.NotificationProperty != nil {
12785		if err := s.NotificationProperty.Validate(); err != nil {
12786			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
12787		}
12788	}
12789
12790	if invalidParams.Len() > 0 {
12791		return invalidParams
12792	}
12793	return nil
12794}
12795
12796// SetArguments sets the Arguments field's value.
12797func (s *Action) SetArguments(v map[string]*string) *Action {
12798	s.Arguments = v
12799	return s
12800}
12801
12802// SetCrawlerName sets the CrawlerName field's value.
12803func (s *Action) SetCrawlerName(v string) *Action {
12804	s.CrawlerName = &v
12805	return s
12806}
12807
12808// SetJobName sets the JobName field's value.
12809func (s *Action) SetJobName(v string) *Action {
12810	s.JobName = &v
12811	return s
12812}
12813
12814// SetNotificationProperty sets the NotificationProperty field's value.
12815func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action {
12816	s.NotificationProperty = v
12817	return s
12818}
12819
12820// SetSecurityConfiguration sets the SecurityConfiguration field's value.
12821func (s *Action) SetSecurityConfiguration(v string) *Action {
12822	s.SecurityConfiguration = &v
12823	return s
12824}
12825
12826// SetTimeout sets the Timeout field's value.
12827func (s *Action) SetTimeout(v int64) *Action {
12828	s.Timeout = &v
12829	return s
12830}
12831
12832// A resource to be created or added already exists.
12833type AlreadyExistsException struct {
12834	_            struct{} `type:"structure"`
12835	respMetadata protocol.ResponseMetadata
12836
12837	// A message describing the problem.
12838	Message_ *string `locationName:"Message" type:"string"`
12839}
12840
12841// String returns the string representation
12842func (s AlreadyExistsException) String() string {
12843	return awsutil.Prettify(s)
12844}
12845
12846// GoString returns the string representation
12847func (s AlreadyExistsException) GoString() string {
12848	return s.String()
12849}
12850
12851func newErrorAlreadyExistsException(v protocol.ResponseMetadata) error {
12852	return &AlreadyExistsException{
12853		respMetadata: v,
12854	}
12855}
12856
12857// Code returns the exception type name.
12858func (s AlreadyExistsException) Code() string {
12859	return "AlreadyExistsException"
12860}
12861
12862// Message returns the exception's message.
12863func (s AlreadyExistsException) Message() string {
12864	if s.Message_ != nil {
12865		return *s.Message_
12866	}
12867	return ""
12868}
12869
12870// OrigErr always returns nil, satisfies awserr.Error interface.
12871func (s AlreadyExistsException) OrigErr() error {
12872	return nil
12873}
12874
12875func (s AlreadyExistsException) Error() string {
12876	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
12877}
12878
12879// Status code returns the HTTP status code for the request's response error.
12880func (s AlreadyExistsException) StatusCode() int {
12881	return s.respMetadata.StatusCode
12882}
12883
12884// RequestID returns the service's response RequestID for request.
12885func (s AlreadyExistsException) RequestID() string {
12886	return s.respMetadata.RequestID
12887}
12888
12889type BatchCreatePartitionInput struct {
12890	_ struct{} `type:"structure"`
12891
12892	// The ID of the catalog in which the partition is to be created. Currently,
12893	// this should be the AWS account ID.
12894	CatalogId *string `min:"1" type:"string"`
12895
12896	// The name of the metadata database in which the partition is to be created.
12897	//
12898	// DatabaseName is a required field
12899	DatabaseName *string `min:"1" type:"string" required:"true"`
12900
12901	// A list of PartitionInput structures that define the partitions to be created.
12902	//
12903	// PartitionInputList is a required field
12904	PartitionInputList []*PartitionInput `type:"list" required:"true"`
12905
12906	// The name of the metadata table in which the partition is to be created.
12907	//
12908	// TableName is a required field
12909	TableName *string `min:"1" type:"string" required:"true"`
12910}
12911
12912// String returns the string representation
12913func (s BatchCreatePartitionInput) String() string {
12914	return awsutil.Prettify(s)
12915}
12916
12917// GoString returns the string representation
12918func (s BatchCreatePartitionInput) GoString() string {
12919	return s.String()
12920}
12921
12922// Validate inspects the fields of the type to determine if they are valid.
12923func (s *BatchCreatePartitionInput) Validate() error {
12924	invalidParams := request.ErrInvalidParams{Context: "BatchCreatePartitionInput"}
12925	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12926		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12927	}
12928	if s.DatabaseName == nil {
12929		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12930	}
12931	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12932		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12933	}
12934	if s.PartitionInputList == nil {
12935		invalidParams.Add(request.NewErrParamRequired("PartitionInputList"))
12936	}
12937	if s.TableName == nil {
12938		invalidParams.Add(request.NewErrParamRequired("TableName"))
12939	}
12940	if s.TableName != nil && len(*s.TableName) < 1 {
12941		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
12942	}
12943	if s.PartitionInputList != nil {
12944		for i, v := range s.PartitionInputList {
12945			if v == nil {
12946				continue
12947			}
12948			if err := v.Validate(); err != nil {
12949				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionInputList", i), err.(request.ErrInvalidParams))
12950			}
12951		}
12952	}
12953
12954	if invalidParams.Len() > 0 {
12955		return invalidParams
12956	}
12957	return nil
12958}
12959
12960// SetCatalogId sets the CatalogId field's value.
12961func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput {
12962	s.CatalogId = &v
12963	return s
12964}
12965
12966// SetDatabaseName sets the DatabaseName field's value.
12967func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput {
12968	s.DatabaseName = &v
12969	return s
12970}
12971
12972// SetPartitionInputList sets the PartitionInputList field's value.
12973func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput {
12974	s.PartitionInputList = v
12975	return s
12976}
12977
12978// SetTableName sets the TableName field's value.
12979func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput {
12980	s.TableName = &v
12981	return s
12982}
12983
12984type BatchCreatePartitionOutput struct {
12985	_ struct{} `type:"structure"`
12986
12987	// The errors encountered when trying to create the requested partitions.
12988	Errors []*PartitionError `type:"list"`
12989}
12990
12991// String returns the string representation
12992func (s BatchCreatePartitionOutput) String() string {
12993	return awsutil.Prettify(s)
12994}
12995
12996// GoString returns the string representation
12997func (s BatchCreatePartitionOutput) GoString() string {
12998	return s.String()
12999}
13000
13001// SetErrors sets the Errors field's value.
13002func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreatePartitionOutput {
13003	s.Errors = v
13004	return s
13005}
13006
13007type BatchDeleteConnectionInput struct {
13008	_ struct{} `type:"structure"`
13009
13010	// The ID of the Data Catalog in which the connections reside. If none is provided,
13011	// the AWS account ID is used by default.
13012	CatalogId *string `min:"1" type:"string"`
13013
13014	// A list of names of the connections to delete.
13015	//
13016	// ConnectionNameList is a required field
13017	ConnectionNameList []*string `type:"list" required:"true"`
13018}
13019
13020// String returns the string representation
13021func (s BatchDeleteConnectionInput) String() string {
13022	return awsutil.Prettify(s)
13023}
13024
13025// GoString returns the string representation
13026func (s BatchDeleteConnectionInput) GoString() string {
13027	return s.String()
13028}
13029
13030// Validate inspects the fields of the type to determine if they are valid.
13031func (s *BatchDeleteConnectionInput) Validate() error {
13032	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteConnectionInput"}
13033	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13034		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13035	}
13036	if s.ConnectionNameList == nil {
13037		invalidParams.Add(request.NewErrParamRequired("ConnectionNameList"))
13038	}
13039
13040	if invalidParams.Len() > 0 {
13041		return invalidParams
13042	}
13043	return nil
13044}
13045
13046// SetCatalogId sets the CatalogId field's value.
13047func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput {
13048	s.CatalogId = &v
13049	return s
13050}
13051
13052// SetConnectionNameList sets the ConnectionNameList field's value.
13053func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDeleteConnectionInput {
13054	s.ConnectionNameList = v
13055	return s
13056}
13057
13058type BatchDeleteConnectionOutput struct {
13059	_ struct{} `type:"structure"`
13060
13061	// A map of the names of connections that were not successfully deleted to error
13062	// details.
13063	Errors map[string]*ErrorDetail `type:"map"`
13064
13065	// A list of names of the connection definitions that were successfully deleted.
13066	Succeeded []*string `type:"list"`
13067}
13068
13069// String returns the string representation
13070func (s BatchDeleteConnectionOutput) String() string {
13071	return awsutil.Prettify(s)
13072}
13073
13074// GoString returns the string representation
13075func (s BatchDeleteConnectionOutput) GoString() string {
13076	return s.String()
13077}
13078
13079// SetErrors sets the Errors field's value.
13080func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]*ErrorDetail) *BatchDeleteConnectionOutput {
13081	s.Errors = v
13082	return s
13083}
13084
13085// SetSucceeded sets the Succeeded field's value.
13086func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConnectionOutput {
13087	s.Succeeded = v
13088	return s
13089}
13090
13091type BatchDeletePartitionInput struct {
13092	_ struct{} `type:"structure"`
13093
13094	// The ID of the Data Catalog where the partition to be deleted resides. If
13095	// none is provided, the AWS account ID is used by default.
13096	CatalogId *string `min:"1" type:"string"`
13097
13098	// The name of the catalog database in which the table in question resides.
13099	//
13100	// DatabaseName is a required field
13101	DatabaseName *string `min:"1" type:"string" required:"true"`
13102
13103	// A list of PartitionInput structures that define the partitions to be deleted.
13104	//
13105	// PartitionsToDelete is a required field
13106	PartitionsToDelete []*PartitionValueList `type:"list" required:"true"`
13107
13108	// The name of the table that contains the partitions to be deleted.
13109	//
13110	// TableName is a required field
13111	TableName *string `min:"1" type:"string" required:"true"`
13112}
13113
13114// String returns the string representation
13115func (s BatchDeletePartitionInput) String() string {
13116	return awsutil.Prettify(s)
13117}
13118
13119// GoString returns the string representation
13120func (s BatchDeletePartitionInput) GoString() string {
13121	return s.String()
13122}
13123
13124// Validate inspects the fields of the type to determine if they are valid.
13125func (s *BatchDeletePartitionInput) Validate() error {
13126	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePartitionInput"}
13127	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13128		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13129	}
13130	if s.DatabaseName == nil {
13131		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13132	}
13133	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13134		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13135	}
13136	if s.PartitionsToDelete == nil {
13137		invalidParams.Add(request.NewErrParamRequired("PartitionsToDelete"))
13138	}
13139	if s.TableName == nil {
13140		invalidParams.Add(request.NewErrParamRequired("TableName"))
13141	}
13142	if s.TableName != nil && len(*s.TableName) < 1 {
13143		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13144	}
13145	if s.PartitionsToDelete != nil {
13146		for i, v := range s.PartitionsToDelete {
13147			if v == nil {
13148				continue
13149			}
13150			if err := v.Validate(); err != nil {
13151				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToDelete", i), err.(request.ErrInvalidParams))
13152			}
13153		}
13154	}
13155
13156	if invalidParams.Len() > 0 {
13157		return invalidParams
13158	}
13159	return nil
13160}
13161
13162// SetCatalogId sets the CatalogId field's value.
13163func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput {
13164	s.CatalogId = &v
13165	return s
13166}
13167
13168// SetDatabaseName sets the DatabaseName field's value.
13169func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput {
13170	s.DatabaseName = &v
13171	return s
13172}
13173
13174// SetPartitionsToDelete sets the PartitionsToDelete field's value.
13175func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []*PartitionValueList) *BatchDeletePartitionInput {
13176	s.PartitionsToDelete = v
13177	return s
13178}
13179
13180// SetTableName sets the TableName field's value.
13181func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput {
13182	s.TableName = &v
13183	return s
13184}
13185
13186type BatchDeletePartitionOutput struct {
13187	_ struct{} `type:"structure"`
13188
13189	// The errors encountered when trying to delete the requested partitions.
13190	Errors []*PartitionError `type:"list"`
13191}
13192
13193// String returns the string representation
13194func (s BatchDeletePartitionOutput) String() string {
13195	return awsutil.Prettify(s)
13196}
13197
13198// GoString returns the string representation
13199func (s BatchDeletePartitionOutput) GoString() string {
13200	return s.String()
13201}
13202
13203// SetErrors sets the Errors field's value.
13204func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDeletePartitionOutput {
13205	s.Errors = v
13206	return s
13207}
13208
13209type BatchDeleteTableInput struct {
13210	_ struct{} `type:"structure"`
13211
13212	// The ID of the Data Catalog where the table resides. If none is provided,
13213	// the AWS account ID is used by default.
13214	CatalogId *string `min:"1" type:"string"`
13215
13216	// The name of the catalog database in which the tables to delete reside. For
13217	// Hive compatibility, this name is entirely lowercase.
13218	//
13219	// DatabaseName is a required field
13220	DatabaseName *string `min:"1" type:"string" required:"true"`
13221
13222	// A list of the table to delete.
13223	//
13224	// TablesToDelete is a required field
13225	TablesToDelete []*string `type:"list" required:"true"`
13226}
13227
13228// String returns the string representation
13229func (s BatchDeleteTableInput) String() string {
13230	return awsutil.Prettify(s)
13231}
13232
13233// GoString returns the string representation
13234func (s BatchDeleteTableInput) GoString() string {
13235	return s.String()
13236}
13237
13238// Validate inspects the fields of the type to determine if they are valid.
13239func (s *BatchDeleteTableInput) Validate() error {
13240	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableInput"}
13241	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13242		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13243	}
13244	if s.DatabaseName == nil {
13245		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13246	}
13247	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13248		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13249	}
13250	if s.TablesToDelete == nil {
13251		invalidParams.Add(request.NewErrParamRequired("TablesToDelete"))
13252	}
13253
13254	if invalidParams.Len() > 0 {
13255		return invalidParams
13256	}
13257	return nil
13258}
13259
13260// SetCatalogId sets the CatalogId field's value.
13261func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput {
13262	s.CatalogId = &v
13263	return s
13264}
13265
13266// SetDatabaseName sets the DatabaseName field's value.
13267func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput {
13268	s.DatabaseName = &v
13269	return s
13270}
13271
13272// SetTablesToDelete sets the TablesToDelete field's value.
13273func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTableInput {
13274	s.TablesToDelete = v
13275	return s
13276}
13277
13278type BatchDeleteTableOutput struct {
13279	_ struct{} `type:"structure"`
13280
13281	// A list of errors encountered in attempting to delete the specified tables.
13282	Errors []*TableError `type:"list"`
13283}
13284
13285// String returns the string representation
13286func (s BatchDeleteTableOutput) String() string {
13287	return awsutil.Prettify(s)
13288}
13289
13290// GoString returns the string representation
13291func (s BatchDeleteTableOutput) GoString() string {
13292	return s.String()
13293}
13294
13295// SetErrors sets the Errors field's value.
13296func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOutput {
13297	s.Errors = v
13298	return s
13299}
13300
13301type BatchDeleteTableVersionInput struct {
13302	_ struct{} `type:"structure"`
13303
13304	// The ID of the Data Catalog where the tables reside. If none is provided,
13305	// the AWS account ID is used by default.
13306	CatalogId *string `min:"1" type:"string"`
13307
13308	// The database in the catalog in which the table resides. For Hive compatibility,
13309	// this name is entirely lowercase.
13310	//
13311	// DatabaseName is a required field
13312	DatabaseName *string `min:"1" type:"string" required:"true"`
13313
13314	// The name of the table. For Hive compatibility, this name is entirely lowercase.
13315	//
13316	// TableName is a required field
13317	TableName *string `min:"1" type:"string" required:"true"`
13318
13319	// A list of the IDs of versions to be deleted. A VersionId is a string representation
13320	// of an integer. Each version is incremented by 1.
13321	//
13322	// VersionIds is a required field
13323	VersionIds []*string `type:"list" required:"true"`
13324}
13325
13326// String returns the string representation
13327func (s BatchDeleteTableVersionInput) String() string {
13328	return awsutil.Prettify(s)
13329}
13330
13331// GoString returns the string representation
13332func (s BatchDeleteTableVersionInput) GoString() string {
13333	return s.String()
13334}
13335
13336// Validate inspects the fields of the type to determine if they are valid.
13337func (s *BatchDeleteTableVersionInput) Validate() error {
13338	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableVersionInput"}
13339	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13340		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13341	}
13342	if s.DatabaseName == nil {
13343		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13344	}
13345	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13346		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13347	}
13348	if s.TableName == nil {
13349		invalidParams.Add(request.NewErrParamRequired("TableName"))
13350	}
13351	if s.TableName != nil && len(*s.TableName) < 1 {
13352		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13353	}
13354	if s.VersionIds == nil {
13355		invalidParams.Add(request.NewErrParamRequired("VersionIds"))
13356	}
13357
13358	if invalidParams.Len() > 0 {
13359		return invalidParams
13360	}
13361	return nil
13362}
13363
13364// SetCatalogId sets the CatalogId field's value.
13365func (s *BatchDeleteTableVersionInput) SetCatalogId(v string) *BatchDeleteTableVersionInput {
13366	s.CatalogId = &v
13367	return s
13368}
13369
13370// SetDatabaseName sets the DatabaseName field's value.
13371func (s *BatchDeleteTableVersionInput) SetDatabaseName(v string) *BatchDeleteTableVersionInput {
13372	s.DatabaseName = &v
13373	return s
13374}
13375
13376// SetTableName sets the TableName field's value.
13377func (s *BatchDeleteTableVersionInput) SetTableName(v string) *BatchDeleteTableVersionInput {
13378	s.TableName = &v
13379	return s
13380}
13381
13382// SetVersionIds sets the VersionIds field's value.
13383func (s *BatchDeleteTableVersionInput) SetVersionIds(v []*string) *BatchDeleteTableVersionInput {
13384	s.VersionIds = v
13385	return s
13386}
13387
13388type BatchDeleteTableVersionOutput struct {
13389	_ struct{} `type:"structure"`
13390
13391	// A list of errors encountered while trying to delete the specified table versions.
13392	Errors []*TableVersionError `type:"list"`
13393}
13394
13395// String returns the string representation
13396func (s BatchDeleteTableVersionOutput) String() string {
13397	return awsutil.Prettify(s)
13398}
13399
13400// GoString returns the string representation
13401func (s BatchDeleteTableVersionOutput) GoString() string {
13402	return s.String()
13403}
13404
13405// SetErrors sets the Errors field's value.
13406func (s *BatchDeleteTableVersionOutput) SetErrors(v []*TableVersionError) *BatchDeleteTableVersionOutput {
13407	s.Errors = v
13408	return s
13409}
13410
13411type BatchGetCrawlersInput struct {
13412	_ struct{} `type:"structure"`
13413
13414	// A list of crawler names, which might be the names returned from the ListCrawlers
13415	// operation.
13416	//
13417	// CrawlerNames is a required field
13418	CrawlerNames []*string `type:"list" required:"true"`
13419}
13420
13421// String returns the string representation
13422func (s BatchGetCrawlersInput) String() string {
13423	return awsutil.Prettify(s)
13424}
13425
13426// GoString returns the string representation
13427func (s BatchGetCrawlersInput) GoString() string {
13428	return s.String()
13429}
13430
13431// Validate inspects the fields of the type to determine if they are valid.
13432func (s *BatchGetCrawlersInput) Validate() error {
13433	invalidParams := request.ErrInvalidParams{Context: "BatchGetCrawlersInput"}
13434	if s.CrawlerNames == nil {
13435		invalidParams.Add(request.NewErrParamRequired("CrawlerNames"))
13436	}
13437
13438	if invalidParams.Len() > 0 {
13439		return invalidParams
13440	}
13441	return nil
13442}
13443
13444// SetCrawlerNames sets the CrawlerNames field's value.
13445func (s *BatchGetCrawlersInput) SetCrawlerNames(v []*string) *BatchGetCrawlersInput {
13446	s.CrawlerNames = v
13447	return s
13448}
13449
13450type BatchGetCrawlersOutput struct {
13451	_ struct{} `type:"structure"`
13452
13453	// A list of crawler definitions.
13454	Crawlers []*Crawler `type:"list"`
13455
13456	// A list of names of crawlers that were not found.
13457	CrawlersNotFound []*string `type:"list"`
13458}
13459
13460// String returns the string representation
13461func (s BatchGetCrawlersOutput) String() string {
13462	return awsutil.Prettify(s)
13463}
13464
13465// GoString returns the string representation
13466func (s BatchGetCrawlersOutput) GoString() string {
13467	return s.String()
13468}
13469
13470// SetCrawlers sets the Crawlers field's value.
13471func (s *BatchGetCrawlersOutput) SetCrawlers(v []*Crawler) *BatchGetCrawlersOutput {
13472	s.Crawlers = v
13473	return s
13474}
13475
13476// SetCrawlersNotFound sets the CrawlersNotFound field's value.
13477func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawlersOutput {
13478	s.CrawlersNotFound = v
13479	return s
13480}
13481
13482type BatchGetDevEndpointsInput struct {
13483	_ struct{} `type:"structure"`
13484
13485	// The list of DevEndpoint names, which might be the names returned from the
13486	// ListDevEndpoint operation.
13487	//
13488	// DevEndpointNames is a required field
13489	DevEndpointNames []*string `min:"1" type:"list" required:"true"`
13490}
13491
13492// String returns the string representation
13493func (s BatchGetDevEndpointsInput) String() string {
13494	return awsutil.Prettify(s)
13495}
13496
13497// GoString returns the string representation
13498func (s BatchGetDevEndpointsInput) GoString() string {
13499	return s.String()
13500}
13501
13502// Validate inspects the fields of the type to determine if they are valid.
13503func (s *BatchGetDevEndpointsInput) Validate() error {
13504	invalidParams := request.ErrInvalidParams{Context: "BatchGetDevEndpointsInput"}
13505	if s.DevEndpointNames == nil {
13506		invalidParams.Add(request.NewErrParamRequired("DevEndpointNames"))
13507	}
13508	if s.DevEndpointNames != nil && len(s.DevEndpointNames) < 1 {
13509		invalidParams.Add(request.NewErrParamMinLen("DevEndpointNames", 1))
13510	}
13511
13512	if invalidParams.Len() > 0 {
13513		return invalidParams
13514	}
13515	return nil
13516}
13517
13518// SetDevEndpointNames sets the DevEndpointNames field's value.
13519func (s *BatchGetDevEndpointsInput) SetDevEndpointNames(v []*string) *BatchGetDevEndpointsInput {
13520	s.DevEndpointNames = v
13521	return s
13522}
13523
13524type BatchGetDevEndpointsOutput struct {
13525	_ struct{} `type:"structure"`
13526
13527	// A list of DevEndpoint definitions.
13528	DevEndpoints []*DevEndpoint `type:"list"`
13529
13530	// A list of DevEndpoints not found.
13531	DevEndpointsNotFound []*string `min:"1" type:"list"`
13532}
13533
13534// String returns the string representation
13535func (s BatchGetDevEndpointsOutput) String() string {
13536	return awsutil.Prettify(s)
13537}
13538
13539// GoString returns the string representation
13540func (s BatchGetDevEndpointsOutput) GoString() string {
13541	return s.String()
13542}
13543
13544// SetDevEndpoints sets the DevEndpoints field's value.
13545func (s *BatchGetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *BatchGetDevEndpointsOutput {
13546	s.DevEndpoints = v
13547	return s
13548}
13549
13550// SetDevEndpointsNotFound sets the DevEndpointsNotFound field's value.
13551func (s *BatchGetDevEndpointsOutput) SetDevEndpointsNotFound(v []*string) *BatchGetDevEndpointsOutput {
13552	s.DevEndpointsNotFound = v
13553	return s
13554}
13555
13556type BatchGetJobsInput struct {
13557	_ struct{} `type:"structure"`
13558
13559	// A list of job names, which might be the names returned from the ListJobs
13560	// operation.
13561	//
13562	// JobNames is a required field
13563	JobNames []*string `type:"list" required:"true"`
13564}
13565
13566// String returns the string representation
13567func (s BatchGetJobsInput) String() string {
13568	return awsutil.Prettify(s)
13569}
13570
13571// GoString returns the string representation
13572func (s BatchGetJobsInput) GoString() string {
13573	return s.String()
13574}
13575
13576// Validate inspects the fields of the type to determine if they are valid.
13577func (s *BatchGetJobsInput) Validate() error {
13578	invalidParams := request.ErrInvalidParams{Context: "BatchGetJobsInput"}
13579	if s.JobNames == nil {
13580		invalidParams.Add(request.NewErrParamRequired("JobNames"))
13581	}
13582
13583	if invalidParams.Len() > 0 {
13584		return invalidParams
13585	}
13586	return nil
13587}
13588
13589// SetJobNames sets the JobNames field's value.
13590func (s *BatchGetJobsInput) SetJobNames(v []*string) *BatchGetJobsInput {
13591	s.JobNames = v
13592	return s
13593}
13594
13595type BatchGetJobsOutput struct {
13596	_ struct{} `type:"structure"`
13597
13598	// A list of job definitions.
13599	Jobs []*Job `type:"list"`
13600
13601	// A list of names of jobs not found.
13602	JobsNotFound []*string `type:"list"`
13603}
13604
13605// String returns the string representation
13606func (s BatchGetJobsOutput) String() string {
13607	return awsutil.Prettify(s)
13608}
13609
13610// GoString returns the string representation
13611func (s BatchGetJobsOutput) GoString() string {
13612	return s.String()
13613}
13614
13615// SetJobs sets the Jobs field's value.
13616func (s *BatchGetJobsOutput) SetJobs(v []*Job) *BatchGetJobsOutput {
13617	s.Jobs = v
13618	return s
13619}
13620
13621// SetJobsNotFound sets the JobsNotFound field's value.
13622func (s *BatchGetJobsOutput) SetJobsNotFound(v []*string) *BatchGetJobsOutput {
13623	s.JobsNotFound = v
13624	return s
13625}
13626
13627type BatchGetPartitionInput struct {
13628	_ struct{} `type:"structure"`
13629
13630	// The ID of the Data Catalog where the partitions in question reside. If none
13631	// is supplied, the AWS account ID is used by default.
13632	CatalogId *string `min:"1" type:"string"`
13633
13634	// The name of the catalog database where the partitions reside.
13635	//
13636	// DatabaseName is a required field
13637	DatabaseName *string `min:"1" type:"string" required:"true"`
13638
13639	// A list of partition values identifying the partitions to retrieve.
13640	//
13641	// PartitionsToGet is a required field
13642	PartitionsToGet []*PartitionValueList `type:"list" required:"true"`
13643
13644	// The name of the partitions' table.
13645	//
13646	// TableName is a required field
13647	TableName *string `min:"1" type:"string" required:"true"`
13648}
13649
13650// String returns the string representation
13651func (s BatchGetPartitionInput) String() string {
13652	return awsutil.Prettify(s)
13653}
13654
13655// GoString returns the string representation
13656func (s BatchGetPartitionInput) GoString() string {
13657	return s.String()
13658}
13659
13660// Validate inspects the fields of the type to determine if they are valid.
13661func (s *BatchGetPartitionInput) Validate() error {
13662	invalidParams := request.ErrInvalidParams{Context: "BatchGetPartitionInput"}
13663	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13664		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13665	}
13666	if s.DatabaseName == nil {
13667		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13668	}
13669	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13670		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13671	}
13672	if s.PartitionsToGet == nil {
13673		invalidParams.Add(request.NewErrParamRequired("PartitionsToGet"))
13674	}
13675	if s.TableName == nil {
13676		invalidParams.Add(request.NewErrParamRequired("TableName"))
13677	}
13678	if s.TableName != nil && len(*s.TableName) < 1 {
13679		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13680	}
13681	if s.PartitionsToGet != nil {
13682		for i, v := range s.PartitionsToGet {
13683			if v == nil {
13684				continue
13685			}
13686			if err := v.Validate(); err != nil {
13687				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToGet", i), err.(request.ErrInvalidParams))
13688			}
13689		}
13690	}
13691
13692	if invalidParams.Len() > 0 {
13693		return invalidParams
13694	}
13695	return nil
13696}
13697
13698// SetCatalogId sets the CatalogId field's value.
13699func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput {
13700	s.CatalogId = &v
13701	return s
13702}
13703
13704// SetDatabaseName sets the DatabaseName field's value.
13705func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput {
13706	s.DatabaseName = &v
13707	return s
13708}
13709
13710// SetPartitionsToGet sets the PartitionsToGet field's value.
13711func (s *BatchGetPartitionInput) SetPartitionsToGet(v []*PartitionValueList) *BatchGetPartitionInput {
13712	s.PartitionsToGet = v
13713	return s
13714}
13715
13716// SetTableName sets the TableName field's value.
13717func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput {
13718	s.TableName = &v
13719	return s
13720}
13721
13722type BatchGetPartitionOutput struct {
13723	_ struct{} `type:"structure"`
13724
13725	// A list of the requested partitions.
13726	Partitions []*Partition `type:"list"`
13727
13728	// A list of the partition values in the request for which partitions were not
13729	// returned.
13730	UnprocessedKeys []*PartitionValueList `type:"list"`
13731}
13732
13733// String returns the string representation
13734func (s BatchGetPartitionOutput) String() string {
13735	return awsutil.Prettify(s)
13736}
13737
13738// GoString returns the string representation
13739func (s BatchGetPartitionOutput) GoString() string {
13740	return s.String()
13741}
13742
13743// SetPartitions sets the Partitions field's value.
13744func (s *BatchGetPartitionOutput) SetPartitions(v []*Partition) *BatchGetPartitionOutput {
13745	s.Partitions = v
13746	return s
13747}
13748
13749// SetUnprocessedKeys sets the UnprocessedKeys field's value.
13750func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *BatchGetPartitionOutput {
13751	s.UnprocessedKeys = v
13752	return s
13753}
13754
13755type BatchGetTriggersInput struct {
13756	_ struct{} `type:"structure"`
13757
13758	// A list of trigger names, which may be the names returned from the ListTriggers
13759	// operation.
13760	//
13761	// TriggerNames is a required field
13762	TriggerNames []*string `type:"list" required:"true"`
13763}
13764
13765// String returns the string representation
13766func (s BatchGetTriggersInput) String() string {
13767	return awsutil.Prettify(s)
13768}
13769
13770// GoString returns the string representation
13771func (s BatchGetTriggersInput) GoString() string {
13772	return s.String()
13773}
13774
13775// Validate inspects the fields of the type to determine if they are valid.
13776func (s *BatchGetTriggersInput) Validate() error {
13777	invalidParams := request.ErrInvalidParams{Context: "BatchGetTriggersInput"}
13778	if s.TriggerNames == nil {
13779		invalidParams.Add(request.NewErrParamRequired("TriggerNames"))
13780	}
13781
13782	if invalidParams.Len() > 0 {
13783		return invalidParams
13784	}
13785	return nil
13786}
13787
13788// SetTriggerNames sets the TriggerNames field's value.
13789func (s *BatchGetTriggersInput) SetTriggerNames(v []*string) *BatchGetTriggersInput {
13790	s.TriggerNames = v
13791	return s
13792}
13793
13794type BatchGetTriggersOutput struct {
13795	_ struct{} `type:"structure"`
13796
13797	// A list of trigger definitions.
13798	Triggers []*Trigger `type:"list"`
13799
13800	// A list of names of triggers not found.
13801	TriggersNotFound []*string `type:"list"`
13802}
13803
13804// String returns the string representation
13805func (s BatchGetTriggersOutput) String() string {
13806	return awsutil.Prettify(s)
13807}
13808
13809// GoString returns the string representation
13810func (s BatchGetTriggersOutput) GoString() string {
13811	return s.String()
13812}
13813
13814// SetTriggers sets the Triggers field's value.
13815func (s *BatchGetTriggersOutput) SetTriggers(v []*Trigger) *BatchGetTriggersOutput {
13816	s.Triggers = v
13817	return s
13818}
13819
13820// SetTriggersNotFound sets the TriggersNotFound field's value.
13821func (s *BatchGetTriggersOutput) SetTriggersNotFound(v []*string) *BatchGetTriggersOutput {
13822	s.TriggersNotFound = v
13823	return s
13824}
13825
13826type BatchGetWorkflowsInput struct {
13827	_ struct{} `type:"structure"`
13828
13829	// Specifies whether to include a graph when returning the workflow resource
13830	// metadata.
13831	IncludeGraph *bool `type:"boolean"`
13832
13833	// A list of workflow names, which may be the names returned from the ListWorkflows
13834	// operation.
13835	//
13836	// Names is a required field
13837	Names []*string `min:"1" type:"list" required:"true"`
13838}
13839
13840// String returns the string representation
13841func (s BatchGetWorkflowsInput) String() string {
13842	return awsutil.Prettify(s)
13843}
13844
13845// GoString returns the string representation
13846func (s BatchGetWorkflowsInput) GoString() string {
13847	return s.String()
13848}
13849
13850// Validate inspects the fields of the type to determine if they are valid.
13851func (s *BatchGetWorkflowsInput) Validate() error {
13852	invalidParams := request.ErrInvalidParams{Context: "BatchGetWorkflowsInput"}
13853	if s.Names == nil {
13854		invalidParams.Add(request.NewErrParamRequired("Names"))
13855	}
13856	if s.Names != nil && len(s.Names) < 1 {
13857		invalidParams.Add(request.NewErrParamMinLen("Names", 1))
13858	}
13859
13860	if invalidParams.Len() > 0 {
13861		return invalidParams
13862	}
13863	return nil
13864}
13865
13866// SetIncludeGraph sets the IncludeGraph field's value.
13867func (s *BatchGetWorkflowsInput) SetIncludeGraph(v bool) *BatchGetWorkflowsInput {
13868	s.IncludeGraph = &v
13869	return s
13870}
13871
13872// SetNames sets the Names field's value.
13873func (s *BatchGetWorkflowsInput) SetNames(v []*string) *BatchGetWorkflowsInput {
13874	s.Names = v
13875	return s
13876}
13877
13878type BatchGetWorkflowsOutput struct {
13879	_ struct{} `type:"structure"`
13880
13881	// A list of names of workflows not found.
13882	MissingWorkflows []*string `min:"1" type:"list"`
13883
13884	// A list of workflow resource metadata.
13885	Workflows []*Workflow `min:"1" type:"list"`
13886}
13887
13888// String returns the string representation
13889func (s BatchGetWorkflowsOutput) String() string {
13890	return awsutil.Prettify(s)
13891}
13892
13893// GoString returns the string representation
13894func (s BatchGetWorkflowsOutput) GoString() string {
13895	return s.String()
13896}
13897
13898// SetMissingWorkflows sets the MissingWorkflows field's value.
13899func (s *BatchGetWorkflowsOutput) SetMissingWorkflows(v []*string) *BatchGetWorkflowsOutput {
13900	s.MissingWorkflows = v
13901	return s
13902}
13903
13904// SetWorkflows sets the Workflows field's value.
13905func (s *BatchGetWorkflowsOutput) SetWorkflows(v []*Workflow) *BatchGetWorkflowsOutput {
13906	s.Workflows = v
13907	return s
13908}
13909
13910// Records an error that occurred when attempting to stop a specified job run.
13911type BatchStopJobRunError struct {
13912	_ struct{} `type:"structure"`
13913
13914	// Specifies details about the error that was encountered.
13915	ErrorDetail *ErrorDetail `type:"structure"`
13916
13917	// The name of the job definition that is used in the job run in question.
13918	JobName *string `min:"1" type:"string"`
13919
13920	// The JobRunId of the job run in question.
13921	JobRunId *string `min:"1" type:"string"`
13922}
13923
13924// String returns the string representation
13925func (s BatchStopJobRunError) String() string {
13926	return awsutil.Prettify(s)
13927}
13928
13929// GoString returns the string representation
13930func (s BatchStopJobRunError) GoString() string {
13931	return s.String()
13932}
13933
13934// SetErrorDetail sets the ErrorDetail field's value.
13935func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError {
13936	s.ErrorDetail = v
13937	return s
13938}
13939
13940// SetJobName sets the JobName field's value.
13941func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError {
13942	s.JobName = &v
13943	return s
13944}
13945
13946// SetJobRunId sets the JobRunId field's value.
13947func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError {
13948	s.JobRunId = &v
13949	return s
13950}
13951
13952type BatchStopJobRunInput struct {
13953	_ struct{} `type:"structure"`
13954
13955	// The name of the job definition for which to stop job runs.
13956	//
13957	// JobName is a required field
13958	JobName *string `min:"1" type:"string" required:"true"`
13959
13960	// A list of the JobRunIds that should be stopped for that job definition.
13961	//
13962	// JobRunIds is a required field
13963	JobRunIds []*string `min:"1" type:"list" required:"true"`
13964}
13965
13966// String returns the string representation
13967func (s BatchStopJobRunInput) String() string {
13968	return awsutil.Prettify(s)
13969}
13970
13971// GoString returns the string representation
13972func (s BatchStopJobRunInput) GoString() string {
13973	return s.String()
13974}
13975
13976// Validate inspects the fields of the type to determine if they are valid.
13977func (s *BatchStopJobRunInput) Validate() error {
13978	invalidParams := request.ErrInvalidParams{Context: "BatchStopJobRunInput"}
13979	if s.JobName == nil {
13980		invalidParams.Add(request.NewErrParamRequired("JobName"))
13981	}
13982	if s.JobName != nil && len(*s.JobName) < 1 {
13983		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
13984	}
13985	if s.JobRunIds == nil {
13986		invalidParams.Add(request.NewErrParamRequired("JobRunIds"))
13987	}
13988	if s.JobRunIds != nil && len(s.JobRunIds) < 1 {
13989		invalidParams.Add(request.NewErrParamMinLen("JobRunIds", 1))
13990	}
13991
13992	if invalidParams.Len() > 0 {
13993		return invalidParams
13994	}
13995	return nil
13996}
13997
13998// SetJobName sets the JobName field's value.
13999func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput {
14000	s.JobName = &v
14001	return s
14002}
14003
14004// SetJobRunIds sets the JobRunIds field's value.
14005func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput {
14006	s.JobRunIds = v
14007	return s
14008}
14009
14010type BatchStopJobRunOutput struct {
14011	_ struct{} `type:"structure"`
14012
14013	// A list of the errors that were encountered in trying to stop JobRuns, including
14014	// the JobRunId for which each error was encountered and details about the error.
14015	Errors []*BatchStopJobRunError `type:"list"`
14016
14017	// A list of the JobRuns that were successfully submitted for stopping.
14018	SuccessfulSubmissions []*BatchStopJobRunSuccessfulSubmission `type:"list"`
14019}
14020
14021// String returns the string representation
14022func (s BatchStopJobRunOutput) String() string {
14023	return awsutil.Prettify(s)
14024}
14025
14026// GoString returns the string representation
14027func (s BatchStopJobRunOutput) GoString() string {
14028	return s.String()
14029}
14030
14031// SetErrors sets the Errors field's value.
14032func (s *BatchStopJobRunOutput) SetErrors(v []*BatchStopJobRunError) *BatchStopJobRunOutput {
14033	s.Errors = v
14034	return s
14035}
14036
14037// SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value.
14038func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput {
14039	s.SuccessfulSubmissions = v
14040	return s
14041}
14042
14043// Records a successful request to stop a specified JobRun.
14044type BatchStopJobRunSuccessfulSubmission struct {
14045	_ struct{} `type:"structure"`
14046
14047	// The name of the job definition used in the job run that was stopped.
14048	JobName *string `min:"1" type:"string"`
14049
14050	// The JobRunId of the job run that was stopped.
14051	JobRunId *string `min:"1" type:"string"`
14052}
14053
14054// String returns the string representation
14055func (s BatchStopJobRunSuccessfulSubmission) String() string {
14056	return awsutil.Prettify(s)
14057}
14058
14059// GoString returns the string representation
14060func (s BatchStopJobRunSuccessfulSubmission) GoString() string {
14061	return s.String()
14062}
14063
14064// SetJobName sets the JobName field's value.
14065func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission {
14066	s.JobName = &v
14067	return s
14068}
14069
14070// SetJobRunId sets the JobRunId field's value.
14071func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission {
14072	s.JobRunId = &v
14073	return s
14074}
14075
14076type CancelMLTaskRunInput struct {
14077	_ struct{} `type:"structure"`
14078
14079	// A unique identifier for the task run.
14080	//
14081	// TaskRunId is a required field
14082	TaskRunId *string `min:"1" type:"string" required:"true"`
14083
14084	// The unique identifier of the machine learning transform.
14085	//
14086	// TransformId is a required field
14087	TransformId *string `min:"1" type:"string" required:"true"`
14088}
14089
14090// String returns the string representation
14091func (s CancelMLTaskRunInput) String() string {
14092	return awsutil.Prettify(s)
14093}
14094
14095// GoString returns the string representation
14096func (s CancelMLTaskRunInput) GoString() string {
14097	return s.String()
14098}
14099
14100// Validate inspects the fields of the type to determine if they are valid.
14101func (s *CancelMLTaskRunInput) Validate() error {
14102	invalidParams := request.ErrInvalidParams{Context: "CancelMLTaskRunInput"}
14103	if s.TaskRunId == nil {
14104		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
14105	}
14106	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
14107		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
14108	}
14109	if s.TransformId == nil {
14110		invalidParams.Add(request.NewErrParamRequired("TransformId"))
14111	}
14112	if s.TransformId != nil && len(*s.TransformId) < 1 {
14113		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
14114	}
14115
14116	if invalidParams.Len() > 0 {
14117		return invalidParams
14118	}
14119	return nil
14120}
14121
14122// SetTaskRunId sets the TaskRunId field's value.
14123func (s *CancelMLTaskRunInput) SetTaskRunId(v string) *CancelMLTaskRunInput {
14124	s.TaskRunId = &v
14125	return s
14126}
14127
14128// SetTransformId sets the TransformId field's value.
14129func (s *CancelMLTaskRunInput) SetTransformId(v string) *CancelMLTaskRunInput {
14130	s.TransformId = &v
14131	return s
14132}
14133
14134type CancelMLTaskRunOutput struct {
14135	_ struct{} `type:"structure"`
14136
14137	// The status for this run.
14138	Status *string `type:"string" enum:"TaskStatusType"`
14139
14140	// The unique identifier for the task run.
14141	TaskRunId *string `min:"1" type:"string"`
14142
14143	// The unique identifier of the machine learning transform.
14144	TransformId *string `min:"1" type:"string"`
14145}
14146
14147// String returns the string representation
14148func (s CancelMLTaskRunOutput) String() string {
14149	return awsutil.Prettify(s)
14150}
14151
14152// GoString returns the string representation
14153func (s CancelMLTaskRunOutput) GoString() string {
14154	return s.String()
14155}
14156
14157// SetStatus sets the Status field's value.
14158func (s *CancelMLTaskRunOutput) SetStatus(v string) *CancelMLTaskRunOutput {
14159	s.Status = &v
14160	return s
14161}
14162
14163// SetTaskRunId sets the TaskRunId field's value.
14164func (s *CancelMLTaskRunOutput) SetTaskRunId(v string) *CancelMLTaskRunOutput {
14165	s.TaskRunId = &v
14166	return s
14167}
14168
14169// SetTransformId sets the TransformId field's value.
14170func (s *CancelMLTaskRunOutput) SetTransformId(v string) *CancelMLTaskRunOutput {
14171	s.TransformId = &v
14172	return s
14173}
14174
14175// Specifies a table definition in the AWS Glue Data Catalog.
14176type CatalogEntry struct {
14177	_ struct{} `type:"structure"`
14178
14179	// The database in which the table metadata resides.
14180	//
14181	// DatabaseName is a required field
14182	DatabaseName *string `min:"1" type:"string" required:"true"`
14183
14184	// The name of the table in question.
14185	//
14186	// TableName is a required field
14187	TableName *string `min:"1" type:"string" required:"true"`
14188}
14189
14190// String returns the string representation
14191func (s CatalogEntry) String() string {
14192	return awsutil.Prettify(s)
14193}
14194
14195// GoString returns the string representation
14196func (s CatalogEntry) GoString() string {
14197	return s.String()
14198}
14199
14200// Validate inspects the fields of the type to determine if they are valid.
14201func (s *CatalogEntry) Validate() error {
14202	invalidParams := request.ErrInvalidParams{Context: "CatalogEntry"}
14203	if s.DatabaseName == nil {
14204		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
14205	}
14206	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
14207		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
14208	}
14209	if s.TableName == nil {
14210		invalidParams.Add(request.NewErrParamRequired("TableName"))
14211	}
14212	if s.TableName != nil && len(*s.TableName) < 1 {
14213		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
14214	}
14215
14216	if invalidParams.Len() > 0 {
14217		return invalidParams
14218	}
14219	return nil
14220}
14221
14222// SetDatabaseName sets the DatabaseName field's value.
14223func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry {
14224	s.DatabaseName = &v
14225	return s
14226}
14227
14228// SetTableName sets the TableName field's value.
14229func (s *CatalogEntry) SetTableName(v string) *CatalogEntry {
14230	s.TableName = &v
14231	return s
14232}
14233
14234// A structure containing migration status information.
14235type CatalogImportStatus struct {
14236	_ struct{} `type:"structure"`
14237
14238	// True if the migration has completed, or False otherwise.
14239	ImportCompleted *bool `type:"boolean"`
14240
14241	// The time that the migration was started.
14242	ImportTime *time.Time `type:"timestamp"`
14243
14244	// The name of the person who initiated the migration.
14245	ImportedBy *string `min:"1" type:"string"`
14246}
14247
14248// String returns the string representation
14249func (s CatalogImportStatus) String() string {
14250	return awsutil.Prettify(s)
14251}
14252
14253// GoString returns the string representation
14254func (s CatalogImportStatus) GoString() string {
14255	return s.String()
14256}
14257
14258// SetImportCompleted sets the ImportCompleted field's value.
14259func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus {
14260	s.ImportCompleted = &v
14261	return s
14262}
14263
14264// SetImportTime sets the ImportTime field's value.
14265func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus {
14266	s.ImportTime = &v
14267	return s
14268}
14269
14270// SetImportedBy sets the ImportedBy field's value.
14271func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus {
14272	s.ImportedBy = &v
14273	return s
14274}
14275
14276// Specifies an AWS Glue Data Catalog target.
14277type CatalogTarget struct {
14278	_ struct{} `type:"structure"`
14279
14280	// The name of the database to be synchronized.
14281	//
14282	// DatabaseName is a required field
14283	DatabaseName *string `min:"1" type:"string" required:"true"`
14284
14285	// A list of the tables to be synchronized.
14286	//
14287	// Tables is a required field
14288	Tables []*string `min:"1" type:"list" required:"true"`
14289}
14290
14291// String returns the string representation
14292func (s CatalogTarget) String() string {
14293	return awsutil.Prettify(s)
14294}
14295
14296// GoString returns the string representation
14297func (s CatalogTarget) GoString() string {
14298	return s.String()
14299}
14300
14301// Validate inspects the fields of the type to determine if they are valid.
14302func (s *CatalogTarget) Validate() error {
14303	invalidParams := request.ErrInvalidParams{Context: "CatalogTarget"}
14304	if s.DatabaseName == nil {
14305		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
14306	}
14307	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
14308		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
14309	}
14310	if s.Tables == nil {
14311		invalidParams.Add(request.NewErrParamRequired("Tables"))
14312	}
14313	if s.Tables != nil && len(s.Tables) < 1 {
14314		invalidParams.Add(request.NewErrParamMinLen("Tables", 1))
14315	}
14316
14317	if invalidParams.Len() > 0 {
14318		return invalidParams
14319	}
14320	return nil
14321}
14322
14323// SetDatabaseName sets the DatabaseName field's value.
14324func (s *CatalogTarget) SetDatabaseName(v string) *CatalogTarget {
14325	s.DatabaseName = &v
14326	return s
14327}
14328
14329// SetTables sets the Tables field's value.
14330func (s *CatalogTarget) SetTables(v []*string) *CatalogTarget {
14331	s.Tables = v
14332	return s
14333}
14334
14335// Classifiers are triggered during a crawl task. A classifier checks whether
14336// a given file is in a format it can handle. If it is, the classifier creates
14337// a schema in the form of a StructType object that matches that data format.
14338//
14339// You can use the standard classifiers that AWS Glue provides, or you can write
14340// your own classifiers to best categorize your data sources and specify the
14341// appropriate schemas to use for them. A classifier can be a grok classifier,
14342// an XML classifier, a JSON classifier, or a custom CSV classifier, as specified
14343// in one of the fields in the Classifier object.
14344type Classifier struct {
14345	_ struct{} `type:"structure"`
14346
14347	// A classifier for comma-separated values (CSV).
14348	CsvClassifier *CsvClassifier `type:"structure"`
14349
14350	// A classifier that uses grok.
14351	GrokClassifier *GrokClassifier `type:"structure"`
14352
14353	// A classifier for JSON content.
14354	JsonClassifier *JsonClassifier `type:"structure"`
14355
14356	// A classifier for XML content.
14357	XMLClassifier *XMLClassifier `type:"structure"`
14358}
14359
14360// String returns the string representation
14361func (s Classifier) String() string {
14362	return awsutil.Prettify(s)
14363}
14364
14365// GoString returns the string representation
14366func (s Classifier) GoString() string {
14367	return s.String()
14368}
14369
14370// SetCsvClassifier sets the CsvClassifier field's value.
14371func (s *Classifier) SetCsvClassifier(v *CsvClassifier) *Classifier {
14372	s.CsvClassifier = v
14373	return s
14374}
14375
14376// SetGrokClassifier sets the GrokClassifier field's value.
14377func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier {
14378	s.GrokClassifier = v
14379	return s
14380}
14381
14382// SetJsonClassifier sets the JsonClassifier field's value.
14383func (s *Classifier) SetJsonClassifier(v *JsonClassifier) *Classifier {
14384	s.JsonClassifier = v
14385	return s
14386}
14387
14388// SetXMLClassifier sets the XMLClassifier field's value.
14389func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier {
14390	s.XMLClassifier = v
14391	return s
14392}
14393
14394// Specifies how Amazon CloudWatch data should be encrypted.
14395type CloudWatchEncryption struct {
14396	_ struct{} `type:"structure"`
14397
14398	// The encryption mode to use for CloudWatch data.
14399	CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"`
14400
14401	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
14402	KmsKeyArn *string `type:"string"`
14403}
14404
14405// String returns the string representation
14406func (s CloudWatchEncryption) String() string {
14407	return awsutil.Prettify(s)
14408}
14409
14410// GoString returns the string representation
14411func (s CloudWatchEncryption) GoString() string {
14412	return s.String()
14413}
14414
14415// SetCloudWatchEncryptionMode sets the CloudWatchEncryptionMode field's value.
14416func (s *CloudWatchEncryption) SetCloudWatchEncryptionMode(v string) *CloudWatchEncryption {
14417	s.CloudWatchEncryptionMode = &v
14418	return s
14419}
14420
14421// SetKmsKeyArn sets the KmsKeyArn field's value.
14422func (s *CloudWatchEncryption) SetKmsKeyArn(v string) *CloudWatchEncryption {
14423	s.KmsKeyArn = &v
14424	return s
14425}
14426
14427// Represents a directional edge in a directed acyclic graph (DAG).
14428type CodeGenEdge struct {
14429	_ struct{} `type:"structure"`
14430
14431	// The ID of the node at which the edge starts.
14432	//
14433	// Source is a required field
14434	Source *string `min:"1" type:"string" required:"true"`
14435
14436	// The ID of the node at which the edge ends.
14437	//
14438	// Target is a required field
14439	Target *string `min:"1" type:"string" required:"true"`
14440
14441	// The target of the edge.
14442	TargetParameter *string `type:"string"`
14443}
14444
14445// String returns the string representation
14446func (s CodeGenEdge) String() string {
14447	return awsutil.Prettify(s)
14448}
14449
14450// GoString returns the string representation
14451func (s CodeGenEdge) GoString() string {
14452	return s.String()
14453}
14454
14455// Validate inspects the fields of the type to determine if they are valid.
14456func (s *CodeGenEdge) Validate() error {
14457	invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"}
14458	if s.Source == nil {
14459		invalidParams.Add(request.NewErrParamRequired("Source"))
14460	}
14461	if s.Source != nil && len(*s.Source) < 1 {
14462		invalidParams.Add(request.NewErrParamMinLen("Source", 1))
14463	}
14464	if s.Target == nil {
14465		invalidParams.Add(request.NewErrParamRequired("Target"))
14466	}
14467	if s.Target != nil && len(*s.Target) < 1 {
14468		invalidParams.Add(request.NewErrParamMinLen("Target", 1))
14469	}
14470
14471	if invalidParams.Len() > 0 {
14472		return invalidParams
14473	}
14474	return nil
14475}
14476
14477// SetSource sets the Source field's value.
14478func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge {
14479	s.Source = &v
14480	return s
14481}
14482
14483// SetTarget sets the Target field's value.
14484func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge {
14485	s.Target = &v
14486	return s
14487}
14488
14489// SetTargetParameter sets the TargetParameter field's value.
14490func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge {
14491	s.TargetParameter = &v
14492	return s
14493}
14494
14495// Represents a node in a directed acyclic graph (DAG)
14496type CodeGenNode struct {
14497	_ struct{} `type:"structure"`
14498
14499	// Properties of the node, in the form of name-value pairs.
14500	//
14501	// Args is a required field
14502	Args []*CodeGenNodeArg `type:"list" required:"true"`
14503
14504	// A node identifier that is unique within the node's graph.
14505	//
14506	// Id is a required field
14507	Id *string `min:"1" type:"string" required:"true"`
14508
14509	// The line number of the node.
14510	LineNumber *int64 `type:"integer"`
14511
14512	// The type of node that this is.
14513	//
14514	// NodeType is a required field
14515	NodeType *string `type:"string" required:"true"`
14516}
14517
14518// String returns the string representation
14519func (s CodeGenNode) String() string {
14520	return awsutil.Prettify(s)
14521}
14522
14523// GoString returns the string representation
14524func (s CodeGenNode) GoString() string {
14525	return s.String()
14526}
14527
14528// Validate inspects the fields of the type to determine if they are valid.
14529func (s *CodeGenNode) Validate() error {
14530	invalidParams := request.ErrInvalidParams{Context: "CodeGenNode"}
14531	if s.Args == nil {
14532		invalidParams.Add(request.NewErrParamRequired("Args"))
14533	}
14534	if s.Id == nil {
14535		invalidParams.Add(request.NewErrParamRequired("Id"))
14536	}
14537	if s.Id != nil && len(*s.Id) < 1 {
14538		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
14539	}
14540	if s.NodeType == nil {
14541		invalidParams.Add(request.NewErrParamRequired("NodeType"))
14542	}
14543	if s.Args != nil {
14544		for i, v := range s.Args {
14545			if v == nil {
14546				continue
14547			}
14548			if err := v.Validate(); err != nil {
14549				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Args", i), err.(request.ErrInvalidParams))
14550			}
14551		}
14552	}
14553
14554	if invalidParams.Len() > 0 {
14555		return invalidParams
14556	}
14557	return nil
14558}
14559
14560// SetArgs sets the Args field's value.
14561func (s *CodeGenNode) SetArgs(v []*CodeGenNodeArg) *CodeGenNode {
14562	s.Args = v
14563	return s
14564}
14565
14566// SetId sets the Id field's value.
14567func (s *CodeGenNode) SetId(v string) *CodeGenNode {
14568	s.Id = &v
14569	return s
14570}
14571
14572// SetLineNumber sets the LineNumber field's value.
14573func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode {
14574	s.LineNumber = &v
14575	return s
14576}
14577
14578// SetNodeType sets the NodeType field's value.
14579func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode {
14580	s.NodeType = &v
14581	return s
14582}
14583
14584// An argument or property of a node.
14585type CodeGenNodeArg struct {
14586	_ struct{} `type:"structure"`
14587
14588	// The name of the argument or property.
14589	//
14590	// Name is a required field
14591	Name *string `type:"string" required:"true"`
14592
14593	// True if the value is used as a parameter.
14594	Param *bool `type:"boolean"`
14595
14596	// The value of the argument or property.
14597	//
14598	// Value is a required field
14599	Value *string `type:"string" required:"true"`
14600}
14601
14602// String returns the string representation
14603func (s CodeGenNodeArg) String() string {
14604	return awsutil.Prettify(s)
14605}
14606
14607// GoString returns the string representation
14608func (s CodeGenNodeArg) GoString() string {
14609	return s.String()
14610}
14611
14612// Validate inspects the fields of the type to determine if they are valid.
14613func (s *CodeGenNodeArg) Validate() error {
14614	invalidParams := request.ErrInvalidParams{Context: "CodeGenNodeArg"}
14615	if s.Name == nil {
14616		invalidParams.Add(request.NewErrParamRequired("Name"))
14617	}
14618	if s.Value == nil {
14619		invalidParams.Add(request.NewErrParamRequired("Value"))
14620	}
14621
14622	if invalidParams.Len() > 0 {
14623		return invalidParams
14624	}
14625	return nil
14626}
14627
14628// SetName sets the Name field's value.
14629func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg {
14630	s.Name = &v
14631	return s
14632}
14633
14634// SetParam sets the Param field's value.
14635func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg {
14636	s.Param = &v
14637	return s
14638}
14639
14640// SetValue sets the Value field's value.
14641func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg {
14642	s.Value = &v
14643	return s
14644}
14645
14646// A column in a Table.
14647type Column struct {
14648	_ struct{} `type:"structure"`
14649
14650	// A free-form text comment.
14651	Comment *string `type:"string"`
14652
14653	// The name of the Column.
14654	//
14655	// Name is a required field
14656	Name *string `min:"1" type:"string" required:"true"`
14657
14658	// These key-value pairs define properties associated with the column.
14659	Parameters map[string]*string `type:"map"`
14660
14661	// The data type of the Column.
14662	Type *string `type:"string"`
14663}
14664
14665// String returns the string representation
14666func (s Column) String() string {
14667	return awsutil.Prettify(s)
14668}
14669
14670// GoString returns the string representation
14671func (s Column) GoString() string {
14672	return s.String()
14673}
14674
14675// Validate inspects the fields of the type to determine if they are valid.
14676func (s *Column) Validate() error {
14677	invalidParams := request.ErrInvalidParams{Context: "Column"}
14678	if s.Name == nil {
14679		invalidParams.Add(request.NewErrParamRequired("Name"))
14680	}
14681	if s.Name != nil && len(*s.Name) < 1 {
14682		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14683	}
14684
14685	if invalidParams.Len() > 0 {
14686		return invalidParams
14687	}
14688	return nil
14689}
14690
14691// SetComment sets the Comment field's value.
14692func (s *Column) SetComment(v string) *Column {
14693	s.Comment = &v
14694	return s
14695}
14696
14697// SetName sets the Name field's value.
14698func (s *Column) SetName(v string) *Column {
14699	s.Name = &v
14700	return s
14701}
14702
14703// SetParameters sets the Parameters field's value.
14704func (s *Column) SetParameters(v map[string]*string) *Column {
14705	s.Parameters = v
14706	return s
14707}
14708
14709// SetType sets the Type field's value.
14710func (s *Column) SetType(v string) *Column {
14711	s.Type = &v
14712	return s
14713}
14714
14715// Two processes are trying to modify a resource simultaneously.
14716type ConcurrentModificationException struct {
14717	_            struct{} `type:"structure"`
14718	respMetadata protocol.ResponseMetadata
14719
14720	// A message describing the problem.
14721	Message_ *string `locationName:"Message" type:"string"`
14722}
14723
14724// String returns the string representation
14725func (s ConcurrentModificationException) String() string {
14726	return awsutil.Prettify(s)
14727}
14728
14729// GoString returns the string representation
14730func (s ConcurrentModificationException) GoString() string {
14731	return s.String()
14732}
14733
14734func newErrorConcurrentModificationException(v protocol.ResponseMetadata) error {
14735	return &ConcurrentModificationException{
14736		respMetadata: v,
14737	}
14738}
14739
14740// Code returns the exception type name.
14741func (s ConcurrentModificationException) Code() string {
14742	return "ConcurrentModificationException"
14743}
14744
14745// Message returns the exception's message.
14746func (s ConcurrentModificationException) Message() string {
14747	if s.Message_ != nil {
14748		return *s.Message_
14749	}
14750	return ""
14751}
14752
14753// OrigErr always returns nil, satisfies awserr.Error interface.
14754func (s ConcurrentModificationException) OrigErr() error {
14755	return nil
14756}
14757
14758func (s ConcurrentModificationException) Error() string {
14759	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
14760}
14761
14762// Status code returns the HTTP status code for the request's response error.
14763func (s ConcurrentModificationException) StatusCode() int {
14764	return s.respMetadata.StatusCode
14765}
14766
14767// RequestID returns the service's response RequestID for request.
14768func (s ConcurrentModificationException) RequestID() string {
14769	return s.respMetadata.RequestID
14770}
14771
14772// Too many jobs are being run concurrently.
14773type ConcurrentRunsExceededException struct {
14774	_            struct{} `type:"structure"`
14775	respMetadata protocol.ResponseMetadata
14776
14777	// A message describing the problem.
14778	Message_ *string `locationName:"Message" type:"string"`
14779}
14780
14781// String returns the string representation
14782func (s ConcurrentRunsExceededException) String() string {
14783	return awsutil.Prettify(s)
14784}
14785
14786// GoString returns the string representation
14787func (s ConcurrentRunsExceededException) GoString() string {
14788	return s.String()
14789}
14790
14791func newErrorConcurrentRunsExceededException(v protocol.ResponseMetadata) error {
14792	return &ConcurrentRunsExceededException{
14793		respMetadata: v,
14794	}
14795}
14796
14797// Code returns the exception type name.
14798func (s ConcurrentRunsExceededException) Code() string {
14799	return "ConcurrentRunsExceededException"
14800}
14801
14802// Message returns the exception's message.
14803func (s ConcurrentRunsExceededException) Message() string {
14804	if s.Message_ != nil {
14805		return *s.Message_
14806	}
14807	return ""
14808}
14809
14810// OrigErr always returns nil, satisfies awserr.Error interface.
14811func (s ConcurrentRunsExceededException) OrigErr() error {
14812	return nil
14813}
14814
14815func (s ConcurrentRunsExceededException) Error() string {
14816	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
14817}
14818
14819// Status code returns the HTTP status code for the request's response error.
14820func (s ConcurrentRunsExceededException) StatusCode() int {
14821	return s.respMetadata.StatusCode
14822}
14823
14824// RequestID returns the service's response RequestID for request.
14825func (s ConcurrentRunsExceededException) RequestID() string {
14826	return s.respMetadata.RequestID
14827}
14828
14829// Defines a condition under which a trigger fires.
14830type Condition struct {
14831	_ struct{} `type:"structure"`
14832
14833	// The state of the crawler to which this condition applies.
14834	CrawlState *string `type:"string" enum:"CrawlState"`
14835
14836	// The name of the crawler to which this condition applies.
14837	CrawlerName *string `min:"1" type:"string"`
14838
14839	// The name of the job whose JobRuns this condition applies to, and on which
14840	// this trigger waits.
14841	JobName *string `min:"1" type:"string"`
14842
14843	// A logical operator.
14844	LogicalOperator *string `type:"string" enum:"LogicalOperator"`
14845
14846	// The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
14847	// TIMEOUT, and FAILED.
14848	State *string `type:"string" enum:"JobRunState"`
14849}
14850
14851// String returns the string representation
14852func (s Condition) String() string {
14853	return awsutil.Prettify(s)
14854}
14855
14856// GoString returns the string representation
14857func (s Condition) GoString() string {
14858	return s.String()
14859}
14860
14861// Validate inspects the fields of the type to determine if they are valid.
14862func (s *Condition) Validate() error {
14863	invalidParams := request.ErrInvalidParams{Context: "Condition"}
14864	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
14865		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
14866	}
14867	if s.JobName != nil && len(*s.JobName) < 1 {
14868		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
14869	}
14870
14871	if invalidParams.Len() > 0 {
14872		return invalidParams
14873	}
14874	return nil
14875}
14876
14877// SetCrawlState sets the CrawlState field's value.
14878func (s *Condition) SetCrawlState(v string) *Condition {
14879	s.CrawlState = &v
14880	return s
14881}
14882
14883// SetCrawlerName sets the CrawlerName field's value.
14884func (s *Condition) SetCrawlerName(v string) *Condition {
14885	s.CrawlerName = &v
14886	return s
14887}
14888
14889// SetJobName sets the JobName field's value.
14890func (s *Condition) SetJobName(v string) *Condition {
14891	s.JobName = &v
14892	return s
14893}
14894
14895// SetLogicalOperator sets the LogicalOperator field's value.
14896func (s *Condition) SetLogicalOperator(v string) *Condition {
14897	s.LogicalOperator = &v
14898	return s
14899}
14900
14901// SetState sets the State field's value.
14902func (s *Condition) SetState(v string) *Condition {
14903	s.State = &v
14904	return s
14905}
14906
14907// A specified condition was not satisfied.
14908type ConditionCheckFailureException struct {
14909	_            struct{} `type:"structure"`
14910	respMetadata protocol.ResponseMetadata
14911
14912	// A message describing the problem.
14913	Message_ *string `locationName:"Message" type:"string"`
14914}
14915
14916// String returns the string representation
14917func (s ConditionCheckFailureException) String() string {
14918	return awsutil.Prettify(s)
14919}
14920
14921// GoString returns the string representation
14922func (s ConditionCheckFailureException) GoString() string {
14923	return s.String()
14924}
14925
14926func newErrorConditionCheckFailureException(v protocol.ResponseMetadata) error {
14927	return &ConditionCheckFailureException{
14928		respMetadata: v,
14929	}
14930}
14931
14932// Code returns the exception type name.
14933func (s ConditionCheckFailureException) Code() string {
14934	return "ConditionCheckFailureException"
14935}
14936
14937// Message returns the exception's message.
14938func (s ConditionCheckFailureException) Message() string {
14939	if s.Message_ != nil {
14940		return *s.Message_
14941	}
14942	return ""
14943}
14944
14945// OrigErr always returns nil, satisfies awserr.Error interface.
14946func (s ConditionCheckFailureException) OrigErr() error {
14947	return nil
14948}
14949
14950func (s ConditionCheckFailureException) Error() string {
14951	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
14952}
14953
14954// Status code returns the HTTP status code for the request's response error.
14955func (s ConditionCheckFailureException) StatusCode() int {
14956	return s.respMetadata.StatusCode
14957}
14958
14959// RequestID returns the service's response RequestID for request.
14960func (s ConditionCheckFailureException) RequestID() string {
14961	return s.respMetadata.RequestID
14962}
14963
14964// The confusion matrix shows you what your transform is predicting accurately
14965// and what types of errors it is making.
14966//
14967// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
14968// in Wikipedia.
14969type ConfusionMatrix struct {
14970	_ struct{} `type:"structure"`
14971
14972	// The number of matches in the data that the transform didn't find, in the
14973	// confusion matrix for your transform.
14974	NumFalseNegatives *int64 `type:"long"`
14975
14976	// The number of nonmatches in the data that the transform incorrectly classified
14977	// as a match, in the confusion matrix for your transform.
14978	NumFalsePositives *int64 `type:"long"`
14979
14980	// The number of nonmatches in the data that the transform correctly rejected,
14981	// in the confusion matrix for your transform.
14982	NumTrueNegatives *int64 `type:"long"`
14983
14984	// The number of matches in the data that the transform correctly found, in
14985	// the confusion matrix for your transform.
14986	NumTruePositives *int64 `type:"long"`
14987}
14988
14989// String returns the string representation
14990func (s ConfusionMatrix) String() string {
14991	return awsutil.Prettify(s)
14992}
14993
14994// GoString returns the string representation
14995func (s ConfusionMatrix) GoString() string {
14996	return s.String()
14997}
14998
14999// SetNumFalseNegatives sets the NumFalseNegatives field's value.
15000func (s *ConfusionMatrix) SetNumFalseNegatives(v int64) *ConfusionMatrix {
15001	s.NumFalseNegatives = &v
15002	return s
15003}
15004
15005// SetNumFalsePositives sets the NumFalsePositives field's value.
15006func (s *ConfusionMatrix) SetNumFalsePositives(v int64) *ConfusionMatrix {
15007	s.NumFalsePositives = &v
15008	return s
15009}
15010
15011// SetNumTrueNegatives sets the NumTrueNegatives field's value.
15012func (s *ConfusionMatrix) SetNumTrueNegatives(v int64) *ConfusionMatrix {
15013	s.NumTrueNegatives = &v
15014	return s
15015}
15016
15017// SetNumTruePositives sets the NumTruePositives field's value.
15018func (s *ConfusionMatrix) SetNumTruePositives(v int64) *ConfusionMatrix {
15019	s.NumTruePositives = &v
15020	return s
15021}
15022
15023// Defines a connection to a data source.
15024type Connection struct {
15025	_ struct{} `type:"structure"`
15026
15027	// These key-value pairs define parameters for the connection:
15028	//
15029	//    * HOST - The host URI: either the fully qualified domain name (FQDN) or
15030	//    the IPv4 address of the database host.
15031	//
15032	//    * PORT - The port number, between 1024 and 65535, of the port on which
15033	//    the database host is listening for database connections.
15034	//
15035	//    * USER_NAME - The name under which to log in to the database. The value
15036	//    string for USER_NAME is "USERNAME".
15037	//
15038	//    * PASSWORD - A password, if one is used, for the user name.
15039	//
15040	//    * ENCRYPTED_PASSWORD - When you enable connection password protection
15041	//    by setting ConnectionPasswordEncryption in the Data Catalog encryption
15042	//    settings, this field stores the encrypted password.
15043	//
15044	//    * JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3)
15045	//    path of the JAR file that contains the JDBC driver to use.
15046	//
15047	//    * JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.
15048	//
15049	//    * JDBC_ENGINE - The name of the JDBC engine to use.
15050	//
15051	//    * JDBC_ENGINE_VERSION - The version of the JDBC engine to use.
15052	//
15053	//    * CONFIG_FILES - (Reserved for future use.)
15054	//
15055	//    * INSTANCE_ID - The instance ID to use.
15056	//
15057	//    * JDBC_CONNECTION_URL - The URL for the JDBC connection.
15058	//
15059	//    * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether
15060	//    Secure Sockets Layer (SSL) with hostname matching is enforced for the
15061	//    JDBC connection on the client. The default is false.
15062	//
15063	//    * CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root
15064	//    certificate. AWS Glue uses this root certificate to validate the customer’s
15065	//    certificate when connecting to the customer database. AWS Glue only handles
15066	//    X.509 certificates. The certificate provided must be DER-encoded and supplied
15067	//    in Base64 encoding PEM format.
15068	//
15069	//    * SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. AWS Glue
15070	//    validates the Signature algorithm and Subject Public Key Algorithm for
15071	//    the customer certificate. The only permitted algorithms for the Signature
15072	//    algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject
15073	//    Public Key Algorithm, the key length must be at least 2048. You can set
15074	//    the value of this property to true to skip AWS Glue’s validation of
15075	//    the customer certificate.
15076	//
15077	//    * CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
15078	//    used for domain match or distinguished name match to prevent a man-in-the-middle
15079	//    attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in
15080	//    Microsoft SQL Server, this is used as the hostNameInCertificate.
15081	ConnectionProperties map[string]*string `type:"map"`
15082
15083	// The type of the connection. Currently, only JDBC is supported; SFTP is not
15084	// supported.
15085	ConnectionType *string `type:"string" enum:"ConnectionType"`
15086
15087	// The time that this connection definition was created.
15088	CreationTime *time.Time `type:"timestamp"`
15089
15090	// The description of the connection.
15091	Description *string `type:"string"`
15092
15093	// The user, group, or role that last updated this connection definition.
15094	LastUpdatedBy *string `min:"1" type:"string"`
15095
15096	// The last time that this connection definition was updated.
15097	LastUpdatedTime *time.Time `type:"timestamp"`
15098
15099	// A list of criteria that can be used in selecting this connection.
15100	MatchCriteria []*string `type:"list"`
15101
15102	// The name of the connection definition.
15103	Name *string `min:"1" type:"string"`
15104
15105	// A map of physical connection requirements, such as virtual private cloud
15106	// (VPC) and SecurityGroup, that are needed to make this connection successfully.
15107	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
15108}
15109
15110// String returns the string representation
15111func (s Connection) String() string {
15112	return awsutil.Prettify(s)
15113}
15114
15115// GoString returns the string representation
15116func (s Connection) GoString() string {
15117	return s.String()
15118}
15119
15120// SetConnectionProperties sets the ConnectionProperties field's value.
15121func (s *Connection) SetConnectionProperties(v map[string]*string) *Connection {
15122	s.ConnectionProperties = v
15123	return s
15124}
15125
15126// SetConnectionType sets the ConnectionType field's value.
15127func (s *Connection) SetConnectionType(v string) *Connection {
15128	s.ConnectionType = &v
15129	return s
15130}
15131
15132// SetCreationTime sets the CreationTime field's value.
15133func (s *Connection) SetCreationTime(v time.Time) *Connection {
15134	s.CreationTime = &v
15135	return s
15136}
15137
15138// SetDescription sets the Description field's value.
15139func (s *Connection) SetDescription(v string) *Connection {
15140	s.Description = &v
15141	return s
15142}
15143
15144// SetLastUpdatedBy sets the LastUpdatedBy field's value.
15145func (s *Connection) SetLastUpdatedBy(v string) *Connection {
15146	s.LastUpdatedBy = &v
15147	return s
15148}
15149
15150// SetLastUpdatedTime sets the LastUpdatedTime field's value.
15151func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection {
15152	s.LastUpdatedTime = &v
15153	return s
15154}
15155
15156// SetMatchCriteria sets the MatchCriteria field's value.
15157func (s *Connection) SetMatchCriteria(v []*string) *Connection {
15158	s.MatchCriteria = v
15159	return s
15160}
15161
15162// SetName sets the Name field's value.
15163func (s *Connection) SetName(v string) *Connection {
15164	s.Name = &v
15165	return s
15166}
15167
15168// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
15169func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection {
15170	s.PhysicalConnectionRequirements = v
15171	return s
15172}
15173
15174// A structure that is used to specify a connection to create or update.
15175type ConnectionInput struct {
15176	_ struct{} `type:"structure"`
15177
15178	// These key-value pairs define parameters for the connection.
15179	//
15180	// ConnectionProperties is a required field
15181	ConnectionProperties map[string]*string `type:"map" required:"true"`
15182
15183	// The type of the connection. Currently, only JDBC is supported; SFTP is not
15184	// supported.
15185	//
15186	// ConnectionType is a required field
15187	ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"`
15188
15189	// The description of the connection.
15190	Description *string `type:"string"`
15191
15192	// A list of criteria that can be used in selecting this connection.
15193	MatchCriteria []*string `type:"list"`
15194
15195	// The name of the connection.
15196	//
15197	// Name is a required field
15198	Name *string `min:"1" type:"string" required:"true"`
15199
15200	// A map of physical connection requirements, such as virtual private cloud
15201	// (VPC) and SecurityGroup, that are needed to successfully make this connection.
15202	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
15203}
15204
15205// String returns the string representation
15206func (s ConnectionInput) String() string {
15207	return awsutil.Prettify(s)
15208}
15209
15210// GoString returns the string representation
15211func (s ConnectionInput) GoString() string {
15212	return s.String()
15213}
15214
15215// Validate inspects the fields of the type to determine if they are valid.
15216func (s *ConnectionInput) Validate() error {
15217	invalidParams := request.ErrInvalidParams{Context: "ConnectionInput"}
15218	if s.ConnectionProperties == nil {
15219		invalidParams.Add(request.NewErrParamRequired("ConnectionProperties"))
15220	}
15221	if s.ConnectionType == nil {
15222		invalidParams.Add(request.NewErrParamRequired("ConnectionType"))
15223	}
15224	if s.Name == nil {
15225		invalidParams.Add(request.NewErrParamRequired("Name"))
15226	}
15227	if s.Name != nil && len(*s.Name) < 1 {
15228		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15229	}
15230	if s.PhysicalConnectionRequirements != nil {
15231		if err := s.PhysicalConnectionRequirements.Validate(); err != nil {
15232			invalidParams.AddNested("PhysicalConnectionRequirements", err.(request.ErrInvalidParams))
15233		}
15234	}
15235
15236	if invalidParams.Len() > 0 {
15237		return invalidParams
15238	}
15239	return nil
15240}
15241
15242// SetConnectionProperties sets the ConnectionProperties field's value.
15243func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput {
15244	s.ConnectionProperties = v
15245	return s
15246}
15247
15248// SetConnectionType sets the ConnectionType field's value.
15249func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput {
15250	s.ConnectionType = &v
15251	return s
15252}
15253
15254// SetDescription sets the Description field's value.
15255func (s *ConnectionInput) SetDescription(v string) *ConnectionInput {
15256	s.Description = &v
15257	return s
15258}
15259
15260// SetMatchCriteria sets the MatchCriteria field's value.
15261func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput {
15262	s.MatchCriteria = v
15263	return s
15264}
15265
15266// SetName sets the Name field's value.
15267func (s *ConnectionInput) SetName(v string) *ConnectionInput {
15268	s.Name = &v
15269	return s
15270}
15271
15272// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
15273func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput {
15274	s.PhysicalConnectionRequirements = v
15275	return s
15276}
15277
15278// The data structure used by the Data Catalog to encrypt the password as part
15279// of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD
15280// field in the connection properties. You can enable catalog encryption or
15281// only password encryption.
15282//
15283// When a CreationConnection request arrives containing a password, the Data
15284// Catalog first encrypts the password using your AWS KMS key. It then encrypts
15285// the whole connection object again if catalog encryption is also enabled.
15286//
15287// This encryption requires that you set AWS KMS key permissions to enable or
15288// restrict access on the password key according to your security requirements.
15289// For example, you might want only administrators to have decrypt permission
15290// on the password key.
15291type ConnectionPasswordEncryption struct {
15292	_ struct{} `type:"structure"`
15293
15294	// An AWS KMS key that is used to encrypt the connection password.
15295	//
15296	// If connection password protection is enabled, the caller of CreateConnection
15297	// and UpdateConnection needs at least kms:Encrypt permission on the specified
15298	// AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
15299	//
15300	// You can set the decrypt permission to enable or restrict access on the password
15301	// key according to your security requirements.
15302	AwsKmsKeyId *string `min:"1" type:"string"`
15303
15304	// When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords
15305	// remain encrypted in the responses of GetConnection and GetConnections. This
15306	// encryption takes effect independently from catalog encryption.
15307	//
15308	// ReturnConnectionPasswordEncrypted is a required field
15309	ReturnConnectionPasswordEncrypted *bool `type:"boolean" required:"true"`
15310}
15311
15312// String returns the string representation
15313func (s ConnectionPasswordEncryption) String() string {
15314	return awsutil.Prettify(s)
15315}
15316
15317// GoString returns the string representation
15318func (s ConnectionPasswordEncryption) GoString() string {
15319	return s.String()
15320}
15321
15322// Validate inspects the fields of the type to determine if they are valid.
15323func (s *ConnectionPasswordEncryption) Validate() error {
15324	invalidParams := request.ErrInvalidParams{Context: "ConnectionPasswordEncryption"}
15325	if s.AwsKmsKeyId != nil && len(*s.AwsKmsKeyId) < 1 {
15326		invalidParams.Add(request.NewErrParamMinLen("AwsKmsKeyId", 1))
15327	}
15328	if s.ReturnConnectionPasswordEncrypted == nil {
15329		invalidParams.Add(request.NewErrParamRequired("ReturnConnectionPasswordEncrypted"))
15330	}
15331
15332	if invalidParams.Len() > 0 {
15333		return invalidParams
15334	}
15335	return nil
15336}
15337
15338// SetAwsKmsKeyId sets the AwsKmsKeyId field's value.
15339func (s *ConnectionPasswordEncryption) SetAwsKmsKeyId(v string) *ConnectionPasswordEncryption {
15340	s.AwsKmsKeyId = &v
15341	return s
15342}
15343
15344// SetReturnConnectionPasswordEncrypted sets the ReturnConnectionPasswordEncrypted field's value.
15345func (s *ConnectionPasswordEncryption) SetReturnConnectionPasswordEncrypted(v bool) *ConnectionPasswordEncryption {
15346	s.ReturnConnectionPasswordEncrypted = &v
15347	return s
15348}
15349
15350// Specifies the connections used by a job.
15351type ConnectionsList struct {
15352	_ struct{} `type:"structure"`
15353
15354	// A list of connections used by the job.
15355	Connections []*string `type:"list"`
15356}
15357
15358// String returns the string representation
15359func (s ConnectionsList) String() string {
15360	return awsutil.Prettify(s)
15361}
15362
15363// GoString returns the string representation
15364func (s ConnectionsList) GoString() string {
15365	return s.String()
15366}
15367
15368// SetConnections sets the Connections field's value.
15369func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList {
15370	s.Connections = v
15371	return s
15372}
15373
15374// The details of a crawl in the workflow.
15375type Crawl struct {
15376	_ struct{} `type:"structure"`
15377
15378	// The date and time on which the crawl completed.
15379	CompletedOn *time.Time `type:"timestamp"`
15380
15381	// The error message associated with the crawl.
15382	ErrorMessage *string `type:"string"`
15383
15384	// The log group associated with the crawl.
15385	LogGroup *string `min:"1" type:"string"`
15386
15387	// The log stream associated with the crawl.
15388	LogStream *string `min:"1" type:"string"`
15389
15390	// The date and time on which the crawl started.
15391	StartedOn *time.Time `type:"timestamp"`
15392
15393	// The state of the crawler.
15394	State *string `type:"string" enum:"CrawlState"`
15395}
15396
15397// String returns the string representation
15398func (s Crawl) String() string {
15399	return awsutil.Prettify(s)
15400}
15401
15402// GoString returns the string representation
15403func (s Crawl) GoString() string {
15404	return s.String()
15405}
15406
15407// SetCompletedOn sets the CompletedOn field's value.
15408func (s *Crawl) SetCompletedOn(v time.Time) *Crawl {
15409	s.CompletedOn = &v
15410	return s
15411}
15412
15413// SetErrorMessage sets the ErrorMessage field's value.
15414func (s *Crawl) SetErrorMessage(v string) *Crawl {
15415	s.ErrorMessage = &v
15416	return s
15417}
15418
15419// SetLogGroup sets the LogGroup field's value.
15420func (s *Crawl) SetLogGroup(v string) *Crawl {
15421	s.LogGroup = &v
15422	return s
15423}
15424
15425// SetLogStream sets the LogStream field's value.
15426func (s *Crawl) SetLogStream(v string) *Crawl {
15427	s.LogStream = &v
15428	return s
15429}
15430
15431// SetStartedOn sets the StartedOn field's value.
15432func (s *Crawl) SetStartedOn(v time.Time) *Crawl {
15433	s.StartedOn = &v
15434	return s
15435}
15436
15437// SetState sets the State field's value.
15438func (s *Crawl) SetState(v string) *Crawl {
15439	s.State = &v
15440	return s
15441}
15442
15443// Specifies a crawler program that examines a data source and uses classifiers
15444// to try to determine its schema. If successful, the crawler records metadata
15445// concerning the data source in the AWS Glue Data Catalog.
15446type Crawler struct {
15447	_ struct{} `type:"structure"`
15448
15449	// A list of UTF-8 strings that specify the custom classifiers that are associated
15450	// with the crawler.
15451	Classifiers []*string `type:"list"`
15452
15453	// Crawler configuration information. This versioned JSON string allows users
15454	// to specify aspects of a crawler's behavior. For more information, see Configuring
15455	// a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
15456	Configuration *string `type:"string"`
15457
15458	// If the crawler is running, contains the total time elapsed since the last
15459	// crawl began.
15460	CrawlElapsedTime *int64 `type:"long"`
15461
15462	// The name of the SecurityConfiguration structure to be used by this crawler.
15463	CrawlerSecurityConfiguration *string `type:"string"`
15464
15465	// The time that the crawler was created.
15466	CreationTime *time.Time `type:"timestamp"`
15467
15468	// The name of the database in which the crawler's output is stored.
15469	DatabaseName *string `type:"string"`
15470
15471	// A description of the crawler.
15472	Description *string `type:"string"`
15473
15474	// The status of the last crawl, and potentially error information if an error
15475	// occurred.
15476	LastCrawl *LastCrawlInfo `type:"structure"`
15477
15478	// The time that the crawler was last updated.
15479	LastUpdated *time.Time `type:"timestamp"`
15480
15481	// The name of the crawler.
15482	Name *string `min:"1" type:"string"`
15483
15484	// The Amazon Resource Name (ARN) of an IAM role that's used to access customer
15485	// resources, such as Amazon Simple Storage Service (Amazon S3) data.
15486	Role *string `type:"string"`
15487
15488	// For scheduled crawlers, the schedule when the crawler runs.
15489	Schedule *Schedule `type:"structure"`
15490
15491	// The policy that specifies update and delete behaviors for the crawler.
15492	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
15493
15494	// Indicates whether the crawler is running, or whether a run is pending.
15495	State *string `type:"string" enum:"CrawlerState"`
15496
15497	// The prefix added to the names of tables that are created.
15498	TablePrefix *string `type:"string"`
15499
15500	// A collection of targets to crawl.
15501	Targets *CrawlerTargets `type:"structure"`
15502
15503	// The version of the crawler.
15504	Version *int64 `type:"long"`
15505}
15506
15507// String returns the string representation
15508func (s Crawler) String() string {
15509	return awsutil.Prettify(s)
15510}
15511
15512// GoString returns the string representation
15513func (s Crawler) GoString() string {
15514	return s.String()
15515}
15516
15517// SetClassifiers sets the Classifiers field's value.
15518func (s *Crawler) SetClassifiers(v []*string) *Crawler {
15519	s.Classifiers = v
15520	return s
15521}
15522
15523// SetConfiguration sets the Configuration field's value.
15524func (s *Crawler) SetConfiguration(v string) *Crawler {
15525	s.Configuration = &v
15526	return s
15527}
15528
15529// SetCrawlElapsedTime sets the CrawlElapsedTime field's value.
15530func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler {
15531	s.CrawlElapsedTime = &v
15532	return s
15533}
15534
15535// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
15536func (s *Crawler) SetCrawlerSecurityConfiguration(v string) *Crawler {
15537	s.CrawlerSecurityConfiguration = &v
15538	return s
15539}
15540
15541// SetCreationTime sets the CreationTime field's value.
15542func (s *Crawler) SetCreationTime(v time.Time) *Crawler {
15543	s.CreationTime = &v
15544	return s
15545}
15546
15547// SetDatabaseName sets the DatabaseName field's value.
15548func (s *Crawler) SetDatabaseName(v string) *Crawler {
15549	s.DatabaseName = &v
15550	return s
15551}
15552
15553// SetDescription sets the Description field's value.
15554func (s *Crawler) SetDescription(v string) *Crawler {
15555	s.Description = &v
15556	return s
15557}
15558
15559// SetLastCrawl sets the LastCrawl field's value.
15560func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler {
15561	s.LastCrawl = v
15562	return s
15563}
15564
15565// SetLastUpdated sets the LastUpdated field's value.
15566func (s *Crawler) SetLastUpdated(v time.Time) *Crawler {
15567	s.LastUpdated = &v
15568	return s
15569}
15570
15571// SetName sets the Name field's value.
15572func (s *Crawler) SetName(v string) *Crawler {
15573	s.Name = &v
15574	return s
15575}
15576
15577// SetRole sets the Role field's value.
15578func (s *Crawler) SetRole(v string) *Crawler {
15579	s.Role = &v
15580	return s
15581}
15582
15583// SetSchedule sets the Schedule field's value.
15584func (s *Crawler) SetSchedule(v *Schedule) *Crawler {
15585	s.Schedule = v
15586	return s
15587}
15588
15589// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
15590func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler {
15591	s.SchemaChangePolicy = v
15592	return s
15593}
15594
15595// SetState sets the State field's value.
15596func (s *Crawler) SetState(v string) *Crawler {
15597	s.State = &v
15598	return s
15599}
15600
15601// SetTablePrefix sets the TablePrefix field's value.
15602func (s *Crawler) SetTablePrefix(v string) *Crawler {
15603	s.TablePrefix = &v
15604	return s
15605}
15606
15607// SetTargets sets the Targets field's value.
15608func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler {
15609	s.Targets = v
15610	return s
15611}
15612
15613// SetVersion sets the Version field's value.
15614func (s *Crawler) SetVersion(v int64) *Crawler {
15615	s.Version = &v
15616	return s
15617}
15618
15619// Metrics for a specified crawler.
15620type CrawlerMetrics struct {
15621	_ struct{} `type:"structure"`
15622
15623	// The name of the crawler.
15624	CrawlerName *string `min:"1" type:"string"`
15625
15626	// The duration of the crawler's most recent run, in seconds.
15627	LastRuntimeSeconds *float64 `type:"double"`
15628
15629	// The median duration of this crawler's runs, in seconds.
15630	MedianRuntimeSeconds *float64 `type:"double"`
15631
15632	// True if the crawler is still estimating how long it will take to complete
15633	// this run.
15634	StillEstimating *bool `type:"boolean"`
15635
15636	// The number of tables created by this crawler.
15637	TablesCreated *int64 `type:"integer"`
15638
15639	// The number of tables deleted by this crawler.
15640	TablesDeleted *int64 `type:"integer"`
15641
15642	// The number of tables updated by this crawler.
15643	TablesUpdated *int64 `type:"integer"`
15644
15645	// The estimated time left to complete a running crawl.
15646	TimeLeftSeconds *float64 `type:"double"`
15647}
15648
15649// String returns the string representation
15650func (s CrawlerMetrics) String() string {
15651	return awsutil.Prettify(s)
15652}
15653
15654// GoString returns the string representation
15655func (s CrawlerMetrics) GoString() string {
15656	return s.String()
15657}
15658
15659// SetCrawlerName sets the CrawlerName field's value.
15660func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics {
15661	s.CrawlerName = &v
15662	return s
15663}
15664
15665// SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value.
15666func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics {
15667	s.LastRuntimeSeconds = &v
15668	return s
15669}
15670
15671// SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value.
15672func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics {
15673	s.MedianRuntimeSeconds = &v
15674	return s
15675}
15676
15677// SetStillEstimating sets the StillEstimating field's value.
15678func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics {
15679	s.StillEstimating = &v
15680	return s
15681}
15682
15683// SetTablesCreated sets the TablesCreated field's value.
15684func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics {
15685	s.TablesCreated = &v
15686	return s
15687}
15688
15689// SetTablesDeleted sets the TablesDeleted field's value.
15690func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics {
15691	s.TablesDeleted = &v
15692	return s
15693}
15694
15695// SetTablesUpdated sets the TablesUpdated field's value.
15696func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics {
15697	s.TablesUpdated = &v
15698	return s
15699}
15700
15701// SetTimeLeftSeconds sets the TimeLeftSeconds field's value.
15702func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics {
15703	s.TimeLeftSeconds = &v
15704	return s
15705}
15706
15707// The details of a Crawler node present in the workflow.
15708type CrawlerNodeDetails struct {
15709	_ struct{} `type:"structure"`
15710
15711	// A list of crawls represented by the crawl node.
15712	Crawls []*Crawl `type:"list"`
15713}
15714
15715// String returns the string representation
15716func (s CrawlerNodeDetails) String() string {
15717	return awsutil.Prettify(s)
15718}
15719
15720// GoString returns the string representation
15721func (s CrawlerNodeDetails) GoString() string {
15722	return s.String()
15723}
15724
15725// SetCrawls sets the Crawls field's value.
15726func (s *CrawlerNodeDetails) SetCrawls(v []*Crawl) *CrawlerNodeDetails {
15727	s.Crawls = v
15728	return s
15729}
15730
15731// The specified crawler is not running.
15732type CrawlerNotRunningException struct {
15733	_            struct{} `type:"structure"`
15734	respMetadata protocol.ResponseMetadata
15735
15736	// A message describing the problem.
15737	Message_ *string `locationName:"Message" type:"string"`
15738}
15739
15740// String returns the string representation
15741func (s CrawlerNotRunningException) String() string {
15742	return awsutil.Prettify(s)
15743}
15744
15745// GoString returns the string representation
15746func (s CrawlerNotRunningException) GoString() string {
15747	return s.String()
15748}
15749
15750func newErrorCrawlerNotRunningException(v protocol.ResponseMetadata) error {
15751	return &CrawlerNotRunningException{
15752		respMetadata: v,
15753	}
15754}
15755
15756// Code returns the exception type name.
15757func (s CrawlerNotRunningException) Code() string {
15758	return "CrawlerNotRunningException"
15759}
15760
15761// Message returns the exception's message.
15762func (s CrawlerNotRunningException) Message() string {
15763	if s.Message_ != nil {
15764		return *s.Message_
15765	}
15766	return ""
15767}
15768
15769// OrigErr always returns nil, satisfies awserr.Error interface.
15770func (s CrawlerNotRunningException) OrigErr() error {
15771	return nil
15772}
15773
15774func (s CrawlerNotRunningException) Error() string {
15775	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
15776}
15777
15778// Status code returns the HTTP status code for the request's response error.
15779func (s CrawlerNotRunningException) StatusCode() int {
15780	return s.respMetadata.StatusCode
15781}
15782
15783// RequestID returns the service's response RequestID for request.
15784func (s CrawlerNotRunningException) RequestID() string {
15785	return s.respMetadata.RequestID
15786}
15787
15788// The operation cannot be performed because the crawler is already running.
15789type CrawlerRunningException struct {
15790	_            struct{} `type:"structure"`
15791	respMetadata protocol.ResponseMetadata
15792
15793	// A message describing the problem.
15794	Message_ *string `locationName:"Message" type:"string"`
15795}
15796
15797// String returns the string representation
15798func (s CrawlerRunningException) String() string {
15799	return awsutil.Prettify(s)
15800}
15801
15802// GoString returns the string representation
15803func (s CrawlerRunningException) GoString() string {
15804	return s.String()
15805}
15806
15807func newErrorCrawlerRunningException(v protocol.ResponseMetadata) error {
15808	return &CrawlerRunningException{
15809		respMetadata: v,
15810	}
15811}
15812
15813// Code returns the exception type name.
15814func (s CrawlerRunningException) Code() string {
15815	return "CrawlerRunningException"
15816}
15817
15818// Message returns the exception's message.
15819func (s CrawlerRunningException) Message() string {
15820	if s.Message_ != nil {
15821		return *s.Message_
15822	}
15823	return ""
15824}
15825
15826// OrigErr always returns nil, satisfies awserr.Error interface.
15827func (s CrawlerRunningException) OrigErr() error {
15828	return nil
15829}
15830
15831func (s CrawlerRunningException) Error() string {
15832	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
15833}
15834
15835// Status code returns the HTTP status code for the request's response error.
15836func (s CrawlerRunningException) StatusCode() int {
15837	return s.respMetadata.StatusCode
15838}
15839
15840// RequestID returns the service's response RequestID for request.
15841func (s CrawlerRunningException) RequestID() string {
15842	return s.respMetadata.RequestID
15843}
15844
15845// The specified crawler is stopping.
15846type CrawlerStoppingException struct {
15847	_            struct{} `type:"structure"`
15848	respMetadata protocol.ResponseMetadata
15849
15850	// A message describing the problem.
15851	Message_ *string `locationName:"Message" type:"string"`
15852}
15853
15854// String returns the string representation
15855func (s CrawlerStoppingException) String() string {
15856	return awsutil.Prettify(s)
15857}
15858
15859// GoString returns the string representation
15860func (s CrawlerStoppingException) GoString() string {
15861	return s.String()
15862}
15863
15864func newErrorCrawlerStoppingException(v protocol.ResponseMetadata) error {
15865	return &CrawlerStoppingException{
15866		respMetadata: v,
15867	}
15868}
15869
15870// Code returns the exception type name.
15871func (s CrawlerStoppingException) Code() string {
15872	return "CrawlerStoppingException"
15873}
15874
15875// Message returns the exception's message.
15876func (s CrawlerStoppingException) Message() string {
15877	if s.Message_ != nil {
15878		return *s.Message_
15879	}
15880	return ""
15881}
15882
15883// OrigErr always returns nil, satisfies awserr.Error interface.
15884func (s CrawlerStoppingException) OrigErr() error {
15885	return nil
15886}
15887
15888func (s CrawlerStoppingException) Error() string {
15889	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
15890}
15891
15892// Status code returns the HTTP status code for the request's response error.
15893func (s CrawlerStoppingException) StatusCode() int {
15894	return s.respMetadata.StatusCode
15895}
15896
15897// RequestID returns the service's response RequestID for request.
15898func (s CrawlerStoppingException) RequestID() string {
15899	return s.respMetadata.RequestID
15900}
15901
15902// Specifies data stores to crawl.
15903type CrawlerTargets struct {
15904	_ struct{} `type:"structure"`
15905
15906	// Specifies AWS Glue Data Catalog targets.
15907	CatalogTargets []*CatalogTarget `type:"list"`
15908
15909	// Specifies Amazon DynamoDB targets.
15910	DynamoDBTargets []*DynamoDBTarget `type:"list"`
15911
15912	// Specifies JDBC targets.
15913	JdbcTargets []*JdbcTarget `type:"list"`
15914
15915	// Specifies Amazon Simple Storage Service (Amazon S3) targets.
15916	S3Targets []*S3Target `type:"list"`
15917}
15918
15919// String returns the string representation
15920func (s CrawlerTargets) String() string {
15921	return awsutil.Prettify(s)
15922}
15923
15924// GoString returns the string representation
15925func (s CrawlerTargets) GoString() string {
15926	return s.String()
15927}
15928
15929// Validate inspects the fields of the type to determine if they are valid.
15930func (s *CrawlerTargets) Validate() error {
15931	invalidParams := request.ErrInvalidParams{Context: "CrawlerTargets"}
15932	if s.CatalogTargets != nil {
15933		for i, v := range s.CatalogTargets {
15934			if v == nil {
15935				continue
15936			}
15937			if err := v.Validate(); err != nil {
15938				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CatalogTargets", i), err.(request.ErrInvalidParams))
15939			}
15940		}
15941	}
15942
15943	if invalidParams.Len() > 0 {
15944		return invalidParams
15945	}
15946	return nil
15947}
15948
15949// SetCatalogTargets sets the CatalogTargets field's value.
15950func (s *CrawlerTargets) SetCatalogTargets(v []*CatalogTarget) *CrawlerTargets {
15951	s.CatalogTargets = v
15952	return s
15953}
15954
15955// SetDynamoDBTargets sets the DynamoDBTargets field's value.
15956func (s *CrawlerTargets) SetDynamoDBTargets(v []*DynamoDBTarget) *CrawlerTargets {
15957	s.DynamoDBTargets = v
15958	return s
15959}
15960
15961// SetJdbcTargets sets the JdbcTargets field's value.
15962func (s *CrawlerTargets) SetJdbcTargets(v []*JdbcTarget) *CrawlerTargets {
15963	s.JdbcTargets = v
15964	return s
15965}
15966
15967// SetS3Targets sets the S3Targets field's value.
15968func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets {
15969	s.S3Targets = v
15970	return s
15971}
15972
15973type CreateClassifierInput struct {
15974	_ struct{} `type:"structure"`
15975
15976	// A CsvClassifier object specifying the classifier to create.
15977	CsvClassifier *CreateCsvClassifierRequest `type:"structure"`
15978
15979	// A GrokClassifier object specifying the classifier to create.
15980	GrokClassifier *CreateGrokClassifierRequest `type:"structure"`
15981
15982	// A JsonClassifier object specifying the classifier to create.
15983	JsonClassifier *CreateJsonClassifierRequest `type:"structure"`
15984
15985	// An XMLClassifier object specifying the classifier to create.
15986	XMLClassifier *CreateXMLClassifierRequest `type:"structure"`
15987}
15988
15989// String returns the string representation
15990func (s CreateClassifierInput) String() string {
15991	return awsutil.Prettify(s)
15992}
15993
15994// GoString returns the string representation
15995func (s CreateClassifierInput) GoString() string {
15996	return s.String()
15997}
15998
15999// Validate inspects the fields of the type to determine if they are valid.
16000func (s *CreateClassifierInput) Validate() error {
16001	invalidParams := request.ErrInvalidParams{Context: "CreateClassifierInput"}
16002	if s.CsvClassifier != nil {
16003		if err := s.CsvClassifier.Validate(); err != nil {
16004			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
16005		}
16006	}
16007	if s.GrokClassifier != nil {
16008		if err := s.GrokClassifier.Validate(); err != nil {
16009			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
16010		}
16011	}
16012	if s.JsonClassifier != nil {
16013		if err := s.JsonClassifier.Validate(); err != nil {
16014			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
16015		}
16016	}
16017	if s.XMLClassifier != nil {
16018		if err := s.XMLClassifier.Validate(); err != nil {
16019			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
16020		}
16021	}
16022
16023	if invalidParams.Len() > 0 {
16024		return invalidParams
16025	}
16026	return nil
16027}
16028
16029// SetCsvClassifier sets the CsvClassifier field's value.
16030func (s *CreateClassifierInput) SetCsvClassifier(v *CreateCsvClassifierRequest) *CreateClassifierInput {
16031	s.CsvClassifier = v
16032	return s
16033}
16034
16035// SetGrokClassifier sets the GrokClassifier field's value.
16036func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput {
16037	s.GrokClassifier = v
16038	return s
16039}
16040
16041// SetJsonClassifier sets the JsonClassifier field's value.
16042func (s *CreateClassifierInput) SetJsonClassifier(v *CreateJsonClassifierRequest) *CreateClassifierInput {
16043	s.JsonClassifier = v
16044	return s
16045}
16046
16047// SetXMLClassifier sets the XMLClassifier field's value.
16048func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput {
16049	s.XMLClassifier = v
16050	return s
16051}
16052
16053type CreateClassifierOutput struct {
16054	_ struct{} `type:"structure"`
16055}
16056
16057// String returns the string representation
16058func (s CreateClassifierOutput) String() string {
16059	return awsutil.Prettify(s)
16060}
16061
16062// GoString returns the string representation
16063func (s CreateClassifierOutput) GoString() string {
16064	return s.String()
16065}
16066
16067type CreateConnectionInput struct {
16068	_ struct{} `type:"structure"`
16069
16070	// The ID of the Data Catalog in which to create the connection. If none is
16071	// provided, the AWS account ID is used by default.
16072	CatalogId *string `min:"1" type:"string"`
16073
16074	// A ConnectionInput object defining the connection to create.
16075	//
16076	// ConnectionInput is a required field
16077	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
16078}
16079
16080// String returns the string representation
16081func (s CreateConnectionInput) String() string {
16082	return awsutil.Prettify(s)
16083}
16084
16085// GoString returns the string representation
16086func (s CreateConnectionInput) GoString() string {
16087	return s.String()
16088}
16089
16090// Validate inspects the fields of the type to determine if they are valid.
16091func (s *CreateConnectionInput) Validate() error {
16092	invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"}
16093	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16094		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16095	}
16096	if s.ConnectionInput == nil {
16097		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
16098	}
16099	if s.ConnectionInput != nil {
16100		if err := s.ConnectionInput.Validate(); err != nil {
16101			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
16102		}
16103	}
16104
16105	if invalidParams.Len() > 0 {
16106		return invalidParams
16107	}
16108	return nil
16109}
16110
16111// SetCatalogId sets the CatalogId field's value.
16112func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput {
16113	s.CatalogId = &v
16114	return s
16115}
16116
16117// SetConnectionInput sets the ConnectionInput field's value.
16118func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput {
16119	s.ConnectionInput = v
16120	return s
16121}
16122
16123type CreateConnectionOutput struct {
16124	_ struct{} `type:"structure"`
16125}
16126
16127// String returns the string representation
16128func (s CreateConnectionOutput) String() string {
16129	return awsutil.Prettify(s)
16130}
16131
16132// GoString returns the string representation
16133func (s CreateConnectionOutput) GoString() string {
16134	return s.String()
16135}
16136
16137type CreateCrawlerInput struct {
16138	_ struct{} `type:"structure"`
16139
16140	// A list of custom classifiers that the user has registered. By default, all
16141	// built-in classifiers are included in a crawl, but these custom classifiers
16142	// always override the default classifiers for a given classification.
16143	Classifiers []*string `type:"list"`
16144
16145	// The crawler configuration information. This versioned JSON string allows
16146	// users to specify aspects of a crawler's behavior. For more information, see
16147	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
16148	Configuration *string `type:"string"`
16149
16150	// The name of the SecurityConfiguration structure to be used by this crawler.
16151	CrawlerSecurityConfiguration *string `type:"string"`
16152
16153	// The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*.
16154	DatabaseName *string `type:"string"`
16155
16156	// A description of the new crawler.
16157	Description *string `type:"string"`
16158
16159	// Name of the new crawler.
16160	//
16161	// Name is a required field
16162	Name *string `min:"1" type:"string" required:"true"`
16163
16164	// The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new
16165	// crawler to access customer resources.
16166	//
16167	// Role is a required field
16168	Role *string `type:"string" required:"true"`
16169
16170	// A cron expression used to specify the schedule. For more information, see
16171	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
16172	// For example, to run something every day at 12:15 UTC, specify cron(15 12
16173	// * * ? *).
16174	Schedule *string `type:"string"`
16175
16176	// The policy for the crawler's update and deletion behavior.
16177	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
16178
16179	// The table prefix used for catalog tables that are created.
16180	TablePrefix *string `type:"string"`
16181
16182	// The tags to use with this crawler request. You can use tags to limit access
16183	// to the crawler. For more information, see AWS Tags in AWS Glue (http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
16184	Tags map[string]*string `type:"map"`
16185
16186	// A list of collection of targets to crawl.
16187	//
16188	// Targets is a required field
16189	Targets *CrawlerTargets `type:"structure" required:"true"`
16190}
16191
16192// String returns the string representation
16193func (s CreateCrawlerInput) String() string {
16194	return awsutil.Prettify(s)
16195}
16196
16197// GoString returns the string representation
16198func (s CreateCrawlerInput) GoString() string {
16199	return s.String()
16200}
16201
16202// Validate inspects the fields of the type to determine if they are valid.
16203func (s *CreateCrawlerInput) Validate() error {
16204	invalidParams := request.ErrInvalidParams{Context: "CreateCrawlerInput"}
16205	if s.Name == nil {
16206		invalidParams.Add(request.NewErrParamRequired("Name"))
16207	}
16208	if s.Name != nil && len(*s.Name) < 1 {
16209		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16210	}
16211	if s.Role == nil {
16212		invalidParams.Add(request.NewErrParamRequired("Role"))
16213	}
16214	if s.Targets == nil {
16215		invalidParams.Add(request.NewErrParamRequired("Targets"))
16216	}
16217	if s.Targets != nil {
16218		if err := s.Targets.Validate(); err != nil {
16219			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
16220		}
16221	}
16222
16223	if invalidParams.Len() > 0 {
16224		return invalidParams
16225	}
16226	return nil
16227}
16228
16229// SetClassifiers sets the Classifiers field's value.
16230func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput {
16231	s.Classifiers = v
16232	return s
16233}
16234
16235// SetConfiguration sets the Configuration field's value.
16236func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput {
16237	s.Configuration = &v
16238	return s
16239}
16240
16241// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
16242func (s *CreateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *CreateCrawlerInput {
16243	s.CrawlerSecurityConfiguration = &v
16244	return s
16245}
16246
16247// SetDatabaseName sets the DatabaseName field's value.
16248func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput {
16249	s.DatabaseName = &v
16250	return s
16251}
16252
16253// SetDescription sets the Description field's value.
16254func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput {
16255	s.Description = &v
16256	return s
16257}
16258
16259// SetName sets the Name field's value.
16260func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput {
16261	s.Name = &v
16262	return s
16263}
16264
16265// SetRole sets the Role field's value.
16266func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput {
16267	s.Role = &v
16268	return s
16269}
16270
16271// SetSchedule sets the Schedule field's value.
16272func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput {
16273	s.Schedule = &v
16274	return s
16275}
16276
16277// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
16278func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput {
16279	s.SchemaChangePolicy = v
16280	return s
16281}
16282
16283// SetTablePrefix sets the TablePrefix field's value.
16284func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput {
16285	s.TablePrefix = &v
16286	return s
16287}
16288
16289// SetTags sets the Tags field's value.
16290func (s *CreateCrawlerInput) SetTags(v map[string]*string) *CreateCrawlerInput {
16291	s.Tags = v
16292	return s
16293}
16294
16295// SetTargets sets the Targets field's value.
16296func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput {
16297	s.Targets = v
16298	return s
16299}
16300
16301type CreateCrawlerOutput struct {
16302	_ struct{} `type:"structure"`
16303}
16304
16305// String returns the string representation
16306func (s CreateCrawlerOutput) String() string {
16307	return awsutil.Prettify(s)
16308}
16309
16310// GoString returns the string representation
16311func (s CreateCrawlerOutput) GoString() string {
16312	return s.String()
16313}
16314
16315// Specifies a custom CSV classifier for CreateClassifier to create.
16316type CreateCsvClassifierRequest struct {
16317	_ struct{} `type:"structure"`
16318
16319	// Enables the processing of files that contain only one column.
16320	AllowSingleColumn *bool `type:"boolean"`
16321
16322	// Indicates whether the CSV file contains a header.
16323	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
16324
16325	// A custom symbol to denote what separates each column entry in the row.
16326	Delimiter *string `min:"1" type:"string"`
16327
16328	// Specifies not to trim values before identifying the type of column values.
16329	// The default value is true.
16330	DisableValueTrimming *bool `type:"boolean"`
16331
16332	// A list of strings representing column names.
16333	Header []*string `type:"list"`
16334
16335	// The name of the classifier.
16336	//
16337	// Name is a required field
16338	Name *string `min:"1" type:"string" required:"true"`
16339
16340	// A custom symbol to denote what combines content into a single column value.
16341	// Must be different from the column delimiter.
16342	QuoteSymbol *string `min:"1" type:"string"`
16343}
16344
16345// String returns the string representation
16346func (s CreateCsvClassifierRequest) String() string {
16347	return awsutil.Prettify(s)
16348}
16349
16350// GoString returns the string representation
16351func (s CreateCsvClassifierRequest) GoString() string {
16352	return s.String()
16353}
16354
16355// Validate inspects the fields of the type to determine if they are valid.
16356func (s *CreateCsvClassifierRequest) Validate() error {
16357	invalidParams := request.ErrInvalidParams{Context: "CreateCsvClassifierRequest"}
16358	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
16359		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
16360	}
16361	if s.Name == nil {
16362		invalidParams.Add(request.NewErrParamRequired("Name"))
16363	}
16364	if s.Name != nil && len(*s.Name) < 1 {
16365		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16366	}
16367	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
16368		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
16369	}
16370
16371	if invalidParams.Len() > 0 {
16372		return invalidParams
16373	}
16374	return nil
16375}
16376
16377// SetAllowSingleColumn sets the AllowSingleColumn field's value.
16378func (s *CreateCsvClassifierRequest) SetAllowSingleColumn(v bool) *CreateCsvClassifierRequest {
16379	s.AllowSingleColumn = &v
16380	return s
16381}
16382
16383// SetContainsHeader sets the ContainsHeader field's value.
16384func (s *CreateCsvClassifierRequest) SetContainsHeader(v string) *CreateCsvClassifierRequest {
16385	s.ContainsHeader = &v
16386	return s
16387}
16388
16389// SetDelimiter sets the Delimiter field's value.
16390func (s *CreateCsvClassifierRequest) SetDelimiter(v string) *CreateCsvClassifierRequest {
16391	s.Delimiter = &v
16392	return s
16393}
16394
16395// SetDisableValueTrimming sets the DisableValueTrimming field's value.
16396func (s *CreateCsvClassifierRequest) SetDisableValueTrimming(v bool) *CreateCsvClassifierRequest {
16397	s.DisableValueTrimming = &v
16398	return s
16399}
16400
16401// SetHeader sets the Header field's value.
16402func (s *CreateCsvClassifierRequest) SetHeader(v []*string) *CreateCsvClassifierRequest {
16403	s.Header = v
16404	return s
16405}
16406
16407// SetName sets the Name field's value.
16408func (s *CreateCsvClassifierRequest) SetName(v string) *CreateCsvClassifierRequest {
16409	s.Name = &v
16410	return s
16411}
16412
16413// SetQuoteSymbol sets the QuoteSymbol field's value.
16414func (s *CreateCsvClassifierRequest) SetQuoteSymbol(v string) *CreateCsvClassifierRequest {
16415	s.QuoteSymbol = &v
16416	return s
16417}
16418
16419type CreateDatabaseInput struct {
16420	_ struct{} `type:"structure"`
16421
16422	// The ID of the Data Catalog in which to create the database. If none is provided,
16423	// the AWS account ID is used by default.
16424	CatalogId *string `min:"1" type:"string"`
16425
16426	// The metadata for the database.
16427	//
16428	// DatabaseInput is a required field
16429	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
16430}
16431
16432// String returns the string representation
16433func (s CreateDatabaseInput) String() string {
16434	return awsutil.Prettify(s)
16435}
16436
16437// GoString returns the string representation
16438func (s CreateDatabaseInput) GoString() string {
16439	return s.String()
16440}
16441
16442// Validate inspects the fields of the type to determine if they are valid.
16443func (s *CreateDatabaseInput) Validate() error {
16444	invalidParams := request.ErrInvalidParams{Context: "CreateDatabaseInput"}
16445	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16446		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16447	}
16448	if s.DatabaseInput == nil {
16449		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
16450	}
16451	if s.DatabaseInput != nil {
16452		if err := s.DatabaseInput.Validate(); err != nil {
16453			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
16454		}
16455	}
16456
16457	if invalidParams.Len() > 0 {
16458		return invalidParams
16459	}
16460	return nil
16461}
16462
16463// SetCatalogId sets the CatalogId field's value.
16464func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput {
16465	s.CatalogId = &v
16466	return s
16467}
16468
16469// SetDatabaseInput sets the DatabaseInput field's value.
16470func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput {
16471	s.DatabaseInput = v
16472	return s
16473}
16474
16475type CreateDatabaseOutput struct {
16476	_ struct{} `type:"structure"`
16477}
16478
16479// String returns the string representation
16480func (s CreateDatabaseOutput) String() string {
16481	return awsutil.Prettify(s)
16482}
16483
16484// GoString returns the string representation
16485func (s CreateDatabaseOutput) GoString() string {
16486	return s.String()
16487}
16488
16489type CreateDevEndpointInput struct {
16490	_ struct{} `type:"structure"`
16491
16492	// A map of arguments used to configure the DevEndpoint.
16493	Arguments map[string]*string `type:"map"`
16494
16495	// The name to be assigned to the new DevEndpoint.
16496	//
16497	// EndpointName is a required field
16498	EndpointName *string `type:"string" required:"true"`
16499
16500	// The path to one or more Java .jar files in an S3 bucket that should be loaded
16501	// in your DevEndpoint.
16502	ExtraJarsS3Path *string `type:"string"`
16503
16504	// The paths to one or more Python libraries in an Amazon S3 bucket that should
16505	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
16506	// by a comma.
16507	//
16508	// You can only use pure Python libraries with a DevEndpoint. Libraries that
16509	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
16510	// data analysis library, are not yet supported.
16511	ExtraPythonLibsS3Path *string `type:"string"`
16512
16513	// Glue version determines the versions of Apache Spark and Python that AWS
16514	// Glue supports. The Python version indicates the version supported for running
16515	// your ETL scripts on development endpoints.
16516	//
16517	// For more information about the available AWS Glue versions and corresponding
16518	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
16519	// in the developer guide.
16520	//
16521	// Development endpoints that are created without specifying a Glue version
16522	// default to Glue 0.9.
16523	//
16524	// You can specify a version of Python support for development endpoints by
16525	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
16526	// APIs. If no arguments are provided, the version defaults to Python 2.
16527	GlueVersion *string `min:"1" type:"string"`
16528
16529	// The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.
16530	NumberOfNodes *int64 `type:"integer"`
16531
16532	// The number of workers of a defined workerType that are allocated to the development
16533	// endpoint.
16534	//
16535	// The maximum number of workers you can define are 299 for G.1X, and 149 for
16536	// G.2X.
16537	NumberOfWorkers *int64 `type:"integer"`
16538
16539	// The public key to be used by this DevEndpoint for authentication. This attribute
16540	// is provided for backward compatibility because the recommended attribute
16541	// to use is public keys.
16542	PublicKey *string `type:"string"`
16543
16544	// A list of public keys to be used by the development endpoints for authentication.
16545	// The use of this attribute is preferred over a single public key because the
16546	// public keys allow you to have a different private key per client.
16547	//
16548	// If you previously created an endpoint with a public key, you must remove
16549	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
16550	// API with the public key content in the deletePublicKeys attribute, and the
16551	// list of new keys in the addPublicKeys attribute.
16552	PublicKeys []*string `type:"list"`
16553
16554	// The IAM role for the DevEndpoint.
16555	//
16556	// RoleArn is a required field
16557	RoleArn *string `type:"string" required:"true"`
16558
16559	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
16560	SecurityConfiguration *string `min:"1" type:"string"`
16561
16562	// Security group IDs for the security groups to be used by the new DevEndpoint.
16563	SecurityGroupIds []*string `type:"list"`
16564
16565	// The subnet ID for the new DevEndpoint to use.
16566	SubnetId *string `type:"string"`
16567
16568	// The tags to use with this DevEndpoint. You may use tags to limit access to
16569	// the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags
16570	// in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
16571	// in the developer guide.
16572	Tags map[string]*string `type:"map"`
16573
16574	// The type of predefined worker that is allocated to the development endpoint.
16575	// Accepts a value of Standard, G.1X, or G.2X.
16576	//
16577	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
16578	//    memory and a 50GB disk, and 2 executors per worker.
16579	//
16580	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
16581	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
16582	//    this worker type for memory-intensive jobs.
16583	//
16584	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
16585	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
16586	//    this worker type for memory-intensive jobs.
16587	//
16588	// Known issue: when a development endpoint is created with the G.2X WorkerType
16589	// configuration, the Spark drivers for the development endpoint will run on
16590	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
16591	WorkerType *string `type:"string" enum:"WorkerType"`
16592}
16593
16594// String returns the string representation
16595func (s CreateDevEndpointInput) String() string {
16596	return awsutil.Prettify(s)
16597}
16598
16599// GoString returns the string representation
16600func (s CreateDevEndpointInput) GoString() string {
16601	return s.String()
16602}
16603
16604// Validate inspects the fields of the type to determine if they are valid.
16605func (s *CreateDevEndpointInput) Validate() error {
16606	invalidParams := request.ErrInvalidParams{Context: "CreateDevEndpointInput"}
16607	if s.EndpointName == nil {
16608		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
16609	}
16610	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
16611		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
16612	}
16613	if s.RoleArn == nil {
16614		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
16615	}
16616	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
16617		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
16618	}
16619
16620	if invalidParams.Len() > 0 {
16621		return invalidParams
16622	}
16623	return nil
16624}
16625
16626// SetArguments sets the Arguments field's value.
16627func (s *CreateDevEndpointInput) SetArguments(v map[string]*string) *CreateDevEndpointInput {
16628	s.Arguments = v
16629	return s
16630}
16631
16632// SetEndpointName sets the EndpointName field's value.
16633func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput {
16634	s.EndpointName = &v
16635	return s
16636}
16637
16638// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
16639func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput {
16640	s.ExtraJarsS3Path = &v
16641	return s
16642}
16643
16644// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
16645func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput {
16646	s.ExtraPythonLibsS3Path = &v
16647	return s
16648}
16649
16650// SetGlueVersion sets the GlueVersion field's value.
16651func (s *CreateDevEndpointInput) SetGlueVersion(v string) *CreateDevEndpointInput {
16652	s.GlueVersion = &v
16653	return s
16654}
16655
16656// SetNumberOfNodes sets the NumberOfNodes field's value.
16657func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput {
16658	s.NumberOfNodes = &v
16659	return s
16660}
16661
16662// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16663func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput {
16664	s.NumberOfWorkers = &v
16665	return s
16666}
16667
16668// SetPublicKey sets the PublicKey field's value.
16669func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput {
16670	s.PublicKey = &v
16671	return s
16672}
16673
16674// SetPublicKeys sets the PublicKeys field's value.
16675func (s *CreateDevEndpointInput) SetPublicKeys(v []*string) *CreateDevEndpointInput {
16676	s.PublicKeys = v
16677	return s
16678}
16679
16680// SetRoleArn sets the RoleArn field's value.
16681func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput {
16682	s.RoleArn = &v
16683	return s
16684}
16685
16686// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16687func (s *CreateDevEndpointInput) SetSecurityConfiguration(v string) *CreateDevEndpointInput {
16688	s.SecurityConfiguration = &v
16689	return s
16690}
16691
16692// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16693func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []*string) *CreateDevEndpointInput {
16694	s.SecurityGroupIds = v
16695	return s
16696}
16697
16698// SetSubnetId sets the SubnetId field's value.
16699func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput {
16700	s.SubnetId = &v
16701	return s
16702}
16703
16704// SetTags sets the Tags field's value.
16705func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpointInput {
16706	s.Tags = v
16707	return s
16708}
16709
16710// SetWorkerType sets the WorkerType field's value.
16711func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput {
16712	s.WorkerType = &v
16713	return s
16714}
16715
16716type CreateDevEndpointOutput struct {
16717	_ struct{} `type:"structure"`
16718
16719	// The map of arguments used to configure this DevEndpoint.
16720	//
16721	// Valid arguments are:
16722	//
16723	//    * "--enable-glue-datacatalog": ""
16724	//
16725	//    * "GLUE_PYTHON_VERSION": "3"
16726	//
16727	//    * "GLUE_PYTHON_VERSION": "2"
16728	//
16729	// You can specify a version of Python support for development endpoints by
16730	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
16731	// APIs. If no arguments are provided, the version defaults to Python 2.
16732	Arguments map[string]*string `type:"map"`
16733
16734	// The AWS Availability Zone where this DevEndpoint is located.
16735	AvailabilityZone *string `type:"string"`
16736
16737	// The point in time at which this DevEndpoint was created.
16738	CreatedTimestamp *time.Time `type:"timestamp"`
16739
16740	// The name assigned to the new DevEndpoint.
16741	EndpointName *string `type:"string"`
16742
16743	// Path to one or more Java .jar files in an S3 bucket that will be loaded in
16744	// your DevEndpoint.
16745	ExtraJarsS3Path *string `type:"string"`
16746
16747	// The paths to one or more Python libraries in an S3 bucket that will be loaded
16748	// in your DevEndpoint.
16749	ExtraPythonLibsS3Path *string `type:"string"`
16750
16751	// The reason for a current failure in this DevEndpoint.
16752	FailureReason *string `type:"string"`
16753
16754	// Glue version determines the versions of Apache Spark and Python that AWS
16755	// Glue supports. The Python version indicates the version supported for running
16756	// your ETL scripts on development endpoints.
16757	GlueVersion *string `min:"1" type:"string"`
16758
16759	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
16760	NumberOfNodes *int64 `type:"integer"`
16761
16762	// The number of workers of a defined workerType that are allocated to the development
16763	// endpoint.
16764	NumberOfWorkers *int64 `type:"integer"`
16765
16766	// The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint.
16767	RoleArn *string `type:"string"`
16768
16769	// The name of the SecurityConfiguration structure being used with this DevEndpoint.
16770	SecurityConfiguration *string `min:"1" type:"string"`
16771
16772	// The security groups assigned to the new DevEndpoint.
16773	SecurityGroupIds []*string `type:"list"`
16774
16775	// The current status of the new DevEndpoint.
16776	Status *string `type:"string"`
16777
16778	// The subnet ID assigned to the new DevEndpoint.
16779	SubnetId *string `type:"string"`
16780
16781	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
16782	VpcId *string `type:"string"`
16783
16784	// The type of predefined worker that is allocated to the development endpoint.
16785	// May be a value of Standard, G.1X, or G.2X.
16786	WorkerType *string `type:"string" enum:"WorkerType"`
16787
16788	// The address of the YARN endpoint used by this DevEndpoint.
16789	YarnEndpointAddress *string `type:"string"`
16790
16791	// The Apache Zeppelin port for the remote Apache Spark interpreter.
16792	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
16793}
16794
16795// String returns the string representation
16796func (s CreateDevEndpointOutput) String() string {
16797	return awsutil.Prettify(s)
16798}
16799
16800// GoString returns the string representation
16801func (s CreateDevEndpointOutput) GoString() string {
16802	return s.String()
16803}
16804
16805// SetArguments sets the Arguments field's value.
16806func (s *CreateDevEndpointOutput) SetArguments(v map[string]*string) *CreateDevEndpointOutput {
16807	s.Arguments = v
16808	return s
16809}
16810
16811// SetAvailabilityZone sets the AvailabilityZone field's value.
16812func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput {
16813	s.AvailabilityZone = &v
16814	return s
16815}
16816
16817// SetCreatedTimestamp sets the CreatedTimestamp field's value.
16818func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput {
16819	s.CreatedTimestamp = &v
16820	return s
16821}
16822
16823// SetEndpointName sets the EndpointName field's value.
16824func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput {
16825	s.EndpointName = &v
16826	return s
16827}
16828
16829// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
16830func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput {
16831	s.ExtraJarsS3Path = &v
16832	return s
16833}
16834
16835// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
16836func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput {
16837	s.ExtraPythonLibsS3Path = &v
16838	return s
16839}
16840
16841// SetFailureReason sets the FailureReason field's value.
16842func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput {
16843	s.FailureReason = &v
16844	return s
16845}
16846
16847// SetGlueVersion sets the GlueVersion field's value.
16848func (s *CreateDevEndpointOutput) SetGlueVersion(v string) *CreateDevEndpointOutput {
16849	s.GlueVersion = &v
16850	return s
16851}
16852
16853// SetNumberOfNodes sets the NumberOfNodes field's value.
16854func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput {
16855	s.NumberOfNodes = &v
16856	return s
16857}
16858
16859// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16860func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput {
16861	s.NumberOfWorkers = &v
16862	return s
16863}
16864
16865// SetRoleArn sets the RoleArn field's value.
16866func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput {
16867	s.RoleArn = &v
16868	return s
16869}
16870
16871// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16872func (s *CreateDevEndpointOutput) SetSecurityConfiguration(v string) *CreateDevEndpointOutput {
16873	s.SecurityConfiguration = &v
16874	return s
16875}
16876
16877// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16878func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []*string) *CreateDevEndpointOutput {
16879	s.SecurityGroupIds = v
16880	return s
16881}
16882
16883// SetStatus sets the Status field's value.
16884func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput {
16885	s.Status = &v
16886	return s
16887}
16888
16889// SetSubnetId sets the SubnetId field's value.
16890func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput {
16891	s.SubnetId = &v
16892	return s
16893}
16894
16895// SetVpcId sets the VpcId field's value.
16896func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput {
16897	s.VpcId = &v
16898	return s
16899}
16900
16901// SetWorkerType sets the WorkerType field's value.
16902func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput {
16903	s.WorkerType = &v
16904	return s
16905}
16906
16907// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
16908func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput {
16909	s.YarnEndpointAddress = &v
16910	return s
16911}
16912
16913// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
16914func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput {
16915	s.ZeppelinRemoteSparkInterpreterPort = &v
16916	return s
16917}
16918
16919// Specifies a grok classifier for CreateClassifier to create.
16920type CreateGrokClassifierRequest struct {
16921	_ struct{} `type:"structure"`
16922
16923	// An identifier of the data format that the classifier matches, such as Twitter,
16924	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
16925	//
16926	// Classification is a required field
16927	Classification *string `type:"string" required:"true"`
16928
16929	// Optional custom grok patterns used by this classifier.
16930	CustomPatterns *string `type:"string"`
16931
16932	// The grok pattern used by this classifier.
16933	//
16934	// GrokPattern is a required field
16935	GrokPattern *string `min:"1" type:"string" required:"true"`
16936
16937	// The name of the new classifier.
16938	//
16939	// Name is a required field
16940	Name *string `min:"1" type:"string" required:"true"`
16941}
16942
16943// String returns the string representation
16944func (s CreateGrokClassifierRequest) String() string {
16945	return awsutil.Prettify(s)
16946}
16947
16948// GoString returns the string representation
16949func (s CreateGrokClassifierRequest) GoString() string {
16950	return s.String()
16951}
16952
16953// Validate inspects the fields of the type to determine if they are valid.
16954func (s *CreateGrokClassifierRequest) Validate() error {
16955	invalidParams := request.ErrInvalidParams{Context: "CreateGrokClassifierRequest"}
16956	if s.Classification == nil {
16957		invalidParams.Add(request.NewErrParamRequired("Classification"))
16958	}
16959	if s.GrokPattern == nil {
16960		invalidParams.Add(request.NewErrParamRequired("GrokPattern"))
16961	}
16962	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
16963		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
16964	}
16965	if s.Name == nil {
16966		invalidParams.Add(request.NewErrParamRequired("Name"))
16967	}
16968	if s.Name != nil && len(*s.Name) < 1 {
16969		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16970	}
16971
16972	if invalidParams.Len() > 0 {
16973		return invalidParams
16974	}
16975	return nil
16976}
16977
16978// SetClassification sets the Classification field's value.
16979func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest {
16980	s.Classification = &v
16981	return s
16982}
16983
16984// SetCustomPatterns sets the CustomPatterns field's value.
16985func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest {
16986	s.CustomPatterns = &v
16987	return s
16988}
16989
16990// SetGrokPattern sets the GrokPattern field's value.
16991func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest {
16992	s.GrokPattern = &v
16993	return s
16994}
16995
16996// SetName sets the Name field's value.
16997func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest {
16998	s.Name = &v
16999	return s
17000}
17001
17002type CreateJobInput struct {
17003	_ struct{} `type:"structure"`
17004
17005	// This parameter is deprecated. Use MaxCapacity instead.
17006	//
17007	// The number of AWS Glue data processing units (DPUs) to allocate to this Job.
17008	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
17009	// measure of processing power that consists of 4 vCPUs of compute capacity
17010	// and 16 GB of memory. For more information, see the AWS Glue pricing page
17011	// (https://aws.amazon.com/glue/pricing/).
17012	//
17013	// Deprecated: This property is deprecated, use MaxCapacity instead.
17014	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
17015
17016	// The JobCommand that executes this job.
17017	//
17018	// Command is a required field
17019	Command *JobCommand `type:"structure" required:"true"`
17020
17021	// The connections used for this job.
17022	Connections *ConnectionsList `type:"structure"`
17023
17024	// The default arguments for this job.
17025	//
17026	// You can specify arguments here that your own job-execution script consumes,
17027	// as well as arguments that AWS Glue itself consumes.
17028	//
17029	// For information about how to specify and consume your own Job arguments,
17030	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
17031	// topic in the developer guide.
17032	//
17033	// For information about the key-value pairs that AWS Glue consumes to set up
17034	// 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)
17035	// topic in the developer guide.
17036	DefaultArguments map[string]*string `type:"map"`
17037
17038	// Description of the job being defined.
17039	Description *string `type:"string"`
17040
17041	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
17042	// for this job.
17043	ExecutionProperty *ExecutionProperty `type:"structure"`
17044
17045	// Glue version determines the versions of Apache Spark and Python that AWS
17046	// Glue supports. The Python version indicates the version supported for jobs
17047	// of type Spark.
17048	//
17049	// For more information about the available AWS Glue versions and corresponding
17050	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
17051	// in the developer guide.
17052	//
17053	// Jobs that are created without specifying a Glue version default to Glue 0.9.
17054	GlueVersion *string `min:"1" type:"string"`
17055
17056	// This field is reserved for future use.
17057	LogUri *string `type:"string"`
17058
17059	// The number of AWS Glue data processing units (DPUs) that can be allocated
17060	// when this job runs. A DPU is a relative measure of processing power that
17061	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
17062	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
17063	//
17064	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
17065	//
17066	// The value that can be allocated for MaxCapacity depends on whether you are
17067	// running a Python shell job or an Apache Spark ETL job:
17068	//
17069	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
17070	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
17071	//
17072	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
17073	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
17074	//    type cannot have a fractional DPU allocation.
17075	MaxCapacity *float64 `type:"double"`
17076
17077	// The maximum number of times to retry this job if it fails.
17078	MaxRetries *int64 `type:"integer"`
17079
17080	// The name you assign to this job definition. It must be unique in your account.
17081	//
17082	// Name is a required field
17083	Name *string `min:"1" type:"string" required:"true"`
17084
17085	// Non-overridable arguments for this job, specified as name-value pairs.
17086	NonOverridableArguments map[string]*string `type:"map"`
17087
17088	// Specifies configuration properties of a job notification.
17089	NotificationProperty *NotificationProperty `type:"structure"`
17090
17091	// The number of workers of a defined workerType that are allocated when a job
17092	// runs.
17093	//
17094	// The maximum number of workers you can define are 299 for G.1X, and 149 for
17095	// G.2X.
17096	NumberOfWorkers *int64 `type:"integer"`
17097
17098	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
17099	// job.
17100	//
17101	// Role is a required field
17102	Role *string `type:"string" required:"true"`
17103
17104	// The name of the SecurityConfiguration structure to be used with this job.
17105	SecurityConfiguration *string `min:"1" type:"string"`
17106
17107	// The tags to use with this job. You may use tags to limit access to the job.
17108	// 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)
17109	// in the developer guide.
17110	Tags map[string]*string `type:"map"`
17111
17112	// The job timeout in minutes. This is the maximum time that a job run can consume
17113	// resources before it is terminated and enters TIMEOUT status. The default
17114	// is 2,880 minutes (48 hours).
17115	Timeout *int64 `min:"1" type:"integer"`
17116
17117	// The type of predefined worker that is allocated when a job runs. Accepts
17118	// a value of Standard, G.1X, or G.2X.
17119	//
17120	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
17121	//    memory and a 50GB disk, and 2 executors per worker.
17122	//
17123	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
17124	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
17125	//    this worker type for memory-intensive jobs.
17126	//
17127	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
17128	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
17129	//    this worker type for memory-intensive jobs.
17130	WorkerType *string `type:"string" enum:"WorkerType"`
17131}
17132
17133// String returns the string representation
17134func (s CreateJobInput) String() string {
17135	return awsutil.Prettify(s)
17136}
17137
17138// GoString returns the string representation
17139func (s CreateJobInput) GoString() string {
17140	return s.String()
17141}
17142
17143// Validate inspects the fields of the type to determine if they are valid.
17144func (s *CreateJobInput) Validate() error {
17145	invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"}
17146	if s.Command == nil {
17147		invalidParams.Add(request.NewErrParamRequired("Command"))
17148	}
17149	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
17150		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
17151	}
17152	if s.Name == nil {
17153		invalidParams.Add(request.NewErrParamRequired("Name"))
17154	}
17155	if s.Name != nil && len(*s.Name) < 1 {
17156		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17157	}
17158	if s.Role == nil {
17159		invalidParams.Add(request.NewErrParamRequired("Role"))
17160	}
17161	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
17162		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
17163	}
17164	if s.Timeout != nil && *s.Timeout < 1 {
17165		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
17166	}
17167	if s.NotificationProperty != nil {
17168		if err := s.NotificationProperty.Validate(); err != nil {
17169			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
17170		}
17171	}
17172
17173	if invalidParams.Len() > 0 {
17174		return invalidParams
17175	}
17176	return nil
17177}
17178
17179// SetAllocatedCapacity sets the AllocatedCapacity field's value.
17180func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput {
17181	s.AllocatedCapacity = &v
17182	return s
17183}
17184
17185// SetCommand sets the Command field's value.
17186func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput {
17187	s.Command = v
17188	return s
17189}
17190
17191// SetConnections sets the Connections field's value.
17192func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput {
17193	s.Connections = v
17194	return s
17195}
17196
17197// SetDefaultArguments sets the DefaultArguments field's value.
17198func (s *CreateJobInput) SetDefaultArguments(v map[string]*string) *CreateJobInput {
17199	s.DefaultArguments = v
17200	return s
17201}
17202
17203// SetDescription sets the Description field's value.
17204func (s *CreateJobInput) SetDescription(v string) *CreateJobInput {
17205	s.Description = &v
17206	return s
17207}
17208
17209// SetExecutionProperty sets the ExecutionProperty field's value.
17210func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput {
17211	s.ExecutionProperty = v
17212	return s
17213}
17214
17215// SetGlueVersion sets the GlueVersion field's value.
17216func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput {
17217	s.GlueVersion = &v
17218	return s
17219}
17220
17221// SetLogUri sets the LogUri field's value.
17222func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput {
17223	s.LogUri = &v
17224	return s
17225}
17226
17227// SetMaxCapacity sets the MaxCapacity field's value.
17228func (s *CreateJobInput) SetMaxCapacity(v float64) *CreateJobInput {
17229	s.MaxCapacity = &v
17230	return s
17231}
17232
17233// SetMaxRetries sets the MaxRetries field's value.
17234func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput {
17235	s.MaxRetries = &v
17236	return s
17237}
17238
17239// SetName sets the Name field's value.
17240func (s *CreateJobInput) SetName(v string) *CreateJobInput {
17241	s.Name = &v
17242	return s
17243}
17244
17245// SetNonOverridableArguments sets the NonOverridableArguments field's value.
17246func (s *CreateJobInput) SetNonOverridableArguments(v map[string]*string) *CreateJobInput {
17247	s.NonOverridableArguments = v
17248	return s
17249}
17250
17251// SetNotificationProperty sets the NotificationProperty field's value.
17252func (s *CreateJobInput) SetNotificationProperty(v *NotificationProperty) *CreateJobInput {
17253	s.NotificationProperty = v
17254	return s
17255}
17256
17257// SetNumberOfWorkers sets the NumberOfWorkers field's value.
17258func (s *CreateJobInput) SetNumberOfWorkers(v int64) *CreateJobInput {
17259	s.NumberOfWorkers = &v
17260	return s
17261}
17262
17263// SetRole sets the Role field's value.
17264func (s *CreateJobInput) SetRole(v string) *CreateJobInput {
17265	s.Role = &v
17266	return s
17267}
17268
17269// SetSecurityConfiguration sets the SecurityConfiguration field's value.
17270func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput {
17271	s.SecurityConfiguration = &v
17272	return s
17273}
17274
17275// SetTags sets the Tags field's value.
17276func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput {
17277	s.Tags = v
17278	return s
17279}
17280
17281// SetTimeout sets the Timeout field's value.
17282func (s *CreateJobInput) SetTimeout(v int64) *CreateJobInput {
17283	s.Timeout = &v
17284	return s
17285}
17286
17287// SetWorkerType sets the WorkerType field's value.
17288func (s *CreateJobInput) SetWorkerType(v string) *CreateJobInput {
17289	s.WorkerType = &v
17290	return s
17291}
17292
17293type CreateJobOutput struct {
17294	_ struct{} `type:"structure"`
17295
17296	// The unique name that was provided for this job definition.
17297	Name *string `min:"1" type:"string"`
17298}
17299
17300// String returns the string representation
17301func (s CreateJobOutput) String() string {
17302	return awsutil.Prettify(s)
17303}
17304
17305// GoString returns the string representation
17306func (s CreateJobOutput) GoString() string {
17307	return s.String()
17308}
17309
17310// SetName sets the Name field's value.
17311func (s *CreateJobOutput) SetName(v string) *CreateJobOutput {
17312	s.Name = &v
17313	return s
17314}
17315
17316// Specifies a JSON classifier for CreateClassifier to create.
17317type CreateJsonClassifierRequest struct {
17318	_ struct{} `type:"structure"`
17319
17320	// A JsonPath string defining the JSON data for the classifier to classify.
17321	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
17322	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
17323	//
17324	// JsonPath is a required field
17325	JsonPath *string `type:"string" required:"true"`
17326
17327	// The name of the classifier.
17328	//
17329	// Name is a required field
17330	Name *string `min:"1" type:"string" required:"true"`
17331}
17332
17333// String returns the string representation
17334func (s CreateJsonClassifierRequest) String() string {
17335	return awsutil.Prettify(s)
17336}
17337
17338// GoString returns the string representation
17339func (s CreateJsonClassifierRequest) GoString() string {
17340	return s.String()
17341}
17342
17343// Validate inspects the fields of the type to determine if they are valid.
17344func (s *CreateJsonClassifierRequest) Validate() error {
17345	invalidParams := request.ErrInvalidParams{Context: "CreateJsonClassifierRequest"}
17346	if s.JsonPath == nil {
17347		invalidParams.Add(request.NewErrParamRequired("JsonPath"))
17348	}
17349	if s.Name == nil {
17350		invalidParams.Add(request.NewErrParamRequired("Name"))
17351	}
17352	if s.Name != nil && len(*s.Name) < 1 {
17353		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17354	}
17355
17356	if invalidParams.Len() > 0 {
17357		return invalidParams
17358	}
17359	return nil
17360}
17361
17362// SetJsonPath sets the JsonPath field's value.
17363func (s *CreateJsonClassifierRequest) SetJsonPath(v string) *CreateJsonClassifierRequest {
17364	s.JsonPath = &v
17365	return s
17366}
17367
17368// SetName sets the Name field's value.
17369func (s *CreateJsonClassifierRequest) SetName(v string) *CreateJsonClassifierRequest {
17370	s.Name = &v
17371	return s
17372}
17373
17374type CreateMLTransformInput struct {
17375	_ struct{} `type:"structure"`
17376
17377	// A description of the machine learning transform that is being defined. The
17378	// default is an empty string.
17379	Description *string `type:"string"`
17380
17381	// This value determines which version of AWS Glue this machine learning transform
17382	// is compatible with. Glue 1.0 is recommended for most customers. If the value
17383	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
17384	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
17385	// in the developer guide.
17386	GlueVersion *string `min:"1" type:"string"`
17387
17388	// A list of AWS Glue table definitions used by the transform.
17389	//
17390	// InputRecordTables is a required field
17391	InputRecordTables []*Table `type:"list" required:"true"`
17392
17393	// The number of AWS Glue data processing units (DPUs) that are allocated to
17394	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
17395	// is 10. A DPU is a relative measure of processing power that consists of 4
17396	// vCPUs of compute capacity and 16 GB of memory. For more information, see
17397	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
17398	//
17399	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
17400	//
17401	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
17402	//    be set.
17403	//
17404	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
17405	//    be set.
17406	//
17407	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
17408	//
17409	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
17410	//
17411	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
17412	// field is set automatically and becomes read-only.
17413	//
17414	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
17415	// field is set automatically and becomes read-only.
17416	MaxCapacity *float64 `type:"double"`
17417
17418	// The maximum number of times to retry a task for this transform after a task
17419	// run fails.
17420	MaxRetries *int64 `type:"integer"`
17421
17422	// The unique name that you give the transform when you create it.
17423	//
17424	// Name is a required field
17425	Name *string `min:"1" type:"string" required:"true"`
17426
17427	// The number of workers of a defined workerType that are allocated when this
17428	// task runs.
17429	//
17430	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
17431	NumberOfWorkers *int64 `type:"integer"`
17432
17433	// The algorithmic parameters that are specific to the transform type used.
17434	// Conditionally dependent on the transform type.
17435	//
17436	// Parameters is a required field
17437	Parameters *TransformParameters `type:"structure" required:"true"`
17438
17439	// The name or Amazon Resource Name (ARN) of the IAM role with the required
17440	// permissions. The required permissions include both AWS Glue service role
17441	// permissions to AWS Glue resources, and Amazon S3 permissions required by
17442	// the transform.
17443	//
17444	//    * This role needs AWS Glue service role permissions to allow access to
17445	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
17446	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
17447	//
17448	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
17449	//    S3) sources, targets, temporary directory, scripts, and any libraries
17450	//    used by the task run for this transform.
17451	//
17452	// Role is a required field
17453	Role *string `type:"string" required:"true"`
17454
17455	// The tags to use with this machine learning transform. You may use tags to
17456	// limit access to the machine learning transform. For more information about
17457	// tags in AWS Glue, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
17458	// in the developer guide.
17459	Tags map[string]*string `type:"map"`
17460
17461	// The timeout of the task run for this transform in minutes. This is the maximum
17462	// time that a task run for this transform can consume resources before it is
17463	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
17464	Timeout *int64 `min:"1" type:"integer"`
17465
17466	// The type of predefined worker that is allocated when this task runs. Accepts
17467	// a value of Standard, G.1X, or G.2X.
17468	//
17469	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
17470	//    memory and a 50GB disk, and 2 executors per worker.
17471	//
17472	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
17473	//    and a 64GB disk, and 1 executor per worker.
17474	//
17475	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
17476	//    and a 128GB disk, and 1 executor per worker.
17477	//
17478	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
17479	//
17480	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
17481	//    be set.
17482	//
17483	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
17484	//    be set.
17485	//
17486	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
17487	//
17488	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
17489	WorkerType *string `type:"string" enum:"WorkerType"`
17490}
17491
17492// String returns the string representation
17493func (s CreateMLTransformInput) String() string {
17494	return awsutil.Prettify(s)
17495}
17496
17497// GoString returns the string representation
17498func (s CreateMLTransformInput) GoString() string {
17499	return s.String()
17500}
17501
17502// Validate inspects the fields of the type to determine if they are valid.
17503func (s *CreateMLTransformInput) Validate() error {
17504	invalidParams := request.ErrInvalidParams{Context: "CreateMLTransformInput"}
17505	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
17506		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
17507	}
17508	if s.InputRecordTables == nil {
17509		invalidParams.Add(request.NewErrParamRequired("InputRecordTables"))
17510	}
17511	if s.Name == nil {
17512		invalidParams.Add(request.NewErrParamRequired("Name"))
17513	}
17514	if s.Name != nil && len(*s.Name) < 1 {
17515		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17516	}
17517	if s.Parameters == nil {
17518		invalidParams.Add(request.NewErrParamRequired("Parameters"))
17519	}
17520	if s.Role == nil {
17521		invalidParams.Add(request.NewErrParamRequired("Role"))
17522	}
17523	if s.Timeout != nil && *s.Timeout < 1 {
17524		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
17525	}
17526	if s.InputRecordTables != nil {
17527		for i, v := range s.InputRecordTables {
17528			if v == nil {
17529				continue
17530			}
17531			if err := v.Validate(); err != nil {
17532				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputRecordTables", i), err.(request.ErrInvalidParams))
17533			}
17534		}
17535	}
17536	if s.Parameters != nil {
17537		if err := s.Parameters.Validate(); err != nil {
17538			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
17539		}
17540	}
17541
17542	if invalidParams.Len() > 0 {
17543		return invalidParams
17544	}
17545	return nil
17546}
17547
17548// SetDescription sets the Description field's value.
17549func (s *CreateMLTransformInput) SetDescription(v string) *CreateMLTransformInput {
17550	s.Description = &v
17551	return s
17552}
17553
17554// SetGlueVersion sets the GlueVersion field's value.
17555func (s *CreateMLTransformInput) SetGlueVersion(v string) *CreateMLTransformInput {
17556	s.GlueVersion = &v
17557	return s
17558}
17559
17560// SetInputRecordTables sets the InputRecordTables field's value.
17561func (s *CreateMLTransformInput) SetInputRecordTables(v []*Table) *CreateMLTransformInput {
17562	s.InputRecordTables = v
17563	return s
17564}
17565
17566// SetMaxCapacity sets the MaxCapacity field's value.
17567func (s *CreateMLTransformInput) SetMaxCapacity(v float64) *CreateMLTransformInput {
17568	s.MaxCapacity = &v
17569	return s
17570}
17571
17572// SetMaxRetries sets the MaxRetries field's value.
17573func (s *CreateMLTransformInput) SetMaxRetries(v int64) *CreateMLTransformInput {
17574	s.MaxRetries = &v
17575	return s
17576}
17577
17578// SetName sets the Name field's value.
17579func (s *CreateMLTransformInput) SetName(v string) *CreateMLTransformInput {
17580	s.Name = &v
17581	return s
17582}
17583
17584// SetNumberOfWorkers sets the NumberOfWorkers field's value.
17585func (s *CreateMLTransformInput) SetNumberOfWorkers(v int64) *CreateMLTransformInput {
17586	s.NumberOfWorkers = &v
17587	return s
17588}
17589
17590// SetParameters sets the Parameters field's value.
17591func (s *CreateMLTransformInput) SetParameters(v *TransformParameters) *CreateMLTransformInput {
17592	s.Parameters = v
17593	return s
17594}
17595
17596// SetRole sets the Role field's value.
17597func (s *CreateMLTransformInput) SetRole(v string) *CreateMLTransformInput {
17598	s.Role = &v
17599	return s
17600}
17601
17602// SetTags sets the Tags field's value.
17603func (s *CreateMLTransformInput) SetTags(v map[string]*string) *CreateMLTransformInput {
17604	s.Tags = v
17605	return s
17606}
17607
17608// SetTimeout sets the Timeout field's value.
17609func (s *CreateMLTransformInput) SetTimeout(v int64) *CreateMLTransformInput {
17610	s.Timeout = &v
17611	return s
17612}
17613
17614// SetWorkerType sets the WorkerType field's value.
17615func (s *CreateMLTransformInput) SetWorkerType(v string) *CreateMLTransformInput {
17616	s.WorkerType = &v
17617	return s
17618}
17619
17620type CreateMLTransformOutput struct {
17621	_ struct{} `type:"structure"`
17622
17623	// A unique identifier that is generated for the transform.
17624	TransformId *string `min:"1" type:"string"`
17625}
17626
17627// String returns the string representation
17628func (s CreateMLTransformOutput) String() string {
17629	return awsutil.Prettify(s)
17630}
17631
17632// GoString returns the string representation
17633func (s CreateMLTransformOutput) GoString() string {
17634	return s.String()
17635}
17636
17637// SetTransformId sets the TransformId field's value.
17638func (s *CreateMLTransformOutput) SetTransformId(v string) *CreateMLTransformOutput {
17639	s.TransformId = &v
17640	return s
17641}
17642
17643type CreatePartitionInput struct {
17644	_ struct{} `type:"structure"`
17645
17646	// The AWS account ID of the catalog in which the partition is to be created.
17647	CatalogId *string `min:"1" type:"string"`
17648
17649	// The name of the metadata database in which the partition is to be created.
17650	//
17651	// DatabaseName is a required field
17652	DatabaseName *string `min:"1" type:"string" required:"true"`
17653
17654	// A PartitionInput structure defining the partition to be created.
17655	//
17656	// PartitionInput is a required field
17657	PartitionInput *PartitionInput `type:"structure" required:"true"`
17658
17659	// The name of the metadata table in which the partition is to be created.
17660	//
17661	// TableName is a required field
17662	TableName *string `min:"1" type:"string" required:"true"`
17663}
17664
17665// String returns the string representation
17666func (s CreatePartitionInput) String() string {
17667	return awsutil.Prettify(s)
17668}
17669
17670// GoString returns the string representation
17671func (s CreatePartitionInput) GoString() string {
17672	return s.String()
17673}
17674
17675// Validate inspects the fields of the type to determine if they are valid.
17676func (s *CreatePartitionInput) Validate() error {
17677	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"}
17678	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17679		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17680	}
17681	if s.DatabaseName == nil {
17682		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17683	}
17684	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17685		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17686	}
17687	if s.PartitionInput == nil {
17688		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
17689	}
17690	if s.TableName == nil {
17691		invalidParams.Add(request.NewErrParamRequired("TableName"))
17692	}
17693	if s.TableName != nil && len(*s.TableName) < 1 {
17694		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
17695	}
17696	if s.PartitionInput != nil {
17697		if err := s.PartitionInput.Validate(); err != nil {
17698			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
17699		}
17700	}
17701
17702	if invalidParams.Len() > 0 {
17703		return invalidParams
17704	}
17705	return nil
17706}
17707
17708// SetCatalogId sets the CatalogId field's value.
17709func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput {
17710	s.CatalogId = &v
17711	return s
17712}
17713
17714// SetDatabaseName sets the DatabaseName field's value.
17715func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput {
17716	s.DatabaseName = &v
17717	return s
17718}
17719
17720// SetPartitionInput sets the PartitionInput field's value.
17721func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput {
17722	s.PartitionInput = v
17723	return s
17724}
17725
17726// SetTableName sets the TableName field's value.
17727func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput {
17728	s.TableName = &v
17729	return s
17730}
17731
17732type CreatePartitionOutput struct {
17733	_ struct{} `type:"structure"`
17734}
17735
17736// String returns the string representation
17737func (s CreatePartitionOutput) String() string {
17738	return awsutil.Prettify(s)
17739}
17740
17741// GoString returns the string representation
17742func (s CreatePartitionOutput) GoString() string {
17743	return s.String()
17744}
17745
17746type CreateScriptInput struct {
17747	_ struct{} `type:"structure"`
17748
17749	// A list of the edges in the DAG.
17750	DagEdges []*CodeGenEdge `type:"list"`
17751
17752	// A list of the nodes in the DAG.
17753	DagNodes []*CodeGenNode `type:"list"`
17754
17755	// The programming language of the resulting code from the DAG.
17756	Language *string `type:"string" enum:"Language"`
17757}
17758
17759// String returns the string representation
17760func (s CreateScriptInput) String() string {
17761	return awsutil.Prettify(s)
17762}
17763
17764// GoString returns the string representation
17765func (s CreateScriptInput) GoString() string {
17766	return s.String()
17767}
17768
17769// Validate inspects the fields of the type to determine if they are valid.
17770func (s *CreateScriptInput) Validate() error {
17771	invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"}
17772	if s.DagEdges != nil {
17773		for i, v := range s.DagEdges {
17774			if v == nil {
17775				continue
17776			}
17777			if err := v.Validate(); err != nil {
17778				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams))
17779			}
17780		}
17781	}
17782	if s.DagNodes != nil {
17783		for i, v := range s.DagNodes {
17784			if v == nil {
17785				continue
17786			}
17787			if err := v.Validate(); err != nil {
17788				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams))
17789			}
17790		}
17791	}
17792
17793	if invalidParams.Len() > 0 {
17794		return invalidParams
17795	}
17796	return nil
17797}
17798
17799// SetDagEdges sets the DagEdges field's value.
17800func (s *CreateScriptInput) SetDagEdges(v []*CodeGenEdge) *CreateScriptInput {
17801	s.DagEdges = v
17802	return s
17803}
17804
17805// SetDagNodes sets the DagNodes field's value.
17806func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput {
17807	s.DagNodes = v
17808	return s
17809}
17810
17811// SetLanguage sets the Language field's value.
17812func (s *CreateScriptInput) SetLanguage(v string) *CreateScriptInput {
17813	s.Language = &v
17814	return s
17815}
17816
17817type CreateScriptOutput struct {
17818	_ struct{} `type:"structure"`
17819
17820	// The Python script generated from the DAG.
17821	PythonScript *string `type:"string"`
17822
17823	// The Scala code generated from the DAG.
17824	ScalaCode *string `type:"string"`
17825}
17826
17827// String returns the string representation
17828func (s CreateScriptOutput) String() string {
17829	return awsutil.Prettify(s)
17830}
17831
17832// GoString returns the string representation
17833func (s CreateScriptOutput) GoString() string {
17834	return s.String()
17835}
17836
17837// SetPythonScript sets the PythonScript field's value.
17838func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput {
17839	s.PythonScript = &v
17840	return s
17841}
17842
17843// SetScalaCode sets the ScalaCode field's value.
17844func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput {
17845	s.ScalaCode = &v
17846	return s
17847}
17848
17849type CreateSecurityConfigurationInput struct {
17850	_ struct{} `type:"structure"`
17851
17852	// The encryption configuration for the new security configuration.
17853	//
17854	// EncryptionConfiguration is a required field
17855	EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
17856
17857	// The name for the new security configuration.
17858	//
17859	// Name is a required field
17860	Name *string `min:"1" type:"string" required:"true"`
17861}
17862
17863// String returns the string representation
17864func (s CreateSecurityConfigurationInput) String() string {
17865	return awsutil.Prettify(s)
17866}
17867
17868// GoString returns the string representation
17869func (s CreateSecurityConfigurationInput) GoString() string {
17870	return s.String()
17871}
17872
17873// Validate inspects the fields of the type to determine if they are valid.
17874func (s *CreateSecurityConfigurationInput) Validate() error {
17875	invalidParams := request.ErrInvalidParams{Context: "CreateSecurityConfigurationInput"}
17876	if s.EncryptionConfiguration == nil {
17877		invalidParams.Add(request.NewErrParamRequired("EncryptionConfiguration"))
17878	}
17879	if s.Name == nil {
17880		invalidParams.Add(request.NewErrParamRequired("Name"))
17881	}
17882	if s.Name != nil && len(*s.Name) < 1 {
17883		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17884	}
17885
17886	if invalidParams.Len() > 0 {
17887		return invalidParams
17888	}
17889	return nil
17890}
17891
17892// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
17893func (s *CreateSecurityConfigurationInput) SetEncryptionConfiguration(v *EncryptionConfiguration) *CreateSecurityConfigurationInput {
17894	s.EncryptionConfiguration = v
17895	return s
17896}
17897
17898// SetName sets the Name field's value.
17899func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput {
17900	s.Name = &v
17901	return s
17902}
17903
17904type CreateSecurityConfigurationOutput struct {
17905	_ struct{} `type:"structure"`
17906
17907	// The time at which the new security configuration was created.
17908	CreatedTimestamp *time.Time `type:"timestamp"`
17909
17910	// The name assigned to the new security configuration.
17911	Name *string `min:"1" type:"string"`
17912}
17913
17914// String returns the string representation
17915func (s CreateSecurityConfigurationOutput) String() string {
17916	return awsutil.Prettify(s)
17917}
17918
17919// GoString returns the string representation
17920func (s CreateSecurityConfigurationOutput) GoString() string {
17921	return s.String()
17922}
17923
17924// SetCreatedTimestamp sets the CreatedTimestamp field's value.
17925func (s *CreateSecurityConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateSecurityConfigurationOutput {
17926	s.CreatedTimestamp = &v
17927	return s
17928}
17929
17930// SetName sets the Name field's value.
17931func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput {
17932	s.Name = &v
17933	return s
17934}
17935
17936type CreateTableInput struct {
17937	_ struct{} `type:"structure"`
17938
17939	// The ID of the Data Catalog in which to create the Table. If none is supplied,
17940	// the AWS account ID is used by default.
17941	CatalogId *string `min:"1" type:"string"`
17942
17943	// The catalog database in which to create the new table. For Hive compatibility,
17944	// this name is entirely lowercase.
17945	//
17946	// DatabaseName is a required field
17947	DatabaseName *string `min:"1" type:"string" required:"true"`
17948
17949	// The TableInput object that defines the metadata table to create in the catalog.
17950	//
17951	// TableInput is a required field
17952	TableInput *TableInput `type:"structure" required:"true"`
17953}
17954
17955// String returns the string representation
17956func (s CreateTableInput) String() string {
17957	return awsutil.Prettify(s)
17958}
17959
17960// GoString returns the string representation
17961func (s CreateTableInput) GoString() string {
17962	return s.String()
17963}
17964
17965// Validate inspects the fields of the type to determine if they are valid.
17966func (s *CreateTableInput) Validate() error {
17967	invalidParams := request.ErrInvalidParams{Context: "CreateTableInput"}
17968	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17969		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17970	}
17971	if s.DatabaseName == nil {
17972		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17973	}
17974	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17975		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17976	}
17977	if s.TableInput == nil {
17978		invalidParams.Add(request.NewErrParamRequired("TableInput"))
17979	}
17980	if s.TableInput != nil {
17981		if err := s.TableInput.Validate(); err != nil {
17982			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
17983		}
17984	}
17985
17986	if invalidParams.Len() > 0 {
17987		return invalidParams
17988	}
17989	return nil
17990}
17991
17992// SetCatalogId sets the CatalogId field's value.
17993func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput {
17994	s.CatalogId = &v
17995	return s
17996}
17997
17998// SetDatabaseName sets the DatabaseName field's value.
17999func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput {
18000	s.DatabaseName = &v
18001	return s
18002}
18003
18004// SetTableInput sets the TableInput field's value.
18005func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput {
18006	s.TableInput = v
18007	return s
18008}
18009
18010type CreateTableOutput struct {
18011	_ struct{} `type:"structure"`
18012}
18013
18014// String returns the string representation
18015func (s CreateTableOutput) String() string {
18016	return awsutil.Prettify(s)
18017}
18018
18019// GoString returns the string representation
18020func (s CreateTableOutput) GoString() string {
18021	return s.String()
18022}
18023
18024type CreateTriggerInput struct {
18025	_ struct{} `type:"structure"`
18026
18027	// The actions initiated by this trigger when it fires.
18028	//
18029	// Actions is a required field
18030	Actions []*Action `type:"list" required:"true"`
18031
18032	// A description of the new trigger.
18033	Description *string `type:"string"`
18034
18035	// The name of the trigger.
18036	//
18037	// Name is a required field
18038	Name *string `min:"1" type:"string" required:"true"`
18039
18040	// A predicate to specify when the new trigger should fire.
18041	//
18042	// This field is required when the trigger type is CONDITIONAL.
18043	Predicate *Predicate `type:"structure"`
18044
18045	// A cron expression used to specify the schedule (see Time-Based Schedules
18046	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
18047	// For example, to run something every day at 12:15 UTC, you would specify:
18048	// cron(15 12 * * ? *).
18049	//
18050	// This field is required when the trigger type is SCHEDULED.
18051	Schedule *string `type:"string"`
18052
18053	// Set to true to start SCHEDULED and CONDITIONAL triggers when created. True
18054	// is not supported for ON_DEMAND triggers.
18055	StartOnCreation *bool `type:"boolean"`
18056
18057	// The tags to use with this trigger. You may use tags to limit access to the
18058	// trigger. For more information about tags in AWS Glue, see AWS Tags in AWS
18059	// Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the
18060	// developer guide.
18061	Tags map[string]*string `type:"map"`
18062
18063	// The type of the new trigger.
18064	//
18065	// Type is a required field
18066	Type *string `type:"string" required:"true" enum:"TriggerType"`
18067
18068	// The name of the workflow associated with the trigger.
18069	WorkflowName *string `min:"1" type:"string"`
18070}
18071
18072// String returns the string representation
18073func (s CreateTriggerInput) String() string {
18074	return awsutil.Prettify(s)
18075}
18076
18077// GoString returns the string representation
18078func (s CreateTriggerInput) GoString() string {
18079	return s.String()
18080}
18081
18082// Validate inspects the fields of the type to determine if they are valid.
18083func (s *CreateTriggerInput) Validate() error {
18084	invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"}
18085	if s.Actions == nil {
18086		invalidParams.Add(request.NewErrParamRequired("Actions"))
18087	}
18088	if s.Name == nil {
18089		invalidParams.Add(request.NewErrParamRequired("Name"))
18090	}
18091	if s.Name != nil && len(*s.Name) < 1 {
18092		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18093	}
18094	if s.Type == nil {
18095		invalidParams.Add(request.NewErrParamRequired("Type"))
18096	}
18097	if s.WorkflowName != nil && len(*s.WorkflowName) < 1 {
18098		invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1))
18099	}
18100	if s.Actions != nil {
18101		for i, v := range s.Actions {
18102			if v == nil {
18103				continue
18104			}
18105			if err := v.Validate(); err != nil {
18106				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
18107			}
18108		}
18109	}
18110	if s.Predicate != nil {
18111		if err := s.Predicate.Validate(); err != nil {
18112			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
18113		}
18114	}
18115
18116	if invalidParams.Len() > 0 {
18117		return invalidParams
18118	}
18119	return nil
18120}
18121
18122// SetActions sets the Actions field's value.
18123func (s *CreateTriggerInput) SetActions(v []*Action) *CreateTriggerInput {
18124	s.Actions = v
18125	return s
18126}
18127
18128// SetDescription sets the Description field's value.
18129func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput {
18130	s.Description = &v
18131	return s
18132}
18133
18134// SetName sets the Name field's value.
18135func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput {
18136	s.Name = &v
18137	return s
18138}
18139
18140// SetPredicate sets the Predicate field's value.
18141func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput {
18142	s.Predicate = v
18143	return s
18144}
18145
18146// SetSchedule sets the Schedule field's value.
18147func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput {
18148	s.Schedule = &v
18149	return s
18150}
18151
18152// SetStartOnCreation sets the StartOnCreation field's value.
18153func (s *CreateTriggerInput) SetStartOnCreation(v bool) *CreateTriggerInput {
18154	s.StartOnCreation = &v
18155	return s
18156}
18157
18158// SetTags sets the Tags field's value.
18159func (s *CreateTriggerInput) SetTags(v map[string]*string) *CreateTriggerInput {
18160	s.Tags = v
18161	return s
18162}
18163
18164// SetType sets the Type field's value.
18165func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput {
18166	s.Type = &v
18167	return s
18168}
18169
18170// SetWorkflowName sets the WorkflowName field's value.
18171func (s *CreateTriggerInput) SetWorkflowName(v string) *CreateTriggerInput {
18172	s.WorkflowName = &v
18173	return s
18174}
18175
18176type CreateTriggerOutput struct {
18177	_ struct{} `type:"structure"`
18178
18179	// The name of the trigger.
18180	Name *string `min:"1" type:"string"`
18181}
18182
18183// String returns the string representation
18184func (s CreateTriggerOutput) String() string {
18185	return awsutil.Prettify(s)
18186}
18187
18188// GoString returns the string representation
18189func (s CreateTriggerOutput) GoString() string {
18190	return s.String()
18191}
18192
18193// SetName sets the Name field's value.
18194func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput {
18195	s.Name = &v
18196	return s
18197}
18198
18199type CreateUserDefinedFunctionInput struct {
18200	_ struct{} `type:"structure"`
18201
18202	// The ID of the Data Catalog in which to create the function. If none is provided,
18203	// the AWS account ID is used by default.
18204	CatalogId *string `min:"1" type:"string"`
18205
18206	// The name of the catalog database in which to create the function.
18207	//
18208	// DatabaseName is a required field
18209	DatabaseName *string `min:"1" type:"string" required:"true"`
18210
18211	// A FunctionInput object that defines the function to create in the Data Catalog.
18212	//
18213	// FunctionInput is a required field
18214	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
18215}
18216
18217// String returns the string representation
18218func (s CreateUserDefinedFunctionInput) String() string {
18219	return awsutil.Prettify(s)
18220}
18221
18222// GoString returns the string representation
18223func (s CreateUserDefinedFunctionInput) GoString() string {
18224	return s.String()
18225}
18226
18227// Validate inspects the fields of the type to determine if they are valid.
18228func (s *CreateUserDefinedFunctionInput) Validate() error {
18229	invalidParams := request.ErrInvalidParams{Context: "CreateUserDefinedFunctionInput"}
18230	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18231		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18232	}
18233	if s.DatabaseName == nil {
18234		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18235	}
18236	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18237		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18238	}
18239	if s.FunctionInput == nil {
18240		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
18241	}
18242	if s.FunctionInput != nil {
18243		if err := s.FunctionInput.Validate(); err != nil {
18244			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
18245		}
18246	}
18247
18248	if invalidParams.Len() > 0 {
18249		return invalidParams
18250	}
18251	return nil
18252}
18253
18254// SetCatalogId sets the CatalogId field's value.
18255func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput {
18256	s.CatalogId = &v
18257	return s
18258}
18259
18260// SetDatabaseName sets the DatabaseName field's value.
18261func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput {
18262	s.DatabaseName = &v
18263	return s
18264}
18265
18266// SetFunctionInput sets the FunctionInput field's value.
18267func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput {
18268	s.FunctionInput = v
18269	return s
18270}
18271
18272type CreateUserDefinedFunctionOutput struct {
18273	_ struct{} `type:"structure"`
18274}
18275
18276// String returns the string representation
18277func (s CreateUserDefinedFunctionOutput) String() string {
18278	return awsutil.Prettify(s)
18279}
18280
18281// GoString returns the string representation
18282func (s CreateUserDefinedFunctionOutput) GoString() string {
18283	return s.String()
18284}
18285
18286type CreateWorkflowInput struct {
18287	_ struct{} `type:"structure"`
18288
18289	// A collection of properties to be used as part of each execution of the workflow.
18290	DefaultRunProperties map[string]*string `type:"map"`
18291
18292	// A description of the workflow.
18293	Description *string `type:"string"`
18294
18295	// The name to be assigned to the workflow. It should be unique within your
18296	// account.
18297	//
18298	// Name is a required field
18299	Name *string `min:"1" type:"string" required:"true"`
18300
18301	// The tags to be used with this workflow.
18302	Tags map[string]*string `type:"map"`
18303}
18304
18305// String returns the string representation
18306func (s CreateWorkflowInput) String() string {
18307	return awsutil.Prettify(s)
18308}
18309
18310// GoString returns the string representation
18311func (s CreateWorkflowInput) GoString() string {
18312	return s.String()
18313}
18314
18315// Validate inspects the fields of the type to determine if they are valid.
18316func (s *CreateWorkflowInput) Validate() error {
18317	invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"}
18318	if s.Name == nil {
18319		invalidParams.Add(request.NewErrParamRequired("Name"))
18320	}
18321	if s.Name != nil && len(*s.Name) < 1 {
18322		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18323	}
18324
18325	if invalidParams.Len() > 0 {
18326		return invalidParams
18327	}
18328	return nil
18329}
18330
18331// SetDefaultRunProperties sets the DefaultRunProperties field's value.
18332func (s *CreateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *CreateWorkflowInput {
18333	s.DefaultRunProperties = v
18334	return s
18335}
18336
18337// SetDescription sets the Description field's value.
18338func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput {
18339	s.Description = &v
18340	return s
18341}
18342
18343// SetName sets the Name field's value.
18344func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput {
18345	s.Name = &v
18346	return s
18347}
18348
18349// SetTags sets the Tags field's value.
18350func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput {
18351	s.Tags = v
18352	return s
18353}
18354
18355type CreateWorkflowOutput struct {
18356	_ struct{} `type:"structure"`
18357
18358	// The name of the workflow which was provided as part of the request.
18359	Name *string `min:"1" type:"string"`
18360}
18361
18362// String returns the string representation
18363func (s CreateWorkflowOutput) String() string {
18364	return awsutil.Prettify(s)
18365}
18366
18367// GoString returns the string representation
18368func (s CreateWorkflowOutput) GoString() string {
18369	return s.String()
18370}
18371
18372// SetName sets the Name field's value.
18373func (s *CreateWorkflowOutput) SetName(v string) *CreateWorkflowOutput {
18374	s.Name = &v
18375	return s
18376}
18377
18378// Specifies an XML classifier for CreateClassifier to create.
18379type CreateXMLClassifierRequest struct {
18380	_ struct{} `type:"structure"`
18381
18382	// An identifier of the data format that the classifier matches.
18383	//
18384	// Classification is a required field
18385	Classification *string `type:"string" required:"true"`
18386
18387	// The name of the classifier.
18388	//
18389	// Name is a required field
18390	Name *string `min:"1" type:"string" required:"true"`
18391
18392	// The XML tag designating the element that contains each record in an XML document
18393	// being parsed. This can't identify a self-closing element (closed by />).
18394	// An empty row element that contains only attributes can be parsed as long
18395	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
18396	// is okay, but <row item_a="A" item_b="B" /> is not).
18397	RowTag *string `type:"string"`
18398}
18399
18400// String returns the string representation
18401func (s CreateXMLClassifierRequest) String() string {
18402	return awsutil.Prettify(s)
18403}
18404
18405// GoString returns the string representation
18406func (s CreateXMLClassifierRequest) GoString() string {
18407	return s.String()
18408}
18409
18410// Validate inspects the fields of the type to determine if they are valid.
18411func (s *CreateXMLClassifierRequest) Validate() error {
18412	invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"}
18413	if s.Classification == nil {
18414		invalidParams.Add(request.NewErrParamRequired("Classification"))
18415	}
18416	if s.Name == nil {
18417		invalidParams.Add(request.NewErrParamRequired("Name"))
18418	}
18419	if s.Name != nil && len(*s.Name) < 1 {
18420		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18421	}
18422
18423	if invalidParams.Len() > 0 {
18424		return invalidParams
18425	}
18426	return nil
18427}
18428
18429// SetClassification sets the Classification field's value.
18430func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest {
18431	s.Classification = &v
18432	return s
18433}
18434
18435// SetName sets the Name field's value.
18436func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest {
18437	s.Name = &v
18438	return s
18439}
18440
18441// SetRowTag sets the RowTag field's value.
18442func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest {
18443	s.RowTag = &v
18444	return s
18445}
18446
18447// A classifier for custom CSV content.
18448type CsvClassifier struct {
18449	_ struct{} `type:"structure"`
18450
18451	// Enables the processing of files that contain only one column.
18452	AllowSingleColumn *bool `type:"boolean"`
18453
18454	// Indicates whether the CSV file contains a header.
18455	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
18456
18457	// The time that this classifier was registered.
18458	CreationTime *time.Time `type:"timestamp"`
18459
18460	// A custom symbol to denote what separates each column entry in the row.
18461	Delimiter *string `min:"1" type:"string"`
18462
18463	// Specifies not to trim values before identifying the type of column values.
18464	// The default value is true.
18465	DisableValueTrimming *bool `type:"boolean"`
18466
18467	// A list of strings representing column names.
18468	Header []*string `type:"list"`
18469
18470	// The time that this classifier was last updated.
18471	LastUpdated *time.Time `type:"timestamp"`
18472
18473	// The name of the classifier.
18474	//
18475	// Name is a required field
18476	Name *string `min:"1" type:"string" required:"true"`
18477
18478	// A custom symbol to denote what combines content into a single column value.
18479	// It must be different from the column delimiter.
18480	QuoteSymbol *string `min:"1" type:"string"`
18481
18482	// The version of this classifier.
18483	Version *int64 `type:"long"`
18484}
18485
18486// String returns the string representation
18487func (s CsvClassifier) String() string {
18488	return awsutil.Prettify(s)
18489}
18490
18491// GoString returns the string representation
18492func (s CsvClassifier) GoString() string {
18493	return s.String()
18494}
18495
18496// SetAllowSingleColumn sets the AllowSingleColumn field's value.
18497func (s *CsvClassifier) SetAllowSingleColumn(v bool) *CsvClassifier {
18498	s.AllowSingleColumn = &v
18499	return s
18500}
18501
18502// SetContainsHeader sets the ContainsHeader field's value.
18503func (s *CsvClassifier) SetContainsHeader(v string) *CsvClassifier {
18504	s.ContainsHeader = &v
18505	return s
18506}
18507
18508// SetCreationTime sets the CreationTime field's value.
18509func (s *CsvClassifier) SetCreationTime(v time.Time) *CsvClassifier {
18510	s.CreationTime = &v
18511	return s
18512}
18513
18514// SetDelimiter sets the Delimiter field's value.
18515func (s *CsvClassifier) SetDelimiter(v string) *CsvClassifier {
18516	s.Delimiter = &v
18517	return s
18518}
18519
18520// SetDisableValueTrimming sets the DisableValueTrimming field's value.
18521func (s *CsvClassifier) SetDisableValueTrimming(v bool) *CsvClassifier {
18522	s.DisableValueTrimming = &v
18523	return s
18524}
18525
18526// SetHeader sets the Header field's value.
18527func (s *CsvClassifier) SetHeader(v []*string) *CsvClassifier {
18528	s.Header = v
18529	return s
18530}
18531
18532// SetLastUpdated sets the LastUpdated field's value.
18533func (s *CsvClassifier) SetLastUpdated(v time.Time) *CsvClassifier {
18534	s.LastUpdated = &v
18535	return s
18536}
18537
18538// SetName sets the Name field's value.
18539func (s *CsvClassifier) SetName(v string) *CsvClassifier {
18540	s.Name = &v
18541	return s
18542}
18543
18544// SetQuoteSymbol sets the QuoteSymbol field's value.
18545func (s *CsvClassifier) SetQuoteSymbol(v string) *CsvClassifier {
18546	s.QuoteSymbol = &v
18547	return s
18548}
18549
18550// SetVersion sets the Version field's value.
18551func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier {
18552	s.Version = &v
18553	return s
18554}
18555
18556// Contains configuration information for maintaining Data Catalog security.
18557type DataCatalogEncryptionSettings struct {
18558	_ struct{} `type:"structure"`
18559
18560	// When connection password protection is enabled, the Data Catalog uses a customer-provided
18561	// key to encrypt the password as part of CreateConnection or UpdateConnection
18562	// and store it in the ENCRYPTED_PASSWORD field in the connection properties.
18563	// You can enable catalog encryption or only password encryption.
18564	ConnectionPasswordEncryption *ConnectionPasswordEncryption `type:"structure"`
18565
18566	// Specifies the encryption-at-rest configuration for the Data Catalog.
18567	EncryptionAtRest *EncryptionAtRest `type:"structure"`
18568}
18569
18570// String returns the string representation
18571func (s DataCatalogEncryptionSettings) String() string {
18572	return awsutil.Prettify(s)
18573}
18574
18575// GoString returns the string representation
18576func (s DataCatalogEncryptionSettings) GoString() string {
18577	return s.String()
18578}
18579
18580// Validate inspects the fields of the type to determine if they are valid.
18581func (s *DataCatalogEncryptionSettings) Validate() error {
18582	invalidParams := request.ErrInvalidParams{Context: "DataCatalogEncryptionSettings"}
18583	if s.ConnectionPasswordEncryption != nil {
18584		if err := s.ConnectionPasswordEncryption.Validate(); err != nil {
18585			invalidParams.AddNested("ConnectionPasswordEncryption", err.(request.ErrInvalidParams))
18586		}
18587	}
18588	if s.EncryptionAtRest != nil {
18589		if err := s.EncryptionAtRest.Validate(); err != nil {
18590			invalidParams.AddNested("EncryptionAtRest", err.(request.ErrInvalidParams))
18591		}
18592	}
18593
18594	if invalidParams.Len() > 0 {
18595		return invalidParams
18596	}
18597	return nil
18598}
18599
18600// SetConnectionPasswordEncryption sets the ConnectionPasswordEncryption field's value.
18601func (s *DataCatalogEncryptionSettings) SetConnectionPasswordEncryption(v *ConnectionPasswordEncryption) *DataCatalogEncryptionSettings {
18602	s.ConnectionPasswordEncryption = v
18603	return s
18604}
18605
18606// SetEncryptionAtRest sets the EncryptionAtRest field's value.
18607func (s *DataCatalogEncryptionSettings) SetEncryptionAtRest(v *EncryptionAtRest) *DataCatalogEncryptionSettings {
18608	s.EncryptionAtRest = v
18609	return s
18610}
18611
18612// The AWS Lake Formation principal.
18613type DataLakePrincipal struct {
18614	_ struct{} `type:"structure"`
18615
18616	// An identifier for the AWS Lake Formation principal.
18617	DataLakePrincipalIdentifier *string `min:"1" type:"string"`
18618}
18619
18620// String returns the string representation
18621func (s DataLakePrincipal) String() string {
18622	return awsutil.Prettify(s)
18623}
18624
18625// GoString returns the string representation
18626func (s DataLakePrincipal) GoString() string {
18627	return s.String()
18628}
18629
18630// Validate inspects the fields of the type to determine if they are valid.
18631func (s *DataLakePrincipal) Validate() error {
18632	invalidParams := request.ErrInvalidParams{Context: "DataLakePrincipal"}
18633	if s.DataLakePrincipalIdentifier != nil && len(*s.DataLakePrincipalIdentifier) < 1 {
18634		invalidParams.Add(request.NewErrParamMinLen("DataLakePrincipalIdentifier", 1))
18635	}
18636
18637	if invalidParams.Len() > 0 {
18638		return invalidParams
18639	}
18640	return nil
18641}
18642
18643// SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value.
18644func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal {
18645	s.DataLakePrincipalIdentifier = &v
18646	return s
18647}
18648
18649// The Database object represents a logical grouping of tables that might reside
18650// in a Hive metastore or an RDBMS.
18651type Database struct {
18652	_ struct{} `type:"structure"`
18653
18654	// Creates a set of default permissions on the table for principals.
18655	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
18656
18657	// The time at which the metadata database was created in the catalog.
18658	CreateTime *time.Time `type:"timestamp"`
18659
18660	// A description of the database.
18661	Description *string `type:"string"`
18662
18663	// The location of the database (for example, an HDFS path).
18664	LocationUri *string `min:"1" type:"string"`
18665
18666	// The name of the database. For Hive compatibility, this is folded to lowercase
18667	// when it is stored.
18668	//
18669	// Name is a required field
18670	Name *string `min:"1" type:"string" required:"true"`
18671
18672	// These key-value pairs define parameters and properties of the database.
18673	Parameters map[string]*string `type:"map"`
18674}
18675
18676// String returns the string representation
18677func (s Database) String() string {
18678	return awsutil.Prettify(s)
18679}
18680
18681// GoString returns the string representation
18682func (s Database) GoString() string {
18683	return s.String()
18684}
18685
18686// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
18687func (s *Database) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *Database {
18688	s.CreateTableDefaultPermissions = v
18689	return s
18690}
18691
18692// SetCreateTime sets the CreateTime field's value.
18693func (s *Database) SetCreateTime(v time.Time) *Database {
18694	s.CreateTime = &v
18695	return s
18696}
18697
18698// SetDescription sets the Description field's value.
18699func (s *Database) SetDescription(v string) *Database {
18700	s.Description = &v
18701	return s
18702}
18703
18704// SetLocationUri sets the LocationUri field's value.
18705func (s *Database) SetLocationUri(v string) *Database {
18706	s.LocationUri = &v
18707	return s
18708}
18709
18710// SetName sets the Name field's value.
18711func (s *Database) SetName(v string) *Database {
18712	s.Name = &v
18713	return s
18714}
18715
18716// SetParameters sets the Parameters field's value.
18717func (s *Database) SetParameters(v map[string]*string) *Database {
18718	s.Parameters = v
18719	return s
18720}
18721
18722// The structure used to create or update a database.
18723type DatabaseInput struct {
18724	_ struct{} `type:"structure"`
18725
18726	// Creates a set of default permissions on the table for principals.
18727	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
18728
18729	// A description of the database.
18730	Description *string `type:"string"`
18731
18732	// The location of the database (for example, an HDFS path).
18733	LocationUri *string `min:"1" type:"string"`
18734
18735	// The name of the database. For Hive compatibility, this is folded to lowercase
18736	// when it is stored.
18737	//
18738	// Name is a required field
18739	Name *string `min:"1" type:"string" required:"true"`
18740
18741	// These key-value pairs define parameters and properties of the database.
18742	//
18743	// These key-value pairs define parameters and properties of the database.
18744	Parameters map[string]*string `type:"map"`
18745}
18746
18747// String returns the string representation
18748func (s DatabaseInput) String() string {
18749	return awsutil.Prettify(s)
18750}
18751
18752// GoString returns the string representation
18753func (s DatabaseInput) GoString() string {
18754	return s.String()
18755}
18756
18757// Validate inspects the fields of the type to determine if they are valid.
18758func (s *DatabaseInput) Validate() error {
18759	invalidParams := request.ErrInvalidParams{Context: "DatabaseInput"}
18760	if s.LocationUri != nil && len(*s.LocationUri) < 1 {
18761		invalidParams.Add(request.NewErrParamMinLen("LocationUri", 1))
18762	}
18763	if s.Name == nil {
18764		invalidParams.Add(request.NewErrParamRequired("Name"))
18765	}
18766	if s.Name != nil && len(*s.Name) < 1 {
18767		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18768	}
18769	if s.CreateTableDefaultPermissions != nil {
18770		for i, v := range s.CreateTableDefaultPermissions {
18771			if v == nil {
18772				continue
18773			}
18774			if err := v.Validate(); err != nil {
18775				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CreateTableDefaultPermissions", i), err.(request.ErrInvalidParams))
18776			}
18777		}
18778	}
18779
18780	if invalidParams.Len() > 0 {
18781		return invalidParams
18782	}
18783	return nil
18784}
18785
18786// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
18787func (s *DatabaseInput) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DatabaseInput {
18788	s.CreateTableDefaultPermissions = v
18789	return s
18790}
18791
18792// SetDescription sets the Description field's value.
18793func (s *DatabaseInput) SetDescription(v string) *DatabaseInput {
18794	s.Description = &v
18795	return s
18796}
18797
18798// SetLocationUri sets the LocationUri field's value.
18799func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput {
18800	s.LocationUri = &v
18801	return s
18802}
18803
18804// SetName sets the Name field's value.
18805func (s *DatabaseInput) SetName(v string) *DatabaseInput {
18806	s.Name = &v
18807	return s
18808}
18809
18810// SetParameters sets the Parameters field's value.
18811func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput {
18812	s.Parameters = v
18813	return s
18814}
18815
18816type DeleteClassifierInput struct {
18817	_ struct{} `type:"structure"`
18818
18819	// Name of the classifier to remove.
18820	//
18821	// Name is a required field
18822	Name *string `min:"1" type:"string" required:"true"`
18823}
18824
18825// String returns the string representation
18826func (s DeleteClassifierInput) String() string {
18827	return awsutil.Prettify(s)
18828}
18829
18830// GoString returns the string representation
18831func (s DeleteClassifierInput) GoString() string {
18832	return s.String()
18833}
18834
18835// Validate inspects the fields of the type to determine if they are valid.
18836func (s *DeleteClassifierInput) Validate() error {
18837	invalidParams := request.ErrInvalidParams{Context: "DeleteClassifierInput"}
18838	if s.Name == nil {
18839		invalidParams.Add(request.NewErrParamRequired("Name"))
18840	}
18841	if s.Name != nil && len(*s.Name) < 1 {
18842		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18843	}
18844
18845	if invalidParams.Len() > 0 {
18846		return invalidParams
18847	}
18848	return nil
18849}
18850
18851// SetName sets the Name field's value.
18852func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput {
18853	s.Name = &v
18854	return s
18855}
18856
18857type DeleteClassifierOutput struct {
18858	_ struct{} `type:"structure"`
18859}
18860
18861// String returns the string representation
18862func (s DeleteClassifierOutput) String() string {
18863	return awsutil.Prettify(s)
18864}
18865
18866// GoString returns the string representation
18867func (s DeleteClassifierOutput) GoString() string {
18868	return s.String()
18869}
18870
18871type DeleteConnectionInput struct {
18872	_ struct{} `type:"structure"`
18873
18874	// The ID of the Data Catalog in which the connection resides. If none is provided,
18875	// the AWS account ID is used by default.
18876	CatalogId *string `min:"1" type:"string"`
18877
18878	// The name of the connection to delete.
18879	//
18880	// ConnectionName is a required field
18881	ConnectionName *string `min:"1" type:"string" required:"true"`
18882}
18883
18884// String returns the string representation
18885func (s DeleteConnectionInput) String() string {
18886	return awsutil.Prettify(s)
18887}
18888
18889// GoString returns the string representation
18890func (s DeleteConnectionInput) GoString() string {
18891	return s.String()
18892}
18893
18894// Validate inspects the fields of the type to determine if they are valid.
18895func (s *DeleteConnectionInput) Validate() error {
18896	invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"}
18897	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18898		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18899	}
18900	if s.ConnectionName == nil {
18901		invalidParams.Add(request.NewErrParamRequired("ConnectionName"))
18902	}
18903	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
18904		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
18905	}
18906
18907	if invalidParams.Len() > 0 {
18908		return invalidParams
18909	}
18910	return nil
18911}
18912
18913// SetCatalogId sets the CatalogId field's value.
18914func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput {
18915	s.CatalogId = &v
18916	return s
18917}
18918
18919// SetConnectionName sets the ConnectionName field's value.
18920func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput {
18921	s.ConnectionName = &v
18922	return s
18923}
18924
18925type DeleteConnectionOutput struct {
18926	_ struct{} `type:"structure"`
18927}
18928
18929// String returns the string representation
18930func (s DeleteConnectionOutput) String() string {
18931	return awsutil.Prettify(s)
18932}
18933
18934// GoString returns the string representation
18935func (s DeleteConnectionOutput) GoString() string {
18936	return s.String()
18937}
18938
18939type DeleteCrawlerInput struct {
18940	_ struct{} `type:"structure"`
18941
18942	// The name of the crawler to remove.
18943	//
18944	// Name is a required field
18945	Name *string `min:"1" type:"string" required:"true"`
18946}
18947
18948// String returns the string representation
18949func (s DeleteCrawlerInput) String() string {
18950	return awsutil.Prettify(s)
18951}
18952
18953// GoString returns the string representation
18954func (s DeleteCrawlerInput) GoString() string {
18955	return s.String()
18956}
18957
18958// Validate inspects the fields of the type to determine if they are valid.
18959func (s *DeleteCrawlerInput) Validate() error {
18960	invalidParams := request.ErrInvalidParams{Context: "DeleteCrawlerInput"}
18961	if s.Name == nil {
18962		invalidParams.Add(request.NewErrParamRequired("Name"))
18963	}
18964	if s.Name != nil && len(*s.Name) < 1 {
18965		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18966	}
18967
18968	if invalidParams.Len() > 0 {
18969		return invalidParams
18970	}
18971	return nil
18972}
18973
18974// SetName sets the Name field's value.
18975func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput {
18976	s.Name = &v
18977	return s
18978}
18979
18980type DeleteCrawlerOutput struct {
18981	_ struct{} `type:"structure"`
18982}
18983
18984// String returns the string representation
18985func (s DeleteCrawlerOutput) String() string {
18986	return awsutil.Prettify(s)
18987}
18988
18989// GoString returns the string representation
18990func (s DeleteCrawlerOutput) GoString() string {
18991	return s.String()
18992}
18993
18994type DeleteDatabaseInput struct {
18995	_ struct{} `type:"structure"`
18996
18997	// The ID of the Data Catalog in which the database resides. If none is provided,
18998	// the AWS account ID is used by default.
18999	CatalogId *string `min:"1" type:"string"`
19000
19001	// The name of the database to delete. For Hive compatibility, this must be
19002	// all lowercase.
19003	//
19004	// Name is a required field
19005	Name *string `min:"1" type:"string" required:"true"`
19006}
19007
19008// String returns the string representation
19009func (s DeleteDatabaseInput) String() string {
19010	return awsutil.Prettify(s)
19011}
19012
19013// GoString returns the string representation
19014func (s DeleteDatabaseInput) GoString() string {
19015	return s.String()
19016}
19017
19018// Validate inspects the fields of the type to determine if they are valid.
19019func (s *DeleteDatabaseInput) Validate() error {
19020	invalidParams := request.ErrInvalidParams{Context: "DeleteDatabaseInput"}
19021	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19022		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19023	}
19024	if s.Name == nil {
19025		invalidParams.Add(request.NewErrParamRequired("Name"))
19026	}
19027	if s.Name != nil && len(*s.Name) < 1 {
19028		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19029	}
19030
19031	if invalidParams.Len() > 0 {
19032		return invalidParams
19033	}
19034	return nil
19035}
19036
19037// SetCatalogId sets the CatalogId field's value.
19038func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput {
19039	s.CatalogId = &v
19040	return s
19041}
19042
19043// SetName sets the Name field's value.
19044func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput {
19045	s.Name = &v
19046	return s
19047}
19048
19049type DeleteDatabaseOutput struct {
19050	_ struct{} `type:"structure"`
19051}
19052
19053// String returns the string representation
19054func (s DeleteDatabaseOutput) String() string {
19055	return awsutil.Prettify(s)
19056}
19057
19058// GoString returns the string representation
19059func (s DeleteDatabaseOutput) GoString() string {
19060	return s.String()
19061}
19062
19063type DeleteDevEndpointInput struct {
19064	_ struct{} `type:"structure"`
19065
19066	// The name of the DevEndpoint.
19067	//
19068	// EndpointName is a required field
19069	EndpointName *string `type:"string" required:"true"`
19070}
19071
19072// String returns the string representation
19073func (s DeleteDevEndpointInput) String() string {
19074	return awsutil.Prettify(s)
19075}
19076
19077// GoString returns the string representation
19078func (s DeleteDevEndpointInput) GoString() string {
19079	return s.String()
19080}
19081
19082// Validate inspects the fields of the type to determine if they are valid.
19083func (s *DeleteDevEndpointInput) Validate() error {
19084	invalidParams := request.ErrInvalidParams{Context: "DeleteDevEndpointInput"}
19085	if s.EndpointName == nil {
19086		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
19087	}
19088
19089	if invalidParams.Len() > 0 {
19090		return invalidParams
19091	}
19092	return nil
19093}
19094
19095// SetEndpointName sets the EndpointName field's value.
19096func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput {
19097	s.EndpointName = &v
19098	return s
19099}
19100
19101type DeleteDevEndpointOutput struct {
19102	_ struct{} `type:"structure"`
19103}
19104
19105// String returns the string representation
19106func (s DeleteDevEndpointOutput) String() string {
19107	return awsutil.Prettify(s)
19108}
19109
19110// GoString returns the string representation
19111func (s DeleteDevEndpointOutput) GoString() string {
19112	return s.String()
19113}
19114
19115type DeleteJobInput struct {
19116	_ struct{} `type:"structure"`
19117
19118	// The name of the job definition to delete.
19119	//
19120	// JobName is a required field
19121	JobName *string `min:"1" type:"string" required:"true"`
19122}
19123
19124// String returns the string representation
19125func (s DeleteJobInput) String() string {
19126	return awsutil.Prettify(s)
19127}
19128
19129// GoString returns the string representation
19130func (s DeleteJobInput) GoString() string {
19131	return s.String()
19132}
19133
19134// Validate inspects the fields of the type to determine if they are valid.
19135func (s *DeleteJobInput) Validate() error {
19136	invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"}
19137	if s.JobName == nil {
19138		invalidParams.Add(request.NewErrParamRequired("JobName"))
19139	}
19140	if s.JobName != nil && len(*s.JobName) < 1 {
19141		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
19142	}
19143
19144	if invalidParams.Len() > 0 {
19145		return invalidParams
19146	}
19147	return nil
19148}
19149
19150// SetJobName sets the JobName field's value.
19151func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput {
19152	s.JobName = &v
19153	return s
19154}
19155
19156type DeleteJobOutput struct {
19157	_ struct{} `type:"structure"`
19158
19159	// The name of the job definition that was deleted.
19160	JobName *string `min:"1" type:"string"`
19161}
19162
19163// String returns the string representation
19164func (s DeleteJobOutput) String() string {
19165	return awsutil.Prettify(s)
19166}
19167
19168// GoString returns the string representation
19169func (s DeleteJobOutput) GoString() string {
19170	return s.String()
19171}
19172
19173// SetJobName sets the JobName field's value.
19174func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput {
19175	s.JobName = &v
19176	return s
19177}
19178
19179type DeleteMLTransformInput struct {
19180	_ struct{} `type:"structure"`
19181
19182	// The unique identifier of the transform to delete.
19183	//
19184	// TransformId is a required field
19185	TransformId *string `min:"1" type:"string" required:"true"`
19186}
19187
19188// String returns the string representation
19189func (s DeleteMLTransformInput) String() string {
19190	return awsutil.Prettify(s)
19191}
19192
19193// GoString returns the string representation
19194func (s DeleteMLTransformInput) GoString() string {
19195	return s.String()
19196}
19197
19198// Validate inspects the fields of the type to determine if they are valid.
19199func (s *DeleteMLTransformInput) Validate() error {
19200	invalidParams := request.ErrInvalidParams{Context: "DeleteMLTransformInput"}
19201	if s.TransformId == nil {
19202		invalidParams.Add(request.NewErrParamRequired("TransformId"))
19203	}
19204	if s.TransformId != nil && len(*s.TransformId) < 1 {
19205		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
19206	}
19207
19208	if invalidParams.Len() > 0 {
19209		return invalidParams
19210	}
19211	return nil
19212}
19213
19214// SetTransformId sets the TransformId field's value.
19215func (s *DeleteMLTransformInput) SetTransformId(v string) *DeleteMLTransformInput {
19216	s.TransformId = &v
19217	return s
19218}
19219
19220type DeleteMLTransformOutput struct {
19221	_ struct{} `type:"structure"`
19222
19223	// The unique identifier of the transform that was deleted.
19224	TransformId *string `min:"1" type:"string"`
19225}
19226
19227// String returns the string representation
19228func (s DeleteMLTransformOutput) String() string {
19229	return awsutil.Prettify(s)
19230}
19231
19232// GoString returns the string representation
19233func (s DeleteMLTransformOutput) GoString() string {
19234	return s.String()
19235}
19236
19237// SetTransformId sets the TransformId field's value.
19238func (s *DeleteMLTransformOutput) SetTransformId(v string) *DeleteMLTransformOutput {
19239	s.TransformId = &v
19240	return s
19241}
19242
19243type DeletePartitionInput struct {
19244	_ struct{} `type:"structure"`
19245
19246	// The ID of the Data Catalog where the partition to be deleted resides. If
19247	// none is provided, the AWS account ID is used by default.
19248	CatalogId *string `min:"1" type:"string"`
19249
19250	// The name of the catalog database in which the table in question resides.
19251	//
19252	// DatabaseName is a required field
19253	DatabaseName *string `min:"1" type:"string" required:"true"`
19254
19255	// The values that define the partition.
19256	//
19257	// PartitionValues is a required field
19258	PartitionValues []*string `type:"list" required:"true"`
19259
19260	// The name of the table that contains the partition to be deleted.
19261	//
19262	// TableName is a required field
19263	TableName *string `min:"1" type:"string" required:"true"`
19264}
19265
19266// String returns the string representation
19267func (s DeletePartitionInput) String() string {
19268	return awsutil.Prettify(s)
19269}
19270
19271// GoString returns the string representation
19272func (s DeletePartitionInput) GoString() string {
19273	return s.String()
19274}
19275
19276// Validate inspects the fields of the type to determine if they are valid.
19277func (s *DeletePartitionInput) Validate() error {
19278	invalidParams := request.ErrInvalidParams{Context: "DeletePartitionInput"}
19279	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19280		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19281	}
19282	if s.DatabaseName == nil {
19283		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19284	}
19285	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19286		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19287	}
19288	if s.PartitionValues == nil {
19289		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
19290	}
19291	if s.TableName == nil {
19292		invalidParams.Add(request.NewErrParamRequired("TableName"))
19293	}
19294	if s.TableName != nil && len(*s.TableName) < 1 {
19295		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
19296	}
19297
19298	if invalidParams.Len() > 0 {
19299		return invalidParams
19300	}
19301	return nil
19302}
19303
19304// SetCatalogId sets the CatalogId field's value.
19305func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput {
19306	s.CatalogId = &v
19307	return s
19308}
19309
19310// SetDatabaseName sets the DatabaseName field's value.
19311func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput {
19312	s.DatabaseName = &v
19313	return s
19314}
19315
19316// SetPartitionValues sets the PartitionValues field's value.
19317func (s *DeletePartitionInput) SetPartitionValues(v []*string) *DeletePartitionInput {
19318	s.PartitionValues = v
19319	return s
19320}
19321
19322// SetTableName sets the TableName field's value.
19323func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput {
19324	s.TableName = &v
19325	return s
19326}
19327
19328type DeletePartitionOutput struct {
19329	_ struct{} `type:"structure"`
19330}
19331
19332// String returns the string representation
19333func (s DeletePartitionOutput) String() string {
19334	return awsutil.Prettify(s)
19335}
19336
19337// GoString returns the string representation
19338func (s DeletePartitionOutput) GoString() string {
19339	return s.String()
19340}
19341
19342type DeleteResourcePolicyInput struct {
19343	_ struct{} `type:"structure"`
19344
19345	// The hash value returned when this policy was set.
19346	PolicyHashCondition *string `min:"1" type:"string"`
19347}
19348
19349// String returns the string representation
19350func (s DeleteResourcePolicyInput) String() string {
19351	return awsutil.Prettify(s)
19352}
19353
19354// GoString returns the string representation
19355func (s DeleteResourcePolicyInput) GoString() string {
19356	return s.String()
19357}
19358
19359// Validate inspects the fields of the type to determine if they are valid.
19360func (s *DeleteResourcePolicyInput) Validate() error {
19361	invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"}
19362	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
19363		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
19364	}
19365
19366	if invalidParams.Len() > 0 {
19367		return invalidParams
19368	}
19369	return nil
19370}
19371
19372// SetPolicyHashCondition sets the PolicyHashCondition field's value.
19373func (s *DeleteResourcePolicyInput) SetPolicyHashCondition(v string) *DeleteResourcePolicyInput {
19374	s.PolicyHashCondition = &v
19375	return s
19376}
19377
19378type DeleteResourcePolicyOutput struct {
19379	_ struct{} `type:"structure"`
19380}
19381
19382// String returns the string representation
19383func (s DeleteResourcePolicyOutput) String() string {
19384	return awsutil.Prettify(s)
19385}
19386
19387// GoString returns the string representation
19388func (s DeleteResourcePolicyOutput) GoString() string {
19389	return s.String()
19390}
19391
19392type DeleteSecurityConfigurationInput struct {
19393	_ struct{} `type:"structure"`
19394
19395	// The name of the security configuration to delete.
19396	//
19397	// Name is a required field
19398	Name *string `min:"1" type:"string" required:"true"`
19399}
19400
19401// String returns the string representation
19402func (s DeleteSecurityConfigurationInput) String() string {
19403	return awsutil.Prettify(s)
19404}
19405
19406// GoString returns the string representation
19407func (s DeleteSecurityConfigurationInput) GoString() string {
19408	return s.String()
19409}
19410
19411// Validate inspects the fields of the type to determine if they are valid.
19412func (s *DeleteSecurityConfigurationInput) Validate() error {
19413	invalidParams := request.ErrInvalidParams{Context: "DeleteSecurityConfigurationInput"}
19414	if s.Name == nil {
19415		invalidParams.Add(request.NewErrParamRequired("Name"))
19416	}
19417	if s.Name != nil && len(*s.Name) < 1 {
19418		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19419	}
19420
19421	if invalidParams.Len() > 0 {
19422		return invalidParams
19423	}
19424	return nil
19425}
19426
19427// SetName sets the Name field's value.
19428func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput {
19429	s.Name = &v
19430	return s
19431}
19432
19433type DeleteSecurityConfigurationOutput struct {
19434	_ struct{} `type:"structure"`
19435}
19436
19437// String returns the string representation
19438func (s DeleteSecurityConfigurationOutput) String() string {
19439	return awsutil.Prettify(s)
19440}
19441
19442// GoString returns the string representation
19443func (s DeleteSecurityConfigurationOutput) GoString() string {
19444	return s.String()
19445}
19446
19447type DeleteTableInput struct {
19448	_ struct{} `type:"structure"`
19449
19450	// The ID of the Data Catalog where the table resides. If none is provided,
19451	// the AWS account ID is used by default.
19452	CatalogId *string `min:"1" type:"string"`
19453
19454	// The name of the catalog database in which the table resides. For Hive compatibility,
19455	// this name is entirely lowercase.
19456	//
19457	// DatabaseName is a required field
19458	DatabaseName *string `min:"1" type:"string" required:"true"`
19459
19460	// The name of the table to be deleted. For Hive compatibility, this name is
19461	// entirely lowercase.
19462	//
19463	// Name is a required field
19464	Name *string `min:"1" type:"string" required:"true"`
19465}
19466
19467// String returns the string representation
19468func (s DeleteTableInput) String() string {
19469	return awsutil.Prettify(s)
19470}
19471
19472// GoString returns the string representation
19473func (s DeleteTableInput) GoString() string {
19474	return s.String()
19475}
19476
19477// Validate inspects the fields of the type to determine if they are valid.
19478func (s *DeleteTableInput) Validate() error {
19479	invalidParams := request.ErrInvalidParams{Context: "DeleteTableInput"}
19480	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19481		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19482	}
19483	if s.DatabaseName == nil {
19484		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19485	}
19486	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19487		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19488	}
19489	if s.Name == nil {
19490		invalidParams.Add(request.NewErrParamRequired("Name"))
19491	}
19492	if s.Name != nil && len(*s.Name) < 1 {
19493		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19494	}
19495
19496	if invalidParams.Len() > 0 {
19497		return invalidParams
19498	}
19499	return nil
19500}
19501
19502// SetCatalogId sets the CatalogId field's value.
19503func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput {
19504	s.CatalogId = &v
19505	return s
19506}
19507
19508// SetDatabaseName sets the DatabaseName field's value.
19509func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput {
19510	s.DatabaseName = &v
19511	return s
19512}
19513
19514// SetName sets the Name field's value.
19515func (s *DeleteTableInput) SetName(v string) *DeleteTableInput {
19516	s.Name = &v
19517	return s
19518}
19519
19520type DeleteTableOutput struct {
19521	_ struct{} `type:"structure"`
19522}
19523
19524// String returns the string representation
19525func (s DeleteTableOutput) String() string {
19526	return awsutil.Prettify(s)
19527}
19528
19529// GoString returns the string representation
19530func (s DeleteTableOutput) GoString() string {
19531	return s.String()
19532}
19533
19534type DeleteTableVersionInput struct {
19535	_ struct{} `type:"structure"`
19536
19537	// The ID of the Data Catalog where the tables reside. If none is provided,
19538	// the AWS account ID is used by default.
19539	CatalogId *string `min:"1" type:"string"`
19540
19541	// The database in the catalog in which the table resides. For Hive compatibility,
19542	// this name is entirely lowercase.
19543	//
19544	// DatabaseName is a required field
19545	DatabaseName *string `min:"1" type:"string" required:"true"`
19546
19547	// The name of the table. For Hive compatibility, this name is entirely lowercase.
19548	//
19549	// TableName is a required field
19550	TableName *string `min:"1" type:"string" required:"true"`
19551
19552	// The ID of the table version to be deleted. A VersionID is a string representation
19553	// of an integer. Each version is incremented by 1.
19554	//
19555	// VersionId is a required field
19556	VersionId *string `min:"1" type:"string" required:"true"`
19557}
19558
19559// String returns the string representation
19560func (s DeleteTableVersionInput) String() string {
19561	return awsutil.Prettify(s)
19562}
19563
19564// GoString returns the string representation
19565func (s DeleteTableVersionInput) GoString() string {
19566	return s.String()
19567}
19568
19569// Validate inspects the fields of the type to determine if they are valid.
19570func (s *DeleteTableVersionInput) Validate() error {
19571	invalidParams := request.ErrInvalidParams{Context: "DeleteTableVersionInput"}
19572	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19573		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19574	}
19575	if s.DatabaseName == nil {
19576		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19577	}
19578	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19579		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19580	}
19581	if s.TableName == nil {
19582		invalidParams.Add(request.NewErrParamRequired("TableName"))
19583	}
19584	if s.TableName != nil && len(*s.TableName) < 1 {
19585		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
19586	}
19587	if s.VersionId == nil {
19588		invalidParams.Add(request.NewErrParamRequired("VersionId"))
19589	}
19590	if s.VersionId != nil && len(*s.VersionId) < 1 {
19591		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
19592	}
19593
19594	if invalidParams.Len() > 0 {
19595		return invalidParams
19596	}
19597	return nil
19598}
19599
19600// SetCatalogId sets the CatalogId field's value.
19601func (s *DeleteTableVersionInput) SetCatalogId(v string) *DeleteTableVersionInput {
19602	s.CatalogId = &v
19603	return s
19604}
19605
19606// SetDatabaseName sets the DatabaseName field's value.
19607func (s *DeleteTableVersionInput) SetDatabaseName(v string) *DeleteTableVersionInput {
19608	s.DatabaseName = &v
19609	return s
19610}
19611
19612// SetTableName sets the TableName field's value.
19613func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput {
19614	s.TableName = &v
19615	return s
19616}
19617
19618// SetVersionId sets the VersionId field's value.
19619func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput {
19620	s.VersionId = &v
19621	return s
19622}
19623
19624type DeleteTableVersionOutput struct {
19625	_ struct{} `type:"structure"`
19626}
19627
19628// String returns the string representation
19629func (s DeleteTableVersionOutput) String() string {
19630	return awsutil.Prettify(s)
19631}
19632
19633// GoString returns the string representation
19634func (s DeleteTableVersionOutput) GoString() string {
19635	return s.String()
19636}
19637
19638type DeleteTriggerInput struct {
19639	_ struct{} `type:"structure"`
19640
19641	// The name of the trigger to delete.
19642	//
19643	// Name is a required field
19644	Name *string `min:"1" type:"string" required:"true"`
19645}
19646
19647// String returns the string representation
19648func (s DeleteTriggerInput) String() string {
19649	return awsutil.Prettify(s)
19650}
19651
19652// GoString returns the string representation
19653func (s DeleteTriggerInput) GoString() string {
19654	return s.String()
19655}
19656
19657// Validate inspects the fields of the type to determine if they are valid.
19658func (s *DeleteTriggerInput) Validate() error {
19659	invalidParams := request.ErrInvalidParams{Context: "DeleteTriggerInput"}
19660	if s.Name == nil {
19661		invalidParams.Add(request.NewErrParamRequired("Name"))
19662	}
19663	if s.Name != nil && len(*s.Name) < 1 {
19664		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19665	}
19666
19667	if invalidParams.Len() > 0 {
19668		return invalidParams
19669	}
19670	return nil
19671}
19672
19673// SetName sets the Name field's value.
19674func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput {
19675	s.Name = &v
19676	return s
19677}
19678
19679type DeleteTriggerOutput struct {
19680	_ struct{} `type:"structure"`
19681
19682	// The name of the trigger that was deleted.
19683	Name *string `min:"1" type:"string"`
19684}
19685
19686// String returns the string representation
19687func (s DeleteTriggerOutput) String() string {
19688	return awsutil.Prettify(s)
19689}
19690
19691// GoString returns the string representation
19692func (s DeleteTriggerOutput) GoString() string {
19693	return s.String()
19694}
19695
19696// SetName sets the Name field's value.
19697func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput {
19698	s.Name = &v
19699	return s
19700}
19701
19702type DeleteUserDefinedFunctionInput struct {
19703	_ struct{} `type:"structure"`
19704
19705	// The ID of the Data Catalog where the function to be deleted is located. If
19706	// none is supplied, the AWS account ID is used by default.
19707	CatalogId *string `min:"1" type:"string"`
19708
19709	// The name of the catalog database where the function is located.
19710	//
19711	// DatabaseName is a required field
19712	DatabaseName *string `min:"1" type:"string" required:"true"`
19713
19714	// The name of the function definition to be deleted.
19715	//
19716	// FunctionName is a required field
19717	FunctionName *string `min:"1" type:"string" required:"true"`
19718}
19719
19720// String returns the string representation
19721func (s DeleteUserDefinedFunctionInput) String() string {
19722	return awsutil.Prettify(s)
19723}
19724
19725// GoString returns the string representation
19726func (s DeleteUserDefinedFunctionInput) GoString() string {
19727	return s.String()
19728}
19729
19730// Validate inspects the fields of the type to determine if they are valid.
19731func (s *DeleteUserDefinedFunctionInput) Validate() error {
19732	invalidParams := request.ErrInvalidParams{Context: "DeleteUserDefinedFunctionInput"}
19733	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19734		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19735	}
19736	if s.DatabaseName == nil {
19737		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19738	}
19739	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19740		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19741	}
19742	if s.FunctionName == nil {
19743		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
19744	}
19745	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
19746		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
19747	}
19748
19749	if invalidParams.Len() > 0 {
19750		return invalidParams
19751	}
19752	return nil
19753}
19754
19755// SetCatalogId sets the CatalogId field's value.
19756func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput {
19757	s.CatalogId = &v
19758	return s
19759}
19760
19761// SetDatabaseName sets the DatabaseName field's value.
19762func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput {
19763	s.DatabaseName = &v
19764	return s
19765}
19766
19767// SetFunctionName sets the FunctionName field's value.
19768func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput {
19769	s.FunctionName = &v
19770	return s
19771}
19772
19773type DeleteUserDefinedFunctionOutput struct {
19774	_ struct{} `type:"structure"`
19775}
19776
19777// String returns the string representation
19778func (s DeleteUserDefinedFunctionOutput) String() string {
19779	return awsutil.Prettify(s)
19780}
19781
19782// GoString returns the string representation
19783func (s DeleteUserDefinedFunctionOutput) GoString() string {
19784	return s.String()
19785}
19786
19787type DeleteWorkflowInput struct {
19788	_ struct{} `type:"structure"`
19789
19790	// Name of the workflow to be deleted.
19791	//
19792	// Name is a required field
19793	Name *string `min:"1" type:"string" required:"true"`
19794}
19795
19796// String returns the string representation
19797func (s DeleteWorkflowInput) String() string {
19798	return awsutil.Prettify(s)
19799}
19800
19801// GoString returns the string representation
19802func (s DeleteWorkflowInput) GoString() string {
19803	return s.String()
19804}
19805
19806// Validate inspects the fields of the type to determine if they are valid.
19807func (s *DeleteWorkflowInput) Validate() error {
19808	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"}
19809	if s.Name == nil {
19810		invalidParams.Add(request.NewErrParamRequired("Name"))
19811	}
19812	if s.Name != nil && len(*s.Name) < 1 {
19813		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19814	}
19815
19816	if invalidParams.Len() > 0 {
19817		return invalidParams
19818	}
19819	return nil
19820}
19821
19822// SetName sets the Name field's value.
19823func (s *DeleteWorkflowInput) SetName(v string) *DeleteWorkflowInput {
19824	s.Name = &v
19825	return s
19826}
19827
19828type DeleteWorkflowOutput struct {
19829	_ struct{} `type:"structure"`
19830
19831	// Name of the workflow specified in input.
19832	Name *string `min:"1" type:"string"`
19833}
19834
19835// String returns the string representation
19836func (s DeleteWorkflowOutput) String() string {
19837	return awsutil.Prettify(s)
19838}
19839
19840// GoString returns the string representation
19841func (s DeleteWorkflowOutput) GoString() string {
19842	return s.String()
19843}
19844
19845// SetName sets the Name field's value.
19846func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput {
19847	s.Name = &v
19848	return s
19849}
19850
19851// A development endpoint where a developer can remotely debug extract, transform,
19852// and load (ETL) scripts.
19853type DevEndpoint struct {
19854	_ struct{} `type:"structure"`
19855
19856	// A map of arguments used to configure the DevEndpoint.
19857	//
19858	// Valid arguments are:
19859	//
19860	//    * "--enable-glue-datacatalog": ""
19861	//
19862	//    * "GLUE_PYTHON_VERSION": "3"
19863	//
19864	//    * "GLUE_PYTHON_VERSION": "2"
19865	//
19866	// You can specify a version of Python support for development endpoints by
19867	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19868	// APIs. If no arguments are provided, the version defaults to Python 2.
19869	Arguments map[string]*string `type:"map"`
19870
19871	// The AWS Availability Zone where this DevEndpoint is located.
19872	AvailabilityZone *string `type:"string"`
19873
19874	// The point in time at which this DevEndpoint was created.
19875	CreatedTimestamp *time.Time `type:"timestamp"`
19876
19877	// The name of the DevEndpoint.
19878	EndpointName *string `type:"string"`
19879
19880	// The path to one or more Java .jar files in an S3 bucket that should be loaded
19881	// in your DevEndpoint.
19882	//
19883	// You can only use pure Java/Scala libraries with a DevEndpoint.
19884	ExtraJarsS3Path *string `type:"string"`
19885
19886	// The paths to one or more Python libraries in an Amazon S3 bucket that should
19887	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
19888	// by a comma.
19889	//
19890	// You can only use pure Python libraries with a DevEndpoint. Libraries that
19891	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
19892	// data analysis library, are not currently supported.
19893	ExtraPythonLibsS3Path *string `type:"string"`
19894
19895	// The reason for a current failure in this DevEndpoint.
19896	FailureReason *string `type:"string"`
19897
19898	// Glue version determines the versions of Apache Spark and Python that AWS
19899	// Glue supports. The Python version indicates the version supported for running
19900	// your ETL scripts on development endpoints.
19901	//
19902	// For more information about the available AWS Glue versions and corresponding
19903	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
19904	// in the developer guide.
19905	//
19906	// Development endpoints that are created without specifying a Glue version
19907	// default to Glue 0.9.
19908	//
19909	// You can specify a version of Python support for development endpoints by
19910	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19911	// APIs. If no arguments are provided, the version defaults to Python 2.
19912	GlueVersion *string `min:"1" type:"string"`
19913
19914	// The point in time at which this DevEndpoint was last modified.
19915	LastModifiedTimestamp *time.Time `type:"timestamp"`
19916
19917	// The status of the last update.
19918	LastUpdateStatus *string `type:"string"`
19919
19920	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
19921	NumberOfNodes *int64 `type:"integer"`
19922
19923	// The number of workers of a defined workerType that are allocated to the development
19924	// endpoint.
19925	//
19926	// The maximum number of workers you can define are 299 for G.1X, and 149 for
19927	// G.2X.
19928	NumberOfWorkers *int64 `type:"integer"`
19929
19930	// A private IP address to access the DevEndpoint within a VPC if the DevEndpoint
19931	// is created within one. The PrivateAddress field is present only when you
19932	// create the DevEndpoint within your VPC.
19933	PrivateAddress *string `type:"string"`
19934
19935	// The public IP address used by this DevEndpoint. The PublicAddress field is
19936	// present only when you create a non-virtual private cloud (VPC) DevEndpoint.
19937	PublicAddress *string `type:"string"`
19938
19939	// The public key to be used by this DevEndpoint for authentication. This attribute
19940	// is provided for backward compatibility because the recommended attribute
19941	// to use is public keys.
19942	PublicKey *string `type:"string"`
19943
19944	// A list of public keys to be used by the DevEndpoints for authentication.
19945	// Using this attribute is preferred over a single public key because the public
19946	// keys allow you to have a different private key per client.
19947	//
19948	// If you previously created an endpoint with a public key, you must remove
19949	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
19950	// API operation with the public key content in the deletePublicKeys attribute,
19951	// and the list of new keys in the addPublicKeys attribute.
19952	PublicKeys []*string `type:"list"`
19953
19954	// The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint.
19955	RoleArn *string `type:"string"`
19956
19957	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
19958	SecurityConfiguration *string `min:"1" type:"string"`
19959
19960	// A list of security group identifiers used in this DevEndpoint.
19961	SecurityGroupIds []*string `type:"list"`
19962
19963	// The current status of this DevEndpoint.
19964	Status *string `type:"string"`
19965
19966	// The subnet ID for this DevEndpoint.
19967	SubnetId *string `type:"string"`
19968
19969	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
19970	VpcId *string `type:"string"`
19971
19972	// The type of predefined worker that is allocated to the development endpoint.
19973	// Accepts a value of Standard, G.1X, or G.2X.
19974	//
19975	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
19976	//    memory and a 50GB disk, and 2 executors per worker.
19977	//
19978	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
19979	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
19980	//    this worker type for memory-intensive jobs.
19981	//
19982	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
19983	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
19984	//    this worker type for memory-intensive jobs.
19985	//
19986	// Known issue: when a development endpoint is created with the G.2X WorkerType
19987	// configuration, the Spark drivers for the development endpoint will run on
19988	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
19989	WorkerType *string `type:"string" enum:"WorkerType"`
19990
19991	// The YARN endpoint address used by this DevEndpoint.
19992	YarnEndpointAddress *string `type:"string"`
19993
19994	// The Apache Zeppelin port for the remote Apache Spark interpreter.
19995	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
19996}
19997
19998// String returns the string representation
19999func (s DevEndpoint) String() string {
20000	return awsutil.Prettify(s)
20001}
20002
20003// GoString returns the string representation
20004func (s DevEndpoint) GoString() string {
20005	return s.String()
20006}
20007
20008// SetArguments sets the Arguments field's value.
20009func (s *DevEndpoint) SetArguments(v map[string]*string) *DevEndpoint {
20010	s.Arguments = v
20011	return s
20012}
20013
20014// SetAvailabilityZone sets the AvailabilityZone field's value.
20015func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint {
20016	s.AvailabilityZone = &v
20017	return s
20018}
20019
20020// SetCreatedTimestamp sets the CreatedTimestamp field's value.
20021func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint {
20022	s.CreatedTimestamp = &v
20023	return s
20024}
20025
20026// SetEndpointName sets the EndpointName field's value.
20027func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint {
20028	s.EndpointName = &v
20029	return s
20030}
20031
20032// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
20033func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint {
20034	s.ExtraJarsS3Path = &v
20035	return s
20036}
20037
20038// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
20039func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint {
20040	s.ExtraPythonLibsS3Path = &v
20041	return s
20042}
20043
20044// SetFailureReason sets the FailureReason field's value.
20045func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint {
20046	s.FailureReason = &v
20047	return s
20048}
20049
20050// SetGlueVersion sets the GlueVersion field's value.
20051func (s *DevEndpoint) SetGlueVersion(v string) *DevEndpoint {
20052	s.GlueVersion = &v
20053	return s
20054}
20055
20056// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
20057func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint {
20058	s.LastModifiedTimestamp = &v
20059	return s
20060}
20061
20062// SetLastUpdateStatus sets the LastUpdateStatus field's value.
20063func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint {
20064	s.LastUpdateStatus = &v
20065	return s
20066}
20067
20068// SetNumberOfNodes sets the NumberOfNodes field's value.
20069func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint {
20070	s.NumberOfNodes = &v
20071	return s
20072}
20073
20074// SetNumberOfWorkers sets the NumberOfWorkers field's value.
20075func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint {
20076	s.NumberOfWorkers = &v
20077	return s
20078}
20079
20080// SetPrivateAddress sets the PrivateAddress field's value.
20081func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint {
20082	s.PrivateAddress = &v
20083	return s
20084}
20085
20086// SetPublicAddress sets the PublicAddress field's value.
20087func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint {
20088	s.PublicAddress = &v
20089	return s
20090}
20091
20092// SetPublicKey sets the PublicKey field's value.
20093func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint {
20094	s.PublicKey = &v
20095	return s
20096}
20097
20098// SetPublicKeys sets the PublicKeys field's value.
20099func (s *DevEndpoint) SetPublicKeys(v []*string) *DevEndpoint {
20100	s.PublicKeys = v
20101	return s
20102}
20103
20104// SetRoleArn sets the RoleArn field's value.
20105func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint {
20106	s.RoleArn = &v
20107	return s
20108}
20109
20110// SetSecurityConfiguration sets the SecurityConfiguration field's value.
20111func (s *DevEndpoint) SetSecurityConfiguration(v string) *DevEndpoint {
20112	s.SecurityConfiguration = &v
20113	return s
20114}
20115
20116// SetSecurityGroupIds sets the SecurityGroupIds field's value.
20117func (s *DevEndpoint) SetSecurityGroupIds(v []*string) *DevEndpoint {
20118	s.SecurityGroupIds = v
20119	return s
20120}
20121
20122// SetStatus sets the Status field's value.
20123func (s *DevEndpoint) SetStatus(v string) *DevEndpoint {
20124	s.Status = &v
20125	return s
20126}
20127
20128// SetSubnetId sets the SubnetId field's value.
20129func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint {
20130	s.SubnetId = &v
20131	return s
20132}
20133
20134// SetVpcId sets the VpcId field's value.
20135func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint {
20136	s.VpcId = &v
20137	return s
20138}
20139
20140// SetWorkerType sets the WorkerType field's value.
20141func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint {
20142	s.WorkerType = &v
20143	return s
20144}
20145
20146// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
20147func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint {
20148	s.YarnEndpointAddress = &v
20149	return s
20150}
20151
20152// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
20153func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint {
20154	s.ZeppelinRemoteSparkInterpreterPort = &v
20155	return s
20156}
20157
20158// Custom libraries to be loaded into a development endpoint.
20159type DevEndpointCustomLibraries struct {
20160	_ struct{} `type:"structure"`
20161
20162	// The path to one or more Java .jar files in an S3 bucket that should be loaded
20163	// in your DevEndpoint.
20164	//
20165	// You can only use pure Java/Scala libraries with a DevEndpoint.
20166	ExtraJarsS3Path *string `type:"string"`
20167
20168	// The paths to one or more Python libraries in an Amazon Simple Storage Service
20169	// (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values
20170	// must be complete paths separated by a comma.
20171	//
20172	// You can only use pure Python libraries with a DevEndpoint. Libraries that
20173	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
20174	// data analysis library, are not currently supported.
20175	ExtraPythonLibsS3Path *string `type:"string"`
20176}
20177
20178// String returns the string representation
20179func (s DevEndpointCustomLibraries) String() string {
20180	return awsutil.Prettify(s)
20181}
20182
20183// GoString returns the string representation
20184func (s DevEndpointCustomLibraries) GoString() string {
20185	return s.String()
20186}
20187
20188// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
20189func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries {
20190	s.ExtraJarsS3Path = &v
20191	return s
20192}
20193
20194// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
20195func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries {
20196	s.ExtraPythonLibsS3Path = &v
20197	return s
20198}
20199
20200// Specifies an Amazon DynamoDB table to crawl.
20201type DynamoDBTarget struct {
20202	_ struct{} `type:"structure"`
20203
20204	// The name of the DynamoDB table to crawl.
20205	Path *string `type:"string"`
20206}
20207
20208// String returns the string representation
20209func (s DynamoDBTarget) String() string {
20210	return awsutil.Prettify(s)
20211}
20212
20213// GoString returns the string representation
20214func (s DynamoDBTarget) GoString() string {
20215	return s.String()
20216}
20217
20218// SetPath sets the Path field's value.
20219func (s *DynamoDBTarget) SetPath(v string) *DynamoDBTarget {
20220	s.Path = &v
20221	return s
20222}
20223
20224// An edge represents a directed connection between two AWS Glue components
20225// which are part of the workflow the edge belongs to.
20226type Edge struct {
20227	_ struct{} `type:"structure"`
20228
20229	// The unique of the node within the workflow where the edge ends.
20230	DestinationId *string `min:"1" type:"string"`
20231
20232	// The unique of the node within the workflow where the edge starts.
20233	SourceId *string `min:"1" type:"string"`
20234}
20235
20236// String returns the string representation
20237func (s Edge) String() string {
20238	return awsutil.Prettify(s)
20239}
20240
20241// GoString returns the string representation
20242func (s Edge) GoString() string {
20243	return s.String()
20244}
20245
20246// SetDestinationId sets the DestinationId field's value.
20247func (s *Edge) SetDestinationId(v string) *Edge {
20248	s.DestinationId = &v
20249	return s
20250}
20251
20252// SetSourceId sets the SourceId field's value.
20253func (s *Edge) SetSourceId(v string) *Edge {
20254	s.SourceId = &v
20255	return s
20256}
20257
20258// Specifies the encryption-at-rest configuration for the Data Catalog.
20259type EncryptionAtRest struct {
20260	_ struct{} `type:"structure"`
20261
20262	// The encryption-at-rest mode for encrypting Data Catalog data.
20263	//
20264	// CatalogEncryptionMode is a required field
20265	CatalogEncryptionMode *string `type:"string" required:"true" enum:"CatalogEncryptionMode"`
20266
20267	// The ID of the AWS KMS key to use for encryption at rest.
20268	SseAwsKmsKeyId *string `min:"1" type:"string"`
20269}
20270
20271// String returns the string representation
20272func (s EncryptionAtRest) String() string {
20273	return awsutil.Prettify(s)
20274}
20275
20276// GoString returns the string representation
20277func (s EncryptionAtRest) GoString() string {
20278	return s.String()
20279}
20280
20281// Validate inspects the fields of the type to determine if they are valid.
20282func (s *EncryptionAtRest) Validate() error {
20283	invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRest"}
20284	if s.CatalogEncryptionMode == nil {
20285		invalidParams.Add(request.NewErrParamRequired("CatalogEncryptionMode"))
20286	}
20287	if s.SseAwsKmsKeyId != nil && len(*s.SseAwsKmsKeyId) < 1 {
20288		invalidParams.Add(request.NewErrParamMinLen("SseAwsKmsKeyId", 1))
20289	}
20290
20291	if invalidParams.Len() > 0 {
20292		return invalidParams
20293	}
20294	return nil
20295}
20296
20297// SetCatalogEncryptionMode sets the CatalogEncryptionMode field's value.
20298func (s *EncryptionAtRest) SetCatalogEncryptionMode(v string) *EncryptionAtRest {
20299	s.CatalogEncryptionMode = &v
20300	return s
20301}
20302
20303// SetSseAwsKmsKeyId sets the SseAwsKmsKeyId field's value.
20304func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest {
20305	s.SseAwsKmsKeyId = &v
20306	return s
20307}
20308
20309// Specifies an encryption configuration.
20310type EncryptionConfiguration struct {
20311	_ struct{} `type:"structure"`
20312
20313	// The encryption configuration for Amazon CloudWatch.
20314	CloudWatchEncryption *CloudWatchEncryption `type:"structure"`
20315
20316	// The encryption configuration for job bookmarks.
20317	JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"`
20318
20319	// The encryption configuration for Amazon Simple Storage Service (Amazon S3)
20320	// data.
20321	S3Encryption []*S3Encryption `type:"list"`
20322}
20323
20324// String returns the string representation
20325func (s EncryptionConfiguration) String() string {
20326	return awsutil.Prettify(s)
20327}
20328
20329// GoString returns the string representation
20330func (s EncryptionConfiguration) GoString() string {
20331	return s.String()
20332}
20333
20334// SetCloudWatchEncryption sets the CloudWatchEncryption field's value.
20335func (s *EncryptionConfiguration) SetCloudWatchEncryption(v *CloudWatchEncryption) *EncryptionConfiguration {
20336	s.CloudWatchEncryption = v
20337	return s
20338}
20339
20340// SetJobBookmarksEncryption sets the JobBookmarksEncryption field's value.
20341func (s *EncryptionConfiguration) SetJobBookmarksEncryption(v *JobBookmarksEncryption) *EncryptionConfiguration {
20342	s.JobBookmarksEncryption = v
20343	return s
20344}
20345
20346// SetS3Encryption sets the S3Encryption field's value.
20347func (s *EncryptionConfiguration) SetS3Encryption(v []*S3Encryption) *EncryptionConfiguration {
20348	s.S3Encryption = v
20349	return s
20350}
20351
20352// An encryption operation failed.
20353type EncryptionException struct {
20354	_            struct{} `type:"structure"`
20355	respMetadata protocol.ResponseMetadata
20356
20357	// A message describing the problem.
20358	Message_ *string `locationName:"Message" type:"string"`
20359}
20360
20361// String returns the string representation
20362func (s EncryptionException) String() string {
20363	return awsutil.Prettify(s)
20364}
20365
20366// GoString returns the string representation
20367func (s EncryptionException) GoString() string {
20368	return s.String()
20369}
20370
20371func newErrorEncryptionException(v protocol.ResponseMetadata) error {
20372	return &EncryptionException{
20373		respMetadata: v,
20374	}
20375}
20376
20377// Code returns the exception type name.
20378func (s EncryptionException) Code() string {
20379	return "GlueEncryptionException"
20380}
20381
20382// Message returns the exception's message.
20383func (s EncryptionException) Message() string {
20384	if s.Message_ != nil {
20385		return *s.Message_
20386	}
20387	return ""
20388}
20389
20390// OrigErr always returns nil, satisfies awserr.Error interface.
20391func (s EncryptionException) OrigErr() error {
20392	return nil
20393}
20394
20395func (s EncryptionException) Error() string {
20396	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
20397}
20398
20399// Status code returns the HTTP status code for the request's response error.
20400func (s EncryptionException) StatusCode() int {
20401	return s.respMetadata.StatusCode
20402}
20403
20404// RequestID returns the service's response RequestID for request.
20405func (s EncryptionException) RequestID() string {
20406	return s.respMetadata.RequestID
20407}
20408
20409// A specified entity does not exist
20410type EntityNotFoundException struct {
20411	_            struct{} `type:"structure"`
20412	respMetadata protocol.ResponseMetadata
20413
20414	// A message describing the problem.
20415	Message_ *string `locationName:"Message" type:"string"`
20416}
20417
20418// String returns the string representation
20419func (s EntityNotFoundException) String() string {
20420	return awsutil.Prettify(s)
20421}
20422
20423// GoString returns the string representation
20424func (s EntityNotFoundException) GoString() string {
20425	return s.String()
20426}
20427
20428func newErrorEntityNotFoundException(v protocol.ResponseMetadata) error {
20429	return &EntityNotFoundException{
20430		respMetadata: v,
20431	}
20432}
20433
20434// Code returns the exception type name.
20435func (s EntityNotFoundException) Code() string {
20436	return "EntityNotFoundException"
20437}
20438
20439// Message returns the exception's message.
20440func (s EntityNotFoundException) Message() string {
20441	if s.Message_ != nil {
20442		return *s.Message_
20443	}
20444	return ""
20445}
20446
20447// OrigErr always returns nil, satisfies awserr.Error interface.
20448func (s EntityNotFoundException) OrigErr() error {
20449	return nil
20450}
20451
20452func (s EntityNotFoundException) Error() string {
20453	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
20454}
20455
20456// Status code returns the HTTP status code for the request's response error.
20457func (s EntityNotFoundException) StatusCode() int {
20458	return s.respMetadata.StatusCode
20459}
20460
20461// RequestID returns the service's response RequestID for request.
20462func (s EntityNotFoundException) RequestID() string {
20463	return s.respMetadata.RequestID
20464}
20465
20466// Contains details about an error.
20467type ErrorDetail struct {
20468	_ struct{} `type:"structure"`
20469
20470	// The code associated with this error.
20471	ErrorCode *string `min:"1" type:"string"`
20472
20473	// A message describing the error.
20474	ErrorMessage *string `type:"string"`
20475}
20476
20477// String returns the string representation
20478func (s ErrorDetail) String() string {
20479	return awsutil.Prettify(s)
20480}
20481
20482// GoString returns the string representation
20483func (s ErrorDetail) GoString() string {
20484	return s.String()
20485}
20486
20487// SetErrorCode sets the ErrorCode field's value.
20488func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail {
20489	s.ErrorCode = &v
20490	return s
20491}
20492
20493// SetErrorMessage sets the ErrorMessage field's value.
20494func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail {
20495	s.ErrorMessage = &v
20496	return s
20497}
20498
20499// Evaluation metrics provide an estimate of the quality of your machine learning
20500// transform.
20501type EvaluationMetrics struct {
20502	_ struct{} `type:"structure"`
20503
20504	// The evaluation metrics for the find matches algorithm.
20505	FindMatchesMetrics *FindMatchesMetrics `type:"structure"`
20506
20507	// The type of machine learning transform.
20508	//
20509	// TransformType is a required field
20510	TransformType *string `type:"string" required:"true" enum:"TransformType"`
20511}
20512
20513// String returns the string representation
20514func (s EvaluationMetrics) String() string {
20515	return awsutil.Prettify(s)
20516}
20517
20518// GoString returns the string representation
20519func (s EvaluationMetrics) GoString() string {
20520	return s.String()
20521}
20522
20523// SetFindMatchesMetrics sets the FindMatchesMetrics field's value.
20524func (s *EvaluationMetrics) SetFindMatchesMetrics(v *FindMatchesMetrics) *EvaluationMetrics {
20525	s.FindMatchesMetrics = v
20526	return s
20527}
20528
20529// SetTransformType sets the TransformType field's value.
20530func (s *EvaluationMetrics) SetTransformType(v string) *EvaluationMetrics {
20531	s.TransformType = &v
20532	return s
20533}
20534
20535// An execution property of a job.
20536type ExecutionProperty struct {
20537	_ struct{} `type:"structure"`
20538
20539	// The maximum number of concurrent runs allowed for the job. The default is
20540	// 1. An error is returned when this threshold is reached. The maximum value
20541	// you can specify is controlled by a service limit.
20542	MaxConcurrentRuns *int64 `type:"integer"`
20543}
20544
20545// String returns the string representation
20546func (s ExecutionProperty) String() string {
20547	return awsutil.Prettify(s)
20548}
20549
20550// GoString returns the string representation
20551func (s ExecutionProperty) GoString() string {
20552	return s.String()
20553}
20554
20555// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
20556func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty {
20557	s.MaxConcurrentRuns = &v
20558	return s
20559}
20560
20561// Specifies configuration properties for an exporting labels task run.
20562type ExportLabelsTaskRunProperties struct {
20563	_ struct{} `type:"structure"`
20564
20565	// The Amazon Simple Storage Service (Amazon S3) path where you will export
20566	// the labels.
20567	OutputS3Path *string `type:"string"`
20568}
20569
20570// String returns the string representation
20571func (s ExportLabelsTaskRunProperties) String() string {
20572	return awsutil.Prettify(s)
20573}
20574
20575// GoString returns the string representation
20576func (s ExportLabelsTaskRunProperties) GoString() string {
20577	return s.String()
20578}
20579
20580// SetOutputS3Path sets the OutputS3Path field's value.
20581func (s *ExportLabelsTaskRunProperties) SetOutputS3Path(v string) *ExportLabelsTaskRunProperties {
20582	s.OutputS3Path = &v
20583	return s
20584}
20585
20586// The evaluation metrics for the find matches algorithm. The quality of your
20587// machine learning transform is measured by getting your transform to predict
20588// some matches and comparing the results to known matches from the same dataset.
20589// The quality metrics are based on a subset of your data, so they are not precise.
20590type FindMatchesMetrics struct {
20591	_ struct{} `type:"structure"`
20592
20593	// The area under the precision/recall curve (AUPRC) is a single number measuring
20594	// the overall quality of the transform, that is independent of the choice made
20595	// for precision vs. recall. Higher values indicate that you have a more attractive
20596	// precision vs. recall tradeoff.
20597	//
20598	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
20599	// in Wikipedia.
20600	AreaUnderPRCurve *float64 `type:"double"`
20601
20602	// The confusion matrix shows you what your transform is predicting accurately
20603	// and what types of errors it is making.
20604	//
20605	// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
20606	// in Wikipedia.
20607	ConfusionMatrix *ConfusionMatrix `type:"structure"`
20608
20609	// The maximum F1 metric indicates the transform's accuracy between 0 and 1,
20610	// where 1 is the best accuracy.
20611	//
20612	// For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score)
20613	// in Wikipedia.
20614	F1 *float64 `type:"double"`
20615
20616	// The precision metric indicates when often your transform is correct when
20617	// it predicts a match. Specifically, it measures how well the transform finds
20618	// true positives from the total true positives possible.
20619	//
20620	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
20621	// in Wikipedia.
20622	Precision *float64 `type:"double"`
20623
20624	// The recall metric indicates that for an actual match, how often your transform
20625	// predicts the match. Specifically, it measures how well the transform finds
20626	// true positives from the total records in the source data.
20627	//
20628	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
20629	// in Wikipedia.
20630	Recall *float64 `type:"double"`
20631}
20632
20633// String returns the string representation
20634func (s FindMatchesMetrics) String() string {
20635	return awsutil.Prettify(s)
20636}
20637
20638// GoString returns the string representation
20639func (s FindMatchesMetrics) GoString() string {
20640	return s.String()
20641}
20642
20643// SetAreaUnderPRCurve sets the AreaUnderPRCurve field's value.
20644func (s *FindMatchesMetrics) SetAreaUnderPRCurve(v float64) *FindMatchesMetrics {
20645	s.AreaUnderPRCurve = &v
20646	return s
20647}
20648
20649// SetConfusionMatrix sets the ConfusionMatrix field's value.
20650func (s *FindMatchesMetrics) SetConfusionMatrix(v *ConfusionMatrix) *FindMatchesMetrics {
20651	s.ConfusionMatrix = v
20652	return s
20653}
20654
20655// SetF1 sets the F1 field's value.
20656func (s *FindMatchesMetrics) SetF1(v float64) *FindMatchesMetrics {
20657	s.F1 = &v
20658	return s
20659}
20660
20661// SetPrecision sets the Precision field's value.
20662func (s *FindMatchesMetrics) SetPrecision(v float64) *FindMatchesMetrics {
20663	s.Precision = &v
20664	return s
20665}
20666
20667// SetRecall sets the Recall field's value.
20668func (s *FindMatchesMetrics) SetRecall(v float64) *FindMatchesMetrics {
20669	s.Recall = &v
20670	return s
20671}
20672
20673// The parameters to configure the find matches transform.
20674type FindMatchesParameters struct {
20675	_ struct{} `type:"structure"`
20676
20677	// The value that is selected when tuning your transform for a balance between
20678	// accuracy and cost. A value of 0.5 means that the system balances accuracy
20679	// and cost concerns. A value of 1.0 means a bias purely for accuracy, which
20680	// typically results in a higher cost, sometimes substantially higher. A value
20681	// of 0.0 means a bias purely for cost, which results in a less accurate FindMatches
20682	// transform, sometimes with unacceptable accuracy.
20683	//
20684	// Accuracy measures how well the transform finds true positives and true negatives.
20685	// Increasing accuracy requires more machine resources and cost. But it also
20686	// results in increased recall.
20687	//
20688	// Cost measures how many compute resources, and thus money, are consumed to
20689	// run the transform.
20690	AccuracyCostTradeoff *float64 `type:"double"`
20691
20692	// The value to switch on or off to force the output to match the provided labels
20693	// from users. If the value is True, the find matches transform forces the output
20694	// to match the provided labels. The results override the normal conflation
20695	// results. If the value is False, the find matches transform does not ensure
20696	// all the labels provided are respected, and the results rely on the trained
20697	// model.
20698	//
20699	// Note that setting this value to true may increase the conflation execution
20700	// time.
20701	EnforceProvidedLabels *bool `type:"boolean"`
20702
20703	// The value selected when tuning your transform for a balance between precision
20704	// and recall. A value of 0.5 means no preference; a value of 1.0 means a bias
20705	// purely for precision, and a value of 0.0 means a bias for recall. Because
20706	// this is a tradeoff, choosing values close to 1.0 means very low recall, and
20707	// choosing values close to 0.0 results in very low precision.
20708	//
20709	// The precision metric indicates how often your model is correct when it predicts
20710	// a match.
20711	//
20712	// The recall metric indicates that for an actual match, how often your model
20713	// predicts the match.
20714	PrecisionRecallTradeoff *float64 `type:"double"`
20715
20716	// The name of a column that uniquely identifies rows in the source table. Used
20717	// to help identify matching records.
20718	PrimaryKeyColumnName *string `min:"1" type:"string"`
20719}
20720
20721// String returns the string representation
20722func (s FindMatchesParameters) String() string {
20723	return awsutil.Prettify(s)
20724}
20725
20726// GoString returns the string representation
20727func (s FindMatchesParameters) GoString() string {
20728	return s.String()
20729}
20730
20731// Validate inspects the fields of the type to determine if they are valid.
20732func (s *FindMatchesParameters) Validate() error {
20733	invalidParams := request.ErrInvalidParams{Context: "FindMatchesParameters"}
20734	if s.PrimaryKeyColumnName != nil && len(*s.PrimaryKeyColumnName) < 1 {
20735		invalidParams.Add(request.NewErrParamMinLen("PrimaryKeyColumnName", 1))
20736	}
20737
20738	if invalidParams.Len() > 0 {
20739		return invalidParams
20740	}
20741	return nil
20742}
20743
20744// SetAccuracyCostTradeoff sets the AccuracyCostTradeoff field's value.
20745func (s *FindMatchesParameters) SetAccuracyCostTradeoff(v float64) *FindMatchesParameters {
20746	s.AccuracyCostTradeoff = &v
20747	return s
20748}
20749
20750// SetEnforceProvidedLabels sets the EnforceProvidedLabels field's value.
20751func (s *FindMatchesParameters) SetEnforceProvidedLabels(v bool) *FindMatchesParameters {
20752	s.EnforceProvidedLabels = &v
20753	return s
20754}
20755
20756// SetPrecisionRecallTradeoff sets the PrecisionRecallTradeoff field's value.
20757func (s *FindMatchesParameters) SetPrecisionRecallTradeoff(v float64) *FindMatchesParameters {
20758	s.PrecisionRecallTradeoff = &v
20759	return s
20760}
20761
20762// SetPrimaryKeyColumnName sets the PrimaryKeyColumnName field's value.
20763func (s *FindMatchesParameters) SetPrimaryKeyColumnName(v string) *FindMatchesParameters {
20764	s.PrimaryKeyColumnName = &v
20765	return s
20766}
20767
20768// Specifies configuration properties for a Find Matches task run.
20769type FindMatchesTaskRunProperties struct {
20770	_ struct{} `type:"structure"`
20771
20772	// The job ID for the Find Matches task run.
20773	JobId *string `min:"1" type:"string"`
20774
20775	// The name assigned to the job for the Find Matches task run.
20776	JobName *string `min:"1" type:"string"`
20777
20778	// The job run ID for the Find Matches task run.
20779	JobRunId *string `min:"1" type:"string"`
20780}
20781
20782// String returns the string representation
20783func (s FindMatchesTaskRunProperties) String() string {
20784	return awsutil.Prettify(s)
20785}
20786
20787// GoString returns the string representation
20788func (s FindMatchesTaskRunProperties) GoString() string {
20789	return s.String()
20790}
20791
20792// SetJobId sets the JobId field's value.
20793func (s *FindMatchesTaskRunProperties) SetJobId(v string) *FindMatchesTaskRunProperties {
20794	s.JobId = &v
20795	return s
20796}
20797
20798// SetJobName sets the JobName field's value.
20799func (s *FindMatchesTaskRunProperties) SetJobName(v string) *FindMatchesTaskRunProperties {
20800	s.JobName = &v
20801	return s
20802}
20803
20804// SetJobRunId sets the JobRunId field's value.
20805func (s *FindMatchesTaskRunProperties) SetJobRunId(v string) *FindMatchesTaskRunProperties {
20806	s.JobRunId = &v
20807	return s
20808}
20809
20810type GetCatalogImportStatusInput struct {
20811	_ struct{} `type:"structure"`
20812
20813	// The ID of the catalog to migrate. Currently, this should be the AWS account
20814	// ID.
20815	CatalogId *string `min:"1" type:"string"`
20816}
20817
20818// String returns the string representation
20819func (s GetCatalogImportStatusInput) String() string {
20820	return awsutil.Prettify(s)
20821}
20822
20823// GoString returns the string representation
20824func (s GetCatalogImportStatusInput) GoString() string {
20825	return s.String()
20826}
20827
20828// Validate inspects the fields of the type to determine if they are valid.
20829func (s *GetCatalogImportStatusInput) Validate() error {
20830	invalidParams := request.ErrInvalidParams{Context: "GetCatalogImportStatusInput"}
20831	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20832		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20833	}
20834
20835	if invalidParams.Len() > 0 {
20836		return invalidParams
20837	}
20838	return nil
20839}
20840
20841// SetCatalogId sets the CatalogId field's value.
20842func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput {
20843	s.CatalogId = &v
20844	return s
20845}
20846
20847type GetCatalogImportStatusOutput struct {
20848	_ struct{} `type:"structure"`
20849
20850	// The status of the specified catalog migration.
20851	ImportStatus *CatalogImportStatus `type:"structure"`
20852}
20853
20854// String returns the string representation
20855func (s GetCatalogImportStatusOutput) String() string {
20856	return awsutil.Prettify(s)
20857}
20858
20859// GoString returns the string representation
20860func (s GetCatalogImportStatusOutput) GoString() string {
20861	return s.String()
20862}
20863
20864// SetImportStatus sets the ImportStatus field's value.
20865func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput {
20866	s.ImportStatus = v
20867	return s
20868}
20869
20870type GetClassifierInput struct {
20871	_ struct{} `type:"structure"`
20872
20873	// Name of the classifier to retrieve.
20874	//
20875	// Name is a required field
20876	Name *string `min:"1" type:"string" required:"true"`
20877}
20878
20879// String returns the string representation
20880func (s GetClassifierInput) String() string {
20881	return awsutil.Prettify(s)
20882}
20883
20884// GoString returns the string representation
20885func (s GetClassifierInput) GoString() string {
20886	return s.String()
20887}
20888
20889// Validate inspects the fields of the type to determine if they are valid.
20890func (s *GetClassifierInput) Validate() error {
20891	invalidParams := request.ErrInvalidParams{Context: "GetClassifierInput"}
20892	if s.Name == nil {
20893		invalidParams.Add(request.NewErrParamRequired("Name"))
20894	}
20895	if s.Name != nil && len(*s.Name) < 1 {
20896		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20897	}
20898
20899	if invalidParams.Len() > 0 {
20900		return invalidParams
20901	}
20902	return nil
20903}
20904
20905// SetName sets the Name field's value.
20906func (s *GetClassifierInput) SetName(v string) *GetClassifierInput {
20907	s.Name = &v
20908	return s
20909}
20910
20911type GetClassifierOutput struct {
20912	_ struct{} `type:"structure"`
20913
20914	// The requested classifier.
20915	Classifier *Classifier `type:"structure"`
20916}
20917
20918// String returns the string representation
20919func (s GetClassifierOutput) String() string {
20920	return awsutil.Prettify(s)
20921}
20922
20923// GoString returns the string representation
20924func (s GetClassifierOutput) GoString() string {
20925	return s.String()
20926}
20927
20928// SetClassifier sets the Classifier field's value.
20929func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput {
20930	s.Classifier = v
20931	return s
20932}
20933
20934type GetClassifiersInput struct {
20935	_ struct{} `type:"structure"`
20936
20937	// The size of the list to return (optional).
20938	MaxResults *int64 `min:"1" type:"integer"`
20939
20940	// An optional continuation token.
20941	NextToken *string `type:"string"`
20942}
20943
20944// String returns the string representation
20945func (s GetClassifiersInput) String() string {
20946	return awsutil.Prettify(s)
20947}
20948
20949// GoString returns the string representation
20950func (s GetClassifiersInput) GoString() string {
20951	return s.String()
20952}
20953
20954// Validate inspects the fields of the type to determine if they are valid.
20955func (s *GetClassifiersInput) Validate() error {
20956	invalidParams := request.ErrInvalidParams{Context: "GetClassifiersInput"}
20957	if s.MaxResults != nil && *s.MaxResults < 1 {
20958		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20959	}
20960
20961	if invalidParams.Len() > 0 {
20962		return invalidParams
20963	}
20964	return nil
20965}
20966
20967// SetMaxResults sets the MaxResults field's value.
20968func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput {
20969	s.MaxResults = &v
20970	return s
20971}
20972
20973// SetNextToken sets the NextToken field's value.
20974func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput {
20975	s.NextToken = &v
20976	return s
20977}
20978
20979type GetClassifiersOutput struct {
20980	_ struct{} `type:"structure"`
20981
20982	// The requested list of classifier objects.
20983	Classifiers []*Classifier `type:"list"`
20984
20985	// A continuation token.
20986	NextToken *string `type:"string"`
20987}
20988
20989// String returns the string representation
20990func (s GetClassifiersOutput) String() string {
20991	return awsutil.Prettify(s)
20992}
20993
20994// GoString returns the string representation
20995func (s GetClassifiersOutput) GoString() string {
20996	return s.String()
20997}
20998
20999// SetClassifiers sets the Classifiers field's value.
21000func (s *GetClassifiersOutput) SetClassifiers(v []*Classifier) *GetClassifiersOutput {
21001	s.Classifiers = v
21002	return s
21003}
21004
21005// SetNextToken sets the NextToken field's value.
21006func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput {
21007	s.NextToken = &v
21008	return s
21009}
21010
21011type GetConnectionInput struct {
21012	_ struct{} `type:"structure"`
21013
21014	// The ID of the Data Catalog in which the connection resides. If none is provided,
21015	// the AWS account ID is used by default.
21016	CatalogId *string `min:"1" type:"string"`
21017
21018	// Allows you to retrieve the connection metadata without returning the password.
21019	// For instance, the AWS Glue console uses this flag to retrieve the connection,
21020	// and does not display the password. Set this parameter when the caller might
21021	// not have permission to use the AWS KMS key to decrypt the password, but it
21022	// does have permission to access the rest of the connection properties.
21023	HidePassword *bool `type:"boolean"`
21024
21025	// The name of the connection definition to retrieve.
21026	//
21027	// Name is a required field
21028	Name *string `min:"1" type:"string" required:"true"`
21029}
21030
21031// String returns the string representation
21032func (s GetConnectionInput) String() string {
21033	return awsutil.Prettify(s)
21034}
21035
21036// GoString returns the string representation
21037func (s GetConnectionInput) GoString() string {
21038	return s.String()
21039}
21040
21041// Validate inspects the fields of the type to determine if they are valid.
21042func (s *GetConnectionInput) Validate() error {
21043	invalidParams := request.ErrInvalidParams{Context: "GetConnectionInput"}
21044	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
21045		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
21046	}
21047	if s.Name == nil {
21048		invalidParams.Add(request.NewErrParamRequired("Name"))
21049	}
21050	if s.Name != nil && len(*s.Name) < 1 {
21051		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21052	}
21053
21054	if invalidParams.Len() > 0 {
21055		return invalidParams
21056	}
21057	return nil
21058}
21059
21060// SetCatalogId sets the CatalogId field's value.
21061func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput {
21062	s.CatalogId = &v
21063	return s
21064}
21065
21066// SetHidePassword sets the HidePassword field's value.
21067func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput {
21068	s.HidePassword = &v
21069	return s
21070}
21071
21072// SetName sets the Name field's value.
21073func (s *GetConnectionInput) SetName(v string) *GetConnectionInput {
21074	s.Name = &v
21075	return s
21076}
21077
21078type GetConnectionOutput struct {
21079	_ struct{} `type:"structure"`
21080
21081	// The requested connection definition.
21082	Connection *Connection `type:"structure"`
21083}
21084
21085// String returns the string representation
21086func (s GetConnectionOutput) String() string {
21087	return awsutil.Prettify(s)
21088}
21089
21090// GoString returns the string representation
21091func (s GetConnectionOutput) GoString() string {
21092	return s.String()
21093}
21094
21095// SetConnection sets the Connection field's value.
21096func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput {
21097	s.Connection = v
21098	return s
21099}
21100
21101// Filters the connection definitions that are returned by the GetConnections
21102// API operation.
21103type GetConnectionsFilter struct {
21104	_ struct{} `type:"structure"`
21105
21106	// The type of connections to return. Currently, only JDBC is supported; SFTP
21107	// is not supported.
21108	ConnectionType *string `type:"string" enum:"ConnectionType"`
21109
21110	// A criteria string that must match the criteria recorded in the connection
21111	// definition for that connection definition to be returned.
21112	MatchCriteria []*string `type:"list"`
21113}
21114
21115// String returns the string representation
21116func (s GetConnectionsFilter) String() string {
21117	return awsutil.Prettify(s)
21118}
21119
21120// GoString returns the string representation
21121func (s GetConnectionsFilter) GoString() string {
21122	return s.String()
21123}
21124
21125// SetConnectionType sets the ConnectionType field's value.
21126func (s *GetConnectionsFilter) SetConnectionType(v string) *GetConnectionsFilter {
21127	s.ConnectionType = &v
21128	return s
21129}
21130
21131// SetMatchCriteria sets the MatchCriteria field's value.
21132func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilter {
21133	s.MatchCriteria = v
21134	return s
21135}
21136
21137type GetConnectionsInput struct {
21138	_ struct{} `type:"structure"`
21139
21140	// The ID of the Data Catalog in which the connections reside. If none is provided,
21141	// the AWS account ID is used by default.
21142	CatalogId *string `min:"1" type:"string"`
21143
21144	// A filter that controls which connections are returned.
21145	Filter *GetConnectionsFilter `type:"structure"`
21146
21147	// Allows you to retrieve the connection metadata without returning the password.
21148	// For instance, the AWS Glue console uses this flag to retrieve the connection,
21149	// and does not display the password. Set this parameter when the caller might
21150	// not have permission to use the AWS KMS key to decrypt the password, but it
21151	// does have permission to access the rest of the connection properties.
21152	HidePassword *bool `type:"boolean"`
21153
21154	// The maximum number of connections to return in one response.
21155	MaxResults *int64 `min:"1" type:"integer"`
21156
21157	// A continuation token, if this is a continuation call.
21158	NextToken *string `type:"string"`
21159}
21160
21161// String returns the string representation
21162func (s GetConnectionsInput) String() string {
21163	return awsutil.Prettify(s)
21164}
21165
21166// GoString returns the string representation
21167func (s GetConnectionsInput) GoString() string {
21168	return s.String()
21169}
21170
21171// Validate inspects the fields of the type to determine if they are valid.
21172func (s *GetConnectionsInput) Validate() error {
21173	invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"}
21174	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
21175		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
21176	}
21177	if s.MaxResults != nil && *s.MaxResults < 1 {
21178		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21179	}
21180
21181	if invalidParams.Len() > 0 {
21182		return invalidParams
21183	}
21184	return nil
21185}
21186
21187// SetCatalogId sets the CatalogId field's value.
21188func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput {
21189	s.CatalogId = &v
21190	return s
21191}
21192
21193// SetFilter sets the Filter field's value.
21194func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput {
21195	s.Filter = v
21196	return s
21197}
21198
21199// SetHidePassword sets the HidePassword field's value.
21200func (s *GetConnectionsInput) SetHidePassword(v bool) *GetConnectionsInput {
21201	s.HidePassword = &v
21202	return s
21203}
21204
21205// SetMaxResults sets the MaxResults field's value.
21206func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput {
21207	s.MaxResults = &v
21208	return s
21209}
21210
21211// SetNextToken sets the NextToken field's value.
21212func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput {
21213	s.NextToken = &v
21214	return s
21215}
21216
21217type GetConnectionsOutput struct {
21218	_ struct{} `type:"structure"`
21219
21220	// A list of requested connection definitions.
21221	ConnectionList []*Connection `type:"list"`
21222
21223	// A continuation token, if the list of connections returned does not include
21224	// the last of the filtered connections.
21225	NextToken *string `type:"string"`
21226}
21227
21228// String returns the string representation
21229func (s GetConnectionsOutput) String() string {
21230	return awsutil.Prettify(s)
21231}
21232
21233// GoString returns the string representation
21234func (s GetConnectionsOutput) GoString() string {
21235	return s.String()
21236}
21237
21238// SetConnectionList sets the ConnectionList field's value.
21239func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput {
21240	s.ConnectionList = v
21241	return s
21242}
21243
21244// SetNextToken sets the NextToken field's value.
21245func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput {
21246	s.NextToken = &v
21247	return s
21248}
21249
21250type GetCrawlerInput struct {
21251	_ struct{} `type:"structure"`
21252
21253	// The name of the crawler to retrieve metadata for.
21254	//
21255	// Name is a required field
21256	Name *string `min:"1" type:"string" required:"true"`
21257}
21258
21259// String returns the string representation
21260func (s GetCrawlerInput) String() string {
21261	return awsutil.Prettify(s)
21262}
21263
21264// GoString returns the string representation
21265func (s GetCrawlerInput) GoString() string {
21266	return s.String()
21267}
21268
21269// Validate inspects the fields of the type to determine if they are valid.
21270func (s *GetCrawlerInput) Validate() error {
21271	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerInput"}
21272	if s.Name == nil {
21273		invalidParams.Add(request.NewErrParamRequired("Name"))
21274	}
21275	if s.Name != nil && len(*s.Name) < 1 {
21276		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21277	}
21278
21279	if invalidParams.Len() > 0 {
21280		return invalidParams
21281	}
21282	return nil
21283}
21284
21285// SetName sets the Name field's value.
21286func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput {
21287	s.Name = &v
21288	return s
21289}
21290
21291type GetCrawlerMetricsInput struct {
21292	_ struct{} `type:"structure"`
21293
21294	// A list of the names of crawlers about which to retrieve metrics.
21295	CrawlerNameList []*string `type:"list"`
21296
21297	// The maximum size of a list to return.
21298	MaxResults *int64 `min:"1" type:"integer"`
21299
21300	// A continuation token, if this is a continuation call.
21301	NextToken *string `type:"string"`
21302}
21303
21304// String returns the string representation
21305func (s GetCrawlerMetricsInput) String() string {
21306	return awsutil.Prettify(s)
21307}
21308
21309// GoString returns the string representation
21310func (s GetCrawlerMetricsInput) GoString() string {
21311	return s.String()
21312}
21313
21314// Validate inspects the fields of the type to determine if they are valid.
21315func (s *GetCrawlerMetricsInput) Validate() error {
21316	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerMetricsInput"}
21317	if s.MaxResults != nil && *s.MaxResults < 1 {
21318		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21319	}
21320
21321	if invalidParams.Len() > 0 {
21322		return invalidParams
21323	}
21324	return nil
21325}
21326
21327// SetCrawlerNameList sets the CrawlerNameList field's value.
21328func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []*string) *GetCrawlerMetricsInput {
21329	s.CrawlerNameList = v
21330	return s
21331}
21332
21333// SetMaxResults sets the MaxResults field's value.
21334func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput {
21335	s.MaxResults = &v
21336	return s
21337}
21338
21339// SetNextToken sets the NextToken field's value.
21340func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput {
21341	s.NextToken = &v
21342	return s
21343}
21344
21345type GetCrawlerMetricsOutput struct {
21346	_ struct{} `type:"structure"`
21347
21348	// A list of metrics for the specified crawler.
21349	CrawlerMetricsList []*CrawlerMetrics `type:"list"`
21350
21351	// A continuation token, if the returned list does not contain the last metric
21352	// available.
21353	NextToken *string `type:"string"`
21354}
21355
21356// String returns the string representation
21357func (s GetCrawlerMetricsOutput) String() string {
21358	return awsutil.Prettify(s)
21359}
21360
21361// GoString returns the string representation
21362func (s GetCrawlerMetricsOutput) GoString() string {
21363	return s.String()
21364}
21365
21366// SetCrawlerMetricsList sets the CrawlerMetricsList field's value.
21367func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []*CrawlerMetrics) *GetCrawlerMetricsOutput {
21368	s.CrawlerMetricsList = v
21369	return s
21370}
21371
21372// SetNextToken sets the NextToken field's value.
21373func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput {
21374	s.NextToken = &v
21375	return s
21376}
21377
21378type GetCrawlerOutput struct {
21379	_ struct{} `type:"structure"`
21380
21381	// The metadata for the specified crawler.
21382	Crawler *Crawler `type:"structure"`
21383}
21384
21385// String returns the string representation
21386func (s GetCrawlerOutput) String() string {
21387	return awsutil.Prettify(s)
21388}
21389
21390// GoString returns the string representation
21391func (s GetCrawlerOutput) GoString() string {
21392	return s.String()
21393}
21394
21395// SetCrawler sets the Crawler field's value.
21396func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput {
21397	s.Crawler = v
21398	return s
21399}
21400
21401type GetCrawlersInput struct {
21402	_ struct{} `type:"structure"`
21403
21404	// The number of crawlers to return on each call.
21405	MaxResults *int64 `min:"1" type:"integer"`
21406
21407	// A continuation token, if this is a continuation request.
21408	NextToken *string `type:"string"`
21409}
21410
21411// String returns the string representation
21412func (s GetCrawlersInput) String() string {
21413	return awsutil.Prettify(s)
21414}
21415
21416// GoString returns the string representation
21417func (s GetCrawlersInput) GoString() string {
21418	return s.String()
21419}
21420
21421// Validate inspects the fields of the type to determine if they are valid.
21422func (s *GetCrawlersInput) Validate() error {
21423	invalidParams := request.ErrInvalidParams{Context: "GetCrawlersInput"}
21424	if s.MaxResults != nil && *s.MaxResults < 1 {
21425		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21426	}
21427
21428	if invalidParams.Len() > 0 {
21429		return invalidParams
21430	}
21431	return nil
21432}
21433
21434// SetMaxResults sets the MaxResults field's value.
21435func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput {
21436	s.MaxResults = &v
21437	return s
21438}
21439
21440// SetNextToken sets the NextToken field's value.
21441func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput {
21442	s.NextToken = &v
21443	return s
21444}
21445
21446type GetCrawlersOutput struct {
21447	_ struct{} `type:"structure"`
21448
21449	// A list of crawler metadata.
21450	Crawlers []*Crawler `type:"list"`
21451
21452	// A continuation token, if the returned list has not reached the end of those
21453	// defined in this customer account.
21454	NextToken *string `type:"string"`
21455}
21456
21457// String returns the string representation
21458func (s GetCrawlersOutput) String() string {
21459	return awsutil.Prettify(s)
21460}
21461
21462// GoString returns the string representation
21463func (s GetCrawlersOutput) GoString() string {
21464	return s.String()
21465}
21466
21467// SetCrawlers sets the Crawlers field's value.
21468func (s *GetCrawlersOutput) SetCrawlers(v []*Crawler) *GetCrawlersOutput {
21469	s.Crawlers = v
21470	return s
21471}
21472
21473// SetNextToken sets the NextToken field's value.
21474func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput {
21475	s.NextToken = &v
21476	return s
21477}
21478
21479type GetDataCatalogEncryptionSettingsInput struct {
21480	_ struct{} `type:"structure"`
21481
21482	// The ID of the Data Catalog to retrieve the security configuration for. If
21483	// none is provided, the AWS account ID is used by default.
21484	CatalogId *string `min:"1" type:"string"`
21485}
21486
21487// String returns the string representation
21488func (s GetDataCatalogEncryptionSettingsInput) String() string {
21489	return awsutil.Prettify(s)
21490}
21491
21492// GoString returns the string representation
21493func (s GetDataCatalogEncryptionSettingsInput) GoString() string {
21494	return s.String()
21495}
21496
21497// Validate inspects the fields of the type to determine if they are valid.
21498func (s *GetDataCatalogEncryptionSettingsInput) Validate() error {
21499	invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"}
21500	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
21501		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
21502	}
21503
21504	if invalidParams.Len() > 0 {
21505		return invalidParams
21506	}
21507	return nil
21508}
21509
21510// SetCatalogId sets the CatalogId field's value.
21511func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput {
21512	s.CatalogId = &v
21513	return s
21514}
21515
21516type GetDataCatalogEncryptionSettingsOutput struct {
21517	_ struct{} `type:"structure"`
21518
21519	// The requested security configuration.
21520	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"`
21521}
21522
21523// String returns the string representation
21524func (s GetDataCatalogEncryptionSettingsOutput) String() string {
21525	return awsutil.Prettify(s)
21526}
21527
21528// GoString returns the string representation
21529func (s GetDataCatalogEncryptionSettingsOutput) GoString() string {
21530	return s.String()
21531}
21532
21533// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
21534func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput {
21535	s.DataCatalogEncryptionSettings = v
21536	return s
21537}
21538
21539type GetDatabaseInput struct {
21540	_ struct{} `type:"structure"`
21541
21542	// The ID of the Data Catalog in which the database resides. If none is provided,
21543	// the AWS account ID is used by default.
21544	CatalogId *string `min:"1" type:"string"`
21545
21546	// The name of the database to retrieve. For Hive compatibility, this should
21547	// be all lowercase.
21548	//
21549	// Name is a required field
21550	Name *string `min:"1" type:"string" required:"true"`
21551}
21552
21553// String returns the string representation
21554func (s GetDatabaseInput) String() string {
21555	return awsutil.Prettify(s)
21556}
21557
21558// GoString returns the string representation
21559func (s GetDatabaseInput) GoString() string {
21560	return s.String()
21561}
21562
21563// Validate inspects the fields of the type to determine if they are valid.
21564func (s *GetDatabaseInput) Validate() error {
21565	invalidParams := request.ErrInvalidParams{Context: "GetDatabaseInput"}
21566	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
21567		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
21568	}
21569	if s.Name == nil {
21570		invalidParams.Add(request.NewErrParamRequired("Name"))
21571	}
21572	if s.Name != nil && len(*s.Name) < 1 {
21573		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21574	}
21575
21576	if invalidParams.Len() > 0 {
21577		return invalidParams
21578	}
21579	return nil
21580}
21581
21582// SetCatalogId sets the CatalogId field's value.
21583func (s *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput {
21584	s.CatalogId = &v
21585	return s
21586}
21587
21588// SetName sets the Name field's value.
21589func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput {
21590	s.Name = &v
21591	return s
21592}
21593
21594type GetDatabaseOutput struct {
21595	_ struct{} `type:"structure"`
21596
21597	// The definition of the specified database in the Data Catalog.
21598	Database *Database `type:"structure"`
21599}
21600
21601// String returns the string representation
21602func (s GetDatabaseOutput) String() string {
21603	return awsutil.Prettify(s)
21604}
21605
21606// GoString returns the string representation
21607func (s GetDatabaseOutput) GoString() string {
21608	return s.String()
21609}
21610
21611// SetDatabase sets the Database field's value.
21612func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput {
21613	s.Database = v
21614	return s
21615}
21616
21617type GetDatabasesInput struct {
21618	_ struct{} `type:"structure"`
21619
21620	// The ID of the Data Catalog from which to retrieve Databases. If none is provided,
21621	// the AWS account ID is used by default.
21622	CatalogId *string `min:"1" type:"string"`
21623
21624	// The maximum number of databases to return in one response.
21625	MaxResults *int64 `min:"1" type:"integer"`
21626
21627	// A continuation token, if this is a continuation call.
21628	NextToken *string `type:"string"`
21629}
21630
21631// String returns the string representation
21632func (s GetDatabasesInput) String() string {
21633	return awsutil.Prettify(s)
21634}
21635
21636// GoString returns the string representation
21637func (s GetDatabasesInput) GoString() string {
21638	return s.String()
21639}
21640
21641// Validate inspects the fields of the type to determine if they are valid.
21642func (s *GetDatabasesInput) Validate() error {
21643	invalidParams := request.ErrInvalidParams{Context: "GetDatabasesInput"}
21644	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
21645		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
21646	}
21647	if s.MaxResults != nil && *s.MaxResults < 1 {
21648		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21649	}
21650
21651	if invalidParams.Len() > 0 {
21652		return invalidParams
21653	}
21654	return nil
21655}
21656
21657// SetCatalogId sets the CatalogId field's value.
21658func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput {
21659	s.CatalogId = &v
21660	return s
21661}
21662
21663// SetMaxResults sets the MaxResults field's value.
21664func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput {
21665	s.MaxResults = &v
21666	return s
21667}
21668
21669// SetNextToken sets the NextToken field's value.
21670func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput {
21671	s.NextToken = &v
21672	return s
21673}
21674
21675type GetDatabasesOutput struct {
21676	_ struct{} `type:"structure"`
21677
21678	// A list of Database objects from the specified catalog.
21679	//
21680	// DatabaseList is a required field
21681	DatabaseList []*Database `type:"list" required:"true"`
21682
21683	// A continuation token for paginating the returned list of tokens, returned
21684	// if the current segment of the list is not the last.
21685	NextToken *string `type:"string"`
21686}
21687
21688// String returns the string representation
21689func (s GetDatabasesOutput) String() string {
21690	return awsutil.Prettify(s)
21691}
21692
21693// GoString returns the string representation
21694func (s GetDatabasesOutput) GoString() string {
21695	return s.String()
21696}
21697
21698// SetDatabaseList sets the DatabaseList field's value.
21699func (s *GetDatabasesOutput) SetDatabaseList(v []*Database) *GetDatabasesOutput {
21700	s.DatabaseList = v
21701	return s
21702}
21703
21704// SetNextToken sets the NextToken field's value.
21705func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput {
21706	s.NextToken = &v
21707	return s
21708}
21709
21710type GetDataflowGraphInput struct {
21711	_ struct{} `type:"structure"`
21712
21713	// The Python script to transform.
21714	PythonScript *string `type:"string"`
21715}
21716
21717// String returns the string representation
21718func (s GetDataflowGraphInput) String() string {
21719	return awsutil.Prettify(s)
21720}
21721
21722// GoString returns the string representation
21723func (s GetDataflowGraphInput) GoString() string {
21724	return s.String()
21725}
21726
21727// SetPythonScript sets the PythonScript field's value.
21728func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput {
21729	s.PythonScript = &v
21730	return s
21731}
21732
21733type GetDataflowGraphOutput struct {
21734	_ struct{} `type:"structure"`
21735
21736	// A list of the edges in the resulting DAG.
21737	DagEdges []*CodeGenEdge `type:"list"`
21738
21739	// A list of the nodes in the resulting DAG.
21740	DagNodes []*CodeGenNode `type:"list"`
21741}
21742
21743// String returns the string representation
21744func (s GetDataflowGraphOutput) String() string {
21745	return awsutil.Prettify(s)
21746}
21747
21748// GoString returns the string representation
21749func (s GetDataflowGraphOutput) GoString() string {
21750	return s.String()
21751}
21752
21753// SetDagEdges sets the DagEdges field's value.
21754func (s *GetDataflowGraphOutput) SetDagEdges(v []*CodeGenEdge) *GetDataflowGraphOutput {
21755	s.DagEdges = v
21756	return s
21757}
21758
21759// SetDagNodes sets the DagNodes field's value.
21760func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraphOutput {
21761	s.DagNodes = v
21762	return s
21763}
21764
21765type GetDevEndpointInput struct {
21766	_ struct{} `type:"structure"`
21767
21768	// Name of the DevEndpoint to retrieve information for.
21769	//
21770	// EndpointName is a required field
21771	EndpointName *string `type:"string" required:"true"`
21772}
21773
21774// String returns the string representation
21775func (s GetDevEndpointInput) String() string {
21776	return awsutil.Prettify(s)
21777}
21778
21779// GoString returns the string representation
21780func (s GetDevEndpointInput) GoString() string {
21781	return s.String()
21782}
21783
21784// Validate inspects the fields of the type to determine if they are valid.
21785func (s *GetDevEndpointInput) Validate() error {
21786	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointInput"}
21787	if s.EndpointName == nil {
21788		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
21789	}
21790
21791	if invalidParams.Len() > 0 {
21792		return invalidParams
21793	}
21794	return nil
21795}
21796
21797// SetEndpointName sets the EndpointName field's value.
21798func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput {
21799	s.EndpointName = &v
21800	return s
21801}
21802
21803type GetDevEndpointOutput struct {
21804	_ struct{} `type:"structure"`
21805
21806	// A DevEndpoint definition.
21807	DevEndpoint *DevEndpoint `type:"structure"`
21808}
21809
21810// String returns the string representation
21811func (s GetDevEndpointOutput) String() string {
21812	return awsutil.Prettify(s)
21813}
21814
21815// GoString returns the string representation
21816func (s GetDevEndpointOutput) GoString() string {
21817	return s.String()
21818}
21819
21820// SetDevEndpoint sets the DevEndpoint field's value.
21821func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput {
21822	s.DevEndpoint = v
21823	return s
21824}
21825
21826type GetDevEndpointsInput struct {
21827	_ struct{} `type:"structure"`
21828
21829	// The maximum size of information to return.
21830	MaxResults *int64 `min:"1" type:"integer"`
21831
21832	// A continuation token, if this is a continuation call.
21833	NextToken *string `type:"string"`
21834}
21835
21836// String returns the string representation
21837func (s GetDevEndpointsInput) String() string {
21838	return awsutil.Prettify(s)
21839}
21840
21841// GoString returns the string representation
21842func (s GetDevEndpointsInput) GoString() string {
21843	return s.String()
21844}
21845
21846// Validate inspects the fields of the type to determine if they are valid.
21847func (s *GetDevEndpointsInput) Validate() error {
21848	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointsInput"}
21849	if s.MaxResults != nil && *s.MaxResults < 1 {
21850		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21851	}
21852
21853	if invalidParams.Len() > 0 {
21854		return invalidParams
21855	}
21856	return nil
21857}
21858
21859// SetMaxResults sets the MaxResults field's value.
21860func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput {
21861	s.MaxResults = &v
21862	return s
21863}
21864
21865// SetNextToken sets the NextToken field's value.
21866func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput {
21867	s.NextToken = &v
21868	return s
21869}
21870
21871type GetDevEndpointsOutput struct {
21872	_ struct{} `type:"structure"`
21873
21874	// A list of DevEndpoint definitions.
21875	DevEndpoints []*DevEndpoint `type:"list"`
21876
21877	// A continuation token, if not all DevEndpoint definitions have yet been returned.
21878	NextToken *string `type:"string"`
21879}
21880
21881// String returns the string representation
21882func (s GetDevEndpointsOutput) String() string {
21883	return awsutil.Prettify(s)
21884}
21885
21886// GoString returns the string representation
21887func (s GetDevEndpointsOutput) GoString() string {
21888	return s.String()
21889}
21890
21891// SetDevEndpoints sets the DevEndpoints field's value.
21892func (s *GetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *GetDevEndpointsOutput {
21893	s.DevEndpoints = v
21894	return s
21895}
21896
21897// SetNextToken sets the NextToken field's value.
21898func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput {
21899	s.NextToken = &v
21900	return s
21901}
21902
21903type GetJobBookmarkInput struct {
21904	_ struct{} `type:"structure"`
21905
21906	// The name of the job in question.
21907	//
21908	// JobName is a required field
21909	JobName *string `type:"string" required:"true"`
21910
21911	// The unique run identifier associated with this job run.
21912	RunId *string `type:"string"`
21913}
21914
21915// String returns the string representation
21916func (s GetJobBookmarkInput) String() string {
21917	return awsutil.Prettify(s)
21918}
21919
21920// GoString returns the string representation
21921func (s GetJobBookmarkInput) GoString() string {
21922	return s.String()
21923}
21924
21925// Validate inspects the fields of the type to determine if they are valid.
21926func (s *GetJobBookmarkInput) Validate() error {
21927	invalidParams := request.ErrInvalidParams{Context: "GetJobBookmarkInput"}
21928	if s.JobName == nil {
21929		invalidParams.Add(request.NewErrParamRequired("JobName"))
21930	}
21931
21932	if invalidParams.Len() > 0 {
21933		return invalidParams
21934	}
21935	return nil
21936}
21937
21938// SetJobName sets the JobName field's value.
21939func (s *GetJobBookmarkInput) SetJobName(v string) *GetJobBookmarkInput {
21940	s.JobName = &v
21941	return s
21942}
21943
21944// SetRunId sets the RunId field's value.
21945func (s *GetJobBookmarkInput) SetRunId(v string) *GetJobBookmarkInput {
21946	s.RunId = &v
21947	return s
21948}
21949
21950type GetJobBookmarkOutput struct {
21951	_ struct{} `type:"structure"`
21952
21953	// A structure that defines a point that a job can resume processing.
21954	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
21955}
21956
21957// String returns the string representation
21958func (s GetJobBookmarkOutput) String() string {
21959	return awsutil.Prettify(s)
21960}
21961
21962// GoString returns the string representation
21963func (s GetJobBookmarkOutput) GoString() string {
21964	return s.String()
21965}
21966
21967// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
21968func (s *GetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *GetJobBookmarkOutput {
21969	s.JobBookmarkEntry = v
21970	return s
21971}
21972
21973type GetJobInput struct {
21974	_ struct{} `type:"structure"`
21975
21976	// The name of the job definition to retrieve.
21977	//
21978	// JobName is a required field
21979	JobName *string `min:"1" type:"string" required:"true"`
21980}
21981
21982// String returns the string representation
21983func (s GetJobInput) String() string {
21984	return awsutil.Prettify(s)
21985}
21986
21987// GoString returns the string representation
21988func (s GetJobInput) GoString() string {
21989	return s.String()
21990}
21991
21992// Validate inspects the fields of the type to determine if they are valid.
21993func (s *GetJobInput) Validate() error {
21994	invalidParams := request.ErrInvalidParams{Context: "GetJobInput"}
21995	if s.JobName == nil {
21996		invalidParams.Add(request.NewErrParamRequired("JobName"))
21997	}
21998	if s.JobName != nil && len(*s.JobName) < 1 {
21999		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
22000	}
22001
22002	if invalidParams.Len() > 0 {
22003		return invalidParams
22004	}
22005	return nil
22006}
22007
22008// SetJobName sets the JobName field's value.
22009func (s *GetJobInput) SetJobName(v string) *GetJobInput {
22010	s.JobName = &v
22011	return s
22012}
22013
22014type GetJobOutput struct {
22015	_ struct{} `type:"structure"`
22016
22017	// The requested job definition.
22018	Job *Job `type:"structure"`
22019}
22020
22021// String returns the string representation
22022func (s GetJobOutput) String() string {
22023	return awsutil.Prettify(s)
22024}
22025
22026// GoString returns the string representation
22027func (s GetJobOutput) GoString() string {
22028	return s.String()
22029}
22030
22031// SetJob sets the Job field's value.
22032func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
22033	s.Job = v
22034	return s
22035}
22036
22037type GetJobRunInput struct {
22038	_ struct{} `type:"structure"`
22039
22040	// Name of the job definition being run.
22041	//
22042	// JobName is a required field
22043	JobName *string `min:"1" type:"string" required:"true"`
22044
22045	// True if a list of predecessor runs should be returned.
22046	PredecessorsIncluded *bool `type:"boolean"`
22047
22048	// The ID of the job run.
22049	//
22050	// RunId is a required field
22051	RunId *string `min:"1" type:"string" required:"true"`
22052}
22053
22054// String returns the string representation
22055func (s GetJobRunInput) String() string {
22056	return awsutil.Prettify(s)
22057}
22058
22059// GoString returns the string representation
22060func (s GetJobRunInput) GoString() string {
22061	return s.String()
22062}
22063
22064// Validate inspects the fields of the type to determine if they are valid.
22065func (s *GetJobRunInput) Validate() error {
22066	invalidParams := request.ErrInvalidParams{Context: "GetJobRunInput"}
22067	if s.JobName == nil {
22068		invalidParams.Add(request.NewErrParamRequired("JobName"))
22069	}
22070	if s.JobName != nil && len(*s.JobName) < 1 {
22071		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
22072	}
22073	if s.RunId == nil {
22074		invalidParams.Add(request.NewErrParamRequired("RunId"))
22075	}
22076	if s.RunId != nil && len(*s.RunId) < 1 {
22077		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
22078	}
22079
22080	if invalidParams.Len() > 0 {
22081		return invalidParams
22082	}
22083	return nil
22084}
22085
22086// SetJobName sets the JobName field's value.
22087func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput {
22088	s.JobName = &v
22089	return s
22090}
22091
22092// SetPredecessorsIncluded sets the PredecessorsIncluded field's value.
22093func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput {
22094	s.PredecessorsIncluded = &v
22095	return s
22096}
22097
22098// SetRunId sets the RunId field's value.
22099func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput {
22100	s.RunId = &v
22101	return s
22102}
22103
22104type GetJobRunOutput struct {
22105	_ struct{} `type:"structure"`
22106
22107	// The requested job-run metadata.
22108	JobRun *JobRun `type:"structure"`
22109}
22110
22111// String returns the string representation
22112func (s GetJobRunOutput) String() string {
22113	return awsutil.Prettify(s)
22114}
22115
22116// GoString returns the string representation
22117func (s GetJobRunOutput) GoString() string {
22118	return s.String()
22119}
22120
22121// SetJobRun sets the JobRun field's value.
22122func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput {
22123	s.JobRun = v
22124	return s
22125}
22126
22127type GetJobRunsInput struct {
22128	_ struct{} `type:"structure"`
22129
22130	// The name of the job definition for which to retrieve all job runs.
22131	//
22132	// JobName is a required field
22133	JobName *string `min:"1" type:"string" required:"true"`
22134
22135	// The maximum size of the response.
22136	MaxResults *int64 `min:"1" type:"integer"`
22137
22138	// A continuation token, if this is a continuation call.
22139	NextToken *string `type:"string"`
22140}
22141
22142// String returns the string representation
22143func (s GetJobRunsInput) String() string {
22144	return awsutil.Prettify(s)
22145}
22146
22147// GoString returns the string representation
22148func (s GetJobRunsInput) GoString() string {
22149	return s.String()
22150}
22151
22152// Validate inspects the fields of the type to determine if they are valid.
22153func (s *GetJobRunsInput) Validate() error {
22154	invalidParams := request.ErrInvalidParams{Context: "GetJobRunsInput"}
22155	if s.JobName == nil {
22156		invalidParams.Add(request.NewErrParamRequired("JobName"))
22157	}
22158	if s.JobName != nil && len(*s.JobName) < 1 {
22159		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
22160	}
22161	if s.MaxResults != nil && *s.MaxResults < 1 {
22162		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22163	}
22164
22165	if invalidParams.Len() > 0 {
22166		return invalidParams
22167	}
22168	return nil
22169}
22170
22171// SetJobName sets the JobName field's value.
22172func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput {
22173	s.JobName = &v
22174	return s
22175}
22176
22177// SetMaxResults sets the MaxResults field's value.
22178func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput {
22179	s.MaxResults = &v
22180	return s
22181}
22182
22183// SetNextToken sets the NextToken field's value.
22184func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput {
22185	s.NextToken = &v
22186	return s
22187}
22188
22189type GetJobRunsOutput struct {
22190	_ struct{} `type:"structure"`
22191
22192	// A list of job-run metadata objects.
22193	JobRuns []*JobRun `type:"list"`
22194
22195	// A continuation token, if not all requested job runs have been returned.
22196	NextToken *string `type:"string"`
22197}
22198
22199// String returns the string representation
22200func (s GetJobRunsOutput) String() string {
22201	return awsutil.Prettify(s)
22202}
22203
22204// GoString returns the string representation
22205func (s GetJobRunsOutput) GoString() string {
22206	return s.String()
22207}
22208
22209// SetJobRuns sets the JobRuns field's value.
22210func (s *GetJobRunsOutput) SetJobRuns(v []*JobRun) *GetJobRunsOutput {
22211	s.JobRuns = v
22212	return s
22213}
22214
22215// SetNextToken sets the NextToken field's value.
22216func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput {
22217	s.NextToken = &v
22218	return s
22219}
22220
22221type GetJobsInput struct {
22222	_ struct{} `type:"structure"`
22223
22224	// The maximum size of the response.
22225	MaxResults *int64 `min:"1" type:"integer"`
22226
22227	// A continuation token, if this is a continuation call.
22228	NextToken *string `type:"string"`
22229}
22230
22231// String returns the string representation
22232func (s GetJobsInput) String() string {
22233	return awsutil.Prettify(s)
22234}
22235
22236// GoString returns the string representation
22237func (s GetJobsInput) GoString() string {
22238	return s.String()
22239}
22240
22241// Validate inspects the fields of the type to determine if they are valid.
22242func (s *GetJobsInput) Validate() error {
22243	invalidParams := request.ErrInvalidParams{Context: "GetJobsInput"}
22244	if s.MaxResults != nil && *s.MaxResults < 1 {
22245		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22246	}
22247
22248	if invalidParams.Len() > 0 {
22249		return invalidParams
22250	}
22251	return nil
22252}
22253
22254// SetMaxResults sets the MaxResults field's value.
22255func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput {
22256	s.MaxResults = &v
22257	return s
22258}
22259
22260// SetNextToken sets the NextToken field's value.
22261func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput {
22262	s.NextToken = &v
22263	return s
22264}
22265
22266type GetJobsOutput struct {
22267	_ struct{} `type:"structure"`
22268
22269	// A list of job definitions.
22270	Jobs []*Job `type:"list"`
22271
22272	// A continuation token, if not all job definitions have yet been returned.
22273	NextToken *string `type:"string"`
22274}
22275
22276// String returns the string representation
22277func (s GetJobsOutput) String() string {
22278	return awsutil.Prettify(s)
22279}
22280
22281// GoString returns the string representation
22282func (s GetJobsOutput) GoString() string {
22283	return s.String()
22284}
22285
22286// SetJobs sets the Jobs field's value.
22287func (s *GetJobsOutput) SetJobs(v []*Job) *GetJobsOutput {
22288	s.Jobs = v
22289	return s
22290}
22291
22292// SetNextToken sets the NextToken field's value.
22293func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput {
22294	s.NextToken = &v
22295	return s
22296}
22297
22298type GetMLTaskRunInput struct {
22299	_ struct{} `type:"structure"`
22300
22301	// The unique identifier of the task run.
22302	//
22303	// TaskRunId is a required field
22304	TaskRunId *string `min:"1" type:"string" required:"true"`
22305
22306	// The unique identifier of the machine learning transform.
22307	//
22308	// TransformId is a required field
22309	TransformId *string `min:"1" type:"string" required:"true"`
22310}
22311
22312// String returns the string representation
22313func (s GetMLTaskRunInput) String() string {
22314	return awsutil.Prettify(s)
22315}
22316
22317// GoString returns the string representation
22318func (s GetMLTaskRunInput) GoString() string {
22319	return s.String()
22320}
22321
22322// Validate inspects the fields of the type to determine if they are valid.
22323func (s *GetMLTaskRunInput) Validate() error {
22324	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunInput"}
22325	if s.TaskRunId == nil {
22326		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
22327	}
22328	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
22329		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
22330	}
22331	if s.TransformId == nil {
22332		invalidParams.Add(request.NewErrParamRequired("TransformId"))
22333	}
22334	if s.TransformId != nil && len(*s.TransformId) < 1 {
22335		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
22336	}
22337
22338	if invalidParams.Len() > 0 {
22339		return invalidParams
22340	}
22341	return nil
22342}
22343
22344// SetTaskRunId sets the TaskRunId field's value.
22345func (s *GetMLTaskRunInput) SetTaskRunId(v string) *GetMLTaskRunInput {
22346	s.TaskRunId = &v
22347	return s
22348}
22349
22350// SetTransformId sets the TransformId field's value.
22351func (s *GetMLTaskRunInput) SetTransformId(v string) *GetMLTaskRunInput {
22352	s.TransformId = &v
22353	return s
22354}
22355
22356type GetMLTaskRunOutput struct {
22357	_ struct{} `type:"structure"`
22358
22359	// The date and time when this task run was completed.
22360	CompletedOn *time.Time `type:"timestamp"`
22361
22362	// The error strings that are associated with the task run.
22363	ErrorString *string `type:"string"`
22364
22365	// The amount of time (in seconds) that the task run consumed resources.
22366	ExecutionTime *int64 `type:"integer"`
22367
22368	// The date and time when this task run was last modified.
22369	LastModifiedOn *time.Time `type:"timestamp"`
22370
22371	// The names of the log groups that are associated with the task run.
22372	LogGroupName *string `type:"string"`
22373
22374	// The list of properties that are associated with the task run.
22375	Properties *TaskRunProperties `type:"structure"`
22376
22377	// The date and time when this task run started.
22378	StartedOn *time.Time `type:"timestamp"`
22379
22380	// The status for this task run.
22381	Status *string `type:"string" enum:"TaskStatusType"`
22382
22383	// The unique run identifier associated with this run.
22384	TaskRunId *string `min:"1" type:"string"`
22385
22386	// The unique identifier of the task run.
22387	TransformId *string `min:"1" type:"string"`
22388}
22389
22390// String returns the string representation
22391func (s GetMLTaskRunOutput) String() string {
22392	return awsutil.Prettify(s)
22393}
22394
22395// GoString returns the string representation
22396func (s GetMLTaskRunOutput) GoString() string {
22397	return s.String()
22398}
22399
22400// SetCompletedOn sets the CompletedOn field's value.
22401func (s *GetMLTaskRunOutput) SetCompletedOn(v time.Time) *GetMLTaskRunOutput {
22402	s.CompletedOn = &v
22403	return s
22404}
22405
22406// SetErrorString sets the ErrorString field's value.
22407func (s *GetMLTaskRunOutput) SetErrorString(v string) *GetMLTaskRunOutput {
22408	s.ErrorString = &v
22409	return s
22410}
22411
22412// SetExecutionTime sets the ExecutionTime field's value.
22413func (s *GetMLTaskRunOutput) SetExecutionTime(v int64) *GetMLTaskRunOutput {
22414	s.ExecutionTime = &v
22415	return s
22416}
22417
22418// SetLastModifiedOn sets the LastModifiedOn field's value.
22419func (s *GetMLTaskRunOutput) SetLastModifiedOn(v time.Time) *GetMLTaskRunOutput {
22420	s.LastModifiedOn = &v
22421	return s
22422}
22423
22424// SetLogGroupName sets the LogGroupName field's value.
22425func (s *GetMLTaskRunOutput) SetLogGroupName(v string) *GetMLTaskRunOutput {
22426	s.LogGroupName = &v
22427	return s
22428}
22429
22430// SetProperties sets the Properties field's value.
22431func (s *GetMLTaskRunOutput) SetProperties(v *TaskRunProperties) *GetMLTaskRunOutput {
22432	s.Properties = v
22433	return s
22434}
22435
22436// SetStartedOn sets the StartedOn field's value.
22437func (s *GetMLTaskRunOutput) SetStartedOn(v time.Time) *GetMLTaskRunOutput {
22438	s.StartedOn = &v
22439	return s
22440}
22441
22442// SetStatus sets the Status field's value.
22443func (s *GetMLTaskRunOutput) SetStatus(v string) *GetMLTaskRunOutput {
22444	s.Status = &v
22445	return s
22446}
22447
22448// SetTaskRunId sets the TaskRunId field's value.
22449func (s *GetMLTaskRunOutput) SetTaskRunId(v string) *GetMLTaskRunOutput {
22450	s.TaskRunId = &v
22451	return s
22452}
22453
22454// SetTransformId sets the TransformId field's value.
22455func (s *GetMLTaskRunOutput) SetTransformId(v string) *GetMLTaskRunOutput {
22456	s.TransformId = &v
22457	return s
22458}
22459
22460type GetMLTaskRunsInput struct {
22461	_ struct{} `type:"structure"`
22462
22463	// The filter criteria, in the TaskRunFilterCriteria structure, for the task
22464	// run.
22465	Filter *TaskRunFilterCriteria `type:"structure"`
22466
22467	// The maximum number of results to return.
22468	MaxResults *int64 `min:"1" type:"integer"`
22469
22470	// A token for pagination of the results. The default is empty.
22471	NextToken *string `type:"string"`
22472
22473	// The sorting criteria, in the TaskRunSortCriteria structure, for the task
22474	// run.
22475	Sort *TaskRunSortCriteria `type:"structure"`
22476
22477	// The unique identifier of the machine learning transform.
22478	//
22479	// TransformId is a required field
22480	TransformId *string `min:"1" type:"string" required:"true"`
22481}
22482
22483// String returns the string representation
22484func (s GetMLTaskRunsInput) String() string {
22485	return awsutil.Prettify(s)
22486}
22487
22488// GoString returns the string representation
22489func (s GetMLTaskRunsInput) GoString() string {
22490	return s.String()
22491}
22492
22493// Validate inspects the fields of the type to determine if they are valid.
22494func (s *GetMLTaskRunsInput) Validate() error {
22495	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunsInput"}
22496	if s.MaxResults != nil && *s.MaxResults < 1 {
22497		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22498	}
22499	if s.TransformId == nil {
22500		invalidParams.Add(request.NewErrParamRequired("TransformId"))
22501	}
22502	if s.TransformId != nil && len(*s.TransformId) < 1 {
22503		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
22504	}
22505	if s.Sort != nil {
22506		if err := s.Sort.Validate(); err != nil {
22507			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
22508		}
22509	}
22510
22511	if invalidParams.Len() > 0 {
22512		return invalidParams
22513	}
22514	return nil
22515}
22516
22517// SetFilter sets the Filter field's value.
22518func (s *GetMLTaskRunsInput) SetFilter(v *TaskRunFilterCriteria) *GetMLTaskRunsInput {
22519	s.Filter = v
22520	return s
22521}
22522
22523// SetMaxResults sets the MaxResults field's value.
22524func (s *GetMLTaskRunsInput) SetMaxResults(v int64) *GetMLTaskRunsInput {
22525	s.MaxResults = &v
22526	return s
22527}
22528
22529// SetNextToken sets the NextToken field's value.
22530func (s *GetMLTaskRunsInput) SetNextToken(v string) *GetMLTaskRunsInput {
22531	s.NextToken = &v
22532	return s
22533}
22534
22535// SetSort sets the Sort field's value.
22536func (s *GetMLTaskRunsInput) SetSort(v *TaskRunSortCriteria) *GetMLTaskRunsInput {
22537	s.Sort = v
22538	return s
22539}
22540
22541// SetTransformId sets the TransformId field's value.
22542func (s *GetMLTaskRunsInput) SetTransformId(v string) *GetMLTaskRunsInput {
22543	s.TransformId = &v
22544	return s
22545}
22546
22547type GetMLTaskRunsOutput struct {
22548	_ struct{} `type:"structure"`
22549
22550	// A pagination token, if more results are available.
22551	NextToken *string `type:"string"`
22552
22553	// A list of task runs that are associated with the transform.
22554	TaskRuns []*TaskRun `type:"list"`
22555}
22556
22557// String returns the string representation
22558func (s GetMLTaskRunsOutput) String() string {
22559	return awsutil.Prettify(s)
22560}
22561
22562// GoString returns the string representation
22563func (s GetMLTaskRunsOutput) GoString() string {
22564	return s.String()
22565}
22566
22567// SetNextToken sets the NextToken field's value.
22568func (s *GetMLTaskRunsOutput) SetNextToken(v string) *GetMLTaskRunsOutput {
22569	s.NextToken = &v
22570	return s
22571}
22572
22573// SetTaskRuns sets the TaskRuns field's value.
22574func (s *GetMLTaskRunsOutput) SetTaskRuns(v []*TaskRun) *GetMLTaskRunsOutput {
22575	s.TaskRuns = v
22576	return s
22577}
22578
22579type GetMLTransformInput struct {
22580	_ struct{} `type:"structure"`
22581
22582	// The unique identifier of the transform, generated at the time that the transform
22583	// was created.
22584	//
22585	// TransformId is a required field
22586	TransformId *string `min:"1" type:"string" required:"true"`
22587}
22588
22589// String returns the string representation
22590func (s GetMLTransformInput) String() string {
22591	return awsutil.Prettify(s)
22592}
22593
22594// GoString returns the string representation
22595func (s GetMLTransformInput) GoString() string {
22596	return s.String()
22597}
22598
22599// Validate inspects the fields of the type to determine if they are valid.
22600func (s *GetMLTransformInput) Validate() error {
22601	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformInput"}
22602	if s.TransformId == nil {
22603		invalidParams.Add(request.NewErrParamRequired("TransformId"))
22604	}
22605	if s.TransformId != nil && len(*s.TransformId) < 1 {
22606		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
22607	}
22608
22609	if invalidParams.Len() > 0 {
22610		return invalidParams
22611	}
22612	return nil
22613}
22614
22615// SetTransformId sets the TransformId field's value.
22616func (s *GetMLTransformInput) SetTransformId(v string) *GetMLTransformInput {
22617	s.TransformId = &v
22618	return s
22619}
22620
22621type GetMLTransformOutput struct {
22622	_ struct{} `type:"structure"`
22623
22624	// The date and time when the transform was created.
22625	CreatedOn *time.Time `type:"timestamp"`
22626
22627	// A description of the transform.
22628	Description *string `type:"string"`
22629
22630	// The latest evaluation metrics.
22631	EvaluationMetrics *EvaluationMetrics `type:"structure"`
22632
22633	// This value determines which version of AWS Glue this machine learning transform
22634	// is compatible with. Glue 1.0 is recommended for most customers. If the value
22635	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
22636	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
22637	// in the developer guide.
22638	GlueVersion *string `min:"1" type:"string"`
22639
22640	// A list of AWS Glue table definitions used by the transform.
22641	InputRecordTables []*Table `type:"list"`
22642
22643	// The number of labels available for this transform.
22644	LabelCount *int64 `type:"integer"`
22645
22646	// The date and time when the transform was last modified.
22647	LastModifiedOn *time.Time `type:"timestamp"`
22648
22649	// The number of AWS Glue data processing units (DPUs) that are allocated to
22650	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
22651	// is 10. A DPU is a relative measure of processing power that consists of 4
22652	// vCPUs of compute capacity and 16 GB of memory. For more information, see
22653	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
22654	//
22655	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
22656	// field is set automatically and becomes read-only.
22657	MaxCapacity *float64 `type:"double"`
22658
22659	// The maximum number of times to retry a task for this transform after a task
22660	// run fails.
22661	MaxRetries *int64 `type:"integer"`
22662
22663	// The unique name given to the transform when it was created.
22664	Name *string `min:"1" type:"string"`
22665
22666	// The number of workers of a defined workerType that are allocated when this
22667	// task runs.
22668	NumberOfWorkers *int64 `type:"integer"`
22669
22670	// The configuration parameters that are specific to the algorithm used.
22671	Parameters *TransformParameters `type:"structure"`
22672
22673	// The name or Amazon Resource Name (ARN) of the IAM role with the required
22674	// permissions.
22675	Role *string `type:"string"`
22676
22677	// The Map<Column, Type> object that represents the schema that this transform
22678	// accepts. Has an upper bound of 100 columns.
22679	Schema []*SchemaColumn `type:"list"`
22680
22681	// The last known status of the transform (to indicate whether it can be used
22682	// or not). One of "NOT_READY", "READY", or "DELETING".
22683	Status *string `type:"string" enum:"TransformStatusType"`
22684
22685	// The timeout for a task run for this transform in minutes. This is the maximum
22686	// time that a task run for this transform can consume resources before it is
22687	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
22688	Timeout *int64 `min:"1" type:"integer"`
22689
22690	// The unique identifier of the transform, generated at the time that the transform
22691	// was created.
22692	TransformId *string `min:"1" type:"string"`
22693
22694	// The type of predefined worker that is allocated when this task runs. Accepts
22695	// a value of Standard, G.1X, or G.2X.
22696	//
22697	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
22698	//    memory and a 50GB disk, and 2 executors per worker.
22699	//
22700	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
22701	//    and a 64GB disk, and 1 executor per worker.
22702	//
22703	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
22704	//    and a 128GB disk, and 1 executor per worker.
22705	WorkerType *string `type:"string" enum:"WorkerType"`
22706}
22707
22708// String returns the string representation
22709func (s GetMLTransformOutput) String() string {
22710	return awsutil.Prettify(s)
22711}
22712
22713// GoString returns the string representation
22714func (s GetMLTransformOutput) GoString() string {
22715	return s.String()
22716}
22717
22718// SetCreatedOn sets the CreatedOn field's value.
22719func (s *GetMLTransformOutput) SetCreatedOn(v time.Time) *GetMLTransformOutput {
22720	s.CreatedOn = &v
22721	return s
22722}
22723
22724// SetDescription sets the Description field's value.
22725func (s *GetMLTransformOutput) SetDescription(v string) *GetMLTransformOutput {
22726	s.Description = &v
22727	return s
22728}
22729
22730// SetEvaluationMetrics sets the EvaluationMetrics field's value.
22731func (s *GetMLTransformOutput) SetEvaluationMetrics(v *EvaluationMetrics) *GetMLTransformOutput {
22732	s.EvaluationMetrics = v
22733	return s
22734}
22735
22736// SetGlueVersion sets the GlueVersion field's value.
22737func (s *GetMLTransformOutput) SetGlueVersion(v string) *GetMLTransformOutput {
22738	s.GlueVersion = &v
22739	return s
22740}
22741
22742// SetInputRecordTables sets the InputRecordTables field's value.
22743func (s *GetMLTransformOutput) SetInputRecordTables(v []*Table) *GetMLTransformOutput {
22744	s.InputRecordTables = v
22745	return s
22746}
22747
22748// SetLabelCount sets the LabelCount field's value.
22749func (s *GetMLTransformOutput) SetLabelCount(v int64) *GetMLTransformOutput {
22750	s.LabelCount = &v
22751	return s
22752}
22753
22754// SetLastModifiedOn sets the LastModifiedOn field's value.
22755func (s *GetMLTransformOutput) SetLastModifiedOn(v time.Time) *GetMLTransformOutput {
22756	s.LastModifiedOn = &v
22757	return s
22758}
22759
22760// SetMaxCapacity sets the MaxCapacity field's value.
22761func (s *GetMLTransformOutput) SetMaxCapacity(v float64) *GetMLTransformOutput {
22762	s.MaxCapacity = &v
22763	return s
22764}
22765
22766// SetMaxRetries sets the MaxRetries field's value.
22767func (s *GetMLTransformOutput) SetMaxRetries(v int64) *GetMLTransformOutput {
22768	s.MaxRetries = &v
22769	return s
22770}
22771
22772// SetName sets the Name field's value.
22773func (s *GetMLTransformOutput) SetName(v string) *GetMLTransformOutput {
22774	s.Name = &v
22775	return s
22776}
22777
22778// SetNumberOfWorkers sets the NumberOfWorkers field's value.
22779func (s *GetMLTransformOutput) SetNumberOfWorkers(v int64) *GetMLTransformOutput {
22780	s.NumberOfWorkers = &v
22781	return s
22782}
22783
22784// SetParameters sets the Parameters field's value.
22785func (s *GetMLTransformOutput) SetParameters(v *TransformParameters) *GetMLTransformOutput {
22786	s.Parameters = v
22787	return s
22788}
22789
22790// SetRole sets the Role field's value.
22791func (s *GetMLTransformOutput) SetRole(v string) *GetMLTransformOutput {
22792	s.Role = &v
22793	return s
22794}
22795
22796// SetSchema sets the Schema field's value.
22797func (s *GetMLTransformOutput) SetSchema(v []*SchemaColumn) *GetMLTransformOutput {
22798	s.Schema = v
22799	return s
22800}
22801
22802// SetStatus sets the Status field's value.
22803func (s *GetMLTransformOutput) SetStatus(v string) *GetMLTransformOutput {
22804	s.Status = &v
22805	return s
22806}
22807
22808// SetTimeout sets the Timeout field's value.
22809func (s *GetMLTransformOutput) SetTimeout(v int64) *GetMLTransformOutput {
22810	s.Timeout = &v
22811	return s
22812}
22813
22814// SetTransformId sets the TransformId field's value.
22815func (s *GetMLTransformOutput) SetTransformId(v string) *GetMLTransformOutput {
22816	s.TransformId = &v
22817	return s
22818}
22819
22820// SetWorkerType sets the WorkerType field's value.
22821func (s *GetMLTransformOutput) SetWorkerType(v string) *GetMLTransformOutput {
22822	s.WorkerType = &v
22823	return s
22824}
22825
22826type GetMLTransformsInput struct {
22827	_ struct{} `type:"structure"`
22828
22829	// The filter transformation criteria.
22830	Filter *TransformFilterCriteria `type:"structure"`
22831
22832	// The maximum number of results to return.
22833	MaxResults *int64 `min:"1" type:"integer"`
22834
22835	// A paginated token to offset the results.
22836	NextToken *string `type:"string"`
22837
22838	// The sorting criteria.
22839	Sort *TransformSortCriteria `type:"structure"`
22840}
22841
22842// String returns the string representation
22843func (s GetMLTransformsInput) String() string {
22844	return awsutil.Prettify(s)
22845}
22846
22847// GoString returns the string representation
22848func (s GetMLTransformsInput) GoString() string {
22849	return s.String()
22850}
22851
22852// Validate inspects the fields of the type to determine if they are valid.
22853func (s *GetMLTransformsInput) Validate() error {
22854	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformsInput"}
22855	if s.MaxResults != nil && *s.MaxResults < 1 {
22856		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22857	}
22858	if s.Filter != nil {
22859		if err := s.Filter.Validate(); err != nil {
22860			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
22861		}
22862	}
22863	if s.Sort != nil {
22864		if err := s.Sort.Validate(); err != nil {
22865			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
22866		}
22867	}
22868
22869	if invalidParams.Len() > 0 {
22870		return invalidParams
22871	}
22872	return nil
22873}
22874
22875// SetFilter sets the Filter field's value.
22876func (s *GetMLTransformsInput) SetFilter(v *TransformFilterCriteria) *GetMLTransformsInput {
22877	s.Filter = v
22878	return s
22879}
22880
22881// SetMaxResults sets the MaxResults field's value.
22882func (s *GetMLTransformsInput) SetMaxResults(v int64) *GetMLTransformsInput {
22883	s.MaxResults = &v
22884	return s
22885}
22886
22887// SetNextToken sets the NextToken field's value.
22888func (s *GetMLTransformsInput) SetNextToken(v string) *GetMLTransformsInput {
22889	s.NextToken = &v
22890	return s
22891}
22892
22893// SetSort sets the Sort field's value.
22894func (s *GetMLTransformsInput) SetSort(v *TransformSortCriteria) *GetMLTransformsInput {
22895	s.Sort = v
22896	return s
22897}
22898
22899type GetMLTransformsOutput struct {
22900	_ struct{} `type:"structure"`
22901
22902	// A pagination token, if more results are available.
22903	NextToken *string `type:"string"`
22904
22905	// A list of machine learning transforms.
22906	//
22907	// Transforms is a required field
22908	Transforms []*MLTransform `type:"list" required:"true"`
22909}
22910
22911// String returns the string representation
22912func (s GetMLTransformsOutput) String() string {
22913	return awsutil.Prettify(s)
22914}
22915
22916// GoString returns the string representation
22917func (s GetMLTransformsOutput) GoString() string {
22918	return s.String()
22919}
22920
22921// SetNextToken sets the NextToken field's value.
22922func (s *GetMLTransformsOutput) SetNextToken(v string) *GetMLTransformsOutput {
22923	s.NextToken = &v
22924	return s
22925}
22926
22927// SetTransforms sets the Transforms field's value.
22928func (s *GetMLTransformsOutput) SetTransforms(v []*MLTransform) *GetMLTransformsOutput {
22929	s.Transforms = v
22930	return s
22931}
22932
22933type GetMappingInput struct {
22934	_ struct{} `type:"structure"`
22935
22936	// Parameters for the mapping.
22937	Location *Location `type:"structure"`
22938
22939	// A list of target tables.
22940	Sinks []*CatalogEntry `type:"list"`
22941
22942	// Specifies the source table.
22943	//
22944	// Source is a required field
22945	Source *CatalogEntry `type:"structure" required:"true"`
22946}
22947
22948// String returns the string representation
22949func (s GetMappingInput) String() string {
22950	return awsutil.Prettify(s)
22951}
22952
22953// GoString returns the string representation
22954func (s GetMappingInput) GoString() string {
22955	return s.String()
22956}
22957
22958// Validate inspects the fields of the type to determine if they are valid.
22959func (s *GetMappingInput) Validate() error {
22960	invalidParams := request.ErrInvalidParams{Context: "GetMappingInput"}
22961	if s.Source == nil {
22962		invalidParams.Add(request.NewErrParamRequired("Source"))
22963	}
22964	if s.Location != nil {
22965		if err := s.Location.Validate(); err != nil {
22966			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
22967		}
22968	}
22969	if s.Sinks != nil {
22970		for i, v := range s.Sinks {
22971			if v == nil {
22972				continue
22973			}
22974			if err := v.Validate(); err != nil {
22975				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
22976			}
22977		}
22978	}
22979	if s.Source != nil {
22980		if err := s.Source.Validate(); err != nil {
22981			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
22982		}
22983	}
22984
22985	if invalidParams.Len() > 0 {
22986		return invalidParams
22987	}
22988	return nil
22989}
22990
22991// SetLocation sets the Location field's value.
22992func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput {
22993	s.Location = v
22994	return s
22995}
22996
22997// SetSinks sets the Sinks field's value.
22998func (s *GetMappingInput) SetSinks(v []*CatalogEntry) *GetMappingInput {
22999	s.Sinks = v
23000	return s
23001}
23002
23003// SetSource sets the Source field's value.
23004func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput {
23005	s.Source = v
23006	return s
23007}
23008
23009type GetMappingOutput struct {
23010	_ struct{} `type:"structure"`
23011
23012	// A list of mappings to the specified targets.
23013	//
23014	// Mapping is a required field
23015	Mapping []*MappingEntry `type:"list" required:"true"`
23016}
23017
23018// String returns the string representation
23019func (s GetMappingOutput) String() string {
23020	return awsutil.Prettify(s)
23021}
23022
23023// GoString returns the string representation
23024func (s GetMappingOutput) GoString() string {
23025	return s.String()
23026}
23027
23028// SetMapping sets the Mapping field's value.
23029func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput {
23030	s.Mapping = v
23031	return s
23032}
23033
23034type GetPartitionInput struct {
23035	_ struct{} `type:"structure"`
23036
23037	// The ID of the Data Catalog where the partition in question resides. If none
23038	// is provided, the AWS account ID is used by default.
23039	CatalogId *string `min:"1" type:"string"`
23040
23041	// The name of the catalog database where the partition resides.
23042	//
23043	// DatabaseName is a required field
23044	DatabaseName *string `min:"1" type:"string" required:"true"`
23045
23046	// The values that define the partition.
23047	//
23048	// PartitionValues is a required field
23049	PartitionValues []*string `type:"list" required:"true"`
23050
23051	// The name of the partition's table.
23052	//
23053	// TableName is a required field
23054	TableName *string `min:"1" type:"string" required:"true"`
23055}
23056
23057// String returns the string representation
23058func (s GetPartitionInput) String() string {
23059	return awsutil.Prettify(s)
23060}
23061
23062// GoString returns the string representation
23063func (s GetPartitionInput) GoString() string {
23064	return s.String()
23065}
23066
23067// Validate inspects the fields of the type to determine if they are valid.
23068func (s *GetPartitionInput) Validate() error {
23069	invalidParams := request.ErrInvalidParams{Context: "GetPartitionInput"}
23070	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23071		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23072	}
23073	if s.DatabaseName == nil {
23074		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23075	}
23076	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23077		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23078	}
23079	if s.PartitionValues == nil {
23080		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
23081	}
23082	if s.TableName == nil {
23083		invalidParams.Add(request.NewErrParamRequired("TableName"))
23084	}
23085	if s.TableName != nil && len(*s.TableName) < 1 {
23086		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23087	}
23088
23089	if invalidParams.Len() > 0 {
23090		return invalidParams
23091	}
23092	return nil
23093}
23094
23095// SetCatalogId sets the CatalogId field's value.
23096func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput {
23097	s.CatalogId = &v
23098	return s
23099}
23100
23101// SetDatabaseName sets the DatabaseName field's value.
23102func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput {
23103	s.DatabaseName = &v
23104	return s
23105}
23106
23107// SetPartitionValues sets the PartitionValues field's value.
23108func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput {
23109	s.PartitionValues = v
23110	return s
23111}
23112
23113// SetTableName sets the TableName field's value.
23114func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput {
23115	s.TableName = &v
23116	return s
23117}
23118
23119type GetPartitionOutput struct {
23120	_ struct{} `type:"structure"`
23121
23122	// The requested information, in the form of a Partition object.
23123	Partition *Partition `type:"structure"`
23124}
23125
23126// String returns the string representation
23127func (s GetPartitionOutput) String() string {
23128	return awsutil.Prettify(s)
23129}
23130
23131// GoString returns the string representation
23132func (s GetPartitionOutput) GoString() string {
23133	return s.String()
23134}
23135
23136// SetPartition sets the Partition field's value.
23137func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput {
23138	s.Partition = v
23139	return s
23140}
23141
23142type GetPartitionsInput struct {
23143	_ struct{} `type:"structure"`
23144
23145	// The ID of the Data Catalog where the partitions in question reside. If none
23146	// is provided, the AWS account ID is used by default.
23147	CatalogId *string `min:"1" type:"string"`
23148
23149	// The name of the catalog database where the partitions reside.
23150	//
23151	// DatabaseName is a required field
23152	DatabaseName *string `min:"1" type:"string" required:"true"`
23153
23154	// An expression that filters the partitions to be returned.
23155	//
23156	// The expression uses SQL syntax similar to the SQL WHERE filter clause. The
23157	// SQL statement parser JSQLParser (http://jsqlparser.sourceforge.net/home.php)
23158	// parses the expression.
23159	//
23160	// Operators: The following are the operators that you can use in the Expression
23161	// API call:
23162	//
23163	// =
23164	//
23165	// Checks whether the values of the two operands are equal; if yes, then the
23166	// condition becomes true.
23167	//
23168	// Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
23169	//
23170	// (a = b) is not true.
23171	//
23172	// < >
23173	//
23174	// Checks whether the values of two operands are equal; if the values are not
23175	// equal, then the condition becomes true.
23176	//
23177	// Example: (a < > b) is true.
23178	//
23179	// >
23180	//
23181	// Checks whether the value of the left operand is greater than the value of
23182	// the right operand; if yes, then the condition becomes true.
23183	//
23184	// Example: (a > b) is not true.
23185	//
23186	// <
23187	//
23188	// Checks whether the value of the left operand is less than the value of the
23189	// right operand; if yes, then the condition becomes true.
23190	//
23191	// Example: (a < b) is true.
23192	//
23193	// >=
23194	//
23195	// Checks whether the value of the left operand is greater than or equal to
23196	// the value of the right operand; if yes, then the condition becomes true.
23197	//
23198	// Example: (a >= b) is not true.
23199	//
23200	// <=
23201	//
23202	// Checks whether the value of the left operand is less than or equal to the
23203	// value of the right operand; if yes, then the condition becomes true.
23204	//
23205	// Example: (a <= b) is true.
23206	//
23207	// AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
23208	//
23209	// Logical operators.
23210	//
23211	// Supported Partition Key Types: The following are the supported partition
23212	// keys.
23213	//
23214	//    * string
23215	//
23216	//    * date
23217	//
23218	//    * timestamp
23219	//
23220	//    * int
23221	//
23222	//    * bigint
23223	//
23224	//    * long
23225	//
23226	//    * tinyint
23227	//
23228	//    * smallint
23229	//
23230	//    * decimal
23231	//
23232	// If an invalid type is encountered, an exception is thrown.
23233	//
23234	// The following list shows the valid operators on each type. When you define
23235	// a crawler, the partitionKey type is created as a STRING, to be compatible
23236	// with the catalog partitions.
23237	//
23238	// Sample API Call:
23239	Expression *string `type:"string"`
23240
23241	// The maximum number of partitions to return in a single response.
23242	MaxResults *int64 `min:"1" type:"integer"`
23243
23244	// A continuation token, if this is not the first call to retrieve these partitions.
23245	NextToken *string `type:"string"`
23246
23247	// The segment of the table's partitions to scan in this request.
23248	Segment *Segment `type:"structure"`
23249
23250	// The name of the partitions' table.
23251	//
23252	// TableName is a required field
23253	TableName *string `min:"1" type:"string" required:"true"`
23254}
23255
23256// String returns the string representation
23257func (s GetPartitionsInput) String() string {
23258	return awsutil.Prettify(s)
23259}
23260
23261// GoString returns the string representation
23262func (s GetPartitionsInput) GoString() string {
23263	return s.String()
23264}
23265
23266// Validate inspects the fields of the type to determine if they are valid.
23267func (s *GetPartitionsInput) Validate() error {
23268	invalidParams := request.ErrInvalidParams{Context: "GetPartitionsInput"}
23269	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23270		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23271	}
23272	if s.DatabaseName == nil {
23273		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23274	}
23275	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23276		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23277	}
23278	if s.MaxResults != nil && *s.MaxResults < 1 {
23279		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23280	}
23281	if s.TableName == nil {
23282		invalidParams.Add(request.NewErrParamRequired("TableName"))
23283	}
23284	if s.TableName != nil && len(*s.TableName) < 1 {
23285		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23286	}
23287	if s.Segment != nil {
23288		if err := s.Segment.Validate(); err != nil {
23289			invalidParams.AddNested("Segment", err.(request.ErrInvalidParams))
23290		}
23291	}
23292
23293	if invalidParams.Len() > 0 {
23294		return invalidParams
23295	}
23296	return nil
23297}
23298
23299// SetCatalogId sets the CatalogId field's value.
23300func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput {
23301	s.CatalogId = &v
23302	return s
23303}
23304
23305// SetDatabaseName sets the DatabaseName field's value.
23306func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput {
23307	s.DatabaseName = &v
23308	return s
23309}
23310
23311// SetExpression sets the Expression field's value.
23312func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput {
23313	s.Expression = &v
23314	return s
23315}
23316
23317// SetMaxResults sets the MaxResults field's value.
23318func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput {
23319	s.MaxResults = &v
23320	return s
23321}
23322
23323// SetNextToken sets the NextToken field's value.
23324func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput {
23325	s.NextToken = &v
23326	return s
23327}
23328
23329// SetSegment sets the Segment field's value.
23330func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput {
23331	s.Segment = v
23332	return s
23333}
23334
23335// SetTableName sets the TableName field's value.
23336func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput {
23337	s.TableName = &v
23338	return s
23339}
23340
23341type GetPartitionsOutput struct {
23342	_ struct{} `type:"structure"`
23343
23344	// A continuation token, if the returned list of partitions does not include
23345	// the last one.
23346	NextToken *string `type:"string"`
23347
23348	// A list of requested partitions.
23349	Partitions []*Partition `type:"list"`
23350}
23351
23352// String returns the string representation
23353func (s GetPartitionsOutput) String() string {
23354	return awsutil.Prettify(s)
23355}
23356
23357// GoString returns the string representation
23358func (s GetPartitionsOutput) GoString() string {
23359	return s.String()
23360}
23361
23362// SetNextToken sets the NextToken field's value.
23363func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput {
23364	s.NextToken = &v
23365	return s
23366}
23367
23368// SetPartitions sets the Partitions field's value.
23369func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput {
23370	s.Partitions = v
23371	return s
23372}
23373
23374type GetPlanInput struct {
23375	_ struct{} `type:"structure"`
23376
23377	// The programming language of the code to perform the mapping.
23378	Language *string `type:"string" enum:"Language"`
23379
23380	// The parameters for the mapping.
23381	Location *Location `type:"structure"`
23382
23383	// The list of mappings from a source table to target tables.
23384	//
23385	// Mapping is a required field
23386	Mapping []*MappingEntry `type:"list" required:"true"`
23387
23388	// The target tables.
23389	Sinks []*CatalogEntry `type:"list"`
23390
23391	// The source table.
23392	//
23393	// Source is a required field
23394	Source *CatalogEntry `type:"structure" required:"true"`
23395}
23396
23397// String returns the string representation
23398func (s GetPlanInput) String() string {
23399	return awsutil.Prettify(s)
23400}
23401
23402// GoString returns the string representation
23403func (s GetPlanInput) GoString() string {
23404	return s.String()
23405}
23406
23407// Validate inspects the fields of the type to determine if they are valid.
23408func (s *GetPlanInput) Validate() error {
23409	invalidParams := request.ErrInvalidParams{Context: "GetPlanInput"}
23410	if s.Mapping == nil {
23411		invalidParams.Add(request.NewErrParamRequired("Mapping"))
23412	}
23413	if s.Source == nil {
23414		invalidParams.Add(request.NewErrParamRequired("Source"))
23415	}
23416	if s.Location != nil {
23417		if err := s.Location.Validate(); err != nil {
23418			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
23419		}
23420	}
23421	if s.Sinks != nil {
23422		for i, v := range s.Sinks {
23423			if v == nil {
23424				continue
23425			}
23426			if err := v.Validate(); err != nil {
23427				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
23428			}
23429		}
23430	}
23431	if s.Source != nil {
23432		if err := s.Source.Validate(); err != nil {
23433			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
23434		}
23435	}
23436
23437	if invalidParams.Len() > 0 {
23438		return invalidParams
23439	}
23440	return nil
23441}
23442
23443// SetLanguage sets the Language field's value.
23444func (s *GetPlanInput) SetLanguage(v string) *GetPlanInput {
23445	s.Language = &v
23446	return s
23447}
23448
23449// SetLocation sets the Location field's value.
23450func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput {
23451	s.Location = v
23452	return s
23453}
23454
23455// SetMapping sets the Mapping field's value.
23456func (s *GetPlanInput) SetMapping(v []*MappingEntry) *GetPlanInput {
23457	s.Mapping = v
23458	return s
23459}
23460
23461// SetSinks sets the Sinks field's value.
23462func (s *GetPlanInput) SetSinks(v []*CatalogEntry) *GetPlanInput {
23463	s.Sinks = v
23464	return s
23465}
23466
23467// SetSource sets the Source field's value.
23468func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput {
23469	s.Source = v
23470	return s
23471}
23472
23473type GetPlanOutput struct {
23474	_ struct{} `type:"structure"`
23475
23476	// A Python script to perform the mapping.
23477	PythonScript *string `type:"string"`
23478
23479	// The Scala code to perform the mapping.
23480	ScalaCode *string `type:"string"`
23481}
23482
23483// String returns the string representation
23484func (s GetPlanOutput) String() string {
23485	return awsutil.Prettify(s)
23486}
23487
23488// GoString returns the string representation
23489func (s GetPlanOutput) GoString() string {
23490	return s.String()
23491}
23492
23493// SetPythonScript sets the PythonScript field's value.
23494func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput {
23495	s.PythonScript = &v
23496	return s
23497}
23498
23499// SetScalaCode sets the ScalaCode field's value.
23500func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput {
23501	s.ScalaCode = &v
23502	return s
23503}
23504
23505type GetResourcePolicyInput struct {
23506	_ struct{} `type:"structure"`
23507}
23508
23509// String returns the string representation
23510func (s GetResourcePolicyInput) String() string {
23511	return awsutil.Prettify(s)
23512}
23513
23514// GoString returns the string representation
23515func (s GetResourcePolicyInput) GoString() string {
23516	return s.String()
23517}
23518
23519type GetResourcePolicyOutput struct {
23520	_ struct{} `type:"structure"`
23521
23522	// The date and time at which the policy was created.
23523	CreateTime *time.Time `type:"timestamp"`
23524
23525	// Contains the hash value associated with this policy.
23526	PolicyHash *string `min:"1" type:"string"`
23527
23528	// Contains the requested policy document, in JSON format.
23529	PolicyInJson *string `min:"2" type:"string"`
23530
23531	// The date and time at which the policy was last updated.
23532	UpdateTime *time.Time `type:"timestamp"`
23533}
23534
23535// String returns the string representation
23536func (s GetResourcePolicyOutput) String() string {
23537	return awsutil.Prettify(s)
23538}
23539
23540// GoString returns the string representation
23541func (s GetResourcePolicyOutput) GoString() string {
23542	return s.String()
23543}
23544
23545// SetCreateTime sets the CreateTime field's value.
23546func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput {
23547	s.CreateTime = &v
23548	return s
23549}
23550
23551// SetPolicyHash sets the PolicyHash field's value.
23552func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput {
23553	s.PolicyHash = &v
23554	return s
23555}
23556
23557// SetPolicyInJson sets the PolicyInJson field's value.
23558func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput {
23559	s.PolicyInJson = &v
23560	return s
23561}
23562
23563// SetUpdateTime sets the UpdateTime field's value.
23564func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput {
23565	s.UpdateTime = &v
23566	return s
23567}
23568
23569type GetSecurityConfigurationInput struct {
23570	_ struct{} `type:"structure"`
23571
23572	// The name of the security configuration to retrieve.
23573	//
23574	// Name is a required field
23575	Name *string `min:"1" type:"string" required:"true"`
23576}
23577
23578// String returns the string representation
23579func (s GetSecurityConfigurationInput) String() string {
23580	return awsutil.Prettify(s)
23581}
23582
23583// GoString returns the string representation
23584func (s GetSecurityConfigurationInput) GoString() string {
23585	return s.String()
23586}
23587
23588// Validate inspects the fields of the type to determine if they are valid.
23589func (s *GetSecurityConfigurationInput) Validate() error {
23590	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationInput"}
23591	if s.Name == nil {
23592		invalidParams.Add(request.NewErrParamRequired("Name"))
23593	}
23594	if s.Name != nil && len(*s.Name) < 1 {
23595		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23596	}
23597
23598	if invalidParams.Len() > 0 {
23599		return invalidParams
23600	}
23601	return nil
23602}
23603
23604// SetName sets the Name field's value.
23605func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurationInput {
23606	s.Name = &v
23607	return s
23608}
23609
23610type GetSecurityConfigurationOutput struct {
23611	_ struct{} `type:"structure"`
23612
23613	// The requested security configuration.
23614	SecurityConfiguration *SecurityConfiguration `type:"structure"`
23615}
23616
23617// String returns the string representation
23618func (s GetSecurityConfigurationOutput) String() string {
23619	return awsutil.Prettify(s)
23620}
23621
23622// GoString returns the string representation
23623func (s GetSecurityConfigurationOutput) GoString() string {
23624	return s.String()
23625}
23626
23627// SetSecurityConfiguration sets the SecurityConfiguration field's value.
23628func (s *GetSecurityConfigurationOutput) SetSecurityConfiguration(v *SecurityConfiguration) *GetSecurityConfigurationOutput {
23629	s.SecurityConfiguration = v
23630	return s
23631}
23632
23633type GetSecurityConfigurationsInput struct {
23634	_ struct{} `type:"structure"`
23635
23636	// The maximum number of results to return.
23637	MaxResults *int64 `min:"1" type:"integer"`
23638
23639	// A continuation token, if this is a continuation call.
23640	NextToken *string `type:"string"`
23641}
23642
23643// String returns the string representation
23644func (s GetSecurityConfigurationsInput) String() string {
23645	return awsutil.Prettify(s)
23646}
23647
23648// GoString returns the string representation
23649func (s GetSecurityConfigurationsInput) GoString() string {
23650	return s.String()
23651}
23652
23653// Validate inspects the fields of the type to determine if they are valid.
23654func (s *GetSecurityConfigurationsInput) Validate() error {
23655	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationsInput"}
23656	if s.MaxResults != nil && *s.MaxResults < 1 {
23657		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23658	}
23659
23660	if invalidParams.Len() > 0 {
23661		return invalidParams
23662	}
23663	return nil
23664}
23665
23666// SetMaxResults sets the MaxResults field's value.
23667func (s *GetSecurityConfigurationsInput) SetMaxResults(v int64) *GetSecurityConfigurationsInput {
23668	s.MaxResults = &v
23669	return s
23670}
23671
23672// SetNextToken sets the NextToken field's value.
23673func (s *GetSecurityConfigurationsInput) SetNextToken(v string) *GetSecurityConfigurationsInput {
23674	s.NextToken = &v
23675	return s
23676}
23677
23678type GetSecurityConfigurationsOutput struct {
23679	_ struct{} `type:"structure"`
23680
23681	// A continuation token, if there are more security configurations to return.
23682	NextToken *string `type:"string"`
23683
23684	// A list of security configurations.
23685	SecurityConfigurations []*SecurityConfiguration `type:"list"`
23686}
23687
23688// String returns the string representation
23689func (s GetSecurityConfigurationsOutput) String() string {
23690	return awsutil.Prettify(s)
23691}
23692
23693// GoString returns the string representation
23694func (s GetSecurityConfigurationsOutput) GoString() string {
23695	return s.String()
23696}
23697
23698// SetNextToken sets the NextToken field's value.
23699func (s *GetSecurityConfigurationsOutput) SetNextToken(v string) *GetSecurityConfigurationsOutput {
23700	s.NextToken = &v
23701	return s
23702}
23703
23704// SetSecurityConfigurations sets the SecurityConfigurations field's value.
23705func (s *GetSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfiguration) *GetSecurityConfigurationsOutput {
23706	s.SecurityConfigurations = v
23707	return s
23708}
23709
23710type GetTableInput struct {
23711	_ struct{} `type:"structure"`
23712
23713	// The ID of the Data Catalog where the table resides. If none is provided,
23714	// the AWS account ID is used by default.
23715	CatalogId *string `min:"1" type:"string"`
23716
23717	// The name of the database in the catalog in which the table resides. For Hive
23718	// compatibility, this name is entirely lowercase.
23719	//
23720	// DatabaseName is a required field
23721	DatabaseName *string `min:"1" type:"string" required:"true"`
23722
23723	// The name of the table for which to retrieve the definition. For Hive compatibility,
23724	// this name is entirely lowercase.
23725	//
23726	// Name is a required field
23727	Name *string `min:"1" type:"string" required:"true"`
23728}
23729
23730// String returns the string representation
23731func (s GetTableInput) String() string {
23732	return awsutil.Prettify(s)
23733}
23734
23735// GoString returns the string representation
23736func (s GetTableInput) GoString() string {
23737	return s.String()
23738}
23739
23740// Validate inspects the fields of the type to determine if they are valid.
23741func (s *GetTableInput) Validate() error {
23742	invalidParams := request.ErrInvalidParams{Context: "GetTableInput"}
23743	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23744		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23745	}
23746	if s.DatabaseName == nil {
23747		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23748	}
23749	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23750		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23751	}
23752	if s.Name == nil {
23753		invalidParams.Add(request.NewErrParamRequired("Name"))
23754	}
23755	if s.Name != nil && len(*s.Name) < 1 {
23756		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23757	}
23758
23759	if invalidParams.Len() > 0 {
23760		return invalidParams
23761	}
23762	return nil
23763}
23764
23765// SetCatalogId sets the CatalogId field's value.
23766func (s *GetTableInput) SetCatalogId(v string) *GetTableInput {
23767	s.CatalogId = &v
23768	return s
23769}
23770
23771// SetDatabaseName sets the DatabaseName field's value.
23772func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput {
23773	s.DatabaseName = &v
23774	return s
23775}
23776
23777// SetName sets the Name field's value.
23778func (s *GetTableInput) SetName(v string) *GetTableInput {
23779	s.Name = &v
23780	return s
23781}
23782
23783type GetTableOutput struct {
23784	_ struct{} `type:"structure"`
23785
23786	// The Table object that defines the specified table.
23787	Table *TableData `type:"structure"`
23788}
23789
23790// String returns the string representation
23791func (s GetTableOutput) String() string {
23792	return awsutil.Prettify(s)
23793}
23794
23795// GoString returns the string representation
23796func (s GetTableOutput) GoString() string {
23797	return s.String()
23798}
23799
23800// SetTable sets the Table field's value.
23801func (s *GetTableOutput) SetTable(v *TableData) *GetTableOutput {
23802	s.Table = v
23803	return s
23804}
23805
23806type GetTableVersionInput struct {
23807	_ struct{} `type:"structure"`
23808
23809	// The ID of the Data Catalog where the tables reside. If none is provided,
23810	// the AWS account ID is used by default.
23811	CatalogId *string `min:"1" type:"string"`
23812
23813	// The database in the catalog in which the table resides. For Hive compatibility,
23814	// this name is entirely lowercase.
23815	//
23816	// DatabaseName is a required field
23817	DatabaseName *string `min:"1" type:"string" required:"true"`
23818
23819	// The name of the table. For Hive compatibility, this name is entirely lowercase.
23820	//
23821	// TableName is a required field
23822	TableName *string `min:"1" type:"string" required:"true"`
23823
23824	// The ID value of the table version to be retrieved. A VersionID is a string
23825	// representation of an integer. Each version is incremented by 1.
23826	VersionId *string `min:"1" type:"string"`
23827}
23828
23829// String returns the string representation
23830func (s GetTableVersionInput) String() string {
23831	return awsutil.Prettify(s)
23832}
23833
23834// GoString returns the string representation
23835func (s GetTableVersionInput) GoString() string {
23836	return s.String()
23837}
23838
23839// Validate inspects the fields of the type to determine if they are valid.
23840func (s *GetTableVersionInput) Validate() error {
23841	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionInput"}
23842	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23843		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23844	}
23845	if s.DatabaseName == nil {
23846		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23847	}
23848	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23849		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23850	}
23851	if s.TableName == nil {
23852		invalidParams.Add(request.NewErrParamRequired("TableName"))
23853	}
23854	if s.TableName != nil && len(*s.TableName) < 1 {
23855		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23856	}
23857	if s.VersionId != nil && len(*s.VersionId) < 1 {
23858		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
23859	}
23860
23861	if invalidParams.Len() > 0 {
23862		return invalidParams
23863	}
23864	return nil
23865}
23866
23867// SetCatalogId sets the CatalogId field's value.
23868func (s *GetTableVersionInput) SetCatalogId(v string) *GetTableVersionInput {
23869	s.CatalogId = &v
23870	return s
23871}
23872
23873// SetDatabaseName sets the DatabaseName field's value.
23874func (s *GetTableVersionInput) SetDatabaseName(v string) *GetTableVersionInput {
23875	s.DatabaseName = &v
23876	return s
23877}
23878
23879// SetTableName sets the TableName field's value.
23880func (s *GetTableVersionInput) SetTableName(v string) *GetTableVersionInput {
23881	s.TableName = &v
23882	return s
23883}
23884
23885// SetVersionId sets the VersionId field's value.
23886func (s *GetTableVersionInput) SetVersionId(v string) *GetTableVersionInput {
23887	s.VersionId = &v
23888	return s
23889}
23890
23891type GetTableVersionOutput struct {
23892	_ struct{} `type:"structure"`
23893
23894	// The requested table version.
23895	TableVersion *TableVersion `type:"structure"`
23896}
23897
23898// String returns the string representation
23899func (s GetTableVersionOutput) String() string {
23900	return awsutil.Prettify(s)
23901}
23902
23903// GoString returns the string representation
23904func (s GetTableVersionOutput) GoString() string {
23905	return s.String()
23906}
23907
23908// SetTableVersion sets the TableVersion field's value.
23909func (s *GetTableVersionOutput) SetTableVersion(v *TableVersion) *GetTableVersionOutput {
23910	s.TableVersion = v
23911	return s
23912}
23913
23914type GetTableVersionsInput struct {
23915	_ struct{} `type:"structure"`
23916
23917	// The ID of the Data Catalog where the tables reside. If none is provided,
23918	// the AWS account ID is used by default.
23919	CatalogId *string `min:"1" type:"string"`
23920
23921	// The database in the catalog in which the table resides. For Hive compatibility,
23922	// this name is entirely lowercase.
23923	//
23924	// DatabaseName is a required field
23925	DatabaseName *string `min:"1" type:"string" required:"true"`
23926
23927	// The maximum number of table versions to return in one response.
23928	MaxResults *int64 `min:"1" type:"integer"`
23929
23930	// A continuation token, if this is not the first call.
23931	NextToken *string `type:"string"`
23932
23933	// The name of the table. For Hive compatibility, this name is entirely lowercase.
23934	//
23935	// TableName is a required field
23936	TableName *string `min:"1" type:"string" required:"true"`
23937}
23938
23939// String returns the string representation
23940func (s GetTableVersionsInput) String() string {
23941	return awsutil.Prettify(s)
23942}
23943
23944// GoString returns the string representation
23945func (s GetTableVersionsInput) GoString() string {
23946	return s.String()
23947}
23948
23949// Validate inspects the fields of the type to determine if they are valid.
23950func (s *GetTableVersionsInput) Validate() error {
23951	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionsInput"}
23952	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23953		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23954	}
23955	if s.DatabaseName == nil {
23956		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23957	}
23958	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23959		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23960	}
23961	if s.MaxResults != nil && *s.MaxResults < 1 {
23962		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23963	}
23964	if s.TableName == nil {
23965		invalidParams.Add(request.NewErrParamRequired("TableName"))
23966	}
23967	if s.TableName != nil && len(*s.TableName) < 1 {
23968		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23969	}
23970
23971	if invalidParams.Len() > 0 {
23972		return invalidParams
23973	}
23974	return nil
23975}
23976
23977// SetCatalogId sets the CatalogId field's value.
23978func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput {
23979	s.CatalogId = &v
23980	return s
23981}
23982
23983// SetDatabaseName sets the DatabaseName field's value.
23984func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput {
23985	s.DatabaseName = &v
23986	return s
23987}
23988
23989// SetMaxResults sets the MaxResults field's value.
23990func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput {
23991	s.MaxResults = &v
23992	return s
23993}
23994
23995// SetNextToken sets the NextToken field's value.
23996func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput {
23997	s.NextToken = &v
23998	return s
23999}
24000
24001// SetTableName sets the TableName field's value.
24002func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput {
24003	s.TableName = &v
24004	return s
24005}
24006
24007type GetTableVersionsOutput struct {
24008	_ struct{} `type:"structure"`
24009
24010	// A continuation token, if the list of available versions does not include
24011	// the last one.
24012	NextToken *string `type:"string"`
24013
24014	// A list of strings identifying available versions of the specified table.
24015	TableVersions []*TableVersion `type:"list"`
24016}
24017
24018// String returns the string representation
24019func (s GetTableVersionsOutput) String() string {
24020	return awsutil.Prettify(s)
24021}
24022
24023// GoString returns the string representation
24024func (s GetTableVersionsOutput) GoString() string {
24025	return s.String()
24026}
24027
24028// SetNextToken sets the NextToken field's value.
24029func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput {
24030	s.NextToken = &v
24031	return s
24032}
24033
24034// SetTableVersions sets the TableVersions field's value.
24035func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVersionsOutput {
24036	s.TableVersions = v
24037	return s
24038}
24039
24040type GetTablesInput struct {
24041	_ struct{} `type:"structure"`
24042
24043	// The ID of the Data Catalog where the tables reside. If none is provided,
24044	// the AWS account ID is used by default.
24045	CatalogId *string `min:"1" type:"string"`
24046
24047	// The database in the catalog whose tables to list. For Hive compatibility,
24048	// this name is entirely lowercase.
24049	//
24050	// DatabaseName is a required field
24051	DatabaseName *string `min:"1" type:"string" required:"true"`
24052
24053	// A regular expression pattern. If present, only those tables whose names match
24054	// the pattern are returned.
24055	Expression *string `type:"string"`
24056
24057	// The maximum number of tables to return in a single response.
24058	MaxResults *int64 `min:"1" type:"integer"`
24059
24060	// A continuation token, included if this is a continuation call.
24061	NextToken *string `type:"string"`
24062}
24063
24064// String returns the string representation
24065func (s GetTablesInput) String() string {
24066	return awsutil.Prettify(s)
24067}
24068
24069// GoString returns the string representation
24070func (s GetTablesInput) GoString() string {
24071	return s.String()
24072}
24073
24074// Validate inspects the fields of the type to determine if they are valid.
24075func (s *GetTablesInput) Validate() error {
24076	invalidParams := request.ErrInvalidParams{Context: "GetTablesInput"}
24077	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24078		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24079	}
24080	if s.DatabaseName == nil {
24081		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24082	}
24083	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24084		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24085	}
24086	if s.MaxResults != nil && *s.MaxResults < 1 {
24087		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24088	}
24089
24090	if invalidParams.Len() > 0 {
24091		return invalidParams
24092	}
24093	return nil
24094}
24095
24096// SetCatalogId sets the CatalogId field's value.
24097func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput {
24098	s.CatalogId = &v
24099	return s
24100}
24101
24102// SetDatabaseName sets the DatabaseName field's value.
24103func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput {
24104	s.DatabaseName = &v
24105	return s
24106}
24107
24108// SetExpression sets the Expression field's value.
24109func (s *GetTablesInput) SetExpression(v string) *GetTablesInput {
24110	s.Expression = &v
24111	return s
24112}
24113
24114// SetMaxResults sets the MaxResults field's value.
24115func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput {
24116	s.MaxResults = &v
24117	return s
24118}
24119
24120// SetNextToken sets the NextToken field's value.
24121func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput {
24122	s.NextToken = &v
24123	return s
24124}
24125
24126type GetTablesOutput struct {
24127	_ struct{} `type:"structure"`
24128
24129	// A continuation token, present if the current list segment is not the last.
24130	NextToken *string `type:"string"`
24131
24132	// A list of the requested Table objects.
24133	TableList []*TableData `type:"list"`
24134}
24135
24136// String returns the string representation
24137func (s GetTablesOutput) String() string {
24138	return awsutil.Prettify(s)
24139}
24140
24141// GoString returns the string representation
24142func (s GetTablesOutput) GoString() string {
24143	return s.String()
24144}
24145
24146// SetNextToken sets the NextToken field's value.
24147func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput {
24148	s.NextToken = &v
24149	return s
24150}
24151
24152// SetTableList sets the TableList field's value.
24153func (s *GetTablesOutput) SetTableList(v []*TableData) *GetTablesOutput {
24154	s.TableList = v
24155	return s
24156}
24157
24158type GetTagsInput struct {
24159	_ struct{} `type:"structure"`
24160
24161	// The Amazon Resource Name (ARN) of the resource for which to retrieve tags.
24162	//
24163	// ResourceArn is a required field
24164	ResourceArn *string `min:"1" type:"string" required:"true"`
24165}
24166
24167// String returns the string representation
24168func (s GetTagsInput) String() string {
24169	return awsutil.Prettify(s)
24170}
24171
24172// GoString returns the string representation
24173func (s GetTagsInput) GoString() string {
24174	return s.String()
24175}
24176
24177// Validate inspects the fields of the type to determine if they are valid.
24178func (s *GetTagsInput) Validate() error {
24179	invalidParams := request.ErrInvalidParams{Context: "GetTagsInput"}
24180	if s.ResourceArn == nil {
24181		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
24182	}
24183	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
24184		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
24185	}
24186
24187	if invalidParams.Len() > 0 {
24188		return invalidParams
24189	}
24190	return nil
24191}
24192
24193// SetResourceArn sets the ResourceArn field's value.
24194func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput {
24195	s.ResourceArn = &v
24196	return s
24197}
24198
24199type GetTagsOutput struct {
24200	_ struct{} `type:"structure"`
24201
24202	// The requested tags.
24203	Tags map[string]*string `type:"map"`
24204}
24205
24206// String returns the string representation
24207func (s GetTagsOutput) String() string {
24208	return awsutil.Prettify(s)
24209}
24210
24211// GoString returns the string representation
24212func (s GetTagsOutput) GoString() string {
24213	return s.String()
24214}
24215
24216// SetTags sets the Tags field's value.
24217func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput {
24218	s.Tags = v
24219	return s
24220}
24221
24222type GetTriggerInput struct {
24223	_ struct{} `type:"structure"`
24224
24225	// The name of the trigger to retrieve.
24226	//
24227	// Name is a required field
24228	Name *string `min:"1" type:"string" required:"true"`
24229}
24230
24231// String returns the string representation
24232func (s GetTriggerInput) String() string {
24233	return awsutil.Prettify(s)
24234}
24235
24236// GoString returns the string representation
24237func (s GetTriggerInput) GoString() string {
24238	return s.String()
24239}
24240
24241// Validate inspects the fields of the type to determine if they are valid.
24242func (s *GetTriggerInput) Validate() error {
24243	invalidParams := request.ErrInvalidParams{Context: "GetTriggerInput"}
24244	if s.Name == nil {
24245		invalidParams.Add(request.NewErrParamRequired("Name"))
24246	}
24247	if s.Name != nil && len(*s.Name) < 1 {
24248		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24249	}
24250
24251	if invalidParams.Len() > 0 {
24252		return invalidParams
24253	}
24254	return nil
24255}
24256
24257// SetName sets the Name field's value.
24258func (s *GetTriggerInput) SetName(v string) *GetTriggerInput {
24259	s.Name = &v
24260	return s
24261}
24262
24263type GetTriggerOutput struct {
24264	_ struct{} `type:"structure"`
24265
24266	// The requested trigger definition.
24267	Trigger *Trigger `type:"structure"`
24268}
24269
24270// String returns the string representation
24271func (s GetTriggerOutput) String() string {
24272	return awsutil.Prettify(s)
24273}
24274
24275// GoString returns the string representation
24276func (s GetTriggerOutput) GoString() string {
24277	return s.String()
24278}
24279
24280// SetTrigger sets the Trigger field's value.
24281func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput {
24282	s.Trigger = v
24283	return s
24284}
24285
24286type GetTriggersInput struct {
24287	_ struct{} `type:"structure"`
24288
24289	// The name of the job to retrieve triggers for. The trigger that can start
24290	// this job is returned, and if there is no such trigger, all triggers are returned.
24291	DependentJobName *string `min:"1" type:"string"`
24292
24293	// The maximum size of the response.
24294	MaxResults *int64 `min:"1" type:"integer"`
24295
24296	// A continuation token, if this is a continuation call.
24297	NextToken *string `type:"string"`
24298}
24299
24300// String returns the string representation
24301func (s GetTriggersInput) String() string {
24302	return awsutil.Prettify(s)
24303}
24304
24305// GoString returns the string representation
24306func (s GetTriggersInput) GoString() string {
24307	return s.String()
24308}
24309
24310// Validate inspects the fields of the type to determine if they are valid.
24311func (s *GetTriggersInput) Validate() error {
24312	invalidParams := request.ErrInvalidParams{Context: "GetTriggersInput"}
24313	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
24314		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
24315	}
24316	if s.MaxResults != nil && *s.MaxResults < 1 {
24317		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24318	}
24319
24320	if invalidParams.Len() > 0 {
24321		return invalidParams
24322	}
24323	return nil
24324}
24325
24326// SetDependentJobName sets the DependentJobName field's value.
24327func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput {
24328	s.DependentJobName = &v
24329	return s
24330}
24331
24332// SetMaxResults sets the MaxResults field's value.
24333func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput {
24334	s.MaxResults = &v
24335	return s
24336}
24337
24338// SetNextToken sets the NextToken field's value.
24339func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput {
24340	s.NextToken = &v
24341	return s
24342}
24343
24344type GetTriggersOutput struct {
24345	_ struct{} `type:"structure"`
24346
24347	// A continuation token, if not all the requested triggers have yet been returned.
24348	NextToken *string `type:"string"`
24349
24350	// A list of triggers for the specified job.
24351	Triggers []*Trigger `type:"list"`
24352}
24353
24354// String returns the string representation
24355func (s GetTriggersOutput) String() string {
24356	return awsutil.Prettify(s)
24357}
24358
24359// GoString returns the string representation
24360func (s GetTriggersOutput) GoString() string {
24361	return s.String()
24362}
24363
24364// SetNextToken sets the NextToken field's value.
24365func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput {
24366	s.NextToken = &v
24367	return s
24368}
24369
24370// SetTriggers sets the Triggers field's value.
24371func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput {
24372	s.Triggers = v
24373	return s
24374}
24375
24376type GetUserDefinedFunctionInput struct {
24377	_ struct{} `type:"structure"`
24378
24379	// The ID of the Data Catalog where the function to be retrieved is located.
24380	// If none is provided, the AWS account ID is used by default.
24381	CatalogId *string `min:"1" type:"string"`
24382
24383	// The name of the catalog database where the function is located.
24384	//
24385	// DatabaseName is a required field
24386	DatabaseName *string `min:"1" type:"string" required:"true"`
24387
24388	// The name of the function.
24389	//
24390	// FunctionName is a required field
24391	FunctionName *string `min:"1" type:"string" required:"true"`
24392}
24393
24394// String returns the string representation
24395func (s GetUserDefinedFunctionInput) String() string {
24396	return awsutil.Prettify(s)
24397}
24398
24399// GoString returns the string representation
24400func (s GetUserDefinedFunctionInput) GoString() string {
24401	return s.String()
24402}
24403
24404// Validate inspects the fields of the type to determine if they are valid.
24405func (s *GetUserDefinedFunctionInput) Validate() error {
24406	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionInput"}
24407	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24408		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24409	}
24410	if s.DatabaseName == nil {
24411		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24412	}
24413	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24414		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24415	}
24416	if s.FunctionName == nil {
24417		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
24418	}
24419	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
24420		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
24421	}
24422
24423	if invalidParams.Len() > 0 {
24424		return invalidParams
24425	}
24426	return nil
24427}
24428
24429// SetCatalogId sets the CatalogId field's value.
24430func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput {
24431	s.CatalogId = &v
24432	return s
24433}
24434
24435// SetDatabaseName sets the DatabaseName field's value.
24436func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput {
24437	s.DatabaseName = &v
24438	return s
24439}
24440
24441// SetFunctionName sets the FunctionName field's value.
24442func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput {
24443	s.FunctionName = &v
24444	return s
24445}
24446
24447type GetUserDefinedFunctionOutput struct {
24448	_ struct{} `type:"structure"`
24449
24450	// The requested function definition.
24451	UserDefinedFunction *UserDefinedFunction `type:"structure"`
24452}
24453
24454// String returns the string representation
24455func (s GetUserDefinedFunctionOutput) String() string {
24456	return awsutil.Prettify(s)
24457}
24458
24459// GoString returns the string representation
24460func (s GetUserDefinedFunctionOutput) GoString() string {
24461	return s.String()
24462}
24463
24464// SetUserDefinedFunction sets the UserDefinedFunction field's value.
24465func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput {
24466	s.UserDefinedFunction = v
24467	return s
24468}
24469
24470type GetUserDefinedFunctionsInput struct {
24471	_ struct{} `type:"structure"`
24472
24473	// The ID of the Data Catalog where the functions to be retrieved are located.
24474	// If none is provided, the AWS account ID is used by default.
24475	CatalogId *string `min:"1" type:"string"`
24476
24477	// The name of the catalog database where the functions are located.
24478	//
24479	// DatabaseName is a required field
24480	DatabaseName *string `min:"1" type:"string" required:"true"`
24481
24482	// The maximum number of functions to return in one response.
24483	MaxResults *int64 `min:"1" type:"integer"`
24484
24485	// A continuation token, if this is a continuation call.
24486	NextToken *string `type:"string"`
24487
24488	// An optional function-name pattern string that filters the function definitions
24489	// returned.
24490	//
24491	// Pattern is a required field
24492	Pattern *string `min:"1" type:"string" required:"true"`
24493}
24494
24495// String returns the string representation
24496func (s GetUserDefinedFunctionsInput) String() string {
24497	return awsutil.Prettify(s)
24498}
24499
24500// GoString returns the string representation
24501func (s GetUserDefinedFunctionsInput) GoString() string {
24502	return s.String()
24503}
24504
24505// Validate inspects the fields of the type to determine if they are valid.
24506func (s *GetUserDefinedFunctionsInput) Validate() error {
24507	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionsInput"}
24508	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24509		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24510	}
24511	if s.DatabaseName == nil {
24512		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
24513	}
24514	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
24515		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
24516	}
24517	if s.MaxResults != nil && *s.MaxResults < 1 {
24518		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24519	}
24520	if s.Pattern == nil {
24521		invalidParams.Add(request.NewErrParamRequired("Pattern"))
24522	}
24523	if s.Pattern != nil && len(*s.Pattern) < 1 {
24524		invalidParams.Add(request.NewErrParamMinLen("Pattern", 1))
24525	}
24526
24527	if invalidParams.Len() > 0 {
24528		return invalidParams
24529	}
24530	return nil
24531}
24532
24533// SetCatalogId sets the CatalogId field's value.
24534func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput {
24535	s.CatalogId = &v
24536	return s
24537}
24538
24539// SetDatabaseName sets the DatabaseName field's value.
24540func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput {
24541	s.DatabaseName = &v
24542	return s
24543}
24544
24545// SetMaxResults sets the MaxResults field's value.
24546func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput {
24547	s.MaxResults = &v
24548	return s
24549}
24550
24551// SetNextToken sets the NextToken field's value.
24552func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput {
24553	s.NextToken = &v
24554	return s
24555}
24556
24557// SetPattern sets the Pattern field's value.
24558func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput {
24559	s.Pattern = &v
24560	return s
24561}
24562
24563type GetUserDefinedFunctionsOutput struct {
24564	_ struct{} `type:"structure"`
24565
24566	// A continuation token, if the list of functions returned does not include
24567	// the last requested function.
24568	NextToken *string `type:"string"`
24569
24570	// A list of requested function definitions.
24571	UserDefinedFunctions []*UserDefinedFunction `type:"list"`
24572}
24573
24574// String returns the string representation
24575func (s GetUserDefinedFunctionsOutput) String() string {
24576	return awsutil.Prettify(s)
24577}
24578
24579// GoString returns the string representation
24580func (s GetUserDefinedFunctionsOutput) GoString() string {
24581	return s.String()
24582}
24583
24584// SetNextToken sets the NextToken field's value.
24585func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput {
24586	s.NextToken = &v
24587	return s
24588}
24589
24590// SetUserDefinedFunctions sets the UserDefinedFunctions field's value.
24591func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefinedFunction) *GetUserDefinedFunctionsOutput {
24592	s.UserDefinedFunctions = v
24593	return s
24594}
24595
24596type GetWorkflowInput struct {
24597	_ struct{} `type:"structure"`
24598
24599	// Specifies whether to include a graph when returning the workflow resource
24600	// metadata.
24601	IncludeGraph *bool `type:"boolean"`
24602
24603	// The name of the workflow to retrieve.
24604	//
24605	// Name is a required field
24606	Name *string `min:"1" type:"string" required:"true"`
24607}
24608
24609// String returns the string representation
24610func (s GetWorkflowInput) String() string {
24611	return awsutil.Prettify(s)
24612}
24613
24614// GoString returns the string representation
24615func (s GetWorkflowInput) GoString() string {
24616	return s.String()
24617}
24618
24619// Validate inspects the fields of the type to determine if they are valid.
24620func (s *GetWorkflowInput) Validate() error {
24621	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"}
24622	if s.Name == nil {
24623		invalidParams.Add(request.NewErrParamRequired("Name"))
24624	}
24625	if s.Name != nil && len(*s.Name) < 1 {
24626		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24627	}
24628
24629	if invalidParams.Len() > 0 {
24630		return invalidParams
24631	}
24632	return nil
24633}
24634
24635// SetIncludeGraph sets the IncludeGraph field's value.
24636func (s *GetWorkflowInput) SetIncludeGraph(v bool) *GetWorkflowInput {
24637	s.IncludeGraph = &v
24638	return s
24639}
24640
24641// SetName sets the Name field's value.
24642func (s *GetWorkflowInput) SetName(v string) *GetWorkflowInput {
24643	s.Name = &v
24644	return s
24645}
24646
24647type GetWorkflowOutput struct {
24648	_ struct{} `type:"structure"`
24649
24650	// The resource metadata for the workflow.
24651	Workflow *Workflow `type:"structure"`
24652}
24653
24654// String returns the string representation
24655func (s GetWorkflowOutput) String() string {
24656	return awsutil.Prettify(s)
24657}
24658
24659// GoString returns the string representation
24660func (s GetWorkflowOutput) GoString() string {
24661	return s.String()
24662}
24663
24664// SetWorkflow sets the Workflow field's value.
24665func (s *GetWorkflowOutput) SetWorkflow(v *Workflow) *GetWorkflowOutput {
24666	s.Workflow = v
24667	return s
24668}
24669
24670type GetWorkflowRunInput struct {
24671	_ struct{} `type:"structure"`
24672
24673	// Specifies whether to include the workflow graph in response or not.
24674	IncludeGraph *bool `type:"boolean"`
24675
24676	// Name of the workflow being run.
24677	//
24678	// Name is a required field
24679	Name *string `min:"1" type:"string" required:"true"`
24680
24681	// The ID of the workflow run.
24682	//
24683	// RunId is a required field
24684	RunId *string `min:"1" type:"string" required:"true"`
24685}
24686
24687// String returns the string representation
24688func (s GetWorkflowRunInput) String() string {
24689	return awsutil.Prettify(s)
24690}
24691
24692// GoString returns the string representation
24693func (s GetWorkflowRunInput) GoString() string {
24694	return s.String()
24695}
24696
24697// Validate inspects the fields of the type to determine if they are valid.
24698func (s *GetWorkflowRunInput) Validate() error {
24699	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunInput"}
24700	if s.Name == nil {
24701		invalidParams.Add(request.NewErrParamRequired("Name"))
24702	}
24703	if s.Name != nil && len(*s.Name) < 1 {
24704		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24705	}
24706	if s.RunId == nil {
24707		invalidParams.Add(request.NewErrParamRequired("RunId"))
24708	}
24709	if s.RunId != nil && len(*s.RunId) < 1 {
24710		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
24711	}
24712
24713	if invalidParams.Len() > 0 {
24714		return invalidParams
24715	}
24716	return nil
24717}
24718
24719// SetIncludeGraph sets the IncludeGraph field's value.
24720func (s *GetWorkflowRunInput) SetIncludeGraph(v bool) *GetWorkflowRunInput {
24721	s.IncludeGraph = &v
24722	return s
24723}
24724
24725// SetName sets the Name field's value.
24726func (s *GetWorkflowRunInput) SetName(v string) *GetWorkflowRunInput {
24727	s.Name = &v
24728	return s
24729}
24730
24731// SetRunId sets the RunId field's value.
24732func (s *GetWorkflowRunInput) SetRunId(v string) *GetWorkflowRunInput {
24733	s.RunId = &v
24734	return s
24735}
24736
24737type GetWorkflowRunOutput struct {
24738	_ struct{} `type:"structure"`
24739
24740	// The requested workflow run metadata.
24741	Run *WorkflowRun `type:"structure"`
24742}
24743
24744// String returns the string representation
24745func (s GetWorkflowRunOutput) String() string {
24746	return awsutil.Prettify(s)
24747}
24748
24749// GoString returns the string representation
24750func (s GetWorkflowRunOutput) GoString() string {
24751	return s.String()
24752}
24753
24754// SetRun sets the Run field's value.
24755func (s *GetWorkflowRunOutput) SetRun(v *WorkflowRun) *GetWorkflowRunOutput {
24756	s.Run = v
24757	return s
24758}
24759
24760type GetWorkflowRunPropertiesInput struct {
24761	_ struct{} `type:"structure"`
24762
24763	// Name of the workflow which was run.
24764	//
24765	// Name is a required field
24766	Name *string `min:"1" type:"string" required:"true"`
24767
24768	// The ID of the workflow run whose run properties should be returned.
24769	//
24770	// RunId is a required field
24771	RunId *string `min:"1" type:"string" required:"true"`
24772}
24773
24774// String returns the string representation
24775func (s GetWorkflowRunPropertiesInput) String() string {
24776	return awsutil.Prettify(s)
24777}
24778
24779// GoString returns the string representation
24780func (s GetWorkflowRunPropertiesInput) GoString() string {
24781	return s.String()
24782}
24783
24784// Validate inspects the fields of the type to determine if they are valid.
24785func (s *GetWorkflowRunPropertiesInput) Validate() error {
24786	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunPropertiesInput"}
24787	if s.Name == nil {
24788		invalidParams.Add(request.NewErrParamRequired("Name"))
24789	}
24790	if s.Name != nil && len(*s.Name) < 1 {
24791		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24792	}
24793	if s.RunId == nil {
24794		invalidParams.Add(request.NewErrParamRequired("RunId"))
24795	}
24796	if s.RunId != nil && len(*s.RunId) < 1 {
24797		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
24798	}
24799
24800	if invalidParams.Len() > 0 {
24801		return invalidParams
24802	}
24803	return nil
24804}
24805
24806// SetName sets the Name field's value.
24807func (s *GetWorkflowRunPropertiesInput) SetName(v string) *GetWorkflowRunPropertiesInput {
24808	s.Name = &v
24809	return s
24810}
24811
24812// SetRunId sets the RunId field's value.
24813func (s *GetWorkflowRunPropertiesInput) SetRunId(v string) *GetWorkflowRunPropertiesInput {
24814	s.RunId = &v
24815	return s
24816}
24817
24818type GetWorkflowRunPropertiesOutput struct {
24819	_ struct{} `type:"structure"`
24820
24821	// The workflow run properties which were set during the specified run.
24822	RunProperties map[string]*string `type:"map"`
24823}
24824
24825// String returns the string representation
24826func (s GetWorkflowRunPropertiesOutput) String() string {
24827	return awsutil.Prettify(s)
24828}
24829
24830// GoString returns the string representation
24831func (s GetWorkflowRunPropertiesOutput) GoString() string {
24832	return s.String()
24833}
24834
24835// SetRunProperties sets the RunProperties field's value.
24836func (s *GetWorkflowRunPropertiesOutput) SetRunProperties(v map[string]*string) *GetWorkflowRunPropertiesOutput {
24837	s.RunProperties = v
24838	return s
24839}
24840
24841type GetWorkflowRunsInput struct {
24842	_ struct{} `type:"structure"`
24843
24844	// Specifies whether to include the workflow graph in response or not.
24845	IncludeGraph *bool `type:"boolean"`
24846
24847	// The maximum number of workflow runs to be included in the response.
24848	MaxResults *int64 `min:"1" type:"integer"`
24849
24850	// Name of the workflow whose metadata of runs should be returned.
24851	//
24852	// Name is a required field
24853	Name *string `min:"1" type:"string" required:"true"`
24854
24855	// The maximum size of the response.
24856	NextToken *string `type:"string"`
24857}
24858
24859// String returns the string representation
24860func (s GetWorkflowRunsInput) String() string {
24861	return awsutil.Prettify(s)
24862}
24863
24864// GoString returns the string representation
24865func (s GetWorkflowRunsInput) GoString() string {
24866	return s.String()
24867}
24868
24869// Validate inspects the fields of the type to determine if they are valid.
24870func (s *GetWorkflowRunsInput) Validate() error {
24871	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunsInput"}
24872	if s.MaxResults != nil && *s.MaxResults < 1 {
24873		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24874	}
24875	if s.Name == nil {
24876		invalidParams.Add(request.NewErrParamRequired("Name"))
24877	}
24878	if s.Name != nil && len(*s.Name) < 1 {
24879		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24880	}
24881
24882	if invalidParams.Len() > 0 {
24883		return invalidParams
24884	}
24885	return nil
24886}
24887
24888// SetIncludeGraph sets the IncludeGraph field's value.
24889func (s *GetWorkflowRunsInput) SetIncludeGraph(v bool) *GetWorkflowRunsInput {
24890	s.IncludeGraph = &v
24891	return s
24892}
24893
24894// SetMaxResults sets the MaxResults field's value.
24895func (s *GetWorkflowRunsInput) SetMaxResults(v int64) *GetWorkflowRunsInput {
24896	s.MaxResults = &v
24897	return s
24898}
24899
24900// SetName sets the Name field's value.
24901func (s *GetWorkflowRunsInput) SetName(v string) *GetWorkflowRunsInput {
24902	s.Name = &v
24903	return s
24904}
24905
24906// SetNextToken sets the NextToken field's value.
24907func (s *GetWorkflowRunsInput) SetNextToken(v string) *GetWorkflowRunsInput {
24908	s.NextToken = &v
24909	return s
24910}
24911
24912type GetWorkflowRunsOutput struct {
24913	_ struct{} `type:"structure"`
24914
24915	// A continuation token, if not all requested workflow runs have been returned.
24916	NextToken *string `type:"string"`
24917
24918	// A list of workflow run metadata objects.
24919	Runs []*WorkflowRun `min:"1" type:"list"`
24920}
24921
24922// String returns the string representation
24923func (s GetWorkflowRunsOutput) String() string {
24924	return awsutil.Prettify(s)
24925}
24926
24927// GoString returns the string representation
24928func (s GetWorkflowRunsOutput) GoString() string {
24929	return s.String()
24930}
24931
24932// SetNextToken sets the NextToken field's value.
24933func (s *GetWorkflowRunsOutput) SetNextToken(v string) *GetWorkflowRunsOutput {
24934	s.NextToken = &v
24935	return s
24936}
24937
24938// SetRuns sets the Runs field's value.
24939func (s *GetWorkflowRunsOutput) SetRuns(v []*WorkflowRun) *GetWorkflowRunsOutput {
24940	s.Runs = v
24941	return s
24942}
24943
24944// A classifier that uses grok patterns.
24945type GrokClassifier struct {
24946	_ struct{} `type:"structure"`
24947
24948	// An identifier of the data format that the classifier matches, such as Twitter,
24949	// JSON, Omniture logs, and so on.
24950	//
24951	// Classification is a required field
24952	Classification *string `type:"string" required:"true"`
24953
24954	// The time that this classifier was registered.
24955	CreationTime *time.Time `type:"timestamp"`
24956
24957	// Optional custom grok patterns defined by this classifier. For more information,
24958	// see custom patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24959	CustomPatterns *string `type:"string"`
24960
24961	// The grok pattern applied to a data store by this classifier. For more information,
24962	// see built-in patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24963	//
24964	// GrokPattern is a required field
24965	GrokPattern *string `min:"1" type:"string" required:"true"`
24966
24967	// The time that this classifier was last updated.
24968	LastUpdated *time.Time `type:"timestamp"`
24969
24970	// The name of the classifier.
24971	//
24972	// Name is a required field
24973	Name *string `min:"1" type:"string" required:"true"`
24974
24975	// The version of this classifier.
24976	Version *int64 `type:"long"`
24977}
24978
24979// String returns the string representation
24980func (s GrokClassifier) String() string {
24981	return awsutil.Prettify(s)
24982}
24983
24984// GoString returns the string representation
24985func (s GrokClassifier) GoString() string {
24986	return s.String()
24987}
24988
24989// SetClassification sets the Classification field's value.
24990func (s *GrokClassifier) SetClassification(v string) *GrokClassifier {
24991	s.Classification = &v
24992	return s
24993}
24994
24995// SetCreationTime sets the CreationTime field's value.
24996func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier {
24997	s.CreationTime = &v
24998	return s
24999}
25000
25001// SetCustomPatterns sets the CustomPatterns field's value.
25002func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier {
25003	s.CustomPatterns = &v
25004	return s
25005}
25006
25007// SetGrokPattern sets the GrokPattern field's value.
25008func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier {
25009	s.GrokPattern = &v
25010	return s
25011}
25012
25013// SetLastUpdated sets the LastUpdated field's value.
25014func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier {
25015	s.LastUpdated = &v
25016	return s
25017}
25018
25019// SetName sets the Name field's value.
25020func (s *GrokClassifier) SetName(v string) *GrokClassifier {
25021	s.Name = &v
25022	return s
25023}
25024
25025// SetVersion sets the Version field's value.
25026func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier {
25027	s.Version = &v
25028	return s
25029}
25030
25031// The same unique identifier was associated with two different records.
25032type IdempotentParameterMismatchException struct {
25033	_            struct{} `type:"structure"`
25034	respMetadata protocol.ResponseMetadata
25035
25036	// A message describing the problem.
25037	Message_ *string `locationName:"Message" type:"string"`
25038}
25039
25040// String returns the string representation
25041func (s IdempotentParameterMismatchException) String() string {
25042	return awsutil.Prettify(s)
25043}
25044
25045// GoString returns the string representation
25046func (s IdempotentParameterMismatchException) GoString() string {
25047	return s.String()
25048}
25049
25050func newErrorIdempotentParameterMismatchException(v protocol.ResponseMetadata) error {
25051	return &IdempotentParameterMismatchException{
25052		respMetadata: v,
25053	}
25054}
25055
25056// Code returns the exception type name.
25057func (s IdempotentParameterMismatchException) Code() string {
25058	return "IdempotentParameterMismatchException"
25059}
25060
25061// Message returns the exception's message.
25062func (s IdempotentParameterMismatchException) Message() string {
25063	if s.Message_ != nil {
25064		return *s.Message_
25065	}
25066	return ""
25067}
25068
25069// OrigErr always returns nil, satisfies awserr.Error interface.
25070func (s IdempotentParameterMismatchException) OrigErr() error {
25071	return nil
25072}
25073
25074func (s IdempotentParameterMismatchException) Error() string {
25075	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
25076}
25077
25078// Status code returns the HTTP status code for the request's response error.
25079func (s IdempotentParameterMismatchException) StatusCode() int {
25080	return s.respMetadata.StatusCode
25081}
25082
25083// RequestID returns the service's response RequestID for request.
25084func (s IdempotentParameterMismatchException) RequestID() string {
25085	return s.respMetadata.RequestID
25086}
25087
25088type ImportCatalogToGlueInput struct {
25089	_ struct{} `type:"structure"`
25090
25091	// The ID of the catalog to import. Currently, this should be the AWS account
25092	// ID.
25093	CatalogId *string `min:"1" type:"string"`
25094}
25095
25096// String returns the string representation
25097func (s ImportCatalogToGlueInput) String() string {
25098	return awsutil.Prettify(s)
25099}
25100
25101// GoString returns the string representation
25102func (s ImportCatalogToGlueInput) GoString() string {
25103	return s.String()
25104}
25105
25106// Validate inspects the fields of the type to determine if they are valid.
25107func (s *ImportCatalogToGlueInput) Validate() error {
25108	invalidParams := request.ErrInvalidParams{Context: "ImportCatalogToGlueInput"}
25109	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
25110		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
25111	}
25112
25113	if invalidParams.Len() > 0 {
25114		return invalidParams
25115	}
25116	return nil
25117}
25118
25119// SetCatalogId sets the CatalogId field's value.
25120func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput {
25121	s.CatalogId = &v
25122	return s
25123}
25124
25125type ImportCatalogToGlueOutput struct {
25126	_ struct{} `type:"structure"`
25127}
25128
25129// String returns the string representation
25130func (s ImportCatalogToGlueOutput) String() string {
25131	return awsutil.Prettify(s)
25132}
25133
25134// GoString returns the string representation
25135func (s ImportCatalogToGlueOutput) GoString() string {
25136	return s.String()
25137}
25138
25139// Specifies configuration properties for an importing labels task run.
25140type ImportLabelsTaskRunProperties struct {
25141	_ struct{} `type:"structure"`
25142
25143	// The Amazon Simple Storage Service (Amazon S3) path from where you will import
25144	// the labels.
25145	InputS3Path *string `type:"string"`
25146
25147	// Indicates whether to overwrite your existing labels.
25148	Replace *bool `type:"boolean"`
25149}
25150
25151// String returns the string representation
25152func (s ImportLabelsTaskRunProperties) String() string {
25153	return awsutil.Prettify(s)
25154}
25155
25156// GoString returns the string representation
25157func (s ImportLabelsTaskRunProperties) GoString() string {
25158	return s.String()
25159}
25160
25161// SetInputS3Path sets the InputS3Path field's value.
25162func (s *ImportLabelsTaskRunProperties) SetInputS3Path(v string) *ImportLabelsTaskRunProperties {
25163	s.InputS3Path = &v
25164	return s
25165}
25166
25167// SetReplace sets the Replace field's value.
25168func (s *ImportLabelsTaskRunProperties) SetReplace(v bool) *ImportLabelsTaskRunProperties {
25169	s.Replace = &v
25170	return s
25171}
25172
25173// An internal service error occurred.
25174type InternalServiceException struct {
25175	_            struct{} `type:"structure"`
25176	respMetadata protocol.ResponseMetadata
25177
25178	// A message describing the problem.
25179	Message_ *string `locationName:"Message" type:"string"`
25180}
25181
25182// String returns the string representation
25183func (s InternalServiceException) String() string {
25184	return awsutil.Prettify(s)
25185}
25186
25187// GoString returns the string representation
25188func (s InternalServiceException) GoString() string {
25189	return s.String()
25190}
25191
25192func newErrorInternalServiceException(v protocol.ResponseMetadata) error {
25193	return &InternalServiceException{
25194		respMetadata: v,
25195	}
25196}
25197
25198// Code returns the exception type name.
25199func (s InternalServiceException) Code() string {
25200	return "InternalServiceException"
25201}
25202
25203// Message returns the exception's message.
25204func (s InternalServiceException) Message() string {
25205	if s.Message_ != nil {
25206		return *s.Message_
25207	}
25208	return ""
25209}
25210
25211// OrigErr always returns nil, satisfies awserr.Error interface.
25212func (s InternalServiceException) OrigErr() error {
25213	return nil
25214}
25215
25216func (s InternalServiceException) Error() string {
25217	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
25218}
25219
25220// Status code returns the HTTP status code for the request's response error.
25221func (s InternalServiceException) StatusCode() int {
25222	return s.respMetadata.StatusCode
25223}
25224
25225// RequestID returns the service's response RequestID for request.
25226func (s InternalServiceException) RequestID() string {
25227	return s.respMetadata.RequestID
25228}
25229
25230// The input provided was not valid.
25231type InvalidInputException struct {
25232	_            struct{} `type:"structure"`
25233	respMetadata protocol.ResponseMetadata
25234
25235	// A message describing the problem.
25236	Message_ *string `locationName:"Message" type:"string"`
25237}
25238
25239// String returns the string representation
25240func (s InvalidInputException) String() string {
25241	return awsutil.Prettify(s)
25242}
25243
25244// GoString returns the string representation
25245func (s InvalidInputException) GoString() string {
25246	return s.String()
25247}
25248
25249func newErrorInvalidInputException(v protocol.ResponseMetadata) error {
25250	return &InvalidInputException{
25251		respMetadata: v,
25252	}
25253}
25254
25255// Code returns the exception type name.
25256func (s InvalidInputException) Code() string {
25257	return "InvalidInputException"
25258}
25259
25260// Message returns the exception's message.
25261func (s InvalidInputException) Message() string {
25262	if s.Message_ != nil {
25263		return *s.Message_
25264	}
25265	return ""
25266}
25267
25268// OrigErr always returns nil, satisfies awserr.Error interface.
25269func (s InvalidInputException) OrigErr() error {
25270	return nil
25271}
25272
25273func (s InvalidInputException) Error() string {
25274	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
25275}
25276
25277// Status code returns the HTTP status code for the request's response error.
25278func (s InvalidInputException) StatusCode() int {
25279	return s.respMetadata.StatusCode
25280}
25281
25282// RequestID returns the service's response RequestID for request.
25283func (s InvalidInputException) RequestID() string {
25284	return s.respMetadata.RequestID
25285}
25286
25287// Specifies a JDBC data store to crawl.
25288type JdbcTarget struct {
25289	_ struct{} `type:"structure"`
25290
25291	// The name of the connection to use to connect to the JDBC target.
25292	ConnectionName *string `type:"string"`
25293
25294	// A list of glob patterns used to exclude from the crawl. For more information,
25295	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
25296	Exclusions []*string `type:"list"`
25297
25298	// The path of the JDBC target.
25299	Path *string `type:"string"`
25300}
25301
25302// String returns the string representation
25303func (s JdbcTarget) String() string {
25304	return awsutil.Prettify(s)
25305}
25306
25307// GoString returns the string representation
25308func (s JdbcTarget) GoString() string {
25309	return s.String()
25310}
25311
25312// SetConnectionName sets the ConnectionName field's value.
25313func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget {
25314	s.ConnectionName = &v
25315	return s
25316}
25317
25318// SetExclusions sets the Exclusions field's value.
25319func (s *JdbcTarget) SetExclusions(v []*string) *JdbcTarget {
25320	s.Exclusions = v
25321	return s
25322}
25323
25324// SetPath sets the Path field's value.
25325func (s *JdbcTarget) SetPath(v string) *JdbcTarget {
25326	s.Path = &v
25327	return s
25328}
25329
25330// Specifies a job definition.
25331type Job struct {
25332	_ struct{} `type:"structure"`
25333
25334	// This field is deprecated. Use MaxCapacity instead.
25335	//
25336	// The number of AWS Glue data processing units (DPUs) allocated to runs of
25337	// this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is
25338	// a relative measure of processing power that consists of 4 vCPUs of compute
25339	// capacity and 16 GB of memory. For more information, see the AWS Glue pricing
25340	// page (https://aws.amazon.com/glue/pricing/).
25341	//
25342	// Deprecated: This property is deprecated, use MaxCapacity instead.
25343	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
25344
25345	// The JobCommand that executes this job.
25346	Command *JobCommand `type:"structure"`
25347
25348	// The connections used for this job.
25349	Connections *ConnectionsList `type:"structure"`
25350
25351	// The time and date that this job definition was created.
25352	CreatedOn *time.Time `type:"timestamp"`
25353
25354	// The default arguments for this job, specified as name-value pairs.
25355	//
25356	// You can specify arguments here that your own job-execution script consumes,
25357	// as well as arguments that AWS Glue itself consumes.
25358	//
25359	// For information about how to specify and consume your own Job arguments,
25360	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
25361	// topic in the developer guide.
25362	//
25363	// For information about the key-value pairs that AWS Glue consumes to set up
25364	// 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)
25365	// topic in the developer guide.
25366	DefaultArguments map[string]*string `type:"map"`
25367
25368	// A description of the job.
25369	Description *string `type:"string"`
25370
25371	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
25372	// for this job.
25373	ExecutionProperty *ExecutionProperty `type:"structure"`
25374
25375	// Glue version determines the versions of Apache Spark and Python that AWS
25376	// Glue supports. The Python version indicates the version supported for jobs
25377	// of type Spark.
25378	//
25379	// For more information about the available AWS Glue versions and corresponding
25380	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
25381	// in the developer guide.
25382	//
25383	// Jobs that are created without specifying a Glue version default to Glue 0.9.
25384	GlueVersion *string `min:"1" type:"string"`
25385
25386	// The last point in time when this job definition was modified.
25387	LastModifiedOn *time.Time `type:"timestamp"`
25388
25389	// This field is reserved for future use.
25390	LogUri *string `type:"string"`
25391
25392	// The number of AWS Glue data processing units (DPUs) that can be allocated
25393	// when this job runs. A DPU is a relative measure of processing power that
25394	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
25395	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
25396	//
25397	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
25398	//
25399	// The value that can be allocated for MaxCapacity depends on whether you are
25400	// running a Python shell job or an Apache Spark ETL job:
25401	//
25402	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
25403	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
25404	//
25405	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
25406	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
25407	//    type cannot have a fractional DPU allocation.
25408	MaxCapacity *float64 `type:"double"`
25409
25410	// The maximum number of times to retry this job after a JobRun fails.
25411	MaxRetries *int64 `type:"integer"`
25412
25413	// The name you assign to this job definition.
25414	Name *string `min:"1" type:"string"`
25415
25416	// Non-overridable arguments for this job, specified as name-value pairs.
25417	NonOverridableArguments map[string]*string `type:"map"`
25418
25419	// Specifies configuration properties of a job notification.
25420	NotificationProperty *NotificationProperty `type:"structure"`
25421
25422	// The number of workers of a defined workerType that are allocated when a job
25423	// runs.
25424	//
25425	// The maximum number of workers you can define are 299 for G.1X, and 149 for
25426	// G.2X.
25427	NumberOfWorkers *int64 `type:"integer"`
25428
25429	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
25430	// job.
25431	Role *string `type:"string"`
25432
25433	// The name of the SecurityConfiguration structure to be used with this job.
25434	SecurityConfiguration *string `min:"1" type:"string"`
25435
25436	// The job timeout in minutes. This is the maximum time that a job run can consume
25437	// resources before it is terminated and enters TIMEOUT status. The default
25438	// is 2,880 minutes (48 hours).
25439	Timeout *int64 `min:"1" type:"integer"`
25440
25441	// The type of predefined worker that is allocated when a job runs. Accepts
25442	// a value of Standard, G.1X, or G.2X.
25443	//
25444	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
25445	//    memory and a 50GB disk, and 2 executors per worker.
25446	//
25447	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
25448	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
25449	//    this worker type for memory-intensive jobs.
25450	//
25451	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
25452	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
25453	//    this worker type for memory-intensive jobs.
25454	WorkerType *string `type:"string" enum:"WorkerType"`
25455}
25456
25457// String returns the string representation
25458func (s Job) String() string {
25459	return awsutil.Prettify(s)
25460}
25461
25462// GoString returns the string representation
25463func (s Job) GoString() string {
25464	return s.String()
25465}
25466
25467// SetAllocatedCapacity sets the AllocatedCapacity field's value.
25468func (s *Job) SetAllocatedCapacity(v int64) *Job {
25469	s.AllocatedCapacity = &v
25470	return s
25471}
25472
25473// SetCommand sets the Command field's value.
25474func (s *Job) SetCommand(v *JobCommand) *Job {
25475	s.Command = v
25476	return s
25477}
25478
25479// SetConnections sets the Connections field's value.
25480func (s *Job) SetConnections(v *ConnectionsList) *Job {
25481	s.Connections = v
25482	return s
25483}
25484
25485// SetCreatedOn sets the CreatedOn field's value.
25486func (s *Job) SetCreatedOn(v time.Time) *Job {
25487	s.CreatedOn = &v
25488	return s
25489}
25490
25491// SetDefaultArguments sets the DefaultArguments field's value.
25492func (s *Job) SetDefaultArguments(v map[string]*string) *Job {
25493	s.DefaultArguments = v
25494	return s
25495}
25496
25497// SetDescription sets the Description field's value.
25498func (s *Job) SetDescription(v string) *Job {
25499	s.Description = &v
25500	return s
25501}
25502
25503// SetExecutionProperty sets the ExecutionProperty field's value.
25504func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job {
25505	s.ExecutionProperty = v
25506	return s
25507}
25508
25509// SetGlueVersion sets the GlueVersion field's value.
25510func (s *Job) SetGlueVersion(v string) *Job {
25511	s.GlueVersion = &v
25512	return s
25513}
25514
25515// SetLastModifiedOn sets the LastModifiedOn field's value.
25516func (s *Job) SetLastModifiedOn(v time.Time) *Job {
25517	s.LastModifiedOn = &v
25518	return s
25519}
25520
25521// SetLogUri sets the LogUri field's value.
25522func (s *Job) SetLogUri(v string) *Job {
25523	s.LogUri = &v
25524	return s
25525}
25526
25527// SetMaxCapacity sets the MaxCapacity field's value.
25528func (s *Job) SetMaxCapacity(v float64) *Job {
25529	s.MaxCapacity = &v
25530	return s
25531}
25532
25533// SetMaxRetries sets the MaxRetries field's value.
25534func (s *Job) SetMaxRetries(v int64) *Job {
25535	s.MaxRetries = &v
25536	return s
25537}
25538
25539// SetName sets the Name field's value.
25540func (s *Job) SetName(v string) *Job {
25541	s.Name = &v
25542	return s
25543}
25544
25545// SetNonOverridableArguments sets the NonOverridableArguments field's value.
25546func (s *Job) SetNonOverridableArguments(v map[string]*string) *Job {
25547	s.NonOverridableArguments = v
25548	return s
25549}
25550
25551// SetNotificationProperty sets the NotificationProperty field's value.
25552func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job {
25553	s.NotificationProperty = v
25554	return s
25555}
25556
25557// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25558func (s *Job) SetNumberOfWorkers(v int64) *Job {
25559	s.NumberOfWorkers = &v
25560	return s
25561}
25562
25563// SetRole sets the Role field's value.
25564func (s *Job) SetRole(v string) *Job {
25565	s.Role = &v
25566	return s
25567}
25568
25569// SetSecurityConfiguration sets the SecurityConfiguration field's value.
25570func (s *Job) SetSecurityConfiguration(v string) *Job {
25571	s.SecurityConfiguration = &v
25572	return s
25573}
25574
25575// SetTimeout sets the Timeout field's value.
25576func (s *Job) SetTimeout(v int64) *Job {
25577	s.Timeout = &v
25578	return s
25579}
25580
25581// SetWorkerType sets the WorkerType field's value.
25582func (s *Job) SetWorkerType(v string) *Job {
25583	s.WorkerType = &v
25584	return s
25585}
25586
25587// Defines a point that a job can resume processing.
25588type JobBookmarkEntry struct {
25589	_ struct{} `type:"structure"`
25590
25591	// The attempt ID number.
25592	Attempt *int64 `type:"integer"`
25593
25594	// The bookmark itself.
25595	JobBookmark *string `type:"string"`
25596
25597	// The name of the job in question.
25598	JobName *string `type:"string"`
25599
25600	// The unique run identifier associated with the previous job run.
25601	PreviousRunId *string `type:"string"`
25602
25603	// The run ID number.
25604	Run *int64 `type:"integer"`
25605
25606	// The run ID number.
25607	RunId *string `type:"string"`
25608
25609	// The version of the job.
25610	Version *int64 `type:"integer"`
25611}
25612
25613// String returns the string representation
25614func (s JobBookmarkEntry) String() string {
25615	return awsutil.Prettify(s)
25616}
25617
25618// GoString returns the string representation
25619func (s JobBookmarkEntry) GoString() string {
25620	return s.String()
25621}
25622
25623// SetAttempt sets the Attempt field's value.
25624func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry {
25625	s.Attempt = &v
25626	return s
25627}
25628
25629// SetJobBookmark sets the JobBookmark field's value.
25630func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry {
25631	s.JobBookmark = &v
25632	return s
25633}
25634
25635// SetJobName sets the JobName field's value.
25636func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry {
25637	s.JobName = &v
25638	return s
25639}
25640
25641// SetPreviousRunId sets the PreviousRunId field's value.
25642func (s *JobBookmarkEntry) SetPreviousRunId(v string) *JobBookmarkEntry {
25643	s.PreviousRunId = &v
25644	return s
25645}
25646
25647// SetRun sets the Run field's value.
25648func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry {
25649	s.Run = &v
25650	return s
25651}
25652
25653// SetRunId sets the RunId field's value.
25654func (s *JobBookmarkEntry) SetRunId(v string) *JobBookmarkEntry {
25655	s.RunId = &v
25656	return s
25657}
25658
25659// SetVersion sets the Version field's value.
25660func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry {
25661	s.Version = &v
25662	return s
25663}
25664
25665// Specifies how job bookmark data should be encrypted.
25666type JobBookmarksEncryption struct {
25667	_ struct{} `type:"structure"`
25668
25669	// The encryption mode to use for job bookmarks data.
25670	JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"`
25671
25672	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
25673	KmsKeyArn *string `type:"string"`
25674}
25675
25676// String returns the string representation
25677func (s JobBookmarksEncryption) String() string {
25678	return awsutil.Prettify(s)
25679}
25680
25681// GoString returns the string representation
25682func (s JobBookmarksEncryption) GoString() string {
25683	return s.String()
25684}
25685
25686// SetJobBookmarksEncryptionMode sets the JobBookmarksEncryptionMode field's value.
25687func (s *JobBookmarksEncryption) SetJobBookmarksEncryptionMode(v string) *JobBookmarksEncryption {
25688	s.JobBookmarksEncryptionMode = &v
25689	return s
25690}
25691
25692// SetKmsKeyArn sets the KmsKeyArn field's value.
25693func (s *JobBookmarksEncryption) SetKmsKeyArn(v string) *JobBookmarksEncryption {
25694	s.KmsKeyArn = &v
25695	return s
25696}
25697
25698// Specifies code executed when a job is run.
25699type JobCommand struct {
25700	_ struct{} `type:"structure"`
25701
25702	// The name of the job command. For an Apache Spark ETL job, this must be glueetl.
25703	// For a Python shell job, it must be pythonshell.
25704	Name *string `type:"string"`
25705
25706	// The Python version being used to execute a Python shell job. Allowed values
25707	// are 2 or 3.
25708	PythonVersion *string `type:"string"`
25709
25710	// Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
25711	// that executes a job.
25712	ScriptLocation *string `type:"string"`
25713}
25714
25715// String returns the string representation
25716func (s JobCommand) String() string {
25717	return awsutil.Prettify(s)
25718}
25719
25720// GoString returns the string representation
25721func (s JobCommand) GoString() string {
25722	return s.String()
25723}
25724
25725// SetName sets the Name field's value.
25726func (s *JobCommand) SetName(v string) *JobCommand {
25727	s.Name = &v
25728	return s
25729}
25730
25731// SetPythonVersion sets the PythonVersion field's value.
25732func (s *JobCommand) SetPythonVersion(v string) *JobCommand {
25733	s.PythonVersion = &v
25734	return s
25735}
25736
25737// SetScriptLocation sets the ScriptLocation field's value.
25738func (s *JobCommand) SetScriptLocation(v string) *JobCommand {
25739	s.ScriptLocation = &v
25740	return s
25741}
25742
25743// The details of a Job node present in the workflow.
25744type JobNodeDetails struct {
25745	_ struct{} `type:"structure"`
25746
25747	// The information for the job runs represented by the job node.
25748	JobRuns []*JobRun `type:"list"`
25749}
25750
25751// String returns the string representation
25752func (s JobNodeDetails) String() string {
25753	return awsutil.Prettify(s)
25754}
25755
25756// GoString returns the string representation
25757func (s JobNodeDetails) GoString() string {
25758	return s.String()
25759}
25760
25761// SetJobRuns sets the JobRuns field's value.
25762func (s *JobNodeDetails) SetJobRuns(v []*JobRun) *JobNodeDetails {
25763	s.JobRuns = v
25764	return s
25765}
25766
25767// Contains information about a job run.
25768type JobRun struct {
25769	_ struct{} `type:"structure"`
25770
25771	// This field is deprecated. Use MaxCapacity instead.
25772	//
25773	// The number of AWS Glue data processing units (DPUs) allocated to this JobRun.
25774	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
25775	// measure of processing power that consists of 4 vCPUs of compute capacity
25776	// and 16 GB of memory. For more information, see the AWS Glue pricing page
25777	// (https://aws.amazon.com/glue/pricing/).
25778	//
25779	// Deprecated: This property is deprecated, use MaxCapacity instead.
25780	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
25781
25782	// The job arguments associated with this run. For this job run, they replace
25783	// the default arguments set in the job definition itself.
25784	//
25785	// You can specify arguments here that your own job-execution script consumes,
25786	// as well as arguments that AWS Glue itself consumes.
25787	//
25788	// For information about how to specify and consume your own job arguments,
25789	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
25790	// topic in the developer guide.
25791	//
25792	// For information about the key-value pairs that AWS Glue consumes to set up
25793	// 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)
25794	// topic in the developer guide.
25795	Arguments map[string]*string `type:"map"`
25796
25797	// The number of the attempt to run this job.
25798	Attempt *int64 `type:"integer"`
25799
25800	// The date and time that this job run completed.
25801	CompletedOn *time.Time `type:"timestamp"`
25802
25803	// An error message associated with this job run.
25804	ErrorMessage *string `type:"string"`
25805
25806	// The amount of time (in seconds) that the job run consumed resources.
25807	ExecutionTime *int64 `type:"integer"`
25808
25809	// Glue version determines the versions of Apache Spark and Python that AWS
25810	// Glue supports. The Python version indicates the version supported for jobs
25811	// of type Spark.
25812	//
25813	// For more information about the available AWS Glue versions and corresponding
25814	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
25815	// in the developer guide.
25816	//
25817	// Jobs that are created without specifying a Glue version default to Glue 0.9.
25818	GlueVersion *string `min:"1" type:"string"`
25819
25820	// The ID of this job run.
25821	Id *string `min:"1" type:"string"`
25822
25823	// The name of the job definition being used in this run.
25824	JobName *string `min:"1" type:"string"`
25825
25826	// The current state of the job run.
25827	JobRunState *string `type:"string" enum:"JobRunState"`
25828
25829	// The last time that this job run was modified.
25830	LastModifiedOn *time.Time `type:"timestamp"`
25831
25832	// The name of the log group for secure logging that can be server-side encrypted
25833	// in Amazon CloudWatch using AWS KMS. This name can be /aws-glue/jobs/, in
25834	// which case the default encryption is NONE. If you add a role name and SecurityConfiguration
25835	// name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/),
25836	// then that security configuration is used to encrypt the log group.
25837	LogGroupName *string `type:"string"`
25838
25839	// The number of AWS Glue data processing units (DPUs) that can be allocated
25840	// when this job runs. A DPU is a relative measure of processing power that
25841	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
25842	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
25843	//
25844	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
25845	//
25846	// The value that can be allocated for MaxCapacity depends on whether you are
25847	// running a Python shell job or an Apache Spark ETL job:
25848	//
25849	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
25850	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
25851	//
25852	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
25853	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
25854	//    type cannot have a fractional DPU allocation.
25855	MaxCapacity *float64 `type:"double"`
25856
25857	// Specifies configuration properties of a job run notification.
25858	NotificationProperty *NotificationProperty `type:"structure"`
25859
25860	// The number of workers of a defined workerType that are allocated when a job
25861	// runs.
25862	//
25863	// The maximum number of workers you can define are 299 for G.1X, and 149 for
25864	// G.2X.
25865	NumberOfWorkers *int64 `type:"integer"`
25866
25867	// A list of predecessors to this job run.
25868	PredecessorRuns []*Predecessor `type:"list"`
25869
25870	// The ID of the previous run of this job. For example, the JobRunId specified
25871	// in the StartJobRun action.
25872	PreviousRunId *string `min:"1" type:"string"`
25873
25874	// The name of the SecurityConfiguration structure to be used with this job
25875	// run.
25876	SecurityConfiguration *string `min:"1" type:"string"`
25877
25878	// The date and time at which this job run was started.
25879	StartedOn *time.Time `type:"timestamp"`
25880
25881	// The JobRun timeout in minutes. This is the maximum time that a job run can
25882	// consume resources before it is terminated and enters TIMEOUT status. The
25883	// default is 2,880 minutes (48 hours). This overrides the timeout value set
25884	// in the parent job.
25885	Timeout *int64 `min:"1" type:"integer"`
25886
25887	// The name of the trigger that started this job run.
25888	TriggerName *string `min:"1" type:"string"`
25889
25890	// The type of predefined worker that is allocated when a job runs. Accepts
25891	// a value of Standard, G.1X, or G.2X.
25892	//
25893	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
25894	//    memory and a 50GB disk, and 2 executors per worker.
25895	//
25896	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
25897	//    and a 64GB disk, and 1 executor per worker.
25898	//
25899	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
25900	//    and a 128GB disk, and 1 executor per worker.
25901	WorkerType *string `type:"string" enum:"WorkerType"`
25902}
25903
25904// String returns the string representation
25905func (s JobRun) String() string {
25906	return awsutil.Prettify(s)
25907}
25908
25909// GoString returns the string representation
25910func (s JobRun) GoString() string {
25911	return s.String()
25912}
25913
25914// SetAllocatedCapacity sets the AllocatedCapacity field's value.
25915func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun {
25916	s.AllocatedCapacity = &v
25917	return s
25918}
25919
25920// SetArguments sets the Arguments field's value.
25921func (s *JobRun) SetArguments(v map[string]*string) *JobRun {
25922	s.Arguments = v
25923	return s
25924}
25925
25926// SetAttempt sets the Attempt field's value.
25927func (s *JobRun) SetAttempt(v int64) *JobRun {
25928	s.Attempt = &v
25929	return s
25930}
25931
25932// SetCompletedOn sets the CompletedOn field's value.
25933func (s *JobRun) SetCompletedOn(v time.Time) *JobRun {
25934	s.CompletedOn = &v
25935	return s
25936}
25937
25938// SetErrorMessage sets the ErrorMessage field's value.
25939func (s *JobRun) SetErrorMessage(v string) *JobRun {
25940	s.ErrorMessage = &v
25941	return s
25942}
25943
25944// SetExecutionTime sets the ExecutionTime field's value.
25945func (s *JobRun) SetExecutionTime(v int64) *JobRun {
25946	s.ExecutionTime = &v
25947	return s
25948}
25949
25950// SetGlueVersion sets the GlueVersion field's value.
25951func (s *JobRun) SetGlueVersion(v string) *JobRun {
25952	s.GlueVersion = &v
25953	return s
25954}
25955
25956// SetId sets the Id field's value.
25957func (s *JobRun) SetId(v string) *JobRun {
25958	s.Id = &v
25959	return s
25960}
25961
25962// SetJobName sets the JobName field's value.
25963func (s *JobRun) SetJobName(v string) *JobRun {
25964	s.JobName = &v
25965	return s
25966}
25967
25968// SetJobRunState sets the JobRunState field's value.
25969func (s *JobRun) SetJobRunState(v string) *JobRun {
25970	s.JobRunState = &v
25971	return s
25972}
25973
25974// SetLastModifiedOn sets the LastModifiedOn field's value.
25975func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun {
25976	s.LastModifiedOn = &v
25977	return s
25978}
25979
25980// SetLogGroupName sets the LogGroupName field's value.
25981func (s *JobRun) SetLogGroupName(v string) *JobRun {
25982	s.LogGroupName = &v
25983	return s
25984}
25985
25986// SetMaxCapacity sets the MaxCapacity field's value.
25987func (s *JobRun) SetMaxCapacity(v float64) *JobRun {
25988	s.MaxCapacity = &v
25989	return s
25990}
25991
25992// SetNotificationProperty sets the NotificationProperty field's value.
25993func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun {
25994	s.NotificationProperty = v
25995	return s
25996}
25997
25998// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25999func (s *JobRun) SetNumberOfWorkers(v int64) *JobRun {
26000	s.NumberOfWorkers = &v
26001	return s
26002}
26003
26004// SetPredecessorRuns sets the PredecessorRuns field's value.
26005func (s *JobRun) SetPredecessorRuns(v []*Predecessor) *JobRun {
26006	s.PredecessorRuns = v
26007	return s
26008}
26009
26010// SetPreviousRunId sets the PreviousRunId field's value.
26011func (s *JobRun) SetPreviousRunId(v string) *JobRun {
26012	s.PreviousRunId = &v
26013	return s
26014}
26015
26016// SetSecurityConfiguration sets the SecurityConfiguration field's value.
26017func (s *JobRun) SetSecurityConfiguration(v string) *JobRun {
26018	s.SecurityConfiguration = &v
26019	return s
26020}
26021
26022// SetStartedOn sets the StartedOn field's value.
26023func (s *JobRun) SetStartedOn(v time.Time) *JobRun {
26024	s.StartedOn = &v
26025	return s
26026}
26027
26028// SetTimeout sets the Timeout field's value.
26029func (s *JobRun) SetTimeout(v int64) *JobRun {
26030	s.Timeout = &v
26031	return s
26032}
26033
26034// SetTriggerName sets the TriggerName field's value.
26035func (s *JobRun) SetTriggerName(v string) *JobRun {
26036	s.TriggerName = &v
26037	return s
26038}
26039
26040// SetWorkerType sets the WorkerType field's value.
26041func (s *JobRun) SetWorkerType(v string) *JobRun {
26042	s.WorkerType = &v
26043	return s
26044}
26045
26046// Specifies information used to update an existing job definition. The previous
26047// job definition is completely overwritten by this information.
26048type JobUpdate struct {
26049	_ struct{} `type:"structure"`
26050
26051	// This field is deprecated. Use MaxCapacity instead.
26052	//
26053	// The number of AWS Glue data processing units (DPUs) to allocate to this job.
26054	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
26055	// measure of processing power that consists of 4 vCPUs of compute capacity
26056	// and 16 GB of memory. For more information, see the AWS Glue pricing page
26057	// (https://aws.amazon.com/glue/pricing/).
26058	//
26059	// Deprecated: This property is deprecated, use MaxCapacity instead.
26060	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
26061
26062	// The JobCommand that executes this job (required).
26063	Command *JobCommand `type:"structure"`
26064
26065	// The connections used for this job.
26066	Connections *ConnectionsList `type:"structure"`
26067
26068	// The default arguments for this job.
26069	//
26070	// You can specify arguments here that your own job-execution script consumes,
26071	// as well as arguments that AWS Glue itself consumes.
26072	//
26073	// For information about how to specify and consume your own Job arguments,
26074	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
26075	// topic in the developer guide.
26076	//
26077	// For information about the key-value pairs that AWS Glue consumes to set up
26078	// 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)
26079	// topic in the developer guide.
26080	DefaultArguments map[string]*string `type:"map"`
26081
26082	// Description of the job being defined.
26083	Description *string `type:"string"`
26084
26085	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
26086	// for this job.
26087	ExecutionProperty *ExecutionProperty `type:"structure"`
26088
26089	// Glue version determines the versions of Apache Spark and Python that AWS
26090	// Glue supports. The Python version indicates the version supported for jobs
26091	// of type Spark.
26092	//
26093	// For more information about the available AWS Glue versions and corresponding
26094	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
26095	// in the developer guide.
26096	GlueVersion *string `min:"1" type:"string"`
26097
26098	// This field is reserved for future use.
26099	LogUri *string `type:"string"`
26100
26101	// The number of AWS Glue data processing units (DPUs) that can be allocated
26102	// when this job runs. A DPU is a relative measure of processing power that
26103	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
26104	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
26105	//
26106	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
26107	//
26108	// The value that can be allocated for MaxCapacity depends on whether you are
26109	// running a Python shell job or an Apache Spark ETL job:
26110	//
26111	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
26112	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
26113	//
26114	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
26115	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
26116	//    type cannot have a fractional DPU allocation.
26117	MaxCapacity *float64 `type:"double"`
26118
26119	// The maximum number of times to retry this job if it fails.
26120	MaxRetries *int64 `type:"integer"`
26121
26122	// Non-overridable arguments for this job, specified as name-value pairs.
26123	NonOverridableArguments map[string]*string `type:"map"`
26124
26125	// Specifies the configuration properties of a job notification.
26126	NotificationProperty *NotificationProperty `type:"structure"`
26127
26128	// The number of workers of a defined workerType that are allocated when a job
26129	// runs.
26130	//
26131	// The maximum number of workers you can define are 299 for G.1X, and 149 for
26132	// G.2X.
26133	NumberOfWorkers *int64 `type:"integer"`
26134
26135	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
26136	// job (required).
26137	Role *string `type:"string"`
26138
26139	// The name of the SecurityConfiguration structure to be used with this job.
26140	SecurityConfiguration *string `min:"1" type:"string"`
26141
26142	// The job timeout in minutes. This is the maximum time that a job run can consume
26143	// resources before it is terminated and enters TIMEOUT status. The default
26144	// is 2,880 minutes (48 hours).
26145	Timeout *int64 `min:"1" type:"integer"`
26146
26147	// The type of predefined worker that is allocated when a job runs. Accepts
26148	// a value of Standard, G.1X, or G.2X.
26149	//
26150	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
26151	//    memory and a 50GB disk, and 2 executors per worker.
26152	//
26153	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
26154	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
26155	//    this worker type for memory-intensive jobs.
26156	//
26157	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
26158	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
26159	//    this worker type for memory-intensive jobs.
26160	WorkerType *string `type:"string" enum:"WorkerType"`
26161}
26162
26163// String returns the string representation
26164func (s JobUpdate) String() string {
26165	return awsutil.Prettify(s)
26166}
26167
26168// GoString returns the string representation
26169func (s JobUpdate) GoString() string {
26170	return s.String()
26171}
26172
26173// Validate inspects the fields of the type to determine if they are valid.
26174func (s *JobUpdate) Validate() error {
26175	invalidParams := request.ErrInvalidParams{Context: "JobUpdate"}
26176	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
26177		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
26178	}
26179	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
26180		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
26181	}
26182	if s.Timeout != nil && *s.Timeout < 1 {
26183		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
26184	}
26185	if s.NotificationProperty != nil {
26186		if err := s.NotificationProperty.Validate(); err != nil {
26187			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
26188		}
26189	}
26190
26191	if invalidParams.Len() > 0 {
26192		return invalidParams
26193	}
26194	return nil
26195}
26196
26197// SetAllocatedCapacity sets the AllocatedCapacity field's value.
26198func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate {
26199	s.AllocatedCapacity = &v
26200	return s
26201}
26202
26203// SetCommand sets the Command field's value.
26204func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate {
26205	s.Command = v
26206	return s
26207}
26208
26209// SetConnections sets the Connections field's value.
26210func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate {
26211	s.Connections = v
26212	return s
26213}
26214
26215// SetDefaultArguments sets the DefaultArguments field's value.
26216func (s *JobUpdate) SetDefaultArguments(v map[string]*string) *JobUpdate {
26217	s.DefaultArguments = v
26218	return s
26219}
26220
26221// SetDescription sets the Description field's value.
26222func (s *JobUpdate) SetDescription(v string) *JobUpdate {
26223	s.Description = &v
26224	return s
26225}
26226
26227// SetExecutionProperty sets the ExecutionProperty field's value.
26228func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate {
26229	s.ExecutionProperty = v
26230	return s
26231}
26232
26233// SetGlueVersion sets the GlueVersion field's value.
26234func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate {
26235	s.GlueVersion = &v
26236	return s
26237}
26238
26239// SetLogUri sets the LogUri field's value.
26240func (s *JobUpdate) SetLogUri(v string) *JobUpdate {
26241	s.LogUri = &v
26242	return s
26243}
26244
26245// SetMaxCapacity sets the MaxCapacity field's value.
26246func (s *JobUpdate) SetMaxCapacity(v float64) *JobUpdate {
26247	s.MaxCapacity = &v
26248	return s
26249}
26250
26251// SetMaxRetries sets the MaxRetries field's value.
26252func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate {
26253	s.MaxRetries = &v
26254	return s
26255}
26256
26257// SetNonOverridableArguments sets the NonOverridableArguments field's value.
26258func (s *JobUpdate) SetNonOverridableArguments(v map[string]*string) *JobUpdate {
26259	s.NonOverridableArguments = v
26260	return s
26261}
26262
26263// SetNotificationProperty sets the NotificationProperty field's value.
26264func (s *JobUpdate) SetNotificationProperty(v *NotificationProperty) *JobUpdate {
26265	s.NotificationProperty = v
26266	return s
26267}
26268
26269// SetNumberOfWorkers sets the NumberOfWorkers field's value.
26270func (s *JobUpdate) SetNumberOfWorkers(v int64) *JobUpdate {
26271	s.NumberOfWorkers = &v
26272	return s
26273}
26274
26275// SetRole sets the Role field's value.
26276func (s *JobUpdate) SetRole(v string) *JobUpdate {
26277	s.Role = &v
26278	return s
26279}
26280
26281// SetSecurityConfiguration sets the SecurityConfiguration field's value.
26282func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate {
26283	s.SecurityConfiguration = &v
26284	return s
26285}
26286
26287// SetTimeout sets the Timeout field's value.
26288func (s *JobUpdate) SetTimeout(v int64) *JobUpdate {
26289	s.Timeout = &v
26290	return s
26291}
26292
26293// SetWorkerType sets the WorkerType field's value.
26294func (s *JobUpdate) SetWorkerType(v string) *JobUpdate {
26295	s.WorkerType = &v
26296	return s
26297}
26298
26299// A classifier for JSON content.
26300type JsonClassifier struct {
26301	_ struct{} `type:"structure"`
26302
26303	// The time that this classifier was registered.
26304	CreationTime *time.Time `type:"timestamp"`
26305
26306	// A JsonPath string defining the JSON data for the classifier to classify.
26307	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
26308	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
26309	//
26310	// JsonPath is a required field
26311	JsonPath *string `type:"string" required:"true"`
26312
26313	// The time that this classifier was last updated.
26314	LastUpdated *time.Time `type:"timestamp"`
26315
26316	// The name of the classifier.
26317	//
26318	// Name is a required field
26319	Name *string `min:"1" type:"string" required:"true"`
26320
26321	// The version of this classifier.
26322	Version *int64 `type:"long"`
26323}
26324
26325// String returns the string representation
26326func (s JsonClassifier) String() string {
26327	return awsutil.Prettify(s)
26328}
26329
26330// GoString returns the string representation
26331func (s JsonClassifier) GoString() string {
26332	return s.String()
26333}
26334
26335// SetCreationTime sets the CreationTime field's value.
26336func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier {
26337	s.CreationTime = &v
26338	return s
26339}
26340
26341// SetJsonPath sets the JsonPath field's value.
26342func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier {
26343	s.JsonPath = &v
26344	return s
26345}
26346
26347// SetLastUpdated sets the LastUpdated field's value.
26348func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier {
26349	s.LastUpdated = &v
26350	return s
26351}
26352
26353// SetName sets the Name field's value.
26354func (s *JsonClassifier) SetName(v string) *JsonClassifier {
26355	s.Name = &v
26356	return s
26357}
26358
26359// SetVersion sets the Version field's value.
26360func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier {
26361	s.Version = &v
26362	return s
26363}
26364
26365// Specifies configuration properties for a labeling set generation task run.
26366type LabelingSetGenerationTaskRunProperties struct {
26367	_ struct{} `type:"structure"`
26368
26369	// The Amazon Simple Storage Service (Amazon S3) path where you will generate
26370	// the labeling set.
26371	OutputS3Path *string `type:"string"`
26372}
26373
26374// String returns the string representation
26375func (s LabelingSetGenerationTaskRunProperties) String() string {
26376	return awsutil.Prettify(s)
26377}
26378
26379// GoString returns the string representation
26380func (s LabelingSetGenerationTaskRunProperties) GoString() string {
26381	return s.String()
26382}
26383
26384// SetOutputS3Path sets the OutputS3Path field's value.
26385func (s *LabelingSetGenerationTaskRunProperties) SetOutputS3Path(v string) *LabelingSetGenerationTaskRunProperties {
26386	s.OutputS3Path = &v
26387	return s
26388}
26389
26390// Status and error information about the most recent crawl.
26391type LastCrawlInfo struct {
26392	_ struct{} `type:"structure"`
26393
26394	// If an error occurred, the error information about the last crawl.
26395	ErrorMessage *string `type:"string"`
26396
26397	// The log group for the last crawl.
26398	LogGroup *string `min:"1" type:"string"`
26399
26400	// The log stream for the last crawl.
26401	LogStream *string `min:"1" type:"string"`
26402
26403	// The prefix for a message about this crawl.
26404	MessagePrefix *string `min:"1" type:"string"`
26405
26406	// The time at which the crawl started.
26407	StartTime *time.Time `type:"timestamp"`
26408
26409	// Status of the last crawl.
26410	Status *string `type:"string" enum:"LastCrawlStatus"`
26411}
26412
26413// String returns the string representation
26414func (s LastCrawlInfo) String() string {
26415	return awsutil.Prettify(s)
26416}
26417
26418// GoString returns the string representation
26419func (s LastCrawlInfo) GoString() string {
26420	return s.String()
26421}
26422
26423// SetErrorMessage sets the ErrorMessage field's value.
26424func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo {
26425	s.ErrorMessage = &v
26426	return s
26427}
26428
26429// SetLogGroup sets the LogGroup field's value.
26430func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo {
26431	s.LogGroup = &v
26432	return s
26433}
26434
26435// SetLogStream sets the LogStream field's value.
26436func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo {
26437	s.LogStream = &v
26438	return s
26439}
26440
26441// SetMessagePrefix sets the MessagePrefix field's value.
26442func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo {
26443	s.MessagePrefix = &v
26444	return s
26445}
26446
26447// SetStartTime sets the StartTime field's value.
26448func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo {
26449	s.StartTime = &v
26450	return s
26451}
26452
26453// SetStatus sets the Status field's value.
26454func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo {
26455	s.Status = &v
26456	return s
26457}
26458
26459type ListCrawlersInput struct {
26460	_ struct{} `type:"structure"`
26461
26462	// The maximum size of a list to return.
26463	MaxResults *int64 `min:"1" type:"integer"`
26464
26465	// A continuation token, if this is a continuation request.
26466	NextToken *string `type:"string"`
26467
26468	// Specifies to return only these tagged resources.
26469	Tags map[string]*string `type:"map"`
26470}
26471
26472// String returns the string representation
26473func (s ListCrawlersInput) String() string {
26474	return awsutil.Prettify(s)
26475}
26476
26477// GoString returns the string representation
26478func (s ListCrawlersInput) GoString() string {
26479	return s.String()
26480}
26481
26482// Validate inspects the fields of the type to determine if they are valid.
26483func (s *ListCrawlersInput) Validate() error {
26484	invalidParams := request.ErrInvalidParams{Context: "ListCrawlersInput"}
26485	if s.MaxResults != nil && *s.MaxResults < 1 {
26486		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26487	}
26488
26489	if invalidParams.Len() > 0 {
26490		return invalidParams
26491	}
26492	return nil
26493}
26494
26495// SetMaxResults sets the MaxResults field's value.
26496func (s *ListCrawlersInput) SetMaxResults(v int64) *ListCrawlersInput {
26497	s.MaxResults = &v
26498	return s
26499}
26500
26501// SetNextToken sets the NextToken field's value.
26502func (s *ListCrawlersInput) SetNextToken(v string) *ListCrawlersInput {
26503	s.NextToken = &v
26504	return s
26505}
26506
26507// SetTags sets the Tags field's value.
26508func (s *ListCrawlersInput) SetTags(v map[string]*string) *ListCrawlersInput {
26509	s.Tags = v
26510	return s
26511}
26512
26513type ListCrawlersOutput struct {
26514	_ struct{} `type:"structure"`
26515
26516	// The names of all crawlers in the account, or the crawlers with the specified
26517	// tags.
26518	CrawlerNames []*string `type:"list"`
26519
26520	// A continuation token, if the returned list does not contain the last metric
26521	// available.
26522	NextToken *string `type:"string"`
26523}
26524
26525// String returns the string representation
26526func (s ListCrawlersOutput) String() string {
26527	return awsutil.Prettify(s)
26528}
26529
26530// GoString returns the string representation
26531func (s ListCrawlersOutput) GoString() string {
26532	return s.String()
26533}
26534
26535// SetCrawlerNames sets the CrawlerNames field's value.
26536func (s *ListCrawlersOutput) SetCrawlerNames(v []*string) *ListCrawlersOutput {
26537	s.CrawlerNames = v
26538	return s
26539}
26540
26541// SetNextToken sets the NextToken field's value.
26542func (s *ListCrawlersOutput) SetNextToken(v string) *ListCrawlersOutput {
26543	s.NextToken = &v
26544	return s
26545}
26546
26547type ListDevEndpointsInput struct {
26548	_ struct{} `type:"structure"`
26549
26550	// The maximum size of a list to return.
26551	MaxResults *int64 `min:"1" type:"integer"`
26552
26553	// A continuation token, if this is a continuation request.
26554	NextToken *string `type:"string"`
26555
26556	// Specifies to return only these tagged resources.
26557	Tags map[string]*string `type:"map"`
26558}
26559
26560// String returns the string representation
26561func (s ListDevEndpointsInput) String() string {
26562	return awsutil.Prettify(s)
26563}
26564
26565// GoString returns the string representation
26566func (s ListDevEndpointsInput) GoString() string {
26567	return s.String()
26568}
26569
26570// Validate inspects the fields of the type to determine if they are valid.
26571func (s *ListDevEndpointsInput) Validate() error {
26572	invalidParams := request.ErrInvalidParams{Context: "ListDevEndpointsInput"}
26573	if s.MaxResults != nil && *s.MaxResults < 1 {
26574		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26575	}
26576
26577	if invalidParams.Len() > 0 {
26578		return invalidParams
26579	}
26580	return nil
26581}
26582
26583// SetMaxResults sets the MaxResults field's value.
26584func (s *ListDevEndpointsInput) SetMaxResults(v int64) *ListDevEndpointsInput {
26585	s.MaxResults = &v
26586	return s
26587}
26588
26589// SetNextToken sets the NextToken field's value.
26590func (s *ListDevEndpointsInput) SetNextToken(v string) *ListDevEndpointsInput {
26591	s.NextToken = &v
26592	return s
26593}
26594
26595// SetTags sets the Tags field's value.
26596func (s *ListDevEndpointsInput) SetTags(v map[string]*string) *ListDevEndpointsInput {
26597	s.Tags = v
26598	return s
26599}
26600
26601type ListDevEndpointsOutput struct {
26602	_ struct{} `type:"structure"`
26603
26604	// The names of all the DevEndpoints in the account, or the DevEndpoints with
26605	// the specified tags.
26606	DevEndpointNames []*string `type:"list"`
26607
26608	// A continuation token, if the returned list does not contain the last metric
26609	// available.
26610	NextToken *string `type:"string"`
26611}
26612
26613// String returns the string representation
26614func (s ListDevEndpointsOutput) String() string {
26615	return awsutil.Prettify(s)
26616}
26617
26618// GoString returns the string representation
26619func (s ListDevEndpointsOutput) GoString() string {
26620	return s.String()
26621}
26622
26623// SetDevEndpointNames sets the DevEndpointNames field's value.
26624func (s *ListDevEndpointsOutput) SetDevEndpointNames(v []*string) *ListDevEndpointsOutput {
26625	s.DevEndpointNames = v
26626	return s
26627}
26628
26629// SetNextToken sets the NextToken field's value.
26630func (s *ListDevEndpointsOutput) SetNextToken(v string) *ListDevEndpointsOutput {
26631	s.NextToken = &v
26632	return s
26633}
26634
26635type ListJobsInput struct {
26636	_ struct{} `type:"structure"`
26637
26638	// The maximum size of a list to return.
26639	MaxResults *int64 `min:"1" type:"integer"`
26640
26641	// A continuation token, if this is a continuation request.
26642	NextToken *string `type:"string"`
26643
26644	// Specifies to return only these tagged resources.
26645	Tags map[string]*string `type:"map"`
26646}
26647
26648// String returns the string representation
26649func (s ListJobsInput) String() string {
26650	return awsutil.Prettify(s)
26651}
26652
26653// GoString returns the string representation
26654func (s ListJobsInput) GoString() string {
26655	return s.String()
26656}
26657
26658// Validate inspects the fields of the type to determine if they are valid.
26659func (s *ListJobsInput) Validate() error {
26660	invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"}
26661	if s.MaxResults != nil && *s.MaxResults < 1 {
26662		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26663	}
26664
26665	if invalidParams.Len() > 0 {
26666		return invalidParams
26667	}
26668	return nil
26669}
26670
26671// SetMaxResults sets the MaxResults field's value.
26672func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput {
26673	s.MaxResults = &v
26674	return s
26675}
26676
26677// SetNextToken sets the NextToken field's value.
26678func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
26679	s.NextToken = &v
26680	return s
26681}
26682
26683// SetTags sets the Tags field's value.
26684func (s *ListJobsInput) SetTags(v map[string]*string) *ListJobsInput {
26685	s.Tags = v
26686	return s
26687}
26688
26689type ListJobsOutput struct {
26690	_ struct{} `type:"structure"`
26691
26692	// The names of all jobs in the account, or the jobs with the specified tags.
26693	JobNames []*string `type:"list"`
26694
26695	// A continuation token, if the returned list does not contain the last metric
26696	// available.
26697	NextToken *string `type:"string"`
26698}
26699
26700// String returns the string representation
26701func (s ListJobsOutput) String() string {
26702	return awsutil.Prettify(s)
26703}
26704
26705// GoString returns the string representation
26706func (s ListJobsOutput) GoString() string {
26707	return s.String()
26708}
26709
26710// SetJobNames sets the JobNames field's value.
26711func (s *ListJobsOutput) SetJobNames(v []*string) *ListJobsOutput {
26712	s.JobNames = v
26713	return s
26714}
26715
26716// SetNextToken sets the NextToken field's value.
26717func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
26718	s.NextToken = &v
26719	return s
26720}
26721
26722type ListMLTransformsInput struct {
26723	_ struct{} `type:"structure"`
26724
26725	// A TransformFilterCriteria used to filter the machine learning transforms.
26726	Filter *TransformFilterCriteria `type:"structure"`
26727
26728	// The maximum size of a list to return.
26729	MaxResults *int64 `min:"1" type:"integer"`
26730
26731	// A continuation token, if this is a continuation request.
26732	NextToken *string `type:"string"`
26733
26734	// A TransformSortCriteria used to sort the machine learning transforms.
26735	Sort *TransformSortCriteria `type:"structure"`
26736
26737	// Specifies to return only these tagged resources.
26738	Tags map[string]*string `type:"map"`
26739}
26740
26741// String returns the string representation
26742func (s ListMLTransformsInput) String() string {
26743	return awsutil.Prettify(s)
26744}
26745
26746// GoString returns the string representation
26747func (s ListMLTransformsInput) GoString() string {
26748	return s.String()
26749}
26750
26751// Validate inspects the fields of the type to determine if they are valid.
26752func (s *ListMLTransformsInput) Validate() error {
26753	invalidParams := request.ErrInvalidParams{Context: "ListMLTransformsInput"}
26754	if s.MaxResults != nil && *s.MaxResults < 1 {
26755		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26756	}
26757	if s.Filter != nil {
26758		if err := s.Filter.Validate(); err != nil {
26759			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
26760		}
26761	}
26762	if s.Sort != nil {
26763		if err := s.Sort.Validate(); err != nil {
26764			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
26765		}
26766	}
26767
26768	if invalidParams.Len() > 0 {
26769		return invalidParams
26770	}
26771	return nil
26772}
26773
26774// SetFilter sets the Filter field's value.
26775func (s *ListMLTransformsInput) SetFilter(v *TransformFilterCriteria) *ListMLTransformsInput {
26776	s.Filter = v
26777	return s
26778}
26779
26780// SetMaxResults sets the MaxResults field's value.
26781func (s *ListMLTransformsInput) SetMaxResults(v int64) *ListMLTransformsInput {
26782	s.MaxResults = &v
26783	return s
26784}
26785
26786// SetNextToken sets the NextToken field's value.
26787func (s *ListMLTransformsInput) SetNextToken(v string) *ListMLTransformsInput {
26788	s.NextToken = &v
26789	return s
26790}
26791
26792// SetSort sets the Sort field's value.
26793func (s *ListMLTransformsInput) SetSort(v *TransformSortCriteria) *ListMLTransformsInput {
26794	s.Sort = v
26795	return s
26796}
26797
26798// SetTags sets the Tags field's value.
26799func (s *ListMLTransformsInput) SetTags(v map[string]*string) *ListMLTransformsInput {
26800	s.Tags = v
26801	return s
26802}
26803
26804type ListMLTransformsOutput struct {
26805	_ struct{} `type:"structure"`
26806
26807	// A continuation token, if the returned list does not contain the last metric
26808	// available.
26809	NextToken *string `type:"string"`
26810
26811	// The identifiers of all the machine learning transforms in the account, or
26812	// the machine learning transforms with the specified tags.
26813	//
26814	// TransformIds is a required field
26815	TransformIds []*string `type:"list" required:"true"`
26816}
26817
26818// String returns the string representation
26819func (s ListMLTransformsOutput) String() string {
26820	return awsutil.Prettify(s)
26821}
26822
26823// GoString returns the string representation
26824func (s ListMLTransformsOutput) GoString() string {
26825	return s.String()
26826}
26827
26828// SetNextToken sets the NextToken field's value.
26829func (s *ListMLTransformsOutput) SetNextToken(v string) *ListMLTransformsOutput {
26830	s.NextToken = &v
26831	return s
26832}
26833
26834// SetTransformIds sets the TransformIds field's value.
26835func (s *ListMLTransformsOutput) SetTransformIds(v []*string) *ListMLTransformsOutput {
26836	s.TransformIds = v
26837	return s
26838}
26839
26840type ListTriggersInput struct {
26841	_ struct{} `type:"structure"`
26842
26843	// The name of the job for which to retrieve triggers. The trigger that can
26844	// start this job is returned. If there is no such trigger, all triggers are
26845	// returned.
26846	DependentJobName *string `min:"1" type:"string"`
26847
26848	// The maximum size of a list to return.
26849	MaxResults *int64 `min:"1" type:"integer"`
26850
26851	// A continuation token, if this is a continuation request.
26852	NextToken *string `type:"string"`
26853
26854	// Specifies to return only these tagged resources.
26855	Tags map[string]*string `type:"map"`
26856}
26857
26858// String returns the string representation
26859func (s ListTriggersInput) String() string {
26860	return awsutil.Prettify(s)
26861}
26862
26863// GoString returns the string representation
26864func (s ListTriggersInput) GoString() string {
26865	return s.String()
26866}
26867
26868// Validate inspects the fields of the type to determine if they are valid.
26869func (s *ListTriggersInput) Validate() error {
26870	invalidParams := request.ErrInvalidParams{Context: "ListTriggersInput"}
26871	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
26872		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
26873	}
26874	if s.MaxResults != nil && *s.MaxResults < 1 {
26875		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26876	}
26877
26878	if invalidParams.Len() > 0 {
26879		return invalidParams
26880	}
26881	return nil
26882}
26883
26884// SetDependentJobName sets the DependentJobName field's value.
26885func (s *ListTriggersInput) SetDependentJobName(v string) *ListTriggersInput {
26886	s.DependentJobName = &v
26887	return s
26888}
26889
26890// SetMaxResults sets the MaxResults field's value.
26891func (s *ListTriggersInput) SetMaxResults(v int64) *ListTriggersInput {
26892	s.MaxResults = &v
26893	return s
26894}
26895
26896// SetNextToken sets the NextToken field's value.
26897func (s *ListTriggersInput) SetNextToken(v string) *ListTriggersInput {
26898	s.NextToken = &v
26899	return s
26900}
26901
26902// SetTags sets the Tags field's value.
26903func (s *ListTriggersInput) SetTags(v map[string]*string) *ListTriggersInput {
26904	s.Tags = v
26905	return s
26906}
26907
26908type ListTriggersOutput struct {
26909	_ struct{} `type:"structure"`
26910
26911	// A continuation token, if the returned list does not contain the last metric
26912	// available.
26913	NextToken *string `type:"string"`
26914
26915	// The names of all triggers in the account, or the triggers with the specified
26916	// tags.
26917	TriggerNames []*string `type:"list"`
26918}
26919
26920// String returns the string representation
26921func (s ListTriggersOutput) String() string {
26922	return awsutil.Prettify(s)
26923}
26924
26925// GoString returns the string representation
26926func (s ListTriggersOutput) GoString() string {
26927	return s.String()
26928}
26929
26930// SetNextToken sets the NextToken field's value.
26931func (s *ListTriggersOutput) SetNextToken(v string) *ListTriggersOutput {
26932	s.NextToken = &v
26933	return s
26934}
26935
26936// SetTriggerNames sets the TriggerNames field's value.
26937func (s *ListTriggersOutput) SetTriggerNames(v []*string) *ListTriggersOutput {
26938	s.TriggerNames = v
26939	return s
26940}
26941
26942type ListWorkflowsInput struct {
26943	_ struct{} `type:"structure"`
26944
26945	// The maximum size of a list to return.
26946	MaxResults *int64 `min:"1" type:"integer"`
26947
26948	// A continuation token, if this is a continuation request.
26949	NextToken *string `type:"string"`
26950}
26951
26952// String returns the string representation
26953func (s ListWorkflowsInput) String() string {
26954	return awsutil.Prettify(s)
26955}
26956
26957// GoString returns the string representation
26958func (s ListWorkflowsInput) GoString() string {
26959	return s.String()
26960}
26961
26962// Validate inspects the fields of the type to determine if they are valid.
26963func (s *ListWorkflowsInput) Validate() error {
26964	invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"}
26965	if s.MaxResults != nil && *s.MaxResults < 1 {
26966		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26967	}
26968
26969	if invalidParams.Len() > 0 {
26970		return invalidParams
26971	}
26972	return nil
26973}
26974
26975// SetMaxResults sets the MaxResults field's value.
26976func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput {
26977	s.MaxResults = &v
26978	return s
26979}
26980
26981// SetNextToken sets the NextToken field's value.
26982func (s *ListWorkflowsInput) SetNextToken(v string) *ListWorkflowsInput {
26983	s.NextToken = &v
26984	return s
26985}
26986
26987type ListWorkflowsOutput struct {
26988	_ struct{} `type:"structure"`
26989
26990	// A continuation token, if not all workflow names have been returned.
26991	NextToken *string `type:"string"`
26992
26993	// List of names of workflows in the account.
26994	Workflows []*string `min:"1" type:"list"`
26995}
26996
26997// String returns the string representation
26998func (s ListWorkflowsOutput) String() string {
26999	return awsutil.Prettify(s)
27000}
27001
27002// GoString returns the string representation
27003func (s ListWorkflowsOutput) GoString() string {
27004	return s.String()
27005}
27006
27007// SetNextToken sets the NextToken field's value.
27008func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput {
27009	s.NextToken = &v
27010	return s
27011}
27012
27013// SetWorkflows sets the Workflows field's value.
27014func (s *ListWorkflowsOutput) SetWorkflows(v []*string) *ListWorkflowsOutput {
27015	s.Workflows = v
27016	return s
27017}
27018
27019// The location of resources.
27020type Location struct {
27021	_ struct{} `type:"structure"`
27022
27023	// An Amazon DynamoDB table location.
27024	DynamoDB []*CodeGenNodeArg `type:"list"`
27025
27026	// A JDBC location.
27027	Jdbc []*CodeGenNodeArg `type:"list"`
27028
27029	// An Amazon Simple Storage Service (Amazon S3) location.
27030	S3 []*CodeGenNodeArg `type:"list"`
27031}
27032
27033// String returns the string representation
27034func (s Location) String() string {
27035	return awsutil.Prettify(s)
27036}
27037
27038// GoString returns the string representation
27039func (s Location) GoString() string {
27040	return s.String()
27041}
27042
27043// Validate inspects the fields of the type to determine if they are valid.
27044func (s *Location) Validate() error {
27045	invalidParams := request.ErrInvalidParams{Context: "Location"}
27046	if s.DynamoDB != nil {
27047		for i, v := range s.DynamoDB {
27048			if v == nil {
27049				continue
27050			}
27051			if err := v.Validate(); err != nil {
27052				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DynamoDB", i), err.(request.ErrInvalidParams))
27053			}
27054		}
27055	}
27056	if s.Jdbc != nil {
27057		for i, v := range s.Jdbc {
27058			if v == nil {
27059				continue
27060			}
27061			if err := v.Validate(); err != nil {
27062				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Jdbc", i), err.(request.ErrInvalidParams))
27063			}
27064		}
27065	}
27066	if s.S3 != nil {
27067		for i, v := range s.S3 {
27068			if v == nil {
27069				continue
27070			}
27071			if err := v.Validate(); err != nil {
27072				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "S3", i), err.(request.ErrInvalidParams))
27073			}
27074		}
27075	}
27076
27077	if invalidParams.Len() > 0 {
27078		return invalidParams
27079	}
27080	return nil
27081}
27082
27083// SetDynamoDB sets the DynamoDB field's value.
27084func (s *Location) SetDynamoDB(v []*CodeGenNodeArg) *Location {
27085	s.DynamoDB = v
27086	return s
27087}
27088
27089// SetJdbc sets the Jdbc field's value.
27090func (s *Location) SetJdbc(v []*CodeGenNodeArg) *Location {
27091	s.Jdbc = v
27092	return s
27093}
27094
27095// SetS3 sets the S3 field's value.
27096func (s *Location) SetS3(v []*CodeGenNodeArg) *Location {
27097	s.S3 = v
27098	return s
27099}
27100
27101// A structure for a machine learning transform.
27102type MLTransform struct {
27103	_ struct{} `type:"structure"`
27104
27105	// A timestamp. The time and date that this machine learning transform was created.
27106	CreatedOn *time.Time `type:"timestamp"`
27107
27108	// A user-defined, long-form description text for the machine learning transform.
27109	// Descriptions are not guaranteed to be unique and can be changed at any time.
27110	Description *string `type:"string"`
27111
27112	// An EvaluationMetrics object. Evaluation metrics provide an estimate of the
27113	// quality of your machine learning transform.
27114	EvaluationMetrics *EvaluationMetrics `type:"structure"`
27115
27116	// This value determines which version of AWS Glue this machine learning transform
27117	// is compatible with. Glue 1.0 is recommended for most customers. If the value
27118	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
27119	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
27120	// in the developer guide.
27121	GlueVersion *string `min:"1" type:"string"`
27122
27123	// A list of AWS Glue table definitions used by the transform.
27124	InputRecordTables []*Table `type:"list"`
27125
27126	// A count identifier for the labeling files generated by AWS Glue for this
27127	// transform. As you create a better transform, you can iteratively download,
27128	// label, and upload the labeling file.
27129	LabelCount *int64 `type:"integer"`
27130
27131	// A timestamp. The last point in time when this machine learning transform
27132	// was modified.
27133	LastModifiedOn *time.Time `type:"timestamp"`
27134
27135	// The number of AWS Glue data processing units (DPUs) that are allocated to
27136	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
27137	// is 10. A DPU is a relative measure of processing power that consists of 4
27138	// vCPUs of compute capacity and 16 GB of memory. For more information, see
27139	// the AWS Glue pricing page (http://aws.amazon.com/glue/pricing/).
27140	//
27141	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
27142	//
27143	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
27144	//    be set.
27145	//
27146	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
27147	//    be set.
27148	//
27149	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
27150	//
27151	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
27152	//
27153	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
27154	// field is set automatically and becomes read-only.
27155	MaxCapacity *float64 `type:"double"`
27156
27157	// The maximum number of times to retry after an MLTaskRun of the machine learning
27158	// transform fails.
27159	MaxRetries *int64 `type:"integer"`
27160
27161	// A user-defined name for the machine learning transform. Names are not guaranteed
27162	// unique and can be changed at any time.
27163	Name *string `min:"1" type:"string"`
27164
27165	// The number of workers of a defined workerType that are allocated when a task
27166	// of the transform runs.
27167	//
27168	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
27169	NumberOfWorkers *int64 `type:"integer"`
27170
27171	// A TransformParameters object. You can use parameters to tune (customize)
27172	// the behavior of the machine learning transform by specifying what data it
27173	// learns from and your preference on various tradeoffs (such as precious vs.
27174	// recall, or accuracy vs. cost).
27175	Parameters *TransformParameters `type:"structure"`
27176
27177	// The name or Amazon Resource Name (ARN) of the IAM role with the required
27178	// permissions. The required permissions include both AWS Glue service role
27179	// permissions to AWS Glue resources, and Amazon S3 permissions required by
27180	// the transform.
27181	//
27182	//    * This role needs AWS Glue service role permissions to allow access to
27183	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
27184	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
27185	//
27186	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
27187	//    S3) sources, targets, temporary directory, scripts, and any libraries
27188	//    used by the task run for this transform.
27189	Role *string `type:"string"`
27190
27191	// A map of key-value pairs representing the columns and data types that this
27192	// transform can run against. Has an upper bound of 100 columns.
27193	Schema []*SchemaColumn `type:"list"`
27194
27195	// The current status of the machine learning transform.
27196	Status *string `type:"string" enum:"TransformStatusType"`
27197
27198	// The timeout in minutes of the machine learning transform.
27199	Timeout *int64 `min:"1" type:"integer"`
27200
27201	// The unique transform ID that is generated for the machine learning transform.
27202	// The ID is guaranteed to be unique and does not change.
27203	TransformId *string `min:"1" type:"string"`
27204
27205	// The type of predefined worker that is allocated when a task of this transform
27206	// runs. Accepts a value of Standard, G.1X, or G.2X.
27207	//
27208	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
27209	//    memory and a 50GB disk, and 2 executors per worker.
27210	//
27211	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
27212	//    and a 64GB disk, and 1 executor per worker.
27213	//
27214	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
27215	//    and a 128GB disk, and 1 executor per worker.
27216	//
27217	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
27218	//
27219	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
27220	//    be set.
27221	//
27222	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
27223	//    be set.
27224	//
27225	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
27226	//
27227	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
27228	WorkerType *string `type:"string" enum:"WorkerType"`
27229}
27230
27231// String returns the string representation
27232func (s MLTransform) String() string {
27233	return awsutil.Prettify(s)
27234}
27235
27236// GoString returns the string representation
27237func (s MLTransform) GoString() string {
27238	return s.String()
27239}
27240
27241// SetCreatedOn sets the CreatedOn field's value.
27242func (s *MLTransform) SetCreatedOn(v time.Time) *MLTransform {
27243	s.CreatedOn = &v
27244	return s
27245}
27246
27247// SetDescription sets the Description field's value.
27248func (s *MLTransform) SetDescription(v string) *MLTransform {
27249	s.Description = &v
27250	return s
27251}
27252
27253// SetEvaluationMetrics sets the EvaluationMetrics field's value.
27254func (s *MLTransform) SetEvaluationMetrics(v *EvaluationMetrics) *MLTransform {
27255	s.EvaluationMetrics = v
27256	return s
27257}
27258
27259// SetGlueVersion sets the GlueVersion field's value.
27260func (s *MLTransform) SetGlueVersion(v string) *MLTransform {
27261	s.GlueVersion = &v
27262	return s
27263}
27264
27265// SetInputRecordTables sets the InputRecordTables field's value.
27266func (s *MLTransform) SetInputRecordTables(v []*Table) *MLTransform {
27267	s.InputRecordTables = v
27268	return s
27269}
27270
27271// SetLabelCount sets the LabelCount field's value.
27272func (s *MLTransform) SetLabelCount(v int64) *MLTransform {
27273	s.LabelCount = &v
27274	return s
27275}
27276
27277// SetLastModifiedOn sets the LastModifiedOn field's value.
27278func (s *MLTransform) SetLastModifiedOn(v time.Time) *MLTransform {
27279	s.LastModifiedOn = &v
27280	return s
27281}
27282
27283// SetMaxCapacity sets the MaxCapacity field's value.
27284func (s *MLTransform) SetMaxCapacity(v float64) *MLTransform {
27285	s.MaxCapacity = &v
27286	return s
27287}
27288
27289// SetMaxRetries sets the MaxRetries field's value.
27290func (s *MLTransform) SetMaxRetries(v int64) *MLTransform {
27291	s.MaxRetries = &v
27292	return s
27293}
27294
27295// SetName sets the Name field's value.
27296func (s *MLTransform) SetName(v string) *MLTransform {
27297	s.Name = &v
27298	return s
27299}
27300
27301// SetNumberOfWorkers sets the NumberOfWorkers field's value.
27302func (s *MLTransform) SetNumberOfWorkers(v int64) *MLTransform {
27303	s.NumberOfWorkers = &v
27304	return s
27305}
27306
27307// SetParameters sets the Parameters field's value.
27308func (s *MLTransform) SetParameters(v *TransformParameters) *MLTransform {
27309	s.Parameters = v
27310	return s
27311}
27312
27313// SetRole sets the Role field's value.
27314func (s *MLTransform) SetRole(v string) *MLTransform {
27315	s.Role = &v
27316	return s
27317}
27318
27319// SetSchema sets the Schema field's value.
27320func (s *MLTransform) SetSchema(v []*SchemaColumn) *MLTransform {
27321	s.Schema = v
27322	return s
27323}
27324
27325// SetStatus sets the Status field's value.
27326func (s *MLTransform) SetStatus(v string) *MLTransform {
27327	s.Status = &v
27328	return s
27329}
27330
27331// SetTimeout sets the Timeout field's value.
27332func (s *MLTransform) SetTimeout(v int64) *MLTransform {
27333	s.Timeout = &v
27334	return s
27335}
27336
27337// SetTransformId sets the TransformId field's value.
27338func (s *MLTransform) SetTransformId(v string) *MLTransform {
27339	s.TransformId = &v
27340	return s
27341}
27342
27343// SetWorkerType sets the WorkerType field's value.
27344func (s *MLTransform) SetWorkerType(v string) *MLTransform {
27345	s.WorkerType = &v
27346	return s
27347}
27348
27349// The machine learning transform is not ready to run.
27350type MLTransformNotReadyException struct {
27351	_            struct{} `type:"structure"`
27352	respMetadata protocol.ResponseMetadata
27353
27354	// A message describing the problem.
27355	Message_ *string `locationName:"Message" type:"string"`
27356}
27357
27358// String returns the string representation
27359func (s MLTransformNotReadyException) String() string {
27360	return awsutil.Prettify(s)
27361}
27362
27363// GoString returns the string representation
27364func (s MLTransformNotReadyException) GoString() string {
27365	return s.String()
27366}
27367
27368func newErrorMLTransformNotReadyException(v protocol.ResponseMetadata) error {
27369	return &MLTransformNotReadyException{
27370		respMetadata: v,
27371	}
27372}
27373
27374// Code returns the exception type name.
27375func (s MLTransformNotReadyException) Code() string {
27376	return "MLTransformNotReadyException"
27377}
27378
27379// Message returns the exception's message.
27380func (s MLTransformNotReadyException) Message() string {
27381	if s.Message_ != nil {
27382		return *s.Message_
27383	}
27384	return ""
27385}
27386
27387// OrigErr always returns nil, satisfies awserr.Error interface.
27388func (s MLTransformNotReadyException) OrigErr() error {
27389	return nil
27390}
27391
27392func (s MLTransformNotReadyException) Error() string {
27393	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
27394}
27395
27396// Status code returns the HTTP status code for the request's response error.
27397func (s MLTransformNotReadyException) StatusCode() int {
27398	return s.respMetadata.StatusCode
27399}
27400
27401// RequestID returns the service's response RequestID for request.
27402func (s MLTransformNotReadyException) RequestID() string {
27403	return s.respMetadata.RequestID
27404}
27405
27406// Defines a mapping.
27407type MappingEntry struct {
27408	_ struct{} `type:"structure"`
27409
27410	// The source path.
27411	SourcePath *string `type:"string"`
27412
27413	// The name of the source table.
27414	SourceTable *string `type:"string"`
27415
27416	// The source type.
27417	SourceType *string `type:"string"`
27418
27419	// The target path.
27420	TargetPath *string `type:"string"`
27421
27422	// The target table.
27423	TargetTable *string `type:"string"`
27424
27425	// The target type.
27426	TargetType *string `type:"string"`
27427}
27428
27429// String returns the string representation
27430func (s MappingEntry) String() string {
27431	return awsutil.Prettify(s)
27432}
27433
27434// GoString returns the string representation
27435func (s MappingEntry) GoString() string {
27436	return s.String()
27437}
27438
27439// SetSourcePath sets the SourcePath field's value.
27440func (s *MappingEntry) SetSourcePath(v string) *MappingEntry {
27441	s.SourcePath = &v
27442	return s
27443}
27444
27445// SetSourceTable sets the SourceTable field's value.
27446func (s *MappingEntry) SetSourceTable(v string) *MappingEntry {
27447	s.SourceTable = &v
27448	return s
27449}
27450
27451// SetSourceType sets the SourceType field's value.
27452func (s *MappingEntry) SetSourceType(v string) *MappingEntry {
27453	s.SourceType = &v
27454	return s
27455}
27456
27457// SetTargetPath sets the TargetPath field's value.
27458func (s *MappingEntry) SetTargetPath(v string) *MappingEntry {
27459	s.TargetPath = &v
27460	return s
27461}
27462
27463// SetTargetTable sets the TargetTable field's value.
27464func (s *MappingEntry) SetTargetTable(v string) *MappingEntry {
27465	s.TargetTable = &v
27466	return s
27467}
27468
27469// SetTargetType sets the TargetType field's value.
27470func (s *MappingEntry) SetTargetType(v string) *MappingEntry {
27471	s.TargetType = &v
27472	return s
27473}
27474
27475// There is no applicable schedule.
27476type NoScheduleException struct {
27477	_            struct{} `type:"structure"`
27478	respMetadata protocol.ResponseMetadata
27479
27480	// A message describing the problem.
27481	Message_ *string `locationName:"Message" type:"string"`
27482}
27483
27484// String returns the string representation
27485func (s NoScheduleException) String() string {
27486	return awsutil.Prettify(s)
27487}
27488
27489// GoString returns the string representation
27490func (s NoScheduleException) GoString() string {
27491	return s.String()
27492}
27493
27494func newErrorNoScheduleException(v protocol.ResponseMetadata) error {
27495	return &NoScheduleException{
27496		respMetadata: v,
27497	}
27498}
27499
27500// Code returns the exception type name.
27501func (s NoScheduleException) Code() string {
27502	return "NoScheduleException"
27503}
27504
27505// Message returns the exception's message.
27506func (s NoScheduleException) Message() string {
27507	if s.Message_ != nil {
27508		return *s.Message_
27509	}
27510	return ""
27511}
27512
27513// OrigErr always returns nil, satisfies awserr.Error interface.
27514func (s NoScheduleException) OrigErr() error {
27515	return nil
27516}
27517
27518func (s NoScheduleException) Error() string {
27519	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
27520}
27521
27522// Status code returns the HTTP status code for the request's response error.
27523func (s NoScheduleException) StatusCode() int {
27524	return s.respMetadata.StatusCode
27525}
27526
27527// RequestID returns the service's response RequestID for request.
27528func (s NoScheduleException) RequestID() string {
27529	return s.respMetadata.RequestID
27530}
27531
27532// A node represents an AWS Glue component like Trigger, Job etc. which is part
27533// of a workflow.
27534type Node struct {
27535	_ struct{} `type:"structure"`
27536
27537	// Details of the crawler when the node represents a crawler.
27538	CrawlerDetails *CrawlerNodeDetails `type:"structure"`
27539
27540	// Details of the Job when the node represents a Job.
27541	JobDetails *JobNodeDetails `type:"structure"`
27542
27543	// The name of the AWS Glue component represented by the node.
27544	Name *string `min:"1" type:"string"`
27545
27546	// Details of the Trigger when the node represents a Trigger.
27547	TriggerDetails *TriggerNodeDetails `type:"structure"`
27548
27549	// The type of AWS Glue component represented by the node.
27550	Type *string `type:"string" enum:"NodeType"`
27551
27552	// The unique Id assigned to the node within the workflow.
27553	UniqueId *string `min:"1" type:"string"`
27554}
27555
27556// String returns the string representation
27557func (s Node) String() string {
27558	return awsutil.Prettify(s)
27559}
27560
27561// GoString returns the string representation
27562func (s Node) GoString() string {
27563	return s.String()
27564}
27565
27566// SetCrawlerDetails sets the CrawlerDetails field's value.
27567func (s *Node) SetCrawlerDetails(v *CrawlerNodeDetails) *Node {
27568	s.CrawlerDetails = v
27569	return s
27570}
27571
27572// SetJobDetails sets the JobDetails field's value.
27573func (s *Node) SetJobDetails(v *JobNodeDetails) *Node {
27574	s.JobDetails = v
27575	return s
27576}
27577
27578// SetName sets the Name field's value.
27579func (s *Node) SetName(v string) *Node {
27580	s.Name = &v
27581	return s
27582}
27583
27584// SetTriggerDetails sets the TriggerDetails field's value.
27585func (s *Node) SetTriggerDetails(v *TriggerNodeDetails) *Node {
27586	s.TriggerDetails = v
27587	return s
27588}
27589
27590// SetType sets the Type field's value.
27591func (s *Node) SetType(v string) *Node {
27592	s.Type = &v
27593	return s
27594}
27595
27596// SetUniqueId sets the UniqueId field's value.
27597func (s *Node) SetUniqueId(v string) *Node {
27598	s.UniqueId = &v
27599	return s
27600}
27601
27602// Specifies configuration properties of a notification.
27603type NotificationProperty struct {
27604	_ struct{} `type:"structure"`
27605
27606	// After a job run starts, the number of minutes to wait before sending a job
27607	// run delay notification.
27608	NotifyDelayAfter *int64 `min:"1" type:"integer"`
27609}
27610
27611// String returns the string representation
27612func (s NotificationProperty) String() string {
27613	return awsutil.Prettify(s)
27614}
27615
27616// GoString returns the string representation
27617func (s NotificationProperty) GoString() string {
27618	return s.String()
27619}
27620
27621// Validate inspects the fields of the type to determine if they are valid.
27622func (s *NotificationProperty) Validate() error {
27623	invalidParams := request.ErrInvalidParams{Context: "NotificationProperty"}
27624	if s.NotifyDelayAfter != nil && *s.NotifyDelayAfter < 1 {
27625		invalidParams.Add(request.NewErrParamMinValue("NotifyDelayAfter", 1))
27626	}
27627
27628	if invalidParams.Len() > 0 {
27629		return invalidParams
27630	}
27631	return nil
27632}
27633
27634// SetNotifyDelayAfter sets the NotifyDelayAfter field's value.
27635func (s *NotificationProperty) SetNotifyDelayAfter(v int64) *NotificationProperty {
27636	s.NotifyDelayAfter = &v
27637	return s
27638}
27639
27640// The operation timed out.
27641type OperationTimeoutException struct {
27642	_            struct{} `type:"structure"`
27643	respMetadata protocol.ResponseMetadata
27644
27645	// A message describing the problem.
27646	Message_ *string `locationName:"Message" type:"string"`
27647}
27648
27649// String returns the string representation
27650func (s OperationTimeoutException) String() string {
27651	return awsutil.Prettify(s)
27652}
27653
27654// GoString returns the string representation
27655func (s OperationTimeoutException) GoString() string {
27656	return s.String()
27657}
27658
27659func newErrorOperationTimeoutException(v protocol.ResponseMetadata) error {
27660	return &OperationTimeoutException{
27661		respMetadata: v,
27662	}
27663}
27664
27665// Code returns the exception type name.
27666func (s OperationTimeoutException) Code() string {
27667	return "OperationTimeoutException"
27668}
27669
27670// Message returns the exception's message.
27671func (s OperationTimeoutException) Message() string {
27672	if s.Message_ != nil {
27673		return *s.Message_
27674	}
27675	return ""
27676}
27677
27678// OrigErr always returns nil, satisfies awserr.Error interface.
27679func (s OperationTimeoutException) OrigErr() error {
27680	return nil
27681}
27682
27683func (s OperationTimeoutException) Error() string {
27684	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
27685}
27686
27687// Status code returns the HTTP status code for the request's response error.
27688func (s OperationTimeoutException) StatusCode() int {
27689	return s.respMetadata.StatusCode
27690}
27691
27692// RequestID returns the service's response RequestID for request.
27693func (s OperationTimeoutException) RequestID() string {
27694	return s.respMetadata.RequestID
27695}
27696
27697// Specifies the sort order of a sorted column.
27698type Order struct {
27699	_ struct{} `type:"structure"`
27700
27701	// The name of the column.
27702	//
27703	// Column is a required field
27704	Column *string `min:"1" type:"string" required:"true"`
27705
27706	// Indicates that the column is sorted in ascending order (== 1), or in descending
27707	// order (==0).
27708	//
27709	// SortOrder is a required field
27710	SortOrder *int64 `type:"integer" required:"true"`
27711}
27712
27713// String returns the string representation
27714func (s Order) String() string {
27715	return awsutil.Prettify(s)
27716}
27717
27718// GoString returns the string representation
27719func (s Order) GoString() string {
27720	return s.String()
27721}
27722
27723// Validate inspects the fields of the type to determine if they are valid.
27724func (s *Order) Validate() error {
27725	invalidParams := request.ErrInvalidParams{Context: "Order"}
27726	if s.Column == nil {
27727		invalidParams.Add(request.NewErrParamRequired("Column"))
27728	}
27729	if s.Column != nil && len(*s.Column) < 1 {
27730		invalidParams.Add(request.NewErrParamMinLen("Column", 1))
27731	}
27732	if s.SortOrder == nil {
27733		invalidParams.Add(request.NewErrParamRequired("SortOrder"))
27734	}
27735
27736	if invalidParams.Len() > 0 {
27737		return invalidParams
27738	}
27739	return nil
27740}
27741
27742// SetColumn sets the Column field's value.
27743func (s *Order) SetColumn(v string) *Order {
27744	s.Column = &v
27745	return s
27746}
27747
27748// SetSortOrder sets the SortOrder field's value.
27749func (s *Order) SetSortOrder(v int64) *Order {
27750	s.SortOrder = &v
27751	return s
27752}
27753
27754// Represents a slice of table data.
27755type Partition struct {
27756	_ struct{} `type:"structure"`
27757
27758	// The time at which the partition was created.
27759	CreationTime *time.Time `type:"timestamp"`
27760
27761	// The name of the catalog database in which to create the partition.
27762	DatabaseName *string `min:"1" type:"string"`
27763
27764	// The last time at which the partition was accessed.
27765	LastAccessTime *time.Time `type:"timestamp"`
27766
27767	// The last time at which column statistics were computed for this partition.
27768	LastAnalyzedTime *time.Time `type:"timestamp"`
27769
27770	// These key-value pairs define partition parameters.
27771	Parameters map[string]*string `type:"map"`
27772
27773	// Provides information about the physical location where the partition is stored.
27774	StorageDescriptor *StorageDescriptor `type:"structure"`
27775
27776	// The name of the database table in which to create the partition.
27777	TableName *string `min:"1" type:"string"`
27778
27779	// The values of the partition.
27780	Values []*string `type:"list"`
27781}
27782
27783// String returns the string representation
27784func (s Partition) String() string {
27785	return awsutil.Prettify(s)
27786}
27787
27788// GoString returns the string representation
27789func (s Partition) GoString() string {
27790	return s.String()
27791}
27792
27793// SetCreationTime sets the CreationTime field's value.
27794func (s *Partition) SetCreationTime(v time.Time) *Partition {
27795	s.CreationTime = &v
27796	return s
27797}
27798
27799// SetDatabaseName sets the DatabaseName field's value.
27800func (s *Partition) SetDatabaseName(v string) *Partition {
27801	s.DatabaseName = &v
27802	return s
27803}
27804
27805// SetLastAccessTime sets the LastAccessTime field's value.
27806func (s *Partition) SetLastAccessTime(v time.Time) *Partition {
27807	s.LastAccessTime = &v
27808	return s
27809}
27810
27811// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
27812func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition {
27813	s.LastAnalyzedTime = &v
27814	return s
27815}
27816
27817// SetParameters sets the Parameters field's value.
27818func (s *Partition) SetParameters(v map[string]*string) *Partition {
27819	s.Parameters = v
27820	return s
27821}
27822
27823// SetStorageDescriptor sets the StorageDescriptor field's value.
27824func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition {
27825	s.StorageDescriptor = v
27826	return s
27827}
27828
27829// SetTableName sets the TableName field's value.
27830func (s *Partition) SetTableName(v string) *Partition {
27831	s.TableName = &v
27832	return s
27833}
27834
27835// SetValues sets the Values field's value.
27836func (s *Partition) SetValues(v []*string) *Partition {
27837	s.Values = v
27838	return s
27839}
27840
27841// Contains information about a partition error.
27842type PartitionError struct {
27843	_ struct{} `type:"structure"`
27844
27845	// The details about the partition error.
27846	ErrorDetail *ErrorDetail `type:"structure"`
27847
27848	// The values that define the partition.
27849	PartitionValues []*string `type:"list"`
27850}
27851
27852// String returns the string representation
27853func (s PartitionError) String() string {
27854	return awsutil.Prettify(s)
27855}
27856
27857// GoString returns the string representation
27858func (s PartitionError) GoString() string {
27859	return s.String()
27860}
27861
27862// SetErrorDetail sets the ErrorDetail field's value.
27863func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError {
27864	s.ErrorDetail = v
27865	return s
27866}
27867
27868// SetPartitionValues sets the PartitionValues field's value.
27869func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError {
27870	s.PartitionValues = v
27871	return s
27872}
27873
27874// The structure used to create and update a partition.
27875type PartitionInput struct {
27876	_ struct{} `type:"structure"`
27877
27878	// The last time at which the partition was accessed.
27879	LastAccessTime *time.Time `type:"timestamp"`
27880
27881	// The last time at which column statistics were computed for this partition.
27882	LastAnalyzedTime *time.Time `type:"timestamp"`
27883
27884	// These key-value pairs define partition parameters.
27885	Parameters map[string]*string `type:"map"`
27886
27887	// Provides information about the physical location where the partition is stored.
27888	StorageDescriptor *StorageDescriptor `type:"structure"`
27889
27890	// The values of the partition. Although this parameter is not required by the
27891	// SDK, you must specify this parameter for a valid input.
27892	//
27893	// The values for the keys for the new partition must be passed as an array
27894	// of String objects that must be ordered in the same order as the partition
27895	// keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values
27896	// to the wrong keys.
27897	Values []*string `type:"list"`
27898}
27899
27900// String returns the string representation
27901func (s PartitionInput) String() string {
27902	return awsutil.Prettify(s)
27903}
27904
27905// GoString returns the string representation
27906func (s PartitionInput) GoString() string {
27907	return s.String()
27908}
27909
27910// Validate inspects the fields of the type to determine if they are valid.
27911func (s *PartitionInput) Validate() error {
27912	invalidParams := request.ErrInvalidParams{Context: "PartitionInput"}
27913	if s.StorageDescriptor != nil {
27914		if err := s.StorageDescriptor.Validate(); err != nil {
27915			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
27916		}
27917	}
27918
27919	if invalidParams.Len() > 0 {
27920		return invalidParams
27921	}
27922	return nil
27923}
27924
27925// SetLastAccessTime sets the LastAccessTime field's value.
27926func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput {
27927	s.LastAccessTime = &v
27928	return s
27929}
27930
27931// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
27932func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput {
27933	s.LastAnalyzedTime = &v
27934	return s
27935}
27936
27937// SetParameters sets the Parameters field's value.
27938func (s *PartitionInput) SetParameters(v map[string]*string) *PartitionInput {
27939	s.Parameters = v
27940	return s
27941}
27942
27943// SetStorageDescriptor sets the StorageDescriptor field's value.
27944func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput {
27945	s.StorageDescriptor = v
27946	return s
27947}
27948
27949// SetValues sets the Values field's value.
27950func (s *PartitionInput) SetValues(v []*string) *PartitionInput {
27951	s.Values = v
27952	return s
27953}
27954
27955// Contains a list of values defining partitions.
27956type PartitionValueList struct {
27957	_ struct{} `type:"structure"`
27958
27959	// The list of values.
27960	//
27961	// Values is a required field
27962	Values []*string `type:"list" required:"true"`
27963}
27964
27965// String returns the string representation
27966func (s PartitionValueList) String() string {
27967	return awsutil.Prettify(s)
27968}
27969
27970// GoString returns the string representation
27971func (s PartitionValueList) GoString() string {
27972	return s.String()
27973}
27974
27975// Validate inspects the fields of the type to determine if they are valid.
27976func (s *PartitionValueList) Validate() error {
27977	invalidParams := request.ErrInvalidParams{Context: "PartitionValueList"}
27978	if s.Values == nil {
27979		invalidParams.Add(request.NewErrParamRequired("Values"))
27980	}
27981
27982	if invalidParams.Len() > 0 {
27983		return invalidParams
27984	}
27985	return nil
27986}
27987
27988// SetValues sets the Values field's value.
27989func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList {
27990	s.Values = v
27991	return s
27992}
27993
27994// Specifies the physical requirements for a connection.
27995type PhysicalConnectionRequirements struct {
27996	_ struct{} `type:"structure"`
27997
27998	// The connection's Availability Zone. This field is redundant because the specified
27999	// subnet implies the Availability Zone to be used. Currently the field must
28000	// be populated, but it will be deprecated in the future.
28001	AvailabilityZone *string `min:"1" type:"string"`
28002
28003	// The security group ID list used by the connection.
28004	SecurityGroupIdList []*string `type:"list"`
28005
28006	// The subnet ID used by the connection.
28007	SubnetId *string `min:"1" type:"string"`
28008}
28009
28010// String returns the string representation
28011func (s PhysicalConnectionRequirements) String() string {
28012	return awsutil.Prettify(s)
28013}
28014
28015// GoString returns the string representation
28016func (s PhysicalConnectionRequirements) GoString() string {
28017	return s.String()
28018}
28019
28020// Validate inspects the fields of the type to determine if they are valid.
28021func (s *PhysicalConnectionRequirements) Validate() error {
28022	invalidParams := request.ErrInvalidParams{Context: "PhysicalConnectionRequirements"}
28023	if s.AvailabilityZone != nil && len(*s.AvailabilityZone) < 1 {
28024		invalidParams.Add(request.NewErrParamMinLen("AvailabilityZone", 1))
28025	}
28026	if s.SubnetId != nil && len(*s.SubnetId) < 1 {
28027		invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
28028	}
28029
28030	if invalidParams.Len() > 0 {
28031		return invalidParams
28032	}
28033	return nil
28034}
28035
28036// SetAvailabilityZone sets the AvailabilityZone field's value.
28037func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements {
28038	s.AvailabilityZone = &v
28039	return s
28040}
28041
28042// SetSecurityGroupIdList sets the SecurityGroupIdList field's value.
28043func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []*string) *PhysicalConnectionRequirements {
28044	s.SecurityGroupIdList = v
28045	return s
28046}
28047
28048// SetSubnetId sets the SubnetId field's value.
28049func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements {
28050	s.SubnetId = &v
28051	return s
28052}
28053
28054// A job run that was used in the predicate of a conditional trigger that triggered
28055// this job run.
28056type Predecessor struct {
28057	_ struct{} `type:"structure"`
28058
28059	// The name of the job definition used by the predecessor job run.
28060	JobName *string `min:"1" type:"string"`
28061
28062	// The job-run ID of the predecessor job run.
28063	RunId *string `min:"1" type:"string"`
28064}
28065
28066// String returns the string representation
28067func (s Predecessor) String() string {
28068	return awsutil.Prettify(s)
28069}
28070
28071// GoString returns the string representation
28072func (s Predecessor) GoString() string {
28073	return s.String()
28074}
28075
28076// SetJobName sets the JobName field's value.
28077func (s *Predecessor) SetJobName(v string) *Predecessor {
28078	s.JobName = &v
28079	return s
28080}
28081
28082// SetRunId sets the RunId field's value.
28083func (s *Predecessor) SetRunId(v string) *Predecessor {
28084	s.RunId = &v
28085	return s
28086}
28087
28088// Defines the predicate of the trigger, which determines when it fires.
28089type Predicate struct {
28090	_ struct{} `type:"structure"`
28091
28092	// A list of the conditions that determine when the trigger will fire.
28093	Conditions []*Condition `type:"list"`
28094
28095	// An optional field if only one condition is listed. If multiple conditions
28096	// are listed, then this field is required.
28097	Logical *string `type:"string" enum:"Logical"`
28098}
28099
28100// String returns the string representation
28101func (s Predicate) String() string {
28102	return awsutil.Prettify(s)
28103}
28104
28105// GoString returns the string representation
28106func (s Predicate) GoString() string {
28107	return s.String()
28108}
28109
28110// Validate inspects the fields of the type to determine if they are valid.
28111func (s *Predicate) Validate() error {
28112	invalidParams := request.ErrInvalidParams{Context: "Predicate"}
28113	if s.Conditions != nil {
28114		for i, v := range s.Conditions {
28115			if v == nil {
28116				continue
28117			}
28118			if err := v.Validate(); err != nil {
28119				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams))
28120			}
28121		}
28122	}
28123
28124	if invalidParams.Len() > 0 {
28125		return invalidParams
28126	}
28127	return nil
28128}
28129
28130// SetConditions sets the Conditions field's value.
28131func (s *Predicate) SetConditions(v []*Condition) *Predicate {
28132	s.Conditions = v
28133	return s
28134}
28135
28136// SetLogical sets the Logical field's value.
28137func (s *Predicate) SetLogical(v string) *Predicate {
28138	s.Logical = &v
28139	return s
28140}
28141
28142// Permissions granted to a principal.
28143type PrincipalPermissions struct {
28144	_ struct{} `type:"structure"`
28145
28146	// The permissions that are granted to the principal.
28147	Permissions []*string `type:"list"`
28148
28149	// The principal who is granted permissions.
28150	Principal *DataLakePrincipal `type:"structure"`
28151}
28152
28153// String returns the string representation
28154func (s PrincipalPermissions) String() string {
28155	return awsutil.Prettify(s)
28156}
28157
28158// GoString returns the string representation
28159func (s PrincipalPermissions) GoString() string {
28160	return s.String()
28161}
28162
28163// Validate inspects the fields of the type to determine if they are valid.
28164func (s *PrincipalPermissions) Validate() error {
28165	invalidParams := request.ErrInvalidParams{Context: "PrincipalPermissions"}
28166	if s.Principal != nil {
28167		if err := s.Principal.Validate(); err != nil {
28168			invalidParams.AddNested("Principal", err.(request.ErrInvalidParams))
28169		}
28170	}
28171
28172	if invalidParams.Len() > 0 {
28173		return invalidParams
28174	}
28175	return nil
28176}
28177
28178// SetPermissions sets the Permissions field's value.
28179func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions {
28180	s.Permissions = v
28181	return s
28182}
28183
28184// SetPrincipal sets the Principal field's value.
28185func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions {
28186	s.Principal = v
28187	return s
28188}
28189
28190// Defines a property predicate.
28191type PropertyPredicate struct {
28192	_ struct{} `type:"structure"`
28193
28194	// The comparator used to compare this property to others.
28195	Comparator *string `type:"string" enum:"Comparator"`
28196
28197	// The key of the property.
28198	Key *string `type:"string"`
28199
28200	// The value of the property.
28201	Value *string `type:"string"`
28202}
28203
28204// String returns the string representation
28205func (s PropertyPredicate) String() string {
28206	return awsutil.Prettify(s)
28207}
28208
28209// GoString returns the string representation
28210func (s PropertyPredicate) GoString() string {
28211	return s.String()
28212}
28213
28214// SetComparator sets the Comparator field's value.
28215func (s *PropertyPredicate) SetComparator(v string) *PropertyPredicate {
28216	s.Comparator = &v
28217	return s
28218}
28219
28220// SetKey sets the Key field's value.
28221func (s *PropertyPredicate) SetKey(v string) *PropertyPredicate {
28222	s.Key = &v
28223	return s
28224}
28225
28226// SetValue sets the Value field's value.
28227func (s *PropertyPredicate) SetValue(v string) *PropertyPredicate {
28228	s.Value = &v
28229	return s
28230}
28231
28232type PutDataCatalogEncryptionSettingsInput struct {
28233	_ struct{} `type:"structure"`
28234
28235	// The ID of the Data Catalog to set the security configuration for. If none
28236	// is provided, the AWS account ID is used by default.
28237	CatalogId *string `min:"1" type:"string"`
28238
28239	// The security configuration to set.
28240	//
28241	// DataCatalogEncryptionSettings is a required field
28242	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure" required:"true"`
28243}
28244
28245// String returns the string representation
28246func (s PutDataCatalogEncryptionSettingsInput) String() string {
28247	return awsutil.Prettify(s)
28248}
28249
28250// GoString returns the string representation
28251func (s PutDataCatalogEncryptionSettingsInput) GoString() string {
28252	return s.String()
28253}
28254
28255// Validate inspects the fields of the type to determine if they are valid.
28256func (s *PutDataCatalogEncryptionSettingsInput) Validate() error {
28257	invalidParams := request.ErrInvalidParams{Context: "PutDataCatalogEncryptionSettingsInput"}
28258	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
28259		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
28260	}
28261	if s.DataCatalogEncryptionSettings == nil {
28262		invalidParams.Add(request.NewErrParamRequired("DataCatalogEncryptionSettings"))
28263	}
28264	if s.DataCatalogEncryptionSettings != nil {
28265		if err := s.DataCatalogEncryptionSettings.Validate(); err != nil {
28266			invalidParams.AddNested("DataCatalogEncryptionSettings", err.(request.ErrInvalidParams))
28267		}
28268	}
28269
28270	if invalidParams.Len() > 0 {
28271		return invalidParams
28272	}
28273	return nil
28274}
28275
28276// SetCatalogId sets the CatalogId field's value.
28277func (s *PutDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *PutDataCatalogEncryptionSettingsInput {
28278	s.CatalogId = &v
28279	return s
28280}
28281
28282// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
28283func (s *PutDataCatalogEncryptionSettingsInput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *PutDataCatalogEncryptionSettingsInput {
28284	s.DataCatalogEncryptionSettings = v
28285	return s
28286}
28287
28288type PutDataCatalogEncryptionSettingsOutput struct {
28289	_ struct{} `type:"structure"`
28290}
28291
28292// String returns the string representation
28293func (s PutDataCatalogEncryptionSettingsOutput) String() string {
28294	return awsutil.Prettify(s)
28295}
28296
28297// GoString returns the string representation
28298func (s PutDataCatalogEncryptionSettingsOutput) GoString() string {
28299	return s.String()
28300}
28301
28302type PutResourcePolicyInput struct {
28303	_ struct{} `type:"structure"`
28304
28305	// A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is
28306	// used to create a new policy. If a value of NONE or a null value is used,
28307	// the call will not depend on the existence of a policy.
28308	PolicyExistsCondition *string `type:"string" enum:"ExistCondition"`
28309
28310	// The hash value returned when the previous policy was set using PutResourcePolicy.
28311	// Its purpose is to prevent concurrent modifications of a policy. Do not use
28312	// this parameter if no previous policy has been set.
28313	PolicyHashCondition *string `min:"1" type:"string"`
28314
28315	// Contains the policy document to set, in JSON format.
28316	//
28317	// PolicyInJson is a required field
28318	PolicyInJson *string `min:"2" type:"string" required:"true"`
28319}
28320
28321// String returns the string representation
28322func (s PutResourcePolicyInput) String() string {
28323	return awsutil.Prettify(s)
28324}
28325
28326// GoString returns the string representation
28327func (s PutResourcePolicyInput) GoString() string {
28328	return s.String()
28329}
28330
28331// Validate inspects the fields of the type to determine if they are valid.
28332func (s *PutResourcePolicyInput) Validate() error {
28333	invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"}
28334	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
28335		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
28336	}
28337	if s.PolicyInJson == nil {
28338		invalidParams.Add(request.NewErrParamRequired("PolicyInJson"))
28339	}
28340	if s.PolicyInJson != nil && len(*s.PolicyInJson) < 2 {
28341		invalidParams.Add(request.NewErrParamMinLen("PolicyInJson", 2))
28342	}
28343
28344	if invalidParams.Len() > 0 {
28345		return invalidParams
28346	}
28347	return nil
28348}
28349
28350// SetPolicyExistsCondition sets the PolicyExistsCondition field's value.
28351func (s *PutResourcePolicyInput) SetPolicyExistsCondition(v string) *PutResourcePolicyInput {
28352	s.PolicyExistsCondition = &v
28353	return s
28354}
28355
28356// SetPolicyHashCondition sets the PolicyHashCondition field's value.
28357func (s *PutResourcePolicyInput) SetPolicyHashCondition(v string) *PutResourcePolicyInput {
28358	s.PolicyHashCondition = &v
28359	return s
28360}
28361
28362// SetPolicyInJson sets the PolicyInJson field's value.
28363func (s *PutResourcePolicyInput) SetPolicyInJson(v string) *PutResourcePolicyInput {
28364	s.PolicyInJson = &v
28365	return s
28366}
28367
28368type PutResourcePolicyOutput struct {
28369	_ struct{} `type:"structure"`
28370
28371	// A hash of the policy that has just been set. This must be included in a subsequent
28372	// call that overwrites or updates this policy.
28373	PolicyHash *string `min:"1" type:"string"`
28374}
28375
28376// String returns the string representation
28377func (s PutResourcePolicyOutput) String() string {
28378	return awsutil.Prettify(s)
28379}
28380
28381// GoString returns the string representation
28382func (s PutResourcePolicyOutput) GoString() string {
28383	return s.String()
28384}
28385
28386// SetPolicyHash sets the PolicyHash field's value.
28387func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput {
28388	s.PolicyHash = &v
28389	return s
28390}
28391
28392type PutWorkflowRunPropertiesInput struct {
28393	_ struct{} `type:"structure"`
28394
28395	// Name of the workflow which was run.
28396	//
28397	// Name is a required field
28398	Name *string `min:"1" type:"string" required:"true"`
28399
28400	// The ID of the workflow run for which the run properties should be updated.
28401	//
28402	// RunId is a required field
28403	RunId *string `min:"1" type:"string" required:"true"`
28404
28405	// The properties to put for the specified run.
28406	//
28407	// RunProperties is a required field
28408	RunProperties map[string]*string `type:"map" required:"true"`
28409}
28410
28411// String returns the string representation
28412func (s PutWorkflowRunPropertiesInput) String() string {
28413	return awsutil.Prettify(s)
28414}
28415
28416// GoString returns the string representation
28417func (s PutWorkflowRunPropertiesInput) GoString() string {
28418	return s.String()
28419}
28420
28421// Validate inspects the fields of the type to determine if they are valid.
28422func (s *PutWorkflowRunPropertiesInput) Validate() error {
28423	invalidParams := request.ErrInvalidParams{Context: "PutWorkflowRunPropertiesInput"}
28424	if s.Name == nil {
28425		invalidParams.Add(request.NewErrParamRequired("Name"))
28426	}
28427	if s.Name != nil && len(*s.Name) < 1 {
28428		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28429	}
28430	if s.RunId == nil {
28431		invalidParams.Add(request.NewErrParamRequired("RunId"))
28432	}
28433	if s.RunId != nil && len(*s.RunId) < 1 {
28434		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
28435	}
28436	if s.RunProperties == nil {
28437		invalidParams.Add(request.NewErrParamRequired("RunProperties"))
28438	}
28439
28440	if invalidParams.Len() > 0 {
28441		return invalidParams
28442	}
28443	return nil
28444}
28445
28446// SetName sets the Name field's value.
28447func (s *PutWorkflowRunPropertiesInput) SetName(v string) *PutWorkflowRunPropertiesInput {
28448	s.Name = &v
28449	return s
28450}
28451
28452// SetRunId sets the RunId field's value.
28453func (s *PutWorkflowRunPropertiesInput) SetRunId(v string) *PutWorkflowRunPropertiesInput {
28454	s.RunId = &v
28455	return s
28456}
28457
28458// SetRunProperties sets the RunProperties field's value.
28459func (s *PutWorkflowRunPropertiesInput) SetRunProperties(v map[string]*string) *PutWorkflowRunPropertiesInput {
28460	s.RunProperties = v
28461	return s
28462}
28463
28464type PutWorkflowRunPropertiesOutput struct {
28465	_ struct{} `type:"structure"`
28466}
28467
28468// String returns the string representation
28469func (s PutWorkflowRunPropertiesOutput) String() string {
28470	return awsutil.Prettify(s)
28471}
28472
28473// GoString returns the string representation
28474func (s PutWorkflowRunPropertiesOutput) GoString() string {
28475	return s.String()
28476}
28477
28478type ResetJobBookmarkInput struct {
28479	_ struct{} `type:"structure"`
28480
28481	// The name of the job in question.
28482	//
28483	// JobName is a required field
28484	JobName *string `type:"string" required:"true"`
28485
28486	// The unique run identifier associated with this job run.
28487	RunId *string `type:"string"`
28488}
28489
28490// String returns the string representation
28491func (s ResetJobBookmarkInput) String() string {
28492	return awsutil.Prettify(s)
28493}
28494
28495// GoString returns the string representation
28496func (s ResetJobBookmarkInput) GoString() string {
28497	return s.String()
28498}
28499
28500// Validate inspects the fields of the type to determine if they are valid.
28501func (s *ResetJobBookmarkInput) Validate() error {
28502	invalidParams := request.ErrInvalidParams{Context: "ResetJobBookmarkInput"}
28503	if s.JobName == nil {
28504		invalidParams.Add(request.NewErrParamRequired("JobName"))
28505	}
28506
28507	if invalidParams.Len() > 0 {
28508		return invalidParams
28509	}
28510	return nil
28511}
28512
28513// SetJobName sets the JobName field's value.
28514func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput {
28515	s.JobName = &v
28516	return s
28517}
28518
28519// SetRunId sets the RunId field's value.
28520func (s *ResetJobBookmarkInput) SetRunId(v string) *ResetJobBookmarkInput {
28521	s.RunId = &v
28522	return s
28523}
28524
28525type ResetJobBookmarkOutput struct {
28526	_ struct{} `type:"structure"`
28527
28528	// The reset bookmark entry.
28529	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
28530}
28531
28532// String returns the string representation
28533func (s ResetJobBookmarkOutput) String() string {
28534	return awsutil.Prettify(s)
28535}
28536
28537// GoString returns the string representation
28538func (s ResetJobBookmarkOutput) GoString() string {
28539	return s.String()
28540}
28541
28542// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
28543func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput {
28544	s.JobBookmarkEntry = v
28545	return s
28546}
28547
28548// A resource numerical limit was exceeded.
28549type ResourceNumberLimitExceededException struct {
28550	_            struct{} `type:"structure"`
28551	respMetadata protocol.ResponseMetadata
28552
28553	// A message describing the problem.
28554	Message_ *string `locationName:"Message" type:"string"`
28555}
28556
28557// String returns the string representation
28558func (s ResourceNumberLimitExceededException) String() string {
28559	return awsutil.Prettify(s)
28560}
28561
28562// GoString returns the string representation
28563func (s ResourceNumberLimitExceededException) GoString() string {
28564	return s.String()
28565}
28566
28567func newErrorResourceNumberLimitExceededException(v protocol.ResponseMetadata) error {
28568	return &ResourceNumberLimitExceededException{
28569		respMetadata: v,
28570	}
28571}
28572
28573// Code returns the exception type name.
28574func (s ResourceNumberLimitExceededException) Code() string {
28575	return "ResourceNumberLimitExceededException"
28576}
28577
28578// Message returns the exception's message.
28579func (s ResourceNumberLimitExceededException) Message() string {
28580	if s.Message_ != nil {
28581		return *s.Message_
28582	}
28583	return ""
28584}
28585
28586// OrigErr always returns nil, satisfies awserr.Error interface.
28587func (s ResourceNumberLimitExceededException) OrigErr() error {
28588	return nil
28589}
28590
28591func (s ResourceNumberLimitExceededException) Error() string {
28592	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
28593}
28594
28595// Status code returns the HTTP status code for the request's response error.
28596func (s ResourceNumberLimitExceededException) StatusCode() int {
28597	return s.respMetadata.StatusCode
28598}
28599
28600// RequestID returns the service's response RequestID for request.
28601func (s ResourceNumberLimitExceededException) RequestID() string {
28602	return s.respMetadata.RequestID
28603}
28604
28605// The URIs for function resources.
28606type ResourceUri struct {
28607	_ struct{} `type:"structure"`
28608
28609	// The type of the resource.
28610	ResourceType *string `type:"string" enum:"ResourceType"`
28611
28612	// The URI for accessing the resource.
28613	Uri *string `min:"1" type:"string"`
28614}
28615
28616// String returns the string representation
28617func (s ResourceUri) String() string {
28618	return awsutil.Prettify(s)
28619}
28620
28621// GoString returns the string representation
28622func (s ResourceUri) GoString() string {
28623	return s.String()
28624}
28625
28626// Validate inspects the fields of the type to determine if they are valid.
28627func (s *ResourceUri) Validate() error {
28628	invalidParams := request.ErrInvalidParams{Context: "ResourceUri"}
28629	if s.Uri != nil && len(*s.Uri) < 1 {
28630		invalidParams.Add(request.NewErrParamMinLen("Uri", 1))
28631	}
28632
28633	if invalidParams.Len() > 0 {
28634		return invalidParams
28635	}
28636	return nil
28637}
28638
28639// SetResourceType sets the ResourceType field's value.
28640func (s *ResourceUri) SetResourceType(v string) *ResourceUri {
28641	s.ResourceType = &v
28642	return s
28643}
28644
28645// SetUri sets the Uri field's value.
28646func (s *ResourceUri) SetUri(v string) *ResourceUri {
28647	s.Uri = &v
28648	return s
28649}
28650
28651// Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
28652type S3Encryption struct {
28653	_ struct{} `type:"structure"`
28654
28655	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
28656	KmsKeyArn *string `type:"string"`
28657
28658	// The encryption mode to use for Amazon S3 data.
28659	S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"`
28660}
28661
28662// String returns the string representation
28663func (s S3Encryption) String() string {
28664	return awsutil.Prettify(s)
28665}
28666
28667// GoString returns the string representation
28668func (s S3Encryption) GoString() string {
28669	return s.String()
28670}
28671
28672// SetKmsKeyArn sets the KmsKeyArn field's value.
28673func (s *S3Encryption) SetKmsKeyArn(v string) *S3Encryption {
28674	s.KmsKeyArn = &v
28675	return s
28676}
28677
28678// SetS3EncryptionMode sets the S3EncryptionMode field's value.
28679func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption {
28680	s.S3EncryptionMode = &v
28681	return s
28682}
28683
28684// Specifies a data store in Amazon Simple Storage Service (Amazon S3).
28685type S3Target struct {
28686	_ struct{} `type:"structure"`
28687
28688	// A list of glob patterns used to exclude from the crawl. For more information,
28689	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
28690	Exclusions []*string `type:"list"`
28691
28692	// The path to the Amazon S3 target.
28693	Path *string `type:"string"`
28694}
28695
28696// String returns the string representation
28697func (s S3Target) String() string {
28698	return awsutil.Prettify(s)
28699}
28700
28701// GoString returns the string representation
28702func (s S3Target) GoString() string {
28703	return s.String()
28704}
28705
28706// SetExclusions sets the Exclusions field's value.
28707func (s *S3Target) SetExclusions(v []*string) *S3Target {
28708	s.Exclusions = v
28709	return s
28710}
28711
28712// SetPath sets the Path field's value.
28713func (s *S3Target) SetPath(v string) *S3Target {
28714	s.Path = &v
28715	return s
28716}
28717
28718// A scheduling object using a cron statement to schedule an event.
28719type Schedule struct {
28720	_ struct{} `type:"structure"`
28721
28722	// A cron expression used to specify the schedule. For more information, see
28723	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
28724	// For example, to run something every day at 12:15 UTC, specify cron(15 12
28725	// * * ? *).
28726	ScheduleExpression *string `type:"string"`
28727
28728	// The state of the schedule.
28729	State *string `type:"string" enum:"ScheduleState"`
28730}
28731
28732// String returns the string representation
28733func (s Schedule) String() string {
28734	return awsutil.Prettify(s)
28735}
28736
28737// GoString returns the string representation
28738func (s Schedule) GoString() string {
28739	return s.String()
28740}
28741
28742// SetScheduleExpression sets the ScheduleExpression field's value.
28743func (s *Schedule) SetScheduleExpression(v string) *Schedule {
28744	s.ScheduleExpression = &v
28745	return s
28746}
28747
28748// SetState sets the State field's value.
28749func (s *Schedule) SetState(v string) *Schedule {
28750	s.State = &v
28751	return s
28752}
28753
28754// The specified scheduler is not running.
28755type SchedulerNotRunningException struct {
28756	_            struct{} `type:"structure"`
28757	respMetadata protocol.ResponseMetadata
28758
28759	// A message describing the problem.
28760	Message_ *string `locationName:"Message" type:"string"`
28761}
28762
28763// String returns the string representation
28764func (s SchedulerNotRunningException) String() string {
28765	return awsutil.Prettify(s)
28766}
28767
28768// GoString returns the string representation
28769func (s SchedulerNotRunningException) GoString() string {
28770	return s.String()
28771}
28772
28773func newErrorSchedulerNotRunningException(v protocol.ResponseMetadata) error {
28774	return &SchedulerNotRunningException{
28775		respMetadata: v,
28776	}
28777}
28778
28779// Code returns the exception type name.
28780func (s SchedulerNotRunningException) Code() string {
28781	return "SchedulerNotRunningException"
28782}
28783
28784// Message returns the exception's message.
28785func (s SchedulerNotRunningException) Message() string {
28786	if s.Message_ != nil {
28787		return *s.Message_
28788	}
28789	return ""
28790}
28791
28792// OrigErr always returns nil, satisfies awserr.Error interface.
28793func (s SchedulerNotRunningException) OrigErr() error {
28794	return nil
28795}
28796
28797func (s SchedulerNotRunningException) Error() string {
28798	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
28799}
28800
28801// Status code returns the HTTP status code for the request's response error.
28802func (s SchedulerNotRunningException) StatusCode() int {
28803	return s.respMetadata.StatusCode
28804}
28805
28806// RequestID returns the service's response RequestID for request.
28807func (s SchedulerNotRunningException) RequestID() string {
28808	return s.respMetadata.RequestID
28809}
28810
28811// The specified scheduler is already running.
28812type SchedulerRunningException struct {
28813	_            struct{} `type:"structure"`
28814	respMetadata protocol.ResponseMetadata
28815
28816	// A message describing the problem.
28817	Message_ *string `locationName:"Message" type:"string"`
28818}
28819
28820// String returns the string representation
28821func (s SchedulerRunningException) String() string {
28822	return awsutil.Prettify(s)
28823}
28824
28825// GoString returns the string representation
28826func (s SchedulerRunningException) GoString() string {
28827	return s.String()
28828}
28829
28830func newErrorSchedulerRunningException(v protocol.ResponseMetadata) error {
28831	return &SchedulerRunningException{
28832		respMetadata: v,
28833	}
28834}
28835
28836// Code returns the exception type name.
28837func (s SchedulerRunningException) Code() string {
28838	return "SchedulerRunningException"
28839}
28840
28841// Message returns the exception's message.
28842func (s SchedulerRunningException) Message() string {
28843	if s.Message_ != nil {
28844		return *s.Message_
28845	}
28846	return ""
28847}
28848
28849// OrigErr always returns nil, satisfies awserr.Error interface.
28850func (s SchedulerRunningException) OrigErr() error {
28851	return nil
28852}
28853
28854func (s SchedulerRunningException) Error() string {
28855	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
28856}
28857
28858// Status code returns the HTTP status code for the request's response error.
28859func (s SchedulerRunningException) StatusCode() int {
28860	return s.respMetadata.StatusCode
28861}
28862
28863// RequestID returns the service's response RequestID for request.
28864func (s SchedulerRunningException) RequestID() string {
28865	return s.respMetadata.RequestID
28866}
28867
28868// The specified scheduler is transitioning.
28869type SchedulerTransitioningException struct {
28870	_            struct{} `type:"structure"`
28871	respMetadata protocol.ResponseMetadata
28872
28873	// A message describing the problem.
28874	Message_ *string `locationName:"Message" type:"string"`
28875}
28876
28877// String returns the string representation
28878func (s SchedulerTransitioningException) String() string {
28879	return awsutil.Prettify(s)
28880}
28881
28882// GoString returns the string representation
28883func (s SchedulerTransitioningException) GoString() string {
28884	return s.String()
28885}
28886
28887func newErrorSchedulerTransitioningException(v protocol.ResponseMetadata) error {
28888	return &SchedulerTransitioningException{
28889		respMetadata: v,
28890	}
28891}
28892
28893// Code returns the exception type name.
28894func (s SchedulerTransitioningException) Code() string {
28895	return "SchedulerTransitioningException"
28896}
28897
28898// Message returns the exception's message.
28899func (s SchedulerTransitioningException) Message() string {
28900	if s.Message_ != nil {
28901		return *s.Message_
28902	}
28903	return ""
28904}
28905
28906// OrigErr always returns nil, satisfies awserr.Error interface.
28907func (s SchedulerTransitioningException) OrigErr() error {
28908	return nil
28909}
28910
28911func (s SchedulerTransitioningException) Error() string {
28912	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
28913}
28914
28915// Status code returns the HTTP status code for the request's response error.
28916func (s SchedulerTransitioningException) StatusCode() int {
28917	return s.respMetadata.StatusCode
28918}
28919
28920// RequestID returns the service's response RequestID for request.
28921func (s SchedulerTransitioningException) RequestID() string {
28922	return s.respMetadata.RequestID
28923}
28924
28925// A policy that specifies update and deletion behaviors for the crawler.
28926type SchemaChangePolicy struct {
28927	_ struct{} `type:"structure"`
28928
28929	// The deletion behavior when the crawler finds a deleted object.
28930	DeleteBehavior *string `type:"string" enum:"DeleteBehavior"`
28931
28932	// The update behavior when the crawler finds a changed schema.
28933	UpdateBehavior *string `type:"string" enum:"UpdateBehavior"`
28934}
28935
28936// String returns the string representation
28937func (s SchemaChangePolicy) String() string {
28938	return awsutil.Prettify(s)
28939}
28940
28941// GoString returns the string representation
28942func (s SchemaChangePolicy) GoString() string {
28943	return s.String()
28944}
28945
28946// SetDeleteBehavior sets the DeleteBehavior field's value.
28947func (s *SchemaChangePolicy) SetDeleteBehavior(v string) *SchemaChangePolicy {
28948	s.DeleteBehavior = &v
28949	return s
28950}
28951
28952// SetUpdateBehavior sets the UpdateBehavior field's value.
28953func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy {
28954	s.UpdateBehavior = &v
28955	return s
28956}
28957
28958// A key-value pair representing a column and data type that this transform
28959// can run against. The Schema parameter of the MLTransform may contain up to
28960// 100 of these structures.
28961type SchemaColumn struct {
28962	_ struct{} `type:"structure"`
28963
28964	// The type of data in the column.
28965	DataType *string `type:"string"`
28966
28967	// The name of the column.
28968	Name *string `min:"1" type:"string"`
28969}
28970
28971// String returns the string representation
28972func (s SchemaColumn) String() string {
28973	return awsutil.Prettify(s)
28974}
28975
28976// GoString returns the string representation
28977func (s SchemaColumn) GoString() string {
28978	return s.String()
28979}
28980
28981// Validate inspects the fields of the type to determine if they are valid.
28982func (s *SchemaColumn) Validate() error {
28983	invalidParams := request.ErrInvalidParams{Context: "SchemaColumn"}
28984	if s.Name != nil && len(*s.Name) < 1 {
28985		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28986	}
28987
28988	if invalidParams.Len() > 0 {
28989		return invalidParams
28990	}
28991	return nil
28992}
28993
28994// SetDataType sets the DataType field's value.
28995func (s *SchemaColumn) SetDataType(v string) *SchemaColumn {
28996	s.DataType = &v
28997	return s
28998}
28999
29000// SetName sets the Name field's value.
29001func (s *SchemaColumn) SetName(v string) *SchemaColumn {
29002	s.Name = &v
29003	return s
29004}
29005
29006type SearchTablesInput struct {
29007	_ struct{} `type:"structure"`
29008
29009	// A unique identifier, consisting of account_id/datalake.
29010	CatalogId *string `min:"1" type:"string"`
29011
29012	// A list of key-value pairs, and a comparator used to filter the search results.
29013	// Returns all entities matching the predicate.
29014	Filters []*PropertyPredicate `type:"list"`
29015
29016	// The maximum number of tables to return in a single response.
29017	MaxResults *int64 `min:"1" type:"integer"`
29018
29019	// A continuation token, included if this is a continuation call.
29020	NextToken *string `type:"string"`
29021
29022	// A string used for a text search.
29023	//
29024	// Specifying a value in quotes filters based on an exact match to the value.
29025	SearchText *string `type:"string"`
29026
29027	// A list of criteria for sorting the results by a field name, in an ascending
29028	// or descending order.
29029	SortCriteria []*SortCriterion `type:"list"`
29030}
29031
29032// String returns the string representation
29033func (s SearchTablesInput) String() string {
29034	return awsutil.Prettify(s)
29035}
29036
29037// GoString returns the string representation
29038func (s SearchTablesInput) GoString() string {
29039	return s.String()
29040}
29041
29042// Validate inspects the fields of the type to determine if they are valid.
29043func (s *SearchTablesInput) Validate() error {
29044	invalidParams := request.ErrInvalidParams{Context: "SearchTablesInput"}
29045	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
29046		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
29047	}
29048	if s.MaxResults != nil && *s.MaxResults < 1 {
29049		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
29050	}
29051
29052	if invalidParams.Len() > 0 {
29053		return invalidParams
29054	}
29055	return nil
29056}
29057
29058// SetCatalogId sets the CatalogId field's value.
29059func (s *SearchTablesInput) SetCatalogId(v string) *SearchTablesInput {
29060	s.CatalogId = &v
29061	return s
29062}
29063
29064// SetFilters sets the Filters field's value.
29065func (s *SearchTablesInput) SetFilters(v []*PropertyPredicate) *SearchTablesInput {
29066	s.Filters = v
29067	return s
29068}
29069
29070// SetMaxResults sets the MaxResults field's value.
29071func (s *SearchTablesInput) SetMaxResults(v int64) *SearchTablesInput {
29072	s.MaxResults = &v
29073	return s
29074}
29075
29076// SetNextToken sets the NextToken field's value.
29077func (s *SearchTablesInput) SetNextToken(v string) *SearchTablesInput {
29078	s.NextToken = &v
29079	return s
29080}
29081
29082// SetSearchText sets the SearchText field's value.
29083func (s *SearchTablesInput) SetSearchText(v string) *SearchTablesInput {
29084	s.SearchText = &v
29085	return s
29086}
29087
29088// SetSortCriteria sets the SortCriteria field's value.
29089func (s *SearchTablesInput) SetSortCriteria(v []*SortCriterion) *SearchTablesInput {
29090	s.SortCriteria = v
29091	return s
29092}
29093
29094type SearchTablesOutput struct {
29095	_ struct{} `type:"structure"`
29096
29097	// A continuation token, present if the current list segment is not the last.
29098	NextToken *string `type:"string"`
29099
29100	// A list of the requested Table objects. The SearchTables response returns
29101	// only the tables that you have access to.
29102	TableList []*TableData `type:"list"`
29103}
29104
29105// String returns the string representation
29106func (s SearchTablesOutput) String() string {
29107	return awsutil.Prettify(s)
29108}
29109
29110// GoString returns the string representation
29111func (s SearchTablesOutput) GoString() string {
29112	return s.String()
29113}
29114
29115// SetNextToken sets the NextToken field's value.
29116func (s *SearchTablesOutput) SetNextToken(v string) *SearchTablesOutput {
29117	s.NextToken = &v
29118	return s
29119}
29120
29121// SetTableList sets the TableList field's value.
29122func (s *SearchTablesOutput) SetTableList(v []*TableData) *SearchTablesOutput {
29123	s.TableList = v
29124	return s
29125}
29126
29127// Specifies a security configuration.
29128type SecurityConfiguration struct {
29129	_ struct{} `type:"structure"`
29130
29131	// The time at which this security configuration was created.
29132	CreatedTimeStamp *time.Time `type:"timestamp"`
29133
29134	// The encryption configuration associated with this security configuration.
29135	EncryptionConfiguration *EncryptionConfiguration `type:"structure"`
29136
29137	// The name of the security configuration.
29138	Name *string `min:"1" type:"string"`
29139}
29140
29141// String returns the string representation
29142func (s SecurityConfiguration) String() string {
29143	return awsutil.Prettify(s)
29144}
29145
29146// GoString returns the string representation
29147func (s SecurityConfiguration) GoString() string {
29148	return s.String()
29149}
29150
29151// SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
29152func (s *SecurityConfiguration) SetCreatedTimeStamp(v time.Time) *SecurityConfiguration {
29153	s.CreatedTimeStamp = &v
29154	return s
29155}
29156
29157// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
29158func (s *SecurityConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *SecurityConfiguration {
29159	s.EncryptionConfiguration = v
29160	return s
29161}
29162
29163// SetName sets the Name field's value.
29164func (s *SecurityConfiguration) SetName(v string) *SecurityConfiguration {
29165	s.Name = &v
29166	return s
29167}
29168
29169// Defines a non-overlapping region of a table's partitions, allowing multiple
29170// requests to be executed in parallel.
29171type Segment struct {
29172	_ struct{} `type:"structure"`
29173
29174	// The zero-based index number of the segment. For example, if the total number
29175	// of segments is 4, SegmentNumber values range from 0 through 3.
29176	//
29177	// SegmentNumber is a required field
29178	SegmentNumber *int64 `type:"integer" required:"true"`
29179
29180	// The total number of segments.
29181	//
29182	// TotalSegments is a required field
29183	TotalSegments *int64 `min:"1" type:"integer" required:"true"`
29184}
29185
29186// String returns the string representation
29187func (s Segment) String() string {
29188	return awsutil.Prettify(s)
29189}
29190
29191// GoString returns the string representation
29192func (s Segment) GoString() string {
29193	return s.String()
29194}
29195
29196// Validate inspects the fields of the type to determine if they are valid.
29197func (s *Segment) Validate() error {
29198	invalidParams := request.ErrInvalidParams{Context: "Segment"}
29199	if s.SegmentNumber == nil {
29200		invalidParams.Add(request.NewErrParamRequired("SegmentNumber"))
29201	}
29202	if s.TotalSegments == nil {
29203		invalidParams.Add(request.NewErrParamRequired("TotalSegments"))
29204	}
29205	if s.TotalSegments != nil && *s.TotalSegments < 1 {
29206		invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1))
29207	}
29208
29209	if invalidParams.Len() > 0 {
29210		return invalidParams
29211	}
29212	return nil
29213}
29214
29215// SetSegmentNumber sets the SegmentNumber field's value.
29216func (s *Segment) SetSegmentNumber(v int64) *Segment {
29217	s.SegmentNumber = &v
29218	return s
29219}
29220
29221// SetTotalSegments sets the TotalSegments field's value.
29222func (s *Segment) SetTotalSegments(v int64) *Segment {
29223	s.TotalSegments = &v
29224	return s
29225}
29226
29227// Information about a serialization/deserialization program (SerDe) that serves
29228// as an extractor and loader.
29229type SerDeInfo struct {
29230	_ struct{} `type:"structure"`
29231
29232	// Name of the SerDe.
29233	Name *string `min:"1" type:"string"`
29234
29235	// These key-value pairs define initialization parameters for the SerDe.
29236	Parameters map[string]*string `type:"map"`
29237
29238	// Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
29239	SerializationLibrary *string `min:"1" type:"string"`
29240}
29241
29242// String returns the string representation
29243func (s SerDeInfo) String() string {
29244	return awsutil.Prettify(s)
29245}
29246
29247// GoString returns the string representation
29248func (s SerDeInfo) GoString() string {
29249	return s.String()
29250}
29251
29252// Validate inspects the fields of the type to determine if they are valid.
29253func (s *SerDeInfo) Validate() error {
29254	invalidParams := request.ErrInvalidParams{Context: "SerDeInfo"}
29255	if s.Name != nil && len(*s.Name) < 1 {
29256		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29257	}
29258	if s.SerializationLibrary != nil && len(*s.SerializationLibrary) < 1 {
29259		invalidParams.Add(request.NewErrParamMinLen("SerializationLibrary", 1))
29260	}
29261
29262	if invalidParams.Len() > 0 {
29263		return invalidParams
29264	}
29265	return nil
29266}
29267
29268// SetName sets the Name field's value.
29269func (s *SerDeInfo) SetName(v string) *SerDeInfo {
29270	s.Name = &v
29271	return s
29272}
29273
29274// SetParameters sets the Parameters field's value.
29275func (s *SerDeInfo) SetParameters(v map[string]*string) *SerDeInfo {
29276	s.Parameters = v
29277	return s
29278}
29279
29280// SetSerializationLibrary sets the SerializationLibrary field's value.
29281func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo {
29282	s.SerializationLibrary = &v
29283	return s
29284}
29285
29286// Specifies skewed values in a table. Skewed values are those that occur with
29287// very high frequency.
29288type SkewedInfo struct {
29289	_ struct{} `type:"structure"`
29290
29291	// A list of names of columns that contain skewed values.
29292	SkewedColumnNames []*string `type:"list"`
29293
29294	// A mapping of skewed values to the columns that contain them.
29295	SkewedColumnValueLocationMaps map[string]*string `type:"map"`
29296
29297	// A list of values that appear so frequently as to be considered skewed.
29298	SkewedColumnValues []*string `type:"list"`
29299}
29300
29301// String returns the string representation
29302func (s SkewedInfo) String() string {
29303	return awsutil.Prettify(s)
29304}
29305
29306// GoString returns the string representation
29307func (s SkewedInfo) GoString() string {
29308	return s.String()
29309}
29310
29311// SetSkewedColumnNames sets the SkewedColumnNames field's value.
29312func (s *SkewedInfo) SetSkewedColumnNames(v []*string) *SkewedInfo {
29313	s.SkewedColumnNames = v
29314	return s
29315}
29316
29317// SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value.
29318func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]*string) *SkewedInfo {
29319	s.SkewedColumnValueLocationMaps = v
29320	return s
29321}
29322
29323// SetSkewedColumnValues sets the SkewedColumnValues field's value.
29324func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo {
29325	s.SkewedColumnValues = v
29326	return s
29327}
29328
29329// Specifies a field to sort by and a sort order.
29330type SortCriterion struct {
29331	_ struct{} `type:"structure"`
29332
29333	// The name of the field on which to sort.
29334	FieldName *string `type:"string"`
29335
29336	// An ascending or descending sort.
29337	Sort *string `type:"string" enum:"Sort"`
29338}
29339
29340// String returns the string representation
29341func (s SortCriterion) String() string {
29342	return awsutil.Prettify(s)
29343}
29344
29345// GoString returns the string representation
29346func (s SortCriterion) GoString() string {
29347	return s.String()
29348}
29349
29350// SetFieldName sets the FieldName field's value.
29351func (s *SortCriterion) SetFieldName(v string) *SortCriterion {
29352	s.FieldName = &v
29353	return s
29354}
29355
29356// SetSort sets the Sort field's value.
29357func (s *SortCriterion) SetSort(v string) *SortCriterion {
29358	s.Sort = &v
29359	return s
29360}
29361
29362type StartCrawlerInput struct {
29363	_ struct{} `type:"structure"`
29364
29365	// Name of the crawler to start.
29366	//
29367	// Name is a required field
29368	Name *string `min:"1" type:"string" required:"true"`
29369}
29370
29371// String returns the string representation
29372func (s StartCrawlerInput) String() string {
29373	return awsutil.Prettify(s)
29374}
29375
29376// GoString returns the string representation
29377func (s StartCrawlerInput) GoString() string {
29378	return s.String()
29379}
29380
29381// Validate inspects the fields of the type to determine if they are valid.
29382func (s *StartCrawlerInput) Validate() error {
29383	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerInput"}
29384	if s.Name == nil {
29385		invalidParams.Add(request.NewErrParamRequired("Name"))
29386	}
29387	if s.Name != nil && len(*s.Name) < 1 {
29388		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29389	}
29390
29391	if invalidParams.Len() > 0 {
29392		return invalidParams
29393	}
29394	return nil
29395}
29396
29397// SetName sets the Name field's value.
29398func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput {
29399	s.Name = &v
29400	return s
29401}
29402
29403type StartCrawlerOutput struct {
29404	_ struct{} `type:"structure"`
29405}
29406
29407// String returns the string representation
29408func (s StartCrawlerOutput) String() string {
29409	return awsutil.Prettify(s)
29410}
29411
29412// GoString returns the string representation
29413func (s StartCrawlerOutput) GoString() string {
29414	return s.String()
29415}
29416
29417type StartCrawlerScheduleInput struct {
29418	_ struct{} `type:"structure"`
29419
29420	// Name of the crawler to schedule.
29421	//
29422	// CrawlerName is a required field
29423	CrawlerName *string `min:"1" type:"string" required:"true"`
29424}
29425
29426// String returns the string representation
29427func (s StartCrawlerScheduleInput) String() string {
29428	return awsutil.Prettify(s)
29429}
29430
29431// GoString returns the string representation
29432func (s StartCrawlerScheduleInput) GoString() string {
29433	return s.String()
29434}
29435
29436// Validate inspects the fields of the type to determine if they are valid.
29437func (s *StartCrawlerScheduleInput) Validate() error {
29438	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerScheduleInput"}
29439	if s.CrawlerName == nil {
29440		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
29441	}
29442	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
29443		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
29444	}
29445
29446	if invalidParams.Len() > 0 {
29447		return invalidParams
29448	}
29449	return nil
29450}
29451
29452// SetCrawlerName sets the CrawlerName field's value.
29453func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput {
29454	s.CrawlerName = &v
29455	return s
29456}
29457
29458type StartCrawlerScheduleOutput struct {
29459	_ struct{} `type:"structure"`
29460}
29461
29462// String returns the string representation
29463func (s StartCrawlerScheduleOutput) String() string {
29464	return awsutil.Prettify(s)
29465}
29466
29467// GoString returns the string representation
29468func (s StartCrawlerScheduleOutput) GoString() string {
29469	return s.String()
29470}
29471
29472type StartExportLabelsTaskRunInput struct {
29473	_ struct{} `type:"structure"`
29474
29475	// The Amazon S3 path where you export the labels.
29476	//
29477	// OutputS3Path is a required field
29478	OutputS3Path *string `type:"string" required:"true"`
29479
29480	// The unique identifier of the machine learning transform.
29481	//
29482	// TransformId is a required field
29483	TransformId *string `min:"1" type:"string" required:"true"`
29484}
29485
29486// String returns the string representation
29487func (s StartExportLabelsTaskRunInput) String() string {
29488	return awsutil.Prettify(s)
29489}
29490
29491// GoString returns the string representation
29492func (s StartExportLabelsTaskRunInput) GoString() string {
29493	return s.String()
29494}
29495
29496// Validate inspects the fields of the type to determine if they are valid.
29497func (s *StartExportLabelsTaskRunInput) Validate() error {
29498	invalidParams := request.ErrInvalidParams{Context: "StartExportLabelsTaskRunInput"}
29499	if s.OutputS3Path == nil {
29500		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
29501	}
29502	if s.TransformId == nil {
29503		invalidParams.Add(request.NewErrParamRequired("TransformId"))
29504	}
29505	if s.TransformId != nil && len(*s.TransformId) < 1 {
29506		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
29507	}
29508
29509	if invalidParams.Len() > 0 {
29510		return invalidParams
29511	}
29512	return nil
29513}
29514
29515// SetOutputS3Path sets the OutputS3Path field's value.
29516func (s *StartExportLabelsTaskRunInput) SetOutputS3Path(v string) *StartExportLabelsTaskRunInput {
29517	s.OutputS3Path = &v
29518	return s
29519}
29520
29521// SetTransformId sets the TransformId field's value.
29522func (s *StartExportLabelsTaskRunInput) SetTransformId(v string) *StartExportLabelsTaskRunInput {
29523	s.TransformId = &v
29524	return s
29525}
29526
29527type StartExportLabelsTaskRunOutput struct {
29528	_ struct{} `type:"structure"`
29529
29530	// The unique identifier for the task run.
29531	TaskRunId *string `min:"1" type:"string"`
29532}
29533
29534// String returns the string representation
29535func (s StartExportLabelsTaskRunOutput) String() string {
29536	return awsutil.Prettify(s)
29537}
29538
29539// GoString returns the string representation
29540func (s StartExportLabelsTaskRunOutput) GoString() string {
29541	return s.String()
29542}
29543
29544// SetTaskRunId sets the TaskRunId field's value.
29545func (s *StartExportLabelsTaskRunOutput) SetTaskRunId(v string) *StartExportLabelsTaskRunOutput {
29546	s.TaskRunId = &v
29547	return s
29548}
29549
29550type StartImportLabelsTaskRunInput struct {
29551	_ struct{} `type:"structure"`
29552
29553	// The Amazon Simple Storage Service (Amazon S3) path from where you import
29554	// the labels.
29555	//
29556	// InputS3Path is a required field
29557	InputS3Path *string `type:"string" required:"true"`
29558
29559	// Indicates whether to overwrite your existing labels.
29560	ReplaceAllLabels *bool `type:"boolean"`
29561
29562	// The unique identifier of the machine learning transform.
29563	//
29564	// TransformId is a required field
29565	TransformId *string `min:"1" type:"string" required:"true"`
29566}
29567
29568// String returns the string representation
29569func (s StartImportLabelsTaskRunInput) String() string {
29570	return awsutil.Prettify(s)
29571}
29572
29573// GoString returns the string representation
29574func (s StartImportLabelsTaskRunInput) GoString() string {
29575	return s.String()
29576}
29577
29578// Validate inspects the fields of the type to determine if they are valid.
29579func (s *StartImportLabelsTaskRunInput) Validate() error {
29580	invalidParams := request.ErrInvalidParams{Context: "StartImportLabelsTaskRunInput"}
29581	if s.InputS3Path == nil {
29582		invalidParams.Add(request.NewErrParamRequired("InputS3Path"))
29583	}
29584	if s.TransformId == nil {
29585		invalidParams.Add(request.NewErrParamRequired("TransformId"))
29586	}
29587	if s.TransformId != nil && len(*s.TransformId) < 1 {
29588		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
29589	}
29590
29591	if invalidParams.Len() > 0 {
29592		return invalidParams
29593	}
29594	return nil
29595}
29596
29597// SetInputS3Path sets the InputS3Path field's value.
29598func (s *StartImportLabelsTaskRunInput) SetInputS3Path(v string) *StartImportLabelsTaskRunInput {
29599	s.InputS3Path = &v
29600	return s
29601}
29602
29603// SetReplaceAllLabels sets the ReplaceAllLabels field's value.
29604func (s *StartImportLabelsTaskRunInput) SetReplaceAllLabels(v bool) *StartImportLabelsTaskRunInput {
29605	s.ReplaceAllLabels = &v
29606	return s
29607}
29608
29609// SetTransformId sets the TransformId field's value.
29610func (s *StartImportLabelsTaskRunInput) SetTransformId(v string) *StartImportLabelsTaskRunInput {
29611	s.TransformId = &v
29612	return s
29613}
29614
29615type StartImportLabelsTaskRunOutput struct {
29616	_ struct{} `type:"structure"`
29617
29618	// The unique identifier for the task run.
29619	TaskRunId *string `min:"1" type:"string"`
29620}
29621
29622// String returns the string representation
29623func (s StartImportLabelsTaskRunOutput) String() string {
29624	return awsutil.Prettify(s)
29625}
29626
29627// GoString returns the string representation
29628func (s StartImportLabelsTaskRunOutput) GoString() string {
29629	return s.String()
29630}
29631
29632// SetTaskRunId sets the TaskRunId field's value.
29633func (s *StartImportLabelsTaskRunOutput) SetTaskRunId(v string) *StartImportLabelsTaskRunOutput {
29634	s.TaskRunId = &v
29635	return s
29636}
29637
29638type StartJobRunInput struct {
29639	_ struct{} `type:"structure"`
29640
29641	// This field is deprecated. Use MaxCapacity instead.
29642	//
29643	// The number of AWS Glue data processing units (DPUs) to allocate to this JobRun.
29644	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
29645	// measure of processing power that consists of 4 vCPUs of compute capacity
29646	// and 16 GB of memory. For more information, see the AWS Glue pricing page
29647	// (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
29648	//
29649	// Deprecated: This property is deprecated, use MaxCapacity instead.
29650	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
29651
29652	// The job arguments specifically for this run. For this job run, they replace
29653	// the default arguments set in the job definition itself.
29654	//
29655	// You can specify arguments here that your own job-execution script consumes,
29656	// as well as arguments that AWS Glue itself consumes.
29657	//
29658	// For information about how to specify and consume your own Job arguments,
29659	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
29660	// topic in the developer guide.
29661	//
29662	// For information about the key-value pairs that AWS Glue consumes to set up
29663	// 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)
29664	// topic in the developer guide.
29665	Arguments map[string]*string `type:"map"`
29666
29667	// The name of the job definition to use.
29668	//
29669	// JobName is a required field
29670	JobName *string `min:"1" type:"string" required:"true"`
29671
29672	// The ID of a previous JobRun to retry.
29673	JobRunId *string `min:"1" type:"string"`
29674
29675	// The number of AWS Glue data processing units (DPUs) that can be allocated
29676	// when this job runs. A DPU is a relative measure of processing power that
29677	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
29678	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
29679	//
29680	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
29681	//
29682	// The value that can be allocated for MaxCapacity depends on whether you are
29683	// running a Python shell job, or an Apache Spark ETL job:
29684	//
29685	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
29686	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
29687	//
29688	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
29689	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
29690	//    type cannot have a fractional DPU allocation.
29691	MaxCapacity *float64 `type:"double"`
29692
29693	// Specifies configuration properties of a job run notification.
29694	NotificationProperty *NotificationProperty `type:"structure"`
29695
29696	// The number of workers of a defined workerType that are allocated when a job
29697	// runs.
29698	//
29699	// The maximum number of workers you can define are 299 for G.1X, and 149 for
29700	// G.2X.
29701	NumberOfWorkers *int64 `type:"integer"`
29702
29703	// The name of the SecurityConfiguration structure to be used with this job
29704	// run.
29705	SecurityConfiguration *string `min:"1" type:"string"`
29706
29707	// The JobRun timeout in minutes. This is the maximum time that a job run can
29708	// consume resources before it is terminated and enters TIMEOUT status. The
29709	// default is 2,880 minutes (48 hours). This overrides the timeout value set
29710	// in the parent job.
29711	Timeout *int64 `min:"1" type:"integer"`
29712
29713	// The type of predefined worker that is allocated when a job runs. Accepts
29714	// a value of Standard, G.1X, or G.2X.
29715	//
29716	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
29717	//    memory and a 50GB disk, and 2 executors per worker.
29718	//
29719	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
29720	//    and a 64GB disk, and 1 executor per worker.
29721	//
29722	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
29723	//    and a 128GB disk, and 1 executor per worker.
29724	WorkerType *string `type:"string" enum:"WorkerType"`
29725}
29726
29727// String returns the string representation
29728func (s StartJobRunInput) String() string {
29729	return awsutil.Prettify(s)
29730}
29731
29732// GoString returns the string representation
29733func (s StartJobRunInput) GoString() string {
29734	return s.String()
29735}
29736
29737// Validate inspects the fields of the type to determine if they are valid.
29738func (s *StartJobRunInput) Validate() error {
29739	invalidParams := request.ErrInvalidParams{Context: "StartJobRunInput"}
29740	if s.JobName == nil {
29741		invalidParams.Add(request.NewErrParamRequired("JobName"))
29742	}
29743	if s.JobName != nil && len(*s.JobName) < 1 {
29744		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
29745	}
29746	if s.JobRunId != nil && len(*s.JobRunId) < 1 {
29747		invalidParams.Add(request.NewErrParamMinLen("JobRunId", 1))
29748	}
29749	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
29750		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
29751	}
29752	if s.Timeout != nil && *s.Timeout < 1 {
29753		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
29754	}
29755	if s.NotificationProperty != nil {
29756		if err := s.NotificationProperty.Validate(); err != nil {
29757			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
29758		}
29759	}
29760
29761	if invalidParams.Len() > 0 {
29762		return invalidParams
29763	}
29764	return nil
29765}
29766
29767// SetAllocatedCapacity sets the AllocatedCapacity field's value.
29768func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput {
29769	s.AllocatedCapacity = &v
29770	return s
29771}
29772
29773// SetArguments sets the Arguments field's value.
29774func (s *StartJobRunInput) SetArguments(v map[string]*string) *StartJobRunInput {
29775	s.Arguments = v
29776	return s
29777}
29778
29779// SetJobName sets the JobName field's value.
29780func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput {
29781	s.JobName = &v
29782	return s
29783}
29784
29785// SetJobRunId sets the JobRunId field's value.
29786func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput {
29787	s.JobRunId = &v
29788	return s
29789}
29790
29791// SetMaxCapacity sets the MaxCapacity field's value.
29792func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput {
29793	s.MaxCapacity = &v
29794	return s
29795}
29796
29797// SetNotificationProperty sets the NotificationProperty field's value.
29798func (s *StartJobRunInput) SetNotificationProperty(v *NotificationProperty) *StartJobRunInput {
29799	s.NotificationProperty = v
29800	return s
29801}
29802
29803// SetNumberOfWorkers sets the NumberOfWorkers field's value.
29804func (s *StartJobRunInput) SetNumberOfWorkers(v int64) *StartJobRunInput {
29805	s.NumberOfWorkers = &v
29806	return s
29807}
29808
29809// SetSecurityConfiguration sets the SecurityConfiguration field's value.
29810func (s *StartJobRunInput) SetSecurityConfiguration(v string) *StartJobRunInput {
29811	s.SecurityConfiguration = &v
29812	return s
29813}
29814
29815// SetTimeout sets the Timeout field's value.
29816func (s *StartJobRunInput) SetTimeout(v int64) *StartJobRunInput {
29817	s.Timeout = &v
29818	return s
29819}
29820
29821// SetWorkerType sets the WorkerType field's value.
29822func (s *StartJobRunInput) SetWorkerType(v string) *StartJobRunInput {
29823	s.WorkerType = &v
29824	return s
29825}
29826
29827type StartJobRunOutput struct {
29828	_ struct{} `type:"structure"`
29829
29830	// The ID assigned to this job run.
29831	JobRunId *string `min:"1" type:"string"`
29832}
29833
29834// String returns the string representation
29835func (s StartJobRunOutput) String() string {
29836	return awsutil.Prettify(s)
29837}
29838
29839// GoString returns the string representation
29840func (s StartJobRunOutput) GoString() string {
29841	return s.String()
29842}
29843
29844// SetJobRunId sets the JobRunId field's value.
29845func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput {
29846	s.JobRunId = &v
29847	return s
29848}
29849
29850type StartMLEvaluationTaskRunInput struct {
29851	_ struct{} `type:"structure"`
29852
29853	// The unique identifier of the machine learning transform.
29854	//
29855	// TransformId is a required field
29856	TransformId *string `min:"1" type:"string" required:"true"`
29857}
29858
29859// String returns the string representation
29860func (s StartMLEvaluationTaskRunInput) String() string {
29861	return awsutil.Prettify(s)
29862}
29863
29864// GoString returns the string representation
29865func (s StartMLEvaluationTaskRunInput) GoString() string {
29866	return s.String()
29867}
29868
29869// Validate inspects the fields of the type to determine if they are valid.
29870func (s *StartMLEvaluationTaskRunInput) Validate() error {
29871	invalidParams := request.ErrInvalidParams{Context: "StartMLEvaluationTaskRunInput"}
29872	if s.TransformId == nil {
29873		invalidParams.Add(request.NewErrParamRequired("TransformId"))
29874	}
29875	if s.TransformId != nil && len(*s.TransformId) < 1 {
29876		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
29877	}
29878
29879	if invalidParams.Len() > 0 {
29880		return invalidParams
29881	}
29882	return nil
29883}
29884
29885// SetTransformId sets the TransformId field's value.
29886func (s *StartMLEvaluationTaskRunInput) SetTransformId(v string) *StartMLEvaluationTaskRunInput {
29887	s.TransformId = &v
29888	return s
29889}
29890
29891type StartMLEvaluationTaskRunOutput struct {
29892	_ struct{} `type:"structure"`
29893
29894	// The unique identifier associated with this run.
29895	TaskRunId *string `min:"1" type:"string"`
29896}
29897
29898// String returns the string representation
29899func (s StartMLEvaluationTaskRunOutput) String() string {
29900	return awsutil.Prettify(s)
29901}
29902
29903// GoString returns the string representation
29904func (s StartMLEvaluationTaskRunOutput) GoString() string {
29905	return s.String()
29906}
29907
29908// SetTaskRunId sets the TaskRunId field's value.
29909func (s *StartMLEvaluationTaskRunOutput) SetTaskRunId(v string) *StartMLEvaluationTaskRunOutput {
29910	s.TaskRunId = &v
29911	return s
29912}
29913
29914type StartMLLabelingSetGenerationTaskRunInput struct {
29915	_ struct{} `type:"structure"`
29916
29917	// The Amazon Simple Storage Service (Amazon S3) path where you generate the
29918	// labeling set.
29919	//
29920	// OutputS3Path is a required field
29921	OutputS3Path *string `type:"string" required:"true"`
29922
29923	// The unique identifier of the machine learning transform.
29924	//
29925	// TransformId is a required field
29926	TransformId *string `min:"1" type:"string" required:"true"`
29927}
29928
29929// String returns the string representation
29930func (s StartMLLabelingSetGenerationTaskRunInput) String() string {
29931	return awsutil.Prettify(s)
29932}
29933
29934// GoString returns the string representation
29935func (s StartMLLabelingSetGenerationTaskRunInput) GoString() string {
29936	return s.String()
29937}
29938
29939// Validate inspects the fields of the type to determine if they are valid.
29940func (s *StartMLLabelingSetGenerationTaskRunInput) Validate() error {
29941	invalidParams := request.ErrInvalidParams{Context: "StartMLLabelingSetGenerationTaskRunInput"}
29942	if s.OutputS3Path == nil {
29943		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
29944	}
29945	if s.TransformId == nil {
29946		invalidParams.Add(request.NewErrParamRequired("TransformId"))
29947	}
29948	if s.TransformId != nil && len(*s.TransformId) < 1 {
29949		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
29950	}
29951
29952	if invalidParams.Len() > 0 {
29953		return invalidParams
29954	}
29955	return nil
29956}
29957
29958// SetOutputS3Path sets the OutputS3Path field's value.
29959func (s *StartMLLabelingSetGenerationTaskRunInput) SetOutputS3Path(v string) *StartMLLabelingSetGenerationTaskRunInput {
29960	s.OutputS3Path = &v
29961	return s
29962}
29963
29964// SetTransformId sets the TransformId field's value.
29965func (s *StartMLLabelingSetGenerationTaskRunInput) SetTransformId(v string) *StartMLLabelingSetGenerationTaskRunInput {
29966	s.TransformId = &v
29967	return s
29968}
29969
29970type StartMLLabelingSetGenerationTaskRunOutput struct {
29971	_ struct{} `type:"structure"`
29972
29973	// The unique run identifier that is associated with this task run.
29974	TaskRunId *string `min:"1" type:"string"`
29975}
29976
29977// String returns the string representation
29978func (s StartMLLabelingSetGenerationTaskRunOutput) String() string {
29979	return awsutil.Prettify(s)
29980}
29981
29982// GoString returns the string representation
29983func (s StartMLLabelingSetGenerationTaskRunOutput) GoString() string {
29984	return s.String()
29985}
29986
29987// SetTaskRunId sets the TaskRunId field's value.
29988func (s *StartMLLabelingSetGenerationTaskRunOutput) SetTaskRunId(v string) *StartMLLabelingSetGenerationTaskRunOutput {
29989	s.TaskRunId = &v
29990	return s
29991}
29992
29993type StartTriggerInput struct {
29994	_ struct{} `type:"structure"`
29995
29996	// The name of the trigger to start.
29997	//
29998	// Name is a required field
29999	Name *string `min:"1" type:"string" required:"true"`
30000}
30001
30002// String returns the string representation
30003func (s StartTriggerInput) String() string {
30004	return awsutil.Prettify(s)
30005}
30006
30007// GoString returns the string representation
30008func (s StartTriggerInput) GoString() string {
30009	return s.String()
30010}
30011
30012// Validate inspects the fields of the type to determine if they are valid.
30013func (s *StartTriggerInput) Validate() error {
30014	invalidParams := request.ErrInvalidParams{Context: "StartTriggerInput"}
30015	if s.Name == nil {
30016		invalidParams.Add(request.NewErrParamRequired("Name"))
30017	}
30018	if s.Name != nil && len(*s.Name) < 1 {
30019		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30020	}
30021
30022	if invalidParams.Len() > 0 {
30023		return invalidParams
30024	}
30025	return nil
30026}
30027
30028// SetName sets the Name field's value.
30029func (s *StartTriggerInput) SetName(v string) *StartTriggerInput {
30030	s.Name = &v
30031	return s
30032}
30033
30034type StartTriggerOutput struct {
30035	_ struct{} `type:"structure"`
30036
30037	// The name of the trigger that was started.
30038	Name *string `min:"1" type:"string"`
30039}
30040
30041// String returns the string representation
30042func (s StartTriggerOutput) String() string {
30043	return awsutil.Prettify(s)
30044}
30045
30046// GoString returns the string representation
30047func (s StartTriggerOutput) GoString() string {
30048	return s.String()
30049}
30050
30051// SetName sets the Name field's value.
30052func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput {
30053	s.Name = &v
30054	return s
30055}
30056
30057type StartWorkflowRunInput struct {
30058	_ struct{} `type:"structure"`
30059
30060	// The name of the workflow to start.
30061	//
30062	// Name is a required field
30063	Name *string `min:"1" type:"string" required:"true"`
30064}
30065
30066// String returns the string representation
30067func (s StartWorkflowRunInput) String() string {
30068	return awsutil.Prettify(s)
30069}
30070
30071// GoString returns the string representation
30072func (s StartWorkflowRunInput) GoString() string {
30073	return s.String()
30074}
30075
30076// Validate inspects the fields of the type to determine if they are valid.
30077func (s *StartWorkflowRunInput) Validate() error {
30078	invalidParams := request.ErrInvalidParams{Context: "StartWorkflowRunInput"}
30079	if s.Name == nil {
30080		invalidParams.Add(request.NewErrParamRequired("Name"))
30081	}
30082	if s.Name != nil && len(*s.Name) < 1 {
30083		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30084	}
30085
30086	if invalidParams.Len() > 0 {
30087		return invalidParams
30088	}
30089	return nil
30090}
30091
30092// SetName sets the Name field's value.
30093func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput {
30094	s.Name = &v
30095	return s
30096}
30097
30098type StartWorkflowRunOutput struct {
30099	_ struct{} `type:"structure"`
30100
30101	// An Id for the new run.
30102	RunId *string `min:"1" type:"string"`
30103}
30104
30105// String returns the string representation
30106func (s StartWorkflowRunOutput) String() string {
30107	return awsutil.Prettify(s)
30108}
30109
30110// GoString returns the string representation
30111func (s StartWorkflowRunOutput) GoString() string {
30112	return s.String()
30113}
30114
30115// SetRunId sets the RunId field's value.
30116func (s *StartWorkflowRunOutput) SetRunId(v string) *StartWorkflowRunOutput {
30117	s.RunId = &v
30118	return s
30119}
30120
30121type StopCrawlerInput struct {
30122	_ struct{} `type:"structure"`
30123
30124	// Name of the crawler to stop.
30125	//
30126	// Name is a required field
30127	Name *string `min:"1" type:"string" required:"true"`
30128}
30129
30130// String returns the string representation
30131func (s StopCrawlerInput) String() string {
30132	return awsutil.Prettify(s)
30133}
30134
30135// GoString returns the string representation
30136func (s StopCrawlerInput) GoString() string {
30137	return s.String()
30138}
30139
30140// Validate inspects the fields of the type to determine if they are valid.
30141func (s *StopCrawlerInput) Validate() error {
30142	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerInput"}
30143	if s.Name == nil {
30144		invalidParams.Add(request.NewErrParamRequired("Name"))
30145	}
30146	if s.Name != nil && len(*s.Name) < 1 {
30147		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30148	}
30149
30150	if invalidParams.Len() > 0 {
30151		return invalidParams
30152	}
30153	return nil
30154}
30155
30156// SetName sets the Name field's value.
30157func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput {
30158	s.Name = &v
30159	return s
30160}
30161
30162type StopCrawlerOutput struct {
30163	_ struct{} `type:"structure"`
30164}
30165
30166// String returns the string representation
30167func (s StopCrawlerOutput) String() string {
30168	return awsutil.Prettify(s)
30169}
30170
30171// GoString returns the string representation
30172func (s StopCrawlerOutput) GoString() string {
30173	return s.String()
30174}
30175
30176type StopCrawlerScheduleInput struct {
30177	_ struct{} `type:"structure"`
30178
30179	// Name of the crawler whose schedule state to set.
30180	//
30181	// CrawlerName is a required field
30182	CrawlerName *string `min:"1" type:"string" required:"true"`
30183}
30184
30185// String returns the string representation
30186func (s StopCrawlerScheduleInput) String() string {
30187	return awsutil.Prettify(s)
30188}
30189
30190// GoString returns the string representation
30191func (s StopCrawlerScheduleInput) GoString() string {
30192	return s.String()
30193}
30194
30195// Validate inspects the fields of the type to determine if they are valid.
30196func (s *StopCrawlerScheduleInput) Validate() error {
30197	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerScheduleInput"}
30198	if s.CrawlerName == nil {
30199		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
30200	}
30201	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
30202		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
30203	}
30204
30205	if invalidParams.Len() > 0 {
30206		return invalidParams
30207	}
30208	return nil
30209}
30210
30211// SetCrawlerName sets the CrawlerName field's value.
30212func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput {
30213	s.CrawlerName = &v
30214	return s
30215}
30216
30217type StopCrawlerScheduleOutput struct {
30218	_ struct{} `type:"structure"`
30219}
30220
30221// String returns the string representation
30222func (s StopCrawlerScheduleOutput) String() string {
30223	return awsutil.Prettify(s)
30224}
30225
30226// GoString returns the string representation
30227func (s StopCrawlerScheduleOutput) GoString() string {
30228	return s.String()
30229}
30230
30231type StopTriggerInput struct {
30232	_ struct{} `type:"structure"`
30233
30234	// The name of the trigger to stop.
30235	//
30236	// Name is a required field
30237	Name *string `min:"1" type:"string" required:"true"`
30238}
30239
30240// String returns the string representation
30241func (s StopTriggerInput) String() string {
30242	return awsutil.Prettify(s)
30243}
30244
30245// GoString returns the string representation
30246func (s StopTriggerInput) GoString() string {
30247	return s.String()
30248}
30249
30250// Validate inspects the fields of the type to determine if they are valid.
30251func (s *StopTriggerInput) Validate() error {
30252	invalidParams := request.ErrInvalidParams{Context: "StopTriggerInput"}
30253	if s.Name == nil {
30254		invalidParams.Add(request.NewErrParamRequired("Name"))
30255	}
30256	if s.Name != nil && len(*s.Name) < 1 {
30257		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30258	}
30259
30260	if invalidParams.Len() > 0 {
30261		return invalidParams
30262	}
30263	return nil
30264}
30265
30266// SetName sets the Name field's value.
30267func (s *StopTriggerInput) SetName(v string) *StopTriggerInput {
30268	s.Name = &v
30269	return s
30270}
30271
30272type StopTriggerOutput struct {
30273	_ struct{} `type:"structure"`
30274
30275	// The name of the trigger that was stopped.
30276	Name *string `min:"1" type:"string"`
30277}
30278
30279// String returns the string representation
30280func (s StopTriggerOutput) String() string {
30281	return awsutil.Prettify(s)
30282}
30283
30284// GoString returns the string representation
30285func (s StopTriggerOutput) GoString() string {
30286	return s.String()
30287}
30288
30289// SetName sets the Name field's value.
30290func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput {
30291	s.Name = &v
30292	return s
30293}
30294
30295// Describes the physical storage of table data.
30296type StorageDescriptor struct {
30297	_ struct{} `type:"structure"`
30298
30299	// A list of reducer grouping columns, clustering columns, and bucketing columns
30300	// in the table.
30301	BucketColumns []*string `type:"list"`
30302
30303	// A list of the Columns in the table.
30304	Columns []*Column `type:"list"`
30305
30306	// True if the data in the table is compressed, or False if not.
30307	Compressed *bool `type:"boolean"`
30308
30309	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or
30310	// a custom format.
30311	InputFormat *string `type:"string"`
30312
30313	// The physical location of the table. By default, this takes the form of the
30314	// warehouse location, followed by the database location in the warehouse, followed
30315	// by the table name.
30316	Location *string `type:"string"`
30317
30318	// Must be specified if the table contains any dimension columns.
30319	NumberOfBuckets *int64 `type:"integer"`
30320
30321	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
30322	// or a custom format.
30323	OutputFormat *string `type:"string"`
30324
30325	// The user-supplied properties in key-value form.
30326	Parameters map[string]*string `type:"map"`
30327
30328	// The serialization/deserialization (SerDe) information.
30329	SerdeInfo *SerDeInfo `type:"structure"`
30330
30331	// The information about values that appear frequently in a column (skewed values).
30332	SkewedInfo *SkewedInfo `type:"structure"`
30333
30334	// A list specifying the sort order of each bucket in the table.
30335	SortColumns []*Order `type:"list"`
30336
30337	// True if the table data is stored in subdirectories, or False if not.
30338	StoredAsSubDirectories *bool `type:"boolean"`
30339}
30340
30341// String returns the string representation
30342func (s StorageDescriptor) String() string {
30343	return awsutil.Prettify(s)
30344}
30345
30346// GoString returns the string representation
30347func (s StorageDescriptor) GoString() string {
30348	return s.String()
30349}
30350
30351// Validate inspects the fields of the type to determine if they are valid.
30352func (s *StorageDescriptor) Validate() error {
30353	invalidParams := request.ErrInvalidParams{Context: "StorageDescriptor"}
30354	if s.Columns != nil {
30355		for i, v := range s.Columns {
30356			if v == nil {
30357				continue
30358			}
30359			if err := v.Validate(); err != nil {
30360				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
30361			}
30362		}
30363	}
30364	if s.SerdeInfo != nil {
30365		if err := s.SerdeInfo.Validate(); err != nil {
30366			invalidParams.AddNested("SerdeInfo", err.(request.ErrInvalidParams))
30367		}
30368	}
30369	if s.SortColumns != nil {
30370		for i, v := range s.SortColumns {
30371			if v == nil {
30372				continue
30373			}
30374			if err := v.Validate(); err != nil {
30375				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortColumns", i), err.(request.ErrInvalidParams))
30376			}
30377		}
30378	}
30379
30380	if invalidParams.Len() > 0 {
30381		return invalidParams
30382	}
30383	return nil
30384}
30385
30386// SetBucketColumns sets the BucketColumns field's value.
30387func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor {
30388	s.BucketColumns = v
30389	return s
30390}
30391
30392// SetColumns sets the Columns field's value.
30393func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor {
30394	s.Columns = v
30395	return s
30396}
30397
30398// SetCompressed sets the Compressed field's value.
30399func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor {
30400	s.Compressed = &v
30401	return s
30402}
30403
30404// SetInputFormat sets the InputFormat field's value.
30405func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor {
30406	s.InputFormat = &v
30407	return s
30408}
30409
30410// SetLocation sets the Location field's value.
30411func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor {
30412	s.Location = &v
30413	return s
30414}
30415
30416// SetNumberOfBuckets sets the NumberOfBuckets field's value.
30417func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor {
30418	s.NumberOfBuckets = &v
30419	return s
30420}
30421
30422// SetOutputFormat sets the OutputFormat field's value.
30423func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor {
30424	s.OutputFormat = &v
30425	return s
30426}
30427
30428// SetParameters sets the Parameters field's value.
30429func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor {
30430	s.Parameters = v
30431	return s
30432}
30433
30434// SetSerdeInfo sets the SerdeInfo field's value.
30435func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor {
30436	s.SerdeInfo = v
30437	return s
30438}
30439
30440// SetSkewedInfo sets the SkewedInfo field's value.
30441func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor {
30442	s.SkewedInfo = v
30443	return s
30444}
30445
30446// SetSortColumns sets the SortColumns field's value.
30447func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor {
30448	s.SortColumns = v
30449	return s
30450}
30451
30452// SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value.
30453func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor {
30454	s.StoredAsSubDirectories = &v
30455	return s
30456}
30457
30458// The database and table in the AWS Glue Data Catalog that is used for input
30459// or output data.
30460type Table struct {
30461	_ struct{} `type:"structure"`
30462
30463	// A unique identifier for the AWS Glue Data Catalog.
30464	CatalogId *string `min:"1" type:"string"`
30465
30466	// The name of the connection to the AWS Glue Data Catalog.
30467	ConnectionName *string `min:"1" type:"string"`
30468
30469	// A database name in the AWS Glue Data Catalog.
30470	//
30471	// DatabaseName is a required field
30472	DatabaseName *string `min:"1" type:"string" required:"true"`
30473
30474	// A table name in the AWS Glue Data Catalog.
30475	//
30476	// TableName is a required field
30477	TableName *string `min:"1" type:"string" required:"true"`
30478}
30479
30480// String returns the string representation
30481func (s Table) String() string {
30482	return awsutil.Prettify(s)
30483}
30484
30485// GoString returns the string representation
30486func (s Table) GoString() string {
30487	return s.String()
30488}
30489
30490// Validate inspects the fields of the type to determine if they are valid.
30491func (s *Table) Validate() error {
30492	invalidParams := request.ErrInvalidParams{Context: "Table"}
30493	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30494		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30495	}
30496	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
30497		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
30498	}
30499	if s.DatabaseName == nil {
30500		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
30501	}
30502	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
30503		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
30504	}
30505	if s.TableName == nil {
30506		invalidParams.Add(request.NewErrParamRequired("TableName"))
30507	}
30508	if s.TableName != nil && len(*s.TableName) < 1 {
30509		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
30510	}
30511
30512	if invalidParams.Len() > 0 {
30513		return invalidParams
30514	}
30515	return nil
30516}
30517
30518// SetCatalogId sets the CatalogId field's value.
30519func (s *Table) SetCatalogId(v string) *Table {
30520	s.CatalogId = &v
30521	return s
30522}
30523
30524// SetConnectionName sets the ConnectionName field's value.
30525func (s *Table) SetConnectionName(v string) *Table {
30526	s.ConnectionName = &v
30527	return s
30528}
30529
30530// SetDatabaseName sets the DatabaseName field's value.
30531func (s *Table) SetDatabaseName(v string) *Table {
30532	s.DatabaseName = &v
30533	return s
30534}
30535
30536// SetTableName sets the TableName field's value.
30537func (s *Table) SetTableName(v string) *Table {
30538	s.TableName = &v
30539	return s
30540}
30541
30542// Represents a collection of related data organized in columns and rows.
30543type TableData struct {
30544	_ struct{} `type:"structure"`
30545
30546	// The time when the table definition was created in the Data Catalog.
30547	CreateTime *time.Time `type:"timestamp"`
30548
30549	// The person or entity who created the table.
30550	CreatedBy *string `min:"1" type:"string"`
30551
30552	// The name of the database where the table metadata resides. For Hive compatibility,
30553	// this must be all lowercase.
30554	DatabaseName *string `min:"1" type:"string"`
30555
30556	// A description of the table.
30557	Description *string `type:"string"`
30558
30559	// Indicates whether the table has been registered with AWS Lake Formation.
30560	IsRegisteredWithLakeFormation *bool `type:"boolean"`
30561
30562	// The last time that the table was accessed. This is usually taken from HDFS,
30563	// and might not be reliable.
30564	LastAccessTime *time.Time `type:"timestamp"`
30565
30566	// The last time that column statistics were computed for this table.
30567	LastAnalyzedTime *time.Time `type:"timestamp"`
30568
30569	// The table name. For Hive compatibility, this must be entirely lowercase.
30570	//
30571	// Name is a required field
30572	Name *string `min:"1" type:"string" required:"true"`
30573
30574	// The owner of the table.
30575	Owner *string `min:"1" type:"string"`
30576
30577	// These key-value pairs define properties associated with the table.
30578	Parameters map[string]*string `type:"map"`
30579
30580	// A list of columns by which the table is partitioned. Only primitive types
30581	// are supported as partition keys.
30582	//
30583	// When you create a table used by Amazon Athena, and you do not specify any
30584	// partitionKeys, you must at least set the value of partitionKeys to an empty
30585	// list. For example:
30586	//
30587	// "PartitionKeys": []
30588	PartitionKeys []*Column `type:"list"`
30589
30590	// The retention time for this table.
30591	Retention *int64 `type:"integer"`
30592
30593	// A storage descriptor containing information about the physical storage of
30594	// this table.
30595	StorageDescriptor *StorageDescriptor `type:"structure"`
30596
30597	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
30598	TableType *string `type:"string"`
30599
30600	// The last time that the table was updated.
30601	UpdateTime *time.Time `type:"timestamp"`
30602
30603	// If the table is a view, the expanded text of the view; otherwise null.
30604	ViewExpandedText *string `type:"string"`
30605
30606	// If the table is a view, the original text of the view; otherwise null.
30607	ViewOriginalText *string `type:"string"`
30608}
30609
30610// String returns the string representation
30611func (s TableData) String() string {
30612	return awsutil.Prettify(s)
30613}
30614
30615// GoString returns the string representation
30616func (s TableData) GoString() string {
30617	return s.String()
30618}
30619
30620// SetCreateTime sets the CreateTime field's value.
30621func (s *TableData) SetCreateTime(v time.Time) *TableData {
30622	s.CreateTime = &v
30623	return s
30624}
30625
30626// SetCreatedBy sets the CreatedBy field's value.
30627func (s *TableData) SetCreatedBy(v string) *TableData {
30628	s.CreatedBy = &v
30629	return s
30630}
30631
30632// SetDatabaseName sets the DatabaseName field's value.
30633func (s *TableData) SetDatabaseName(v string) *TableData {
30634	s.DatabaseName = &v
30635	return s
30636}
30637
30638// SetDescription sets the Description field's value.
30639func (s *TableData) SetDescription(v string) *TableData {
30640	s.Description = &v
30641	return s
30642}
30643
30644// SetIsRegisteredWithLakeFormation sets the IsRegisteredWithLakeFormation field's value.
30645func (s *TableData) SetIsRegisteredWithLakeFormation(v bool) *TableData {
30646	s.IsRegisteredWithLakeFormation = &v
30647	return s
30648}
30649
30650// SetLastAccessTime sets the LastAccessTime field's value.
30651func (s *TableData) SetLastAccessTime(v time.Time) *TableData {
30652	s.LastAccessTime = &v
30653	return s
30654}
30655
30656// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
30657func (s *TableData) SetLastAnalyzedTime(v time.Time) *TableData {
30658	s.LastAnalyzedTime = &v
30659	return s
30660}
30661
30662// SetName sets the Name field's value.
30663func (s *TableData) SetName(v string) *TableData {
30664	s.Name = &v
30665	return s
30666}
30667
30668// SetOwner sets the Owner field's value.
30669func (s *TableData) SetOwner(v string) *TableData {
30670	s.Owner = &v
30671	return s
30672}
30673
30674// SetParameters sets the Parameters field's value.
30675func (s *TableData) SetParameters(v map[string]*string) *TableData {
30676	s.Parameters = v
30677	return s
30678}
30679
30680// SetPartitionKeys sets the PartitionKeys field's value.
30681func (s *TableData) SetPartitionKeys(v []*Column) *TableData {
30682	s.PartitionKeys = v
30683	return s
30684}
30685
30686// SetRetention sets the Retention field's value.
30687func (s *TableData) SetRetention(v int64) *TableData {
30688	s.Retention = &v
30689	return s
30690}
30691
30692// SetStorageDescriptor sets the StorageDescriptor field's value.
30693func (s *TableData) SetStorageDescriptor(v *StorageDescriptor) *TableData {
30694	s.StorageDescriptor = v
30695	return s
30696}
30697
30698// SetTableType sets the TableType field's value.
30699func (s *TableData) SetTableType(v string) *TableData {
30700	s.TableType = &v
30701	return s
30702}
30703
30704// SetUpdateTime sets the UpdateTime field's value.
30705func (s *TableData) SetUpdateTime(v time.Time) *TableData {
30706	s.UpdateTime = &v
30707	return s
30708}
30709
30710// SetViewExpandedText sets the ViewExpandedText field's value.
30711func (s *TableData) SetViewExpandedText(v string) *TableData {
30712	s.ViewExpandedText = &v
30713	return s
30714}
30715
30716// SetViewOriginalText sets the ViewOriginalText field's value.
30717func (s *TableData) SetViewOriginalText(v string) *TableData {
30718	s.ViewOriginalText = &v
30719	return s
30720}
30721
30722// An error record for table operations.
30723type TableError struct {
30724	_ struct{} `type:"structure"`
30725
30726	// The details about the error.
30727	ErrorDetail *ErrorDetail `type:"structure"`
30728
30729	// The name of the table. For Hive compatibility, this must be entirely lowercase.
30730	TableName *string `min:"1" type:"string"`
30731}
30732
30733// String returns the string representation
30734func (s TableError) String() string {
30735	return awsutil.Prettify(s)
30736}
30737
30738// GoString returns the string representation
30739func (s TableError) GoString() string {
30740	return s.String()
30741}
30742
30743// SetErrorDetail sets the ErrorDetail field's value.
30744func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError {
30745	s.ErrorDetail = v
30746	return s
30747}
30748
30749// SetTableName sets the TableName field's value.
30750func (s *TableError) SetTableName(v string) *TableError {
30751	s.TableName = &v
30752	return s
30753}
30754
30755// A structure used to define a table.
30756type TableInput struct {
30757	_ struct{} `type:"structure"`
30758
30759	// A description of the table.
30760	Description *string `type:"string"`
30761
30762	// The last time that the table was accessed.
30763	LastAccessTime *time.Time `type:"timestamp"`
30764
30765	// The last time that column statistics were computed for this table.
30766	LastAnalyzedTime *time.Time `type:"timestamp"`
30767
30768	// The table name. For Hive compatibility, this is folded to lowercase when
30769	// it is stored.
30770	//
30771	// Name is a required field
30772	Name *string `min:"1" type:"string" required:"true"`
30773
30774	// The table owner.
30775	Owner *string `min:"1" type:"string"`
30776
30777	// These key-value pairs define properties associated with the table.
30778	Parameters map[string]*string `type:"map"`
30779
30780	// A list of columns by which the table is partitioned. Only primitive types
30781	// are supported as partition keys.
30782	//
30783	// When you create a table used by Amazon Athena, and you do not specify any
30784	// partitionKeys, you must at least set the value of partitionKeys to an empty
30785	// list. For example:
30786	//
30787	// "PartitionKeys": []
30788	PartitionKeys []*Column `type:"list"`
30789
30790	// The retention time for this table.
30791	Retention *int64 `type:"integer"`
30792
30793	// A storage descriptor containing information about the physical storage of
30794	// this table.
30795	StorageDescriptor *StorageDescriptor `type:"structure"`
30796
30797	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
30798	TableType *string `type:"string"`
30799
30800	// If the table is a view, the expanded text of the view; otherwise null.
30801	ViewExpandedText *string `type:"string"`
30802
30803	// If the table is a view, the original text of the view; otherwise null.
30804	ViewOriginalText *string `type:"string"`
30805}
30806
30807// String returns the string representation
30808func (s TableInput) String() string {
30809	return awsutil.Prettify(s)
30810}
30811
30812// GoString returns the string representation
30813func (s TableInput) GoString() string {
30814	return s.String()
30815}
30816
30817// Validate inspects the fields of the type to determine if they are valid.
30818func (s *TableInput) Validate() error {
30819	invalidParams := request.ErrInvalidParams{Context: "TableInput"}
30820	if s.Name == nil {
30821		invalidParams.Add(request.NewErrParamRequired("Name"))
30822	}
30823	if s.Name != nil && len(*s.Name) < 1 {
30824		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30825	}
30826	if s.Owner != nil && len(*s.Owner) < 1 {
30827		invalidParams.Add(request.NewErrParamMinLen("Owner", 1))
30828	}
30829	if s.PartitionKeys != nil {
30830		for i, v := range s.PartitionKeys {
30831			if v == nil {
30832				continue
30833			}
30834			if err := v.Validate(); err != nil {
30835				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionKeys", i), err.(request.ErrInvalidParams))
30836			}
30837		}
30838	}
30839	if s.StorageDescriptor != nil {
30840		if err := s.StorageDescriptor.Validate(); err != nil {
30841			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
30842		}
30843	}
30844
30845	if invalidParams.Len() > 0 {
30846		return invalidParams
30847	}
30848	return nil
30849}
30850
30851// SetDescription sets the Description field's value.
30852func (s *TableInput) SetDescription(v string) *TableInput {
30853	s.Description = &v
30854	return s
30855}
30856
30857// SetLastAccessTime sets the LastAccessTime field's value.
30858func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput {
30859	s.LastAccessTime = &v
30860	return s
30861}
30862
30863// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
30864func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput {
30865	s.LastAnalyzedTime = &v
30866	return s
30867}
30868
30869// SetName sets the Name field's value.
30870func (s *TableInput) SetName(v string) *TableInput {
30871	s.Name = &v
30872	return s
30873}
30874
30875// SetOwner sets the Owner field's value.
30876func (s *TableInput) SetOwner(v string) *TableInput {
30877	s.Owner = &v
30878	return s
30879}
30880
30881// SetParameters sets the Parameters field's value.
30882func (s *TableInput) SetParameters(v map[string]*string) *TableInput {
30883	s.Parameters = v
30884	return s
30885}
30886
30887// SetPartitionKeys sets the PartitionKeys field's value.
30888func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput {
30889	s.PartitionKeys = v
30890	return s
30891}
30892
30893// SetRetention sets the Retention field's value.
30894func (s *TableInput) SetRetention(v int64) *TableInput {
30895	s.Retention = &v
30896	return s
30897}
30898
30899// SetStorageDescriptor sets the StorageDescriptor field's value.
30900func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput {
30901	s.StorageDescriptor = v
30902	return s
30903}
30904
30905// SetTableType sets the TableType field's value.
30906func (s *TableInput) SetTableType(v string) *TableInput {
30907	s.TableType = &v
30908	return s
30909}
30910
30911// SetViewExpandedText sets the ViewExpandedText field's value.
30912func (s *TableInput) SetViewExpandedText(v string) *TableInput {
30913	s.ViewExpandedText = &v
30914	return s
30915}
30916
30917// SetViewOriginalText sets the ViewOriginalText field's value.
30918func (s *TableInput) SetViewOriginalText(v string) *TableInput {
30919	s.ViewOriginalText = &v
30920	return s
30921}
30922
30923// Specifies a version of a table.
30924type TableVersion struct {
30925	_ struct{} `type:"structure"`
30926
30927	// The table in question.
30928	Table *TableData `type:"structure"`
30929
30930	// The ID value that identifies this table version. A VersionId is a string
30931	// representation of an integer. Each version is incremented by 1.
30932	VersionId *string `min:"1" type:"string"`
30933}
30934
30935// String returns the string representation
30936func (s TableVersion) String() string {
30937	return awsutil.Prettify(s)
30938}
30939
30940// GoString returns the string representation
30941func (s TableVersion) GoString() string {
30942	return s.String()
30943}
30944
30945// SetTable sets the Table field's value.
30946func (s *TableVersion) SetTable(v *TableData) *TableVersion {
30947	s.Table = v
30948	return s
30949}
30950
30951// SetVersionId sets the VersionId field's value.
30952func (s *TableVersion) SetVersionId(v string) *TableVersion {
30953	s.VersionId = &v
30954	return s
30955}
30956
30957// An error record for table-version operations.
30958type TableVersionError struct {
30959	_ struct{} `type:"structure"`
30960
30961	// The details about the error.
30962	ErrorDetail *ErrorDetail `type:"structure"`
30963
30964	// The name of the table in question.
30965	TableName *string `min:"1" type:"string"`
30966
30967	// The ID value of the version in question. A VersionID is a string representation
30968	// of an integer. Each version is incremented by 1.
30969	VersionId *string `min:"1" type:"string"`
30970}
30971
30972// String returns the string representation
30973func (s TableVersionError) String() string {
30974	return awsutil.Prettify(s)
30975}
30976
30977// GoString returns the string representation
30978func (s TableVersionError) GoString() string {
30979	return s.String()
30980}
30981
30982// SetErrorDetail sets the ErrorDetail field's value.
30983func (s *TableVersionError) SetErrorDetail(v *ErrorDetail) *TableVersionError {
30984	s.ErrorDetail = v
30985	return s
30986}
30987
30988// SetTableName sets the TableName field's value.
30989func (s *TableVersionError) SetTableName(v string) *TableVersionError {
30990	s.TableName = &v
30991	return s
30992}
30993
30994// SetVersionId sets the VersionId field's value.
30995func (s *TableVersionError) SetVersionId(v string) *TableVersionError {
30996	s.VersionId = &v
30997	return s
30998}
30999
31000type TagResourceInput struct {
31001	_ struct{} `type:"structure"`
31002
31003	// The ARN of the AWS Glue resource to which to add the tags. For more information
31004	// 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).
31005	//
31006	// ResourceArn is a required field
31007	ResourceArn *string `min:"1" type:"string" required:"true"`
31008
31009	// Tags to add to this resource.
31010	//
31011	// TagsToAdd is a required field
31012	TagsToAdd map[string]*string `type:"map" required:"true"`
31013}
31014
31015// String returns the string representation
31016func (s TagResourceInput) String() string {
31017	return awsutil.Prettify(s)
31018}
31019
31020// GoString returns the string representation
31021func (s TagResourceInput) GoString() string {
31022	return s.String()
31023}
31024
31025// Validate inspects the fields of the type to determine if they are valid.
31026func (s *TagResourceInput) Validate() error {
31027	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
31028	if s.ResourceArn == nil {
31029		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
31030	}
31031	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
31032		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
31033	}
31034	if s.TagsToAdd == nil {
31035		invalidParams.Add(request.NewErrParamRequired("TagsToAdd"))
31036	}
31037
31038	if invalidParams.Len() > 0 {
31039		return invalidParams
31040	}
31041	return nil
31042}
31043
31044// SetResourceArn sets the ResourceArn field's value.
31045func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
31046	s.ResourceArn = &v
31047	return s
31048}
31049
31050// SetTagsToAdd sets the TagsToAdd field's value.
31051func (s *TagResourceInput) SetTagsToAdd(v map[string]*string) *TagResourceInput {
31052	s.TagsToAdd = v
31053	return s
31054}
31055
31056type TagResourceOutput struct {
31057	_ struct{} `type:"structure"`
31058}
31059
31060// String returns the string representation
31061func (s TagResourceOutput) String() string {
31062	return awsutil.Prettify(s)
31063}
31064
31065// GoString returns the string representation
31066func (s TagResourceOutput) GoString() string {
31067	return s.String()
31068}
31069
31070// The sampling parameters that are associated with the machine learning transform.
31071type TaskRun struct {
31072	_ struct{} `type:"structure"`
31073
31074	// The last point in time that the requested task run was completed.
31075	CompletedOn *time.Time `type:"timestamp"`
31076
31077	// The list of error strings associated with this task run.
31078	ErrorString *string `type:"string"`
31079
31080	// The amount of time (in seconds) that the task run consumed resources.
31081	ExecutionTime *int64 `type:"integer"`
31082
31083	// The last point in time that the requested task run was updated.
31084	LastModifiedOn *time.Time `type:"timestamp"`
31085
31086	// The names of the log group for secure logging, associated with this task
31087	// run.
31088	LogGroupName *string `type:"string"`
31089
31090	// Specifies configuration properties associated with this task run.
31091	Properties *TaskRunProperties `type:"structure"`
31092
31093	// The date and time that this task run started.
31094	StartedOn *time.Time `type:"timestamp"`
31095
31096	// The current status of the requested task run.
31097	Status *string `type:"string" enum:"TaskStatusType"`
31098
31099	// The unique identifier for this task run.
31100	TaskRunId *string `min:"1" type:"string"`
31101
31102	// The unique identifier for the transform.
31103	TransformId *string `min:"1" type:"string"`
31104}
31105
31106// String returns the string representation
31107func (s TaskRun) String() string {
31108	return awsutil.Prettify(s)
31109}
31110
31111// GoString returns the string representation
31112func (s TaskRun) GoString() string {
31113	return s.String()
31114}
31115
31116// SetCompletedOn sets the CompletedOn field's value.
31117func (s *TaskRun) SetCompletedOn(v time.Time) *TaskRun {
31118	s.CompletedOn = &v
31119	return s
31120}
31121
31122// SetErrorString sets the ErrorString field's value.
31123func (s *TaskRun) SetErrorString(v string) *TaskRun {
31124	s.ErrorString = &v
31125	return s
31126}
31127
31128// SetExecutionTime sets the ExecutionTime field's value.
31129func (s *TaskRun) SetExecutionTime(v int64) *TaskRun {
31130	s.ExecutionTime = &v
31131	return s
31132}
31133
31134// SetLastModifiedOn sets the LastModifiedOn field's value.
31135func (s *TaskRun) SetLastModifiedOn(v time.Time) *TaskRun {
31136	s.LastModifiedOn = &v
31137	return s
31138}
31139
31140// SetLogGroupName sets the LogGroupName field's value.
31141func (s *TaskRun) SetLogGroupName(v string) *TaskRun {
31142	s.LogGroupName = &v
31143	return s
31144}
31145
31146// SetProperties sets the Properties field's value.
31147func (s *TaskRun) SetProperties(v *TaskRunProperties) *TaskRun {
31148	s.Properties = v
31149	return s
31150}
31151
31152// SetStartedOn sets the StartedOn field's value.
31153func (s *TaskRun) SetStartedOn(v time.Time) *TaskRun {
31154	s.StartedOn = &v
31155	return s
31156}
31157
31158// SetStatus sets the Status field's value.
31159func (s *TaskRun) SetStatus(v string) *TaskRun {
31160	s.Status = &v
31161	return s
31162}
31163
31164// SetTaskRunId sets the TaskRunId field's value.
31165func (s *TaskRun) SetTaskRunId(v string) *TaskRun {
31166	s.TaskRunId = &v
31167	return s
31168}
31169
31170// SetTransformId sets the TransformId field's value.
31171func (s *TaskRun) SetTransformId(v string) *TaskRun {
31172	s.TransformId = &v
31173	return s
31174}
31175
31176// The criteria that are used to filter the task runs for the machine learning
31177// transform.
31178type TaskRunFilterCriteria struct {
31179	_ struct{} `type:"structure"`
31180
31181	// Filter on task runs started after this date.
31182	StartedAfter *time.Time `type:"timestamp"`
31183
31184	// Filter on task runs started before this date.
31185	StartedBefore *time.Time `type:"timestamp"`
31186
31187	// The current status of the task run.
31188	Status *string `type:"string" enum:"TaskStatusType"`
31189
31190	// The type of task run.
31191	TaskRunType *string `type:"string" enum:"TaskType"`
31192}
31193
31194// String returns the string representation
31195func (s TaskRunFilterCriteria) String() string {
31196	return awsutil.Prettify(s)
31197}
31198
31199// GoString returns the string representation
31200func (s TaskRunFilterCriteria) GoString() string {
31201	return s.String()
31202}
31203
31204// SetStartedAfter sets the StartedAfter field's value.
31205func (s *TaskRunFilterCriteria) SetStartedAfter(v time.Time) *TaskRunFilterCriteria {
31206	s.StartedAfter = &v
31207	return s
31208}
31209
31210// SetStartedBefore sets the StartedBefore field's value.
31211func (s *TaskRunFilterCriteria) SetStartedBefore(v time.Time) *TaskRunFilterCriteria {
31212	s.StartedBefore = &v
31213	return s
31214}
31215
31216// SetStatus sets the Status field's value.
31217func (s *TaskRunFilterCriteria) SetStatus(v string) *TaskRunFilterCriteria {
31218	s.Status = &v
31219	return s
31220}
31221
31222// SetTaskRunType sets the TaskRunType field's value.
31223func (s *TaskRunFilterCriteria) SetTaskRunType(v string) *TaskRunFilterCriteria {
31224	s.TaskRunType = &v
31225	return s
31226}
31227
31228// The configuration properties for the task run.
31229type TaskRunProperties struct {
31230	_ struct{} `type:"structure"`
31231
31232	// The configuration properties for an exporting labels task run.
31233	ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties `type:"structure"`
31234
31235	// The configuration properties for a find matches task run.
31236	FindMatchesTaskRunProperties *FindMatchesTaskRunProperties `type:"structure"`
31237
31238	// The configuration properties for an importing labels task run.
31239	ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties `type:"structure"`
31240
31241	// The configuration properties for a labeling set generation task run.
31242	LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties `type:"structure"`
31243
31244	// The type of task run.
31245	TaskType *string `type:"string" enum:"TaskType"`
31246}
31247
31248// String returns the string representation
31249func (s TaskRunProperties) String() string {
31250	return awsutil.Prettify(s)
31251}
31252
31253// GoString returns the string representation
31254func (s TaskRunProperties) GoString() string {
31255	return s.String()
31256}
31257
31258// SetExportLabelsTaskRunProperties sets the ExportLabelsTaskRunProperties field's value.
31259func (s *TaskRunProperties) SetExportLabelsTaskRunProperties(v *ExportLabelsTaskRunProperties) *TaskRunProperties {
31260	s.ExportLabelsTaskRunProperties = v
31261	return s
31262}
31263
31264// SetFindMatchesTaskRunProperties sets the FindMatchesTaskRunProperties field's value.
31265func (s *TaskRunProperties) SetFindMatchesTaskRunProperties(v *FindMatchesTaskRunProperties) *TaskRunProperties {
31266	s.FindMatchesTaskRunProperties = v
31267	return s
31268}
31269
31270// SetImportLabelsTaskRunProperties sets the ImportLabelsTaskRunProperties field's value.
31271func (s *TaskRunProperties) SetImportLabelsTaskRunProperties(v *ImportLabelsTaskRunProperties) *TaskRunProperties {
31272	s.ImportLabelsTaskRunProperties = v
31273	return s
31274}
31275
31276// SetLabelingSetGenerationTaskRunProperties sets the LabelingSetGenerationTaskRunProperties field's value.
31277func (s *TaskRunProperties) SetLabelingSetGenerationTaskRunProperties(v *LabelingSetGenerationTaskRunProperties) *TaskRunProperties {
31278	s.LabelingSetGenerationTaskRunProperties = v
31279	return s
31280}
31281
31282// SetTaskType sets the TaskType field's value.
31283func (s *TaskRunProperties) SetTaskType(v string) *TaskRunProperties {
31284	s.TaskType = &v
31285	return s
31286}
31287
31288// The sorting criteria that are used to sort the list of task runs for the
31289// machine learning transform.
31290type TaskRunSortCriteria struct {
31291	_ struct{} `type:"structure"`
31292
31293	// The column to be used to sort the list of task runs for the machine learning
31294	// transform.
31295	//
31296	// Column is a required field
31297	Column *string `type:"string" required:"true" enum:"TaskRunSortColumnType"`
31298
31299	// The sort direction to be used to sort the list of task runs for the machine
31300	// learning transform.
31301	//
31302	// SortDirection is a required field
31303	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
31304}
31305
31306// String returns the string representation
31307func (s TaskRunSortCriteria) String() string {
31308	return awsutil.Prettify(s)
31309}
31310
31311// GoString returns the string representation
31312func (s TaskRunSortCriteria) GoString() string {
31313	return s.String()
31314}
31315
31316// Validate inspects the fields of the type to determine if they are valid.
31317func (s *TaskRunSortCriteria) Validate() error {
31318	invalidParams := request.ErrInvalidParams{Context: "TaskRunSortCriteria"}
31319	if s.Column == nil {
31320		invalidParams.Add(request.NewErrParamRequired("Column"))
31321	}
31322	if s.SortDirection == nil {
31323		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
31324	}
31325
31326	if invalidParams.Len() > 0 {
31327		return invalidParams
31328	}
31329	return nil
31330}
31331
31332// SetColumn sets the Column field's value.
31333func (s *TaskRunSortCriteria) SetColumn(v string) *TaskRunSortCriteria {
31334	s.Column = &v
31335	return s
31336}
31337
31338// SetSortDirection sets the SortDirection field's value.
31339func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria {
31340	s.SortDirection = &v
31341	return s
31342}
31343
31344// The criteria used to filter the machine learning transforms.
31345type TransformFilterCriteria struct {
31346	_ struct{} `type:"structure"`
31347
31348	// The time and date after which the transforms were created.
31349	CreatedAfter *time.Time `type:"timestamp"`
31350
31351	// The time and date before which the transforms were created.
31352	CreatedBefore *time.Time `type:"timestamp"`
31353
31354	// This value determines which version of AWS Glue this machine learning transform
31355	// is compatible with. Glue 1.0 is recommended for most customers. If the value
31356	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
31357	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
31358	// in the developer guide.
31359	GlueVersion *string `min:"1" type:"string"`
31360
31361	// Filter on transforms last modified after this date.
31362	LastModifiedAfter *time.Time `type:"timestamp"`
31363
31364	// Filter on transforms last modified before this date.
31365	LastModifiedBefore *time.Time `type:"timestamp"`
31366
31367	// A unique transform name that is used to filter the machine learning transforms.
31368	Name *string `min:"1" type:"string"`
31369
31370	// Filters on datasets with a specific schema. The Map<Column, Type> object
31371	// is an array of key-value pairs representing the schema this transform accepts,
31372	// where Column is the name of a column, and Type is the type of the data such
31373	// as an integer or string. Has an upper bound of 100 columns.
31374	Schema []*SchemaColumn `type:"list"`
31375
31376	// Filters the list of machine learning transforms by the last known status
31377	// of the transforms (to indicate whether a transform can be used or not). One
31378	// of "NOT_READY", "READY", or "DELETING".
31379	Status *string `type:"string" enum:"TransformStatusType"`
31380
31381	// The type of machine learning transform that is used to filter the machine
31382	// learning transforms.
31383	TransformType *string `type:"string" enum:"TransformType"`
31384}
31385
31386// String returns the string representation
31387func (s TransformFilterCriteria) String() string {
31388	return awsutil.Prettify(s)
31389}
31390
31391// GoString returns the string representation
31392func (s TransformFilterCriteria) GoString() string {
31393	return s.String()
31394}
31395
31396// Validate inspects the fields of the type to determine if they are valid.
31397func (s *TransformFilterCriteria) Validate() error {
31398	invalidParams := request.ErrInvalidParams{Context: "TransformFilterCriteria"}
31399	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
31400		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
31401	}
31402	if s.Name != nil && len(*s.Name) < 1 {
31403		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31404	}
31405	if s.Schema != nil {
31406		for i, v := range s.Schema {
31407			if v == nil {
31408				continue
31409			}
31410			if err := v.Validate(); err != nil {
31411				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams))
31412			}
31413		}
31414	}
31415
31416	if invalidParams.Len() > 0 {
31417		return invalidParams
31418	}
31419	return nil
31420}
31421
31422// SetCreatedAfter sets the CreatedAfter field's value.
31423func (s *TransformFilterCriteria) SetCreatedAfter(v time.Time) *TransformFilterCriteria {
31424	s.CreatedAfter = &v
31425	return s
31426}
31427
31428// SetCreatedBefore sets the CreatedBefore field's value.
31429func (s *TransformFilterCriteria) SetCreatedBefore(v time.Time) *TransformFilterCriteria {
31430	s.CreatedBefore = &v
31431	return s
31432}
31433
31434// SetGlueVersion sets the GlueVersion field's value.
31435func (s *TransformFilterCriteria) SetGlueVersion(v string) *TransformFilterCriteria {
31436	s.GlueVersion = &v
31437	return s
31438}
31439
31440// SetLastModifiedAfter sets the LastModifiedAfter field's value.
31441func (s *TransformFilterCriteria) SetLastModifiedAfter(v time.Time) *TransformFilterCriteria {
31442	s.LastModifiedAfter = &v
31443	return s
31444}
31445
31446// SetLastModifiedBefore sets the LastModifiedBefore field's value.
31447func (s *TransformFilterCriteria) SetLastModifiedBefore(v time.Time) *TransformFilterCriteria {
31448	s.LastModifiedBefore = &v
31449	return s
31450}
31451
31452// SetName sets the Name field's value.
31453func (s *TransformFilterCriteria) SetName(v string) *TransformFilterCriteria {
31454	s.Name = &v
31455	return s
31456}
31457
31458// SetSchema sets the Schema field's value.
31459func (s *TransformFilterCriteria) SetSchema(v []*SchemaColumn) *TransformFilterCriteria {
31460	s.Schema = v
31461	return s
31462}
31463
31464// SetStatus sets the Status field's value.
31465func (s *TransformFilterCriteria) SetStatus(v string) *TransformFilterCriteria {
31466	s.Status = &v
31467	return s
31468}
31469
31470// SetTransformType sets the TransformType field's value.
31471func (s *TransformFilterCriteria) SetTransformType(v string) *TransformFilterCriteria {
31472	s.TransformType = &v
31473	return s
31474}
31475
31476// The algorithm-specific parameters that are associated with the machine learning
31477// transform.
31478type TransformParameters struct {
31479	_ struct{} `type:"structure"`
31480
31481	// The parameters for the find matches algorithm.
31482	FindMatchesParameters *FindMatchesParameters `type:"structure"`
31483
31484	// The type of machine learning transform.
31485	//
31486	// For information about the types of machine learning transforms, see Creating
31487	// Machine Learning Transforms (http://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html).
31488	//
31489	// TransformType is a required field
31490	TransformType *string `type:"string" required:"true" enum:"TransformType"`
31491}
31492
31493// String returns the string representation
31494func (s TransformParameters) String() string {
31495	return awsutil.Prettify(s)
31496}
31497
31498// GoString returns the string representation
31499func (s TransformParameters) GoString() string {
31500	return s.String()
31501}
31502
31503// Validate inspects the fields of the type to determine if they are valid.
31504func (s *TransformParameters) Validate() error {
31505	invalidParams := request.ErrInvalidParams{Context: "TransformParameters"}
31506	if s.TransformType == nil {
31507		invalidParams.Add(request.NewErrParamRequired("TransformType"))
31508	}
31509	if s.FindMatchesParameters != nil {
31510		if err := s.FindMatchesParameters.Validate(); err != nil {
31511			invalidParams.AddNested("FindMatchesParameters", err.(request.ErrInvalidParams))
31512		}
31513	}
31514
31515	if invalidParams.Len() > 0 {
31516		return invalidParams
31517	}
31518	return nil
31519}
31520
31521// SetFindMatchesParameters sets the FindMatchesParameters field's value.
31522func (s *TransformParameters) SetFindMatchesParameters(v *FindMatchesParameters) *TransformParameters {
31523	s.FindMatchesParameters = v
31524	return s
31525}
31526
31527// SetTransformType sets the TransformType field's value.
31528func (s *TransformParameters) SetTransformType(v string) *TransformParameters {
31529	s.TransformType = &v
31530	return s
31531}
31532
31533// The sorting criteria that are associated with the machine learning transform.
31534type TransformSortCriteria struct {
31535	_ struct{} `type:"structure"`
31536
31537	// The column to be used in the sorting criteria that are associated with the
31538	// machine learning transform.
31539	//
31540	// Column is a required field
31541	Column *string `type:"string" required:"true" enum:"TransformSortColumnType"`
31542
31543	// The sort direction to be used in the sorting criteria that are associated
31544	// with the machine learning transform.
31545	//
31546	// SortDirection is a required field
31547	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
31548}
31549
31550// String returns the string representation
31551func (s TransformSortCriteria) String() string {
31552	return awsutil.Prettify(s)
31553}
31554
31555// GoString returns the string representation
31556func (s TransformSortCriteria) GoString() string {
31557	return s.String()
31558}
31559
31560// Validate inspects the fields of the type to determine if they are valid.
31561func (s *TransformSortCriteria) Validate() error {
31562	invalidParams := request.ErrInvalidParams{Context: "TransformSortCriteria"}
31563	if s.Column == nil {
31564		invalidParams.Add(request.NewErrParamRequired("Column"))
31565	}
31566	if s.SortDirection == nil {
31567		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
31568	}
31569
31570	if invalidParams.Len() > 0 {
31571		return invalidParams
31572	}
31573	return nil
31574}
31575
31576// SetColumn sets the Column field's value.
31577func (s *TransformSortCriteria) SetColumn(v string) *TransformSortCriteria {
31578	s.Column = &v
31579	return s
31580}
31581
31582// SetSortDirection sets the SortDirection field's value.
31583func (s *TransformSortCriteria) SetSortDirection(v string) *TransformSortCriteria {
31584	s.SortDirection = &v
31585	return s
31586}
31587
31588// Information about a specific trigger.
31589type Trigger struct {
31590	_ struct{} `type:"structure"`
31591
31592	// The actions initiated by this trigger.
31593	Actions []*Action `type:"list"`
31594
31595	// A description of this trigger.
31596	Description *string `type:"string"`
31597
31598	// Reserved for future use.
31599	Id *string `min:"1" type:"string"`
31600
31601	// The name of the trigger.
31602	Name *string `min:"1" type:"string"`
31603
31604	// The predicate of this trigger, which defines when it will fire.
31605	Predicate *Predicate `type:"structure"`
31606
31607	// A cron expression used to specify the schedule (see Time-Based Schedules
31608	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
31609	// For example, to run something every day at 12:15 UTC, you would specify:
31610	// cron(15 12 * * ? *).
31611	Schedule *string `type:"string"`
31612
31613	// The current state of the trigger.
31614	State *string `type:"string" enum:"TriggerState"`
31615
31616	// The type of trigger that this is.
31617	Type *string `type:"string" enum:"TriggerType"`
31618
31619	// The name of the workflow associated with the trigger.
31620	WorkflowName *string `min:"1" type:"string"`
31621}
31622
31623// String returns the string representation
31624func (s Trigger) String() string {
31625	return awsutil.Prettify(s)
31626}
31627
31628// GoString returns the string representation
31629func (s Trigger) GoString() string {
31630	return s.String()
31631}
31632
31633// SetActions sets the Actions field's value.
31634func (s *Trigger) SetActions(v []*Action) *Trigger {
31635	s.Actions = v
31636	return s
31637}
31638
31639// SetDescription sets the Description field's value.
31640func (s *Trigger) SetDescription(v string) *Trigger {
31641	s.Description = &v
31642	return s
31643}
31644
31645// SetId sets the Id field's value.
31646func (s *Trigger) SetId(v string) *Trigger {
31647	s.Id = &v
31648	return s
31649}
31650
31651// SetName sets the Name field's value.
31652func (s *Trigger) SetName(v string) *Trigger {
31653	s.Name = &v
31654	return s
31655}
31656
31657// SetPredicate sets the Predicate field's value.
31658func (s *Trigger) SetPredicate(v *Predicate) *Trigger {
31659	s.Predicate = v
31660	return s
31661}
31662
31663// SetSchedule sets the Schedule field's value.
31664func (s *Trigger) SetSchedule(v string) *Trigger {
31665	s.Schedule = &v
31666	return s
31667}
31668
31669// SetState sets the State field's value.
31670func (s *Trigger) SetState(v string) *Trigger {
31671	s.State = &v
31672	return s
31673}
31674
31675// SetType sets the Type field's value.
31676func (s *Trigger) SetType(v string) *Trigger {
31677	s.Type = &v
31678	return s
31679}
31680
31681// SetWorkflowName sets the WorkflowName field's value.
31682func (s *Trigger) SetWorkflowName(v string) *Trigger {
31683	s.WorkflowName = &v
31684	return s
31685}
31686
31687// The details of a Trigger node present in the workflow.
31688type TriggerNodeDetails struct {
31689	_ struct{} `type:"structure"`
31690
31691	// The information of the trigger represented by the trigger node.
31692	Trigger *Trigger `type:"structure"`
31693}
31694
31695// String returns the string representation
31696func (s TriggerNodeDetails) String() string {
31697	return awsutil.Prettify(s)
31698}
31699
31700// GoString returns the string representation
31701func (s TriggerNodeDetails) GoString() string {
31702	return s.String()
31703}
31704
31705// SetTrigger sets the Trigger field's value.
31706func (s *TriggerNodeDetails) SetTrigger(v *Trigger) *TriggerNodeDetails {
31707	s.Trigger = v
31708	return s
31709}
31710
31711// A structure used to provide information used to update a trigger. This object
31712// updates the previous trigger definition by overwriting it completely.
31713type TriggerUpdate struct {
31714	_ struct{} `type:"structure"`
31715
31716	// The actions initiated by this trigger.
31717	Actions []*Action `type:"list"`
31718
31719	// A description of this trigger.
31720	Description *string `type:"string"`
31721
31722	// Reserved for future use.
31723	Name *string `min:"1" type:"string"`
31724
31725	// The predicate of this trigger, which defines when it will fire.
31726	Predicate *Predicate `type:"structure"`
31727
31728	// A cron expression used to specify the schedule (see Time-Based Schedules
31729	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
31730	// For example, to run something every day at 12:15 UTC, you would specify:
31731	// cron(15 12 * * ? *).
31732	Schedule *string `type:"string"`
31733}
31734
31735// String returns the string representation
31736func (s TriggerUpdate) String() string {
31737	return awsutil.Prettify(s)
31738}
31739
31740// GoString returns the string representation
31741func (s TriggerUpdate) GoString() string {
31742	return s.String()
31743}
31744
31745// Validate inspects the fields of the type to determine if they are valid.
31746func (s *TriggerUpdate) Validate() error {
31747	invalidParams := request.ErrInvalidParams{Context: "TriggerUpdate"}
31748	if s.Name != nil && len(*s.Name) < 1 {
31749		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31750	}
31751	if s.Actions != nil {
31752		for i, v := range s.Actions {
31753			if v == nil {
31754				continue
31755			}
31756			if err := v.Validate(); err != nil {
31757				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
31758			}
31759		}
31760	}
31761	if s.Predicate != nil {
31762		if err := s.Predicate.Validate(); err != nil {
31763			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
31764		}
31765	}
31766
31767	if invalidParams.Len() > 0 {
31768		return invalidParams
31769	}
31770	return nil
31771}
31772
31773// SetActions sets the Actions field's value.
31774func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate {
31775	s.Actions = v
31776	return s
31777}
31778
31779// SetDescription sets the Description field's value.
31780func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate {
31781	s.Description = &v
31782	return s
31783}
31784
31785// SetName sets the Name field's value.
31786func (s *TriggerUpdate) SetName(v string) *TriggerUpdate {
31787	s.Name = &v
31788	return s
31789}
31790
31791// SetPredicate sets the Predicate field's value.
31792func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate {
31793	s.Predicate = v
31794	return s
31795}
31796
31797// SetSchedule sets the Schedule field's value.
31798func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate {
31799	s.Schedule = &v
31800	return s
31801}
31802
31803type UntagResourceInput struct {
31804	_ struct{} `type:"structure"`
31805
31806	// The Amazon Resource Name (ARN) of the resource from which to remove the tags.
31807	//
31808	// ResourceArn is a required field
31809	ResourceArn *string `min:"1" type:"string" required:"true"`
31810
31811	// Tags to remove from this resource.
31812	//
31813	// TagsToRemove is a required field
31814	TagsToRemove []*string `type:"list" required:"true"`
31815}
31816
31817// String returns the string representation
31818func (s UntagResourceInput) String() string {
31819	return awsutil.Prettify(s)
31820}
31821
31822// GoString returns the string representation
31823func (s UntagResourceInput) GoString() string {
31824	return s.String()
31825}
31826
31827// Validate inspects the fields of the type to determine if they are valid.
31828func (s *UntagResourceInput) Validate() error {
31829	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
31830	if s.ResourceArn == nil {
31831		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
31832	}
31833	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
31834		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
31835	}
31836	if s.TagsToRemove == nil {
31837		invalidParams.Add(request.NewErrParamRequired("TagsToRemove"))
31838	}
31839
31840	if invalidParams.Len() > 0 {
31841		return invalidParams
31842	}
31843	return nil
31844}
31845
31846// SetResourceArn sets the ResourceArn field's value.
31847func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
31848	s.ResourceArn = &v
31849	return s
31850}
31851
31852// SetTagsToRemove sets the TagsToRemove field's value.
31853func (s *UntagResourceInput) SetTagsToRemove(v []*string) *UntagResourceInput {
31854	s.TagsToRemove = v
31855	return s
31856}
31857
31858type UntagResourceOutput struct {
31859	_ struct{} `type:"structure"`
31860}
31861
31862// String returns the string representation
31863func (s UntagResourceOutput) String() string {
31864	return awsutil.Prettify(s)
31865}
31866
31867// GoString returns the string representation
31868func (s UntagResourceOutput) GoString() string {
31869	return s.String()
31870}
31871
31872type UpdateClassifierInput struct {
31873	_ struct{} `type:"structure"`
31874
31875	// A CsvClassifier object with updated fields.
31876	CsvClassifier *UpdateCsvClassifierRequest `type:"structure"`
31877
31878	// A GrokClassifier object with updated fields.
31879	GrokClassifier *UpdateGrokClassifierRequest `type:"structure"`
31880
31881	// A JsonClassifier object with updated fields.
31882	JsonClassifier *UpdateJsonClassifierRequest `type:"structure"`
31883
31884	// An XMLClassifier object with updated fields.
31885	XMLClassifier *UpdateXMLClassifierRequest `type:"structure"`
31886}
31887
31888// String returns the string representation
31889func (s UpdateClassifierInput) String() string {
31890	return awsutil.Prettify(s)
31891}
31892
31893// GoString returns the string representation
31894func (s UpdateClassifierInput) GoString() string {
31895	return s.String()
31896}
31897
31898// Validate inspects the fields of the type to determine if they are valid.
31899func (s *UpdateClassifierInput) Validate() error {
31900	invalidParams := request.ErrInvalidParams{Context: "UpdateClassifierInput"}
31901	if s.CsvClassifier != nil {
31902		if err := s.CsvClassifier.Validate(); err != nil {
31903			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
31904		}
31905	}
31906	if s.GrokClassifier != nil {
31907		if err := s.GrokClassifier.Validate(); err != nil {
31908			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
31909		}
31910	}
31911	if s.JsonClassifier != nil {
31912		if err := s.JsonClassifier.Validate(); err != nil {
31913			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
31914		}
31915	}
31916	if s.XMLClassifier != nil {
31917		if err := s.XMLClassifier.Validate(); err != nil {
31918			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
31919		}
31920	}
31921
31922	if invalidParams.Len() > 0 {
31923		return invalidParams
31924	}
31925	return nil
31926}
31927
31928// SetCsvClassifier sets the CsvClassifier field's value.
31929func (s *UpdateClassifierInput) SetCsvClassifier(v *UpdateCsvClassifierRequest) *UpdateClassifierInput {
31930	s.CsvClassifier = v
31931	return s
31932}
31933
31934// SetGrokClassifier sets the GrokClassifier field's value.
31935func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput {
31936	s.GrokClassifier = v
31937	return s
31938}
31939
31940// SetJsonClassifier sets the JsonClassifier field's value.
31941func (s *UpdateClassifierInput) SetJsonClassifier(v *UpdateJsonClassifierRequest) *UpdateClassifierInput {
31942	s.JsonClassifier = v
31943	return s
31944}
31945
31946// SetXMLClassifier sets the XMLClassifier field's value.
31947func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput {
31948	s.XMLClassifier = v
31949	return s
31950}
31951
31952type UpdateClassifierOutput struct {
31953	_ struct{} `type:"structure"`
31954}
31955
31956// String returns the string representation
31957func (s UpdateClassifierOutput) String() string {
31958	return awsutil.Prettify(s)
31959}
31960
31961// GoString returns the string representation
31962func (s UpdateClassifierOutput) GoString() string {
31963	return s.String()
31964}
31965
31966type UpdateConnectionInput struct {
31967	_ struct{} `type:"structure"`
31968
31969	// The ID of the Data Catalog in which the connection resides. If none is provided,
31970	// the AWS account ID is used by default.
31971	CatalogId *string `min:"1" type:"string"`
31972
31973	// A ConnectionInput object that redefines the connection in question.
31974	//
31975	// ConnectionInput is a required field
31976	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
31977
31978	// The name of the connection definition to update.
31979	//
31980	// Name is a required field
31981	Name *string `min:"1" type:"string" required:"true"`
31982}
31983
31984// String returns the string representation
31985func (s UpdateConnectionInput) String() string {
31986	return awsutil.Prettify(s)
31987}
31988
31989// GoString returns the string representation
31990func (s UpdateConnectionInput) GoString() string {
31991	return s.String()
31992}
31993
31994// Validate inspects the fields of the type to determine if they are valid.
31995func (s *UpdateConnectionInput) Validate() error {
31996	invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"}
31997	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31998		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31999	}
32000	if s.ConnectionInput == nil {
32001		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
32002	}
32003	if s.Name == nil {
32004		invalidParams.Add(request.NewErrParamRequired("Name"))
32005	}
32006	if s.Name != nil && len(*s.Name) < 1 {
32007		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32008	}
32009	if s.ConnectionInput != nil {
32010		if err := s.ConnectionInput.Validate(); err != nil {
32011			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
32012		}
32013	}
32014
32015	if invalidParams.Len() > 0 {
32016		return invalidParams
32017	}
32018	return nil
32019}
32020
32021// SetCatalogId sets the CatalogId field's value.
32022func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput {
32023	s.CatalogId = &v
32024	return s
32025}
32026
32027// SetConnectionInput sets the ConnectionInput field's value.
32028func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput {
32029	s.ConnectionInput = v
32030	return s
32031}
32032
32033// SetName sets the Name field's value.
32034func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput {
32035	s.Name = &v
32036	return s
32037}
32038
32039type UpdateConnectionOutput struct {
32040	_ struct{} `type:"structure"`
32041}
32042
32043// String returns the string representation
32044func (s UpdateConnectionOutput) String() string {
32045	return awsutil.Prettify(s)
32046}
32047
32048// GoString returns the string representation
32049func (s UpdateConnectionOutput) GoString() string {
32050	return s.String()
32051}
32052
32053type UpdateCrawlerInput struct {
32054	_ struct{} `type:"structure"`
32055
32056	// A list of custom classifiers that the user has registered. By default, all
32057	// built-in classifiers are included in a crawl, but these custom classifiers
32058	// always override the default classifiers for a given classification.
32059	Classifiers []*string `type:"list"`
32060
32061	// The crawler configuration information. This versioned JSON string allows
32062	// users to specify aspects of a crawler's behavior. For more information, see
32063	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
32064	Configuration *string `type:"string"`
32065
32066	// The name of the SecurityConfiguration structure to be used by this crawler.
32067	CrawlerSecurityConfiguration *string `type:"string"`
32068
32069	// The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
32070	DatabaseName *string `type:"string"`
32071
32072	// A description of the new crawler.
32073	Description *string `type:"string"`
32074
32075	// Name of the new crawler.
32076	//
32077	// Name is a required field
32078	Name *string `min:"1" type:"string" required:"true"`
32079
32080	// The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by
32081	// the new crawler to access customer resources.
32082	Role *string `type:"string"`
32083
32084	// A cron expression used to specify the schedule. For more information, see
32085	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
32086	// For example, to run something every day at 12:15 UTC, specify cron(15 12
32087	// * * ? *).
32088	Schedule *string `type:"string"`
32089
32090	// The policy for the crawler's update and deletion behavior.
32091	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
32092
32093	// The table prefix used for catalog tables that are created.
32094	TablePrefix *string `type:"string"`
32095
32096	// A list of targets to crawl.
32097	Targets *CrawlerTargets `type:"structure"`
32098}
32099
32100// String returns the string representation
32101func (s UpdateCrawlerInput) String() string {
32102	return awsutil.Prettify(s)
32103}
32104
32105// GoString returns the string representation
32106func (s UpdateCrawlerInput) GoString() string {
32107	return s.String()
32108}
32109
32110// Validate inspects the fields of the type to determine if they are valid.
32111func (s *UpdateCrawlerInput) Validate() error {
32112	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerInput"}
32113	if s.Name == nil {
32114		invalidParams.Add(request.NewErrParamRequired("Name"))
32115	}
32116	if s.Name != nil && len(*s.Name) < 1 {
32117		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32118	}
32119	if s.Targets != nil {
32120		if err := s.Targets.Validate(); err != nil {
32121			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
32122		}
32123	}
32124
32125	if invalidParams.Len() > 0 {
32126		return invalidParams
32127	}
32128	return nil
32129}
32130
32131// SetClassifiers sets the Classifiers field's value.
32132func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput {
32133	s.Classifiers = v
32134	return s
32135}
32136
32137// SetConfiguration sets the Configuration field's value.
32138func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput {
32139	s.Configuration = &v
32140	return s
32141}
32142
32143// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
32144func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput {
32145	s.CrawlerSecurityConfiguration = &v
32146	return s
32147}
32148
32149// SetDatabaseName sets the DatabaseName field's value.
32150func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput {
32151	s.DatabaseName = &v
32152	return s
32153}
32154
32155// SetDescription sets the Description field's value.
32156func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput {
32157	s.Description = &v
32158	return s
32159}
32160
32161// SetName sets the Name field's value.
32162func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput {
32163	s.Name = &v
32164	return s
32165}
32166
32167// SetRole sets the Role field's value.
32168func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput {
32169	s.Role = &v
32170	return s
32171}
32172
32173// SetSchedule sets the Schedule field's value.
32174func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput {
32175	s.Schedule = &v
32176	return s
32177}
32178
32179// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
32180func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput {
32181	s.SchemaChangePolicy = v
32182	return s
32183}
32184
32185// SetTablePrefix sets the TablePrefix field's value.
32186func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput {
32187	s.TablePrefix = &v
32188	return s
32189}
32190
32191// SetTargets sets the Targets field's value.
32192func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput {
32193	s.Targets = v
32194	return s
32195}
32196
32197type UpdateCrawlerOutput struct {
32198	_ struct{} `type:"structure"`
32199}
32200
32201// String returns the string representation
32202func (s UpdateCrawlerOutput) String() string {
32203	return awsutil.Prettify(s)
32204}
32205
32206// GoString returns the string representation
32207func (s UpdateCrawlerOutput) GoString() string {
32208	return s.String()
32209}
32210
32211type UpdateCrawlerScheduleInput struct {
32212	_ struct{} `type:"structure"`
32213
32214	// The name of the crawler whose schedule to update.
32215	//
32216	// CrawlerName is a required field
32217	CrawlerName *string `min:"1" type:"string" required:"true"`
32218
32219	// The updated cron expression used to specify the schedule. For more information,
32220	// see Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
32221	// For example, to run something every day at 12:15 UTC, specify cron(15 12
32222	// * * ? *).
32223	Schedule *string `type:"string"`
32224}
32225
32226// String returns the string representation
32227func (s UpdateCrawlerScheduleInput) String() string {
32228	return awsutil.Prettify(s)
32229}
32230
32231// GoString returns the string representation
32232func (s UpdateCrawlerScheduleInput) GoString() string {
32233	return s.String()
32234}
32235
32236// Validate inspects the fields of the type to determine if they are valid.
32237func (s *UpdateCrawlerScheduleInput) Validate() error {
32238	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerScheduleInput"}
32239	if s.CrawlerName == nil {
32240		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
32241	}
32242	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
32243		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
32244	}
32245
32246	if invalidParams.Len() > 0 {
32247		return invalidParams
32248	}
32249	return nil
32250}
32251
32252// SetCrawlerName sets the CrawlerName field's value.
32253func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput {
32254	s.CrawlerName = &v
32255	return s
32256}
32257
32258// SetSchedule sets the Schedule field's value.
32259func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput {
32260	s.Schedule = &v
32261	return s
32262}
32263
32264type UpdateCrawlerScheduleOutput struct {
32265	_ struct{} `type:"structure"`
32266}
32267
32268// String returns the string representation
32269func (s UpdateCrawlerScheduleOutput) String() string {
32270	return awsutil.Prettify(s)
32271}
32272
32273// GoString returns the string representation
32274func (s UpdateCrawlerScheduleOutput) GoString() string {
32275	return s.String()
32276}
32277
32278// Specifies a custom CSV classifier to be updated.
32279type UpdateCsvClassifierRequest struct {
32280	_ struct{} `type:"structure"`
32281
32282	// Enables the processing of files that contain only one column.
32283	AllowSingleColumn *bool `type:"boolean"`
32284
32285	// Indicates whether the CSV file contains a header.
32286	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
32287
32288	// A custom symbol to denote what separates each column entry in the row.
32289	Delimiter *string `min:"1" type:"string"`
32290
32291	// Specifies not to trim values before identifying the type of column values.
32292	// The default value is true.
32293	DisableValueTrimming *bool `type:"boolean"`
32294
32295	// A list of strings representing column names.
32296	Header []*string `type:"list"`
32297
32298	// The name of the classifier.
32299	//
32300	// Name is a required field
32301	Name *string `min:"1" type:"string" required:"true"`
32302
32303	// A custom symbol to denote what combines content into a single column value.
32304	// It must be different from the column delimiter.
32305	QuoteSymbol *string `min:"1" type:"string"`
32306}
32307
32308// String returns the string representation
32309func (s UpdateCsvClassifierRequest) String() string {
32310	return awsutil.Prettify(s)
32311}
32312
32313// GoString returns the string representation
32314func (s UpdateCsvClassifierRequest) GoString() string {
32315	return s.String()
32316}
32317
32318// Validate inspects the fields of the type to determine if they are valid.
32319func (s *UpdateCsvClassifierRequest) Validate() error {
32320	invalidParams := request.ErrInvalidParams{Context: "UpdateCsvClassifierRequest"}
32321	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
32322		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
32323	}
32324	if s.Name == nil {
32325		invalidParams.Add(request.NewErrParamRequired("Name"))
32326	}
32327	if s.Name != nil && len(*s.Name) < 1 {
32328		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32329	}
32330	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
32331		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
32332	}
32333
32334	if invalidParams.Len() > 0 {
32335		return invalidParams
32336	}
32337	return nil
32338}
32339
32340// SetAllowSingleColumn sets the AllowSingleColumn field's value.
32341func (s *UpdateCsvClassifierRequest) SetAllowSingleColumn(v bool) *UpdateCsvClassifierRequest {
32342	s.AllowSingleColumn = &v
32343	return s
32344}
32345
32346// SetContainsHeader sets the ContainsHeader field's value.
32347func (s *UpdateCsvClassifierRequest) SetContainsHeader(v string) *UpdateCsvClassifierRequest {
32348	s.ContainsHeader = &v
32349	return s
32350}
32351
32352// SetDelimiter sets the Delimiter field's value.
32353func (s *UpdateCsvClassifierRequest) SetDelimiter(v string) *UpdateCsvClassifierRequest {
32354	s.Delimiter = &v
32355	return s
32356}
32357
32358// SetDisableValueTrimming sets the DisableValueTrimming field's value.
32359func (s *UpdateCsvClassifierRequest) SetDisableValueTrimming(v bool) *UpdateCsvClassifierRequest {
32360	s.DisableValueTrimming = &v
32361	return s
32362}
32363
32364// SetHeader sets the Header field's value.
32365func (s *UpdateCsvClassifierRequest) SetHeader(v []*string) *UpdateCsvClassifierRequest {
32366	s.Header = v
32367	return s
32368}
32369
32370// SetName sets the Name field's value.
32371func (s *UpdateCsvClassifierRequest) SetName(v string) *UpdateCsvClassifierRequest {
32372	s.Name = &v
32373	return s
32374}
32375
32376// SetQuoteSymbol sets the QuoteSymbol field's value.
32377func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest {
32378	s.QuoteSymbol = &v
32379	return s
32380}
32381
32382type UpdateDatabaseInput struct {
32383	_ struct{} `type:"structure"`
32384
32385	// The ID of the Data Catalog in which the metadata database resides. If none
32386	// is provided, the AWS account ID is used by default.
32387	CatalogId *string `min:"1" type:"string"`
32388
32389	// A DatabaseInput object specifying the new definition of the metadata database
32390	// in the catalog.
32391	//
32392	// DatabaseInput is a required field
32393	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
32394
32395	// The name of the database to update in the catalog. For Hive compatibility,
32396	// this is folded to lowercase.
32397	//
32398	// Name is a required field
32399	Name *string `min:"1" type:"string" required:"true"`
32400}
32401
32402// String returns the string representation
32403func (s UpdateDatabaseInput) String() string {
32404	return awsutil.Prettify(s)
32405}
32406
32407// GoString returns the string representation
32408func (s UpdateDatabaseInput) GoString() string {
32409	return s.String()
32410}
32411
32412// Validate inspects the fields of the type to determine if they are valid.
32413func (s *UpdateDatabaseInput) Validate() error {
32414	invalidParams := request.ErrInvalidParams{Context: "UpdateDatabaseInput"}
32415	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
32416		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
32417	}
32418	if s.DatabaseInput == nil {
32419		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
32420	}
32421	if s.Name == nil {
32422		invalidParams.Add(request.NewErrParamRequired("Name"))
32423	}
32424	if s.Name != nil && len(*s.Name) < 1 {
32425		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32426	}
32427	if s.DatabaseInput != nil {
32428		if err := s.DatabaseInput.Validate(); err != nil {
32429			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
32430		}
32431	}
32432
32433	if invalidParams.Len() > 0 {
32434		return invalidParams
32435	}
32436	return nil
32437}
32438
32439// SetCatalogId sets the CatalogId field's value.
32440func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput {
32441	s.CatalogId = &v
32442	return s
32443}
32444
32445// SetDatabaseInput sets the DatabaseInput field's value.
32446func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput {
32447	s.DatabaseInput = v
32448	return s
32449}
32450
32451// SetName sets the Name field's value.
32452func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput {
32453	s.Name = &v
32454	return s
32455}
32456
32457type UpdateDatabaseOutput struct {
32458	_ struct{} `type:"structure"`
32459}
32460
32461// String returns the string representation
32462func (s UpdateDatabaseOutput) String() string {
32463	return awsutil.Prettify(s)
32464}
32465
32466// GoString returns the string representation
32467func (s UpdateDatabaseOutput) GoString() string {
32468	return s.String()
32469}
32470
32471type UpdateDevEndpointInput struct {
32472	_ struct{} `type:"structure"`
32473
32474	// The map of arguments to add the map of arguments used to configure the DevEndpoint.
32475	//
32476	// Valid arguments are:
32477	//
32478	//    * "--enable-glue-datacatalog": ""
32479	//
32480	//    * "GLUE_PYTHON_VERSION": "3"
32481	//
32482	//    * "GLUE_PYTHON_VERSION": "2"
32483	//
32484	// You can specify a version of Python support for development endpoints by
32485	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
32486	// APIs. If no arguments are provided, the version defaults to Python 2.
32487	AddArguments map[string]*string `type:"map"`
32488
32489	// The list of public keys for the DevEndpoint to use.
32490	AddPublicKeys []*string `type:"list"`
32491
32492	// Custom Python or Java libraries to be loaded in the DevEndpoint.
32493	CustomLibraries *DevEndpointCustomLibraries `type:"structure"`
32494
32495	// The list of argument keys to be deleted from the map of arguments used to
32496	// configure the DevEndpoint.
32497	DeleteArguments []*string `type:"list"`
32498
32499	// The list of public keys to be deleted from the DevEndpoint.
32500	DeletePublicKeys []*string `type:"list"`
32501
32502	// The name of the DevEndpoint to be updated.
32503	//
32504	// EndpointName is a required field
32505	EndpointName *string `type:"string" required:"true"`
32506
32507	// The public key for the DevEndpoint to use.
32508	PublicKey *string `type:"string"`
32509
32510	// True if the list of custom libraries to be loaded in the development endpoint
32511	// needs to be updated, or False if otherwise.
32512	UpdateEtlLibraries *bool `type:"boolean"`
32513}
32514
32515// String returns the string representation
32516func (s UpdateDevEndpointInput) String() string {
32517	return awsutil.Prettify(s)
32518}
32519
32520// GoString returns the string representation
32521func (s UpdateDevEndpointInput) GoString() string {
32522	return s.String()
32523}
32524
32525// Validate inspects the fields of the type to determine if they are valid.
32526func (s *UpdateDevEndpointInput) Validate() error {
32527	invalidParams := request.ErrInvalidParams{Context: "UpdateDevEndpointInput"}
32528	if s.EndpointName == nil {
32529		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
32530	}
32531
32532	if invalidParams.Len() > 0 {
32533		return invalidParams
32534	}
32535	return nil
32536}
32537
32538// SetAddArguments sets the AddArguments field's value.
32539func (s *UpdateDevEndpointInput) SetAddArguments(v map[string]*string) *UpdateDevEndpointInput {
32540	s.AddArguments = v
32541	return s
32542}
32543
32544// SetAddPublicKeys sets the AddPublicKeys field's value.
32545func (s *UpdateDevEndpointInput) SetAddPublicKeys(v []*string) *UpdateDevEndpointInput {
32546	s.AddPublicKeys = v
32547	return s
32548}
32549
32550// SetCustomLibraries sets the CustomLibraries field's value.
32551func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput {
32552	s.CustomLibraries = v
32553	return s
32554}
32555
32556// SetDeleteArguments sets the DeleteArguments field's value.
32557func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput {
32558	s.DeleteArguments = v
32559	return s
32560}
32561
32562// SetDeletePublicKeys sets the DeletePublicKeys field's value.
32563func (s *UpdateDevEndpointInput) SetDeletePublicKeys(v []*string) *UpdateDevEndpointInput {
32564	s.DeletePublicKeys = v
32565	return s
32566}
32567
32568// SetEndpointName sets the EndpointName field's value.
32569func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput {
32570	s.EndpointName = &v
32571	return s
32572}
32573
32574// SetPublicKey sets the PublicKey field's value.
32575func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput {
32576	s.PublicKey = &v
32577	return s
32578}
32579
32580// SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value.
32581func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput {
32582	s.UpdateEtlLibraries = &v
32583	return s
32584}
32585
32586type UpdateDevEndpointOutput struct {
32587	_ struct{} `type:"structure"`
32588}
32589
32590// String returns the string representation
32591func (s UpdateDevEndpointOutput) String() string {
32592	return awsutil.Prettify(s)
32593}
32594
32595// GoString returns the string representation
32596func (s UpdateDevEndpointOutput) GoString() string {
32597	return s.String()
32598}
32599
32600// Specifies a grok classifier to update when passed to UpdateClassifier.
32601type UpdateGrokClassifierRequest struct {
32602	_ struct{} `type:"structure"`
32603
32604	// An identifier of the data format that the classifier matches, such as Twitter,
32605	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
32606	Classification *string `type:"string"`
32607
32608	// Optional custom grok patterns used by this classifier.
32609	CustomPatterns *string `type:"string"`
32610
32611	// The grok pattern used by this classifier.
32612	GrokPattern *string `min:"1" type:"string"`
32613
32614	// The name of the GrokClassifier.
32615	//
32616	// Name is a required field
32617	Name *string `min:"1" type:"string" required:"true"`
32618}
32619
32620// String returns the string representation
32621func (s UpdateGrokClassifierRequest) String() string {
32622	return awsutil.Prettify(s)
32623}
32624
32625// GoString returns the string representation
32626func (s UpdateGrokClassifierRequest) GoString() string {
32627	return s.String()
32628}
32629
32630// Validate inspects the fields of the type to determine if they are valid.
32631func (s *UpdateGrokClassifierRequest) Validate() error {
32632	invalidParams := request.ErrInvalidParams{Context: "UpdateGrokClassifierRequest"}
32633	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
32634		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
32635	}
32636	if s.Name == nil {
32637		invalidParams.Add(request.NewErrParamRequired("Name"))
32638	}
32639	if s.Name != nil && len(*s.Name) < 1 {
32640		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32641	}
32642
32643	if invalidParams.Len() > 0 {
32644		return invalidParams
32645	}
32646	return nil
32647}
32648
32649// SetClassification sets the Classification field's value.
32650func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest {
32651	s.Classification = &v
32652	return s
32653}
32654
32655// SetCustomPatterns sets the CustomPatterns field's value.
32656func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest {
32657	s.CustomPatterns = &v
32658	return s
32659}
32660
32661// SetGrokPattern sets the GrokPattern field's value.
32662func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest {
32663	s.GrokPattern = &v
32664	return s
32665}
32666
32667// SetName sets the Name field's value.
32668func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest {
32669	s.Name = &v
32670	return s
32671}
32672
32673type UpdateJobInput struct {
32674	_ struct{} `type:"structure"`
32675
32676	// The name of the job definition to update.
32677	//
32678	// JobName is a required field
32679	JobName *string `min:"1" type:"string" required:"true"`
32680
32681	// Specifies the values with which to update the job definition.
32682	//
32683	// JobUpdate is a required field
32684	JobUpdate *JobUpdate `type:"structure" required:"true"`
32685}
32686
32687// String returns the string representation
32688func (s UpdateJobInput) String() string {
32689	return awsutil.Prettify(s)
32690}
32691
32692// GoString returns the string representation
32693func (s UpdateJobInput) GoString() string {
32694	return s.String()
32695}
32696
32697// Validate inspects the fields of the type to determine if they are valid.
32698func (s *UpdateJobInput) Validate() error {
32699	invalidParams := request.ErrInvalidParams{Context: "UpdateJobInput"}
32700	if s.JobName == nil {
32701		invalidParams.Add(request.NewErrParamRequired("JobName"))
32702	}
32703	if s.JobName != nil && len(*s.JobName) < 1 {
32704		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
32705	}
32706	if s.JobUpdate == nil {
32707		invalidParams.Add(request.NewErrParamRequired("JobUpdate"))
32708	}
32709	if s.JobUpdate != nil {
32710		if err := s.JobUpdate.Validate(); err != nil {
32711			invalidParams.AddNested("JobUpdate", err.(request.ErrInvalidParams))
32712		}
32713	}
32714
32715	if invalidParams.Len() > 0 {
32716		return invalidParams
32717	}
32718	return nil
32719}
32720
32721// SetJobName sets the JobName field's value.
32722func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput {
32723	s.JobName = &v
32724	return s
32725}
32726
32727// SetJobUpdate sets the JobUpdate field's value.
32728func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput {
32729	s.JobUpdate = v
32730	return s
32731}
32732
32733type UpdateJobOutput struct {
32734	_ struct{} `type:"structure"`
32735
32736	// Returns the name of the updated job definition.
32737	JobName *string `min:"1" type:"string"`
32738}
32739
32740// String returns the string representation
32741func (s UpdateJobOutput) String() string {
32742	return awsutil.Prettify(s)
32743}
32744
32745// GoString returns the string representation
32746func (s UpdateJobOutput) GoString() string {
32747	return s.String()
32748}
32749
32750// SetJobName sets the JobName field's value.
32751func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput {
32752	s.JobName = &v
32753	return s
32754}
32755
32756// Specifies a JSON classifier to be updated.
32757type UpdateJsonClassifierRequest struct {
32758	_ struct{} `type:"structure"`
32759
32760	// A JsonPath string defining the JSON data for the classifier to classify.
32761	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
32762	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
32763	JsonPath *string `type:"string"`
32764
32765	// The name of the classifier.
32766	//
32767	// Name is a required field
32768	Name *string `min:"1" type:"string" required:"true"`
32769}
32770
32771// String returns the string representation
32772func (s UpdateJsonClassifierRequest) String() string {
32773	return awsutil.Prettify(s)
32774}
32775
32776// GoString returns the string representation
32777func (s UpdateJsonClassifierRequest) GoString() string {
32778	return s.String()
32779}
32780
32781// Validate inspects the fields of the type to determine if they are valid.
32782func (s *UpdateJsonClassifierRequest) Validate() error {
32783	invalidParams := request.ErrInvalidParams{Context: "UpdateJsonClassifierRequest"}
32784	if s.Name == nil {
32785		invalidParams.Add(request.NewErrParamRequired("Name"))
32786	}
32787	if s.Name != nil && len(*s.Name) < 1 {
32788		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32789	}
32790
32791	if invalidParams.Len() > 0 {
32792		return invalidParams
32793	}
32794	return nil
32795}
32796
32797// SetJsonPath sets the JsonPath field's value.
32798func (s *UpdateJsonClassifierRequest) SetJsonPath(v string) *UpdateJsonClassifierRequest {
32799	s.JsonPath = &v
32800	return s
32801}
32802
32803// SetName sets the Name field's value.
32804func (s *UpdateJsonClassifierRequest) SetName(v string) *UpdateJsonClassifierRequest {
32805	s.Name = &v
32806	return s
32807}
32808
32809type UpdateMLTransformInput struct {
32810	_ struct{} `type:"structure"`
32811
32812	// A description of the transform. The default is an empty string.
32813	Description *string `type:"string"`
32814
32815	// This value determines which version of AWS Glue this machine learning transform
32816	// is compatible with. Glue 1.0 is recommended for most customers. If the value
32817	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
32818	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
32819	// in the developer guide.
32820	GlueVersion *string `min:"1" type:"string"`
32821
32822	// The number of AWS Glue data processing units (DPUs) that are allocated to
32823	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
32824	// is 10. A DPU is a relative measure of processing power that consists of 4
32825	// vCPUs of compute capacity and 16 GB of memory. For more information, see
32826	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
32827	//
32828	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
32829	// field is set automatically and becomes read-only.
32830	MaxCapacity *float64 `type:"double"`
32831
32832	// The maximum number of times to retry a task for this transform after a task
32833	// run fails.
32834	MaxRetries *int64 `type:"integer"`
32835
32836	// The unique name that you gave the transform when you created it.
32837	Name *string `min:"1" type:"string"`
32838
32839	// The number of workers of a defined workerType that are allocated when this
32840	// task runs.
32841	NumberOfWorkers *int64 `type:"integer"`
32842
32843	// The configuration parameters that are specific to the transform type (algorithm)
32844	// used. Conditionally dependent on the transform type.
32845	Parameters *TransformParameters `type:"structure"`
32846
32847	// The name or Amazon Resource Name (ARN) of the IAM role with the required
32848	// permissions.
32849	Role *string `type:"string"`
32850
32851	// The timeout for a task run for this transform in minutes. This is the maximum
32852	// time that a task run for this transform can consume resources before it is
32853	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
32854	Timeout *int64 `min:"1" type:"integer"`
32855
32856	// A unique identifier that was generated when the transform was created.
32857	//
32858	// TransformId is a required field
32859	TransformId *string `min:"1" type:"string" required:"true"`
32860
32861	// The type of predefined worker that is allocated when this task runs. Accepts
32862	// a value of Standard, G.1X, or G.2X.
32863	//
32864	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
32865	//    memory and a 50GB disk, and 2 executors per worker.
32866	//
32867	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
32868	//    and a 64GB disk, and 1 executor per worker.
32869	//
32870	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
32871	//    and a 128GB disk, and 1 executor per worker.
32872	WorkerType *string `type:"string" enum:"WorkerType"`
32873}
32874
32875// String returns the string representation
32876func (s UpdateMLTransformInput) String() string {
32877	return awsutil.Prettify(s)
32878}
32879
32880// GoString returns the string representation
32881func (s UpdateMLTransformInput) GoString() string {
32882	return s.String()
32883}
32884
32885// Validate inspects the fields of the type to determine if they are valid.
32886func (s *UpdateMLTransformInput) Validate() error {
32887	invalidParams := request.ErrInvalidParams{Context: "UpdateMLTransformInput"}
32888	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
32889		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
32890	}
32891	if s.Name != nil && len(*s.Name) < 1 {
32892		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32893	}
32894	if s.Timeout != nil && *s.Timeout < 1 {
32895		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
32896	}
32897	if s.TransformId == nil {
32898		invalidParams.Add(request.NewErrParamRequired("TransformId"))
32899	}
32900	if s.TransformId != nil && len(*s.TransformId) < 1 {
32901		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
32902	}
32903	if s.Parameters != nil {
32904		if err := s.Parameters.Validate(); err != nil {
32905			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
32906		}
32907	}
32908
32909	if invalidParams.Len() > 0 {
32910		return invalidParams
32911	}
32912	return nil
32913}
32914
32915// SetDescription sets the Description field's value.
32916func (s *UpdateMLTransformInput) SetDescription(v string) *UpdateMLTransformInput {
32917	s.Description = &v
32918	return s
32919}
32920
32921// SetGlueVersion sets the GlueVersion field's value.
32922func (s *UpdateMLTransformInput) SetGlueVersion(v string) *UpdateMLTransformInput {
32923	s.GlueVersion = &v
32924	return s
32925}
32926
32927// SetMaxCapacity sets the MaxCapacity field's value.
32928func (s *UpdateMLTransformInput) SetMaxCapacity(v float64) *UpdateMLTransformInput {
32929	s.MaxCapacity = &v
32930	return s
32931}
32932
32933// SetMaxRetries sets the MaxRetries field's value.
32934func (s *UpdateMLTransformInput) SetMaxRetries(v int64) *UpdateMLTransformInput {
32935	s.MaxRetries = &v
32936	return s
32937}
32938
32939// SetName sets the Name field's value.
32940func (s *UpdateMLTransformInput) SetName(v string) *UpdateMLTransformInput {
32941	s.Name = &v
32942	return s
32943}
32944
32945// SetNumberOfWorkers sets the NumberOfWorkers field's value.
32946func (s *UpdateMLTransformInput) SetNumberOfWorkers(v int64) *UpdateMLTransformInput {
32947	s.NumberOfWorkers = &v
32948	return s
32949}
32950
32951// SetParameters sets the Parameters field's value.
32952func (s *UpdateMLTransformInput) SetParameters(v *TransformParameters) *UpdateMLTransformInput {
32953	s.Parameters = v
32954	return s
32955}
32956
32957// SetRole sets the Role field's value.
32958func (s *UpdateMLTransformInput) SetRole(v string) *UpdateMLTransformInput {
32959	s.Role = &v
32960	return s
32961}
32962
32963// SetTimeout sets the Timeout field's value.
32964func (s *UpdateMLTransformInput) SetTimeout(v int64) *UpdateMLTransformInput {
32965	s.Timeout = &v
32966	return s
32967}
32968
32969// SetTransformId sets the TransformId field's value.
32970func (s *UpdateMLTransformInput) SetTransformId(v string) *UpdateMLTransformInput {
32971	s.TransformId = &v
32972	return s
32973}
32974
32975// SetWorkerType sets the WorkerType field's value.
32976func (s *UpdateMLTransformInput) SetWorkerType(v string) *UpdateMLTransformInput {
32977	s.WorkerType = &v
32978	return s
32979}
32980
32981type UpdateMLTransformOutput struct {
32982	_ struct{} `type:"structure"`
32983
32984	// The unique identifier for the transform that was updated.
32985	TransformId *string `min:"1" type:"string"`
32986}
32987
32988// String returns the string representation
32989func (s UpdateMLTransformOutput) String() string {
32990	return awsutil.Prettify(s)
32991}
32992
32993// GoString returns the string representation
32994func (s UpdateMLTransformOutput) GoString() string {
32995	return s.String()
32996}
32997
32998// SetTransformId sets the TransformId field's value.
32999func (s *UpdateMLTransformOutput) SetTransformId(v string) *UpdateMLTransformOutput {
33000	s.TransformId = &v
33001	return s
33002}
33003
33004type UpdatePartitionInput struct {
33005	_ struct{} `type:"structure"`
33006
33007	// The ID of the Data Catalog where the partition to be updated resides. If
33008	// none is provided, the AWS account ID is used by default.
33009	CatalogId *string `min:"1" type:"string"`
33010
33011	// The name of the catalog database in which the table in question resides.
33012	//
33013	// DatabaseName is a required field
33014	DatabaseName *string `min:"1" type:"string" required:"true"`
33015
33016	// The new partition object to update the partition to.
33017	//
33018	// PartitionInput is a required field
33019	PartitionInput *PartitionInput `type:"structure" required:"true"`
33020
33021	// A list of the values defining the partition.
33022	//
33023	// PartitionValueList is a required field
33024	PartitionValueList []*string `type:"list" required:"true"`
33025
33026	// The name of the table in which the partition to be updated is located.
33027	//
33028	// TableName is a required field
33029	TableName *string `min:"1" type:"string" required:"true"`
33030}
33031
33032// String returns the string representation
33033func (s UpdatePartitionInput) String() string {
33034	return awsutil.Prettify(s)
33035}
33036
33037// GoString returns the string representation
33038func (s UpdatePartitionInput) GoString() string {
33039	return s.String()
33040}
33041
33042// Validate inspects the fields of the type to determine if they are valid.
33043func (s *UpdatePartitionInput) Validate() error {
33044	invalidParams := request.ErrInvalidParams{Context: "UpdatePartitionInput"}
33045	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
33046		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
33047	}
33048	if s.DatabaseName == nil {
33049		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
33050	}
33051	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
33052		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
33053	}
33054	if s.PartitionInput == nil {
33055		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
33056	}
33057	if s.PartitionValueList == nil {
33058		invalidParams.Add(request.NewErrParamRequired("PartitionValueList"))
33059	}
33060	if s.TableName == nil {
33061		invalidParams.Add(request.NewErrParamRequired("TableName"))
33062	}
33063	if s.TableName != nil && len(*s.TableName) < 1 {
33064		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
33065	}
33066	if s.PartitionInput != nil {
33067		if err := s.PartitionInput.Validate(); err != nil {
33068			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
33069		}
33070	}
33071
33072	if invalidParams.Len() > 0 {
33073		return invalidParams
33074	}
33075	return nil
33076}
33077
33078// SetCatalogId sets the CatalogId field's value.
33079func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput {
33080	s.CatalogId = &v
33081	return s
33082}
33083
33084// SetDatabaseName sets the DatabaseName field's value.
33085func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput {
33086	s.DatabaseName = &v
33087	return s
33088}
33089
33090// SetPartitionInput sets the PartitionInput field's value.
33091func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput {
33092	s.PartitionInput = v
33093	return s
33094}
33095
33096// SetPartitionValueList sets the PartitionValueList field's value.
33097func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput {
33098	s.PartitionValueList = v
33099	return s
33100}
33101
33102// SetTableName sets the TableName field's value.
33103func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput {
33104	s.TableName = &v
33105	return s
33106}
33107
33108type UpdatePartitionOutput struct {
33109	_ struct{} `type:"structure"`
33110}
33111
33112// String returns the string representation
33113func (s UpdatePartitionOutput) String() string {
33114	return awsutil.Prettify(s)
33115}
33116
33117// GoString returns the string representation
33118func (s UpdatePartitionOutput) GoString() string {
33119	return s.String()
33120}
33121
33122type UpdateTableInput struct {
33123	_ struct{} `type:"structure"`
33124
33125	// The ID of the Data Catalog where the table resides. If none is provided,
33126	// the AWS account ID is used by default.
33127	CatalogId *string `min:"1" type:"string"`
33128
33129	// The name of the catalog database in which the table resides. For Hive compatibility,
33130	// this name is entirely lowercase.
33131	//
33132	// DatabaseName is a required field
33133	DatabaseName *string `min:"1" type:"string" required:"true"`
33134
33135	// By default, UpdateTable always creates an archived version of the table before
33136	// updating it. However, if skipArchive is set to true, UpdateTable does not
33137	// create the archived version.
33138	SkipArchive *bool `type:"boolean"`
33139
33140	// An updated TableInput object to define the metadata table in the catalog.
33141	//
33142	// TableInput is a required field
33143	TableInput *TableInput `type:"structure" required:"true"`
33144}
33145
33146// String returns the string representation
33147func (s UpdateTableInput) String() string {
33148	return awsutil.Prettify(s)
33149}
33150
33151// GoString returns the string representation
33152func (s UpdateTableInput) GoString() string {
33153	return s.String()
33154}
33155
33156// Validate inspects the fields of the type to determine if they are valid.
33157func (s *UpdateTableInput) Validate() error {
33158	invalidParams := request.ErrInvalidParams{Context: "UpdateTableInput"}
33159	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
33160		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
33161	}
33162	if s.DatabaseName == nil {
33163		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
33164	}
33165	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
33166		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
33167	}
33168	if s.TableInput == nil {
33169		invalidParams.Add(request.NewErrParamRequired("TableInput"))
33170	}
33171	if s.TableInput != nil {
33172		if err := s.TableInput.Validate(); err != nil {
33173			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
33174		}
33175	}
33176
33177	if invalidParams.Len() > 0 {
33178		return invalidParams
33179	}
33180	return nil
33181}
33182
33183// SetCatalogId sets the CatalogId field's value.
33184func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput {
33185	s.CatalogId = &v
33186	return s
33187}
33188
33189// SetDatabaseName sets the DatabaseName field's value.
33190func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput {
33191	s.DatabaseName = &v
33192	return s
33193}
33194
33195// SetSkipArchive sets the SkipArchive field's value.
33196func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput {
33197	s.SkipArchive = &v
33198	return s
33199}
33200
33201// SetTableInput sets the TableInput field's value.
33202func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput {
33203	s.TableInput = v
33204	return s
33205}
33206
33207type UpdateTableOutput struct {
33208	_ struct{} `type:"structure"`
33209}
33210
33211// String returns the string representation
33212func (s UpdateTableOutput) String() string {
33213	return awsutil.Prettify(s)
33214}
33215
33216// GoString returns the string representation
33217func (s UpdateTableOutput) GoString() string {
33218	return s.String()
33219}
33220
33221type UpdateTriggerInput struct {
33222	_ struct{} `type:"structure"`
33223
33224	// The name of the trigger to update.
33225	//
33226	// Name is a required field
33227	Name *string `min:"1" type:"string" required:"true"`
33228
33229	// The new values with which to update the trigger.
33230	//
33231	// TriggerUpdate is a required field
33232	TriggerUpdate *TriggerUpdate `type:"structure" required:"true"`
33233}
33234
33235// String returns the string representation
33236func (s UpdateTriggerInput) String() string {
33237	return awsutil.Prettify(s)
33238}
33239
33240// GoString returns the string representation
33241func (s UpdateTriggerInput) GoString() string {
33242	return s.String()
33243}
33244
33245// Validate inspects the fields of the type to determine if they are valid.
33246func (s *UpdateTriggerInput) Validate() error {
33247	invalidParams := request.ErrInvalidParams{Context: "UpdateTriggerInput"}
33248	if s.Name == nil {
33249		invalidParams.Add(request.NewErrParamRequired("Name"))
33250	}
33251	if s.Name != nil && len(*s.Name) < 1 {
33252		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
33253	}
33254	if s.TriggerUpdate == nil {
33255		invalidParams.Add(request.NewErrParamRequired("TriggerUpdate"))
33256	}
33257	if s.TriggerUpdate != nil {
33258		if err := s.TriggerUpdate.Validate(); err != nil {
33259			invalidParams.AddNested("TriggerUpdate", err.(request.ErrInvalidParams))
33260		}
33261	}
33262
33263	if invalidParams.Len() > 0 {
33264		return invalidParams
33265	}
33266	return nil
33267}
33268
33269// SetName sets the Name field's value.
33270func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput {
33271	s.Name = &v
33272	return s
33273}
33274
33275// SetTriggerUpdate sets the TriggerUpdate field's value.
33276func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput {
33277	s.TriggerUpdate = v
33278	return s
33279}
33280
33281type UpdateTriggerOutput struct {
33282	_ struct{} `type:"structure"`
33283
33284	// The resulting trigger definition.
33285	Trigger *Trigger `type:"structure"`
33286}
33287
33288// String returns the string representation
33289func (s UpdateTriggerOutput) String() string {
33290	return awsutil.Prettify(s)
33291}
33292
33293// GoString returns the string representation
33294func (s UpdateTriggerOutput) GoString() string {
33295	return s.String()
33296}
33297
33298// SetTrigger sets the Trigger field's value.
33299func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput {
33300	s.Trigger = v
33301	return s
33302}
33303
33304type UpdateUserDefinedFunctionInput struct {
33305	_ struct{} `type:"structure"`
33306
33307	// The ID of the Data Catalog where the function to be updated is located. If
33308	// none is provided, the AWS account ID is used by default.
33309	CatalogId *string `min:"1" type:"string"`
33310
33311	// The name of the catalog database where the function to be updated is located.
33312	//
33313	// DatabaseName is a required field
33314	DatabaseName *string `min:"1" type:"string" required:"true"`
33315
33316	// A FunctionInput object that redefines the function in the Data Catalog.
33317	//
33318	// FunctionInput is a required field
33319	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
33320
33321	// The name of the function.
33322	//
33323	// FunctionName is a required field
33324	FunctionName *string `min:"1" type:"string" required:"true"`
33325}
33326
33327// String returns the string representation
33328func (s UpdateUserDefinedFunctionInput) String() string {
33329	return awsutil.Prettify(s)
33330}
33331
33332// GoString returns the string representation
33333func (s UpdateUserDefinedFunctionInput) GoString() string {
33334	return s.String()
33335}
33336
33337// Validate inspects the fields of the type to determine if they are valid.
33338func (s *UpdateUserDefinedFunctionInput) Validate() error {
33339	invalidParams := request.ErrInvalidParams{Context: "UpdateUserDefinedFunctionInput"}
33340	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
33341		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
33342	}
33343	if s.DatabaseName == nil {
33344		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
33345	}
33346	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
33347		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
33348	}
33349	if s.FunctionInput == nil {
33350		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
33351	}
33352	if s.FunctionName == nil {
33353		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
33354	}
33355	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
33356		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
33357	}
33358	if s.FunctionInput != nil {
33359		if err := s.FunctionInput.Validate(); err != nil {
33360			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
33361		}
33362	}
33363
33364	if invalidParams.Len() > 0 {
33365		return invalidParams
33366	}
33367	return nil
33368}
33369
33370// SetCatalogId sets the CatalogId field's value.
33371func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput {
33372	s.CatalogId = &v
33373	return s
33374}
33375
33376// SetDatabaseName sets the DatabaseName field's value.
33377func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput {
33378	s.DatabaseName = &v
33379	return s
33380}
33381
33382// SetFunctionInput sets the FunctionInput field's value.
33383func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput {
33384	s.FunctionInput = v
33385	return s
33386}
33387
33388// SetFunctionName sets the FunctionName field's value.
33389func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput {
33390	s.FunctionName = &v
33391	return s
33392}
33393
33394type UpdateUserDefinedFunctionOutput struct {
33395	_ struct{} `type:"structure"`
33396}
33397
33398// String returns the string representation
33399func (s UpdateUserDefinedFunctionOutput) String() string {
33400	return awsutil.Prettify(s)
33401}
33402
33403// GoString returns the string representation
33404func (s UpdateUserDefinedFunctionOutput) GoString() string {
33405	return s.String()
33406}
33407
33408type UpdateWorkflowInput struct {
33409	_ struct{} `type:"structure"`
33410
33411	// A collection of properties to be used as part of each execution of the workflow.
33412	DefaultRunProperties map[string]*string `type:"map"`
33413
33414	// The description of the workflow.
33415	Description *string `type:"string"`
33416
33417	// Name of the workflow to be updated.
33418	//
33419	// Name is a required field
33420	Name *string `min:"1" type:"string" required:"true"`
33421}
33422
33423// String returns the string representation
33424func (s UpdateWorkflowInput) String() string {
33425	return awsutil.Prettify(s)
33426}
33427
33428// GoString returns the string representation
33429func (s UpdateWorkflowInput) GoString() string {
33430	return s.String()
33431}
33432
33433// Validate inspects the fields of the type to determine if they are valid.
33434func (s *UpdateWorkflowInput) Validate() error {
33435	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"}
33436	if s.Name == nil {
33437		invalidParams.Add(request.NewErrParamRequired("Name"))
33438	}
33439	if s.Name != nil && len(*s.Name) < 1 {
33440		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
33441	}
33442
33443	if invalidParams.Len() > 0 {
33444		return invalidParams
33445	}
33446	return nil
33447}
33448
33449// SetDefaultRunProperties sets the DefaultRunProperties field's value.
33450func (s *UpdateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *UpdateWorkflowInput {
33451	s.DefaultRunProperties = v
33452	return s
33453}
33454
33455// SetDescription sets the Description field's value.
33456func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput {
33457	s.Description = &v
33458	return s
33459}
33460
33461// SetName sets the Name field's value.
33462func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput {
33463	s.Name = &v
33464	return s
33465}
33466
33467type UpdateWorkflowOutput struct {
33468	_ struct{} `type:"structure"`
33469
33470	// The name of the workflow which was specified in input.
33471	Name *string `min:"1" type:"string"`
33472}
33473
33474// String returns the string representation
33475func (s UpdateWorkflowOutput) String() string {
33476	return awsutil.Prettify(s)
33477}
33478
33479// GoString returns the string representation
33480func (s UpdateWorkflowOutput) GoString() string {
33481	return s.String()
33482}
33483
33484// SetName sets the Name field's value.
33485func (s *UpdateWorkflowOutput) SetName(v string) *UpdateWorkflowOutput {
33486	s.Name = &v
33487	return s
33488}
33489
33490// Specifies an XML classifier to be updated.
33491type UpdateXMLClassifierRequest struct {
33492	_ struct{} `type:"structure"`
33493
33494	// An identifier of the data format that the classifier matches.
33495	Classification *string `type:"string"`
33496
33497	// The name of the classifier.
33498	//
33499	// Name is a required field
33500	Name *string `min:"1" type:"string" required:"true"`
33501
33502	// The XML tag designating the element that contains each record in an XML document
33503	// being parsed. This cannot identify a self-closing element (closed by />).
33504	// An empty row element that contains only attributes can be parsed as long
33505	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
33506	// is okay, but <row item_a="A" item_b="B" /> is not).
33507	RowTag *string `type:"string"`
33508}
33509
33510// String returns the string representation
33511func (s UpdateXMLClassifierRequest) String() string {
33512	return awsutil.Prettify(s)
33513}
33514
33515// GoString returns the string representation
33516func (s UpdateXMLClassifierRequest) GoString() string {
33517	return s.String()
33518}
33519
33520// Validate inspects the fields of the type to determine if they are valid.
33521func (s *UpdateXMLClassifierRequest) Validate() error {
33522	invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"}
33523	if s.Name == nil {
33524		invalidParams.Add(request.NewErrParamRequired("Name"))
33525	}
33526	if s.Name != nil && len(*s.Name) < 1 {
33527		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
33528	}
33529
33530	if invalidParams.Len() > 0 {
33531		return invalidParams
33532	}
33533	return nil
33534}
33535
33536// SetClassification sets the Classification field's value.
33537func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest {
33538	s.Classification = &v
33539	return s
33540}
33541
33542// SetName sets the Name field's value.
33543func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest {
33544	s.Name = &v
33545	return s
33546}
33547
33548// SetRowTag sets the RowTag field's value.
33549func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest {
33550	s.RowTag = &v
33551	return s
33552}
33553
33554// Represents the equivalent of a Hive user-defined function (UDF) definition.
33555type UserDefinedFunction struct {
33556	_ struct{} `type:"structure"`
33557
33558	// The Java class that contains the function code.
33559	ClassName *string `min:"1" type:"string"`
33560
33561	// The time at which the function was created.
33562	CreateTime *time.Time `type:"timestamp"`
33563
33564	// The name of the function.
33565	FunctionName *string `min:"1" type:"string"`
33566
33567	// The owner of the function.
33568	OwnerName *string `min:"1" type:"string"`
33569
33570	// The owner type.
33571	OwnerType *string `type:"string" enum:"PrincipalType"`
33572
33573	// The resource URIs for the function.
33574	ResourceUris []*ResourceUri `type:"list"`
33575}
33576
33577// String returns the string representation
33578func (s UserDefinedFunction) String() string {
33579	return awsutil.Prettify(s)
33580}
33581
33582// GoString returns the string representation
33583func (s UserDefinedFunction) GoString() string {
33584	return s.String()
33585}
33586
33587// SetClassName sets the ClassName field's value.
33588func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction {
33589	s.ClassName = &v
33590	return s
33591}
33592
33593// SetCreateTime sets the CreateTime field's value.
33594func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction {
33595	s.CreateTime = &v
33596	return s
33597}
33598
33599// SetFunctionName sets the FunctionName field's value.
33600func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction {
33601	s.FunctionName = &v
33602	return s
33603}
33604
33605// SetOwnerName sets the OwnerName field's value.
33606func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction {
33607	s.OwnerName = &v
33608	return s
33609}
33610
33611// SetOwnerType sets the OwnerType field's value.
33612func (s *UserDefinedFunction) SetOwnerType(v string) *UserDefinedFunction {
33613	s.OwnerType = &v
33614	return s
33615}
33616
33617// SetResourceUris sets the ResourceUris field's value.
33618func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunction {
33619	s.ResourceUris = v
33620	return s
33621}
33622
33623// A structure used to create or update a user-defined function.
33624type UserDefinedFunctionInput struct {
33625	_ struct{} `type:"structure"`
33626
33627	// The Java class that contains the function code.
33628	ClassName *string `min:"1" type:"string"`
33629
33630	// The name of the function.
33631	FunctionName *string `min:"1" type:"string"`
33632
33633	// The owner of the function.
33634	OwnerName *string `min:"1" type:"string"`
33635
33636	// The owner type.
33637	OwnerType *string `type:"string" enum:"PrincipalType"`
33638
33639	// The resource URIs for the function.
33640	ResourceUris []*ResourceUri `type:"list"`
33641}
33642
33643// String returns the string representation
33644func (s UserDefinedFunctionInput) String() string {
33645	return awsutil.Prettify(s)
33646}
33647
33648// GoString returns the string representation
33649func (s UserDefinedFunctionInput) GoString() string {
33650	return s.String()
33651}
33652
33653// Validate inspects the fields of the type to determine if they are valid.
33654func (s *UserDefinedFunctionInput) Validate() error {
33655	invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"}
33656	if s.ClassName != nil && len(*s.ClassName) < 1 {
33657		invalidParams.Add(request.NewErrParamMinLen("ClassName", 1))
33658	}
33659	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
33660		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
33661	}
33662	if s.OwnerName != nil && len(*s.OwnerName) < 1 {
33663		invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1))
33664	}
33665	if s.ResourceUris != nil {
33666		for i, v := range s.ResourceUris {
33667			if v == nil {
33668				continue
33669			}
33670			if err := v.Validate(); err != nil {
33671				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams))
33672			}
33673		}
33674	}
33675
33676	if invalidParams.Len() > 0 {
33677		return invalidParams
33678	}
33679	return nil
33680}
33681
33682// SetClassName sets the ClassName field's value.
33683func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput {
33684	s.ClassName = &v
33685	return s
33686}
33687
33688// SetFunctionName sets the FunctionName field's value.
33689func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput {
33690	s.FunctionName = &v
33691	return s
33692}
33693
33694// SetOwnerName sets the OwnerName field's value.
33695func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput {
33696	s.OwnerName = &v
33697	return s
33698}
33699
33700// SetOwnerType sets the OwnerType field's value.
33701func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput {
33702	s.OwnerType = &v
33703	return s
33704}
33705
33706// SetResourceUris sets the ResourceUris field's value.
33707func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput {
33708	s.ResourceUris = v
33709	return s
33710}
33711
33712// A value could not be validated.
33713type ValidationException struct {
33714	_            struct{} `type:"structure"`
33715	respMetadata protocol.ResponseMetadata
33716
33717	// A message describing the problem.
33718	Message_ *string `locationName:"Message" type:"string"`
33719}
33720
33721// String returns the string representation
33722func (s ValidationException) String() string {
33723	return awsutil.Prettify(s)
33724}
33725
33726// GoString returns the string representation
33727func (s ValidationException) GoString() string {
33728	return s.String()
33729}
33730
33731func newErrorValidationException(v protocol.ResponseMetadata) error {
33732	return &ValidationException{
33733		respMetadata: v,
33734	}
33735}
33736
33737// Code returns the exception type name.
33738func (s ValidationException) Code() string {
33739	return "ValidationException"
33740}
33741
33742// Message returns the exception's message.
33743func (s ValidationException) Message() string {
33744	if s.Message_ != nil {
33745		return *s.Message_
33746	}
33747	return ""
33748}
33749
33750// OrigErr always returns nil, satisfies awserr.Error interface.
33751func (s ValidationException) OrigErr() error {
33752	return nil
33753}
33754
33755func (s ValidationException) Error() string {
33756	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
33757}
33758
33759// Status code returns the HTTP status code for the request's response error.
33760func (s ValidationException) StatusCode() int {
33761	return s.respMetadata.StatusCode
33762}
33763
33764// RequestID returns the service's response RequestID for request.
33765func (s ValidationException) RequestID() string {
33766	return s.respMetadata.RequestID
33767}
33768
33769// There was a version conflict.
33770type VersionMismatchException struct {
33771	_            struct{} `type:"structure"`
33772	respMetadata protocol.ResponseMetadata
33773
33774	// A message describing the problem.
33775	Message_ *string `locationName:"Message" type:"string"`
33776}
33777
33778// String returns the string representation
33779func (s VersionMismatchException) String() string {
33780	return awsutil.Prettify(s)
33781}
33782
33783// GoString returns the string representation
33784func (s VersionMismatchException) GoString() string {
33785	return s.String()
33786}
33787
33788func newErrorVersionMismatchException(v protocol.ResponseMetadata) error {
33789	return &VersionMismatchException{
33790		respMetadata: v,
33791	}
33792}
33793
33794// Code returns the exception type name.
33795func (s VersionMismatchException) Code() string {
33796	return "VersionMismatchException"
33797}
33798
33799// Message returns the exception's message.
33800func (s VersionMismatchException) Message() string {
33801	if s.Message_ != nil {
33802		return *s.Message_
33803	}
33804	return ""
33805}
33806
33807// OrigErr always returns nil, satisfies awserr.Error interface.
33808func (s VersionMismatchException) OrigErr() error {
33809	return nil
33810}
33811
33812func (s VersionMismatchException) Error() string {
33813	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
33814}
33815
33816// Status code returns the HTTP status code for the request's response error.
33817func (s VersionMismatchException) StatusCode() int {
33818	return s.respMetadata.StatusCode
33819}
33820
33821// RequestID returns the service's response RequestID for request.
33822func (s VersionMismatchException) RequestID() string {
33823	return s.respMetadata.RequestID
33824}
33825
33826// A workflow represents a flow in which AWS Glue components should be executed
33827// to complete a logical task.
33828type Workflow struct {
33829	_ struct{} `type:"structure"`
33830
33831	// The date and time when the workflow was created.
33832	CreatedOn *time.Time `type:"timestamp"`
33833
33834	// A collection of properties to be used as part of each execution of the workflow.
33835	DefaultRunProperties map[string]*string `type:"map"`
33836
33837	// A description of the workflow.
33838	Description *string `type:"string"`
33839
33840	// The graph representing all the AWS Glue components that belong to the workflow
33841	// as nodes and directed connections between them as edges.
33842	Graph *WorkflowGraph `type:"structure"`
33843
33844	// The date and time when the workflow was last modified.
33845	LastModifiedOn *time.Time `type:"timestamp"`
33846
33847	// The information about the last execution of the workflow.
33848	LastRun *WorkflowRun `type:"structure"`
33849
33850	// The name of the workflow representing the flow.
33851	Name *string `min:"1" type:"string"`
33852}
33853
33854// String returns the string representation
33855func (s Workflow) String() string {
33856	return awsutil.Prettify(s)
33857}
33858
33859// GoString returns the string representation
33860func (s Workflow) GoString() string {
33861	return s.String()
33862}
33863
33864// SetCreatedOn sets the CreatedOn field's value.
33865func (s *Workflow) SetCreatedOn(v time.Time) *Workflow {
33866	s.CreatedOn = &v
33867	return s
33868}
33869
33870// SetDefaultRunProperties sets the DefaultRunProperties field's value.
33871func (s *Workflow) SetDefaultRunProperties(v map[string]*string) *Workflow {
33872	s.DefaultRunProperties = v
33873	return s
33874}
33875
33876// SetDescription sets the Description field's value.
33877func (s *Workflow) SetDescription(v string) *Workflow {
33878	s.Description = &v
33879	return s
33880}
33881
33882// SetGraph sets the Graph field's value.
33883func (s *Workflow) SetGraph(v *WorkflowGraph) *Workflow {
33884	s.Graph = v
33885	return s
33886}
33887
33888// SetLastModifiedOn sets the LastModifiedOn field's value.
33889func (s *Workflow) SetLastModifiedOn(v time.Time) *Workflow {
33890	s.LastModifiedOn = &v
33891	return s
33892}
33893
33894// SetLastRun sets the LastRun field's value.
33895func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow {
33896	s.LastRun = v
33897	return s
33898}
33899
33900// SetName sets the Name field's value.
33901func (s *Workflow) SetName(v string) *Workflow {
33902	s.Name = &v
33903	return s
33904}
33905
33906// A workflow graph represents the complete workflow containing all the AWS
33907// Glue components present in the workflow and all the directed connections
33908// between them.
33909type WorkflowGraph struct {
33910	_ struct{} `type:"structure"`
33911
33912	// A list of all the directed connections between the nodes belonging to the
33913	// workflow.
33914	Edges []*Edge `type:"list"`
33915
33916	// A list of the the AWS Glue components belong to the workflow represented
33917	// as nodes.
33918	Nodes []*Node `type:"list"`
33919}
33920
33921// String returns the string representation
33922func (s WorkflowGraph) String() string {
33923	return awsutil.Prettify(s)
33924}
33925
33926// GoString returns the string representation
33927func (s WorkflowGraph) GoString() string {
33928	return s.String()
33929}
33930
33931// SetEdges sets the Edges field's value.
33932func (s *WorkflowGraph) SetEdges(v []*Edge) *WorkflowGraph {
33933	s.Edges = v
33934	return s
33935}
33936
33937// SetNodes sets the Nodes field's value.
33938func (s *WorkflowGraph) SetNodes(v []*Node) *WorkflowGraph {
33939	s.Nodes = v
33940	return s
33941}
33942
33943// A workflow run is an execution of a workflow providing all the runtime information.
33944type WorkflowRun struct {
33945	_ struct{} `type:"structure"`
33946
33947	// The date and time when the workflow run completed.
33948	CompletedOn *time.Time `type:"timestamp"`
33949
33950	// The graph representing all the AWS Glue components that belong to the workflow
33951	// as nodes and directed connections between them as edges.
33952	Graph *WorkflowGraph `type:"structure"`
33953
33954	// Name of the workflow which was executed.
33955	Name *string `min:"1" type:"string"`
33956
33957	// The date and time when the workflow run was started.
33958	StartedOn *time.Time `type:"timestamp"`
33959
33960	// The statistics of the run.
33961	Statistics *WorkflowRunStatistics `type:"structure"`
33962
33963	// The status of the workflow run.
33964	Status *string `type:"string" enum:"WorkflowRunStatus"`
33965
33966	// The ID of this workflow run.
33967	WorkflowRunId *string `min:"1" type:"string"`
33968
33969	// The workflow run properties which were set during the run.
33970	WorkflowRunProperties map[string]*string `type:"map"`
33971}
33972
33973// String returns the string representation
33974func (s WorkflowRun) String() string {
33975	return awsutil.Prettify(s)
33976}
33977
33978// GoString returns the string representation
33979func (s WorkflowRun) GoString() string {
33980	return s.String()
33981}
33982
33983// SetCompletedOn sets the CompletedOn field's value.
33984func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun {
33985	s.CompletedOn = &v
33986	return s
33987}
33988
33989// SetGraph sets the Graph field's value.
33990func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun {
33991	s.Graph = v
33992	return s
33993}
33994
33995// SetName sets the Name field's value.
33996func (s *WorkflowRun) SetName(v string) *WorkflowRun {
33997	s.Name = &v
33998	return s
33999}
34000
34001// SetStartedOn sets the StartedOn field's value.
34002func (s *WorkflowRun) SetStartedOn(v time.Time) *WorkflowRun {
34003	s.StartedOn = &v
34004	return s
34005}
34006
34007// SetStatistics sets the Statistics field's value.
34008func (s *WorkflowRun) SetStatistics(v *WorkflowRunStatistics) *WorkflowRun {
34009	s.Statistics = v
34010	return s
34011}
34012
34013// SetStatus sets the Status field's value.
34014func (s *WorkflowRun) SetStatus(v string) *WorkflowRun {
34015	s.Status = &v
34016	return s
34017}
34018
34019// SetWorkflowRunId sets the WorkflowRunId field's value.
34020func (s *WorkflowRun) SetWorkflowRunId(v string) *WorkflowRun {
34021	s.WorkflowRunId = &v
34022	return s
34023}
34024
34025// SetWorkflowRunProperties sets the WorkflowRunProperties field's value.
34026func (s *WorkflowRun) SetWorkflowRunProperties(v map[string]*string) *WorkflowRun {
34027	s.WorkflowRunProperties = v
34028	return s
34029}
34030
34031// Workflow run statistics provides statistics about the workflow run.
34032type WorkflowRunStatistics struct {
34033	_ struct{} `type:"structure"`
34034
34035	// Total number of Actions which have failed.
34036	FailedActions *int64 `type:"integer"`
34037
34038	// Total number Actions in running state.
34039	RunningActions *int64 `type:"integer"`
34040
34041	// Total number of Actions which have stopped.
34042	StoppedActions *int64 `type:"integer"`
34043
34044	// Total number of Actions which have succeeded.
34045	SucceededActions *int64 `type:"integer"`
34046
34047	// Total number of Actions which timed out.
34048	TimeoutActions *int64 `type:"integer"`
34049
34050	// Total number of Actions in the workflow run.
34051	TotalActions *int64 `type:"integer"`
34052}
34053
34054// String returns the string representation
34055func (s WorkflowRunStatistics) String() string {
34056	return awsutil.Prettify(s)
34057}
34058
34059// GoString returns the string representation
34060func (s WorkflowRunStatistics) GoString() string {
34061	return s.String()
34062}
34063
34064// SetFailedActions sets the FailedActions field's value.
34065func (s *WorkflowRunStatistics) SetFailedActions(v int64) *WorkflowRunStatistics {
34066	s.FailedActions = &v
34067	return s
34068}
34069
34070// SetRunningActions sets the RunningActions field's value.
34071func (s *WorkflowRunStatistics) SetRunningActions(v int64) *WorkflowRunStatistics {
34072	s.RunningActions = &v
34073	return s
34074}
34075
34076// SetStoppedActions sets the StoppedActions field's value.
34077func (s *WorkflowRunStatistics) SetStoppedActions(v int64) *WorkflowRunStatistics {
34078	s.StoppedActions = &v
34079	return s
34080}
34081
34082// SetSucceededActions sets the SucceededActions field's value.
34083func (s *WorkflowRunStatistics) SetSucceededActions(v int64) *WorkflowRunStatistics {
34084	s.SucceededActions = &v
34085	return s
34086}
34087
34088// SetTimeoutActions sets the TimeoutActions field's value.
34089func (s *WorkflowRunStatistics) SetTimeoutActions(v int64) *WorkflowRunStatistics {
34090	s.TimeoutActions = &v
34091	return s
34092}
34093
34094// SetTotalActions sets the TotalActions field's value.
34095func (s *WorkflowRunStatistics) SetTotalActions(v int64) *WorkflowRunStatistics {
34096	s.TotalActions = &v
34097	return s
34098}
34099
34100// A classifier for XML content.
34101type XMLClassifier struct {
34102	_ struct{} `type:"structure"`
34103
34104	// An identifier of the data format that the classifier matches.
34105	//
34106	// Classification is a required field
34107	Classification *string `type:"string" required:"true"`
34108
34109	// The time that this classifier was registered.
34110	CreationTime *time.Time `type:"timestamp"`
34111
34112	// The time that this classifier was last updated.
34113	LastUpdated *time.Time `type:"timestamp"`
34114
34115	// The name of the classifier.
34116	//
34117	// Name is a required field
34118	Name *string `min:"1" type:"string" required:"true"`
34119
34120	// The XML tag designating the element that contains each record in an XML document
34121	// being parsed. This can't identify a self-closing element (closed by />).
34122	// An empty row element that contains only attributes can be parsed as long
34123	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
34124	// is okay, but <row item_a="A" item_b="B" /> is not).
34125	RowTag *string `type:"string"`
34126
34127	// The version of this classifier.
34128	Version *int64 `type:"long"`
34129}
34130
34131// String returns the string representation
34132func (s XMLClassifier) String() string {
34133	return awsutil.Prettify(s)
34134}
34135
34136// GoString returns the string representation
34137func (s XMLClassifier) GoString() string {
34138	return s.String()
34139}
34140
34141// SetClassification sets the Classification field's value.
34142func (s *XMLClassifier) SetClassification(v string) *XMLClassifier {
34143	s.Classification = &v
34144	return s
34145}
34146
34147// SetCreationTime sets the CreationTime field's value.
34148func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier {
34149	s.CreationTime = &v
34150	return s
34151}
34152
34153// SetLastUpdated sets the LastUpdated field's value.
34154func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier {
34155	s.LastUpdated = &v
34156	return s
34157}
34158
34159// SetName sets the Name field's value.
34160func (s *XMLClassifier) SetName(v string) *XMLClassifier {
34161	s.Name = &v
34162	return s
34163}
34164
34165// SetRowTag sets the RowTag field's value.
34166func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier {
34167	s.RowTag = &v
34168	return s
34169}
34170
34171// SetVersion sets the Version field's value.
34172func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier {
34173	s.Version = &v
34174	return s
34175}
34176
34177const (
34178	// CatalogEncryptionModeDisabled is a CatalogEncryptionMode enum value
34179	CatalogEncryptionModeDisabled = "DISABLED"
34180
34181	// CatalogEncryptionModeSseKms is a CatalogEncryptionMode enum value
34182	CatalogEncryptionModeSseKms = "SSE-KMS"
34183)
34184
34185const (
34186	// CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value
34187	CloudWatchEncryptionModeDisabled = "DISABLED"
34188
34189	// CloudWatchEncryptionModeSseKms is a CloudWatchEncryptionMode enum value
34190	CloudWatchEncryptionModeSseKms = "SSE-KMS"
34191)
34192
34193const (
34194	// ComparatorEquals is a Comparator enum value
34195	ComparatorEquals = "EQUALS"
34196
34197	// ComparatorGreaterThan is a Comparator enum value
34198	ComparatorGreaterThan = "GREATER_THAN"
34199
34200	// ComparatorLessThan is a Comparator enum value
34201	ComparatorLessThan = "LESS_THAN"
34202
34203	// ComparatorGreaterThanEquals is a Comparator enum value
34204	ComparatorGreaterThanEquals = "GREATER_THAN_EQUALS"
34205
34206	// ComparatorLessThanEquals is a Comparator enum value
34207	ComparatorLessThanEquals = "LESS_THAN_EQUALS"
34208)
34209
34210const (
34211	// ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value
34212	ConnectionPropertyKeyHost = "HOST"
34213
34214	// ConnectionPropertyKeyPort is a ConnectionPropertyKey enum value
34215	ConnectionPropertyKeyPort = "PORT"
34216
34217	// ConnectionPropertyKeyUsername is a ConnectionPropertyKey enum value
34218	ConnectionPropertyKeyUsername = "USERNAME"
34219
34220	// ConnectionPropertyKeyPassword is a ConnectionPropertyKey enum value
34221	ConnectionPropertyKeyPassword = "PASSWORD"
34222
34223	// ConnectionPropertyKeyEncryptedPassword is a ConnectionPropertyKey enum value
34224	ConnectionPropertyKeyEncryptedPassword = "ENCRYPTED_PASSWORD"
34225
34226	// ConnectionPropertyKeyJdbcDriverJarUri is a ConnectionPropertyKey enum value
34227	ConnectionPropertyKeyJdbcDriverJarUri = "JDBC_DRIVER_JAR_URI"
34228
34229	// ConnectionPropertyKeyJdbcDriverClassName is a ConnectionPropertyKey enum value
34230	ConnectionPropertyKeyJdbcDriverClassName = "JDBC_DRIVER_CLASS_NAME"
34231
34232	// ConnectionPropertyKeyJdbcEngine is a ConnectionPropertyKey enum value
34233	ConnectionPropertyKeyJdbcEngine = "JDBC_ENGINE"
34234
34235	// ConnectionPropertyKeyJdbcEngineVersion is a ConnectionPropertyKey enum value
34236	ConnectionPropertyKeyJdbcEngineVersion = "JDBC_ENGINE_VERSION"
34237
34238	// ConnectionPropertyKeyConfigFiles is a ConnectionPropertyKey enum value
34239	ConnectionPropertyKeyConfigFiles = "CONFIG_FILES"
34240
34241	// ConnectionPropertyKeyInstanceId is a ConnectionPropertyKey enum value
34242	ConnectionPropertyKeyInstanceId = "INSTANCE_ID"
34243
34244	// ConnectionPropertyKeyJdbcConnectionUrl is a ConnectionPropertyKey enum value
34245	ConnectionPropertyKeyJdbcConnectionUrl = "JDBC_CONNECTION_URL"
34246
34247	// ConnectionPropertyKeyJdbcEnforceSsl is a ConnectionPropertyKey enum value
34248	ConnectionPropertyKeyJdbcEnforceSsl = "JDBC_ENFORCE_SSL"
34249
34250	// ConnectionPropertyKeyCustomJdbcCert is a ConnectionPropertyKey enum value
34251	ConnectionPropertyKeyCustomJdbcCert = "CUSTOM_JDBC_CERT"
34252
34253	// ConnectionPropertyKeySkipCustomJdbcCertValidation is a ConnectionPropertyKey enum value
34254	ConnectionPropertyKeySkipCustomJdbcCertValidation = "SKIP_CUSTOM_JDBC_CERT_VALIDATION"
34255
34256	// ConnectionPropertyKeyCustomJdbcCertString is a ConnectionPropertyKey enum value
34257	ConnectionPropertyKeyCustomJdbcCertString = "CUSTOM_JDBC_CERT_STRING"
34258)
34259
34260const (
34261	// ConnectionTypeJdbc is a ConnectionType enum value
34262	ConnectionTypeJdbc = "JDBC"
34263
34264	// ConnectionTypeSftp is a ConnectionType enum value
34265	ConnectionTypeSftp = "SFTP"
34266)
34267
34268const (
34269	// CrawlStateRunning is a CrawlState enum value
34270	CrawlStateRunning = "RUNNING"
34271
34272	// CrawlStateSucceeded is a CrawlState enum value
34273	CrawlStateSucceeded = "SUCCEEDED"
34274
34275	// CrawlStateCancelled is a CrawlState enum value
34276	CrawlStateCancelled = "CANCELLED"
34277
34278	// CrawlStateFailed is a CrawlState enum value
34279	CrawlStateFailed = "FAILED"
34280)
34281
34282const (
34283	// CrawlerStateReady is a CrawlerState enum value
34284	CrawlerStateReady = "READY"
34285
34286	// CrawlerStateRunning is a CrawlerState enum value
34287	CrawlerStateRunning = "RUNNING"
34288
34289	// CrawlerStateStopping is a CrawlerState enum value
34290	CrawlerStateStopping = "STOPPING"
34291)
34292
34293const (
34294	// CsvHeaderOptionUnknown is a CsvHeaderOption enum value
34295	CsvHeaderOptionUnknown = "UNKNOWN"
34296
34297	// CsvHeaderOptionPresent is a CsvHeaderOption enum value
34298	CsvHeaderOptionPresent = "PRESENT"
34299
34300	// CsvHeaderOptionAbsent is a CsvHeaderOption enum value
34301	CsvHeaderOptionAbsent = "ABSENT"
34302)
34303
34304const (
34305	// DeleteBehaviorLog is a DeleteBehavior enum value
34306	DeleteBehaviorLog = "LOG"
34307
34308	// DeleteBehaviorDeleteFromDatabase is a DeleteBehavior enum value
34309	DeleteBehaviorDeleteFromDatabase = "DELETE_FROM_DATABASE"
34310
34311	// DeleteBehaviorDeprecateInDatabase is a DeleteBehavior enum value
34312	DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE"
34313)
34314
34315const (
34316	// ExistConditionMustExist is a ExistCondition enum value
34317	ExistConditionMustExist = "MUST_EXIST"
34318
34319	// ExistConditionNotExist is a ExistCondition enum value
34320	ExistConditionNotExist = "NOT_EXIST"
34321
34322	// ExistConditionNone is a ExistCondition enum value
34323	ExistConditionNone = "NONE"
34324)
34325
34326const (
34327	// JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value
34328	JobBookmarksEncryptionModeDisabled = "DISABLED"
34329
34330	// JobBookmarksEncryptionModeCseKms is a JobBookmarksEncryptionMode enum value
34331	JobBookmarksEncryptionModeCseKms = "CSE-KMS"
34332)
34333
34334const (
34335	// JobRunStateStarting is a JobRunState enum value
34336	JobRunStateStarting = "STARTING"
34337
34338	// JobRunStateRunning is a JobRunState enum value
34339	JobRunStateRunning = "RUNNING"
34340
34341	// JobRunStateStopping is a JobRunState enum value
34342	JobRunStateStopping = "STOPPING"
34343
34344	// JobRunStateStopped is a JobRunState enum value
34345	JobRunStateStopped = "STOPPED"
34346
34347	// JobRunStateSucceeded is a JobRunState enum value
34348	JobRunStateSucceeded = "SUCCEEDED"
34349
34350	// JobRunStateFailed is a JobRunState enum value
34351	JobRunStateFailed = "FAILED"
34352
34353	// JobRunStateTimeout is a JobRunState enum value
34354	JobRunStateTimeout = "TIMEOUT"
34355)
34356
34357const (
34358	// LanguagePython is a Language enum value
34359	LanguagePython = "PYTHON"
34360
34361	// LanguageScala is a Language enum value
34362	LanguageScala = "SCALA"
34363)
34364
34365const (
34366	// LastCrawlStatusSucceeded is a LastCrawlStatus enum value
34367	LastCrawlStatusSucceeded = "SUCCEEDED"
34368
34369	// LastCrawlStatusCancelled is a LastCrawlStatus enum value
34370	LastCrawlStatusCancelled = "CANCELLED"
34371
34372	// LastCrawlStatusFailed is a LastCrawlStatus enum value
34373	LastCrawlStatusFailed = "FAILED"
34374)
34375
34376const (
34377	// LogicalAnd is a Logical enum value
34378	LogicalAnd = "AND"
34379
34380	// LogicalAny is a Logical enum value
34381	LogicalAny = "ANY"
34382)
34383
34384const (
34385	// LogicalOperatorEquals is a LogicalOperator enum value
34386	LogicalOperatorEquals = "EQUALS"
34387)
34388
34389const (
34390	// NodeTypeCrawler is a NodeType enum value
34391	NodeTypeCrawler = "CRAWLER"
34392
34393	// NodeTypeJob is a NodeType enum value
34394	NodeTypeJob = "JOB"
34395
34396	// NodeTypeTrigger is a NodeType enum value
34397	NodeTypeTrigger = "TRIGGER"
34398)
34399
34400const (
34401	// PermissionAll is a Permission enum value
34402	PermissionAll = "ALL"
34403
34404	// PermissionSelect is a Permission enum value
34405	PermissionSelect = "SELECT"
34406
34407	// PermissionAlter is a Permission enum value
34408	PermissionAlter = "ALTER"
34409
34410	// PermissionDrop is a Permission enum value
34411	PermissionDrop = "DROP"
34412
34413	// PermissionDelete is a Permission enum value
34414	PermissionDelete = "DELETE"
34415
34416	// PermissionInsert is a Permission enum value
34417	PermissionInsert = "INSERT"
34418
34419	// PermissionCreateDatabase is a Permission enum value
34420	PermissionCreateDatabase = "CREATE_DATABASE"
34421
34422	// PermissionCreateTable is a Permission enum value
34423	PermissionCreateTable = "CREATE_TABLE"
34424
34425	// PermissionDataLocationAccess is a Permission enum value
34426	PermissionDataLocationAccess = "DATA_LOCATION_ACCESS"
34427)
34428
34429const (
34430	// PrincipalTypeUser is a PrincipalType enum value
34431	PrincipalTypeUser = "USER"
34432
34433	// PrincipalTypeRole is a PrincipalType enum value
34434	PrincipalTypeRole = "ROLE"
34435
34436	// PrincipalTypeGroup is a PrincipalType enum value
34437	PrincipalTypeGroup = "GROUP"
34438)
34439
34440const (
34441	// ResourceTypeJar is a ResourceType enum value
34442	ResourceTypeJar = "JAR"
34443
34444	// ResourceTypeFile is a ResourceType enum value
34445	ResourceTypeFile = "FILE"
34446
34447	// ResourceTypeArchive is a ResourceType enum value
34448	ResourceTypeArchive = "ARCHIVE"
34449)
34450
34451const (
34452	// S3EncryptionModeDisabled is a S3EncryptionMode enum value
34453	S3EncryptionModeDisabled = "DISABLED"
34454
34455	// S3EncryptionModeSseKms is a S3EncryptionMode enum value
34456	S3EncryptionModeSseKms = "SSE-KMS"
34457
34458	// S3EncryptionModeSseS3 is a S3EncryptionMode enum value
34459	S3EncryptionModeSseS3 = "SSE-S3"
34460)
34461
34462const (
34463	// ScheduleStateScheduled is a ScheduleState enum value
34464	ScheduleStateScheduled = "SCHEDULED"
34465
34466	// ScheduleStateNotScheduled is a ScheduleState enum value
34467	ScheduleStateNotScheduled = "NOT_SCHEDULED"
34468
34469	// ScheduleStateTransitioning is a ScheduleState enum value
34470	ScheduleStateTransitioning = "TRANSITIONING"
34471)
34472
34473const (
34474	// SortAsc is a Sort enum value
34475	SortAsc = "ASC"
34476
34477	// SortDesc is a Sort enum value
34478	SortDesc = "DESC"
34479)
34480
34481const (
34482	// SortDirectionTypeDescending is a SortDirectionType enum value
34483	SortDirectionTypeDescending = "DESCENDING"
34484
34485	// SortDirectionTypeAscending is a SortDirectionType enum value
34486	SortDirectionTypeAscending = "ASCENDING"
34487)
34488
34489const (
34490	// TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value
34491	TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE"
34492
34493	// TaskRunSortColumnTypeStatus is a TaskRunSortColumnType enum value
34494	TaskRunSortColumnTypeStatus = "STATUS"
34495
34496	// TaskRunSortColumnTypeStarted is a TaskRunSortColumnType enum value
34497	TaskRunSortColumnTypeStarted = "STARTED"
34498)
34499
34500const (
34501	// TaskStatusTypeStarting is a TaskStatusType enum value
34502	TaskStatusTypeStarting = "STARTING"
34503
34504	// TaskStatusTypeRunning is a TaskStatusType enum value
34505	TaskStatusTypeRunning = "RUNNING"
34506
34507	// TaskStatusTypeStopping is a TaskStatusType enum value
34508	TaskStatusTypeStopping = "STOPPING"
34509
34510	// TaskStatusTypeStopped is a TaskStatusType enum value
34511	TaskStatusTypeStopped = "STOPPED"
34512
34513	// TaskStatusTypeSucceeded is a TaskStatusType enum value
34514	TaskStatusTypeSucceeded = "SUCCEEDED"
34515
34516	// TaskStatusTypeFailed is a TaskStatusType enum value
34517	TaskStatusTypeFailed = "FAILED"
34518
34519	// TaskStatusTypeTimeout is a TaskStatusType enum value
34520	TaskStatusTypeTimeout = "TIMEOUT"
34521)
34522
34523const (
34524	// TaskTypeEvaluation is a TaskType enum value
34525	TaskTypeEvaluation = "EVALUATION"
34526
34527	// TaskTypeLabelingSetGeneration is a TaskType enum value
34528	TaskTypeLabelingSetGeneration = "LABELING_SET_GENERATION"
34529
34530	// TaskTypeImportLabels is a TaskType enum value
34531	TaskTypeImportLabels = "IMPORT_LABELS"
34532
34533	// TaskTypeExportLabels is a TaskType enum value
34534	TaskTypeExportLabels = "EXPORT_LABELS"
34535
34536	// TaskTypeFindMatches is a TaskType enum value
34537	TaskTypeFindMatches = "FIND_MATCHES"
34538)
34539
34540const (
34541	// TransformSortColumnTypeName is a TransformSortColumnType enum value
34542	TransformSortColumnTypeName = "NAME"
34543
34544	// TransformSortColumnTypeTransformType is a TransformSortColumnType enum value
34545	TransformSortColumnTypeTransformType = "TRANSFORM_TYPE"
34546
34547	// TransformSortColumnTypeStatus is a TransformSortColumnType enum value
34548	TransformSortColumnTypeStatus = "STATUS"
34549
34550	// TransformSortColumnTypeCreated is a TransformSortColumnType enum value
34551	TransformSortColumnTypeCreated = "CREATED"
34552
34553	// TransformSortColumnTypeLastModified is a TransformSortColumnType enum value
34554	TransformSortColumnTypeLastModified = "LAST_MODIFIED"
34555)
34556
34557const (
34558	// TransformStatusTypeNotReady is a TransformStatusType enum value
34559	TransformStatusTypeNotReady = "NOT_READY"
34560
34561	// TransformStatusTypeReady is a TransformStatusType enum value
34562	TransformStatusTypeReady = "READY"
34563
34564	// TransformStatusTypeDeleting is a TransformStatusType enum value
34565	TransformStatusTypeDeleting = "DELETING"
34566)
34567
34568const (
34569	// TransformTypeFindMatches is a TransformType enum value
34570	TransformTypeFindMatches = "FIND_MATCHES"
34571)
34572
34573const (
34574	// TriggerStateCreating is a TriggerState enum value
34575	TriggerStateCreating = "CREATING"
34576
34577	// TriggerStateCreated is a TriggerState enum value
34578	TriggerStateCreated = "CREATED"
34579
34580	// TriggerStateActivating is a TriggerState enum value
34581	TriggerStateActivating = "ACTIVATING"
34582
34583	// TriggerStateActivated is a TriggerState enum value
34584	TriggerStateActivated = "ACTIVATED"
34585
34586	// TriggerStateDeactivating is a TriggerState enum value
34587	TriggerStateDeactivating = "DEACTIVATING"
34588
34589	// TriggerStateDeactivated is a TriggerState enum value
34590	TriggerStateDeactivated = "DEACTIVATED"
34591
34592	// TriggerStateDeleting is a TriggerState enum value
34593	TriggerStateDeleting = "DELETING"
34594
34595	// TriggerStateUpdating is a TriggerState enum value
34596	TriggerStateUpdating = "UPDATING"
34597)
34598
34599const (
34600	// TriggerTypeScheduled is a TriggerType enum value
34601	TriggerTypeScheduled = "SCHEDULED"
34602
34603	// TriggerTypeConditional is a TriggerType enum value
34604	TriggerTypeConditional = "CONDITIONAL"
34605
34606	// TriggerTypeOnDemand is a TriggerType enum value
34607	TriggerTypeOnDemand = "ON_DEMAND"
34608)
34609
34610const (
34611	// UpdateBehaviorLog is a UpdateBehavior enum value
34612	UpdateBehaviorLog = "LOG"
34613
34614	// UpdateBehaviorUpdateInDatabase is a UpdateBehavior enum value
34615	UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE"
34616)
34617
34618const (
34619	// WorkerTypeStandard is a WorkerType enum value
34620	WorkerTypeStandard = "Standard"
34621
34622	// WorkerTypeG1x is a WorkerType enum value
34623	WorkerTypeG1x = "G.1X"
34624
34625	// WorkerTypeG2x is a WorkerType enum value
34626	WorkerTypeG2x = "G.2X"
34627)
34628
34629const (
34630	// WorkflowRunStatusRunning is a WorkflowRunStatus enum value
34631	WorkflowRunStatusRunning = "RUNNING"
34632
34633	// WorkflowRunStatusCompleted is a WorkflowRunStatus enum value
34634	WorkflowRunStatusCompleted = "COMPLETED"
34635)
34636