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 Codes:
70//   * ErrCodeInvalidInputException "InvalidInputException"
71//   The input provided was not valid.
72//
73//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
74//   A resource to be created or added already exists.
75//
76//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
77//   A resource numerical limit was exceeded.
78//
79//   * ErrCodeInternalServiceException "InternalServiceException"
80//   An internal service error occurred.
81//
82//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
83//   A specified entity does not exist
84//
85//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
86//   The operation timed out.
87//
88//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
167//   * ErrCodeInternalServiceException "InternalServiceException"
168//   An internal service error occurred.
169//
170//   * ErrCodeOperationTimeoutException "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 Codes:
249//   * ErrCodeInvalidInputException "InvalidInputException"
250//   The input provided was not valid.
251//
252//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
253//   A specified entity does not exist
254//
255//   * ErrCodeInternalServiceException "InternalServiceException"
256//   An internal service error occurred.
257//
258//   * ErrCodeOperationTimeoutException "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 Codes:
346//   * ErrCodeInvalidInputException "InvalidInputException"
347//   The input provided was not valid.
348//
349//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
350//   A specified entity does not exist
351//
352//   * ErrCodeInternalServiceException "InternalServiceException"
353//   An internal service error occurred.
354//
355//   * ErrCodeOperationTimeoutException "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 Codes:
434//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
435//   A specified entity does not exist
436//
437//   * ErrCodeInvalidInputException "InvalidInputException"
438//   The input provided was not valid.
439//
440//   * ErrCodeInternalServiceException "InternalServiceException"
441//   An internal service error occurred.
442//
443//   * ErrCodeOperationTimeoutException "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 Codes:
525//   * ErrCodeInvalidInputException "InvalidInputException"
526//   The input provided was not valid.
527//
528//   * ErrCodeOperationTimeoutException "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 Codes:
610//   * ErrCodeAccessDeniedException "AccessDeniedException"
611//   Access to a resource was denied.
612//
613//   * ErrCodeInternalServiceException "InternalServiceException"
614//   An internal service error occurred.
615//
616//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
617//   The operation timed out.
618//
619//   * ErrCodeInvalidInputException "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 Codes:
701//   * ErrCodeInternalServiceException "InternalServiceException"
702//   An internal service error occurred.
703//
704//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
705//   The operation timed out.
706//
707//   * ErrCodeInvalidInputException "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 Codes:
786//   * ErrCodeInvalidInputException "InvalidInputException"
787//   The input provided was not valid.
788//
789//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
790//   A specified entity does not exist
791//
792//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
793//   The operation timed out.
794//
795//   * ErrCodeInternalServiceException "InternalServiceException"
796//   An internal service error occurred.
797//
798//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
880//   * ErrCodeInternalServiceException "InternalServiceException"
881//   An internal service error occurred.
882//
883//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
884//   The operation timed out.
885//
886//   * ErrCodeInvalidInputException "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 Codes:
968//   * ErrCodeInternalServiceException "InternalServiceException"
969//   An internal service error occurred.
970//
971//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
972//   The operation timed out.
973//
974//   * ErrCodeInvalidInputException "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 Codes:
1053//   * ErrCodeInvalidInputException "InvalidInputException"
1054//   The input provided was not valid.
1055//
1056//   * ErrCodeInternalServiceException "InternalServiceException"
1057//   An internal service error occurred.
1058//
1059//   * ErrCodeOperationTimeoutException "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 Codes:
1141//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
1142//   A specified entity does not exist
1143//
1144//   * ErrCodeInvalidInputException "InvalidInputException"
1145//   The input provided was not valid.
1146//
1147//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1148//   The operation timed out.
1149//
1150//   * ErrCodeInternalServiceException "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 Codes:
1232//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1233//   A resource to be created or added already exists.
1234//
1235//   * ErrCodeInvalidInputException "InvalidInputException"
1236//   The input provided was not valid.
1237//
1238//   * ErrCodeOperationTimeoutException "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 Codes:
1318//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1319//   A resource to be created or added already exists.
1320//
1321//   * ErrCodeInvalidInputException "InvalidInputException"
1322//   The input provided was not valid.
1323//
1324//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1325//   The operation timed out.
1326//
1327//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
1328//   A resource numerical limit was exceeded.
1329//
1330//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
1412//   * ErrCodeInvalidInputException "InvalidInputException"
1413//   The input provided was not valid.
1414//
1415//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1416//   A resource to be created or added already exists.
1417//
1418//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1419//   The operation timed out.
1420//
1421//   * ErrCodeResourceNumberLimitExceededException "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 Codes:
1501//   * ErrCodeInvalidInputException "InvalidInputException"
1502//   The input provided was not valid.
1503//
1504//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1505//   A resource to be created or added already exists.
1506//
1507//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
1508//   A resource numerical limit was exceeded.
1509//
1510//   * ErrCodeInternalServiceException "InternalServiceException"
1511//   An internal service error occurred.
1512//
1513//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1514//   The operation timed out.
1515//
1516//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
1595//   * ErrCodeAccessDeniedException "AccessDeniedException"
1596//   Access to a resource was denied.
1597//
1598//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1599//   A resource to be created or added already exists.
1600//
1601//   * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
1602//   The same unique identifier was associated with two different records.
1603//
1604//   * ErrCodeInternalServiceException "InternalServiceException"
1605//   An internal service error occurred.
1606//
1607//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1608//   The operation timed out.
1609//
1610//   * ErrCodeInvalidInputException "InvalidInputException"
1611//   The input provided was not valid.
1612//
1613//   * ErrCodeValidationException "ValidationException"
1614//   A value could not be validated.
1615//
1616//   * ErrCodeResourceNumberLimitExceededException "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 Codes:
1695//   * ErrCodeInvalidInputException "InvalidInputException"
1696//   The input provided was not valid.
1697//
1698//   * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
1699//   The same unique identifier was associated with two different records.
1700//
1701//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1702//   A resource to be created or added already exists.
1703//
1704//   * ErrCodeInternalServiceException "InternalServiceException"
1705//   An internal service error occurred.
1706//
1707//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1708//   The operation timed out.
1709//
1710//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
1711//   A resource numerical limit was exceeded.
1712//
1713//   * ErrCodeConcurrentModificationException "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 Codes:
1804//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1805//   A resource to be created or added already exists.
1806//
1807//   * ErrCodeInvalidInputException "InvalidInputException"
1808//   The input provided was not valid.
1809//
1810//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1811//   The operation timed out.
1812//
1813//   * ErrCodeInternalServiceException "InternalServiceException"
1814//   An internal service error occurred.
1815//
1816//   * ErrCodeAccessDeniedException "AccessDeniedException"
1817//   Access to a resource was denied.
1818//
1819//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
1820//   A resource numerical limit was exceeded.
1821//
1822//   * ErrCodeIdempotentParameterMismatchException "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 Codes:
1902//   * ErrCodeInvalidInputException "InvalidInputException"
1903//   The input provided was not valid.
1904//
1905//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
1906//   A resource to be created or added already exists.
1907//
1908//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
1909//   A resource numerical limit was exceeded.
1910//
1911//   * ErrCodeInternalServiceException "InternalServiceException"
1912//   An internal service error occurred.
1913//
1914//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
1915//   A specified entity does not exist
1916//
1917//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
1918//   The operation timed out.
1919//
1920//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
1999//   * ErrCodeInvalidInputException "InvalidInputException"
2000//   The input provided was not valid.
2001//
2002//   * ErrCodeInternalServiceException "InternalServiceException"
2003//   An internal service error occurred.
2004//
2005//   * ErrCodeOperationTimeoutException "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 Codes:
2088//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
2089//   A resource to be created or added already exists.
2090//
2091//   * ErrCodeInvalidInputException "InvalidInputException"
2092//   The input provided was not valid.
2093//
2094//   * ErrCodeInternalServiceException "InternalServiceException"
2095//   An internal service error occurred.
2096//
2097//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2098//   The operation timed out.
2099//
2100//   * ErrCodeResourceNumberLimitExceededException "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 Codes:
2180//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
2181//   A resource to be created or added already exists.
2182//
2183//   * ErrCodeInvalidInputException "InvalidInputException"
2184//   The input provided was not valid.
2185//
2186//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2187//   A specified entity does not exist
2188//
2189//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
2190//   A resource numerical limit was exceeded.
2191//
2192//   * ErrCodeInternalServiceException "InternalServiceException"
2193//   An internal service error occurred.
2194//
2195//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2196//   The operation timed out.
2197//
2198//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
2277//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
2278//   A resource to be created or added already exists.
2279//
2280//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2281//   A specified entity does not exist
2282//
2283//   * ErrCodeInvalidInputException "InvalidInputException"
2284//   The input provided was not valid.
2285//
2286//   * ErrCodeIdempotentParameterMismatchException "IdempotentParameterMismatchException"
2287//   The same unique identifier was associated with two different records.
2288//
2289//   * ErrCodeInternalServiceException "InternalServiceException"
2290//   An internal service error occurred.
2291//
2292//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2293//   The operation timed out.
2294//
2295//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
2296//   A resource numerical limit was exceeded.
2297//
2298//   * ErrCodeConcurrentModificationException "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 Codes:
2378//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
2379//   A resource to be created or added already exists.
2380//
2381//   * ErrCodeInvalidInputException "InvalidInputException"
2382//   The input provided was not valid.
2383//
2384//   * ErrCodeInternalServiceException "InternalServiceException"
2385//   An internal service error occurred.
2386//
2387//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2388//   A specified entity does not exist
2389//
2390//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2391//   The operation timed out.
2392//
2393//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
2394//   A resource numerical limit was exceeded.
2395//
2396//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
2475//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
2476//   A resource to be created or added already exists.
2477//
2478//   * ErrCodeInvalidInputException "InvalidInputException"
2479//   The input provided was not valid.
2480//
2481//   * ErrCodeInternalServiceException "InternalServiceException"
2482//   An internal service error occurred.
2483//
2484//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2485//   The operation timed out.
2486//
2487//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
2488//   A resource numerical limit was exceeded.
2489//
2490//   * ErrCodeConcurrentModificationException "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 Codes:
2570//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2571//   A specified entity does not exist
2572//
2573//   * ErrCodeOperationTimeoutException "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 Codes:
2653//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2654//   A specified entity does not exist
2655//
2656//   * ErrCodeOperationTimeoutException "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 Codes:
2737//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2738//   A specified entity does not exist
2739//
2740//   * ErrCodeCrawlerRunningException "CrawlerRunningException"
2741//   The operation cannot be performed because the crawler is already running.
2742//
2743//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
2744//   The specified scheduler is transitioning.
2745//
2746//   * ErrCodeOperationTimeoutException "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 Codes:
2837//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2838//   A specified entity does not exist
2839//
2840//   * ErrCodeInvalidInputException "InvalidInputException"
2841//   The input provided was not valid.
2842//
2843//   * ErrCodeInternalServiceException "InternalServiceException"
2844//   An internal service error occurred.
2845//
2846//   * ErrCodeOperationTimeoutException "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 Codes:
2926//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
2927//   A specified entity does not exist
2928//
2929//   * ErrCodeInternalServiceException "InternalServiceException"
2930//   An internal service error occurred.
2931//
2932//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
2933//   The operation timed out.
2934//
2935//   * ErrCodeInvalidInputException "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 Codes:
3015//   * ErrCodeInvalidInputException "InvalidInputException"
3016//   The input provided was not valid.
3017//
3018//   * ErrCodeInternalServiceException "InternalServiceException"
3019//   An internal service error occurred.
3020//
3021//   * ErrCodeOperationTimeoutException "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 Codes:
3106//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3107//   A specified entity does not exist
3108//
3109//   * ErrCodeInvalidInputException "InvalidInputException"
3110//   The input provided was not valid.
3111//
3112//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
3113//   The operation timed out.
3114//
3115//   * ErrCodeInternalServiceException "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 Codes:
3195//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3196//   A specified entity does not exist
3197//
3198//   * ErrCodeInvalidInputException "InvalidInputException"
3199//   The input provided was not valid.
3200//
3201//   * ErrCodeInternalServiceException "InternalServiceException"
3202//   An internal service error occurred.
3203//
3204//   * ErrCodeOperationTimeoutException "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 Codes:
3284//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3285//   A specified entity does not exist
3286//
3287//   * ErrCodeInternalServiceException "InternalServiceException"
3288//   An internal service error occurred.
3289//
3290//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
3291//   The operation timed out.
3292//
3293//   * ErrCodeInvalidInputException "InvalidInputException"
3294//   The input provided was not valid.
3295//
3296//   * ErrCodeConditionCheckFailureException "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 Codes:
3376//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3377//   A specified entity does not exist
3378//
3379//   * ErrCodeInvalidInputException "InvalidInputException"
3380//   The input provided was not valid.
3381//
3382//   * ErrCodeInternalServiceException "InternalServiceException"
3383//   An internal service error occurred.
3384//
3385//   * ErrCodeOperationTimeoutException "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 Codes:
3473//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3474//   A specified entity does not exist
3475//
3476//   * ErrCodeInvalidInputException "InvalidInputException"
3477//   The input provided was not valid.
3478//
3479//   * ErrCodeInternalServiceException "InternalServiceException"
3480//   An internal service error occurred.
3481//
3482//   * ErrCodeOperationTimeoutException "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 Codes:
3562//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3563//   A specified entity does not exist
3564//
3565//   * ErrCodeInvalidInputException "InvalidInputException"
3566//   The input provided was not valid.
3567//
3568//   * ErrCodeInternalServiceException "InternalServiceException"
3569//   An internal service error occurred.
3570//
3571//   * ErrCodeOperationTimeoutException "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 Codes:
3651//   * ErrCodeInvalidInputException "InvalidInputException"
3652//   The input provided was not valid.
3653//
3654//   * ErrCodeInternalServiceException "InternalServiceException"
3655//   An internal service error occurred.
3656//
3657//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
3658//   The operation timed out.
3659//
3660//   * ErrCodeConcurrentModificationException "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 Codes:
3740//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3741//   A specified entity does not exist
3742//
3743//   * ErrCodeInvalidInputException "InvalidInputException"
3744//   The input provided was not valid.
3745//
3746//   * ErrCodeInternalServiceException "InternalServiceException"
3747//   An internal service error occurred.
3748//
3749//   * ErrCodeOperationTimeoutException "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 Codes:
3828//   * ErrCodeInvalidInputException "InvalidInputException"
3829//   The input provided was not valid.
3830//
3831//   * ErrCodeInternalServiceException "InternalServiceException"
3832//   An internal service error occurred.
3833//
3834//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
3835//   The operation timed out.
3836//
3837//   * ErrCodeConcurrentModificationException "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 Codes:
3916//   * ErrCodeInternalServiceException "InternalServiceException"
3917//   An internal service error occurred.
3918//
3919//   * ErrCodeOperationTimeoutException "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 Codes:
3998//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
3999//   A specified entity does not exist
4000//
4001//   * ErrCodeOperationTimeoutException "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 Codes:
4086//   * ErrCodeOperationTimeoutException "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 Codes:
4217//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4218//   A specified entity does not exist
4219//
4220//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4221//   The operation timed out.
4222//
4223//   * ErrCodeInvalidInputException "InvalidInputException"
4224//   The input provided was not valid.
4225//
4226//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
4311//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4312//   A specified entity does not exist
4313//
4314//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4315//   The operation timed out.
4316//
4317//   * ErrCodeInvalidInputException "InvalidInputException"
4318//   The input provided was not valid.
4319//
4320//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
4451//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4452//   A specified entity does not exist
4453//
4454//   * ErrCodeOperationTimeoutException "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 Codes:
4539//   * ErrCodeOperationTimeoutException "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 Codes:
4676//   * ErrCodeOperationTimeoutException "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 Codes:
4807//   * ErrCodeInternalServiceException "InternalServiceException"
4808//   An internal service error occurred.
4809//
4810//   * ErrCodeInvalidInputException "InvalidInputException"
4811//   The input provided was not valid.
4812//
4813//   * ErrCodeOperationTimeoutException "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 Codes:
4892//   * ErrCodeInvalidInputException "InvalidInputException"
4893//   The input provided was not valid.
4894//
4895//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4896//   A specified entity does not exist
4897//
4898//   * ErrCodeInternalServiceException "InternalServiceException"
4899//   An internal service error occurred.
4900//
4901//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4902//   The operation timed out.
4903//
4904//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
4989//   * ErrCodeInvalidInputException "InvalidInputException"
4990//   The input provided was not valid.
4991//
4992//   * ErrCodeInternalServiceException "InternalServiceException"
4993//   An internal service error occurred.
4994//
4995//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4996//   The operation timed out.
4997//
4998//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
5129//   * ErrCodeInvalidInputException "InvalidInputException"
5130//   The input provided was not valid.
5131//
5132//   * ErrCodeInternalServiceException "InternalServiceException"
5133//   An internal service error occurred.
5134//
5135//   * ErrCodeOperationTimeoutException "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 Codes:
5219//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5220//   A specified entity does not exist
5221//
5222//   * ErrCodeInternalServiceException "InternalServiceException"
5223//   An internal service error occurred.
5224//
5225//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5226//   The operation timed out.
5227//
5228//   * ErrCodeInvalidInputException "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 Codes:
5318//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5319//   A specified entity does not exist
5320//
5321//   * ErrCodeInternalServiceException "InternalServiceException"
5322//   An internal service error occurred.
5323//
5324//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5325//   The operation timed out.
5326//
5327//   * ErrCodeInvalidInputException "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 Codes:
5458//   * ErrCodeInvalidInputException "InvalidInputException"
5459//   The input provided was not valid.
5460//
5461//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5462//   A specified entity does not exist
5463//
5464//   * ErrCodeInternalServiceException "InternalServiceException"
5465//   An internal service error occurred.
5466//
5467//   * ErrCodeOperationTimeoutException "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 Codes:
5546//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5547//   A specified entity does not exist
5548//
5549//   * ErrCodeInvalidInputException "InvalidInputException"
5550//   The input provided was not valid.
5551//
5552//   * ErrCodeInternalServiceException "InternalServiceException"
5553//   An internal service error occurred.
5554//
5555//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5556//   The operation timed out.
5557//
5558//   * ErrCodeValidationException "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 Codes:
5637//   * ErrCodeInvalidInputException "InvalidInputException"
5638//   The input provided was not valid.
5639//
5640//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5641//   A specified entity does not exist
5642//
5643//   * ErrCodeInternalServiceException "InternalServiceException"
5644//   An internal service error occurred.
5645//
5646//   * ErrCodeOperationTimeoutException "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 Codes:
5731//   * ErrCodeInvalidInputException "InvalidInputException"
5732//   The input provided was not valid.
5733//
5734//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5735//   A specified entity does not exist
5736//
5737//   * ErrCodeInternalServiceException "InternalServiceException"
5738//   An internal service error occurred.
5739//
5740//   * ErrCodeOperationTimeoutException "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 Codes:
5877//   * ErrCodeInvalidInputException "InvalidInputException"
5878//   The input provided was not valid.
5879//
5880//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5881//   A specified entity does not exist
5882//
5883//   * ErrCodeInternalServiceException "InternalServiceException"
5884//   An internal service error occurred.
5885//
5886//   * ErrCodeOperationTimeoutException "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 Codes:
6021//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6022//   A specified entity does not exist
6023//
6024//   * ErrCodeInvalidInputException "InvalidInputException"
6025//   The input provided was not valid.
6026//
6027//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6028//   The operation timed out.
6029//
6030//   * ErrCodeInternalServiceException "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 Codes:
6122//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6123//   A specified entity does not exist
6124//
6125//   * ErrCodeInvalidInputException "InvalidInputException"
6126//   The input provided was not valid.
6127//
6128//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6129//   The operation timed out.
6130//
6131//   * ErrCodeInternalServiceException "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 Codes:
6266//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6267//   A specified entity does not exist
6268//
6269//   * ErrCodeInvalidInputException "InvalidInputException"
6270//   The input provided was not valid.
6271//
6272//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6273//   The operation timed out.
6274//
6275//   * ErrCodeInternalServiceException "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 Codes:
6364//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6365//   A specified entity does not exist
6366//
6367//   * ErrCodeInvalidInputException "InvalidInputException"
6368//   The input provided was not valid.
6369//
6370//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6371//   The operation timed out.
6372//
6373//   * ErrCodeInternalServiceException "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 Codes:
6504//   * ErrCodeInvalidInputException "InvalidInputException"
6505//   The input provided was not valid.
6506//
6507//   * ErrCodeInternalServiceException "InternalServiceException"
6508//   An internal service error occurred.
6509//
6510//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6511//   The operation timed out.
6512//
6513//   * ErrCodeEntityNotFoundException "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 Codes:
6592//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6593//   A specified entity does not exist
6594//
6595//   * ErrCodeInvalidInputException "InvalidInputException"
6596//   The input provided was not valid.
6597//
6598//   * ErrCodeInternalServiceException "InternalServiceException"
6599//   An internal service error occurred.
6600//
6601//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6602//   The operation timed out.
6603//
6604//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
6689//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6690//   A specified entity does not exist
6691//
6692//   * ErrCodeInvalidInputException "InvalidInputException"
6693//   The input provided was not valid.
6694//
6695//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6696//   The operation timed out.
6697//
6698//   * ErrCodeInternalServiceException "InternalServiceException"
6699//   An internal service error occurred.
6700//
6701//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
6832//   * ErrCodeInvalidInputException "InvalidInputException"
6833//   The input provided was not valid.
6834//
6835//   * ErrCodeInternalServiceException "InternalServiceException"
6836//   An internal service error occurred.
6837//
6838//   * ErrCodeOperationTimeoutException "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 Codes:
6917//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6918//   A specified entity does not exist
6919//
6920//   * ErrCodeInternalServiceException "InternalServiceException"
6921//   An internal service error occurred.
6922//
6923//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6924//   The operation timed out.
6925//
6926//   * ErrCodeInvalidInputException "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 Codes:
7005//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7006//   A specified entity does not exist
7007//
7008//   * ErrCodeInvalidInputException "InvalidInputException"
7009//   The input provided was not valid.
7010//
7011//   * ErrCodeInternalServiceException "InternalServiceException"
7012//   An internal service error occurred.
7013//
7014//   * ErrCodeOperationTimeoutException "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 Codes:
7099//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7100//   A specified entity does not exist
7101//
7102//   * ErrCodeInvalidInputException "InvalidInputException"
7103//   The input provided was not valid.
7104//
7105//   * ErrCodeInternalServiceException "InternalServiceException"
7106//   An internal service error occurred.
7107//
7108//   * ErrCodeOperationTimeoutException "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 Codes:
7239//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7240//   A specified entity does not exist
7241//
7242//   * ErrCodeInvalidInputException "InvalidInputException"
7243//   The input provided was not valid.
7244//
7245//   * ErrCodeInternalServiceException "InternalServiceException"
7246//   An internal service error occurred.
7247//
7248//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7249//   The operation timed out.
7250//
7251//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
7330//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7331//   A specified entity does not exist
7332//
7333//   * ErrCodeInvalidInputException "InvalidInputException"
7334//   The input provided was not valid.
7335//
7336//   * ErrCodeInternalServiceException "InternalServiceException"
7337//   An internal service error occurred.
7338//
7339//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7340//   The operation timed out.
7341//
7342//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
7428//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7429//   A specified entity does not exist
7430//
7431//   * ErrCodeInvalidInputException "InvalidInputException"
7432//   The input provided was not valid.
7433//
7434//   * ErrCodeInternalServiceException "InternalServiceException"
7435//   An internal service error occurred.
7436//
7437//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7438//   The operation timed out.
7439//
7440//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
7577//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7578//   A specified entity does not exist
7579//
7580//   * ErrCodeInvalidInputException "InvalidInputException"
7581//   The input provided was not valid.
7582//
7583//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7584//   The operation timed out.
7585//
7586//   * ErrCodeInternalServiceException "InternalServiceException"
7587//   An internal service error occurred.
7588//
7589//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
7720//   * ErrCodeInvalidInputException "InvalidInputException"
7721//   The input provided was not valid.
7722//
7723//   * ErrCodeInternalServiceException "InternalServiceException"
7724//   An internal service error occurred.
7725//
7726//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7727//   The operation timed out.
7728//
7729//   * ErrCodeEntityNotFoundException "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 Codes:
7808//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7809//   A specified entity does not exist
7810//
7811//   * ErrCodeInvalidInputException "InvalidInputException"
7812//   The input provided was not valid.
7813//
7814//   * ErrCodeInternalServiceException "InternalServiceException"
7815//   An internal service error occurred.
7816//
7817//   * ErrCodeOperationTimeoutException "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 Codes:
7902//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7903//   A specified entity does not exist
7904//
7905//   * ErrCodeInvalidInputException "InvalidInputException"
7906//   The input provided was not valid.
7907//
7908//   * ErrCodeInternalServiceException "InternalServiceException"
7909//   An internal service error occurred.
7910//
7911//   * ErrCodeOperationTimeoutException "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 Codes:
8042//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8043//   A specified entity does not exist
8044//
8045//   * ErrCodeInvalidInputException "InvalidInputException"
8046//   The input provided was not valid.
8047//
8048//   * ErrCodeInternalServiceException "InternalServiceException"
8049//   An internal service error occurred.
8050//
8051//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8052//   The operation timed out.
8053//
8054//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
8139//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8140//   A specified entity does not exist
8141//
8142//   * ErrCodeInvalidInputException "InvalidInputException"
8143//   The input provided was not valid.
8144//
8145//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8146//   The operation timed out.
8147//
8148//   * ErrCodeInternalServiceException "InternalServiceException"
8149//   An internal service error occurred.
8150//
8151//   * ErrCodeEncryptionException "GlueEncryptionException"
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 Codes:
8282//   * ErrCodeInvalidInputException "InvalidInputException"
8283//   The input provided was not valid.
8284//
8285//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8286//   A specified entity does not exist
8287//
8288//   * ErrCodeInternalServiceException "InternalServiceException"
8289//   An internal service error occurred.
8290//
8291//   * ErrCodeOperationTimeoutException "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 Codes:
8370//   * ErrCodeInvalidInputException "InvalidInputException"
8371//   The input provided was not valid.
8372//
8373//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8374//   A specified entity does not exist
8375//
8376//   * ErrCodeInternalServiceException "InternalServiceException"
8377//   An internal service error occurred.
8378//
8379//   * ErrCodeOperationTimeoutException "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 Codes:
8458//   * ErrCodeInvalidInputException "InvalidInputException"
8459//   The input provided was not valid.
8460//
8461//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8462//   A specified entity does not exist
8463//
8464//   * ErrCodeInternalServiceException "InternalServiceException"
8465//   An internal service error occurred.
8466//
8467//   * ErrCodeOperationTimeoutException "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 Codes:
8552//   * ErrCodeInvalidInputException "InvalidInputException"
8553//   The input provided was not valid.
8554//
8555//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8556//   A specified entity does not exist
8557//
8558//   * ErrCodeInternalServiceException "InternalServiceException"
8559//   An internal service error occurred.
8560//
8561//   * ErrCodeOperationTimeoutException "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 Codes:
8693//   * ErrCodeInternalServiceException "InternalServiceException"
8694//   An internal service error occurred.
8695//
8696//   * ErrCodeOperationTimeoutException "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 Codes:
8787//   * ErrCodeOperationTimeoutException "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 Codes:
8930//   * ErrCodeInvalidInputException "InvalidInputException"
8931//   The input provided was not valid.
8932//
8933//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8934//   A specified entity does not exist
8935//
8936//   * ErrCodeInternalServiceException "InternalServiceException"
8937//   An internal service error occurred.
8938//
8939//   * ErrCodeOperationTimeoutException "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 Codes:
9082//   * ErrCodeInvalidInputException "InvalidInputException"
9083//   The input provided was not valid.
9084//
9085//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9086//   A specified entity does not exist
9087//
9088//   * ErrCodeInternalServiceException "InternalServiceException"
9089//   An internal service error occurred.
9090//
9091//   * ErrCodeOperationTimeoutException "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 opListTriggers = "ListTriggers"
9169
9170// ListTriggersRequest generates a "aws/request.Request" representing the
9171// client's request for the ListTriggers 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 ListTriggers for more information on using the ListTriggers
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 ListTriggersRequest method.
9186//    req, resp := client.ListTriggersRequest(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/ListTriggers
9194func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) {
9195	op := &request.Operation{
9196		Name:       opListTriggers,
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 = &ListTriggersInput{}
9209	}
9210
9211	output = &ListTriggersOutput{}
9212	req = c.newRequest(op, input, output)
9213	return
9214}
9215
9216// ListTriggers API operation for AWS Glue.
9217//
9218// Retrieves the names of all trigger resources in this AWS account, or the
9219// resources with the specified tag. This operation allows you to see which
9220// resources are available in your account, and their names.
9221//
9222// This operation takes the optional Tags field, which you can use as a filter
9223// on the response so that tagged resources can be retrieved as a group. If
9224// you choose to use tags filtering, only resources with the tag are retrieved.
9225//
9226// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9227// with awserr.Error's Code and Message methods to get detailed information about
9228// the error.
9229//
9230// See the AWS API reference guide for AWS Glue's
9231// API operation ListTriggers for usage and error information.
9232//
9233// Returned Error Codes:
9234//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9235//   A specified entity does not exist
9236//
9237//   * ErrCodeInvalidInputException "InvalidInputException"
9238//   The input provided was not valid.
9239//
9240//   * ErrCodeInternalServiceException "InternalServiceException"
9241//   An internal service error occurred.
9242//
9243//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9244//   The operation timed out.
9245//
9246// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
9247func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) {
9248	req, out := c.ListTriggersRequest(input)
9249	return out, req.Send()
9250}
9251
9252// ListTriggersWithContext is the same as ListTriggers with the addition of
9253// the ability to pass a context and additional request options.
9254//
9255// See ListTriggers for details on how to use this API operation.
9256//
9257// The context must be non-nil and will be used for request cancellation. If
9258// the context is nil a panic will occur. In the future the SDK may create
9259// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9260// for more information on using Contexts.
9261func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput, opts ...request.Option) (*ListTriggersOutput, error) {
9262	req, out := c.ListTriggersRequest(input)
9263	req.SetContext(ctx)
9264	req.ApplyOptions(opts...)
9265	return out, req.Send()
9266}
9267
9268// ListTriggersPages iterates over the pages of a ListTriggers operation,
9269// calling the "fn" function with the response data for each page. To stop
9270// iterating, return false from the fn function.
9271//
9272// See ListTriggers method for more information on how to use this operation.
9273//
9274// Note: This operation can generate multiple requests to a service.
9275//
9276//    // Example iterating over at most 3 pages of a ListTriggers operation.
9277//    pageNum := 0
9278//    err := client.ListTriggersPages(params,
9279//        func(page *glue.ListTriggersOutput, lastPage bool) bool {
9280//            pageNum++
9281//            fmt.Println(page)
9282//            return pageNum <= 3
9283//        })
9284//
9285func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error {
9286	return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
9287}
9288
9289// ListTriggersPagesWithContext same as ListTriggersPages except
9290// it takes a Context and allows setting request options on the pages.
9291//
9292// The context must be non-nil and will be used for request cancellation. If
9293// the context is nil a panic will occur. In the future the SDK may create
9294// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9295// for more information on using Contexts.
9296func (c *Glue) ListTriggersPagesWithContext(ctx aws.Context, input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool, opts ...request.Option) error {
9297	p := request.Pagination{
9298		NewRequest: func() (*request.Request, error) {
9299			var inCpy *ListTriggersInput
9300			if input != nil {
9301				tmp := *input
9302				inCpy = &tmp
9303			}
9304			req, _ := c.ListTriggersRequest(inCpy)
9305			req.SetContext(ctx)
9306			req.ApplyOptions(opts...)
9307			return req, nil
9308		},
9309	}
9310
9311	for p.Next() {
9312		if !fn(p.Page().(*ListTriggersOutput), !p.HasNextPage()) {
9313			break
9314		}
9315	}
9316
9317	return p.Err()
9318}
9319
9320const opListWorkflows = "ListWorkflows"
9321
9322// ListWorkflowsRequest generates a "aws/request.Request" representing the
9323// client's request for the ListWorkflows operation. The "output" return
9324// value will be populated with the request's response once the request completes
9325// successfully.
9326//
9327// Use "Send" method on the returned Request to send the API call to the service.
9328// the "output" return value is not valid until after Send returns without error.
9329//
9330// See ListWorkflows for more information on using the ListWorkflows
9331// API call, and error handling.
9332//
9333// This method is useful when you want to inject custom logic or configuration
9334// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9335//
9336//
9337//    // Example sending a request using the ListWorkflowsRequest method.
9338//    req, resp := client.ListWorkflowsRequest(params)
9339//
9340//    err := req.Send()
9341//    if err == nil { // resp is now filled
9342//        fmt.Println(resp)
9343//    }
9344//
9345// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9346func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) {
9347	op := &request.Operation{
9348		Name:       opListWorkflows,
9349		HTTPMethod: "POST",
9350		HTTPPath:   "/",
9351		Paginator: &request.Paginator{
9352			InputTokens:     []string{"NextToken"},
9353			OutputTokens:    []string{"NextToken"},
9354			LimitToken:      "MaxResults",
9355			TruncationToken: "",
9356		},
9357	}
9358
9359	if input == nil {
9360		input = &ListWorkflowsInput{}
9361	}
9362
9363	output = &ListWorkflowsOutput{}
9364	req = c.newRequest(op, input, output)
9365	return
9366}
9367
9368// ListWorkflows API operation for AWS Glue.
9369//
9370// Lists names of workflows created in the account.
9371//
9372// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9373// with awserr.Error's Code and Message methods to get detailed information about
9374// the error.
9375//
9376// See the AWS API reference guide for AWS Glue's
9377// API operation ListWorkflows for usage and error information.
9378//
9379// Returned Error Codes:
9380//   * ErrCodeInvalidInputException "InvalidInputException"
9381//   The input provided was not valid.
9382//
9383//   * ErrCodeInternalServiceException "InternalServiceException"
9384//   An internal service error occurred.
9385//
9386//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9387//   The operation timed out.
9388//
9389// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9390func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) {
9391	req, out := c.ListWorkflowsRequest(input)
9392	return out, req.Send()
9393}
9394
9395// ListWorkflowsWithContext is the same as ListWorkflows with the addition of
9396// the ability to pass a context and additional request options.
9397//
9398// See ListWorkflows for details on how to use this API operation.
9399//
9400// The context must be non-nil and will be used for request cancellation. If
9401// the context is nil a panic will occur. In the future the SDK may create
9402// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9403// for more information on using Contexts.
9404func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) {
9405	req, out := c.ListWorkflowsRequest(input)
9406	req.SetContext(ctx)
9407	req.ApplyOptions(opts...)
9408	return out, req.Send()
9409}
9410
9411// ListWorkflowsPages iterates over the pages of a ListWorkflows operation,
9412// calling the "fn" function with the response data for each page. To stop
9413// iterating, return false from the fn function.
9414//
9415// See ListWorkflows method for more information on how to use this operation.
9416//
9417// Note: This operation can generate multiple requests to a service.
9418//
9419//    // Example iterating over at most 3 pages of a ListWorkflows operation.
9420//    pageNum := 0
9421//    err := client.ListWorkflowsPages(params,
9422//        func(page *glue.ListWorkflowsOutput, lastPage bool) bool {
9423//            pageNum++
9424//            fmt.Println(page)
9425//            return pageNum <= 3
9426//        })
9427//
9428func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error {
9429	return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn)
9430}
9431
9432// ListWorkflowsPagesWithContext same as ListWorkflowsPages except
9433// it takes a Context and allows setting request options on the pages.
9434//
9435// The context must be non-nil and will be used for request cancellation. If
9436// the context is nil a panic will occur. In the future the SDK may create
9437// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9438// for more information on using Contexts.
9439func (c *Glue) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error {
9440	p := request.Pagination{
9441		NewRequest: func() (*request.Request, error) {
9442			var inCpy *ListWorkflowsInput
9443			if input != nil {
9444				tmp := *input
9445				inCpy = &tmp
9446			}
9447			req, _ := c.ListWorkflowsRequest(inCpy)
9448			req.SetContext(ctx)
9449			req.ApplyOptions(opts...)
9450			return req, nil
9451		},
9452	}
9453
9454	for p.Next() {
9455		if !fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage()) {
9456			break
9457		}
9458	}
9459
9460	return p.Err()
9461}
9462
9463const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings"
9464
9465// PutDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
9466// client's request for the PutDataCatalogEncryptionSettings operation. The "output" return
9467// value will be populated with the request's response once the request completes
9468// successfully.
9469//
9470// Use "Send" method on the returned Request to send the API call to the service.
9471// the "output" return value is not valid until after Send returns without error.
9472//
9473// See PutDataCatalogEncryptionSettings for more information on using the PutDataCatalogEncryptionSettings
9474// API call, and error handling.
9475//
9476// This method is useful when you want to inject custom logic or configuration
9477// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9478//
9479//
9480//    // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method.
9481//    req, resp := client.PutDataCatalogEncryptionSettingsRequest(params)
9482//
9483//    err := req.Send()
9484//    if err == nil { // resp is now filled
9485//        fmt.Println(resp)
9486//    }
9487//
9488// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9489func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) {
9490	op := &request.Operation{
9491		Name:       opPutDataCatalogEncryptionSettings,
9492		HTTPMethod: "POST",
9493		HTTPPath:   "/",
9494	}
9495
9496	if input == nil {
9497		input = &PutDataCatalogEncryptionSettingsInput{}
9498	}
9499
9500	output = &PutDataCatalogEncryptionSettingsOutput{}
9501	req = c.newRequest(op, input, output)
9502	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9503	return
9504}
9505
9506// PutDataCatalogEncryptionSettings API operation for AWS Glue.
9507//
9508// Sets the security configuration for a specified catalog. After the configuration
9509// has been set, the specified encryption is applied to every catalog write
9510// thereafter.
9511//
9512// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9513// with awserr.Error's Code and Message methods to get detailed information about
9514// the error.
9515//
9516// See the AWS API reference guide for AWS Glue's
9517// API operation PutDataCatalogEncryptionSettings for usage and error information.
9518//
9519// Returned Error Codes:
9520//   * ErrCodeInternalServiceException "InternalServiceException"
9521//   An internal service error occurred.
9522//
9523//   * ErrCodeInvalidInputException "InvalidInputException"
9524//   The input provided was not valid.
9525//
9526//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9527//   The operation timed out.
9528//
9529// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9530func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) {
9531	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9532	return out, req.Send()
9533}
9534
9535// PutDataCatalogEncryptionSettingsWithContext is the same as PutDataCatalogEncryptionSettings with the addition of
9536// the ability to pass a context and additional request options.
9537//
9538// See PutDataCatalogEncryptionSettings for details on how to use this API operation.
9539//
9540// The context must be non-nil and will be used for request cancellation. If
9541// the context is nil a panic will occur. In the future the SDK may create
9542// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9543// for more information on using Contexts.
9544func (c *Glue) PutDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *PutDataCatalogEncryptionSettingsInput, opts ...request.Option) (*PutDataCatalogEncryptionSettingsOutput, error) {
9545	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9546	req.SetContext(ctx)
9547	req.ApplyOptions(opts...)
9548	return out, req.Send()
9549}
9550
9551const opPutResourcePolicy = "PutResourcePolicy"
9552
9553// PutResourcePolicyRequest generates a "aws/request.Request" representing the
9554// client's request for the PutResourcePolicy operation. The "output" return
9555// value will be populated with the request's response once the request completes
9556// successfully.
9557//
9558// Use "Send" method on the returned Request to send the API call to the service.
9559// the "output" return value is not valid until after Send returns without error.
9560//
9561// See PutResourcePolicy for more information on using the PutResourcePolicy
9562// API call, and error handling.
9563//
9564// This method is useful when you want to inject custom logic or configuration
9565// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9566//
9567//
9568//    // Example sending a request using the PutResourcePolicyRequest method.
9569//    req, resp := client.PutResourcePolicyRequest(params)
9570//
9571//    err := req.Send()
9572//    if err == nil { // resp is now filled
9573//        fmt.Println(resp)
9574//    }
9575//
9576// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9577func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) {
9578	op := &request.Operation{
9579		Name:       opPutResourcePolicy,
9580		HTTPMethod: "POST",
9581		HTTPPath:   "/",
9582	}
9583
9584	if input == nil {
9585		input = &PutResourcePolicyInput{}
9586	}
9587
9588	output = &PutResourcePolicyOutput{}
9589	req = c.newRequest(op, input, output)
9590	return
9591}
9592
9593// PutResourcePolicy API operation for AWS Glue.
9594//
9595// Sets the Data Catalog resource policy for access control.
9596//
9597// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9598// with awserr.Error's Code and Message methods to get detailed information about
9599// the error.
9600//
9601// See the AWS API reference guide for AWS Glue's
9602// API operation PutResourcePolicy for usage and error information.
9603//
9604// Returned Error Codes:
9605//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9606//   A specified entity does not exist
9607//
9608//   * ErrCodeInternalServiceException "InternalServiceException"
9609//   An internal service error occurred.
9610//
9611//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9612//   The operation timed out.
9613//
9614//   * ErrCodeInvalidInputException "InvalidInputException"
9615//   The input provided was not valid.
9616//
9617//   * ErrCodeConditionCheckFailureException "ConditionCheckFailureException"
9618//   A specified condition was not satisfied.
9619//
9620// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9621func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) {
9622	req, out := c.PutResourcePolicyRequest(input)
9623	return out, req.Send()
9624}
9625
9626// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of
9627// the ability to pass a context and additional request options.
9628//
9629// See PutResourcePolicy for details on how to use this API operation.
9630//
9631// The context must be non-nil and will be used for request cancellation. If
9632// the context is nil a panic will occur. In the future the SDK may create
9633// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9634// for more information on using Contexts.
9635func (c *Glue) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) {
9636	req, out := c.PutResourcePolicyRequest(input)
9637	req.SetContext(ctx)
9638	req.ApplyOptions(opts...)
9639	return out, req.Send()
9640}
9641
9642const opPutWorkflowRunProperties = "PutWorkflowRunProperties"
9643
9644// PutWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
9645// client's request for the PutWorkflowRunProperties operation. The "output" return
9646// value will be populated with the request's response once the request completes
9647// successfully.
9648//
9649// Use "Send" method on the returned Request to send the API call to the service.
9650// the "output" return value is not valid until after Send returns without error.
9651//
9652// See PutWorkflowRunProperties for more information on using the PutWorkflowRunProperties
9653// API call, and error handling.
9654//
9655// This method is useful when you want to inject custom logic or configuration
9656// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9657//
9658//
9659//    // Example sending a request using the PutWorkflowRunPropertiesRequest method.
9660//    req, resp := client.PutWorkflowRunPropertiesRequest(params)
9661//
9662//    err := req.Send()
9663//    if err == nil { // resp is now filled
9664//        fmt.Println(resp)
9665//    }
9666//
9667// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9668func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) {
9669	op := &request.Operation{
9670		Name:       opPutWorkflowRunProperties,
9671		HTTPMethod: "POST",
9672		HTTPPath:   "/",
9673	}
9674
9675	if input == nil {
9676		input = &PutWorkflowRunPropertiesInput{}
9677	}
9678
9679	output = &PutWorkflowRunPropertiesOutput{}
9680	req = c.newRequest(op, input, output)
9681	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9682	return
9683}
9684
9685// PutWorkflowRunProperties API operation for AWS Glue.
9686//
9687// Puts the specified workflow run properties for the given workflow run. If
9688// a property already exists for the specified run, then it overrides the value
9689// otherwise adds the property to existing properties.
9690//
9691// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9692// with awserr.Error's Code and Message methods to get detailed information about
9693// the error.
9694//
9695// See the AWS API reference guide for AWS Glue's
9696// API operation PutWorkflowRunProperties for usage and error information.
9697//
9698// Returned Error Codes:
9699//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
9700//   A resource to be created or added already exists.
9701//
9702//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9703//   A specified entity does not exist
9704//
9705//   * ErrCodeInvalidInputException "InvalidInputException"
9706//   The input provided was not valid.
9707//
9708//   * ErrCodeInternalServiceException "InternalServiceException"
9709//   An internal service error occurred.
9710//
9711//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9712//   The operation timed out.
9713//
9714//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
9715//   A resource numerical limit was exceeded.
9716//
9717//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
9718//   Two processes are trying to modify a resource simultaneously.
9719//
9720// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9721func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) {
9722	req, out := c.PutWorkflowRunPropertiesRequest(input)
9723	return out, req.Send()
9724}
9725
9726// PutWorkflowRunPropertiesWithContext is the same as PutWorkflowRunProperties with the addition of
9727// the ability to pass a context and additional request options.
9728//
9729// See PutWorkflowRunProperties for details on how to use this API operation.
9730//
9731// The context must be non-nil and will be used for request cancellation. If
9732// the context is nil a panic will occur. In the future the SDK may create
9733// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9734// for more information on using Contexts.
9735func (c *Glue) PutWorkflowRunPropertiesWithContext(ctx aws.Context, input *PutWorkflowRunPropertiesInput, opts ...request.Option) (*PutWorkflowRunPropertiesOutput, error) {
9736	req, out := c.PutWorkflowRunPropertiesRequest(input)
9737	req.SetContext(ctx)
9738	req.ApplyOptions(opts...)
9739	return out, req.Send()
9740}
9741
9742const opResetJobBookmark = "ResetJobBookmark"
9743
9744// ResetJobBookmarkRequest generates a "aws/request.Request" representing the
9745// client's request for the ResetJobBookmark operation. The "output" return
9746// value will be populated with the request's response once the request completes
9747// successfully.
9748//
9749// Use "Send" method on the returned Request to send the API call to the service.
9750// the "output" return value is not valid until after Send returns without error.
9751//
9752// See ResetJobBookmark for more information on using the ResetJobBookmark
9753// API call, and error handling.
9754//
9755// This method is useful when you want to inject custom logic or configuration
9756// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9757//
9758//
9759//    // Example sending a request using the ResetJobBookmarkRequest method.
9760//    req, resp := client.ResetJobBookmarkRequest(params)
9761//
9762//    err := req.Send()
9763//    if err == nil { // resp is now filled
9764//        fmt.Println(resp)
9765//    }
9766//
9767// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9768func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) {
9769	op := &request.Operation{
9770		Name:       opResetJobBookmark,
9771		HTTPMethod: "POST",
9772		HTTPPath:   "/",
9773	}
9774
9775	if input == nil {
9776		input = &ResetJobBookmarkInput{}
9777	}
9778
9779	output = &ResetJobBookmarkOutput{}
9780	req = c.newRequest(op, input, output)
9781	return
9782}
9783
9784// ResetJobBookmark API operation for AWS Glue.
9785//
9786// Resets a bookmark entry.
9787//
9788// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9789// with awserr.Error's Code and Message methods to get detailed information about
9790// the error.
9791//
9792// See the AWS API reference guide for AWS Glue's
9793// API operation ResetJobBookmark for usage and error information.
9794//
9795// Returned Error Codes:
9796//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9797//   A specified entity does not exist
9798//
9799//   * ErrCodeInvalidInputException "InvalidInputException"
9800//   The input provided was not valid.
9801//
9802//   * ErrCodeInternalServiceException "InternalServiceException"
9803//   An internal service error occurred.
9804//
9805//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9806//   The operation timed out.
9807//
9808// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9809func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) {
9810	req, out := c.ResetJobBookmarkRequest(input)
9811	return out, req.Send()
9812}
9813
9814// ResetJobBookmarkWithContext is the same as ResetJobBookmark with the addition of
9815// the ability to pass a context and additional request options.
9816//
9817// See ResetJobBookmark for details on how to use this API operation.
9818//
9819// The context must be non-nil and will be used for request cancellation. If
9820// the context is nil a panic will occur. In the future the SDK may create
9821// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9822// for more information on using Contexts.
9823func (c *Glue) ResetJobBookmarkWithContext(ctx aws.Context, input *ResetJobBookmarkInput, opts ...request.Option) (*ResetJobBookmarkOutput, error) {
9824	req, out := c.ResetJobBookmarkRequest(input)
9825	req.SetContext(ctx)
9826	req.ApplyOptions(opts...)
9827	return out, req.Send()
9828}
9829
9830const opSearchTables = "SearchTables"
9831
9832// SearchTablesRequest generates a "aws/request.Request" representing the
9833// client's request for the SearchTables operation. The "output" return
9834// value will be populated with the request's response once the request completes
9835// successfully.
9836//
9837// Use "Send" method on the returned Request to send the API call to the service.
9838// the "output" return value is not valid until after Send returns without error.
9839//
9840// See SearchTables for more information on using the SearchTables
9841// API call, and error handling.
9842//
9843// This method is useful when you want to inject custom logic or configuration
9844// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9845//
9846//
9847//    // Example sending a request using the SearchTablesRequest method.
9848//    req, resp := client.SearchTablesRequest(params)
9849//
9850//    err := req.Send()
9851//    if err == nil { // resp is now filled
9852//        fmt.Println(resp)
9853//    }
9854//
9855// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
9856func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) {
9857	op := &request.Operation{
9858		Name:       opSearchTables,
9859		HTTPMethod: "POST",
9860		HTTPPath:   "/",
9861		Paginator: &request.Paginator{
9862			InputTokens:     []string{"NextToken"},
9863			OutputTokens:    []string{"NextToken"},
9864			LimitToken:      "MaxResults",
9865			TruncationToken: "",
9866		},
9867	}
9868
9869	if input == nil {
9870		input = &SearchTablesInput{}
9871	}
9872
9873	output = &SearchTablesOutput{}
9874	req = c.newRequest(op, input, output)
9875	return
9876}
9877
9878// SearchTables API operation for AWS Glue.
9879//
9880// Searches a set of tables based on properties in the table metadata as well
9881// as on the parent database. You can search against text or filter conditions.
9882//
9883// You can only get tables that you have access to based on the security policies
9884// defined in Lake Formation. You need at least a read-only access to the table
9885// for it to be returned. If you do not have access to all the columns in the
9886// table, these columns will not be searched against when returning the list
9887// of tables back to you. If you have access to the columns but not the data
9888// in the columns, those columns and the associated metadata for those columns
9889// will be included in the search.
9890//
9891// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9892// with awserr.Error's Code and Message methods to get detailed information about
9893// the error.
9894//
9895// See the AWS API reference guide for AWS Glue's
9896// API operation SearchTables for usage and error information.
9897//
9898// Returned Error Codes:
9899//   * ErrCodeInternalServiceException "InternalServiceException"
9900//   An internal service error occurred.
9901//
9902//   * ErrCodeInvalidInputException "InvalidInputException"
9903//   The input provided was not valid.
9904//
9905//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9906//   The operation timed out.
9907//
9908// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
9909func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) {
9910	req, out := c.SearchTablesRequest(input)
9911	return out, req.Send()
9912}
9913
9914// SearchTablesWithContext is the same as SearchTables with the addition of
9915// the ability to pass a context and additional request options.
9916//
9917// See SearchTables for details on how to use this API operation.
9918//
9919// The context must be non-nil and will be used for request cancellation. If
9920// the context is nil a panic will occur. In the future the SDK may create
9921// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9922// for more information on using Contexts.
9923func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput, opts ...request.Option) (*SearchTablesOutput, error) {
9924	req, out := c.SearchTablesRequest(input)
9925	req.SetContext(ctx)
9926	req.ApplyOptions(opts...)
9927	return out, req.Send()
9928}
9929
9930// SearchTablesPages iterates over the pages of a SearchTables operation,
9931// calling the "fn" function with the response data for each page. To stop
9932// iterating, return false from the fn function.
9933//
9934// See SearchTables method for more information on how to use this operation.
9935//
9936// Note: This operation can generate multiple requests to a service.
9937//
9938//    // Example iterating over at most 3 pages of a SearchTables operation.
9939//    pageNum := 0
9940//    err := client.SearchTablesPages(params,
9941//        func(page *glue.SearchTablesOutput, lastPage bool) bool {
9942//            pageNum++
9943//            fmt.Println(page)
9944//            return pageNum <= 3
9945//        })
9946//
9947func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error {
9948	return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn)
9949}
9950
9951// SearchTablesPagesWithContext same as SearchTablesPages except
9952// it takes a Context and allows setting request options on the pages.
9953//
9954// The context must be non-nil and will be used for request cancellation. If
9955// the context is nil a panic will occur. In the future the SDK may create
9956// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9957// for more information on using Contexts.
9958func (c *Glue) SearchTablesPagesWithContext(ctx aws.Context, input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool, opts ...request.Option) error {
9959	p := request.Pagination{
9960		NewRequest: func() (*request.Request, error) {
9961			var inCpy *SearchTablesInput
9962			if input != nil {
9963				tmp := *input
9964				inCpy = &tmp
9965			}
9966			req, _ := c.SearchTablesRequest(inCpy)
9967			req.SetContext(ctx)
9968			req.ApplyOptions(opts...)
9969			return req, nil
9970		},
9971	}
9972
9973	for p.Next() {
9974		if !fn(p.Page().(*SearchTablesOutput), !p.HasNextPage()) {
9975			break
9976		}
9977	}
9978
9979	return p.Err()
9980}
9981
9982const opStartCrawler = "StartCrawler"
9983
9984// StartCrawlerRequest generates a "aws/request.Request" representing the
9985// client's request for the StartCrawler operation. The "output" return
9986// value will be populated with the request's response once the request completes
9987// successfully.
9988//
9989// Use "Send" method on the returned Request to send the API call to the service.
9990// the "output" return value is not valid until after Send returns without error.
9991//
9992// See StartCrawler for more information on using the StartCrawler
9993// API call, and error handling.
9994//
9995// This method is useful when you want to inject custom logic or configuration
9996// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9997//
9998//
9999//    // Example sending a request using the StartCrawlerRequest method.
10000//    req, resp := client.StartCrawlerRequest(params)
10001//
10002//    err := req.Send()
10003//    if err == nil { // resp is now filled
10004//        fmt.Println(resp)
10005//    }
10006//
10007// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
10008func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) {
10009	op := &request.Operation{
10010		Name:       opStartCrawler,
10011		HTTPMethod: "POST",
10012		HTTPPath:   "/",
10013	}
10014
10015	if input == nil {
10016		input = &StartCrawlerInput{}
10017	}
10018
10019	output = &StartCrawlerOutput{}
10020	req = c.newRequest(op, input, output)
10021	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10022	return
10023}
10024
10025// StartCrawler API operation for AWS Glue.
10026//
10027// Starts a crawl using the specified crawler, regardless of what is scheduled.
10028// 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).
10029//
10030// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10031// with awserr.Error's Code and Message methods to get detailed information about
10032// the error.
10033//
10034// See the AWS API reference guide for AWS Glue's
10035// API operation StartCrawler for usage and error information.
10036//
10037// Returned Error Codes:
10038//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10039//   A specified entity does not exist
10040//
10041//   * ErrCodeCrawlerRunningException "CrawlerRunningException"
10042//   The operation cannot be performed because the crawler is already running.
10043//
10044//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10045//   The operation timed out.
10046//
10047// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
10048func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) {
10049	req, out := c.StartCrawlerRequest(input)
10050	return out, req.Send()
10051}
10052
10053// StartCrawlerWithContext is the same as StartCrawler with the addition of
10054// the ability to pass a context and additional request options.
10055//
10056// See StartCrawler for details on how to use this API operation.
10057//
10058// The context must be non-nil and will be used for request cancellation. If
10059// the context is nil a panic will occur. In the future the SDK may create
10060// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10061// for more information on using Contexts.
10062func (c *Glue) StartCrawlerWithContext(ctx aws.Context, input *StartCrawlerInput, opts ...request.Option) (*StartCrawlerOutput, error) {
10063	req, out := c.StartCrawlerRequest(input)
10064	req.SetContext(ctx)
10065	req.ApplyOptions(opts...)
10066	return out, req.Send()
10067}
10068
10069const opStartCrawlerSchedule = "StartCrawlerSchedule"
10070
10071// StartCrawlerScheduleRequest generates a "aws/request.Request" representing the
10072// client's request for the StartCrawlerSchedule operation. The "output" return
10073// value will be populated with the request's response once the request completes
10074// successfully.
10075//
10076// Use "Send" method on the returned Request to send the API call to the service.
10077// the "output" return value is not valid until after Send returns without error.
10078//
10079// See StartCrawlerSchedule for more information on using the StartCrawlerSchedule
10080// API call, and error handling.
10081//
10082// This method is useful when you want to inject custom logic or configuration
10083// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10084//
10085//
10086//    // Example sending a request using the StartCrawlerScheduleRequest method.
10087//    req, resp := client.StartCrawlerScheduleRequest(params)
10088//
10089//    err := req.Send()
10090//    if err == nil { // resp is now filled
10091//        fmt.Println(resp)
10092//    }
10093//
10094// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10095func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) {
10096	op := &request.Operation{
10097		Name:       opStartCrawlerSchedule,
10098		HTTPMethod: "POST",
10099		HTTPPath:   "/",
10100	}
10101
10102	if input == nil {
10103		input = &StartCrawlerScheduleInput{}
10104	}
10105
10106	output = &StartCrawlerScheduleOutput{}
10107	req = c.newRequest(op, input, output)
10108	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10109	return
10110}
10111
10112// StartCrawlerSchedule API operation for AWS Glue.
10113//
10114// Changes the schedule state of the specified crawler to SCHEDULED, unless
10115// the crawler is already running or the schedule state is already SCHEDULED.
10116//
10117// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10118// with awserr.Error's Code and Message methods to get detailed information about
10119// the error.
10120//
10121// See the AWS API reference guide for AWS Glue's
10122// API operation StartCrawlerSchedule for usage and error information.
10123//
10124// Returned Error Codes:
10125//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10126//   A specified entity does not exist
10127//
10128//   * ErrCodeSchedulerRunningException "SchedulerRunningException"
10129//   The specified scheduler is already running.
10130//
10131//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
10132//   The specified scheduler is transitioning.
10133//
10134//   * ErrCodeNoScheduleException "NoScheduleException"
10135//   There is no applicable schedule.
10136//
10137//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10138//   The operation timed out.
10139//
10140// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10141func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) {
10142	req, out := c.StartCrawlerScheduleRequest(input)
10143	return out, req.Send()
10144}
10145
10146// StartCrawlerScheduleWithContext is the same as StartCrawlerSchedule with the addition of
10147// the ability to pass a context and additional request options.
10148//
10149// See StartCrawlerSchedule for details on how to use this API operation.
10150//
10151// The context must be non-nil and will be used for request cancellation. If
10152// the context is nil a panic will occur. In the future the SDK may create
10153// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10154// for more information on using Contexts.
10155func (c *Glue) StartCrawlerScheduleWithContext(ctx aws.Context, input *StartCrawlerScheduleInput, opts ...request.Option) (*StartCrawlerScheduleOutput, error) {
10156	req, out := c.StartCrawlerScheduleRequest(input)
10157	req.SetContext(ctx)
10158	req.ApplyOptions(opts...)
10159	return out, req.Send()
10160}
10161
10162const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun"
10163
10164// StartExportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10165// client's request for the StartExportLabelsTaskRun operation. The "output" return
10166// value will be populated with the request's response once the request completes
10167// successfully.
10168//
10169// Use "Send" method on the returned Request to send the API call to the service.
10170// the "output" return value is not valid until after Send returns without error.
10171//
10172// See StartExportLabelsTaskRun for more information on using the StartExportLabelsTaskRun
10173// API call, and error handling.
10174//
10175// This method is useful when you want to inject custom logic or configuration
10176// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10177//
10178//
10179//    // Example sending a request using the StartExportLabelsTaskRunRequest method.
10180//    req, resp := client.StartExportLabelsTaskRunRequest(params)
10181//
10182//    err := req.Send()
10183//    if err == nil { // resp is now filled
10184//        fmt.Println(resp)
10185//    }
10186//
10187// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10188func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) {
10189	op := &request.Operation{
10190		Name:       opStartExportLabelsTaskRun,
10191		HTTPMethod: "POST",
10192		HTTPPath:   "/",
10193	}
10194
10195	if input == nil {
10196		input = &StartExportLabelsTaskRunInput{}
10197	}
10198
10199	output = &StartExportLabelsTaskRunOutput{}
10200	req = c.newRequest(op, input, output)
10201	return
10202}
10203
10204// StartExportLabelsTaskRun API operation for AWS Glue.
10205//
10206// Begins an asynchronous task to export all labeled data for a particular transform.
10207// This task is the only label-related API call that is not part of the typical
10208// active learning workflow. You typically use StartExportLabelsTaskRun when
10209// you want to work with all of your existing labels at the same time, such
10210// as when you want to remove or change labels that were previously submitted
10211// as truth. This API operation accepts the TransformId whose labels you want
10212// to export and an Amazon Simple Storage Service (Amazon S3) path to export
10213// the labels to. The operation returns a TaskRunId. You can check on the status
10214// of your task run by calling the GetMLTaskRun API.
10215//
10216// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10217// with awserr.Error's Code and Message methods to get detailed information about
10218// the error.
10219//
10220// See the AWS API reference guide for AWS Glue's
10221// API operation StartExportLabelsTaskRun for usage and error information.
10222//
10223// Returned Error Codes:
10224//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10225//   A specified entity does not exist
10226//
10227//   * ErrCodeInvalidInputException "InvalidInputException"
10228//   The input provided was not valid.
10229//
10230//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10231//   The operation timed out.
10232//
10233//   * ErrCodeInternalServiceException "InternalServiceException"
10234//   An internal service error occurred.
10235//
10236// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10237func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) {
10238	req, out := c.StartExportLabelsTaskRunRequest(input)
10239	return out, req.Send()
10240}
10241
10242// StartExportLabelsTaskRunWithContext is the same as StartExportLabelsTaskRun with the addition of
10243// the ability to pass a context and additional request options.
10244//
10245// See StartExportLabelsTaskRun for details on how to use this API operation.
10246//
10247// The context must be non-nil and will be used for request cancellation. If
10248// the context is nil a panic will occur. In the future the SDK may create
10249// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10250// for more information on using Contexts.
10251func (c *Glue) StartExportLabelsTaskRunWithContext(ctx aws.Context, input *StartExportLabelsTaskRunInput, opts ...request.Option) (*StartExportLabelsTaskRunOutput, error) {
10252	req, out := c.StartExportLabelsTaskRunRequest(input)
10253	req.SetContext(ctx)
10254	req.ApplyOptions(opts...)
10255	return out, req.Send()
10256}
10257
10258const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun"
10259
10260// StartImportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10261// client's request for the StartImportLabelsTaskRun operation. The "output" return
10262// value will be populated with the request's response once the request completes
10263// successfully.
10264//
10265// Use "Send" method on the returned Request to send the API call to the service.
10266// the "output" return value is not valid until after Send returns without error.
10267//
10268// See StartImportLabelsTaskRun for more information on using the StartImportLabelsTaskRun
10269// API call, and error handling.
10270//
10271// This method is useful when you want to inject custom logic or configuration
10272// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10273//
10274//
10275//    // Example sending a request using the StartImportLabelsTaskRunRequest method.
10276//    req, resp := client.StartImportLabelsTaskRunRequest(params)
10277//
10278//    err := req.Send()
10279//    if err == nil { // resp is now filled
10280//        fmt.Println(resp)
10281//    }
10282//
10283// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10284func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) {
10285	op := &request.Operation{
10286		Name:       opStartImportLabelsTaskRun,
10287		HTTPMethod: "POST",
10288		HTTPPath:   "/",
10289	}
10290
10291	if input == nil {
10292		input = &StartImportLabelsTaskRunInput{}
10293	}
10294
10295	output = &StartImportLabelsTaskRunOutput{}
10296	req = c.newRequest(op, input, output)
10297	return
10298}
10299
10300// StartImportLabelsTaskRun API operation for AWS Glue.
10301//
10302// Enables you to provide additional labels (examples of truth) to be used to
10303// teach the machine learning transform and improve its quality. This API operation
10304// is generally used as part of the active learning workflow that starts with
10305// the StartMLLabelingSetGenerationTaskRun call and that ultimately results
10306// in improving the quality of your machine learning transform.
10307//
10308// After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine
10309// learning will have generated a series of questions for humans to answer.
10310// (Answering these questions is often called 'labeling' in the machine learning
10311// workflows). In the case of the FindMatches transform, these questions are
10312// of the form, “What is the correct way to group these rows together into
10313// groups composed entirely of matching records?” After the labeling process
10314// is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun.
10315// After StartImportLabelsTaskRun finishes, all future runs of the machine learning
10316// transform use the new and improved labels and perform a higher-quality transformation.
10317//
10318// By default, StartMLLabelingSetGenerationTaskRun continually learns from and
10319// combines all labels that you upload unless you set Replace to true. If you
10320// set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously
10321// uploaded labels and learns only from the exact set that you upload. Replacing
10322// labels can be helpful if you realize that you previously uploaded incorrect
10323// labels, and you believe that they are having a negative effect on your transform
10324// quality.
10325//
10326// You can check on the status of your task run by calling the GetMLTaskRun
10327// operation.
10328//
10329// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10330// with awserr.Error's Code and Message methods to get detailed information about
10331// the error.
10332//
10333// See the AWS API reference guide for AWS Glue's
10334// API operation StartImportLabelsTaskRun for usage and error information.
10335//
10336// Returned Error Codes:
10337//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10338//   A specified entity does not exist
10339//
10340//   * ErrCodeInvalidInputException "InvalidInputException"
10341//   The input provided was not valid.
10342//
10343//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10344//   The operation timed out.
10345//
10346//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10347//   A resource numerical limit was exceeded.
10348//
10349//   * ErrCodeInternalServiceException "InternalServiceException"
10350//   An internal service error occurred.
10351//
10352// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10353func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) {
10354	req, out := c.StartImportLabelsTaskRunRequest(input)
10355	return out, req.Send()
10356}
10357
10358// StartImportLabelsTaskRunWithContext is the same as StartImportLabelsTaskRun with the addition of
10359// the ability to pass a context and additional request options.
10360//
10361// See StartImportLabelsTaskRun for details on how to use this API operation.
10362//
10363// The context must be non-nil and will be used for request cancellation. If
10364// the context is nil a panic will occur. In the future the SDK may create
10365// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10366// for more information on using Contexts.
10367func (c *Glue) StartImportLabelsTaskRunWithContext(ctx aws.Context, input *StartImportLabelsTaskRunInput, opts ...request.Option) (*StartImportLabelsTaskRunOutput, error) {
10368	req, out := c.StartImportLabelsTaskRunRequest(input)
10369	req.SetContext(ctx)
10370	req.ApplyOptions(opts...)
10371	return out, req.Send()
10372}
10373
10374const opStartJobRun = "StartJobRun"
10375
10376// StartJobRunRequest generates a "aws/request.Request" representing the
10377// client's request for the StartJobRun operation. The "output" return
10378// value will be populated with the request's response once the request completes
10379// successfully.
10380//
10381// Use "Send" method on the returned Request to send the API call to the service.
10382// the "output" return value is not valid until after Send returns without error.
10383//
10384// See StartJobRun for more information on using the StartJobRun
10385// API call, and error handling.
10386//
10387// This method is useful when you want to inject custom logic or configuration
10388// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10389//
10390//
10391//    // Example sending a request using the StartJobRunRequest method.
10392//    req, resp := client.StartJobRunRequest(params)
10393//
10394//    err := req.Send()
10395//    if err == nil { // resp is now filled
10396//        fmt.Println(resp)
10397//    }
10398//
10399// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10400func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) {
10401	op := &request.Operation{
10402		Name:       opStartJobRun,
10403		HTTPMethod: "POST",
10404		HTTPPath:   "/",
10405	}
10406
10407	if input == nil {
10408		input = &StartJobRunInput{}
10409	}
10410
10411	output = &StartJobRunOutput{}
10412	req = c.newRequest(op, input, output)
10413	return
10414}
10415
10416// StartJobRun API operation for AWS Glue.
10417//
10418// Starts a job run using a job definition.
10419//
10420// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10421// with awserr.Error's Code and Message methods to get detailed information about
10422// the error.
10423//
10424// See the AWS API reference guide for AWS Glue's
10425// API operation StartJobRun for usage and error information.
10426//
10427// Returned Error Codes:
10428//   * ErrCodeInvalidInputException "InvalidInputException"
10429//   The input provided was not valid.
10430//
10431//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10432//   A specified entity does not exist
10433//
10434//   * ErrCodeInternalServiceException "InternalServiceException"
10435//   An internal service error occurred.
10436//
10437//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10438//   The operation timed out.
10439//
10440//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10441//   A resource numerical limit was exceeded.
10442//
10443//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10444//   Too many jobs are being run concurrently.
10445//
10446// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10447func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) {
10448	req, out := c.StartJobRunRequest(input)
10449	return out, req.Send()
10450}
10451
10452// StartJobRunWithContext is the same as StartJobRun with the addition of
10453// the ability to pass a context and additional request options.
10454//
10455// See StartJobRun for details on how to use this API operation.
10456//
10457// The context must be non-nil and will be used for request cancellation. If
10458// the context is nil a panic will occur. In the future the SDK may create
10459// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10460// for more information on using Contexts.
10461func (c *Glue) StartJobRunWithContext(ctx aws.Context, input *StartJobRunInput, opts ...request.Option) (*StartJobRunOutput, error) {
10462	req, out := c.StartJobRunRequest(input)
10463	req.SetContext(ctx)
10464	req.ApplyOptions(opts...)
10465	return out, req.Send()
10466}
10467
10468const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun"
10469
10470// StartMLEvaluationTaskRunRequest generates a "aws/request.Request" representing the
10471// client's request for the StartMLEvaluationTaskRun operation. The "output" return
10472// value will be populated with the request's response once the request completes
10473// successfully.
10474//
10475// Use "Send" method on the returned Request to send the API call to the service.
10476// the "output" return value is not valid until after Send returns without error.
10477//
10478// See StartMLEvaluationTaskRun for more information on using the StartMLEvaluationTaskRun
10479// API call, and error handling.
10480//
10481// This method is useful when you want to inject custom logic or configuration
10482// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10483//
10484//
10485//    // Example sending a request using the StartMLEvaluationTaskRunRequest method.
10486//    req, resp := client.StartMLEvaluationTaskRunRequest(params)
10487//
10488//    err := req.Send()
10489//    if err == nil { // resp is now filled
10490//        fmt.Println(resp)
10491//    }
10492//
10493// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10494func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) {
10495	op := &request.Operation{
10496		Name:       opStartMLEvaluationTaskRun,
10497		HTTPMethod: "POST",
10498		HTTPPath:   "/",
10499	}
10500
10501	if input == nil {
10502		input = &StartMLEvaluationTaskRunInput{}
10503	}
10504
10505	output = &StartMLEvaluationTaskRunOutput{}
10506	req = c.newRequest(op, input, output)
10507	return
10508}
10509
10510// StartMLEvaluationTaskRun API operation for AWS Glue.
10511//
10512// Starts a task to estimate the quality of the transform.
10513//
10514// When you provide label sets as examples of truth, AWS Glue machine learning
10515// uses some of those examples to learn from them. The rest of the labels are
10516// used as a test to estimate quality.
10517//
10518// Returns a unique identifier for the run. You can call GetMLTaskRun to get
10519// more information about the stats of the EvaluationTaskRun.
10520//
10521// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10522// with awserr.Error's Code and Message methods to get detailed information about
10523// the error.
10524//
10525// See the AWS API reference guide for AWS Glue's
10526// API operation StartMLEvaluationTaskRun for usage and error information.
10527//
10528// Returned Error Codes:
10529//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10530//   A specified entity does not exist
10531//
10532//   * ErrCodeInvalidInputException "InvalidInputException"
10533//   The input provided was not valid.
10534//
10535//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10536//   The operation timed out.
10537//
10538//   * ErrCodeInternalServiceException "InternalServiceException"
10539//   An internal service error occurred.
10540//
10541//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10542//   Too many jobs are being run concurrently.
10543//
10544//   * ErrCodeMLTransformNotReadyException "MLTransformNotReadyException"
10545//   The machine learning transform is not ready to run.
10546//
10547// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10548func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) {
10549	req, out := c.StartMLEvaluationTaskRunRequest(input)
10550	return out, req.Send()
10551}
10552
10553// StartMLEvaluationTaskRunWithContext is the same as StartMLEvaluationTaskRun with the addition of
10554// the ability to pass a context and additional request options.
10555//
10556// See StartMLEvaluationTaskRun for details on how to use this API operation.
10557//
10558// The context must be non-nil and will be used for request cancellation. If
10559// the context is nil a panic will occur. In the future the SDK may create
10560// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10561// for more information on using Contexts.
10562func (c *Glue) StartMLEvaluationTaskRunWithContext(ctx aws.Context, input *StartMLEvaluationTaskRunInput, opts ...request.Option) (*StartMLEvaluationTaskRunOutput, error) {
10563	req, out := c.StartMLEvaluationTaskRunRequest(input)
10564	req.SetContext(ctx)
10565	req.ApplyOptions(opts...)
10566	return out, req.Send()
10567}
10568
10569const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskRun"
10570
10571// StartMLLabelingSetGenerationTaskRunRequest generates a "aws/request.Request" representing the
10572// client's request for the StartMLLabelingSetGenerationTaskRun operation. The "output" return
10573// value will be populated with the request's response once the request completes
10574// successfully.
10575//
10576// Use "Send" method on the returned Request to send the API call to the service.
10577// the "output" return value is not valid until after Send returns without error.
10578//
10579// See StartMLLabelingSetGenerationTaskRun for more information on using the StartMLLabelingSetGenerationTaskRun
10580// API call, and error handling.
10581//
10582// This method is useful when you want to inject custom logic or configuration
10583// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10584//
10585//
10586//    // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method.
10587//    req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params)
10588//
10589//    err := req.Send()
10590//    if err == nil { // resp is now filled
10591//        fmt.Println(resp)
10592//    }
10593//
10594// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10595func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) {
10596	op := &request.Operation{
10597		Name:       opStartMLLabelingSetGenerationTaskRun,
10598		HTTPMethod: "POST",
10599		HTTPPath:   "/",
10600	}
10601
10602	if input == nil {
10603		input = &StartMLLabelingSetGenerationTaskRunInput{}
10604	}
10605
10606	output = &StartMLLabelingSetGenerationTaskRunOutput{}
10607	req = c.newRequest(op, input, output)
10608	return
10609}
10610
10611// StartMLLabelingSetGenerationTaskRun API operation for AWS Glue.
10612//
10613// Starts the active learning workflow for your machine learning transform to
10614// improve the transform's quality by generating label sets and adding labels.
10615//
10616// When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have
10617// generated a "labeling set" or a set of questions for humans to answer.
10618//
10619// In the case of the FindMatches transform, these questions are of the form,
10620// “What is the correct way to group these rows together into groups composed
10621// entirely of matching records?”
10622//
10623// After the labeling process is finished, you can upload your labels with a
10624// call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes,
10625// all future runs of the machine learning transform will use the new and improved
10626// labels and perform a higher-quality transformation.
10627//
10628// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10629// with awserr.Error's Code and Message methods to get detailed information about
10630// the error.
10631//
10632// See the AWS API reference guide for AWS Glue's
10633// API operation StartMLLabelingSetGenerationTaskRun for usage and error information.
10634//
10635// Returned Error Codes:
10636//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10637//   A specified entity does not exist
10638//
10639//   * ErrCodeInvalidInputException "InvalidInputException"
10640//   The input provided was not valid.
10641//
10642//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10643//   The operation timed out.
10644//
10645//   * ErrCodeInternalServiceException "InternalServiceException"
10646//   An internal service error occurred.
10647//
10648//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10649//   Too many jobs are being run concurrently.
10650//
10651// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10652func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10653	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10654	return out, req.Send()
10655}
10656
10657// StartMLLabelingSetGenerationTaskRunWithContext is the same as StartMLLabelingSetGenerationTaskRun with the addition of
10658// the ability to pass a context and additional request options.
10659//
10660// See StartMLLabelingSetGenerationTaskRun for details on how to use this API operation.
10661//
10662// The context must be non-nil and will be used for request cancellation. If
10663// the context is nil a panic will occur. In the future the SDK may create
10664// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10665// for more information on using Contexts.
10666func (c *Glue) StartMLLabelingSetGenerationTaskRunWithContext(ctx aws.Context, input *StartMLLabelingSetGenerationTaskRunInput, opts ...request.Option) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10667	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10668	req.SetContext(ctx)
10669	req.ApplyOptions(opts...)
10670	return out, req.Send()
10671}
10672
10673const opStartTrigger = "StartTrigger"
10674
10675// StartTriggerRequest generates a "aws/request.Request" representing the
10676// client's request for the StartTrigger operation. The "output" return
10677// value will be populated with the request's response once the request completes
10678// successfully.
10679//
10680// Use "Send" method on the returned Request to send the API call to the service.
10681// the "output" return value is not valid until after Send returns without error.
10682//
10683// See StartTrigger for more information on using the StartTrigger
10684// API call, and error handling.
10685//
10686// This method is useful when you want to inject custom logic or configuration
10687// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10688//
10689//
10690//    // Example sending a request using the StartTriggerRequest method.
10691//    req, resp := client.StartTriggerRequest(params)
10692//
10693//    err := req.Send()
10694//    if err == nil { // resp is now filled
10695//        fmt.Println(resp)
10696//    }
10697//
10698// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10699func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) {
10700	op := &request.Operation{
10701		Name:       opStartTrigger,
10702		HTTPMethod: "POST",
10703		HTTPPath:   "/",
10704	}
10705
10706	if input == nil {
10707		input = &StartTriggerInput{}
10708	}
10709
10710	output = &StartTriggerOutput{}
10711	req = c.newRequest(op, input, output)
10712	return
10713}
10714
10715// StartTrigger API operation for AWS Glue.
10716//
10717// Starts an existing trigger. See Triggering Jobs (https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html)
10718// for information about how different types of trigger are started.
10719//
10720// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10721// with awserr.Error's Code and Message methods to get detailed information about
10722// the error.
10723//
10724// See the AWS API reference guide for AWS Glue's
10725// API operation StartTrigger for usage and error information.
10726//
10727// Returned Error Codes:
10728//   * ErrCodeInvalidInputException "InvalidInputException"
10729//   The input provided was not valid.
10730//
10731//   * ErrCodeInternalServiceException "InternalServiceException"
10732//   An internal service error occurred.
10733//
10734//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10735//   A specified entity does not exist
10736//
10737//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10738//   The operation timed out.
10739//
10740//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10741//   A resource numerical limit was exceeded.
10742//
10743//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10744//   Too many jobs are being run concurrently.
10745//
10746// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10747func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) {
10748	req, out := c.StartTriggerRequest(input)
10749	return out, req.Send()
10750}
10751
10752// StartTriggerWithContext is the same as StartTrigger with the addition of
10753// the ability to pass a context and additional request options.
10754//
10755// See StartTrigger for details on how to use this API operation.
10756//
10757// The context must be non-nil and will be used for request cancellation. If
10758// the context is nil a panic will occur. In the future the SDK may create
10759// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10760// for more information on using Contexts.
10761func (c *Glue) StartTriggerWithContext(ctx aws.Context, input *StartTriggerInput, opts ...request.Option) (*StartTriggerOutput, error) {
10762	req, out := c.StartTriggerRequest(input)
10763	req.SetContext(ctx)
10764	req.ApplyOptions(opts...)
10765	return out, req.Send()
10766}
10767
10768const opStartWorkflowRun = "StartWorkflowRun"
10769
10770// StartWorkflowRunRequest generates a "aws/request.Request" representing the
10771// client's request for the StartWorkflowRun operation. The "output" return
10772// value will be populated with the request's response once the request completes
10773// successfully.
10774//
10775// Use "Send" method on the returned Request to send the API call to the service.
10776// the "output" return value is not valid until after Send returns without error.
10777//
10778// See StartWorkflowRun for more information on using the StartWorkflowRun
10779// API call, and error handling.
10780//
10781// This method is useful when you want to inject custom logic or configuration
10782// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10783//
10784//
10785//    // Example sending a request using the StartWorkflowRunRequest method.
10786//    req, resp := client.StartWorkflowRunRequest(params)
10787//
10788//    err := req.Send()
10789//    if err == nil { // resp is now filled
10790//        fmt.Println(resp)
10791//    }
10792//
10793// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10794func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) {
10795	op := &request.Operation{
10796		Name:       opStartWorkflowRun,
10797		HTTPMethod: "POST",
10798		HTTPPath:   "/",
10799	}
10800
10801	if input == nil {
10802		input = &StartWorkflowRunInput{}
10803	}
10804
10805	output = &StartWorkflowRunOutput{}
10806	req = c.newRequest(op, input, output)
10807	return
10808}
10809
10810// StartWorkflowRun API operation for AWS Glue.
10811//
10812// Starts a new run of the specified workflow.
10813//
10814// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10815// with awserr.Error's Code and Message methods to get detailed information about
10816// the error.
10817//
10818// See the AWS API reference guide for AWS Glue's
10819// API operation StartWorkflowRun for usage and error information.
10820//
10821// Returned Error Codes:
10822//   * ErrCodeInvalidInputException "InvalidInputException"
10823//   The input provided was not valid.
10824//
10825//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10826//   A specified entity does not exist
10827//
10828//   * ErrCodeInternalServiceException "InternalServiceException"
10829//   An internal service error occurred.
10830//
10831//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10832//   The operation timed out.
10833//
10834//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10835//   A resource numerical limit was exceeded.
10836//
10837//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10838//   Too many jobs are being run concurrently.
10839//
10840// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10841func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) {
10842	req, out := c.StartWorkflowRunRequest(input)
10843	return out, req.Send()
10844}
10845
10846// StartWorkflowRunWithContext is the same as StartWorkflowRun with the addition of
10847// the ability to pass a context and additional request options.
10848//
10849// See StartWorkflowRun for details on how to use this API operation.
10850//
10851// The context must be non-nil and will be used for request cancellation. If
10852// the context is nil a panic will occur. In the future the SDK may create
10853// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10854// for more information on using Contexts.
10855func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflowRunInput, opts ...request.Option) (*StartWorkflowRunOutput, error) {
10856	req, out := c.StartWorkflowRunRequest(input)
10857	req.SetContext(ctx)
10858	req.ApplyOptions(opts...)
10859	return out, req.Send()
10860}
10861
10862const opStopCrawler = "StopCrawler"
10863
10864// StopCrawlerRequest generates a "aws/request.Request" representing the
10865// client's request for the StopCrawler operation. The "output" return
10866// value will be populated with the request's response once the request completes
10867// successfully.
10868//
10869// Use "Send" method on the returned Request to send the API call to the service.
10870// the "output" return value is not valid until after Send returns without error.
10871//
10872// See StopCrawler for more information on using the StopCrawler
10873// API call, and error handling.
10874//
10875// This method is useful when you want to inject custom logic or configuration
10876// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10877//
10878//
10879//    // Example sending a request using the StopCrawlerRequest method.
10880//    req, resp := client.StopCrawlerRequest(params)
10881//
10882//    err := req.Send()
10883//    if err == nil { // resp is now filled
10884//        fmt.Println(resp)
10885//    }
10886//
10887// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
10888func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) {
10889	op := &request.Operation{
10890		Name:       opStopCrawler,
10891		HTTPMethod: "POST",
10892		HTTPPath:   "/",
10893	}
10894
10895	if input == nil {
10896		input = &StopCrawlerInput{}
10897	}
10898
10899	output = &StopCrawlerOutput{}
10900	req = c.newRequest(op, input, output)
10901	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10902	return
10903}
10904
10905// StopCrawler API operation for AWS Glue.
10906//
10907// If the specified crawler is running, stops the crawl.
10908//
10909// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10910// with awserr.Error's Code and Message methods to get detailed information about
10911// the error.
10912//
10913// See the AWS API reference guide for AWS Glue's
10914// API operation StopCrawler for usage and error information.
10915//
10916// Returned Error Codes:
10917//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10918//   A specified entity does not exist
10919//
10920//   * ErrCodeCrawlerNotRunningException "CrawlerNotRunningException"
10921//   The specified crawler is not running.
10922//
10923//   * ErrCodeCrawlerStoppingException "CrawlerStoppingException"
10924//   The specified crawler is stopping.
10925//
10926//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10927//   The operation timed out.
10928//
10929// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
10930func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) {
10931	req, out := c.StopCrawlerRequest(input)
10932	return out, req.Send()
10933}
10934
10935// StopCrawlerWithContext is the same as StopCrawler with the addition of
10936// the ability to pass a context and additional request options.
10937//
10938// See StopCrawler for details on how to use this API operation.
10939//
10940// The context must be non-nil and will be used for request cancellation. If
10941// the context is nil a panic will occur. In the future the SDK may create
10942// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10943// for more information on using Contexts.
10944func (c *Glue) StopCrawlerWithContext(ctx aws.Context, input *StopCrawlerInput, opts ...request.Option) (*StopCrawlerOutput, error) {
10945	req, out := c.StopCrawlerRequest(input)
10946	req.SetContext(ctx)
10947	req.ApplyOptions(opts...)
10948	return out, req.Send()
10949}
10950
10951const opStopCrawlerSchedule = "StopCrawlerSchedule"
10952
10953// StopCrawlerScheduleRequest generates a "aws/request.Request" representing the
10954// client's request for the StopCrawlerSchedule operation. The "output" return
10955// value will be populated with the request's response once the request completes
10956// successfully.
10957//
10958// Use "Send" method on the returned Request to send the API call to the service.
10959// the "output" return value is not valid until after Send returns without error.
10960//
10961// See StopCrawlerSchedule for more information on using the StopCrawlerSchedule
10962// API call, and error handling.
10963//
10964// This method is useful when you want to inject custom logic or configuration
10965// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10966//
10967//
10968//    // Example sending a request using the StopCrawlerScheduleRequest method.
10969//    req, resp := client.StopCrawlerScheduleRequest(params)
10970//
10971//    err := req.Send()
10972//    if err == nil { // resp is now filled
10973//        fmt.Println(resp)
10974//    }
10975//
10976// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
10977func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) {
10978	op := &request.Operation{
10979		Name:       opStopCrawlerSchedule,
10980		HTTPMethod: "POST",
10981		HTTPPath:   "/",
10982	}
10983
10984	if input == nil {
10985		input = &StopCrawlerScheduleInput{}
10986	}
10987
10988	output = &StopCrawlerScheduleOutput{}
10989	req = c.newRequest(op, input, output)
10990	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10991	return
10992}
10993
10994// StopCrawlerSchedule API operation for AWS Glue.
10995//
10996// Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does
10997// not stop the crawler if it is already running.
10998//
10999// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11000// with awserr.Error's Code and Message methods to get detailed information about
11001// the error.
11002//
11003// See the AWS API reference guide for AWS Glue's
11004// API operation StopCrawlerSchedule for usage and error information.
11005//
11006// Returned Error Codes:
11007//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11008//   A specified entity does not exist
11009//
11010//   * ErrCodeSchedulerNotRunningException "SchedulerNotRunningException"
11011//   The specified scheduler is not running.
11012//
11013//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
11014//   The specified scheduler is transitioning.
11015//
11016//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11017//   The operation timed out.
11018//
11019// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
11020func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) {
11021	req, out := c.StopCrawlerScheduleRequest(input)
11022	return out, req.Send()
11023}
11024
11025// StopCrawlerScheduleWithContext is the same as StopCrawlerSchedule with the addition of
11026// the ability to pass a context and additional request options.
11027//
11028// See StopCrawlerSchedule for details on how to use this API operation.
11029//
11030// The context must be non-nil and will be used for request cancellation. If
11031// the context is nil a panic will occur. In the future the SDK may create
11032// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11033// for more information on using Contexts.
11034func (c *Glue) StopCrawlerScheduleWithContext(ctx aws.Context, input *StopCrawlerScheduleInput, opts ...request.Option) (*StopCrawlerScheduleOutput, error) {
11035	req, out := c.StopCrawlerScheduleRequest(input)
11036	req.SetContext(ctx)
11037	req.ApplyOptions(opts...)
11038	return out, req.Send()
11039}
11040
11041const opStopTrigger = "StopTrigger"
11042
11043// StopTriggerRequest generates a "aws/request.Request" representing the
11044// client's request for the StopTrigger operation. The "output" return
11045// value will be populated with the request's response once the request completes
11046// successfully.
11047//
11048// Use "Send" method on the returned Request to send the API call to the service.
11049// the "output" return value is not valid until after Send returns without error.
11050//
11051// See StopTrigger for more information on using the StopTrigger
11052// API call, and error handling.
11053//
11054// This method is useful when you want to inject custom logic or configuration
11055// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11056//
11057//
11058//    // Example sending a request using the StopTriggerRequest method.
11059//    req, resp := client.StopTriggerRequest(params)
11060//
11061//    err := req.Send()
11062//    if err == nil { // resp is now filled
11063//        fmt.Println(resp)
11064//    }
11065//
11066// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11067func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) {
11068	op := &request.Operation{
11069		Name:       opStopTrigger,
11070		HTTPMethod: "POST",
11071		HTTPPath:   "/",
11072	}
11073
11074	if input == nil {
11075		input = &StopTriggerInput{}
11076	}
11077
11078	output = &StopTriggerOutput{}
11079	req = c.newRequest(op, input, output)
11080	return
11081}
11082
11083// StopTrigger API operation for AWS Glue.
11084//
11085// Stops a specified trigger.
11086//
11087// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11088// with awserr.Error's Code and Message methods to get detailed information about
11089// the error.
11090//
11091// See the AWS API reference guide for AWS Glue's
11092// API operation StopTrigger for usage and error information.
11093//
11094// Returned Error Codes:
11095//   * ErrCodeInvalidInputException "InvalidInputException"
11096//   The input provided was not valid.
11097//
11098//   * ErrCodeInternalServiceException "InternalServiceException"
11099//   An internal service error occurred.
11100//
11101//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11102//   A specified entity does not exist
11103//
11104//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11105//   The operation timed out.
11106//
11107//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
11108//   Two processes are trying to modify a resource simultaneously.
11109//
11110// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11111func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) {
11112	req, out := c.StopTriggerRequest(input)
11113	return out, req.Send()
11114}
11115
11116// StopTriggerWithContext is the same as StopTrigger with the addition of
11117// the ability to pass a context and additional request options.
11118//
11119// See StopTrigger for details on how to use this API operation.
11120//
11121// The context must be non-nil and will be used for request cancellation. If
11122// the context is nil a panic will occur. In the future the SDK may create
11123// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11124// for more information on using Contexts.
11125func (c *Glue) StopTriggerWithContext(ctx aws.Context, input *StopTriggerInput, opts ...request.Option) (*StopTriggerOutput, error) {
11126	req, out := c.StopTriggerRequest(input)
11127	req.SetContext(ctx)
11128	req.ApplyOptions(opts...)
11129	return out, req.Send()
11130}
11131
11132const opTagResource = "TagResource"
11133
11134// TagResourceRequest generates a "aws/request.Request" representing the
11135// client's request for the TagResource operation. The "output" return
11136// value will be populated with the request's response once the request completes
11137// successfully.
11138//
11139// Use "Send" method on the returned Request to send the API call to the service.
11140// the "output" return value is not valid until after Send returns without error.
11141//
11142// See TagResource for more information on using the TagResource
11143// API call, and error handling.
11144//
11145// This method is useful when you want to inject custom logic or configuration
11146// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11147//
11148//
11149//    // Example sending a request using the TagResourceRequest method.
11150//    req, resp := client.TagResourceRequest(params)
11151//
11152//    err := req.Send()
11153//    if err == nil { // resp is now filled
11154//        fmt.Println(resp)
11155//    }
11156//
11157// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11158func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
11159	op := &request.Operation{
11160		Name:       opTagResource,
11161		HTTPMethod: "POST",
11162		HTTPPath:   "/",
11163	}
11164
11165	if input == nil {
11166		input = &TagResourceInput{}
11167	}
11168
11169	output = &TagResourceOutput{}
11170	req = c.newRequest(op, input, output)
11171	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11172	return
11173}
11174
11175// TagResource API operation for AWS Glue.
11176//
11177// Adds tags to a resource. A tag is a label you can assign to an AWS resource.
11178// In AWS Glue, you can tag only certain resources. For information about what
11179// resources you can tag, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
11180//
11181// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11182// with awserr.Error's Code and Message methods to get detailed information about
11183// the error.
11184//
11185// See the AWS API reference guide for AWS Glue's
11186// API operation TagResource for usage and error information.
11187//
11188// Returned Error Codes:
11189//   * ErrCodeInvalidInputException "InvalidInputException"
11190//   The input provided was not valid.
11191//
11192//   * ErrCodeInternalServiceException "InternalServiceException"
11193//   An internal service error occurred.
11194//
11195//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11196//   The operation timed out.
11197//
11198//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11199//   A specified entity does not exist
11200//
11201// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11202func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
11203	req, out := c.TagResourceRequest(input)
11204	return out, req.Send()
11205}
11206
11207// TagResourceWithContext is the same as TagResource with the addition of
11208// the ability to pass a context and additional request options.
11209//
11210// See TagResource for details on how to use this API operation.
11211//
11212// The context must be non-nil and will be used for request cancellation. If
11213// the context is nil a panic will occur. In the future the SDK may create
11214// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11215// for more information on using Contexts.
11216func (c *Glue) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
11217	req, out := c.TagResourceRequest(input)
11218	req.SetContext(ctx)
11219	req.ApplyOptions(opts...)
11220	return out, req.Send()
11221}
11222
11223const opUntagResource = "UntagResource"
11224
11225// UntagResourceRequest generates a "aws/request.Request" representing the
11226// client's request for the UntagResource operation. The "output" return
11227// value will be populated with the request's response once the request completes
11228// successfully.
11229//
11230// Use "Send" method on the returned Request to send the API call to the service.
11231// the "output" return value is not valid until after Send returns without error.
11232//
11233// See UntagResource for more information on using the UntagResource
11234// API call, and error handling.
11235//
11236// This method is useful when you want to inject custom logic or configuration
11237// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11238//
11239//
11240//    // Example sending a request using the UntagResourceRequest method.
11241//    req, resp := client.UntagResourceRequest(params)
11242//
11243//    err := req.Send()
11244//    if err == nil { // resp is now filled
11245//        fmt.Println(resp)
11246//    }
11247//
11248// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11249func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
11250	op := &request.Operation{
11251		Name:       opUntagResource,
11252		HTTPMethod: "POST",
11253		HTTPPath:   "/",
11254	}
11255
11256	if input == nil {
11257		input = &UntagResourceInput{}
11258	}
11259
11260	output = &UntagResourceOutput{}
11261	req = c.newRequest(op, input, output)
11262	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11263	return
11264}
11265
11266// UntagResource API operation for AWS Glue.
11267//
11268// Removes tags from a resource.
11269//
11270// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11271// with awserr.Error's Code and Message methods to get detailed information about
11272// the error.
11273//
11274// See the AWS API reference guide for AWS Glue's
11275// API operation UntagResource for usage and error information.
11276//
11277// Returned Error Codes:
11278//   * ErrCodeInvalidInputException "InvalidInputException"
11279//   The input provided was not valid.
11280//
11281//   * ErrCodeInternalServiceException "InternalServiceException"
11282//   An internal service error occurred.
11283//
11284//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11285//   The operation timed out.
11286//
11287//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11288//   A specified entity does not exist
11289//
11290// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11291func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
11292	req, out := c.UntagResourceRequest(input)
11293	return out, req.Send()
11294}
11295
11296// UntagResourceWithContext is the same as UntagResource with the addition of
11297// the ability to pass a context and additional request options.
11298//
11299// See UntagResource for details on how to use this API operation.
11300//
11301// The context must be non-nil and will be used for request cancellation. If
11302// the context is nil a panic will occur. In the future the SDK may create
11303// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11304// for more information on using Contexts.
11305func (c *Glue) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
11306	req, out := c.UntagResourceRequest(input)
11307	req.SetContext(ctx)
11308	req.ApplyOptions(opts...)
11309	return out, req.Send()
11310}
11311
11312const opUpdateClassifier = "UpdateClassifier"
11313
11314// UpdateClassifierRequest generates a "aws/request.Request" representing the
11315// client's request for the UpdateClassifier operation. The "output" return
11316// value will be populated with the request's response once the request completes
11317// successfully.
11318//
11319// Use "Send" method on the returned Request to send the API call to the service.
11320// the "output" return value is not valid until after Send returns without error.
11321//
11322// See UpdateClassifier for more information on using the UpdateClassifier
11323// API call, and error handling.
11324//
11325// This method is useful when you want to inject custom logic or configuration
11326// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11327//
11328//
11329//    // Example sending a request using the UpdateClassifierRequest method.
11330//    req, resp := client.UpdateClassifierRequest(params)
11331//
11332//    err := req.Send()
11333//    if err == nil { // resp is now filled
11334//        fmt.Println(resp)
11335//    }
11336//
11337// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11338func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) {
11339	op := &request.Operation{
11340		Name:       opUpdateClassifier,
11341		HTTPMethod: "POST",
11342		HTTPPath:   "/",
11343	}
11344
11345	if input == nil {
11346		input = &UpdateClassifierInput{}
11347	}
11348
11349	output = &UpdateClassifierOutput{}
11350	req = c.newRequest(op, input, output)
11351	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11352	return
11353}
11354
11355// UpdateClassifier API operation for AWS Glue.
11356//
11357// Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier,
11358// or a CsvClassifier, depending on which field is present).
11359//
11360// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11361// with awserr.Error's Code and Message methods to get detailed information about
11362// the error.
11363//
11364// See the AWS API reference guide for AWS Glue's
11365// API operation UpdateClassifier for usage and error information.
11366//
11367// Returned Error Codes:
11368//   * ErrCodeInvalidInputException "InvalidInputException"
11369//   The input provided was not valid.
11370//
11371//   * ErrCodeVersionMismatchException "VersionMismatchException"
11372//   There was a version conflict.
11373//
11374//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11375//   A specified entity does not exist
11376//
11377//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11378//   The operation timed out.
11379//
11380// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11381func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) {
11382	req, out := c.UpdateClassifierRequest(input)
11383	return out, req.Send()
11384}
11385
11386// UpdateClassifierWithContext is the same as UpdateClassifier with the addition of
11387// the ability to pass a context and additional request options.
11388//
11389// See UpdateClassifier for details on how to use this API operation.
11390//
11391// The context must be non-nil and will be used for request cancellation. If
11392// the context is nil a panic will occur. In the future the SDK may create
11393// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11394// for more information on using Contexts.
11395func (c *Glue) UpdateClassifierWithContext(ctx aws.Context, input *UpdateClassifierInput, opts ...request.Option) (*UpdateClassifierOutput, error) {
11396	req, out := c.UpdateClassifierRequest(input)
11397	req.SetContext(ctx)
11398	req.ApplyOptions(opts...)
11399	return out, req.Send()
11400}
11401
11402const opUpdateConnection = "UpdateConnection"
11403
11404// UpdateConnectionRequest generates a "aws/request.Request" representing the
11405// client's request for the UpdateConnection operation. The "output" return
11406// value will be populated with the request's response once the request completes
11407// successfully.
11408//
11409// Use "Send" method on the returned Request to send the API call to the service.
11410// the "output" return value is not valid until after Send returns without error.
11411//
11412// See UpdateConnection for more information on using the UpdateConnection
11413// API call, and error handling.
11414//
11415// This method is useful when you want to inject custom logic or configuration
11416// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11417//
11418//
11419//    // Example sending a request using the UpdateConnectionRequest method.
11420//    req, resp := client.UpdateConnectionRequest(params)
11421//
11422//    err := req.Send()
11423//    if err == nil { // resp is now filled
11424//        fmt.Println(resp)
11425//    }
11426//
11427// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11428func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) {
11429	op := &request.Operation{
11430		Name:       opUpdateConnection,
11431		HTTPMethod: "POST",
11432		HTTPPath:   "/",
11433	}
11434
11435	if input == nil {
11436		input = &UpdateConnectionInput{}
11437	}
11438
11439	output = &UpdateConnectionOutput{}
11440	req = c.newRequest(op, input, output)
11441	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11442	return
11443}
11444
11445// UpdateConnection API operation for AWS Glue.
11446//
11447// Updates a connection definition in the Data Catalog.
11448//
11449// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11450// with awserr.Error's Code and Message methods to get detailed information about
11451// the error.
11452//
11453// See the AWS API reference guide for AWS Glue's
11454// API operation UpdateConnection for usage and error information.
11455//
11456// Returned Error Codes:
11457//   * ErrCodeInvalidInputException "InvalidInputException"
11458//   The input provided was not valid.
11459//
11460//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11461//   A specified entity does not exist
11462//
11463//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11464//   The operation timed out.
11465//
11466//   * ErrCodeInvalidInputException "InvalidInputException"
11467//   The input provided was not valid.
11468//
11469//   * ErrCodeEncryptionException "GlueEncryptionException"
11470//   An encryption operation failed.
11471//
11472// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11473func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) {
11474	req, out := c.UpdateConnectionRequest(input)
11475	return out, req.Send()
11476}
11477
11478// UpdateConnectionWithContext is the same as UpdateConnection with the addition of
11479// the ability to pass a context and additional request options.
11480//
11481// See UpdateConnection for details on how to use this API operation.
11482//
11483// The context must be non-nil and will be used for request cancellation. If
11484// the context is nil a panic will occur. In the future the SDK may create
11485// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11486// for more information on using Contexts.
11487func (c *Glue) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) {
11488	req, out := c.UpdateConnectionRequest(input)
11489	req.SetContext(ctx)
11490	req.ApplyOptions(opts...)
11491	return out, req.Send()
11492}
11493
11494const opUpdateCrawler = "UpdateCrawler"
11495
11496// UpdateCrawlerRequest generates a "aws/request.Request" representing the
11497// client's request for the UpdateCrawler operation. The "output" return
11498// value will be populated with the request's response once the request completes
11499// successfully.
11500//
11501// Use "Send" method on the returned Request to send the API call to the service.
11502// the "output" return value is not valid until after Send returns without error.
11503//
11504// See UpdateCrawler for more information on using the UpdateCrawler
11505// API call, and error handling.
11506//
11507// This method is useful when you want to inject custom logic or configuration
11508// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11509//
11510//
11511//    // Example sending a request using the UpdateCrawlerRequest method.
11512//    req, resp := client.UpdateCrawlerRequest(params)
11513//
11514//    err := req.Send()
11515//    if err == nil { // resp is now filled
11516//        fmt.Println(resp)
11517//    }
11518//
11519// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11520func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) {
11521	op := &request.Operation{
11522		Name:       opUpdateCrawler,
11523		HTTPMethod: "POST",
11524		HTTPPath:   "/",
11525	}
11526
11527	if input == nil {
11528		input = &UpdateCrawlerInput{}
11529	}
11530
11531	output = &UpdateCrawlerOutput{}
11532	req = c.newRequest(op, input, output)
11533	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11534	return
11535}
11536
11537// UpdateCrawler API operation for AWS Glue.
11538//
11539// Updates a crawler. If a crawler is running, you must stop it using StopCrawler
11540// before updating it.
11541//
11542// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11543// with awserr.Error's Code and Message methods to get detailed information about
11544// the error.
11545//
11546// See the AWS API reference guide for AWS Glue's
11547// API operation UpdateCrawler for usage and error information.
11548//
11549// Returned Error Codes:
11550//   * ErrCodeInvalidInputException "InvalidInputException"
11551//   The input provided was not valid.
11552//
11553//   * ErrCodeVersionMismatchException "VersionMismatchException"
11554//   There was a version conflict.
11555//
11556//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11557//   A specified entity does not exist
11558//
11559//   * ErrCodeCrawlerRunningException "CrawlerRunningException"
11560//   The operation cannot be performed because the crawler is already running.
11561//
11562//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11563//   The operation timed out.
11564//
11565// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11566func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) {
11567	req, out := c.UpdateCrawlerRequest(input)
11568	return out, req.Send()
11569}
11570
11571// UpdateCrawlerWithContext is the same as UpdateCrawler with the addition of
11572// the ability to pass a context and additional request options.
11573//
11574// See UpdateCrawler for details on how to use this API operation.
11575//
11576// The context must be non-nil and will be used for request cancellation. If
11577// the context is nil a panic will occur. In the future the SDK may create
11578// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11579// for more information on using Contexts.
11580func (c *Glue) UpdateCrawlerWithContext(ctx aws.Context, input *UpdateCrawlerInput, opts ...request.Option) (*UpdateCrawlerOutput, error) {
11581	req, out := c.UpdateCrawlerRequest(input)
11582	req.SetContext(ctx)
11583	req.ApplyOptions(opts...)
11584	return out, req.Send()
11585}
11586
11587const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule"
11588
11589// UpdateCrawlerScheduleRequest generates a "aws/request.Request" representing the
11590// client's request for the UpdateCrawlerSchedule operation. The "output" return
11591// value will be populated with the request's response once the request completes
11592// successfully.
11593//
11594// Use "Send" method on the returned Request to send the API call to the service.
11595// the "output" return value is not valid until after Send returns without error.
11596//
11597// See UpdateCrawlerSchedule for more information on using the UpdateCrawlerSchedule
11598// API call, and error handling.
11599//
11600// This method is useful when you want to inject custom logic or configuration
11601// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11602//
11603//
11604//    // Example sending a request using the UpdateCrawlerScheduleRequest method.
11605//    req, resp := client.UpdateCrawlerScheduleRequest(params)
11606//
11607//    err := req.Send()
11608//    if err == nil { // resp is now filled
11609//        fmt.Println(resp)
11610//    }
11611//
11612// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11613func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) {
11614	op := &request.Operation{
11615		Name:       opUpdateCrawlerSchedule,
11616		HTTPMethod: "POST",
11617		HTTPPath:   "/",
11618	}
11619
11620	if input == nil {
11621		input = &UpdateCrawlerScheduleInput{}
11622	}
11623
11624	output = &UpdateCrawlerScheduleOutput{}
11625	req = c.newRequest(op, input, output)
11626	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11627	return
11628}
11629
11630// UpdateCrawlerSchedule API operation for AWS Glue.
11631//
11632// Updates the schedule of a crawler using a cron expression.
11633//
11634// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11635// with awserr.Error's Code and Message methods to get detailed information about
11636// the error.
11637//
11638// See the AWS API reference guide for AWS Glue's
11639// API operation UpdateCrawlerSchedule for usage and error information.
11640//
11641// Returned Error Codes:
11642//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11643//   A specified entity does not exist
11644//
11645//   * ErrCodeInvalidInputException "InvalidInputException"
11646//   The input provided was not valid.
11647//
11648//   * ErrCodeVersionMismatchException "VersionMismatchException"
11649//   There was a version conflict.
11650//
11651//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
11652//   The specified scheduler is transitioning.
11653//
11654//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11655//   The operation timed out.
11656//
11657// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11658func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) {
11659	req, out := c.UpdateCrawlerScheduleRequest(input)
11660	return out, req.Send()
11661}
11662
11663// UpdateCrawlerScheduleWithContext is the same as UpdateCrawlerSchedule with the addition of
11664// the ability to pass a context and additional request options.
11665//
11666// See UpdateCrawlerSchedule for details on how to use this API operation.
11667//
11668// The context must be non-nil and will be used for request cancellation. If
11669// the context is nil a panic will occur. In the future the SDK may create
11670// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11671// for more information on using Contexts.
11672func (c *Glue) UpdateCrawlerScheduleWithContext(ctx aws.Context, input *UpdateCrawlerScheduleInput, opts ...request.Option) (*UpdateCrawlerScheduleOutput, error) {
11673	req, out := c.UpdateCrawlerScheduleRequest(input)
11674	req.SetContext(ctx)
11675	req.ApplyOptions(opts...)
11676	return out, req.Send()
11677}
11678
11679const opUpdateDatabase = "UpdateDatabase"
11680
11681// UpdateDatabaseRequest generates a "aws/request.Request" representing the
11682// client's request for the UpdateDatabase operation. The "output" return
11683// value will be populated with the request's response once the request completes
11684// successfully.
11685//
11686// Use "Send" method on the returned Request to send the API call to the service.
11687// the "output" return value is not valid until after Send returns without error.
11688//
11689// See UpdateDatabase for more information on using the UpdateDatabase
11690// API call, and error handling.
11691//
11692// This method is useful when you want to inject custom logic or configuration
11693// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11694//
11695//
11696//    // Example sending a request using the UpdateDatabaseRequest method.
11697//    req, resp := client.UpdateDatabaseRequest(params)
11698//
11699//    err := req.Send()
11700//    if err == nil { // resp is now filled
11701//        fmt.Println(resp)
11702//    }
11703//
11704// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11705func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) {
11706	op := &request.Operation{
11707		Name:       opUpdateDatabase,
11708		HTTPMethod: "POST",
11709		HTTPPath:   "/",
11710	}
11711
11712	if input == nil {
11713		input = &UpdateDatabaseInput{}
11714	}
11715
11716	output = &UpdateDatabaseOutput{}
11717	req = c.newRequest(op, input, output)
11718	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11719	return
11720}
11721
11722// UpdateDatabase API operation for AWS Glue.
11723//
11724// Updates an existing database definition in a Data Catalog.
11725//
11726// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11727// with awserr.Error's Code and Message methods to get detailed information about
11728// the error.
11729//
11730// See the AWS API reference guide for AWS Glue's
11731// API operation UpdateDatabase for usage and error information.
11732//
11733// Returned Error Codes:
11734//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11735//   A specified entity does not exist
11736//
11737//   * ErrCodeInvalidInputException "InvalidInputException"
11738//   The input provided was not valid.
11739//
11740//   * ErrCodeInternalServiceException "InternalServiceException"
11741//   An internal service error occurred.
11742//
11743//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11744//   The operation timed out.
11745//
11746//   * ErrCodeEncryptionException "GlueEncryptionException"
11747//   An encryption operation failed.
11748//
11749// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11750func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) {
11751	req, out := c.UpdateDatabaseRequest(input)
11752	return out, req.Send()
11753}
11754
11755// UpdateDatabaseWithContext is the same as UpdateDatabase with the addition of
11756// the ability to pass a context and additional request options.
11757//
11758// See UpdateDatabase for details on how to use this API operation.
11759//
11760// The context must be non-nil and will be used for request cancellation. If
11761// the context is nil a panic will occur. In the future the SDK may create
11762// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11763// for more information on using Contexts.
11764func (c *Glue) UpdateDatabaseWithContext(ctx aws.Context, input *UpdateDatabaseInput, opts ...request.Option) (*UpdateDatabaseOutput, error) {
11765	req, out := c.UpdateDatabaseRequest(input)
11766	req.SetContext(ctx)
11767	req.ApplyOptions(opts...)
11768	return out, req.Send()
11769}
11770
11771const opUpdateDevEndpoint = "UpdateDevEndpoint"
11772
11773// UpdateDevEndpointRequest generates a "aws/request.Request" representing the
11774// client's request for the UpdateDevEndpoint operation. The "output" return
11775// value will be populated with the request's response once the request completes
11776// successfully.
11777//
11778// Use "Send" method on the returned Request to send the API call to the service.
11779// the "output" return value is not valid until after Send returns without error.
11780//
11781// See UpdateDevEndpoint for more information on using the UpdateDevEndpoint
11782// API call, and error handling.
11783//
11784// This method is useful when you want to inject custom logic or configuration
11785// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11786//
11787//
11788//    // Example sending a request using the UpdateDevEndpointRequest method.
11789//    req, resp := client.UpdateDevEndpointRequest(params)
11790//
11791//    err := req.Send()
11792//    if err == nil { // resp is now filled
11793//        fmt.Println(resp)
11794//    }
11795//
11796// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11797func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) {
11798	op := &request.Operation{
11799		Name:       opUpdateDevEndpoint,
11800		HTTPMethod: "POST",
11801		HTTPPath:   "/",
11802	}
11803
11804	if input == nil {
11805		input = &UpdateDevEndpointInput{}
11806	}
11807
11808	output = &UpdateDevEndpointOutput{}
11809	req = c.newRequest(op, input, output)
11810	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11811	return
11812}
11813
11814// UpdateDevEndpoint API operation for AWS Glue.
11815//
11816// Updates a specified development endpoint.
11817//
11818// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11819// with awserr.Error's Code and Message methods to get detailed information about
11820// the error.
11821//
11822// See the AWS API reference guide for AWS Glue's
11823// API operation UpdateDevEndpoint for usage and error information.
11824//
11825// Returned Error Codes:
11826//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11827//   A specified entity does not exist
11828//
11829//   * ErrCodeInternalServiceException "InternalServiceException"
11830//   An internal service error occurred.
11831//
11832//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11833//   The operation timed out.
11834//
11835//   * ErrCodeInvalidInputException "InvalidInputException"
11836//   The input provided was not valid.
11837//
11838//   * ErrCodeValidationException "ValidationException"
11839//   A value could not be validated.
11840//
11841// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11842func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) {
11843	req, out := c.UpdateDevEndpointRequest(input)
11844	return out, req.Send()
11845}
11846
11847// UpdateDevEndpointWithContext is the same as UpdateDevEndpoint with the addition of
11848// the ability to pass a context and additional request options.
11849//
11850// See UpdateDevEndpoint for details on how to use this API operation.
11851//
11852// The context must be non-nil and will be used for request cancellation. If
11853// the context is nil a panic will occur. In the future the SDK may create
11854// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11855// for more information on using Contexts.
11856func (c *Glue) UpdateDevEndpointWithContext(ctx aws.Context, input *UpdateDevEndpointInput, opts ...request.Option) (*UpdateDevEndpointOutput, error) {
11857	req, out := c.UpdateDevEndpointRequest(input)
11858	req.SetContext(ctx)
11859	req.ApplyOptions(opts...)
11860	return out, req.Send()
11861}
11862
11863const opUpdateJob = "UpdateJob"
11864
11865// UpdateJobRequest generates a "aws/request.Request" representing the
11866// client's request for the UpdateJob operation. The "output" return
11867// value will be populated with the request's response once the request completes
11868// successfully.
11869//
11870// Use "Send" method on the returned Request to send the API call to the service.
11871// the "output" return value is not valid until after Send returns without error.
11872//
11873// See UpdateJob for more information on using the UpdateJob
11874// API call, and error handling.
11875//
11876// This method is useful when you want to inject custom logic or configuration
11877// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11878//
11879//
11880//    // Example sending a request using the UpdateJobRequest method.
11881//    req, resp := client.UpdateJobRequest(params)
11882//
11883//    err := req.Send()
11884//    if err == nil { // resp is now filled
11885//        fmt.Println(resp)
11886//    }
11887//
11888// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
11889func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) {
11890	op := &request.Operation{
11891		Name:       opUpdateJob,
11892		HTTPMethod: "POST",
11893		HTTPPath:   "/",
11894	}
11895
11896	if input == nil {
11897		input = &UpdateJobInput{}
11898	}
11899
11900	output = &UpdateJobOutput{}
11901	req = c.newRequest(op, input, output)
11902	return
11903}
11904
11905// UpdateJob API operation for AWS Glue.
11906//
11907// Updates an existing job definition.
11908//
11909// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11910// with awserr.Error's Code and Message methods to get detailed information about
11911// the error.
11912//
11913// See the AWS API reference guide for AWS Glue's
11914// API operation UpdateJob for usage and error information.
11915//
11916// Returned Error Codes:
11917//   * ErrCodeInvalidInputException "InvalidInputException"
11918//   The input provided was not valid.
11919//
11920//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11921//   A specified entity does not exist
11922//
11923//   * ErrCodeInternalServiceException "InternalServiceException"
11924//   An internal service error occurred.
11925//
11926//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11927//   The operation timed out.
11928//
11929//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
11930//   Two processes are trying to modify a resource simultaneously.
11931//
11932// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
11933func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) {
11934	req, out := c.UpdateJobRequest(input)
11935	return out, req.Send()
11936}
11937
11938// UpdateJobWithContext is the same as UpdateJob with the addition of
11939// the ability to pass a context and additional request options.
11940//
11941// See UpdateJob for details on how to use this API operation.
11942//
11943// The context must be non-nil and will be used for request cancellation. If
11944// the context is nil a panic will occur. In the future the SDK may create
11945// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11946// for more information on using Contexts.
11947func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts ...request.Option) (*UpdateJobOutput, error) {
11948	req, out := c.UpdateJobRequest(input)
11949	req.SetContext(ctx)
11950	req.ApplyOptions(opts...)
11951	return out, req.Send()
11952}
11953
11954const opUpdateMLTransform = "UpdateMLTransform"
11955
11956// UpdateMLTransformRequest generates a "aws/request.Request" representing the
11957// client's request for the UpdateMLTransform operation. The "output" return
11958// value will be populated with the request's response once the request completes
11959// successfully.
11960//
11961// Use "Send" method on the returned Request to send the API call to the service.
11962// the "output" return value is not valid until after Send returns without error.
11963//
11964// See UpdateMLTransform for more information on using the UpdateMLTransform
11965// API call, and error handling.
11966//
11967// This method is useful when you want to inject custom logic or configuration
11968// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11969//
11970//
11971//    // Example sending a request using the UpdateMLTransformRequest method.
11972//    req, resp := client.UpdateMLTransformRequest(params)
11973//
11974//    err := req.Send()
11975//    if err == nil { // resp is now filled
11976//        fmt.Println(resp)
11977//    }
11978//
11979// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
11980func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) {
11981	op := &request.Operation{
11982		Name:       opUpdateMLTransform,
11983		HTTPMethod: "POST",
11984		HTTPPath:   "/",
11985	}
11986
11987	if input == nil {
11988		input = &UpdateMLTransformInput{}
11989	}
11990
11991	output = &UpdateMLTransformOutput{}
11992	req = c.newRequest(op, input, output)
11993	return
11994}
11995
11996// UpdateMLTransform API operation for AWS Glue.
11997//
11998// Updates an existing machine learning transform. Call this operation to tune
11999// the algorithm parameters to achieve better results.
12000//
12001// After calling this operation, you can call the StartMLEvaluationTaskRun operation
12002// to assess how well your new parameters achieved your goals (such as improving
12003// the quality of your machine learning transform, or making it more cost-effective).
12004//
12005// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12006// with awserr.Error's Code and Message methods to get detailed information about
12007// the error.
12008//
12009// See the AWS API reference guide for AWS Glue's
12010// API operation UpdateMLTransform for usage and error information.
12011//
12012// Returned Error Codes:
12013//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12014//   A specified entity does not exist
12015//
12016//   * ErrCodeInvalidInputException "InvalidInputException"
12017//   The input provided was not valid.
12018//
12019//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12020//   The operation timed out.
12021//
12022//   * ErrCodeInternalServiceException "InternalServiceException"
12023//   An internal service error occurred.
12024//
12025//   * ErrCodeAccessDeniedException "AccessDeniedException"
12026//   Access to a resource was denied.
12027//
12028// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
12029func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) {
12030	req, out := c.UpdateMLTransformRequest(input)
12031	return out, req.Send()
12032}
12033
12034// UpdateMLTransformWithContext is the same as UpdateMLTransform with the addition of
12035// the ability to pass a context and additional request options.
12036//
12037// See UpdateMLTransform for details on how to use this API operation.
12038//
12039// The context must be non-nil and will be used for request cancellation. If
12040// the context is nil a panic will occur. In the future the SDK may create
12041// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12042// for more information on using Contexts.
12043func (c *Glue) UpdateMLTransformWithContext(ctx aws.Context, input *UpdateMLTransformInput, opts ...request.Option) (*UpdateMLTransformOutput, error) {
12044	req, out := c.UpdateMLTransformRequest(input)
12045	req.SetContext(ctx)
12046	req.ApplyOptions(opts...)
12047	return out, req.Send()
12048}
12049
12050const opUpdatePartition = "UpdatePartition"
12051
12052// UpdatePartitionRequest generates a "aws/request.Request" representing the
12053// client's request for the UpdatePartition operation. The "output" return
12054// value will be populated with the request's response once the request completes
12055// successfully.
12056//
12057// Use "Send" method on the returned Request to send the API call to the service.
12058// the "output" return value is not valid until after Send returns without error.
12059//
12060// See UpdatePartition for more information on using the UpdatePartition
12061// API call, and error handling.
12062//
12063// This method is useful when you want to inject custom logic or configuration
12064// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12065//
12066//
12067//    // Example sending a request using the UpdatePartitionRequest method.
12068//    req, resp := client.UpdatePartitionRequest(params)
12069//
12070//    err := req.Send()
12071//    if err == nil { // resp is now filled
12072//        fmt.Println(resp)
12073//    }
12074//
12075// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12076func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) {
12077	op := &request.Operation{
12078		Name:       opUpdatePartition,
12079		HTTPMethod: "POST",
12080		HTTPPath:   "/",
12081	}
12082
12083	if input == nil {
12084		input = &UpdatePartitionInput{}
12085	}
12086
12087	output = &UpdatePartitionOutput{}
12088	req = c.newRequest(op, input, output)
12089	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12090	return
12091}
12092
12093// UpdatePartition API operation for AWS Glue.
12094//
12095// Updates a partition.
12096//
12097// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12098// with awserr.Error's Code and Message methods to get detailed information about
12099// the error.
12100//
12101// See the AWS API reference guide for AWS Glue's
12102// API operation UpdatePartition for usage and error information.
12103//
12104// Returned Error Codes:
12105//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12106//   A specified entity does not exist
12107//
12108//   * ErrCodeInvalidInputException "InvalidInputException"
12109//   The input provided was not valid.
12110//
12111//   * ErrCodeInternalServiceException "InternalServiceException"
12112//   An internal service error occurred.
12113//
12114//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12115//   The operation timed out.
12116//
12117//   * ErrCodeEncryptionException "GlueEncryptionException"
12118//   An encryption operation failed.
12119//
12120// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12121func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) {
12122	req, out := c.UpdatePartitionRequest(input)
12123	return out, req.Send()
12124}
12125
12126// UpdatePartitionWithContext is the same as UpdatePartition with the addition of
12127// the ability to pass a context and additional request options.
12128//
12129// See UpdatePartition for details on how to use this API operation.
12130//
12131// The context must be non-nil and will be used for request cancellation. If
12132// the context is nil a panic will occur. In the future the SDK may create
12133// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12134// for more information on using Contexts.
12135func (c *Glue) UpdatePartitionWithContext(ctx aws.Context, input *UpdatePartitionInput, opts ...request.Option) (*UpdatePartitionOutput, error) {
12136	req, out := c.UpdatePartitionRequest(input)
12137	req.SetContext(ctx)
12138	req.ApplyOptions(opts...)
12139	return out, req.Send()
12140}
12141
12142const opUpdateTable = "UpdateTable"
12143
12144// UpdateTableRequest generates a "aws/request.Request" representing the
12145// client's request for the UpdateTable operation. The "output" return
12146// value will be populated with the request's response once the request completes
12147// successfully.
12148//
12149// Use "Send" method on the returned Request to send the API call to the service.
12150// the "output" return value is not valid until after Send returns without error.
12151//
12152// See UpdateTable for more information on using the UpdateTable
12153// API call, and error handling.
12154//
12155// This method is useful when you want to inject custom logic or configuration
12156// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12157//
12158//
12159//    // Example sending a request using the UpdateTableRequest method.
12160//    req, resp := client.UpdateTableRequest(params)
12161//
12162//    err := req.Send()
12163//    if err == nil { // resp is now filled
12164//        fmt.Println(resp)
12165//    }
12166//
12167// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12168func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) {
12169	op := &request.Operation{
12170		Name:       opUpdateTable,
12171		HTTPMethod: "POST",
12172		HTTPPath:   "/",
12173	}
12174
12175	if input == nil {
12176		input = &UpdateTableInput{}
12177	}
12178
12179	output = &UpdateTableOutput{}
12180	req = c.newRequest(op, input, output)
12181	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12182	return
12183}
12184
12185// UpdateTable API operation for AWS Glue.
12186//
12187// Updates a metadata table in the Data Catalog.
12188//
12189// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12190// with awserr.Error's Code and Message methods to get detailed information about
12191// the error.
12192//
12193// See the AWS API reference guide for AWS Glue's
12194// API operation UpdateTable for usage and error information.
12195//
12196// Returned Error Codes:
12197//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12198//   A specified entity does not exist
12199//
12200//   * ErrCodeInvalidInputException "InvalidInputException"
12201//   The input provided was not valid.
12202//
12203//   * ErrCodeInternalServiceException "InternalServiceException"
12204//   An internal service error occurred.
12205//
12206//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12207//   The operation timed out.
12208//
12209//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12210//   Two processes are trying to modify a resource simultaneously.
12211//
12212//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
12213//   A resource numerical limit was exceeded.
12214//
12215//   * ErrCodeEncryptionException "GlueEncryptionException"
12216//   An encryption operation failed.
12217//
12218// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12219func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) {
12220	req, out := c.UpdateTableRequest(input)
12221	return out, req.Send()
12222}
12223
12224// UpdateTableWithContext is the same as UpdateTable with the addition of
12225// the ability to pass a context and additional request options.
12226//
12227// See UpdateTable for details on how to use this API operation.
12228//
12229// The context must be non-nil and will be used for request cancellation. If
12230// the context is nil a panic will occur. In the future the SDK may create
12231// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12232// for more information on using Contexts.
12233func (c *Glue) UpdateTableWithContext(ctx aws.Context, input *UpdateTableInput, opts ...request.Option) (*UpdateTableOutput, error) {
12234	req, out := c.UpdateTableRequest(input)
12235	req.SetContext(ctx)
12236	req.ApplyOptions(opts...)
12237	return out, req.Send()
12238}
12239
12240const opUpdateTrigger = "UpdateTrigger"
12241
12242// UpdateTriggerRequest generates a "aws/request.Request" representing the
12243// client's request for the UpdateTrigger operation. The "output" return
12244// value will be populated with the request's response once the request completes
12245// successfully.
12246//
12247// Use "Send" method on the returned Request to send the API call to the service.
12248// the "output" return value is not valid until after Send returns without error.
12249//
12250// See UpdateTrigger for more information on using the UpdateTrigger
12251// API call, and error handling.
12252//
12253// This method is useful when you want to inject custom logic or configuration
12254// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12255//
12256//
12257//    // Example sending a request using the UpdateTriggerRequest method.
12258//    req, resp := client.UpdateTriggerRequest(params)
12259//
12260//    err := req.Send()
12261//    if err == nil { // resp is now filled
12262//        fmt.Println(resp)
12263//    }
12264//
12265// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12266func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) {
12267	op := &request.Operation{
12268		Name:       opUpdateTrigger,
12269		HTTPMethod: "POST",
12270		HTTPPath:   "/",
12271	}
12272
12273	if input == nil {
12274		input = &UpdateTriggerInput{}
12275	}
12276
12277	output = &UpdateTriggerOutput{}
12278	req = c.newRequest(op, input, output)
12279	return
12280}
12281
12282// UpdateTrigger API operation for AWS Glue.
12283//
12284// Updates a trigger definition.
12285//
12286// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12287// with awserr.Error's Code and Message methods to get detailed information about
12288// the error.
12289//
12290// See the AWS API reference guide for AWS Glue's
12291// API operation UpdateTrigger for usage and error information.
12292//
12293// Returned Error Codes:
12294//   * ErrCodeInvalidInputException "InvalidInputException"
12295//   The input provided was not valid.
12296//
12297//   * ErrCodeInternalServiceException "InternalServiceException"
12298//   An internal service error occurred.
12299//
12300//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12301//   A specified entity does not exist
12302//
12303//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12304//   The operation timed out.
12305//
12306//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12307//   Two processes are trying to modify a resource simultaneously.
12308//
12309// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12310func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) {
12311	req, out := c.UpdateTriggerRequest(input)
12312	return out, req.Send()
12313}
12314
12315// UpdateTriggerWithContext is the same as UpdateTrigger with the addition of
12316// the ability to pass a context and additional request options.
12317//
12318// See UpdateTrigger for details on how to use this API operation.
12319//
12320// The context must be non-nil and will be used for request cancellation. If
12321// the context is nil a panic will occur. In the future the SDK may create
12322// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12323// for more information on using Contexts.
12324func (c *Glue) UpdateTriggerWithContext(ctx aws.Context, input *UpdateTriggerInput, opts ...request.Option) (*UpdateTriggerOutput, error) {
12325	req, out := c.UpdateTriggerRequest(input)
12326	req.SetContext(ctx)
12327	req.ApplyOptions(opts...)
12328	return out, req.Send()
12329}
12330
12331const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction"
12332
12333// UpdateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
12334// client's request for the UpdateUserDefinedFunction operation. The "output" return
12335// value will be populated with the request's response once the request completes
12336// successfully.
12337//
12338// Use "Send" method on the returned Request to send the API call to the service.
12339// the "output" return value is not valid until after Send returns without error.
12340//
12341// See UpdateUserDefinedFunction for more information on using the UpdateUserDefinedFunction
12342// API call, and error handling.
12343//
12344// This method is useful when you want to inject custom logic or configuration
12345// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12346//
12347//
12348//    // Example sending a request using the UpdateUserDefinedFunctionRequest method.
12349//    req, resp := client.UpdateUserDefinedFunctionRequest(params)
12350//
12351//    err := req.Send()
12352//    if err == nil { // resp is now filled
12353//        fmt.Println(resp)
12354//    }
12355//
12356// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12357func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) {
12358	op := &request.Operation{
12359		Name:       opUpdateUserDefinedFunction,
12360		HTTPMethod: "POST",
12361		HTTPPath:   "/",
12362	}
12363
12364	if input == nil {
12365		input = &UpdateUserDefinedFunctionInput{}
12366	}
12367
12368	output = &UpdateUserDefinedFunctionOutput{}
12369	req = c.newRequest(op, input, output)
12370	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12371	return
12372}
12373
12374// UpdateUserDefinedFunction API operation for AWS Glue.
12375//
12376// Updates an existing function definition in the Data Catalog.
12377//
12378// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12379// with awserr.Error's Code and Message methods to get detailed information about
12380// the error.
12381//
12382// See the AWS API reference guide for AWS Glue's
12383// API operation UpdateUserDefinedFunction for usage and error information.
12384//
12385// Returned Error Codes:
12386//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12387//   A specified entity does not exist
12388//
12389//   * ErrCodeInvalidInputException "InvalidInputException"
12390//   The input provided was not valid.
12391//
12392//   * ErrCodeInternalServiceException "InternalServiceException"
12393//   An internal service error occurred.
12394//
12395//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12396//   The operation timed out.
12397//
12398//   * ErrCodeEncryptionException "GlueEncryptionException"
12399//   An encryption operation failed.
12400//
12401// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12402func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) {
12403	req, out := c.UpdateUserDefinedFunctionRequest(input)
12404	return out, req.Send()
12405}
12406
12407// UpdateUserDefinedFunctionWithContext is the same as UpdateUserDefinedFunction with the addition of
12408// the ability to pass a context and additional request options.
12409//
12410// See UpdateUserDefinedFunction for details on how to use this API operation.
12411//
12412// The context must be non-nil and will be used for request cancellation. If
12413// the context is nil a panic will occur. In the future the SDK may create
12414// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12415// for more information on using Contexts.
12416func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *UpdateUserDefinedFunctionInput, opts ...request.Option) (*UpdateUserDefinedFunctionOutput, error) {
12417	req, out := c.UpdateUserDefinedFunctionRequest(input)
12418	req.SetContext(ctx)
12419	req.ApplyOptions(opts...)
12420	return out, req.Send()
12421}
12422
12423const opUpdateWorkflow = "UpdateWorkflow"
12424
12425// UpdateWorkflowRequest generates a "aws/request.Request" representing the
12426// client's request for the UpdateWorkflow operation. The "output" return
12427// value will be populated with the request's response once the request completes
12428// successfully.
12429//
12430// Use "Send" method on the returned Request to send the API call to the service.
12431// the "output" return value is not valid until after Send returns without error.
12432//
12433// See UpdateWorkflow for more information on using the UpdateWorkflow
12434// API call, and error handling.
12435//
12436// This method is useful when you want to inject custom logic or configuration
12437// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12438//
12439//
12440//    // Example sending a request using the UpdateWorkflowRequest method.
12441//    req, resp := client.UpdateWorkflowRequest(params)
12442//
12443//    err := req.Send()
12444//    if err == nil { // resp is now filled
12445//        fmt.Println(resp)
12446//    }
12447//
12448// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12449func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) {
12450	op := &request.Operation{
12451		Name:       opUpdateWorkflow,
12452		HTTPMethod: "POST",
12453		HTTPPath:   "/",
12454	}
12455
12456	if input == nil {
12457		input = &UpdateWorkflowInput{}
12458	}
12459
12460	output = &UpdateWorkflowOutput{}
12461	req = c.newRequest(op, input, output)
12462	return
12463}
12464
12465// UpdateWorkflow API operation for AWS Glue.
12466//
12467// Updates an existing workflow.
12468//
12469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12470// with awserr.Error's Code and Message methods to get detailed information about
12471// the error.
12472//
12473// See the AWS API reference guide for AWS Glue's
12474// API operation UpdateWorkflow for usage and error information.
12475//
12476// Returned Error Codes:
12477//   * ErrCodeInvalidInputException "InvalidInputException"
12478//   The input provided was not valid.
12479//
12480//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12481//   A specified entity does not exist
12482//
12483//   * ErrCodeInternalServiceException "InternalServiceException"
12484//   An internal service error occurred.
12485//
12486//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12487//   The operation timed out.
12488//
12489//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12490//   Two processes are trying to modify a resource simultaneously.
12491//
12492// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12493func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) {
12494	req, out := c.UpdateWorkflowRequest(input)
12495	return out, req.Send()
12496}
12497
12498// UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of
12499// the ability to pass a context and additional request options.
12500//
12501// See UpdateWorkflow for details on how to use this API operation.
12502//
12503// The context must be non-nil and will be used for request cancellation. If
12504// the context is nil a panic will occur. In the future the SDK may create
12505// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12506// for more information on using Contexts.
12507func (c *Glue) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) {
12508	req, out := c.UpdateWorkflowRequest(input)
12509	req.SetContext(ctx)
12510	req.ApplyOptions(opts...)
12511	return out, req.Send()
12512}
12513
12514// Defines an action to be initiated by a trigger.
12515type Action struct {
12516	_ struct{} `type:"structure"`
12517
12518	// The job arguments used when this trigger fires. For this job run, they replace
12519	// the default arguments set in the job definition itself.
12520	//
12521	// You can specify arguments here that your own job-execution script consumes,
12522	// as well as arguments that AWS Glue itself consumes.
12523	//
12524	// For information about how to specify and consume your own Job arguments,
12525	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
12526	// topic in the developer guide.
12527	//
12528	// For information about the key-value pairs that AWS Glue consumes to set up
12529	// 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)
12530	// topic in the developer guide.
12531	Arguments map[string]*string `type:"map"`
12532
12533	// The name of the crawler to be used with this action.
12534	CrawlerName *string `min:"1" type:"string"`
12535
12536	// The name of a job to be executed.
12537	JobName *string `min:"1" type:"string"`
12538
12539	// Specifies configuration properties of a job run notification.
12540	NotificationProperty *NotificationProperty `type:"structure"`
12541
12542	// The name of the SecurityConfiguration structure to be used with this action.
12543	SecurityConfiguration *string `min:"1" type:"string"`
12544
12545	// The JobRun timeout in minutes. This is the maximum time that a job run can
12546	// consume resources before it is terminated and enters TIMEOUT status. The
12547	// default is 2,880 minutes (48 hours). This overrides the timeout value set
12548	// in the parent job.
12549	Timeout *int64 `min:"1" type:"integer"`
12550}
12551
12552// String returns the string representation
12553func (s Action) String() string {
12554	return awsutil.Prettify(s)
12555}
12556
12557// GoString returns the string representation
12558func (s Action) GoString() string {
12559	return s.String()
12560}
12561
12562// Validate inspects the fields of the type to determine if they are valid.
12563func (s *Action) Validate() error {
12564	invalidParams := request.ErrInvalidParams{Context: "Action"}
12565	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
12566		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
12567	}
12568	if s.JobName != nil && len(*s.JobName) < 1 {
12569		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
12570	}
12571	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
12572		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
12573	}
12574	if s.Timeout != nil && *s.Timeout < 1 {
12575		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
12576	}
12577	if s.NotificationProperty != nil {
12578		if err := s.NotificationProperty.Validate(); err != nil {
12579			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
12580		}
12581	}
12582
12583	if invalidParams.Len() > 0 {
12584		return invalidParams
12585	}
12586	return nil
12587}
12588
12589// SetArguments sets the Arguments field's value.
12590func (s *Action) SetArguments(v map[string]*string) *Action {
12591	s.Arguments = v
12592	return s
12593}
12594
12595// SetCrawlerName sets the CrawlerName field's value.
12596func (s *Action) SetCrawlerName(v string) *Action {
12597	s.CrawlerName = &v
12598	return s
12599}
12600
12601// SetJobName sets the JobName field's value.
12602func (s *Action) SetJobName(v string) *Action {
12603	s.JobName = &v
12604	return s
12605}
12606
12607// SetNotificationProperty sets the NotificationProperty field's value.
12608func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action {
12609	s.NotificationProperty = v
12610	return s
12611}
12612
12613// SetSecurityConfiguration sets the SecurityConfiguration field's value.
12614func (s *Action) SetSecurityConfiguration(v string) *Action {
12615	s.SecurityConfiguration = &v
12616	return s
12617}
12618
12619// SetTimeout sets the Timeout field's value.
12620func (s *Action) SetTimeout(v int64) *Action {
12621	s.Timeout = &v
12622	return s
12623}
12624
12625type BatchCreatePartitionInput struct {
12626	_ struct{} `type:"structure"`
12627
12628	// The ID of the catalog in which the partition is to be created. Currently,
12629	// this should be the AWS account ID.
12630	CatalogId *string `min:"1" type:"string"`
12631
12632	// The name of the metadata database in which the partition is to be created.
12633	//
12634	// DatabaseName is a required field
12635	DatabaseName *string `min:"1" type:"string" required:"true"`
12636
12637	// A list of PartitionInput structures that define the partitions to be created.
12638	//
12639	// PartitionInputList is a required field
12640	PartitionInputList []*PartitionInput `type:"list" required:"true"`
12641
12642	// The name of the metadata table in which the partition is to be created.
12643	//
12644	// TableName is a required field
12645	TableName *string `min:"1" type:"string" required:"true"`
12646}
12647
12648// String returns the string representation
12649func (s BatchCreatePartitionInput) String() string {
12650	return awsutil.Prettify(s)
12651}
12652
12653// GoString returns the string representation
12654func (s BatchCreatePartitionInput) GoString() string {
12655	return s.String()
12656}
12657
12658// Validate inspects the fields of the type to determine if they are valid.
12659func (s *BatchCreatePartitionInput) Validate() error {
12660	invalidParams := request.ErrInvalidParams{Context: "BatchCreatePartitionInput"}
12661	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12662		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12663	}
12664	if s.DatabaseName == nil {
12665		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12666	}
12667	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12668		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12669	}
12670	if s.PartitionInputList == nil {
12671		invalidParams.Add(request.NewErrParamRequired("PartitionInputList"))
12672	}
12673	if s.TableName == nil {
12674		invalidParams.Add(request.NewErrParamRequired("TableName"))
12675	}
12676	if s.TableName != nil && len(*s.TableName) < 1 {
12677		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
12678	}
12679	if s.PartitionInputList != nil {
12680		for i, v := range s.PartitionInputList {
12681			if v == nil {
12682				continue
12683			}
12684			if err := v.Validate(); err != nil {
12685				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionInputList", i), err.(request.ErrInvalidParams))
12686			}
12687		}
12688	}
12689
12690	if invalidParams.Len() > 0 {
12691		return invalidParams
12692	}
12693	return nil
12694}
12695
12696// SetCatalogId sets the CatalogId field's value.
12697func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput {
12698	s.CatalogId = &v
12699	return s
12700}
12701
12702// SetDatabaseName sets the DatabaseName field's value.
12703func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput {
12704	s.DatabaseName = &v
12705	return s
12706}
12707
12708// SetPartitionInputList sets the PartitionInputList field's value.
12709func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput {
12710	s.PartitionInputList = v
12711	return s
12712}
12713
12714// SetTableName sets the TableName field's value.
12715func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput {
12716	s.TableName = &v
12717	return s
12718}
12719
12720type BatchCreatePartitionOutput struct {
12721	_ struct{} `type:"structure"`
12722
12723	// The errors encountered when trying to create the requested partitions.
12724	Errors []*PartitionError `type:"list"`
12725}
12726
12727// String returns the string representation
12728func (s BatchCreatePartitionOutput) String() string {
12729	return awsutil.Prettify(s)
12730}
12731
12732// GoString returns the string representation
12733func (s BatchCreatePartitionOutput) GoString() string {
12734	return s.String()
12735}
12736
12737// SetErrors sets the Errors field's value.
12738func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreatePartitionOutput {
12739	s.Errors = v
12740	return s
12741}
12742
12743type BatchDeleteConnectionInput struct {
12744	_ struct{} `type:"structure"`
12745
12746	// The ID of the Data Catalog in which the connections reside. If none is provided,
12747	// the AWS account ID is used by default.
12748	CatalogId *string `min:"1" type:"string"`
12749
12750	// A list of names of the connections to delete.
12751	//
12752	// ConnectionNameList is a required field
12753	ConnectionNameList []*string `type:"list" required:"true"`
12754}
12755
12756// String returns the string representation
12757func (s BatchDeleteConnectionInput) String() string {
12758	return awsutil.Prettify(s)
12759}
12760
12761// GoString returns the string representation
12762func (s BatchDeleteConnectionInput) GoString() string {
12763	return s.String()
12764}
12765
12766// Validate inspects the fields of the type to determine if they are valid.
12767func (s *BatchDeleteConnectionInput) Validate() error {
12768	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteConnectionInput"}
12769	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12770		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12771	}
12772	if s.ConnectionNameList == nil {
12773		invalidParams.Add(request.NewErrParamRequired("ConnectionNameList"))
12774	}
12775
12776	if invalidParams.Len() > 0 {
12777		return invalidParams
12778	}
12779	return nil
12780}
12781
12782// SetCatalogId sets the CatalogId field's value.
12783func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput {
12784	s.CatalogId = &v
12785	return s
12786}
12787
12788// SetConnectionNameList sets the ConnectionNameList field's value.
12789func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDeleteConnectionInput {
12790	s.ConnectionNameList = v
12791	return s
12792}
12793
12794type BatchDeleteConnectionOutput struct {
12795	_ struct{} `type:"structure"`
12796
12797	// A map of the names of connections that were not successfully deleted to error
12798	// details.
12799	Errors map[string]*ErrorDetail `type:"map"`
12800
12801	// A list of names of the connection definitions that were successfully deleted.
12802	Succeeded []*string `type:"list"`
12803}
12804
12805// String returns the string representation
12806func (s BatchDeleteConnectionOutput) String() string {
12807	return awsutil.Prettify(s)
12808}
12809
12810// GoString returns the string representation
12811func (s BatchDeleteConnectionOutput) GoString() string {
12812	return s.String()
12813}
12814
12815// SetErrors sets the Errors field's value.
12816func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]*ErrorDetail) *BatchDeleteConnectionOutput {
12817	s.Errors = v
12818	return s
12819}
12820
12821// SetSucceeded sets the Succeeded field's value.
12822func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConnectionOutput {
12823	s.Succeeded = v
12824	return s
12825}
12826
12827type BatchDeletePartitionInput struct {
12828	_ struct{} `type:"structure"`
12829
12830	// The ID of the Data Catalog where the partition to be deleted resides. If
12831	// none is provided, the AWS account ID is used by default.
12832	CatalogId *string `min:"1" type:"string"`
12833
12834	// The name of the catalog database in which the table in question resides.
12835	//
12836	// DatabaseName is a required field
12837	DatabaseName *string `min:"1" type:"string" required:"true"`
12838
12839	// A list of PartitionInput structures that define the partitions to be deleted.
12840	//
12841	// PartitionsToDelete is a required field
12842	PartitionsToDelete []*PartitionValueList `type:"list" required:"true"`
12843
12844	// The name of the table that contains the partitions to be deleted.
12845	//
12846	// TableName is a required field
12847	TableName *string `min:"1" type:"string" required:"true"`
12848}
12849
12850// String returns the string representation
12851func (s BatchDeletePartitionInput) String() string {
12852	return awsutil.Prettify(s)
12853}
12854
12855// GoString returns the string representation
12856func (s BatchDeletePartitionInput) GoString() string {
12857	return s.String()
12858}
12859
12860// Validate inspects the fields of the type to determine if they are valid.
12861func (s *BatchDeletePartitionInput) Validate() error {
12862	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePartitionInput"}
12863	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12864		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12865	}
12866	if s.DatabaseName == nil {
12867		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12868	}
12869	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12870		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12871	}
12872	if s.PartitionsToDelete == nil {
12873		invalidParams.Add(request.NewErrParamRequired("PartitionsToDelete"))
12874	}
12875	if s.TableName == nil {
12876		invalidParams.Add(request.NewErrParamRequired("TableName"))
12877	}
12878	if s.TableName != nil && len(*s.TableName) < 1 {
12879		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
12880	}
12881	if s.PartitionsToDelete != nil {
12882		for i, v := range s.PartitionsToDelete {
12883			if v == nil {
12884				continue
12885			}
12886			if err := v.Validate(); err != nil {
12887				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToDelete", i), err.(request.ErrInvalidParams))
12888			}
12889		}
12890	}
12891
12892	if invalidParams.Len() > 0 {
12893		return invalidParams
12894	}
12895	return nil
12896}
12897
12898// SetCatalogId sets the CatalogId field's value.
12899func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput {
12900	s.CatalogId = &v
12901	return s
12902}
12903
12904// SetDatabaseName sets the DatabaseName field's value.
12905func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput {
12906	s.DatabaseName = &v
12907	return s
12908}
12909
12910// SetPartitionsToDelete sets the PartitionsToDelete field's value.
12911func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []*PartitionValueList) *BatchDeletePartitionInput {
12912	s.PartitionsToDelete = v
12913	return s
12914}
12915
12916// SetTableName sets the TableName field's value.
12917func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput {
12918	s.TableName = &v
12919	return s
12920}
12921
12922type BatchDeletePartitionOutput struct {
12923	_ struct{} `type:"structure"`
12924
12925	// The errors encountered when trying to delete the requested partitions.
12926	Errors []*PartitionError `type:"list"`
12927}
12928
12929// String returns the string representation
12930func (s BatchDeletePartitionOutput) String() string {
12931	return awsutil.Prettify(s)
12932}
12933
12934// GoString returns the string representation
12935func (s BatchDeletePartitionOutput) GoString() string {
12936	return s.String()
12937}
12938
12939// SetErrors sets the Errors field's value.
12940func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDeletePartitionOutput {
12941	s.Errors = v
12942	return s
12943}
12944
12945type BatchDeleteTableInput struct {
12946	_ struct{} `type:"structure"`
12947
12948	// The ID of the Data Catalog where the table resides. If none is provided,
12949	// the AWS account ID is used by default.
12950	CatalogId *string `min:"1" type:"string"`
12951
12952	// The name of the catalog database in which the tables to delete reside. For
12953	// Hive compatibility, this name is entirely lowercase.
12954	//
12955	// DatabaseName is a required field
12956	DatabaseName *string `min:"1" type:"string" required:"true"`
12957
12958	// A list of the table to delete.
12959	//
12960	// TablesToDelete is a required field
12961	TablesToDelete []*string `type:"list" required:"true"`
12962}
12963
12964// String returns the string representation
12965func (s BatchDeleteTableInput) String() string {
12966	return awsutil.Prettify(s)
12967}
12968
12969// GoString returns the string representation
12970func (s BatchDeleteTableInput) GoString() string {
12971	return s.String()
12972}
12973
12974// Validate inspects the fields of the type to determine if they are valid.
12975func (s *BatchDeleteTableInput) Validate() error {
12976	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableInput"}
12977	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12978		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12979	}
12980	if s.DatabaseName == nil {
12981		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12982	}
12983	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12984		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12985	}
12986	if s.TablesToDelete == nil {
12987		invalidParams.Add(request.NewErrParamRequired("TablesToDelete"))
12988	}
12989
12990	if invalidParams.Len() > 0 {
12991		return invalidParams
12992	}
12993	return nil
12994}
12995
12996// SetCatalogId sets the CatalogId field's value.
12997func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput {
12998	s.CatalogId = &v
12999	return s
13000}
13001
13002// SetDatabaseName sets the DatabaseName field's value.
13003func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput {
13004	s.DatabaseName = &v
13005	return s
13006}
13007
13008// SetTablesToDelete sets the TablesToDelete field's value.
13009func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTableInput {
13010	s.TablesToDelete = v
13011	return s
13012}
13013
13014type BatchDeleteTableOutput struct {
13015	_ struct{} `type:"structure"`
13016
13017	// A list of errors encountered in attempting to delete the specified tables.
13018	Errors []*TableError `type:"list"`
13019}
13020
13021// String returns the string representation
13022func (s BatchDeleteTableOutput) String() string {
13023	return awsutil.Prettify(s)
13024}
13025
13026// GoString returns the string representation
13027func (s BatchDeleteTableOutput) GoString() string {
13028	return s.String()
13029}
13030
13031// SetErrors sets the Errors field's value.
13032func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOutput {
13033	s.Errors = v
13034	return s
13035}
13036
13037type BatchDeleteTableVersionInput struct {
13038	_ struct{} `type:"structure"`
13039
13040	// The ID of the Data Catalog where the tables reside. If none is provided,
13041	// the AWS account ID is used by default.
13042	CatalogId *string `min:"1" type:"string"`
13043
13044	// The database in the catalog in which the table resides. For Hive compatibility,
13045	// this name is entirely lowercase.
13046	//
13047	// DatabaseName is a required field
13048	DatabaseName *string `min:"1" type:"string" required:"true"`
13049
13050	// The name of the table. For Hive compatibility, this name is entirely lowercase.
13051	//
13052	// TableName is a required field
13053	TableName *string `min:"1" type:"string" required:"true"`
13054
13055	// A list of the IDs of versions to be deleted. A VersionId is a string representation
13056	// of an integer. Each version is incremented by 1.
13057	//
13058	// VersionIds is a required field
13059	VersionIds []*string `type:"list" required:"true"`
13060}
13061
13062// String returns the string representation
13063func (s BatchDeleteTableVersionInput) String() string {
13064	return awsutil.Prettify(s)
13065}
13066
13067// GoString returns the string representation
13068func (s BatchDeleteTableVersionInput) GoString() string {
13069	return s.String()
13070}
13071
13072// Validate inspects the fields of the type to determine if they are valid.
13073func (s *BatchDeleteTableVersionInput) Validate() error {
13074	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableVersionInput"}
13075	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13076		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13077	}
13078	if s.DatabaseName == nil {
13079		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13080	}
13081	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13082		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13083	}
13084	if s.TableName == nil {
13085		invalidParams.Add(request.NewErrParamRequired("TableName"))
13086	}
13087	if s.TableName != nil && len(*s.TableName) < 1 {
13088		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13089	}
13090	if s.VersionIds == nil {
13091		invalidParams.Add(request.NewErrParamRequired("VersionIds"))
13092	}
13093
13094	if invalidParams.Len() > 0 {
13095		return invalidParams
13096	}
13097	return nil
13098}
13099
13100// SetCatalogId sets the CatalogId field's value.
13101func (s *BatchDeleteTableVersionInput) SetCatalogId(v string) *BatchDeleteTableVersionInput {
13102	s.CatalogId = &v
13103	return s
13104}
13105
13106// SetDatabaseName sets the DatabaseName field's value.
13107func (s *BatchDeleteTableVersionInput) SetDatabaseName(v string) *BatchDeleteTableVersionInput {
13108	s.DatabaseName = &v
13109	return s
13110}
13111
13112// SetTableName sets the TableName field's value.
13113func (s *BatchDeleteTableVersionInput) SetTableName(v string) *BatchDeleteTableVersionInput {
13114	s.TableName = &v
13115	return s
13116}
13117
13118// SetVersionIds sets the VersionIds field's value.
13119func (s *BatchDeleteTableVersionInput) SetVersionIds(v []*string) *BatchDeleteTableVersionInput {
13120	s.VersionIds = v
13121	return s
13122}
13123
13124type BatchDeleteTableVersionOutput struct {
13125	_ struct{} `type:"structure"`
13126
13127	// A list of errors encountered while trying to delete the specified table versions.
13128	Errors []*TableVersionError `type:"list"`
13129}
13130
13131// String returns the string representation
13132func (s BatchDeleteTableVersionOutput) String() string {
13133	return awsutil.Prettify(s)
13134}
13135
13136// GoString returns the string representation
13137func (s BatchDeleteTableVersionOutput) GoString() string {
13138	return s.String()
13139}
13140
13141// SetErrors sets the Errors field's value.
13142func (s *BatchDeleteTableVersionOutput) SetErrors(v []*TableVersionError) *BatchDeleteTableVersionOutput {
13143	s.Errors = v
13144	return s
13145}
13146
13147type BatchGetCrawlersInput struct {
13148	_ struct{} `type:"structure"`
13149
13150	// A list of crawler names, which might be the names returned from the ListCrawlers
13151	// operation.
13152	//
13153	// CrawlerNames is a required field
13154	CrawlerNames []*string `type:"list" required:"true"`
13155}
13156
13157// String returns the string representation
13158func (s BatchGetCrawlersInput) String() string {
13159	return awsutil.Prettify(s)
13160}
13161
13162// GoString returns the string representation
13163func (s BatchGetCrawlersInput) GoString() string {
13164	return s.String()
13165}
13166
13167// Validate inspects the fields of the type to determine if they are valid.
13168func (s *BatchGetCrawlersInput) Validate() error {
13169	invalidParams := request.ErrInvalidParams{Context: "BatchGetCrawlersInput"}
13170	if s.CrawlerNames == nil {
13171		invalidParams.Add(request.NewErrParamRequired("CrawlerNames"))
13172	}
13173
13174	if invalidParams.Len() > 0 {
13175		return invalidParams
13176	}
13177	return nil
13178}
13179
13180// SetCrawlerNames sets the CrawlerNames field's value.
13181func (s *BatchGetCrawlersInput) SetCrawlerNames(v []*string) *BatchGetCrawlersInput {
13182	s.CrawlerNames = v
13183	return s
13184}
13185
13186type BatchGetCrawlersOutput struct {
13187	_ struct{} `type:"structure"`
13188
13189	// A list of crawler definitions.
13190	Crawlers []*Crawler `type:"list"`
13191
13192	// A list of names of crawlers that were not found.
13193	CrawlersNotFound []*string `type:"list"`
13194}
13195
13196// String returns the string representation
13197func (s BatchGetCrawlersOutput) String() string {
13198	return awsutil.Prettify(s)
13199}
13200
13201// GoString returns the string representation
13202func (s BatchGetCrawlersOutput) GoString() string {
13203	return s.String()
13204}
13205
13206// SetCrawlers sets the Crawlers field's value.
13207func (s *BatchGetCrawlersOutput) SetCrawlers(v []*Crawler) *BatchGetCrawlersOutput {
13208	s.Crawlers = v
13209	return s
13210}
13211
13212// SetCrawlersNotFound sets the CrawlersNotFound field's value.
13213func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawlersOutput {
13214	s.CrawlersNotFound = v
13215	return s
13216}
13217
13218type BatchGetDevEndpointsInput struct {
13219	_ struct{} `type:"structure"`
13220
13221	// The list of DevEndpoint names, which might be the names returned from the
13222	// ListDevEndpoint operation.
13223	//
13224	// DevEndpointNames is a required field
13225	DevEndpointNames []*string `min:"1" type:"list" required:"true"`
13226}
13227
13228// String returns the string representation
13229func (s BatchGetDevEndpointsInput) String() string {
13230	return awsutil.Prettify(s)
13231}
13232
13233// GoString returns the string representation
13234func (s BatchGetDevEndpointsInput) GoString() string {
13235	return s.String()
13236}
13237
13238// Validate inspects the fields of the type to determine if they are valid.
13239func (s *BatchGetDevEndpointsInput) Validate() error {
13240	invalidParams := request.ErrInvalidParams{Context: "BatchGetDevEndpointsInput"}
13241	if s.DevEndpointNames == nil {
13242		invalidParams.Add(request.NewErrParamRequired("DevEndpointNames"))
13243	}
13244	if s.DevEndpointNames != nil && len(s.DevEndpointNames) < 1 {
13245		invalidParams.Add(request.NewErrParamMinLen("DevEndpointNames", 1))
13246	}
13247
13248	if invalidParams.Len() > 0 {
13249		return invalidParams
13250	}
13251	return nil
13252}
13253
13254// SetDevEndpointNames sets the DevEndpointNames field's value.
13255func (s *BatchGetDevEndpointsInput) SetDevEndpointNames(v []*string) *BatchGetDevEndpointsInput {
13256	s.DevEndpointNames = v
13257	return s
13258}
13259
13260type BatchGetDevEndpointsOutput struct {
13261	_ struct{} `type:"structure"`
13262
13263	// A list of DevEndpoint definitions.
13264	DevEndpoints []*DevEndpoint `type:"list"`
13265
13266	// A list of DevEndpoints not found.
13267	DevEndpointsNotFound []*string `min:"1" type:"list"`
13268}
13269
13270// String returns the string representation
13271func (s BatchGetDevEndpointsOutput) String() string {
13272	return awsutil.Prettify(s)
13273}
13274
13275// GoString returns the string representation
13276func (s BatchGetDevEndpointsOutput) GoString() string {
13277	return s.String()
13278}
13279
13280// SetDevEndpoints sets the DevEndpoints field's value.
13281func (s *BatchGetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *BatchGetDevEndpointsOutput {
13282	s.DevEndpoints = v
13283	return s
13284}
13285
13286// SetDevEndpointsNotFound sets the DevEndpointsNotFound field's value.
13287func (s *BatchGetDevEndpointsOutput) SetDevEndpointsNotFound(v []*string) *BatchGetDevEndpointsOutput {
13288	s.DevEndpointsNotFound = v
13289	return s
13290}
13291
13292type BatchGetJobsInput struct {
13293	_ struct{} `type:"structure"`
13294
13295	// A list of job names, which might be the names returned from the ListJobs
13296	// operation.
13297	//
13298	// JobNames is a required field
13299	JobNames []*string `type:"list" required:"true"`
13300}
13301
13302// String returns the string representation
13303func (s BatchGetJobsInput) String() string {
13304	return awsutil.Prettify(s)
13305}
13306
13307// GoString returns the string representation
13308func (s BatchGetJobsInput) GoString() string {
13309	return s.String()
13310}
13311
13312// Validate inspects the fields of the type to determine if they are valid.
13313func (s *BatchGetJobsInput) Validate() error {
13314	invalidParams := request.ErrInvalidParams{Context: "BatchGetJobsInput"}
13315	if s.JobNames == nil {
13316		invalidParams.Add(request.NewErrParamRequired("JobNames"))
13317	}
13318
13319	if invalidParams.Len() > 0 {
13320		return invalidParams
13321	}
13322	return nil
13323}
13324
13325// SetJobNames sets the JobNames field's value.
13326func (s *BatchGetJobsInput) SetJobNames(v []*string) *BatchGetJobsInput {
13327	s.JobNames = v
13328	return s
13329}
13330
13331type BatchGetJobsOutput struct {
13332	_ struct{} `type:"structure"`
13333
13334	// A list of job definitions.
13335	Jobs []*Job `type:"list"`
13336
13337	// A list of names of jobs not found.
13338	JobsNotFound []*string `type:"list"`
13339}
13340
13341// String returns the string representation
13342func (s BatchGetJobsOutput) String() string {
13343	return awsutil.Prettify(s)
13344}
13345
13346// GoString returns the string representation
13347func (s BatchGetJobsOutput) GoString() string {
13348	return s.String()
13349}
13350
13351// SetJobs sets the Jobs field's value.
13352func (s *BatchGetJobsOutput) SetJobs(v []*Job) *BatchGetJobsOutput {
13353	s.Jobs = v
13354	return s
13355}
13356
13357// SetJobsNotFound sets the JobsNotFound field's value.
13358func (s *BatchGetJobsOutput) SetJobsNotFound(v []*string) *BatchGetJobsOutput {
13359	s.JobsNotFound = v
13360	return s
13361}
13362
13363type BatchGetPartitionInput struct {
13364	_ struct{} `type:"structure"`
13365
13366	// The ID of the Data Catalog where the partitions in question reside. If none
13367	// is supplied, the AWS account ID is used by default.
13368	CatalogId *string `min:"1" type:"string"`
13369
13370	// The name of the catalog database where the partitions reside.
13371	//
13372	// DatabaseName is a required field
13373	DatabaseName *string `min:"1" type:"string" required:"true"`
13374
13375	// A list of partition values identifying the partitions to retrieve.
13376	//
13377	// PartitionsToGet is a required field
13378	PartitionsToGet []*PartitionValueList `type:"list" required:"true"`
13379
13380	// The name of the partitions' table.
13381	//
13382	// TableName is a required field
13383	TableName *string `min:"1" type:"string" required:"true"`
13384}
13385
13386// String returns the string representation
13387func (s BatchGetPartitionInput) String() string {
13388	return awsutil.Prettify(s)
13389}
13390
13391// GoString returns the string representation
13392func (s BatchGetPartitionInput) GoString() string {
13393	return s.String()
13394}
13395
13396// Validate inspects the fields of the type to determine if they are valid.
13397func (s *BatchGetPartitionInput) Validate() error {
13398	invalidParams := request.ErrInvalidParams{Context: "BatchGetPartitionInput"}
13399	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13400		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13401	}
13402	if s.DatabaseName == nil {
13403		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13404	}
13405	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13406		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13407	}
13408	if s.PartitionsToGet == nil {
13409		invalidParams.Add(request.NewErrParamRequired("PartitionsToGet"))
13410	}
13411	if s.TableName == nil {
13412		invalidParams.Add(request.NewErrParamRequired("TableName"))
13413	}
13414	if s.TableName != nil && len(*s.TableName) < 1 {
13415		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13416	}
13417	if s.PartitionsToGet != nil {
13418		for i, v := range s.PartitionsToGet {
13419			if v == nil {
13420				continue
13421			}
13422			if err := v.Validate(); err != nil {
13423				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToGet", i), err.(request.ErrInvalidParams))
13424			}
13425		}
13426	}
13427
13428	if invalidParams.Len() > 0 {
13429		return invalidParams
13430	}
13431	return nil
13432}
13433
13434// SetCatalogId sets the CatalogId field's value.
13435func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput {
13436	s.CatalogId = &v
13437	return s
13438}
13439
13440// SetDatabaseName sets the DatabaseName field's value.
13441func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput {
13442	s.DatabaseName = &v
13443	return s
13444}
13445
13446// SetPartitionsToGet sets the PartitionsToGet field's value.
13447func (s *BatchGetPartitionInput) SetPartitionsToGet(v []*PartitionValueList) *BatchGetPartitionInput {
13448	s.PartitionsToGet = v
13449	return s
13450}
13451
13452// SetTableName sets the TableName field's value.
13453func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput {
13454	s.TableName = &v
13455	return s
13456}
13457
13458type BatchGetPartitionOutput struct {
13459	_ struct{} `type:"structure"`
13460
13461	// A list of the requested partitions.
13462	Partitions []*Partition `type:"list"`
13463
13464	// A list of the partition values in the request for which partitions were not
13465	// returned.
13466	UnprocessedKeys []*PartitionValueList `type:"list"`
13467}
13468
13469// String returns the string representation
13470func (s BatchGetPartitionOutput) String() string {
13471	return awsutil.Prettify(s)
13472}
13473
13474// GoString returns the string representation
13475func (s BatchGetPartitionOutput) GoString() string {
13476	return s.String()
13477}
13478
13479// SetPartitions sets the Partitions field's value.
13480func (s *BatchGetPartitionOutput) SetPartitions(v []*Partition) *BatchGetPartitionOutput {
13481	s.Partitions = v
13482	return s
13483}
13484
13485// SetUnprocessedKeys sets the UnprocessedKeys field's value.
13486func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *BatchGetPartitionOutput {
13487	s.UnprocessedKeys = v
13488	return s
13489}
13490
13491type BatchGetTriggersInput struct {
13492	_ struct{} `type:"structure"`
13493
13494	// A list of trigger names, which may be the names returned from the ListTriggers
13495	// operation.
13496	//
13497	// TriggerNames is a required field
13498	TriggerNames []*string `type:"list" required:"true"`
13499}
13500
13501// String returns the string representation
13502func (s BatchGetTriggersInput) String() string {
13503	return awsutil.Prettify(s)
13504}
13505
13506// GoString returns the string representation
13507func (s BatchGetTriggersInput) GoString() string {
13508	return s.String()
13509}
13510
13511// Validate inspects the fields of the type to determine if they are valid.
13512func (s *BatchGetTriggersInput) Validate() error {
13513	invalidParams := request.ErrInvalidParams{Context: "BatchGetTriggersInput"}
13514	if s.TriggerNames == nil {
13515		invalidParams.Add(request.NewErrParamRequired("TriggerNames"))
13516	}
13517
13518	if invalidParams.Len() > 0 {
13519		return invalidParams
13520	}
13521	return nil
13522}
13523
13524// SetTriggerNames sets the TriggerNames field's value.
13525func (s *BatchGetTriggersInput) SetTriggerNames(v []*string) *BatchGetTriggersInput {
13526	s.TriggerNames = v
13527	return s
13528}
13529
13530type BatchGetTriggersOutput struct {
13531	_ struct{} `type:"structure"`
13532
13533	// A list of trigger definitions.
13534	Triggers []*Trigger `type:"list"`
13535
13536	// A list of names of triggers not found.
13537	TriggersNotFound []*string `type:"list"`
13538}
13539
13540// String returns the string representation
13541func (s BatchGetTriggersOutput) String() string {
13542	return awsutil.Prettify(s)
13543}
13544
13545// GoString returns the string representation
13546func (s BatchGetTriggersOutput) GoString() string {
13547	return s.String()
13548}
13549
13550// SetTriggers sets the Triggers field's value.
13551func (s *BatchGetTriggersOutput) SetTriggers(v []*Trigger) *BatchGetTriggersOutput {
13552	s.Triggers = v
13553	return s
13554}
13555
13556// SetTriggersNotFound sets the TriggersNotFound field's value.
13557func (s *BatchGetTriggersOutput) SetTriggersNotFound(v []*string) *BatchGetTriggersOutput {
13558	s.TriggersNotFound = v
13559	return s
13560}
13561
13562type BatchGetWorkflowsInput struct {
13563	_ struct{} `type:"structure"`
13564
13565	// Specifies whether to include a graph when returning the workflow resource
13566	// metadata.
13567	IncludeGraph *bool `type:"boolean"`
13568
13569	// A list of workflow names, which may be the names returned from the ListWorkflows
13570	// operation.
13571	//
13572	// Names is a required field
13573	Names []*string `min:"1" type:"list" required:"true"`
13574}
13575
13576// String returns the string representation
13577func (s BatchGetWorkflowsInput) String() string {
13578	return awsutil.Prettify(s)
13579}
13580
13581// GoString returns the string representation
13582func (s BatchGetWorkflowsInput) GoString() string {
13583	return s.String()
13584}
13585
13586// Validate inspects the fields of the type to determine if they are valid.
13587func (s *BatchGetWorkflowsInput) Validate() error {
13588	invalidParams := request.ErrInvalidParams{Context: "BatchGetWorkflowsInput"}
13589	if s.Names == nil {
13590		invalidParams.Add(request.NewErrParamRequired("Names"))
13591	}
13592	if s.Names != nil && len(s.Names) < 1 {
13593		invalidParams.Add(request.NewErrParamMinLen("Names", 1))
13594	}
13595
13596	if invalidParams.Len() > 0 {
13597		return invalidParams
13598	}
13599	return nil
13600}
13601
13602// SetIncludeGraph sets the IncludeGraph field's value.
13603func (s *BatchGetWorkflowsInput) SetIncludeGraph(v bool) *BatchGetWorkflowsInput {
13604	s.IncludeGraph = &v
13605	return s
13606}
13607
13608// SetNames sets the Names field's value.
13609func (s *BatchGetWorkflowsInput) SetNames(v []*string) *BatchGetWorkflowsInput {
13610	s.Names = v
13611	return s
13612}
13613
13614type BatchGetWorkflowsOutput struct {
13615	_ struct{} `type:"structure"`
13616
13617	// A list of names of workflows not found.
13618	MissingWorkflows []*string `min:"1" type:"list"`
13619
13620	// A list of workflow resource metadata.
13621	Workflows []*Workflow `min:"1" type:"list"`
13622}
13623
13624// String returns the string representation
13625func (s BatchGetWorkflowsOutput) String() string {
13626	return awsutil.Prettify(s)
13627}
13628
13629// GoString returns the string representation
13630func (s BatchGetWorkflowsOutput) GoString() string {
13631	return s.String()
13632}
13633
13634// SetMissingWorkflows sets the MissingWorkflows field's value.
13635func (s *BatchGetWorkflowsOutput) SetMissingWorkflows(v []*string) *BatchGetWorkflowsOutput {
13636	s.MissingWorkflows = v
13637	return s
13638}
13639
13640// SetWorkflows sets the Workflows field's value.
13641func (s *BatchGetWorkflowsOutput) SetWorkflows(v []*Workflow) *BatchGetWorkflowsOutput {
13642	s.Workflows = v
13643	return s
13644}
13645
13646// Records an error that occurred when attempting to stop a specified job run.
13647type BatchStopJobRunError struct {
13648	_ struct{} `type:"structure"`
13649
13650	// Specifies details about the error that was encountered.
13651	ErrorDetail *ErrorDetail `type:"structure"`
13652
13653	// The name of the job definition that is used in the job run in question.
13654	JobName *string `min:"1" type:"string"`
13655
13656	// The JobRunId of the job run in question.
13657	JobRunId *string `min:"1" type:"string"`
13658}
13659
13660// String returns the string representation
13661func (s BatchStopJobRunError) String() string {
13662	return awsutil.Prettify(s)
13663}
13664
13665// GoString returns the string representation
13666func (s BatchStopJobRunError) GoString() string {
13667	return s.String()
13668}
13669
13670// SetErrorDetail sets the ErrorDetail field's value.
13671func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError {
13672	s.ErrorDetail = v
13673	return s
13674}
13675
13676// SetJobName sets the JobName field's value.
13677func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError {
13678	s.JobName = &v
13679	return s
13680}
13681
13682// SetJobRunId sets the JobRunId field's value.
13683func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError {
13684	s.JobRunId = &v
13685	return s
13686}
13687
13688type BatchStopJobRunInput struct {
13689	_ struct{} `type:"structure"`
13690
13691	// The name of the job definition for which to stop job runs.
13692	//
13693	// JobName is a required field
13694	JobName *string `min:"1" type:"string" required:"true"`
13695
13696	// A list of the JobRunIds that should be stopped for that job definition.
13697	//
13698	// JobRunIds is a required field
13699	JobRunIds []*string `min:"1" type:"list" required:"true"`
13700}
13701
13702// String returns the string representation
13703func (s BatchStopJobRunInput) String() string {
13704	return awsutil.Prettify(s)
13705}
13706
13707// GoString returns the string representation
13708func (s BatchStopJobRunInput) GoString() string {
13709	return s.String()
13710}
13711
13712// Validate inspects the fields of the type to determine if they are valid.
13713func (s *BatchStopJobRunInput) Validate() error {
13714	invalidParams := request.ErrInvalidParams{Context: "BatchStopJobRunInput"}
13715	if s.JobName == nil {
13716		invalidParams.Add(request.NewErrParamRequired("JobName"))
13717	}
13718	if s.JobName != nil && len(*s.JobName) < 1 {
13719		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
13720	}
13721	if s.JobRunIds == nil {
13722		invalidParams.Add(request.NewErrParamRequired("JobRunIds"))
13723	}
13724	if s.JobRunIds != nil && len(s.JobRunIds) < 1 {
13725		invalidParams.Add(request.NewErrParamMinLen("JobRunIds", 1))
13726	}
13727
13728	if invalidParams.Len() > 0 {
13729		return invalidParams
13730	}
13731	return nil
13732}
13733
13734// SetJobName sets the JobName field's value.
13735func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput {
13736	s.JobName = &v
13737	return s
13738}
13739
13740// SetJobRunIds sets the JobRunIds field's value.
13741func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput {
13742	s.JobRunIds = v
13743	return s
13744}
13745
13746type BatchStopJobRunOutput struct {
13747	_ struct{} `type:"structure"`
13748
13749	// A list of the errors that were encountered in trying to stop JobRuns, including
13750	// the JobRunId for which each error was encountered and details about the error.
13751	Errors []*BatchStopJobRunError `type:"list"`
13752
13753	// A list of the JobRuns that were successfully submitted for stopping.
13754	SuccessfulSubmissions []*BatchStopJobRunSuccessfulSubmission `type:"list"`
13755}
13756
13757// String returns the string representation
13758func (s BatchStopJobRunOutput) String() string {
13759	return awsutil.Prettify(s)
13760}
13761
13762// GoString returns the string representation
13763func (s BatchStopJobRunOutput) GoString() string {
13764	return s.String()
13765}
13766
13767// SetErrors sets the Errors field's value.
13768func (s *BatchStopJobRunOutput) SetErrors(v []*BatchStopJobRunError) *BatchStopJobRunOutput {
13769	s.Errors = v
13770	return s
13771}
13772
13773// SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value.
13774func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput {
13775	s.SuccessfulSubmissions = v
13776	return s
13777}
13778
13779// Records a successful request to stop a specified JobRun.
13780type BatchStopJobRunSuccessfulSubmission struct {
13781	_ struct{} `type:"structure"`
13782
13783	// The name of the job definition used in the job run that was stopped.
13784	JobName *string `min:"1" type:"string"`
13785
13786	// The JobRunId of the job run that was stopped.
13787	JobRunId *string `min:"1" type:"string"`
13788}
13789
13790// String returns the string representation
13791func (s BatchStopJobRunSuccessfulSubmission) String() string {
13792	return awsutil.Prettify(s)
13793}
13794
13795// GoString returns the string representation
13796func (s BatchStopJobRunSuccessfulSubmission) GoString() string {
13797	return s.String()
13798}
13799
13800// SetJobName sets the JobName field's value.
13801func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission {
13802	s.JobName = &v
13803	return s
13804}
13805
13806// SetJobRunId sets the JobRunId field's value.
13807func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission {
13808	s.JobRunId = &v
13809	return s
13810}
13811
13812type CancelMLTaskRunInput struct {
13813	_ struct{} `type:"structure"`
13814
13815	// A unique identifier for the task run.
13816	//
13817	// TaskRunId is a required field
13818	TaskRunId *string `min:"1" type:"string" required:"true"`
13819
13820	// The unique identifier of the machine learning transform.
13821	//
13822	// TransformId is a required field
13823	TransformId *string `min:"1" type:"string" required:"true"`
13824}
13825
13826// String returns the string representation
13827func (s CancelMLTaskRunInput) String() string {
13828	return awsutil.Prettify(s)
13829}
13830
13831// GoString returns the string representation
13832func (s CancelMLTaskRunInput) GoString() string {
13833	return s.String()
13834}
13835
13836// Validate inspects the fields of the type to determine if they are valid.
13837func (s *CancelMLTaskRunInput) Validate() error {
13838	invalidParams := request.ErrInvalidParams{Context: "CancelMLTaskRunInput"}
13839	if s.TaskRunId == nil {
13840		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
13841	}
13842	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
13843		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
13844	}
13845	if s.TransformId == nil {
13846		invalidParams.Add(request.NewErrParamRequired("TransformId"))
13847	}
13848	if s.TransformId != nil && len(*s.TransformId) < 1 {
13849		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
13850	}
13851
13852	if invalidParams.Len() > 0 {
13853		return invalidParams
13854	}
13855	return nil
13856}
13857
13858// SetTaskRunId sets the TaskRunId field's value.
13859func (s *CancelMLTaskRunInput) SetTaskRunId(v string) *CancelMLTaskRunInput {
13860	s.TaskRunId = &v
13861	return s
13862}
13863
13864// SetTransformId sets the TransformId field's value.
13865func (s *CancelMLTaskRunInput) SetTransformId(v string) *CancelMLTaskRunInput {
13866	s.TransformId = &v
13867	return s
13868}
13869
13870type CancelMLTaskRunOutput struct {
13871	_ struct{} `type:"structure"`
13872
13873	// The status for this run.
13874	Status *string `type:"string" enum:"TaskStatusType"`
13875
13876	// The unique identifier for the task run.
13877	TaskRunId *string `min:"1" type:"string"`
13878
13879	// The unique identifier of the machine learning transform.
13880	TransformId *string `min:"1" type:"string"`
13881}
13882
13883// String returns the string representation
13884func (s CancelMLTaskRunOutput) String() string {
13885	return awsutil.Prettify(s)
13886}
13887
13888// GoString returns the string representation
13889func (s CancelMLTaskRunOutput) GoString() string {
13890	return s.String()
13891}
13892
13893// SetStatus sets the Status field's value.
13894func (s *CancelMLTaskRunOutput) SetStatus(v string) *CancelMLTaskRunOutput {
13895	s.Status = &v
13896	return s
13897}
13898
13899// SetTaskRunId sets the TaskRunId field's value.
13900func (s *CancelMLTaskRunOutput) SetTaskRunId(v string) *CancelMLTaskRunOutput {
13901	s.TaskRunId = &v
13902	return s
13903}
13904
13905// SetTransformId sets the TransformId field's value.
13906func (s *CancelMLTaskRunOutput) SetTransformId(v string) *CancelMLTaskRunOutput {
13907	s.TransformId = &v
13908	return s
13909}
13910
13911// Specifies a table definition in the AWS Glue Data Catalog.
13912type CatalogEntry struct {
13913	_ struct{} `type:"structure"`
13914
13915	// The database in which the table metadata resides.
13916	//
13917	// DatabaseName is a required field
13918	DatabaseName *string `min:"1" type:"string" required:"true"`
13919
13920	// The name of the table in question.
13921	//
13922	// TableName is a required field
13923	TableName *string `min:"1" type:"string" required:"true"`
13924}
13925
13926// String returns the string representation
13927func (s CatalogEntry) String() string {
13928	return awsutil.Prettify(s)
13929}
13930
13931// GoString returns the string representation
13932func (s CatalogEntry) GoString() string {
13933	return s.String()
13934}
13935
13936// Validate inspects the fields of the type to determine if they are valid.
13937func (s *CatalogEntry) Validate() error {
13938	invalidParams := request.ErrInvalidParams{Context: "CatalogEntry"}
13939	if s.DatabaseName == nil {
13940		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13941	}
13942	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13943		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13944	}
13945	if s.TableName == nil {
13946		invalidParams.Add(request.NewErrParamRequired("TableName"))
13947	}
13948	if s.TableName != nil && len(*s.TableName) < 1 {
13949		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13950	}
13951
13952	if invalidParams.Len() > 0 {
13953		return invalidParams
13954	}
13955	return nil
13956}
13957
13958// SetDatabaseName sets the DatabaseName field's value.
13959func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry {
13960	s.DatabaseName = &v
13961	return s
13962}
13963
13964// SetTableName sets the TableName field's value.
13965func (s *CatalogEntry) SetTableName(v string) *CatalogEntry {
13966	s.TableName = &v
13967	return s
13968}
13969
13970// A structure containing migration status information.
13971type CatalogImportStatus struct {
13972	_ struct{} `type:"structure"`
13973
13974	// True if the migration has completed, or False otherwise.
13975	ImportCompleted *bool `type:"boolean"`
13976
13977	// The time that the migration was started.
13978	ImportTime *time.Time `type:"timestamp"`
13979
13980	// The name of the person who initiated the migration.
13981	ImportedBy *string `min:"1" type:"string"`
13982}
13983
13984// String returns the string representation
13985func (s CatalogImportStatus) String() string {
13986	return awsutil.Prettify(s)
13987}
13988
13989// GoString returns the string representation
13990func (s CatalogImportStatus) GoString() string {
13991	return s.String()
13992}
13993
13994// SetImportCompleted sets the ImportCompleted field's value.
13995func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus {
13996	s.ImportCompleted = &v
13997	return s
13998}
13999
14000// SetImportTime sets the ImportTime field's value.
14001func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus {
14002	s.ImportTime = &v
14003	return s
14004}
14005
14006// SetImportedBy sets the ImportedBy field's value.
14007func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus {
14008	s.ImportedBy = &v
14009	return s
14010}
14011
14012// Specifies an AWS Glue Data Catalog target.
14013type CatalogTarget struct {
14014	_ struct{} `type:"structure"`
14015
14016	// The name of the database to be synchronized.
14017	//
14018	// DatabaseName is a required field
14019	DatabaseName *string `min:"1" type:"string" required:"true"`
14020
14021	// A list of the tables to be synchronized.
14022	//
14023	// Tables is a required field
14024	Tables []*string `min:"1" type:"list" required:"true"`
14025}
14026
14027// String returns the string representation
14028func (s CatalogTarget) String() string {
14029	return awsutil.Prettify(s)
14030}
14031
14032// GoString returns the string representation
14033func (s CatalogTarget) GoString() string {
14034	return s.String()
14035}
14036
14037// Validate inspects the fields of the type to determine if they are valid.
14038func (s *CatalogTarget) Validate() error {
14039	invalidParams := request.ErrInvalidParams{Context: "CatalogTarget"}
14040	if s.DatabaseName == nil {
14041		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
14042	}
14043	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
14044		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
14045	}
14046	if s.Tables == nil {
14047		invalidParams.Add(request.NewErrParamRequired("Tables"))
14048	}
14049	if s.Tables != nil && len(s.Tables) < 1 {
14050		invalidParams.Add(request.NewErrParamMinLen("Tables", 1))
14051	}
14052
14053	if invalidParams.Len() > 0 {
14054		return invalidParams
14055	}
14056	return nil
14057}
14058
14059// SetDatabaseName sets the DatabaseName field's value.
14060func (s *CatalogTarget) SetDatabaseName(v string) *CatalogTarget {
14061	s.DatabaseName = &v
14062	return s
14063}
14064
14065// SetTables sets the Tables field's value.
14066func (s *CatalogTarget) SetTables(v []*string) *CatalogTarget {
14067	s.Tables = v
14068	return s
14069}
14070
14071// Classifiers are triggered during a crawl task. A classifier checks whether
14072// a given file is in a format it can handle. If it is, the classifier creates
14073// a schema in the form of a StructType object that matches that data format.
14074//
14075// You can use the standard classifiers that AWS Glue provides, or you can write
14076// your own classifiers to best categorize your data sources and specify the
14077// appropriate schemas to use for them. A classifier can be a grok classifier,
14078// an XML classifier, a JSON classifier, or a custom CSV classifier, as specified
14079// in one of the fields in the Classifier object.
14080type Classifier struct {
14081	_ struct{} `type:"structure"`
14082
14083	// A classifier for comma-separated values (CSV).
14084	CsvClassifier *CsvClassifier `type:"structure"`
14085
14086	// A classifier that uses grok.
14087	GrokClassifier *GrokClassifier `type:"structure"`
14088
14089	// A classifier for JSON content.
14090	JsonClassifier *JsonClassifier `type:"structure"`
14091
14092	// A classifier for XML content.
14093	XMLClassifier *XMLClassifier `type:"structure"`
14094}
14095
14096// String returns the string representation
14097func (s Classifier) String() string {
14098	return awsutil.Prettify(s)
14099}
14100
14101// GoString returns the string representation
14102func (s Classifier) GoString() string {
14103	return s.String()
14104}
14105
14106// SetCsvClassifier sets the CsvClassifier field's value.
14107func (s *Classifier) SetCsvClassifier(v *CsvClassifier) *Classifier {
14108	s.CsvClassifier = v
14109	return s
14110}
14111
14112// SetGrokClassifier sets the GrokClassifier field's value.
14113func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier {
14114	s.GrokClassifier = v
14115	return s
14116}
14117
14118// SetJsonClassifier sets the JsonClassifier field's value.
14119func (s *Classifier) SetJsonClassifier(v *JsonClassifier) *Classifier {
14120	s.JsonClassifier = v
14121	return s
14122}
14123
14124// SetXMLClassifier sets the XMLClassifier field's value.
14125func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier {
14126	s.XMLClassifier = v
14127	return s
14128}
14129
14130// Specifies how Amazon CloudWatch data should be encrypted.
14131type CloudWatchEncryption struct {
14132	_ struct{} `type:"structure"`
14133
14134	// The encryption mode to use for CloudWatch data.
14135	CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"`
14136
14137	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
14138	KmsKeyArn *string `type:"string"`
14139}
14140
14141// String returns the string representation
14142func (s CloudWatchEncryption) String() string {
14143	return awsutil.Prettify(s)
14144}
14145
14146// GoString returns the string representation
14147func (s CloudWatchEncryption) GoString() string {
14148	return s.String()
14149}
14150
14151// SetCloudWatchEncryptionMode sets the CloudWatchEncryptionMode field's value.
14152func (s *CloudWatchEncryption) SetCloudWatchEncryptionMode(v string) *CloudWatchEncryption {
14153	s.CloudWatchEncryptionMode = &v
14154	return s
14155}
14156
14157// SetKmsKeyArn sets the KmsKeyArn field's value.
14158func (s *CloudWatchEncryption) SetKmsKeyArn(v string) *CloudWatchEncryption {
14159	s.KmsKeyArn = &v
14160	return s
14161}
14162
14163// Represents a directional edge in a directed acyclic graph (DAG).
14164type CodeGenEdge struct {
14165	_ struct{} `type:"structure"`
14166
14167	// The ID of the node at which the edge starts.
14168	//
14169	// Source is a required field
14170	Source *string `min:"1" type:"string" required:"true"`
14171
14172	// The ID of the node at which the edge ends.
14173	//
14174	// Target is a required field
14175	Target *string `min:"1" type:"string" required:"true"`
14176
14177	// The target of the edge.
14178	TargetParameter *string `type:"string"`
14179}
14180
14181// String returns the string representation
14182func (s CodeGenEdge) String() string {
14183	return awsutil.Prettify(s)
14184}
14185
14186// GoString returns the string representation
14187func (s CodeGenEdge) GoString() string {
14188	return s.String()
14189}
14190
14191// Validate inspects the fields of the type to determine if they are valid.
14192func (s *CodeGenEdge) Validate() error {
14193	invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"}
14194	if s.Source == nil {
14195		invalidParams.Add(request.NewErrParamRequired("Source"))
14196	}
14197	if s.Source != nil && len(*s.Source) < 1 {
14198		invalidParams.Add(request.NewErrParamMinLen("Source", 1))
14199	}
14200	if s.Target == nil {
14201		invalidParams.Add(request.NewErrParamRequired("Target"))
14202	}
14203	if s.Target != nil && len(*s.Target) < 1 {
14204		invalidParams.Add(request.NewErrParamMinLen("Target", 1))
14205	}
14206
14207	if invalidParams.Len() > 0 {
14208		return invalidParams
14209	}
14210	return nil
14211}
14212
14213// SetSource sets the Source field's value.
14214func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge {
14215	s.Source = &v
14216	return s
14217}
14218
14219// SetTarget sets the Target field's value.
14220func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge {
14221	s.Target = &v
14222	return s
14223}
14224
14225// SetTargetParameter sets the TargetParameter field's value.
14226func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge {
14227	s.TargetParameter = &v
14228	return s
14229}
14230
14231// Represents a node in a directed acyclic graph (DAG)
14232type CodeGenNode struct {
14233	_ struct{} `type:"structure"`
14234
14235	// Properties of the node, in the form of name-value pairs.
14236	//
14237	// Args is a required field
14238	Args []*CodeGenNodeArg `type:"list" required:"true"`
14239
14240	// A node identifier that is unique within the node's graph.
14241	//
14242	// Id is a required field
14243	Id *string `min:"1" type:"string" required:"true"`
14244
14245	// The line number of the node.
14246	LineNumber *int64 `type:"integer"`
14247
14248	// The type of node that this is.
14249	//
14250	// NodeType is a required field
14251	NodeType *string `type:"string" required:"true"`
14252}
14253
14254// String returns the string representation
14255func (s CodeGenNode) String() string {
14256	return awsutil.Prettify(s)
14257}
14258
14259// GoString returns the string representation
14260func (s CodeGenNode) GoString() string {
14261	return s.String()
14262}
14263
14264// Validate inspects the fields of the type to determine if they are valid.
14265func (s *CodeGenNode) Validate() error {
14266	invalidParams := request.ErrInvalidParams{Context: "CodeGenNode"}
14267	if s.Args == nil {
14268		invalidParams.Add(request.NewErrParamRequired("Args"))
14269	}
14270	if s.Id == nil {
14271		invalidParams.Add(request.NewErrParamRequired("Id"))
14272	}
14273	if s.Id != nil && len(*s.Id) < 1 {
14274		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
14275	}
14276	if s.NodeType == nil {
14277		invalidParams.Add(request.NewErrParamRequired("NodeType"))
14278	}
14279	if s.Args != nil {
14280		for i, v := range s.Args {
14281			if v == nil {
14282				continue
14283			}
14284			if err := v.Validate(); err != nil {
14285				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Args", i), err.(request.ErrInvalidParams))
14286			}
14287		}
14288	}
14289
14290	if invalidParams.Len() > 0 {
14291		return invalidParams
14292	}
14293	return nil
14294}
14295
14296// SetArgs sets the Args field's value.
14297func (s *CodeGenNode) SetArgs(v []*CodeGenNodeArg) *CodeGenNode {
14298	s.Args = v
14299	return s
14300}
14301
14302// SetId sets the Id field's value.
14303func (s *CodeGenNode) SetId(v string) *CodeGenNode {
14304	s.Id = &v
14305	return s
14306}
14307
14308// SetLineNumber sets the LineNumber field's value.
14309func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode {
14310	s.LineNumber = &v
14311	return s
14312}
14313
14314// SetNodeType sets the NodeType field's value.
14315func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode {
14316	s.NodeType = &v
14317	return s
14318}
14319
14320// An argument or property of a node.
14321type CodeGenNodeArg struct {
14322	_ struct{} `type:"structure"`
14323
14324	// The name of the argument or property.
14325	//
14326	// Name is a required field
14327	Name *string `type:"string" required:"true"`
14328
14329	// True if the value is used as a parameter.
14330	Param *bool `type:"boolean"`
14331
14332	// The value of the argument or property.
14333	//
14334	// Value is a required field
14335	Value *string `type:"string" required:"true"`
14336}
14337
14338// String returns the string representation
14339func (s CodeGenNodeArg) String() string {
14340	return awsutil.Prettify(s)
14341}
14342
14343// GoString returns the string representation
14344func (s CodeGenNodeArg) GoString() string {
14345	return s.String()
14346}
14347
14348// Validate inspects the fields of the type to determine if they are valid.
14349func (s *CodeGenNodeArg) Validate() error {
14350	invalidParams := request.ErrInvalidParams{Context: "CodeGenNodeArg"}
14351	if s.Name == nil {
14352		invalidParams.Add(request.NewErrParamRequired("Name"))
14353	}
14354	if s.Value == nil {
14355		invalidParams.Add(request.NewErrParamRequired("Value"))
14356	}
14357
14358	if invalidParams.Len() > 0 {
14359		return invalidParams
14360	}
14361	return nil
14362}
14363
14364// SetName sets the Name field's value.
14365func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg {
14366	s.Name = &v
14367	return s
14368}
14369
14370// SetParam sets the Param field's value.
14371func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg {
14372	s.Param = &v
14373	return s
14374}
14375
14376// SetValue sets the Value field's value.
14377func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg {
14378	s.Value = &v
14379	return s
14380}
14381
14382// A column in a Table.
14383type Column struct {
14384	_ struct{} `type:"structure"`
14385
14386	// A free-form text comment.
14387	Comment *string `type:"string"`
14388
14389	// The name of the Column.
14390	//
14391	// Name is a required field
14392	Name *string `min:"1" type:"string" required:"true"`
14393
14394	// These key-value pairs define properties associated with the column.
14395	Parameters map[string]*string `type:"map"`
14396
14397	// The data type of the Column.
14398	Type *string `type:"string"`
14399}
14400
14401// String returns the string representation
14402func (s Column) String() string {
14403	return awsutil.Prettify(s)
14404}
14405
14406// GoString returns the string representation
14407func (s Column) GoString() string {
14408	return s.String()
14409}
14410
14411// Validate inspects the fields of the type to determine if they are valid.
14412func (s *Column) Validate() error {
14413	invalidParams := request.ErrInvalidParams{Context: "Column"}
14414	if s.Name == nil {
14415		invalidParams.Add(request.NewErrParamRequired("Name"))
14416	}
14417	if s.Name != nil && len(*s.Name) < 1 {
14418		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14419	}
14420
14421	if invalidParams.Len() > 0 {
14422		return invalidParams
14423	}
14424	return nil
14425}
14426
14427// SetComment sets the Comment field's value.
14428func (s *Column) SetComment(v string) *Column {
14429	s.Comment = &v
14430	return s
14431}
14432
14433// SetName sets the Name field's value.
14434func (s *Column) SetName(v string) *Column {
14435	s.Name = &v
14436	return s
14437}
14438
14439// SetParameters sets the Parameters field's value.
14440func (s *Column) SetParameters(v map[string]*string) *Column {
14441	s.Parameters = v
14442	return s
14443}
14444
14445// SetType sets the Type field's value.
14446func (s *Column) SetType(v string) *Column {
14447	s.Type = &v
14448	return s
14449}
14450
14451// Defines a condition under which a trigger fires.
14452type Condition struct {
14453	_ struct{} `type:"structure"`
14454
14455	// The state of the crawler to which this condition applies.
14456	CrawlState *string `type:"string" enum:"CrawlState"`
14457
14458	// The name of the crawler to which this condition applies.
14459	CrawlerName *string `min:"1" type:"string"`
14460
14461	// The name of the job whose JobRuns this condition applies to, and on which
14462	// this trigger waits.
14463	JobName *string `min:"1" type:"string"`
14464
14465	// A logical operator.
14466	LogicalOperator *string `type:"string" enum:"LogicalOperator"`
14467
14468	// The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
14469	// TIMEOUT, and FAILED.
14470	State *string `type:"string" enum:"JobRunState"`
14471}
14472
14473// String returns the string representation
14474func (s Condition) String() string {
14475	return awsutil.Prettify(s)
14476}
14477
14478// GoString returns the string representation
14479func (s Condition) GoString() string {
14480	return s.String()
14481}
14482
14483// Validate inspects the fields of the type to determine if they are valid.
14484func (s *Condition) Validate() error {
14485	invalidParams := request.ErrInvalidParams{Context: "Condition"}
14486	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
14487		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
14488	}
14489	if s.JobName != nil && len(*s.JobName) < 1 {
14490		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
14491	}
14492
14493	if invalidParams.Len() > 0 {
14494		return invalidParams
14495	}
14496	return nil
14497}
14498
14499// SetCrawlState sets the CrawlState field's value.
14500func (s *Condition) SetCrawlState(v string) *Condition {
14501	s.CrawlState = &v
14502	return s
14503}
14504
14505// SetCrawlerName sets the CrawlerName field's value.
14506func (s *Condition) SetCrawlerName(v string) *Condition {
14507	s.CrawlerName = &v
14508	return s
14509}
14510
14511// SetJobName sets the JobName field's value.
14512func (s *Condition) SetJobName(v string) *Condition {
14513	s.JobName = &v
14514	return s
14515}
14516
14517// SetLogicalOperator sets the LogicalOperator field's value.
14518func (s *Condition) SetLogicalOperator(v string) *Condition {
14519	s.LogicalOperator = &v
14520	return s
14521}
14522
14523// SetState sets the State field's value.
14524func (s *Condition) SetState(v string) *Condition {
14525	s.State = &v
14526	return s
14527}
14528
14529// The confusion matrix shows you what your transform is predicting accurately
14530// and what types of errors it is making.
14531//
14532// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
14533// in Wikipedia.
14534type ConfusionMatrix struct {
14535	_ struct{} `type:"structure"`
14536
14537	// The number of matches in the data that the transform didn't find, in the
14538	// confusion matrix for your transform.
14539	NumFalseNegatives *int64 `type:"long"`
14540
14541	// The number of nonmatches in the data that the transform incorrectly classified
14542	// as a match, in the confusion matrix for your transform.
14543	NumFalsePositives *int64 `type:"long"`
14544
14545	// The number of nonmatches in the data that the transform correctly rejected,
14546	// in the confusion matrix for your transform.
14547	NumTrueNegatives *int64 `type:"long"`
14548
14549	// The number of matches in the data that the transform correctly found, in
14550	// the confusion matrix for your transform.
14551	NumTruePositives *int64 `type:"long"`
14552}
14553
14554// String returns the string representation
14555func (s ConfusionMatrix) String() string {
14556	return awsutil.Prettify(s)
14557}
14558
14559// GoString returns the string representation
14560func (s ConfusionMatrix) GoString() string {
14561	return s.String()
14562}
14563
14564// SetNumFalseNegatives sets the NumFalseNegatives field's value.
14565func (s *ConfusionMatrix) SetNumFalseNegatives(v int64) *ConfusionMatrix {
14566	s.NumFalseNegatives = &v
14567	return s
14568}
14569
14570// SetNumFalsePositives sets the NumFalsePositives field's value.
14571func (s *ConfusionMatrix) SetNumFalsePositives(v int64) *ConfusionMatrix {
14572	s.NumFalsePositives = &v
14573	return s
14574}
14575
14576// SetNumTrueNegatives sets the NumTrueNegatives field's value.
14577func (s *ConfusionMatrix) SetNumTrueNegatives(v int64) *ConfusionMatrix {
14578	s.NumTrueNegatives = &v
14579	return s
14580}
14581
14582// SetNumTruePositives sets the NumTruePositives field's value.
14583func (s *ConfusionMatrix) SetNumTruePositives(v int64) *ConfusionMatrix {
14584	s.NumTruePositives = &v
14585	return s
14586}
14587
14588// Defines a connection to a data source.
14589type Connection struct {
14590	_ struct{} `type:"structure"`
14591
14592	// These key-value pairs define parameters for the connection:
14593	//
14594	//    * HOST - The host URI: either the fully qualified domain name (FQDN) or
14595	//    the IPv4 address of the database host.
14596	//
14597	//    * PORT - The port number, between 1024 and 65535, of the port on which
14598	//    the database host is listening for database connections.
14599	//
14600	//    * USER_NAME - The name under which to log in to the database. The value
14601	//    string for USER_NAME is "USERNAME".
14602	//
14603	//    * PASSWORD - A password, if one is used, for the user name.
14604	//
14605	//    * ENCRYPTED_PASSWORD - When you enable connection password protection
14606	//    by setting ConnectionPasswordEncryption in the Data Catalog encryption
14607	//    settings, this field stores the encrypted password.
14608	//
14609	//    * JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3)
14610	//    path of the JAR file that contains the JDBC driver to use.
14611	//
14612	//    * JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.
14613	//
14614	//    * JDBC_ENGINE - The name of the JDBC engine to use.
14615	//
14616	//    * JDBC_ENGINE_VERSION - The version of the JDBC engine to use.
14617	//
14618	//    * CONFIG_FILES - (Reserved for future use.)
14619	//
14620	//    * INSTANCE_ID - The instance ID to use.
14621	//
14622	//    * JDBC_CONNECTION_URL - The URL for the JDBC connection.
14623	//
14624	//    * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether
14625	//    Secure Sockets Layer (SSL) with hostname matching is enforced for the
14626	//    JDBC connection on the client. The default is false.
14627	//
14628	//    * CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root
14629	//    certificate. AWS Glue uses this root certificate to validate the customer’s
14630	//    certificate when connecting to the customer database. AWS Glue only handles
14631	//    X.509 certificates. The certificate provided must be DER-encoded and supplied
14632	//    in Base64 encoding PEM format.
14633	//
14634	//    * SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. AWS Glue
14635	//    validates the Signature algorithm and Subject Public Key Algorithm for
14636	//    the customer certificate. The only permitted algorithms for the Signature
14637	//    algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject
14638	//    Public Key Algorithm, the key length must be at least 2048. You can set
14639	//    the value of this property to true to skip AWS Glue’s validation of
14640	//    the customer certificate.
14641	//
14642	//    * CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
14643	//    used for domain match or distinguished name match to prevent a man-in-the-middle
14644	//    attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in
14645	//    Microsoft SQL Server, this is used as the hostNameInCertificate.
14646	ConnectionProperties map[string]*string `type:"map"`
14647
14648	// The type of the connection. Currently, only JDBC is supported; SFTP is not
14649	// supported.
14650	ConnectionType *string `type:"string" enum:"ConnectionType"`
14651
14652	// The time that this connection definition was created.
14653	CreationTime *time.Time `type:"timestamp"`
14654
14655	// The description of the connection.
14656	Description *string `type:"string"`
14657
14658	// The user, group, or role that last updated this connection definition.
14659	LastUpdatedBy *string `min:"1" type:"string"`
14660
14661	// The last time that this connection definition was updated.
14662	LastUpdatedTime *time.Time `type:"timestamp"`
14663
14664	// A list of criteria that can be used in selecting this connection.
14665	MatchCriteria []*string `type:"list"`
14666
14667	// The name of the connection definition.
14668	Name *string `min:"1" type:"string"`
14669
14670	// A map of physical connection requirements, such as virtual private cloud
14671	// (VPC) and SecurityGroup, that are needed to make this connection successfully.
14672	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
14673}
14674
14675// String returns the string representation
14676func (s Connection) String() string {
14677	return awsutil.Prettify(s)
14678}
14679
14680// GoString returns the string representation
14681func (s Connection) GoString() string {
14682	return s.String()
14683}
14684
14685// SetConnectionProperties sets the ConnectionProperties field's value.
14686func (s *Connection) SetConnectionProperties(v map[string]*string) *Connection {
14687	s.ConnectionProperties = v
14688	return s
14689}
14690
14691// SetConnectionType sets the ConnectionType field's value.
14692func (s *Connection) SetConnectionType(v string) *Connection {
14693	s.ConnectionType = &v
14694	return s
14695}
14696
14697// SetCreationTime sets the CreationTime field's value.
14698func (s *Connection) SetCreationTime(v time.Time) *Connection {
14699	s.CreationTime = &v
14700	return s
14701}
14702
14703// SetDescription sets the Description field's value.
14704func (s *Connection) SetDescription(v string) *Connection {
14705	s.Description = &v
14706	return s
14707}
14708
14709// SetLastUpdatedBy sets the LastUpdatedBy field's value.
14710func (s *Connection) SetLastUpdatedBy(v string) *Connection {
14711	s.LastUpdatedBy = &v
14712	return s
14713}
14714
14715// SetLastUpdatedTime sets the LastUpdatedTime field's value.
14716func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection {
14717	s.LastUpdatedTime = &v
14718	return s
14719}
14720
14721// SetMatchCriteria sets the MatchCriteria field's value.
14722func (s *Connection) SetMatchCriteria(v []*string) *Connection {
14723	s.MatchCriteria = v
14724	return s
14725}
14726
14727// SetName sets the Name field's value.
14728func (s *Connection) SetName(v string) *Connection {
14729	s.Name = &v
14730	return s
14731}
14732
14733// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
14734func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection {
14735	s.PhysicalConnectionRequirements = v
14736	return s
14737}
14738
14739// A structure that is used to specify a connection to create or update.
14740type ConnectionInput struct {
14741	_ struct{} `type:"structure"`
14742
14743	// These key-value pairs define parameters for the connection.
14744	//
14745	// ConnectionProperties is a required field
14746	ConnectionProperties map[string]*string `type:"map" required:"true"`
14747
14748	// The type of the connection. Currently, only JDBC is supported; SFTP is not
14749	// supported.
14750	//
14751	// ConnectionType is a required field
14752	ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"`
14753
14754	// The description of the connection.
14755	Description *string `type:"string"`
14756
14757	// A list of criteria that can be used in selecting this connection.
14758	MatchCriteria []*string `type:"list"`
14759
14760	// The name of the connection.
14761	//
14762	// Name is a required field
14763	Name *string `min:"1" type:"string" required:"true"`
14764
14765	// A map of physical connection requirements, such as virtual private cloud
14766	// (VPC) and SecurityGroup, that are needed to successfully make this connection.
14767	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
14768}
14769
14770// String returns the string representation
14771func (s ConnectionInput) String() string {
14772	return awsutil.Prettify(s)
14773}
14774
14775// GoString returns the string representation
14776func (s ConnectionInput) GoString() string {
14777	return s.String()
14778}
14779
14780// Validate inspects the fields of the type to determine if they are valid.
14781func (s *ConnectionInput) Validate() error {
14782	invalidParams := request.ErrInvalidParams{Context: "ConnectionInput"}
14783	if s.ConnectionProperties == nil {
14784		invalidParams.Add(request.NewErrParamRequired("ConnectionProperties"))
14785	}
14786	if s.ConnectionType == nil {
14787		invalidParams.Add(request.NewErrParamRequired("ConnectionType"))
14788	}
14789	if s.Name == nil {
14790		invalidParams.Add(request.NewErrParamRequired("Name"))
14791	}
14792	if s.Name != nil && len(*s.Name) < 1 {
14793		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14794	}
14795	if s.PhysicalConnectionRequirements != nil {
14796		if err := s.PhysicalConnectionRequirements.Validate(); err != nil {
14797			invalidParams.AddNested("PhysicalConnectionRequirements", err.(request.ErrInvalidParams))
14798		}
14799	}
14800
14801	if invalidParams.Len() > 0 {
14802		return invalidParams
14803	}
14804	return nil
14805}
14806
14807// SetConnectionProperties sets the ConnectionProperties field's value.
14808func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput {
14809	s.ConnectionProperties = v
14810	return s
14811}
14812
14813// SetConnectionType sets the ConnectionType field's value.
14814func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput {
14815	s.ConnectionType = &v
14816	return s
14817}
14818
14819// SetDescription sets the Description field's value.
14820func (s *ConnectionInput) SetDescription(v string) *ConnectionInput {
14821	s.Description = &v
14822	return s
14823}
14824
14825// SetMatchCriteria sets the MatchCriteria field's value.
14826func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput {
14827	s.MatchCriteria = v
14828	return s
14829}
14830
14831// SetName sets the Name field's value.
14832func (s *ConnectionInput) SetName(v string) *ConnectionInput {
14833	s.Name = &v
14834	return s
14835}
14836
14837// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
14838func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput {
14839	s.PhysicalConnectionRequirements = v
14840	return s
14841}
14842
14843// The data structure used by the Data Catalog to encrypt the password as part
14844// of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD
14845// field in the connection properties. You can enable catalog encryption or
14846// only password encryption.
14847//
14848// When a CreationConnection request arrives containing a password, the Data
14849// Catalog first encrypts the password using your AWS KMS key. It then encrypts
14850// the whole connection object again if catalog encryption is also enabled.
14851//
14852// This encryption requires that you set AWS KMS key permissions to enable or
14853// restrict access on the password key according to your security requirements.
14854// For example, you might want only administrators to have decrypt permission
14855// on the password key.
14856type ConnectionPasswordEncryption struct {
14857	_ struct{} `type:"structure"`
14858
14859	// An AWS KMS key that is used to encrypt the connection password.
14860	//
14861	// If connection password protection is enabled, the caller of CreateConnection
14862	// and UpdateConnection needs at least kms:Encrypt permission on the specified
14863	// AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
14864	//
14865	// You can set the decrypt permission to enable or restrict access on the password
14866	// key according to your security requirements.
14867	AwsKmsKeyId *string `min:"1" type:"string"`
14868
14869	// When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords
14870	// remain encrypted in the responses of GetConnection and GetConnections. This
14871	// encryption takes effect independently from catalog encryption.
14872	//
14873	// ReturnConnectionPasswordEncrypted is a required field
14874	ReturnConnectionPasswordEncrypted *bool `type:"boolean" required:"true"`
14875}
14876
14877// String returns the string representation
14878func (s ConnectionPasswordEncryption) String() string {
14879	return awsutil.Prettify(s)
14880}
14881
14882// GoString returns the string representation
14883func (s ConnectionPasswordEncryption) GoString() string {
14884	return s.String()
14885}
14886
14887// Validate inspects the fields of the type to determine if they are valid.
14888func (s *ConnectionPasswordEncryption) Validate() error {
14889	invalidParams := request.ErrInvalidParams{Context: "ConnectionPasswordEncryption"}
14890	if s.AwsKmsKeyId != nil && len(*s.AwsKmsKeyId) < 1 {
14891		invalidParams.Add(request.NewErrParamMinLen("AwsKmsKeyId", 1))
14892	}
14893	if s.ReturnConnectionPasswordEncrypted == nil {
14894		invalidParams.Add(request.NewErrParamRequired("ReturnConnectionPasswordEncrypted"))
14895	}
14896
14897	if invalidParams.Len() > 0 {
14898		return invalidParams
14899	}
14900	return nil
14901}
14902
14903// SetAwsKmsKeyId sets the AwsKmsKeyId field's value.
14904func (s *ConnectionPasswordEncryption) SetAwsKmsKeyId(v string) *ConnectionPasswordEncryption {
14905	s.AwsKmsKeyId = &v
14906	return s
14907}
14908
14909// SetReturnConnectionPasswordEncrypted sets the ReturnConnectionPasswordEncrypted field's value.
14910func (s *ConnectionPasswordEncryption) SetReturnConnectionPasswordEncrypted(v bool) *ConnectionPasswordEncryption {
14911	s.ReturnConnectionPasswordEncrypted = &v
14912	return s
14913}
14914
14915// Specifies the connections used by a job.
14916type ConnectionsList struct {
14917	_ struct{} `type:"structure"`
14918
14919	// A list of connections used by the job.
14920	Connections []*string `type:"list"`
14921}
14922
14923// String returns the string representation
14924func (s ConnectionsList) String() string {
14925	return awsutil.Prettify(s)
14926}
14927
14928// GoString returns the string representation
14929func (s ConnectionsList) GoString() string {
14930	return s.String()
14931}
14932
14933// SetConnections sets the Connections field's value.
14934func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList {
14935	s.Connections = v
14936	return s
14937}
14938
14939// The details of a crawl in the workflow.
14940type Crawl struct {
14941	_ struct{} `type:"structure"`
14942
14943	// The date and time on which the crawl completed.
14944	CompletedOn *time.Time `type:"timestamp"`
14945
14946	// The error message associated with the crawl.
14947	ErrorMessage *string `type:"string"`
14948
14949	// The log group associated with the crawl.
14950	LogGroup *string `min:"1" type:"string"`
14951
14952	// The log stream associated with the crawl.
14953	LogStream *string `min:"1" type:"string"`
14954
14955	// The date and time on which the crawl started.
14956	StartedOn *time.Time `type:"timestamp"`
14957
14958	// The state of the crawler.
14959	State *string `type:"string" enum:"CrawlState"`
14960}
14961
14962// String returns the string representation
14963func (s Crawl) String() string {
14964	return awsutil.Prettify(s)
14965}
14966
14967// GoString returns the string representation
14968func (s Crawl) GoString() string {
14969	return s.String()
14970}
14971
14972// SetCompletedOn sets the CompletedOn field's value.
14973func (s *Crawl) SetCompletedOn(v time.Time) *Crawl {
14974	s.CompletedOn = &v
14975	return s
14976}
14977
14978// SetErrorMessage sets the ErrorMessage field's value.
14979func (s *Crawl) SetErrorMessage(v string) *Crawl {
14980	s.ErrorMessage = &v
14981	return s
14982}
14983
14984// SetLogGroup sets the LogGroup field's value.
14985func (s *Crawl) SetLogGroup(v string) *Crawl {
14986	s.LogGroup = &v
14987	return s
14988}
14989
14990// SetLogStream sets the LogStream field's value.
14991func (s *Crawl) SetLogStream(v string) *Crawl {
14992	s.LogStream = &v
14993	return s
14994}
14995
14996// SetStartedOn sets the StartedOn field's value.
14997func (s *Crawl) SetStartedOn(v time.Time) *Crawl {
14998	s.StartedOn = &v
14999	return s
15000}
15001
15002// SetState sets the State field's value.
15003func (s *Crawl) SetState(v string) *Crawl {
15004	s.State = &v
15005	return s
15006}
15007
15008// Specifies a crawler program that examines a data source and uses classifiers
15009// to try to determine its schema. If successful, the crawler records metadata
15010// concerning the data source in the AWS Glue Data Catalog.
15011type Crawler struct {
15012	_ struct{} `type:"structure"`
15013
15014	// A list of UTF-8 strings that specify the custom classifiers that are associated
15015	// with the crawler.
15016	Classifiers []*string `type:"list"`
15017
15018	// Crawler configuration information. This versioned JSON string allows users
15019	// to specify aspects of a crawler's behavior. For more information, see Configuring
15020	// a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
15021	Configuration *string `type:"string"`
15022
15023	// If the crawler is running, contains the total time elapsed since the last
15024	// crawl began.
15025	CrawlElapsedTime *int64 `type:"long"`
15026
15027	// The name of the SecurityConfiguration structure to be used by this crawler.
15028	CrawlerSecurityConfiguration *string `type:"string"`
15029
15030	// The time that the crawler was created.
15031	CreationTime *time.Time `type:"timestamp"`
15032
15033	// The name of the database in which the crawler's output is stored.
15034	DatabaseName *string `type:"string"`
15035
15036	// A description of the crawler.
15037	Description *string `type:"string"`
15038
15039	// The status of the last crawl, and potentially error information if an error
15040	// occurred.
15041	LastCrawl *LastCrawlInfo `type:"structure"`
15042
15043	// The time that the crawler was last updated.
15044	LastUpdated *time.Time `type:"timestamp"`
15045
15046	// The name of the crawler.
15047	Name *string `min:"1" type:"string"`
15048
15049	// The Amazon Resource Name (ARN) of an IAM role that's used to access customer
15050	// resources, such as Amazon Simple Storage Service (Amazon S3) data.
15051	Role *string `type:"string"`
15052
15053	// For scheduled crawlers, the schedule when the crawler runs.
15054	Schedule *Schedule `type:"structure"`
15055
15056	// The policy that specifies update and delete behaviors for the crawler.
15057	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
15058
15059	// Indicates whether the crawler is running, or whether a run is pending.
15060	State *string `type:"string" enum:"CrawlerState"`
15061
15062	// The prefix added to the names of tables that are created.
15063	TablePrefix *string `type:"string"`
15064
15065	// A collection of targets to crawl.
15066	Targets *CrawlerTargets `type:"structure"`
15067
15068	// The version of the crawler.
15069	Version *int64 `type:"long"`
15070}
15071
15072// String returns the string representation
15073func (s Crawler) String() string {
15074	return awsutil.Prettify(s)
15075}
15076
15077// GoString returns the string representation
15078func (s Crawler) GoString() string {
15079	return s.String()
15080}
15081
15082// SetClassifiers sets the Classifiers field's value.
15083func (s *Crawler) SetClassifiers(v []*string) *Crawler {
15084	s.Classifiers = v
15085	return s
15086}
15087
15088// SetConfiguration sets the Configuration field's value.
15089func (s *Crawler) SetConfiguration(v string) *Crawler {
15090	s.Configuration = &v
15091	return s
15092}
15093
15094// SetCrawlElapsedTime sets the CrawlElapsedTime field's value.
15095func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler {
15096	s.CrawlElapsedTime = &v
15097	return s
15098}
15099
15100// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
15101func (s *Crawler) SetCrawlerSecurityConfiguration(v string) *Crawler {
15102	s.CrawlerSecurityConfiguration = &v
15103	return s
15104}
15105
15106// SetCreationTime sets the CreationTime field's value.
15107func (s *Crawler) SetCreationTime(v time.Time) *Crawler {
15108	s.CreationTime = &v
15109	return s
15110}
15111
15112// SetDatabaseName sets the DatabaseName field's value.
15113func (s *Crawler) SetDatabaseName(v string) *Crawler {
15114	s.DatabaseName = &v
15115	return s
15116}
15117
15118// SetDescription sets the Description field's value.
15119func (s *Crawler) SetDescription(v string) *Crawler {
15120	s.Description = &v
15121	return s
15122}
15123
15124// SetLastCrawl sets the LastCrawl field's value.
15125func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler {
15126	s.LastCrawl = v
15127	return s
15128}
15129
15130// SetLastUpdated sets the LastUpdated field's value.
15131func (s *Crawler) SetLastUpdated(v time.Time) *Crawler {
15132	s.LastUpdated = &v
15133	return s
15134}
15135
15136// SetName sets the Name field's value.
15137func (s *Crawler) SetName(v string) *Crawler {
15138	s.Name = &v
15139	return s
15140}
15141
15142// SetRole sets the Role field's value.
15143func (s *Crawler) SetRole(v string) *Crawler {
15144	s.Role = &v
15145	return s
15146}
15147
15148// SetSchedule sets the Schedule field's value.
15149func (s *Crawler) SetSchedule(v *Schedule) *Crawler {
15150	s.Schedule = v
15151	return s
15152}
15153
15154// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
15155func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler {
15156	s.SchemaChangePolicy = v
15157	return s
15158}
15159
15160// SetState sets the State field's value.
15161func (s *Crawler) SetState(v string) *Crawler {
15162	s.State = &v
15163	return s
15164}
15165
15166// SetTablePrefix sets the TablePrefix field's value.
15167func (s *Crawler) SetTablePrefix(v string) *Crawler {
15168	s.TablePrefix = &v
15169	return s
15170}
15171
15172// SetTargets sets the Targets field's value.
15173func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler {
15174	s.Targets = v
15175	return s
15176}
15177
15178// SetVersion sets the Version field's value.
15179func (s *Crawler) SetVersion(v int64) *Crawler {
15180	s.Version = &v
15181	return s
15182}
15183
15184// Metrics for a specified crawler.
15185type CrawlerMetrics struct {
15186	_ struct{} `type:"structure"`
15187
15188	// The name of the crawler.
15189	CrawlerName *string `min:"1" type:"string"`
15190
15191	// The duration of the crawler's most recent run, in seconds.
15192	LastRuntimeSeconds *float64 `type:"double"`
15193
15194	// The median duration of this crawler's runs, in seconds.
15195	MedianRuntimeSeconds *float64 `type:"double"`
15196
15197	// True if the crawler is still estimating how long it will take to complete
15198	// this run.
15199	StillEstimating *bool `type:"boolean"`
15200
15201	// The number of tables created by this crawler.
15202	TablesCreated *int64 `type:"integer"`
15203
15204	// The number of tables deleted by this crawler.
15205	TablesDeleted *int64 `type:"integer"`
15206
15207	// The number of tables updated by this crawler.
15208	TablesUpdated *int64 `type:"integer"`
15209
15210	// The estimated time left to complete a running crawl.
15211	TimeLeftSeconds *float64 `type:"double"`
15212}
15213
15214// String returns the string representation
15215func (s CrawlerMetrics) String() string {
15216	return awsutil.Prettify(s)
15217}
15218
15219// GoString returns the string representation
15220func (s CrawlerMetrics) GoString() string {
15221	return s.String()
15222}
15223
15224// SetCrawlerName sets the CrawlerName field's value.
15225func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics {
15226	s.CrawlerName = &v
15227	return s
15228}
15229
15230// SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value.
15231func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics {
15232	s.LastRuntimeSeconds = &v
15233	return s
15234}
15235
15236// SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value.
15237func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics {
15238	s.MedianRuntimeSeconds = &v
15239	return s
15240}
15241
15242// SetStillEstimating sets the StillEstimating field's value.
15243func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics {
15244	s.StillEstimating = &v
15245	return s
15246}
15247
15248// SetTablesCreated sets the TablesCreated field's value.
15249func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics {
15250	s.TablesCreated = &v
15251	return s
15252}
15253
15254// SetTablesDeleted sets the TablesDeleted field's value.
15255func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics {
15256	s.TablesDeleted = &v
15257	return s
15258}
15259
15260// SetTablesUpdated sets the TablesUpdated field's value.
15261func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics {
15262	s.TablesUpdated = &v
15263	return s
15264}
15265
15266// SetTimeLeftSeconds sets the TimeLeftSeconds field's value.
15267func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics {
15268	s.TimeLeftSeconds = &v
15269	return s
15270}
15271
15272// The details of a Crawler node present in the workflow.
15273type CrawlerNodeDetails struct {
15274	_ struct{} `type:"structure"`
15275
15276	// A list of crawls represented by the crawl node.
15277	Crawls []*Crawl `type:"list"`
15278}
15279
15280// String returns the string representation
15281func (s CrawlerNodeDetails) String() string {
15282	return awsutil.Prettify(s)
15283}
15284
15285// GoString returns the string representation
15286func (s CrawlerNodeDetails) GoString() string {
15287	return s.String()
15288}
15289
15290// SetCrawls sets the Crawls field's value.
15291func (s *CrawlerNodeDetails) SetCrawls(v []*Crawl) *CrawlerNodeDetails {
15292	s.Crawls = v
15293	return s
15294}
15295
15296// Specifies data stores to crawl.
15297type CrawlerTargets struct {
15298	_ struct{} `type:"structure"`
15299
15300	// Specifies AWS Glue Data Catalog targets.
15301	CatalogTargets []*CatalogTarget `type:"list"`
15302
15303	// Specifies Amazon DynamoDB targets.
15304	DynamoDBTargets []*DynamoDBTarget `type:"list"`
15305
15306	// Specifies JDBC targets.
15307	JdbcTargets []*JdbcTarget `type:"list"`
15308
15309	// Specifies Amazon Simple Storage Service (Amazon S3) targets.
15310	S3Targets []*S3Target `type:"list"`
15311}
15312
15313// String returns the string representation
15314func (s CrawlerTargets) String() string {
15315	return awsutil.Prettify(s)
15316}
15317
15318// GoString returns the string representation
15319func (s CrawlerTargets) GoString() string {
15320	return s.String()
15321}
15322
15323// Validate inspects the fields of the type to determine if they are valid.
15324func (s *CrawlerTargets) Validate() error {
15325	invalidParams := request.ErrInvalidParams{Context: "CrawlerTargets"}
15326	if s.CatalogTargets != nil {
15327		for i, v := range s.CatalogTargets {
15328			if v == nil {
15329				continue
15330			}
15331			if err := v.Validate(); err != nil {
15332				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CatalogTargets", i), err.(request.ErrInvalidParams))
15333			}
15334		}
15335	}
15336
15337	if invalidParams.Len() > 0 {
15338		return invalidParams
15339	}
15340	return nil
15341}
15342
15343// SetCatalogTargets sets the CatalogTargets field's value.
15344func (s *CrawlerTargets) SetCatalogTargets(v []*CatalogTarget) *CrawlerTargets {
15345	s.CatalogTargets = v
15346	return s
15347}
15348
15349// SetDynamoDBTargets sets the DynamoDBTargets field's value.
15350func (s *CrawlerTargets) SetDynamoDBTargets(v []*DynamoDBTarget) *CrawlerTargets {
15351	s.DynamoDBTargets = v
15352	return s
15353}
15354
15355// SetJdbcTargets sets the JdbcTargets field's value.
15356func (s *CrawlerTargets) SetJdbcTargets(v []*JdbcTarget) *CrawlerTargets {
15357	s.JdbcTargets = v
15358	return s
15359}
15360
15361// SetS3Targets sets the S3Targets field's value.
15362func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets {
15363	s.S3Targets = v
15364	return s
15365}
15366
15367type CreateClassifierInput struct {
15368	_ struct{} `type:"structure"`
15369
15370	// A CsvClassifier object specifying the classifier to create.
15371	CsvClassifier *CreateCsvClassifierRequest `type:"structure"`
15372
15373	// A GrokClassifier object specifying the classifier to create.
15374	GrokClassifier *CreateGrokClassifierRequest `type:"structure"`
15375
15376	// A JsonClassifier object specifying the classifier to create.
15377	JsonClassifier *CreateJsonClassifierRequest `type:"structure"`
15378
15379	// An XMLClassifier object specifying the classifier to create.
15380	XMLClassifier *CreateXMLClassifierRequest `type:"structure"`
15381}
15382
15383// String returns the string representation
15384func (s CreateClassifierInput) String() string {
15385	return awsutil.Prettify(s)
15386}
15387
15388// GoString returns the string representation
15389func (s CreateClassifierInput) GoString() string {
15390	return s.String()
15391}
15392
15393// Validate inspects the fields of the type to determine if they are valid.
15394func (s *CreateClassifierInput) Validate() error {
15395	invalidParams := request.ErrInvalidParams{Context: "CreateClassifierInput"}
15396	if s.CsvClassifier != nil {
15397		if err := s.CsvClassifier.Validate(); err != nil {
15398			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
15399		}
15400	}
15401	if s.GrokClassifier != nil {
15402		if err := s.GrokClassifier.Validate(); err != nil {
15403			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
15404		}
15405	}
15406	if s.JsonClassifier != nil {
15407		if err := s.JsonClassifier.Validate(); err != nil {
15408			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
15409		}
15410	}
15411	if s.XMLClassifier != nil {
15412		if err := s.XMLClassifier.Validate(); err != nil {
15413			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
15414		}
15415	}
15416
15417	if invalidParams.Len() > 0 {
15418		return invalidParams
15419	}
15420	return nil
15421}
15422
15423// SetCsvClassifier sets the CsvClassifier field's value.
15424func (s *CreateClassifierInput) SetCsvClassifier(v *CreateCsvClassifierRequest) *CreateClassifierInput {
15425	s.CsvClassifier = v
15426	return s
15427}
15428
15429// SetGrokClassifier sets the GrokClassifier field's value.
15430func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput {
15431	s.GrokClassifier = v
15432	return s
15433}
15434
15435// SetJsonClassifier sets the JsonClassifier field's value.
15436func (s *CreateClassifierInput) SetJsonClassifier(v *CreateJsonClassifierRequest) *CreateClassifierInput {
15437	s.JsonClassifier = v
15438	return s
15439}
15440
15441// SetXMLClassifier sets the XMLClassifier field's value.
15442func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput {
15443	s.XMLClassifier = v
15444	return s
15445}
15446
15447type CreateClassifierOutput struct {
15448	_ struct{} `type:"structure"`
15449}
15450
15451// String returns the string representation
15452func (s CreateClassifierOutput) String() string {
15453	return awsutil.Prettify(s)
15454}
15455
15456// GoString returns the string representation
15457func (s CreateClassifierOutput) GoString() string {
15458	return s.String()
15459}
15460
15461type CreateConnectionInput struct {
15462	_ struct{} `type:"structure"`
15463
15464	// The ID of the Data Catalog in which to create the connection. If none is
15465	// provided, the AWS account ID is used by default.
15466	CatalogId *string `min:"1" type:"string"`
15467
15468	// A ConnectionInput object defining the connection to create.
15469	//
15470	// ConnectionInput is a required field
15471	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
15472}
15473
15474// String returns the string representation
15475func (s CreateConnectionInput) String() string {
15476	return awsutil.Prettify(s)
15477}
15478
15479// GoString returns the string representation
15480func (s CreateConnectionInput) GoString() string {
15481	return s.String()
15482}
15483
15484// Validate inspects the fields of the type to determine if they are valid.
15485func (s *CreateConnectionInput) Validate() error {
15486	invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"}
15487	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
15488		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
15489	}
15490	if s.ConnectionInput == nil {
15491		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
15492	}
15493	if s.ConnectionInput != nil {
15494		if err := s.ConnectionInput.Validate(); err != nil {
15495			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
15496		}
15497	}
15498
15499	if invalidParams.Len() > 0 {
15500		return invalidParams
15501	}
15502	return nil
15503}
15504
15505// SetCatalogId sets the CatalogId field's value.
15506func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput {
15507	s.CatalogId = &v
15508	return s
15509}
15510
15511// SetConnectionInput sets the ConnectionInput field's value.
15512func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput {
15513	s.ConnectionInput = v
15514	return s
15515}
15516
15517type CreateConnectionOutput struct {
15518	_ struct{} `type:"structure"`
15519}
15520
15521// String returns the string representation
15522func (s CreateConnectionOutput) String() string {
15523	return awsutil.Prettify(s)
15524}
15525
15526// GoString returns the string representation
15527func (s CreateConnectionOutput) GoString() string {
15528	return s.String()
15529}
15530
15531type CreateCrawlerInput struct {
15532	_ struct{} `type:"structure"`
15533
15534	// A list of custom classifiers that the user has registered. By default, all
15535	// built-in classifiers are included in a crawl, but these custom classifiers
15536	// always override the default classifiers for a given classification.
15537	Classifiers []*string `type:"list"`
15538
15539	// The crawler configuration information. This versioned JSON string allows
15540	// users to specify aspects of a crawler's behavior. For more information, see
15541	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
15542	Configuration *string `type:"string"`
15543
15544	// The name of the SecurityConfiguration structure to be used by this crawler.
15545	CrawlerSecurityConfiguration *string `type:"string"`
15546
15547	// The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*.
15548	DatabaseName *string `type:"string"`
15549
15550	// A description of the new crawler.
15551	Description *string `type:"string"`
15552
15553	// Name of the new crawler.
15554	//
15555	// Name is a required field
15556	Name *string `min:"1" type:"string" required:"true"`
15557
15558	// The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new
15559	// crawler to access customer resources.
15560	//
15561	// Role is a required field
15562	Role *string `type:"string" required:"true"`
15563
15564	// A cron expression used to specify the schedule. For more information, see
15565	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
15566	// For example, to run something every day at 12:15 UTC, specify cron(15 12
15567	// * * ? *).
15568	Schedule *string `type:"string"`
15569
15570	// The policy for the crawler's update and deletion behavior.
15571	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
15572
15573	// The table prefix used for catalog tables that are created.
15574	TablePrefix *string `type:"string"`
15575
15576	// The tags to use with this crawler request. You can use tags to limit access
15577	// to the crawler. For more information, see AWS Tags in AWS Glue (http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
15578	Tags map[string]*string `type:"map"`
15579
15580	// A list of collection of targets to crawl.
15581	//
15582	// Targets is a required field
15583	Targets *CrawlerTargets `type:"structure" required:"true"`
15584}
15585
15586// String returns the string representation
15587func (s CreateCrawlerInput) String() string {
15588	return awsutil.Prettify(s)
15589}
15590
15591// GoString returns the string representation
15592func (s CreateCrawlerInput) GoString() string {
15593	return s.String()
15594}
15595
15596// Validate inspects the fields of the type to determine if they are valid.
15597func (s *CreateCrawlerInput) Validate() error {
15598	invalidParams := request.ErrInvalidParams{Context: "CreateCrawlerInput"}
15599	if s.Name == nil {
15600		invalidParams.Add(request.NewErrParamRequired("Name"))
15601	}
15602	if s.Name != nil && len(*s.Name) < 1 {
15603		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15604	}
15605	if s.Role == nil {
15606		invalidParams.Add(request.NewErrParamRequired("Role"))
15607	}
15608	if s.Targets == nil {
15609		invalidParams.Add(request.NewErrParamRequired("Targets"))
15610	}
15611	if s.Targets != nil {
15612		if err := s.Targets.Validate(); err != nil {
15613			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
15614		}
15615	}
15616
15617	if invalidParams.Len() > 0 {
15618		return invalidParams
15619	}
15620	return nil
15621}
15622
15623// SetClassifiers sets the Classifiers field's value.
15624func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput {
15625	s.Classifiers = v
15626	return s
15627}
15628
15629// SetConfiguration sets the Configuration field's value.
15630func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput {
15631	s.Configuration = &v
15632	return s
15633}
15634
15635// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
15636func (s *CreateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *CreateCrawlerInput {
15637	s.CrawlerSecurityConfiguration = &v
15638	return s
15639}
15640
15641// SetDatabaseName sets the DatabaseName field's value.
15642func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput {
15643	s.DatabaseName = &v
15644	return s
15645}
15646
15647// SetDescription sets the Description field's value.
15648func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput {
15649	s.Description = &v
15650	return s
15651}
15652
15653// SetName sets the Name field's value.
15654func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput {
15655	s.Name = &v
15656	return s
15657}
15658
15659// SetRole sets the Role field's value.
15660func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput {
15661	s.Role = &v
15662	return s
15663}
15664
15665// SetSchedule sets the Schedule field's value.
15666func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput {
15667	s.Schedule = &v
15668	return s
15669}
15670
15671// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
15672func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput {
15673	s.SchemaChangePolicy = v
15674	return s
15675}
15676
15677// SetTablePrefix sets the TablePrefix field's value.
15678func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput {
15679	s.TablePrefix = &v
15680	return s
15681}
15682
15683// SetTags sets the Tags field's value.
15684func (s *CreateCrawlerInput) SetTags(v map[string]*string) *CreateCrawlerInput {
15685	s.Tags = v
15686	return s
15687}
15688
15689// SetTargets sets the Targets field's value.
15690func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput {
15691	s.Targets = v
15692	return s
15693}
15694
15695type CreateCrawlerOutput struct {
15696	_ struct{} `type:"structure"`
15697}
15698
15699// String returns the string representation
15700func (s CreateCrawlerOutput) String() string {
15701	return awsutil.Prettify(s)
15702}
15703
15704// GoString returns the string representation
15705func (s CreateCrawlerOutput) GoString() string {
15706	return s.String()
15707}
15708
15709// Specifies a custom CSV classifier for CreateClassifier to create.
15710type CreateCsvClassifierRequest struct {
15711	_ struct{} `type:"structure"`
15712
15713	// Enables the processing of files that contain only one column.
15714	AllowSingleColumn *bool `type:"boolean"`
15715
15716	// Indicates whether the CSV file contains a header.
15717	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
15718
15719	// A custom symbol to denote what separates each column entry in the row.
15720	Delimiter *string `min:"1" type:"string"`
15721
15722	// Specifies not to trim values before identifying the type of column values.
15723	// The default value is true.
15724	DisableValueTrimming *bool `type:"boolean"`
15725
15726	// A list of strings representing column names.
15727	Header []*string `type:"list"`
15728
15729	// The name of the classifier.
15730	//
15731	// Name is a required field
15732	Name *string `min:"1" type:"string" required:"true"`
15733
15734	// A custom symbol to denote what combines content into a single column value.
15735	// Must be different from the column delimiter.
15736	QuoteSymbol *string `min:"1" type:"string"`
15737}
15738
15739// String returns the string representation
15740func (s CreateCsvClassifierRequest) String() string {
15741	return awsutil.Prettify(s)
15742}
15743
15744// GoString returns the string representation
15745func (s CreateCsvClassifierRequest) GoString() string {
15746	return s.String()
15747}
15748
15749// Validate inspects the fields of the type to determine if they are valid.
15750func (s *CreateCsvClassifierRequest) Validate() error {
15751	invalidParams := request.ErrInvalidParams{Context: "CreateCsvClassifierRequest"}
15752	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
15753		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
15754	}
15755	if s.Name == nil {
15756		invalidParams.Add(request.NewErrParamRequired("Name"))
15757	}
15758	if s.Name != nil && len(*s.Name) < 1 {
15759		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15760	}
15761	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
15762		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
15763	}
15764
15765	if invalidParams.Len() > 0 {
15766		return invalidParams
15767	}
15768	return nil
15769}
15770
15771// SetAllowSingleColumn sets the AllowSingleColumn field's value.
15772func (s *CreateCsvClassifierRequest) SetAllowSingleColumn(v bool) *CreateCsvClassifierRequest {
15773	s.AllowSingleColumn = &v
15774	return s
15775}
15776
15777// SetContainsHeader sets the ContainsHeader field's value.
15778func (s *CreateCsvClassifierRequest) SetContainsHeader(v string) *CreateCsvClassifierRequest {
15779	s.ContainsHeader = &v
15780	return s
15781}
15782
15783// SetDelimiter sets the Delimiter field's value.
15784func (s *CreateCsvClassifierRequest) SetDelimiter(v string) *CreateCsvClassifierRequest {
15785	s.Delimiter = &v
15786	return s
15787}
15788
15789// SetDisableValueTrimming sets the DisableValueTrimming field's value.
15790func (s *CreateCsvClassifierRequest) SetDisableValueTrimming(v bool) *CreateCsvClassifierRequest {
15791	s.DisableValueTrimming = &v
15792	return s
15793}
15794
15795// SetHeader sets the Header field's value.
15796func (s *CreateCsvClassifierRequest) SetHeader(v []*string) *CreateCsvClassifierRequest {
15797	s.Header = v
15798	return s
15799}
15800
15801// SetName sets the Name field's value.
15802func (s *CreateCsvClassifierRequest) SetName(v string) *CreateCsvClassifierRequest {
15803	s.Name = &v
15804	return s
15805}
15806
15807// SetQuoteSymbol sets the QuoteSymbol field's value.
15808func (s *CreateCsvClassifierRequest) SetQuoteSymbol(v string) *CreateCsvClassifierRequest {
15809	s.QuoteSymbol = &v
15810	return s
15811}
15812
15813type CreateDatabaseInput struct {
15814	_ struct{} `type:"structure"`
15815
15816	// The ID of the Data Catalog in which to create the database. If none is provided,
15817	// the AWS account ID is used by default.
15818	CatalogId *string `min:"1" type:"string"`
15819
15820	// The metadata for the database.
15821	//
15822	// DatabaseInput is a required field
15823	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
15824}
15825
15826// String returns the string representation
15827func (s CreateDatabaseInput) String() string {
15828	return awsutil.Prettify(s)
15829}
15830
15831// GoString returns the string representation
15832func (s CreateDatabaseInput) GoString() string {
15833	return s.String()
15834}
15835
15836// Validate inspects the fields of the type to determine if they are valid.
15837func (s *CreateDatabaseInput) Validate() error {
15838	invalidParams := request.ErrInvalidParams{Context: "CreateDatabaseInput"}
15839	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
15840		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
15841	}
15842	if s.DatabaseInput == nil {
15843		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
15844	}
15845	if s.DatabaseInput != nil {
15846		if err := s.DatabaseInput.Validate(); err != nil {
15847			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
15848		}
15849	}
15850
15851	if invalidParams.Len() > 0 {
15852		return invalidParams
15853	}
15854	return nil
15855}
15856
15857// SetCatalogId sets the CatalogId field's value.
15858func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput {
15859	s.CatalogId = &v
15860	return s
15861}
15862
15863// SetDatabaseInput sets the DatabaseInput field's value.
15864func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput {
15865	s.DatabaseInput = v
15866	return s
15867}
15868
15869type CreateDatabaseOutput struct {
15870	_ struct{} `type:"structure"`
15871}
15872
15873// String returns the string representation
15874func (s CreateDatabaseOutput) String() string {
15875	return awsutil.Prettify(s)
15876}
15877
15878// GoString returns the string representation
15879func (s CreateDatabaseOutput) GoString() string {
15880	return s.String()
15881}
15882
15883type CreateDevEndpointInput struct {
15884	_ struct{} `type:"structure"`
15885
15886	// A map of arguments used to configure the DevEndpoint.
15887	Arguments map[string]*string `type:"map"`
15888
15889	// The name to be assigned to the new DevEndpoint.
15890	//
15891	// EndpointName is a required field
15892	EndpointName *string `type:"string" required:"true"`
15893
15894	// The path to one or more Java .jar files in an S3 bucket that should be loaded
15895	// in your DevEndpoint.
15896	ExtraJarsS3Path *string `type:"string"`
15897
15898	// The paths to one or more Python libraries in an Amazon S3 bucket that should
15899	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
15900	// by a comma.
15901	//
15902	// You can only use pure Python libraries with a DevEndpoint. Libraries that
15903	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
15904	// data analysis library, are not yet supported.
15905	ExtraPythonLibsS3Path *string `type:"string"`
15906
15907	// Glue version determines the versions of Apache Spark and Python that AWS
15908	// Glue supports. The Python version indicates the version supported for running
15909	// your ETL scripts on development endpoints.
15910	//
15911	// For more information about the available AWS Glue versions and corresponding
15912	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
15913	// in the developer guide.
15914	//
15915	// Development endpoints that are created without specifying a Glue version
15916	// default to Glue 0.9.
15917	//
15918	// You can specify a version of Python support for development endpoints by
15919	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
15920	// APIs. If no arguments are provided, the version defaults to Python 2.
15921	GlueVersion *string `min:"1" type:"string"`
15922
15923	// The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.
15924	NumberOfNodes *int64 `type:"integer"`
15925
15926	// The number of workers of a defined workerType that are allocated to the development
15927	// endpoint.
15928	//
15929	// The maximum number of workers you can define are 299 for G.1X, and 149 for
15930	// G.2X.
15931	NumberOfWorkers *int64 `type:"integer"`
15932
15933	// The public key to be used by this DevEndpoint for authentication. This attribute
15934	// is provided for backward compatibility because the recommended attribute
15935	// to use is public keys.
15936	PublicKey *string `type:"string"`
15937
15938	// A list of public keys to be used by the development endpoints for authentication.
15939	// The use of this attribute is preferred over a single public key because the
15940	// public keys allow you to have a different private key per client.
15941	//
15942	// If you previously created an endpoint with a public key, you must remove
15943	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
15944	// API with the public key content in the deletePublicKeys attribute, and the
15945	// list of new keys in the addPublicKeys attribute.
15946	PublicKeys []*string `type:"list"`
15947
15948	// The IAM role for the DevEndpoint.
15949	//
15950	// RoleArn is a required field
15951	RoleArn *string `type:"string" required:"true"`
15952
15953	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
15954	SecurityConfiguration *string `min:"1" type:"string"`
15955
15956	// Security group IDs for the security groups to be used by the new DevEndpoint.
15957	SecurityGroupIds []*string `type:"list"`
15958
15959	// The subnet ID for the new DevEndpoint to use.
15960	SubnetId *string `type:"string"`
15961
15962	// The tags to use with this DevEndpoint. You may use tags to limit access to
15963	// the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags
15964	// in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
15965	// in the developer guide.
15966	Tags map[string]*string `type:"map"`
15967
15968	// The type of predefined worker that is allocated to the development endpoint.
15969	// Accepts a value of Standard, G.1X, or G.2X.
15970	//
15971	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
15972	//    memory and a 50GB disk, and 2 executors per worker.
15973	//
15974	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
15975	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
15976	//    this worker type for memory-intensive jobs.
15977	//
15978	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
15979	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
15980	//    this worker type for memory-intensive jobs.
15981	//
15982	// Known issue: when a development endpoint is created with the G.2X WorkerType
15983	// configuration, the Spark drivers for the development endpoint will run on
15984	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
15985	WorkerType *string `type:"string" enum:"WorkerType"`
15986}
15987
15988// String returns the string representation
15989func (s CreateDevEndpointInput) String() string {
15990	return awsutil.Prettify(s)
15991}
15992
15993// GoString returns the string representation
15994func (s CreateDevEndpointInput) GoString() string {
15995	return s.String()
15996}
15997
15998// Validate inspects the fields of the type to determine if they are valid.
15999func (s *CreateDevEndpointInput) Validate() error {
16000	invalidParams := request.ErrInvalidParams{Context: "CreateDevEndpointInput"}
16001	if s.EndpointName == nil {
16002		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
16003	}
16004	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
16005		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
16006	}
16007	if s.RoleArn == nil {
16008		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
16009	}
16010	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
16011		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
16012	}
16013
16014	if invalidParams.Len() > 0 {
16015		return invalidParams
16016	}
16017	return nil
16018}
16019
16020// SetArguments sets the Arguments field's value.
16021func (s *CreateDevEndpointInput) SetArguments(v map[string]*string) *CreateDevEndpointInput {
16022	s.Arguments = v
16023	return s
16024}
16025
16026// SetEndpointName sets the EndpointName field's value.
16027func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput {
16028	s.EndpointName = &v
16029	return s
16030}
16031
16032// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
16033func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput {
16034	s.ExtraJarsS3Path = &v
16035	return s
16036}
16037
16038// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
16039func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput {
16040	s.ExtraPythonLibsS3Path = &v
16041	return s
16042}
16043
16044// SetGlueVersion sets the GlueVersion field's value.
16045func (s *CreateDevEndpointInput) SetGlueVersion(v string) *CreateDevEndpointInput {
16046	s.GlueVersion = &v
16047	return s
16048}
16049
16050// SetNumberOfNodes sets the NumberOfNodes field's value.
16051func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput {
16052	s.NumberOfNodes = &v
16053	return s
16054}
16055
16056// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16057func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput {
16058	s.NumberOfWorkers = &v
16059	return s
16060}
16061
16062// SetPublicKey sets the PublicKey field's value.
16063func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput {
16064	s.PublicKey = &v
16065	return s
16066}
16067
16068// SetPublicKeys sets the PublicKeys field's value.
16069func (s *CreateDevEndpointInput) SetPublicKeys(v []*string) *CreateDevEndpointInput {
16070	s.PublicKeys = v
16071	return s
16072}
16073
16074// SetRoleArn sets the RoleArn field's value.
16075func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput {
16076	s.RoleArn = &v
16077	return s
16078}
16079
16080// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16081func (s *CreateDevEndpointInput) SetSecurityConfiguration(v string) *CreateDevEndpointInput {
16082	s.SecurityConfiguration = &v
16083	return s
16084}
16085
16086// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16087func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []*string) *CreateDevEndpointInput {
16088	s.SecurityGroupIds = v
16089	return s
16090}
16091
16092// SetSubnetId sets the SubnetId field's value.
16093func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput {
16094	s.SubnetId = &v
16095	return s
16096}
16097
16098// SetTags sets the Tags field's value.
16099func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpointInput {
16100	s.Tags = v
16101	return s
16102}
16103
16104// SetWorkerType sets the WorkerType field's value.
16105func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput {
16106	s.WorkerType = &v
16107	return s
16108}
16109
16110type CreateDevEndpointOutput struct {
16111	_ struct{} `type:"structure"`
16112
16113	// The map of arguments used to configure this DevEndpoint.
16114	//
16115	// Valid arguments are:
16116	//
16117	//    * "--enable-glue-datacatalog": ""
16118	//
16119	//    * "GLUE_PYTHON_VERSION": "3"
16120	//
16121	//    * "GLUE_PYTHON_VERSION": "2"
16122	//
16123	// You can specify a version of Python support for development endpoints by
16124	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
16125	// APIs. If no arguments are provided, the version defaults to Python 2.
16126	Arguments map[string]*string `type:"map"`
16127
16128	// The AWS Availability Zone where this DevEndpoint is located.
16129	AvailabilityZone *string `type:"string"`
16130
16131	// The point in time at which this DevEndpoint was created.
16132	CreatedTimestamp *time.Time `type:"timestamp"`
16133
16134	// The name assigned to the new DevEndpoint.
16135	EndpointName *string `type:"string"`
16136
16137	// Path to one or more Java .jar files in an S3 bucket that will be loaded in
16138	// your DevEndpoint.
16139	ExtraJarsS3Path *string `type:"string"`
16140
16141	// The paths to one or more Python libraries in an S3 bucket that will be loaded
16142	// in your DevEndpoint.
16143	ExtraPythonLibsS3Path *string `type:"string"`
16144
16145	// The reason for a current failure in this DevEndpoint.
16146	FailureReason *string `type:"string"`
16147
16148	// Glue version determines the versions of Apache Spark and Python that AWS
16149	// Glue supports. The Python version indicates the version supported for running
16150	// your ETL scripts on development endpoints.
16151	GlueVersion *string `min:"1" type:"string"`
16152
16153	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
16154	NumberOfNodes *int64 `type:"integer"`
16155
16156	// The number of workers of a defined workerType that are allocated to the development
16157	// endpoint.
16158	NumberOfWorkers *int64 `type:"integer"`
16159
16160	// The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint.
16161	RoleArn *string `type:"string"`
16162
16163	// The name of the SecurityConfiguration structure being used with this DevEndpoint.
16164	SecurityConfiguration *string `min:"1" type:"string"`
16165
16166	// The security groups assigned to the new DevEndpoint.
16167	SecurityGroupIds []*string `type:"list"`
16168
16169	// The current status of the new DevEndpoint.
16170	Status *string `type:"string"`
16171
16172	// The subnet ID assigned to the new DevEndpoint.
16173	SubnetId *string `type:"string"`
16174
16175	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
16176	VpcId *string `type:"string"`
16177
16178	// The type of predefined worker that is allocated to the development endpoint.
16179	// May be a value of Standard, G.1X, or G.2X.
16180	WorkerType *string `type:"string" enum:"WorkerType"`
16181
16182	// The address of the YARN endpoint used by this DevEndpoint.
16183	YarnEndpointAddress *string `type:"string"`
16184
16185	// The Apache Zeppelin port for the remote Apache Spark interpreter.
16186	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
16187}
16188
16189// String returns the string representation
16190func (s CreateDevEndpointOutput) String() string {
16191	return awsutil.Prettify(s)
16192}
16193
16194// GoString returns the string representation
16195func (s CreateDevEndpointOutput) GoString() string {
16196	return s.String()
16197}
16198
16199// SetArguments sets the Arguments field's value.
16200func (s *CreateDevEndpointOutput) SetArguments(v map[string]*string) *CreateDevEndpointOutput {
16201	s.Arguments = v
16202	return s
16203}
16204
16205// SetAvailabilityZone sets the AvailabilityZone field's value.
16206func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput {
16207	s.AvailabilityZone = &v
16208	return s
16209}
16210
16211// SetCreatedTimestamp sets the CreatedTimestamp field's value.
16212func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput {
16213	s.CreatedTimestamp = &v
16214	return s
16215}
16216
16217// SetEndpointName sets the EndpointName field's value.
16218func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput {
16219	s.EndpointName = &v
16220	return s
16221}
16222
16223// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
16224func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput {
16225	s.ExtraJarsS3Path = &v
16226	return s
16227}
16228
16229// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
16230func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput {
16231	s.ExtraPythonLibsS3Path = &v
16232	return s
16233}
16234
16235// SetFailureReason sets the FailureReason field's value.
16236func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput {
16237	s.FailureReason = &v
16238	return s
16239}
16240
16241// SetGlueVersion sets the GlueVersion field's value.
16242func (s *CreateDevEndpointOutput) SetGlueVersion(v string) *CreateDevEndpointOutput {
16243	s.GlueVersion = &v
16244	return s
16245}
16246
16247// SetNumberOfNodes sets the NumberOfNodes field's value.
16248func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput {
16249	s.NumberOfNodes = &v
16250	return s
16251}
16252
16253// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16254func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput {
16255	s.NumberOfWorkers = &v
16256	return s
16257}
16258
16259// SetRoleArn sets the RoleArn field's value.
16260func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput {
16261	s.RoleArn = &v
16262	return s
16263}
16264
16265// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16266func (s *CreateDevEndpointOutput) SetSecurityConfiguration(v string) *CreateDevEndpointOutput {
16267	s.SecurityConfiguration = &v
16268	return s
16269}
16270
16271// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16272func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []*string) *CreateDevEndpointOutput {
16273	s.SecurityGroupIds = v
16274	return s
16275}
16276
16277// SetStatus sets the Status field's value.
16278func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput {
16279	s.Status = &v
16280	return s
16281}
16282
16283// SetSubnetId sets the SubnetId field's value.
16284func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput {
16285	s.SubnetId = &v
16286	return s
16287}
16288
16289// SetVpcId sets the VpcId field's value.
16290func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput {
16291	s.VpcId = &v
16292	return s
16293}
16294
16295// SetWorkerType sets the WorkerType field's value.
16296func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput {
16297	s.WorkerType = &v
16298	return s
16299}
16300
16301// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
16302func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput {
16303	s.YarnEndpointAddress = &v
16304	return s
16305}
16306
16307// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
16308func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput {
16309	s.ZeppelinRemoteSparkInterpreterPort = &v
16310	return s
16311}
16312
16313// Specifies a grok classifier for CreateClassifier to create.
16314type CreateGrokClassifierRequest struct {
16315	_ struct{} `type:"structure"`
16316
16317	// An identifier of the data format that the classifier matches, such as Twitter,
16318	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
16319	//
16320	// Classification is a required field
16321	Classification *string `type:"string" required:"true"`
16322
16323	// Optional custom grok patterns used by this classifier.
16324	CustomPatterns *string `type:"string"`
16325
16326	// The grok pattern used by this classifier.
16327	//
16328	// GrokPattern is a required field
16329	GrokPattern *string `min:"1" type:"string" required:"true"`
16330
16331	// The name of the new classifier.
16332	//
16333	// Name is a required field
16334	Name *string `min:"1" type:"string" required:"true"`
16335}
16336
16337// String returns the string representation
16338func (s CreateGrokClassifierRequest) String() string {
16339	return awsutil.Prettify(s)
16340}
16341
16342// GoString returns the string representation
16343func (s CreateGrokClassifierRequest) GoString() string {
16344	return s.String()
16345}
16346
16347// Validate inspects the fields of the type to determine if they are valid.
16348func (s *CreateGrokClassifierRequest) Validate() error {
16349	invalidParams := request.ErrInvalidParams{Context: "CreateGrokClassifierRequest"}
16350	if s.Classification == nil {
16351		invalidParams.Add(request.NewErrParamRequired("Classification"))
16352	}
16353	if s.GrokPattern == nil {
16354		invalidParams.Add(request.NewErrParamRequired("GrokPattern"))
16355	}
16356	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
16357		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
16358	}
16359	if s.Name == nil {
16360		invalidParams.Add(request.NewErrParamRequired("Name"))
16361	}
16362	if s.Name != nil && len(*s.Name) < 1 {
16363		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16364	}
16365
16366	if invalidParams.Len() > 0 {
16367		return invalidParams
16368	}
16369	return nil
16370}
16371
16372// SetClassification sets the Classification field's value.
16373func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest {
16374	s.Classification = &v
16375	return s
16376}
16377
16378// SetCustomPatterns sets the CustomPatterns field's value.
16379func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest {
16380	s.CustomPatterns = &v
16381	return s
16382}
16383
16384// SetGrokPattern sets the GrokPattern field's value.
16385func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest {
16386	s.GrokPattern = &v
16387	return s
16388}
16389
16390// SetName sets the Name field's value.
16391func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest {
16392	s.Name = &v
16393	return s
16394}
16395
16396type CreateJobInput struct {
16397	_ struct{} `type:"structure"`
16398
16399	// This parameter is deprecated. Use MaxCapacity instead.
16400	//
16401	// The number of AWS Glue data processing units (DPUs) to allocate to this Job.
16402	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
16403	// measure of processing power that consists of 4 vCPUs of compute capacity
16404	// and 16 GB of memory. For more information, see the AWS Glue pricing page
16405	// (https://aws.amazon.com/glue/pricing/).
16406	//
16407	// Deprecated: This property is deprecated, use MaxCapacity instead.
16408	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
16409
16410	// The JobCommand that executes this job.
16411	//
16412	// Command is a required field
16413	Command *JobCommand `type:"structure" required:"true"`
16414
16415	// The connections used for this job.
16416	Connections *ConnectionsList `type:"structure"`
16417
16418	// The default arguments for this job.
16419	//
16420	// You can specify arguments here that your own job-execution script consumes,
16421	// as well as arguments that AWS Glue itself consumes.
16422	//
16423	// For information about how to specify and consume your own Job arguments,
16424	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
16425	// topic in the developer guide.
16426	//
16427	// For information about the key-value pairs that AWS Glue consumes to set up
16428	// 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)
16429	// topic in the developer guide.
16430	DefaultArguments map[string]*string `type:"map"`
16431
16432	// Description of the job being defined.
16433	Description *string `type:"string"`
16434
16435	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
16436	// for this job.
16437	ExecutionProperty *ExecutionProperty `type:"structure"`
16438
16439	// Glue version determines the versions of Apache Spark and Python that AWS
16440	// Glue supports. The Python version indicates the version supported for jobs
16441	// of type Spark.
16442	//
16443	// For more information about the available AWS Glue versions and corresponding
16444	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
16445	// in the developer guide.
16446	//
16447	// Jobs that are created without specifying a Glue version default to Glue 0.9.
16448	GlueVersion *string `min:"1" type:"string"`
16449
16450	// This field is reserved for future use.
16451	LogUri *string `type:"string"`
16452
16453	// The number of AWS Glue data processing units (DPUs) that can be allocated
16454	// when this job runs. A DPU is a relative measure of processing power that
16455	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
16456	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
16457	//
16458	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
16459	//
16460	// The value that can be allocated for MaxCapacity depends on whether you are
16461	// running a Python shell job or an Apache Spark ETL job:
16462	//
16463	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
16464	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
16465	//
16466	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
16467	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
16468	//    type cannot have a fractional DPU allocation.
16469	MaxCapacity *float64 `type:"double"`
16470
16471	// The maximum number of times to retry this job if it fails.
16472	MaxRetries *int64 `type:"integer"`
16473
16474	// The name you assign to this job definition. It must be unique in your account.
16475	//
16476	// Name is a required field
16477	Name *string `min:"1" type:"string" required:"true"`
16478
16479	// Specifies configuration properties of a job notification.
16480	NotificationProperty *NotificationProperty `type:"structure"`
16481
16482	// The number of workers of a defined workerType that are allocated when a job
16483	// runs.
16484	//
16485	// The maximum number of workers you can define are 299 for G.1X, and 149 for
16486	// G.2X.
16487	NumberOfWorkers *int64 `type:"integer"`
16488
16489	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
16490	// job.
16491	//
16492	// Role is a required field
16493	Role *string `type:"string" required:"true"`
16494
16495	// The name of the SecurityConfiguration structure to be used with this job.
16496	SecurityConfiguration *string `min:"1" type:"string"`
16497
16498	// The tags to use with this job. You may use tags to limit access to the job.
16499	// 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)
16500	// in the developer guide.
16501	Tags map[string]*string `type:"map"`
16502
16503	// The job timeout in minutes. This is the maximum time that a job run can consume
16504	// resources before it is terminated and enters TIMEOUT status. The default
16505	// is 2,880 minutes (48 hours).
16506	Timeout *int64 `min:"1" type:"integer"`
16507
16508	// The type of predefined worker that is allocated when a job runs. Accepts
16509	// a value of Standard, G.1X, or G.2X.
16510	//
16511	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
16512	//    memory and a 50GB disk, and 2 executors per worker.
16513	//
16514	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
16515	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
16516	//    this worker type for memory-intensive jobs.
16517	//
16518	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
16519	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
16520	//    this worker type for memory-intensive jobs.
16521	WorkerType *string `type:"string" enum:"WorkerType"`
16522}
16523
16524// String returns the string representation
16525func (s CreateJobInput) String() string {
16526	return awsutil.Prettify(s)
16527}
16528
16529// GoString returns the string representation
16530func (s CreateJobInput) GoString() string {
16531	return s.String()
16532}
16533
16534// Validate inspects the fields of the type to determine if they are valid.
16535func (s *CreateJobInput) Validate() error {
16536	invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"}
16537	if s.Command == nil {
16538		invalidParams.Add(request.NewErrParamRequired("Command"))
16539	}
16540	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
16541		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
16542	}
16543	if s.Name == nil {
16544		invalidParams.Add(request.NewErrParamRequired("Name"))
16545	}
16546	if s.Name != nil && len(*s.Name) < 1 {
16547		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16548	}
16549	if s.Role == nil {
16550		invalidParams.Add(request.NewErrParamRequired("Role"))
16551	}
16552	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
16553		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
16554	}
16555	if s.Timeout != nil && *s.Timeout < 1 {
16556		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
16557	}
16558	if s.NotificationProperty != nil {
16559		if err := s.NotificationProperty.Validate(); err != nil {
16560			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
16561		}
16562	}
16563
16564	if invalidParams.Len() > 0 {
16565		return invalidParams
16566	}
16567	return nil
16568}
16569
16570// SetAllocatedCapacity sets the AllocatedCapacity field's value.
16571func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput {
16572	s.AllocatedCapacity = &v
16573	return s
16574}
16575
16576// SetCommand sets the Command field's value.
16577func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput {
16578	s.Command = v
16579	return s
16580}
16581
16582// SetConnections sets the Connections field's value.
16583func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput {
16584	s.Connections = v
16585	return s
16586}
16587
16588// SetDefaultArguments sets the DefaultArguments field's value.
16589func (s *CreateJobInput) SetDefaultArguments(v map[string]*string) *CreateJobInput {
16590	s.DefaultArguments = v
16591	return s
16592}
16593
16594// SetDescription sets the Description field's value.
16595func (s *CreateJobInput) SetDescription(v string) *CreateJobInput {
16596	s.Description = &v
16597	return s
16598}
16599
16600// SetExecutionProperty sets the ExecutionProperty field's value.
16601func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput {
16602	s.ExecutionProperty = v
16603	return s
16604}
16605
16606// SetGlueVersion sets the GlueVersion field's value.
16607func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput {
16608	s.GlueVersion = &v
16609	return s
16610}
16611
16612// SetLogUri sets the LogUri field's value.
16613func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput {
16614	s.LogUri = &v
16615	return s
16616}
16617
16618// SetMaxCapacity sets the MaxCapacity field's value.
16619func (s *CreateJobInput) SetMaxCapacity(v float64) *CreateJobInput {
16620	s.MaxCapacity = &v
16621	return s
16622}
16623
16624// SetMaxRetries sets the MaxRetries field's value.
16625func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput {
16626	s.MaxRetries = &v
16627	return s
16628}
16629
16630// SetName sets the Name field's value.
16631func (s *CreateJobInput) SetName(v string) *CreateJobInput {
16632	s.Name = &v
16633	return s
16634}
16635
16636// SetNotificationProperty sets the NotificationProperty field's value.
16637func (s *CreateJobInput) SetNotificationProperty(v *NotificationProperty) *CreateJobInput {
16638	s.NotificationProperty = v
16639	return s
16640}
16641
16642// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16643func (s *CreateJobInput) SetNumberOfWorkers(v int64) *CreateJobInput {
16644	s.NumberOfWorkers = &v
16645	return s
16646}
16647
16648// SetRole sets the Role field's value.
16649func (s *CreateJobInput) SetRole(v string) *CreateJobInput {
16650	s.Role = &v
16651	return s
16652}
16653
16654// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16655func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput {
16656	s.SecurityConfiguration = &v
16657	return s
16658}
16659
16660// SetTags sets the Tags field's value.
16661func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput {
16662	s.Tags = v
16663	return s
16664}
16665
16666// SetTimeout sets the Timeout field's value.
16667func (s *CreateJobInput) SetTimeout(v int64) *CreateJobInput {
16668	s.Timeout = &v
16669	return s
16670}
16671
16672// SetWorkerType sets the WorkerType field's value.
16673func (s *CreateJobInput) SetWorkerType(v string) *CreateJobInput {
16674	s.WorkerType = &v
16675	return s
16676}
16677
16678type CreateJobOutput struct {
16679	_ struct{} `type:"structure"`
16680
16681	// The unique name that was provided for this job definition.
16682	Name *string `min:"1" type:"string"`
16683}
16684
16685// String returns the string representation
16686func (s CreateJobOutput) String() string {
16687	return awsutil.Prettify(s)
16688}
16689
16690// GoString returns the string representation
16691func (s CreateJobOutput) GoString() string {
16692	return s.String()
16693}
16694
16695// SetName sets the Name field's value.
16696func (s *CreateJobOutput) SetName(v string) *CreateJobOutput {
16697	s.Name = &v
16698	return s
16699}
16700
16701// Specifies a JSON classifier for CreateClassifier to create.
16702type CreateJsonClassifierRequest struct {
16703	_ struct{} `type:"structure"`
16704
16705	// A JsonPath string defining the JSON data for the classifier to classify.
16706	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
16707	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
16708	//
16709	// JsonPath is a required field
16710	JsonPath *string `type:"string" required:"true"`
16711
16712	// The name of the classifier.
16713	//
16714	// Name is a required field
16715	Name *string `min:"1" type:"string" required:"true"`
16716}
16717
16718// String returns the string representation
16719func (s CreateJsonClassifierRequest) String() string {
16720	return awsutil.Prettify(s)
16721}
16722
16723// GoString returns the string representation
16724func (s CreateJsonClassifierRequest) GoString() string {
16725	return s.String()
16726}
16727
16728// Validate inspects the fields of the type to determine if they are valid.
16729func (s *CreateJsonClassifierRequest) Validate() error {
16730	invalidParams := request.ErrInvalidParams{Context: "CreateJsonClassifierRequest"}
16731	if s.JsonPath == nil {
16732		invalidParams.Add(request.NewErrParamRequired("JsonPath"))
16733	}
16734	if s.Name == nil {
16735		invalidParams.Add(request.NewErrParamRequired("Name"))
16736	}
16737	if s.Name != nil && len(*s.Name) < 1 {
16738		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16739	}
16740
16741	if invalidParams.Len() > 0 {
16742		return invalidParams
16743	}
16744	return nil
16745}
16746
16747// SetJsonPath sets the JsonPath field's value.
16748func (s *CreateJsonClassifierRequest) SetJsonPath(v string) *CreateJsonClassifierRequest {
16749	s.JsonPath = &v
16750	return s
16751}
16752
16753// SetName sets the Name field's value.
16754func (s *CreateJsonClassifierRequest) SetName(v string) *CreateJsonClassifierRequest {
16755	s.Name = &v
16756	return s
16757}
16758
16759type CreateMLTransformInput struct {
16760	_ struct{} `type:"structure"`
16761
16762	// A description of the machine learning transform that is being defined. The
16763	// default is an empty string.
16764	Description *string `type:"string"`
16765
16766	// This value determines which version of AWS Glue this machine learning transform
16767	// is compatible with. Glue 1.0 is recommended for most customers. If the value
16768	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
16769	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
16770	// in the developer guide.
16771	GlueVersion *string `min:"1" type:"string"`
16772
16773	// A list of AWS Glue table definitions used by the transform.
16774	//
16775	// InputRecordTables is a required field
16776	InputRecordTables []*Table `type:"list" required:"true"`
16777
16778	// The number of AWS Glue data processing units (DPUs) that are allocated to
16779	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
16780	// is 10. A DPU is a relative measure of processing power that consists of 4
16781	// vCPUs of compute capacity and 16 GB of memory. For more information, see
16782	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
16783	//
16784	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
16785	//
16786	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
16787	//    be set.
16788	//
16789	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
16790	//    be set.
16791	//
16792	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
16793	//
16794	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
16795	//
16796	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
16797	// field is set automatically and becomes read-only.
16798	//
16799	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
16800	// field is set automatically and becomes read-only.
16801	MaxCapacity *float64 `type:"double"`
16802
16803	// The maximum number of times to retry a task for this transform after a task
16804	// run fails.
16805	MaxRetries *int64 `type:"integer"`
16806
16807	// The unique name that you give the transform when you create it.
16808	//
16809	// Name is a required field
16810	Name *string `min:"1" type:"string" required:"true"`
16811
16812	// The number of workers of a defined workerType that are allocated when this
16813	// task runs.
16814	//
16815	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
16816	NumberOfWorkers *int64 `type:"integer"`
16817
16818	// The algorithmic parameters that are specific to the transform type used.
16819	// Conditionally dependent on the transform type.
16820	//
16821	// Parameters is a required field
16822	Parameters *TransformParameters `type:"structure" required:"true"`
16823
16824	// The name or Amazon Resource Name (ARN) of the IAM role with the required
16825	// permissions. The required permissions include both AWS Glue service role
16826	// permissions to AWS Glue resources, and Amazon S3 permissions required by
16827	// the transform.
16828	//
16829	//    * This role needs AWS Glue service role permissions to allow access to
16830	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
16831	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
16832	//
16833	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
16834	//    S3) sources, targets, temporary directory, scripts, and any libraries
16835	//    used by the task run for this transform.
16836	//
16837	// Role is a required field
16838	Role *string `type:"string" required:"true"`
16839
16840	// The timeout of the task run for this transform in minutes. This is the maximum
16841	// time that a task run for this transform can consume resources before it is
16842	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
16843	Timeout *int64 `min:"1" type:"integer"`
16844
16845	// The type of predefined worker that is allocated when this task runs. Accepts
16846	// a value of Standard, G.1X, or G.2X.
16847	//
16848	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
16849	//    memory and a 50GB disk, and 2 executors per worker.
16850	//
16851	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
16852	//    and a 64GB disk, and 1 executor per worker.
16853	//
16854	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
16855	//    and a 128GB disk, and 1 executor per worker.
16856	//
16857	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
16858	//
16859	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
16860	//    be set.
16861	//
16862	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
16863	//    be set.
16864	//
16865	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
16866	//
16867	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
16868	WorkerType *string `type:"string" enum:"WorkerType"`
16869}
16870
16871// String returns the string representation
16872func (s CreateMLTransformInput) String() string {
16873	return awsutil.Prettify(s)
16874}
16875
16876// GoString returns the string representation
16877func (s CreateMLTransformInput) GoString() string {
16878	return s.String()
16879}
16880
16881// Validate inspects the fields of the type to determine if they are valid.
16882func (s *CreateMLTransformInput) Validate() error {
16883	invalidParams := request.ErrInvalidParams{Context: "CreateMLTransformInput"}
16884	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
16885		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
16886	}
16887	if s.InputRecordTables == nil {
16888		invalidParams.Add(request.NewErrParamRequired("InputRecordTables"))
16889	}
16890	if s.Name == nil {
16891		invalidParams.Add(request.NewErrParamRequired("Name"))
16892	}
16893	if s.Name != nil && len(*s.Name) < 1 {
16894		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16895	}
16896	if s.Parameters == nil {
16897		invalidParams.Add(request.NewErrParamRequired("Parameters"))
16898	}
16899	if s.Role == nil {
16900		invalidParams.Add(request.NewErrParamRequired("Role"))
16901	}
16902	if s.Timeout != nil && *s.Timeout < 1 {
16903		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
16904	}
16905	if s.InputRecordTables != nil {
16906		for i, v := range s.InputRecordTables {
16907			if v == nil {
16908				continue
16909			}
16910			if err := v.Validate(); err != nil {
16911				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputRecordTables", i), err.(request.ErrInvalidParams))
16912			}
16913		}
16914	}
16915	if s.Parameters != nil {
16916		if err := s.Parameters.Validate(); err != nil {
16917			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
16918		}
16919	}
16920
16921	if invalidParams.Len() > 0 {
16922		return invalidParams
16923	}
16924	return nil
16925}
16926
16927// SetDescription sets the Description field's value.
16928func (s *CreateMLTransformInput) SetDescription(v string) *CreateMLTransformInput {
16929	s.Description = &v
16930	return s
16931}
16932
16933// SetGlueVersion sets the GlueVersion field's value.
16934func (s *CreateMLTransformInput) SetGlueVersion(v string) *CreateMLTransformInput {
16935	s.GlueVersion = &v
16936	return s
16937}
16938
16939// SetInputRecordTables sets the InputRecordTables field's value.
16940func (s *CreateMLTransformInput) SetInputRecordTables(v []*Table) *CreateMLTransformInput {
16941	s.InputRecordTables = v
16942	return s
16943}
16944
16945// SetMaxCapacity sets the MaxCapacity field's value.
16946func (s *CreateMLTransformInput) SetMaxCapacity(v float64) *CreateMLTransformInput {
16947	s.MaxCapacity = &v
16948	return s
16949}
16950
16951// SetMaxRetries sets the MaxRetries field's value.
16952func (s *CreateMLTransformInput) SetMaxRetries(v int64) *CreateMLTransformInput {
16953	s.MaxRetries = &v
16954	return s
16955}
16956
16957// SetName sets the Name field's value.
16958func (s *CreateMLTransformInput) SetName(v string) *CreateMLTransformInput {
16959	s.Name = &v
16960	return s
16961}
16962
16963// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16964func (s *CreateMLTransformInput) SetNumberOfWorkers(v int64) *CreateMLTransformInput {
16965	s.NumberOfWorkers = &v
16966	return s
16967}
16968
16969// SetParameters sets the Parameters field's value.
16970func (s *CreateMLTransformInput) SetParameters(v *TransformParameters) *CreateMLTransformInput {
16971	s.Parameters = v
16972	return s
16973}
16974
16975// SetRole sets the Role field's value.
16976func (s *CreateMLTransformInput) SetRole(v string) *CreateMLTransformInput {
16977	s.Role = &v
16978	return s
16979}
16980
16981// SetTimeout sets the Timeout field's value.
16982func (s *CreateMLTransformInput) SetTimeout(v int64) *CreateMLTransformInput {
16983	s.Timeout = &v
16984	return s
16985}
16986
16987// SetWorkerType sets the WorkerType field's value.
16988func (s *CreateMLTransformInput) SetWorkerType(v string) *CreateMLTransformInput {
16989	s.WorkerType = &v
16990	return s
16991}
16992
16993type CreateMLTransformOutput struct {
16994	_ struct{} `type:"structure"`
16995
16996	// A unique identifier that is generated for the transform.
16997	TransformId *string `min:"1" type:"string"`
16998}
16999
17000// String returns the string representation
17001func (s CreateMLTransformOutput) String() string {
17002	return awsutil.Prettify(s)
17003}
17004
17005// GoString returns the string representation
17006func (s CreateMLTransformOutput) GoString() string {
17007	return s.String()
17008}
17009
17010// SetTransformId sets the TransformId field's value.
17011func (s *CreateMLTransformOutput) SetTransformId(v string) *CreateMLTransformOutput {
17012	s.TransformId = &v
17013	return s
17014}
17015
17016type CreatePartitionInput struct {
17017	_ struct{} `type:"structure"`
17018
17019	// The AWS account ID of the catalog in which the partition is to be created.
17020	CatalogId *string `min:"1" type:"string"`
17021
17022	// The name of the metadata database in which the partition is to be created.
17023	//
17024	// DatabaseName is a required field
17025	DatabaseName *string `min:"1" type:"string" required:"true"`
17026
17027	// A PartitionInput structure defining the partition to be created.
17028	//
17029	// PartitionInput is a required field
17030	PartitionInput *PartitionInput `type:"structure" required:"true"`
17031
17032	// The name of the metadata table in which the partition is to be created.
17033	//
17034	// TableName is a required field
17035	TableName *string `min:"1" type:"string" required:"true"`
17036}
17037
17038// String returns the string representation
17039func (s CreatePartitionInput) String() string {
17040	return awsutil.Prettify(s)
17041}
17042
17043// GoString returns the string representation
17044func (s CreatePartitionInput) GoString() string {
17045	return s.String()
17046}
17047
17048// Validate inspects the fields of the type to determine if they are valid.
17049func (s *CreatePartitionInput) Validate() error {
17050	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"}
17051	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17052		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17053	}
17054	if s.DatabaseName == nil {
17055		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17056	}
17057	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17058		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17059	}
17060	if s.PartitionInput == nil {
17061		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
17062	}
17063	if s.TableName == nil {
17064		invalidParams.Add(request.NewErrParamRequired("TableName"))
17065	}
17066	if s.TableName != nil && len(*s.TableName) < 1 {
17067		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
17068	}
17069	if s.PartitionInput != nil {
17070		if err := s.PartitionInput.Validate(); err != nil {
17071			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
17072		}
17073	}
17074
17075	if invalidParams.Len() > 0 {
17076		return invalidParams
17077	}
17078	return nil
17079}
17080
17081// SetCatalogId sets the CatalogId field's value.
17082func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput {
17083	s.CatalogId = &v
17084	return s
17085}
17086
17087// SetDatabaseName sets the DatabaseName field's value.
17088func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput {
17089	s.DatabaseName = &v
17090	return s
17091}
17092
17093// SetPartitionInput sets the PartitionInput field's value.
17094func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput {
17095	s.PartitionInput = v
17096	return s
17097}
17098
17099// SetTableName sets the TableName field's value.
17100func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput {
17101	s.TableName = &v
17102	return s
17103}
17104
17105type CreatePartitionOutput struct {
17106	_ struct{} `type:"structure"`
17107}
17108
17109// String returns the string representation
17110func (s CreatePartitionOutput) String() string {
17111	return awsutil.Prettify(s)
17112}
17113
17114// GoString returns the string representation
17115func (s CreatePartitionOutput) GoString() string {
17116	return s.String()
17117}
17118
17119type CreateScriptInput struct {
17120	_ struct{} `type:"structure"`
17121
17122	// A list of the edges in the DAG.
17123	DagEdges []*CodeGenEdge `type:"list"`
17124
17125	// A list of the nodes in the DAG.
17126	DagNodes []*CodeGenNode `type:"list"`
17127
17128	// The programming language of the resulting code from the DAG.
17129	Language *string `type:"string" enum:"Language"`
17130}
17131
17132// String returns the string representation
17133func (s CreateScriptInput) String() string {
17134	return awsutil.Prettify(s)
17135}
17136
17137// GoString returns the string representation
17138func (s CreateScriptInput) GoString() string {
17139	return s.String()
17140}
17141
17142// Validate inspects the fields of the type to determine if they are valid.
17143func (s *CreateScriptInput) Validate() error {
17144	invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"}
17145	if s.DagEdges != nil {
17146		for i, v := range s.DagEdges {
17147			if v == nil {
17148				continue
17149			}
17150			if err := v.Validate(); err != nil {
17151				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams))
17152			}
17153		}
17154	}
17155	if s.DagNodes != nil {
17156		for i, v := range s.DagNodes {
17157			if v == nil {
17158				continue
17159			}
17160			if err := v.Validate(); err != nil {
17161				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams))
17162			}
17163		}
17164	}
17165
17166	if invalidParams.Len() > 0 {
17167		return invalidParams
17168	}
17169	return nil
17170}
17171
17172// SetDagEdges sets the DagEdges field's value.
17173func (s *CreateScriptInput) SetDagEdges(v []*CodeGenEdge) *CreateScriptInput {
17174	s.DagEdges = v
17175	return s
17176}
17177
17178// SetDagNodes sets the DagNodes field's value.
17179func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput {
17180	s.DagNodes = v
17181	return s
17182}
17183
17184// SetLanguage sets the Language field's value.
17185func (s *CreateScriptInput) SetLanguage(v string) *CreateScriptInput {
17186	s.Language = &v
17187	return s
17188}
17189
17190type CreateScriptOutput struct {
17191	_ struct{} `type:"structure"`
17192
17193	// The Python script generated from the DAG.
17194	PythonScript *string `type:"string"`
17195
17196	// The Scala code generated from the DAG.
17197	ScalaCode *string `type:"string"`
17198}
17199
17200// String returns the string representation
17201func (s CreateScriptOutput) String() string {
17202	return awsutil.Prettify(s)
17203}
17204
17205// GoString returns the string representation
17206func (s CreateScriptOutput) GoString() string {
17207	return s.String()
17208}
17209
17210// SetPythonScript sets the PythonScript field's value.
17211func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput {
17212	s.PythonScript = &v
17213	return s
17214}
17215
17216// SetScalaCode sets the ScalaCode field's value.
17217func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput {
17218	s.ScalaCode = &v
17219	return s
17220}
17221
17222type CreateSecurityConfigurationInput struct {
17223	_ struct{} `type:"structure"`
17224
17225	// The encryption configuration for the new security configuration.
17226	//
17227	// EncryptionConfiguration is a required field
17228	EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
17229
17230	// The name for the new security configuration.
17231	//
17232	// Name is a required field
17233	Name *string `min:"1" type:"string" required:"true"`
17234}
17235
17236// String returns the string representation
17237func (s CreateSecurityConfigurationInput) String() string {
17238	return awsutil.Prettify(s)
17239}
17240
17241// GoString returns the string representation
17242func (s CreateSecurityConfigurationInput) GoString() string {
17243	return s.String()
17244}
17245
17246// Validate inspects the fields of the type to determine if they are valid.
17247func (s *CreateSecurityConfigurationInput) Validate() error {
17248	invalidParams := request.ErrInvalidParams{Context: "CreateSecurityConfigurationInput"}
17249	if s.EncryptionConfiguration == nil {
17250		invalidParams.Add(request.NewErrParamRequired("EncryptionConfiguration"))
17251	}
17252	if s.Name == nil {
17253		invalidParams.Add(request.NewErrParamRequired("Name"))
17254	}
17255	if s.Name != nil && len(*s.Name) < 1 {
17256		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17257	}
17258
17259	if invalidParams.Len() > 0 {
17260		return invalidParams
17261	}
17262	return nil
17263}
17264
17265// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
17266func (s *CreateSecurityConfigurationInput) SetEncryptionConfiguration(v *EncryptionConfiguration) *CreateSecurityConfigurationInput {
17267	s.EncryptionConfiguration = v
17268	return s
17269}
17270
17271// SetName sets the Name field's value.
17272func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput {
17273	s.Name = &v
17274	return s
17275}
17276
17277type CreateSecurityConfigurationOutput struct {
17278	_ struct{} `type:"structure"`
17279
17280	// The time at which the new security configuration was created.
17281	CreatedTimestamp *time.Time `type:"timestamp"`
17282
17283	// The name assigned to the new security configuration.
17284	Name *string `min:"1" type:"string"`
17285}
17286
17287// String returns the string representation
17288func (s CreateSecurityConfigurationOutput) String() string {
17289	return awsutil.Prettify(s)
17290}
17291
17292// GoString returns the string representation
17293func (s CreateSecurityConfigurationOutput) GoString() string {
17294	return s.String()
17295}
17296
17297// SetCreatedTimestamp sets the CreatedTimestamp field's value.
17298func (s *CreateSecurityConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateSecurityConfigurationOutput {
17299	s.CreatedTimestamp = &v
17300	return s
17301}
17302
17303// SetName sets the Name field's value.
17304func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput {
17305	s.Name = &v
17306	return s
17307}
17308
17309type CreateTableInput struct {
17310	_ struct{} `type:"structure"`
17311
17312	// The ID of the Data Catalog in which to create the Table. If none is supplied,
17313	// the AWS account ID is used by default.
17314	CatalogId *string `min:"1" type:"string"`
17315
17316	// The catalog database in which to create the new table. For Hive compatibility,
17317	// this name is entirely lowercase.
17318	//
17319	// DatabaseName is a required field
17320	DatabaseName *string `min:"1" type:"string" required:"true"`
17321
17322	// The TableInput object that defines the metadata table to create in the catalog.
17323	//
17324	// TableInput is a required field
17325	TableInput *TableInput `type:"structure" required:"true"`
17326}
17327
17328// String returns the string representation
17329func (s CreateTableInput) String() string {
17330	return awsutil.Prettify(s)
17331}
17332
17333// GoString returns the string representation
17334func (s CreateTableInput) GoString() string {
17335	return s.String()
17336}
17337
17338// Validate inspects the fields of the type to determine if they are valid.
17339func (s *CreateTableInput) Validate() error {
17340	invalidParams := request.ErrInvalidParams{Context: "CreateTableInput"}
17341	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17342		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17343	}
17344	if s.DatabaseName == nil {
17345		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17346	}
17347	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17348		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17349	}
17350	if s.TableInput == nil {
17351		invalidParams.Add(request.NewErrParamRequired("TableInput"))
17352	}
17353	if s.TableInput != nil {
17354		if err := s.TableInput.Validate(); err != nil {
17355			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
17356		}
17357	}
17358
17359	if invalidParams.Len() > 0 {
17360		return invalidParams
17361	}
17362	return nil
17363}
17364
17365// SetCatalogId sets the CatalogId field's value.
17366func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput {
17367	s.CatalogId = &v
17368	return s
17369}
17370
17371// SetDatabaseName sets the DatabaseName field's value.
17372func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput {
17373	s.DatabaseName = &v
17374	return s
17375}
17376
17377// SetTableInput sets the TableInput field's value.
17378func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput {
17379	s.TableInput = v
17380	return s
17381}
17382
17383type CreateTableOutput struct {
17384	_ struct{} `type:"structure"`
17385}
17386
17387// String returns the string representation
17388func (s CreateTableOutput) String() string {
17389	return awsutil.Prettify(s)
17390}
17391
17392// GoString returns the string representation
17393func (s CreateTableOutput) GoString() string {
17394	return s.String()
17395}
17396
17397type CreateTriggerInput struct {
17398	_ struct{} `type:"structure"`
17399
17400	// The actions initiated by this trigger when it fires.
17401	//
17402	// Actions is a required field
17403	Actions []*Action `type:"list" required:"true"`
17404
17405	// A description of the new trigger.
17406	Description *string `type:"string"`
17407
17408	// The name of the trigger.
17409	//
17410	// Name is a required field
17411	Name *string `min:"1" type:"string" required:"true"`
17412
17413	// A predicate to specify when the new trigger should fire.
17414	//
17415	// This field is required when the trigger type is CONDITIONAL.
17416	Predicate *Predicate `type:"structure"`
17417
17418	// A cron expression used to specify the schedule (see Time-Based Schedules
17419	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
17420	// For example, to run something every day at 12:15 UTC, you would specify:
17421	// cron(15 12 * * ? *).
17422	//
17423	// This field is required when the trigger type is SCHEDULED.
17424	Schedule *string `type:"string"`
17425
17426	// Set to true to start SCHEDULED and CONDITIONAL triggers when created. True
17427	// is not supported for ON_DEMAND triggers.
17428	StartOnCreation *bool `type:"boolean"`
17429
17430	// The tags to use with this trigger. You may use tags to limit access to the
17431	// trigger. For more information about tags in AWS Glue, see AWS Tags in AWS
17432	// Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the
17433	// developer guide.
17434	Tags map[string]*string `type:"map"`
17435
17436	// The type of the new trigger.
17437	//
17438	// Type is a required field
17439	Type *string `type:"string" required:"true" enum:"TriggerType"`
17440
17441	// The name of the workflow associated with the trigger.
17442	WorkflowName *string `min:"1" type:"string"`
17443}
17444
17445// String returns the string representation
17446func (s CreateTriggerInput) String() string {
17447	return awsutil.Prettify(s)
17448}
17449
17450// GoString returns the string representation
17451func (s CreateTriggerInput) GoString() string {
17452	return s.String()
17453}
17454
17455// Validate inspects the fields of the type to determine if they are valid.
17456func (s *CreateTriggerInput) Validate() error {
17457	invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"}
17458	if s.Actions == nil {
17459		invalidParams.Add(request.NewErrParamRequired("Actions"))
17460	}
17461	if s.Name == nil {
17462		invalidParams.Add(request.NewErrParamRequired("Name"))
17463	}
17464	if s.Name != nil && len(*s.Name) < 1 {
17465		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17466	}
17467	if s.Type == nil {
17468		invalidParams.Add(request.NewErrParamRequired("Type"))
17469	}
17470	if s.WorkflowName != nil && len(*s.WorkflowName) < 1 {
17471		invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1))
17472	}
17473	if s.Actions != nil {
17474		for i, v := range s.Actions {
17475			if v == nil {
17476				continue
17477			}
17478			if err := v.Validate(); err != nil {
17479				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
17480			}
17481		}
17482	}
17483	if s.Predicate != nil {
17484		if err := s.Predicate.Validate(); err != nil {
17485			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
17486		}
17487	}
17488
17489	if invalidParams.Len() > 0 {
17490		return invalidParams
17491	}
17492	return nil
17493}
17494
17495// SetActions sets the Actions field's value.
17496func (s *CreateTriggerInput) SetActions(v []*Action) *CreateTriggerInput {
17497	s.Actions = v
17498	return s
17499}
17500
17501// SetDescription sets the Description field's value.
17502func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput {
17503	s.Description = &v
17504	return s
17505}
17506
17507// SetName sets the Name field's value.
17508func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput {
17509	s.Name = &v
17510	return s
17511}
17512
17513// SetPredicate sets the Predicate field's value.
17514func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput {
17515	s.Predicate = v
17516	return s
17517}
17518
17519// SetSchedule sets the Schedule field's value.
17520func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput {
17521	s.Schedule = &v
17522	return s
17523}
17524
17525// SetStartOnCreation sets the StartOnCreation field's value.
17526func (s *CreateTriggerInput) SetStartOnCreation(v bool) *CreateTriggerInput {
17527	s.StartOnCreation = &v
17528	return s
17529}
17530
17531// SetTags sets the Tags field's value.
17532func (s *CreateTriggerInput) SetTags(v map[string]*string) *CreateTriggerInput {
17533	s.Tags = v
17534	return s
17535}
17536
17537// SetType sets the Type field's value.
17538func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput {
17539	s.Type = &v
17540	return s
17541}
17542
17543// SetWorkflowName sets the WorkflowName field's value.
17544func (s *CreateTriggerInput) SetWorkflowName(v string) *CreateTriggerInput {
17545	s.WorkflowName = &v
17546	return s
17547}
17548
17549type CreateTriggerOutput struct {
17550	_ struct{} `type:"structure"`
17551
17552	// The name of the trigger.
17553	Name *string `min:"1" type:"string"`
17554}
17555
17556// String returns the string representation
17557func (s CreateTriggerOutput) String() string {
17558	return awsutil.Prettify(s)
17559}
17560
17561// GoString returns the string representation
17562func (s CreateTriggerOutput) GoString() string {
17563	return s.String()
17564}
17565
17566// SetName sets the Name field's value.
17567func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput {
17568	s.Name = &v
17569	return s
17570}
17571
17572type CreateUserDefinedFunctionInput struct {
17573	_ struct{} `type:"structure"`
17574
17575	// The ID of the Data Catalog in which to create the function. If none is provided,
17576	// the AWS account ID is used by default.
17577	CatalogId *string `min:"1" type:"string"`
17578
17579	// The name of the catalog database in which to create the function.
17580	//
17581	// DatabaseName is a required field
17582	DatabaseName *string `min:"1" type:"string" required:"true"`
17583
17584	// A FunctionInput object that defines the function to create in the Data Catalog.
17585	//
17586	// FunctionInput is a required field
17587	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
17588}
17589
17590// String returns the string representation
17591func (s CreateUserDefinedFunctionInput) String() string {
17592	return awsutil.Prettify(s)
17593}
17594
17595// GoString returns the string representation
17596func (s CreateUserDefinedFunctionInput) GoString() string {
17597	return s.String()
17598}
17599
17600// Validate inspects the fields of the type to determine if they are valid.
17601func (s *CreateUserDefinedFunctionInput) Validate() error {
17602	invalidParams := request.ErrInvalidParams{Context: "CreateUserDefinedFunctionInput"}
17603	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17604		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17605	}
17606	if s.DatabaseName == nil {
17607		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17608	}
17609	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17610		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17611	}
17612	if s.FunctionInput == nil {
17613		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
17614	}
17615	if s.FunctionInput != nil {
17616		if err := s.FunctionInput.Validate(); err != nil {
17617			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
17618		}
17619	}
17620
17621	if invalidParams.Len() > 0 {
17622		return invalidParams
17623	}
17624	return nil
17625}
17626
17627// SetCatalogId sets the CatalogId field's value.
17628func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput {
17629	s.CatalogId = &v
17630	return s
17631}
17632
17633// SetDatabaseName sets the DatabaseName field's value.
17634func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput {
17635	s.DatabaseName = &v
17636	return s
17637}
17638
17639// SetFunctionInput sets the FunctionInput field's value.
17640func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput {
17641	s.FunctionInput = v
17642	return s
17643}
17644
17645type CreateUserDefinedFunctionOutput struct {
17646	_ struct{} `type:"structure"`
17647}
17648
17649// String returns the string representation
17650func (s CreateUserDefinedFunctionOutput) String() string {
17651	return awsutil.Prettify(s)
17652}
17653
17654// GoString returns the string representation
17655func (s CreateUserDefinedFunctionOutput) GoString() string {
17656	return s.String()
17657}
17658
17659type CreateWorkflowInput struct {
17660	_ struct{} `type:"structure"`
17661
17662	// A collection of properties to be used as part of each execution of the workflow.
17663	DefaultRunProperties map[string]*string `type:"map"`
17664
17665	// A description of the workflow.
17666	Description *string `type:"string"`
17667
17668	// The name to be assigned to the workflow. It should be unique within your
17669	// account.
17670	//
17671	// Name is a required field
17672	Name *string `min:"1" type:"string" required:"true"`
17673
17674	// The tags to be used with this workflow.
17675	Tags map[string]*string `type:"map"`
17676}
17677
17678// String returns the string representation
17679func (s CreateWorkflowInput) String() string {
17680	return awsutil.Prettify(s)
17681}
17682
17683// GoString returns the string representation
17684func (s CreateWorkflowInput) GoString() string {
17685	return s.String()
17686}
17687
17688// Validate inspects the fields of the type to determine if they are valid.
17689func (s *CreateWorkflowInput) Validate() error {
17690	invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"}
17691	if s.Name == nil {
17692		invalidParams.Add(request.NewErrParamRequired("Name"))
17693	}
17694	if s.Name != nil && len(*s.Name) < 1 {
17695		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17696	}
17697
17698	if invalidParams.Len() > 0 {
17699		return invalidParams
17700	}
17701	return nil
17702}
17703
17704// SetDefaultRunProperties sets the DefaultRunProperties field's value.
17705func (s *CreateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *CreateWorkflowInput {
17706	s.DefaultRunProperties = v
17707	return s
17708}
17709
17710// SetDescription sets the Description field's value.
17711func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput {
17712	s.Description = &v
17713	return s
17714}
17715
17716// SetName sets the Name field's value.
17717func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput {
17718	s.Name = &v
17719	return s
17720}
17721
17722// SetTags sets the Tags field's value.
17723func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput {
17724	s.Tags = v
17725	return s
17726}
17727
17728type CreateWorkflowOutput struct {
17729	_ struct{} `type:"structure"`
17730
17731	// The name of the workflow which was provided as part of the request.
17732	Name *string `min:"1" type:"string"`
17733}
17734
17735// String returns the string representation
17736func (s CreateWorkflowOutput) String() string {
17737	return awsutil.Prettify(s)
17738}
17739
17740// GoString returns the string representation
17741func (s CreateWorkflowOutput) GoString() string {
17742	return s.String()
17743}
17744
17745// SetName sets the Name field's value.
17746func (s *CreateWorkflowOutput) SetName(v string) *CreateWorkflowOutput {
17747	s.Name = &v
17748	return s
17749}
17750
17751// Specifies an XML classifier for CreateClassifier to create.
17752type CreateXMLClassifierRequest struct {
17753	_ struct{} `type:"structure"`
17754
17755	// An identifier of the data format that the classifier matches.
17756	//
17757	// Classification is a required field
17758	Classification *string `type:"string" required:"true"`
17759
17760	// The name of the classifier.
17761	//
17762	// Name is a required field
17763	Name *string `min:"1" type:"string" required:"true"`
17764
17765	// The XML tag designating the element that contains each record in an XML document
17766	// being parsed. This can't identify a self-closing element (closed by />).
17767	// An empty row element that contains only attributes can be parsed as long
17768	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
17769	// is okay, but <row item_a="A" item_b="B" /> is not).
17770	RowTag *string `type:"string"`
17771}
17772
17773// String returns the string representation
17774func (s CreateXMLClassifierRequest) String() string {
17775	return awsutil.Prettify(s)
17776}
17777
17778// GoString returns the string representation
17779func (s CreateXMLClassifierRequest) GoString() string {
17780	return s.String()
17781}
17782
17783// Validate inspects the fields of the type to determine if they are valid.
17784func (s *CreateXMLClassifierRequest) Validate() error {
17785	invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"}
17786	if s.Classification == nil {
17787		invalidParams.Add(request.NewErrParamRequired("Classification"))
17788	}
17789	if s.Name == nil {
17790		invalidParams.Add(request.NewErrParamRequired("Name"))
17791	}
17792	if s.Name != nil && len(*s.Name) < 1 {
17793		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17794	}
17795
17796	if invalidParams.Len() > 0 {
17797		return invalidParams
17798	}
17799	return nil
17800}
17801
17802// SetClassification sets the Classification field's value.
17803func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest {
17804	s.Classification = &v
17805	return s
17806}
17807
17808// SetName sets the Name field's value.
17809func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest {
17810	s.Name = &v
17811	return s
17812}
17813
17814// SetRowTag sets the RowTag field's value.
17815func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest {
17816	s.RowTag = &v
17817	return s
17818}
17819
17820// A classifier for custom CSV content.
17821type CsvClassifier struct {
17822	_ struct{} `type:"structure"`
17823
17824	// Enables the processing of files that contain only one column.
17825	AllowSingleColumn *bool `type:"boolean"`
17826
17827	// Indicates whether the CSV file contains a header.
17828	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
17829
17830	// The time that this classifier was registered.
17831	CreationTime *time.Time `type:"timestamp"`
17832
17833	// A custom symbol to denote what separates each column entry in the row.
17834	Delimiter *string `min:"1" type:"string"`
17835
17836	// Specifies not to trim values before identifying the type of column values.
17837	// The default value is true.
17838	DisableValueTrimming *bool `type:"boolean"`
17839
17840	// A list of strings representing column names.
17841	Header []*string `type:"list"`
17842
17843	// The time that this classifier was last updated.
17844	LastUpdated *time.Time `type:"timestamp"`
17845
17846	// The name of the classifier.
17847	//
17848	// Name is a required field
17849	Name *string `min:"1" type:"string" required:"true"`
17850
17851	// A custom symbol to denote what combines content into a single column value.
17852	// It must be different from the column delimiter.
17853	QuoteSymbol *string `min:"1" type:"string"`
17854
17855	// The version of this classifier.
17856	Version *int64 `type:"long"`
17857}
17858
17859// String returns the string representation
17860func (s CsvClassifier) String() string {
17861	return awsutil.Prettify(s)
17862}
17863
17864// GoString returns the string representation
17865func (s CsvClassifier) GoString() string {
17866	return s.String()
17867}
17868
17869// SetAllowSingleColumn sets the AllowSingleColumn field's value.
17870func (s *CsvClassifier) SetAllowSingleColumn(v bool) *CsvClassifier {
17871	s.AllowSingleColumn = &v
17872	return s
17873}
17874
17875// SetContainsHeader sets the ContainsHeader field's value.
17876func (s *CsvClassifier) SetContainsHeader(v string) *CsvClassifier {
17877	s.ContainsHeader = &v
17878	return s
17879}
17880
17881// SetCreationTime sets the CreationTime field's value.
17882func (s *CsvClassifier) SetCreationTime(v time.Time) *CsvClassifier {
17883	s.CreationTime = &v
17884	return s
17885}
17886
17887// SetDelimiter sets the Delimiter field's value.
17888func (s *CsvClassifier) SetDelimiter(v string) *CsvClassifier {
17889	s.Delimiter = &v
17890	return s
17891}
17892
17893// SetDisableValueTrimming sets the DisableValueTrimming field's value.
17894func (s *CsvClassifier) SetDisableValueTrimming(v bool) *CsvClassifier {
17895	s.DisableValueTrimming = &v
17896	return s
17897}
17898
17899// SetHeader sets the Header field's value.
17900func (s *CsvClassifier) SetHeader(v []*string) *CsvClassifier {
17901	s.Header = v
17902	return s
17903}
17904
17905// SetLastUpdated sets the LastUpdated field's value.
17906func (s *CsvClassifier) SetLastUpdated(v time.Time) *CsvClassifier {
17907	s.LastUpdated = &v
17908	return s
17909}
17910
17911// SetName sets the Name field's value.
17912func (s *CsvClassifier) SetName(v string) *CsvClassifier {
17913	s.Name = &v
17914	return s
17915}
17916
17917// SetQuoteSymbol sets the QuoteSymbol field's value.
17918func (s *CsvClassifier) SetQuoteSymbol(v string) *CsvClassifier {
17919	s.QuoteSymbol = &v
17920	return s
17921}
17922
17923// SetVersion sets the Version field's value.
17924func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier {
17925	s.Version = &v
17926	return s
17927}
17928
17929// Contains configuration information for maintaining Data Catalog security.
17930type DataCatalogEncryptionSettings struct {
17931	_ struct{} `type:"structure"`
17932
17933	// When connection password protection is enabled, the Data Catalog uses a customer-provided
17934	// key to encrypt the password as part of CreateConnection or UpdateConnection
17935	// and store it in the ENCRYPTED_PASSWORD field in the connection properties.
17936	// You can enable catalog encryption or only password encryption.
17937	ConnectionPasswordEncryption *ConnectionPasswordEncryption `type:"structure"`
17938
17939	// Specifies the encryption-at-rest configuration for the Data Catalog.
17940	EncryptionAtRest *EncryptionAtRest `type:"structure"`
17941}
17942
17943// String returns the string representation
17944func (s DataCatalogEncryptionSettings) String() string {
17945	return awsutil.Prettify(s)
17946}
17947
17948// GoString returns the string representation
17949func (s DataCatalogEncryptionSettings) GoString() string {
17950	return s.String()
17951}
17952
17953// Validate inspects the fields of the type to determine if they are valid.
17954func (s *DataCatalogEncryptionSettings) Validate() error {
17955	invalidParams := request.ErrInvalidParams{Context: "DataCatalogEncryptionSettings"}
17956	if s.ConnectionPasswordEncryption != nil {
17957		if err := s.ConnectionPasswordEncryption.Validate(); err != nil {
17958			invalidParams.AddNested("ConnectionPasswordEncryption", err.(request.ErrInvalidParams))
17959		}
17960	}
17961	if s.EncryptionAtRest != nil {
17962		if err := s.EncryptionAtRest.Validate(); err != nil {
17963			invalidParams.AddNested("EncryptionAtRest", err.(request.ErrInvalidParams))
17964		}
17965	}
17966
17967	if invalidParams.Len() > 0 {
17968		return invalidParams
17969	}
17970	return nil
17971}
17972
17973// SetConnectionPasswordEncryption sets the ConnectionPasswordEncryption field's value.
17974func (s *DataCatalogEncryptionSettings) SetConnectionPasswordEncryption(v *ConnectionPasswordEncryption) *DataCatalogEncryptionSettings {
17975	s.ConnectionPasswordEncryption = v
17976	return s
17977}
17978
17979// SetEncryptionAtRest sets the EncryptionAtRest field's value.
17980func (s *DataCatalogEncryptionSettings) SetEncryptionAtRest(v *EncryptionAtRest) *DataCatalogEncryptionSettings {
17981	s.EncryptionAtRest = v
17982	return s
17983}
17984
17985// The AWS Lake Formation principal.
17986type DataLakePrincipal struct {
17987	_ struct{} `type:"structure"`
17988
17989	// An identifier for the AWS Lake Formation principal.
17990	DataLakePrincipalIdentifier *string `min:"1" type:"string"`
17991}
17992
17993// String returns the string representation
17994func (s DataLakePrincipal) String() string {
17995	return awsutil.Prettify(s)
17996}
17997
17998// GoString returns the string representation
17999func (s DataLakePrincipal) GoString() string {
18000	return s.String()
18001}
18002
18003// Validate inspects the fields of the type to determine if they are valid.
18004func (s *DataLakePrincipal) Validate() error {
18005	invalidParams := request.ErrInvalidParams{Context: "DataLakePrincipal"}
18006	if s.DataLakePrincipalIdentifier != nil && len(*s.DataLakePrincipalIdentifier) < 1 {
18007		invalidParams.Add(request.NewErrParamMinLen("DataLakePrincipalIdentifier", 1))
18008	}
18009
18010	if invalidParams.Len() > 0 {
18011		return invalidParams
18012	}
18013	return nil
18014}
18015
18016// SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value.
18017func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal {
18018	s.DataLakePrincipalIdentifier = &v
18019	return s
18020}
18021
18022// The Database object represents a logical grouping of tables that might reside
18023// in a Hive metastore or an RDBMS.
18024type Database struct {
18025	_ struct{} `type:"structure"`
18026
18027	// Creates a set of default permissions on the table for principals.
18028	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
18029
18030	// The time at which the metadata database was created in the catalog.
18031	CreateTime *time.Time `type:"timestamp"`
18032
18033	// A description of the database.
18034	Description *string `type:"string"`
18035
18036	// The location of the database (for example, an HDFS path).
18037	LocationUri *string `min:"1" type:"string"`
18038
18039	// The name of the database. For Hive compatibility, this is folded to lowercase
18040	// when it is stored.
18041	//
18042	// Name is a required field
18043	Name *string `min:"1" type:"string" required:"true"`
18044
18045	// These key-value pairs define parameters and properties of the database.
18046	Parameters map[string]*string `type:"map"`
18047}
18048
18049// String returns the string representation
18050func (s Database) String() string {
18051	return awsutil.Prettify(s)
18052}
18053
18054// GoString returns the string representation
18055func (s Database) GoString() string {
18056	return s.String()
18057}
18058
18059// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
18060func (s *Database) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *Database {
18061	s.CreateTableDefaultPermissions = v
18062	return s
18063}
18064
18065// SetCreateTime sets the CreateTime field's value.
18066func (s *Database) SetCreateTime(v time.Time) *Database {
18067	s.CreateTime = &v
18068	return s
18069}
18070
18071// SetDescription sets the Description field's value.
18072func (s *Database) SetDescription(v string) *Database {
18073	s.Description = &v
18074	return s
18075}
18076
18077// SetLocationUri sets the LocationUri field's value.
18078func (s *Database) SetLocationUri(v string) *Database {
18079	s.LocationUri = &v
18080	return s
18081}
18082
18083// SetName sets the Name field's value.
18084func (s *Database) SetName(v string) *Database {
18085	s.Name = &v
18086	return s
18087}
18088
18089// SetParameters sets the Parameters field's value.
18090func (s *Database) SetParameters(v map[string]*string) *Database {
18091	s.Parameters = v
18092	return s
18093}
18094
18095// The structure used to create or update a database.
18096type DatabaseInput struct {
18097	_ struct{} `type:"structure"`
18098
18099	// Creates a set of default permissions on the table for principals.
18100	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
18101
18102	// A description of the database.
18103	Description *string `type:"string"`
18104
18105	// The location of the database (for example, an HDFS path).
18106	LocationUri *string `min:"1" type:"string"`
18107
18108	// The name of the database. For Hive compatibility, this is folded to lowercase
18109	// when it is stored.
18110	//
18111	// Name is a required field
18112	Name *string `min:"1" type:"string" required:"true"`
18113
18114	// These key-value pairs define parameters and properties of the database.
18115	//
18116	// These key-value pairs define parameters and properties of the database.
18117	Parameters map[string]*string `type:"map"`
18118}
18119
18120// String returns the string representation
18121func (s DatabaseInput) String() string {
18122	return awsutil.Prettify(s)
18123}
18124
18125// GoString returns the string representation
18126func (s DatabaseInput) GoString() string {
18127	return s.String()
18128}
18129
18130// Validate inspects the fields of the type to determine if they are valid.
18131func (s *DatabaseInput) Validate() error {
18132	invalidParams := request.ErrInvalidParams{Context: "DatabaseInput"}
18133	if s.LocationUri != nil && len(*s.LocationUri) < 1 {
18134		invalidParams.Add(request.NewErrParamMinLen("LocationUri", 1))
18135	}
18136	if s.Name == nil {
18137		invalidParams.Add(request.NewErrParamRequired("Name"))
18138	}
18139	if s.Name != nil && len(*s.Name) < 1 {
18140		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18141	}
18142	if s.CreateTableDefaultPermissions != nil {
18143		for i, v := range s.CreateTableDefaultPermissions {
18144			if v == nil {
18145				continue
18146			}
18147			if err := v.Validate(); err != nil {
18148				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CreateTableDefaultPermissions", i), err.(request.ErrInvalidParams))
18149			}
18150		}
18151	}
18152
18153	if invalidParams.Len() > 0 {
18154		return invalidParams
18155	}
18156	return nil
18157}
18158
18159// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
18160func (s *DatabaseInput) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DatabaseInput {
18161	s.CreateTableDefaultPermissions = v
18162	return s
18163}
18164
18165// SetDescription sets the Description field's value.
18166func (s *DatabaseInput) SetDescription(v string) *DatabaseInput {
18167	s.Description = &v
18168	return s
18169}
18170
18171// SetLocationUri sets the LocationUri field's value.
18172func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput {
18173	s.LocationUri = &v
18174	return s
18175}
18176
18177// SetName sets the Name field's value.
18178func (s *DatabaseInput) SetName(v string) *DatabaseInput {
18179	s.Name = &v
18180	return s
18181}
18182
18183// SetParameters sets the Parameters field's value.
18184func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput {
18185	s.Parameters = v
18186	return s
18187}
18188
18189type DeleteClassifierInput struct {
18190	_ struct{} `type:"structure"`
18191
18192	// Name of the classifier to remove.
18193	//
18194	// Name is a required field
18195	Name *string `min:"1" type:"string" required:"true"`
18196}
18197
18198// String returns the string representation
18199func (s DeleteClassifierInput) String() string {
18200	return awsutil.Prettify(s)
18201}
18202
18203// GoString returns the string representation
18204func (s DeleteClassifierInput) GoString() string {
18205	return s.String()
18206}
18207
18208// Validate inspects the fields of the type to determine if they are valid.
18209func (s *DeleteClassifierInput) Validate() error {
18210	invalidParams := request.ErrInvalidParams{Context: "DeleteClassifierInput"}
18211	if s.Name == nil {
18212		invalidParams.Add(request.NewErrParamRequired("Name"))
18213	}
18214	if s.Name != nil && len(*s.Name) < 1 {
18215		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18216	}
18217
18218	if invalidParams.Len() > 0 {
18219		return invalidParams
18220	}
18221	return nil
18222}
18223
18224// SetName sets the Name field's value.
18225func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput {
18226	s.Name = &v
18227	return s
18228}
18229
18230type DeleteClassifierOutput struct {
18231	_ struct{} `type:"structure"`
18232}
18233
18234// String returns the string representation
18235func (s DeleteClassifierOutput) String() string {
18236	return awsutil.Prettify(s)
18237}
18238
18239// GoString returns the string representation
18240func (s DeleteClassifierOutput) GoString() string {
18241	return s.String()
18242}
18243
18244type DeleteConnectionInput struct {
18245	_ struct{} `type:"structure"`
18246
18247	// The ID of the Data Catalog in which the connection resides. If none is provided,
18248	// the AWS account ID is used by default.
18249	CatalogId *string `min:"1" type:"string"`
18250
18251	// The name of the connection to delete.
18252	//
18253	// ConnectionName is a required field
18254	ConnectionName *string `min:"1" type:"string" required:"true"`
18255}
18256
18257// String returns the string representation
18258func (s DeleteConnectionInput) String() string {
18259	return awsutil.Prettify(s)
18260}
18261
18262// GoString returns the string representation
18263func (s DeleteConnectionInput) GoString() string {
18264	return s.String()
18265}
18266
18267// Validate inspects the fields of the type to determine if they are valid.
18268func (s *DeleteConnectionInput) Validate() error {
18269	invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"}
18270	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18271		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18272	}
18273	if s.ConnectionName == nil {
18274		invalidParams.Add(request.NewErrParamRequired("ConnectionName"))
18275	}
18276	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
18277		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
18278	}
18279
18280	if invalidParams.Len() > 0 {
18281		return invalidParams
18282	}
18283	return nil
18284}
18285
18286// SetCatalogId sets the CatalogId field's value.
18287func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput {
18288	s.CatalogId = &v
18289	return s
18290}
18291
18292// SetConnectionName sets the ConnectionName field's value.
18293func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput {
18294	s.ConnectionName = &v
18295	return s
18296}
18297
18298type DeleteConnectionOutput struct {
18299	_ struct{} `type:"structure"`
18300}
18301
18302// String returns the string representation
18303func (s DeleteConnectionOutput) String() string {
18304	return awsutil.Prettify(s)
18305}
18306
18307// GoString returns the string representation
18308func (s DeleteConnectionOutput) GoString() string {
18309	return s.String()
18310}
18311
18312type DeleteCrawlerInput struct {
18313	_ struct{} `type:"structure"`
18314
18315	// The name of the crawler to remove.
18316	//
18317	// Name is a required field
18318	Name *string `min:"1" type:"string" required:"true"`
18319}
18320
18321// String returns the string representation
18322func (s DeleteCrawlerInput) String() string {
18323	return awsutil.Prettify(s)
18324}
18325
18326// GoString returns the string representation
18327func (s DeleteCrawlerInput) GoString() string {
18328	return s.String()
18329}
18330
18331// Validate inspects the fields of the type to determine if they are valid.
18332func (s *DeleteCrawlerInput) Validate() error {
18333	invalidParams := request.ErrInvalidParams{Context: "DeleteCrawlerInput"}
18334	if s.Name == nil {
18335		invalidParams.Add(request.NewErrParamRequired("Name"))
18336	}
18337	if s.Name != nil && len(*s.Name) < 1 {
18338		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18339	}
18340
18341	if invalidParams.Len() > 0 {
18342		return invalidParams
18343	}
18344	return nil
18345}
18346
18347// SetName sets the Name field's value.
18348func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput {
18349	s.Name = &v
18350	return s
18351}
18352
18353type DeleteCrawlerOutput struct {
18354	_ struct{} `type:"structure"`
18355}
18356
18357// String returns the string representation
18358func (s DeleteCrawlerOutput) String() string {
18359	return awsutil.Prettify(s)
18360}
18361
18362// GoString returns the string representation
18363func (s DeleteCrawlerOutput) GoString() string {
18364	return s.String()
18365}
18366
18367type DeleteDatabaseInput struct {
18368	_ struct{} `type:"structure"`
18369
18370	// The ID of the Data Catalog in which the database resides. If none is provided,
18371	// the AWS account ID is used by default.
18372	CatalogId *string `min:"1" type:"string"`
18373
18374	// The name of the database to delete. For Hive compatibility, this must be
18375	// all lowercase.
18376	//
18377	// Name is a required field
18378	Name *string `min:"1" type:"string" required:"true"`
18379}
18380
18381// String returns the string representation
18382func (s DeleteDatabaseInput) String() string {
18383	return awsutil.Prettify(s)
18384}
18385
18386// GoString returns the string representation
18387func (s DeleteDatabaseInput) GoString() string {
18388	return s.String()
18389}
18390
18391// Validate inspects the fields of the type to determine if they are valid.
18392func (s *DeleteDatabaseInput) Validate() error {
18393	invalidParams := request.ErrInvalidParams{Context: "DeleteDatabaseInput"}
18394	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18395		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18396	}
18397	if s.Name == nil {
18398		invalidParams.Add(request.NewErrParamRequired("Name"))
18399	}
18400	if s.Name != nil && len(*s.Name) < 1 {
18401		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18402	}
18403
18404	if invalidParams.Len() > 0 {
18405		return invalidParams
18406	}
18407	return nil
18408}
18409
18410// SetCatalogId sets the CatalogId field's value.
18411func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput {
18412	s.CatalogId = &v
18413	return s
18414}
18415
18416// SetName sets the Name field's value.
18417func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput {
18418	s.Name = &v
18419	return s
18420}
18421
18422type DeleteDatabaseOutput struct {
18423	_ struct{} `type:"structure"`
18424}
18425
18426// String returns the string representation
18427func (s DeleteDatabaseOutput) String() string {
18428	return awsutil.Prettify(s)
18429}
18430
18431// GoString returns the string representation
18432func (s DeleteDatabaseOutput) GoString() string {
18433	return s.String()
18434}
18435
18436type DeleteDevEndpointInput struct {
18437	_ struct{} `type:"structure"`
18438
18439	// The name of the DevEndpoint.
18440	//
18441	// EndpointName is a required field
18442	EndpointName *string `type:"string" required:"true"`
18443}
18444
18445// String returns the string representation
18446func (s DeleteDevEndpointInput) String() string {
18447	return awsutil.Prettify(s)
18448}
18449
18450// GoString returns the string representation
18451func (s DeleteDevEndpointInput) GoString() string {
18452	return s.String()
18453}
18454
18455// Validate inspects the fields of the type to determine if they are valid.
18456func (s *DeleteDevEndpointInput) Validate() error {
18457	invalidParams := request.ErrInvalidParams{Context: "DeleteDevEndpointInput"}
18458	if s.EndpointName == nil {
18459		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
18460	}
18461
18462	if invalidParams.Len() > 0 {
18463		return invalidParams
18464	}
18465	return nil
18466}
18467
18468// SetEndpointName sets the EndpointName field's value.
18469func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput {
18470	s.EndpointName = &v
18471	return s
18472}
18473
18474type DeleteDevEndpointOutput struct {
18475	_ struct{} `type:"structure"`
18476}
18477
18478// String returns the string representation
18479func (s DeleteDevEndpointOutput) String() string {
18480	return awsutil.Prettify(s)
18481}
18482
18483// GoString returns the string representation
18484func (s DeleteDevEndpointOutput) GoString() string {
18485	return s.String()
18486}
18487
18488type DeleteJobInput struct {
18489	_ struct{} `type:"structure"`
18490
18491	// The name of the job definition to delete.
18492	//
18493	// JobName is a required field
18494	JobName *string `min:"1" type:"string" required:"true"`
18495}
18496
18497// String returns the string representation
18498func (s DeleteJobInput) String() string {
18499	return awsutil.Prettify(s)
18500}
18501
18502// GoString returns the string representation
18503func (s DeleteJobInput) GoString() string {
18504	return s.String()
18505}
18506
18507// Validate inspects the fields of the type to determine if they are valid.
18508func (s *DeleteJobInput) Validate() error {
18509	invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"}
18510	if s.JobName == nil {
18511		invalidParams.Add(request.NewErrParamRequired("JobName"))
18512	}
18513	if s.JobName != nil && len(*s.JobName) < 1 {
18514		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
18515	}
18516
18517	if invalidParams.Len() > 0 {
18518		return invalidParams
18519	}
18520	return nil
18521}
18522
18523// SetJobName sets the JobName field's value.
18524func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput {
18525	s.JobName = &v
18526	return s
18527}
18528
18529type DeleteJobOutput struct {
18530	_ struct{} `type:"structure"`
18531
18532	// The name of the job definition that was deleted.
18533	JobName *string `min:"1" type:"string"`
18534}
18535
18536// String returns the string representation
18537func (s DeleteJobOutput) String() string {
18538	return awsutil.Prettify(s)
18539}
18540
18541// GoString returns the string representation
18542func (s DeleteJobOutput) GoString() string {
18543	return s.String()
18544}
18545
18546// SetJobName sets the JobName field's value.
18547func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput {
18548	s.JobName = &v
18549	return s
18550}
18551
18552type DeleteMLTransformInput struct {
18553	_ struct{} `type:"structure"`
18554
18555	// The unique identifier of the transform to delete.
18556	//
18557	// TransformId is a required field
18558	TransformId *string `min:"1" type:"string" required:"true"`
18559}
18560
18561// String returns the string representation
18562func (s DeleteMLTransformInput) String() string {
18563	return awsutil.Prettify(s)
18564}
18565
18566// GoString returns the string representation
18567func (s DeleteMLTransformInput) GoString() string {
18568	return s.String()
18569}
18570
18571// Validate inspects the fields of the type to determine if they are valid.
18572func (s *DeleteMLTransformInput) Validate() error {
18573	invalidParams := request.ErrInvalidParams{Context: "DeleteMLTransformInput"}
18574	if s.TransformId == nil {
18575		invalidParams.Add(request.NewErrParamRequired("TransformId"))
18576	}
18577	if s.TransformId != nil && len(*s.TransformId) < 1 {
18578		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
18579	}
18580
18581	if invalidParams.Len() > 0 {
18582		return invalidParams
18583	}
18584	return nil
18585}
18586
18587// SetTransformId sets the TransformId field's value.
18588func (s *DeleteMLTransformInput) SetTransformId(v string) *DeleteMLTransformInput {
18589	s.TransformId = &v
18590	return s
18591}
18592
18593type DeleteMLTransformOutput struct {
18594	_ struct{} `type:"structure"`
18595
18596	// The unique identifier of the transform that was deleted.
18597	TransformId *string `min:"1" type:"string"`
18598}
18599
18600// String returns the string representation
18601func (s DeleteMLTransformOutput) String() string {
18602	return awsutil.Prettify(s)
18603}
18604
18605// GoString returns the string representation
18606func (s DeleteMLTransformOutput) GoString() string {
18607	return s.String()
18608}
18609
18610// SetTransformId sets the TransformId field's value.
18611func (s *DeleteMLTransformOutput) SetTransformId(v string) *DeleteMLTransformOutput {
18612	s.TransformId = &v
18613	return s
18614}
18615
18616type DeletePartitionInput struct {
18617	_ struct{} `type:"structure"`
18618
18619	// The ID of the Data Catalog where the partition to be deleted resides. If
18620	// none is provided, the AWS account ID is used by default.
18621	CatalogId *string `min:"1" type:"string"`
18622
18623	// The name of the catalog database in which the table in question resides.
18624	//
18625	// DatabaseName is a required field
18626	DatabaseName *string `min:"1" type:"string" required:"true"`
18627
18628	// The values that define the partition.
18629	//
18630	// PartitionValues is a required field
18631	PartitionValues []*string `type:"list" required:"true"`
18632
18633	// The name of the table that contains the partition to be deleted.
18634	//
18635	// TableName is a required field
18636	TableName *string `min:"1" type:"string" required:"true"`
18637}
18638
18639// String returns the string representation
18640func (s DeletePartitionInput) String() string {
18641	return awsutil.Prettify(s)
18642}
18643
18644// GoString returns the string representation
18645func (s DeletePartitionInput) GoString() string {
18646	return s.String()
18647}
18648
18649// Validate inspects the fields of the type to determine if they are valid.
18650func (s *DeletePartitionInput) Validate() error {
18651	invalidParams := request.ErrInvalidParams{Context: "DeletePartitionInput"}
18652	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18653		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18654	}
18655	if s.DatabaseName == nil {
18656		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18657	}
18658	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18659		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18660	}
18661	if s.PartitionValues == nil {
18662		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
18663	}
18664	if s.TableName == nil {
18665		invalidParams.Add(request.NewErrParamRequired("TableName"))
18666	}
18667	if s.TableName != nil && len(*s.TableName) < 1 {
18668		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
18669	}
18670
18671	if invalidParams.Len() > 0 {
18672		return invalidParams
18673	}
18674	return nil
18675}
18676
18677// SetCatalogId sets the CatalogId field's value.
18678func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput {
18679	s.CatalogId = &v
18680	return s
18681}
18682
18683// SetDatabaseName sets the DatabaseName field's value.
18684func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput {
18685	s.DatabaseName = &v
18686	return s
18687}
18688
18689// SetPartitionValues sets the PartitionValues field's value.
18690func (s *DeletePartitionInput) SetPartitionValues(v []*string) *DeletePartitionInput {
18691	s.PartitionValues = v
18692	return s
18693}
18694
18695// SetTableName sets the TableName field's value.
18696func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput {
18697	s.TableName = &v
18698	return s
18699}
18700
18701type DeletePartitionOutput struct {
18702	_ struct{} `type:"structure"`
18703}
18704
18705// String returns the string representation
18706func (s DeletePartitionOutput) String() string {
18707	return awsutil.Prettify(s)
18708}
18709
18710// GoString returns the string representation
18711func (s DeletePartitionOutput) GoString() string {
18712	return s.String()
18713}
18714
18715type DeleteResourcePolicyInput struct {
18716	_ struct{} `type:"structure"`
18717
18718	// The hash value returned when this policy was set.
18719	PolicyHashCondition *string `min:"1" type:"string"`
18720}
18721
18722// String returns the string representation
18723func (s DeleteResourcePolicyInput) String() string {
18724	return awsutil.Prettify(s)
18725}
18726
18727// GoString returns the string representation
18728func (s DeleteResourcePolicyInput) GoString() string {
18729	return s.String()
18730}
18731
18732// Validate inspects the fields of the type to determine if they are valid.
18733func (s *DeleteResourcePolicyInput) Validate() error {
18734	invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"}
18735	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
18736		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
18737	}
18738
18739	if invalidParams.Len() > 0 {
18740		return invalidParams
18741	}
18742	return nil
18743}
18744
18745// SetPolicyHashCondition sets the PolicyHashCondition field's value.
18746func (s *DeleteResourcePolicyInput) SetPolicyHashCondition(v string) *DeleteResourcePolicyInput {
18747	s.PolicyHashCondition = &v
18748	return s
18749}
18750
18751type DeleteResourcePolicyOutput struct {
18752	_ struct{} `type:"structure"`
18753}
18754
18755// String returns the string representation
18756func (s DeleteResourcePolicyOutput) String() string {
18757	return awsutil.Prettify(s)
18758}
18759
18760// GoString returns the string representation
18761func (s DeleteResourcePolicyOutput) GoString() string {
18762	return s.String()
18763}
18764
18765type DeleteSecurityConfigurationInput struct {
18766	_ struct{} `type:"structure"`
18767
18768	// The name of the security configuration to delete.
18769	//
18770	// Name is a required field
18771	Name *string `min:"1" type:"string" required:"true"`
18772}
18773
18774// String returns the string representation
18775func (s DeleteSecurityConfigurationInput) String() string {
18776	return awsutil.Prettify(s)
18777}
18778
18779// GoString returns the string representation
18780func (s DeleteSecurityConfigurationInput) GoString() string {
18781	return s.String()
18782}
18783
18784// Validate inspects the fields of the type to determine if they are valid.
18785func (s *DeleteSecurityConfigurationInput) Validate() error {
18786	invalidParams := request.ErrInvalidParams{Context: "DeleteSecurityConfigurationInput"}
18787	if s.Name == nil {
18788		invalidParams.Add(request.NewErrParamRequired("Name"))
18789	}
18790	if s.Name != nil && len(*s.Name) < 1 {
18791		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18792	}
18793
18794	if invalidParams.Len() > 0 {
18795		return invalidParams
18796	}
18797	return nil
18798}
18799
18800// SetName sets the Name field's value.
18801func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput {
18802	s.Name = &v
18803	return s
18804}
18805
18806type DeleteSecurityConfigurationOutput struct {
18807	_ struct{} `type:"structure"`
18808}
18809
18810// String returns the string representation
18811func (s DeleteSecurityConfigurationOutput) String() string {
18812	return awsutil.Prettify(s)
18813}
18814
18815// GoString returns the string representation
18816func (s DeleteSecurityConfigurationOutput) GoString() string {
18817	return s.String()
18818}
18819
18820type DeleteTableInput struct {
18821	_ struct{} `type:"structure"`
18822
18823	// The ID of the Data Catalog where the table resides. If none is provided,
18824	// the AWS account ID is used by default.
18825	CatalogId *string `min:"1" type:"string"`
18826
18827	// The name of the catalog database in which the table resides. For Hive compatibility,
18828	// this name is entirely lowercase.
18829	//
18830	// DatabaseName is a required field
18831	DatabaseName *string `min:"1" type:"string" required:"true"`
18832
18833	// The name of the table to be deleted. For Hive compatibility, this name is
18834	// entirely lowercase.
18835	//
18836	// Name is a required field
18837	Name *string `min:"1" type:"string" required:"true"`
18838}
18839
18840// String returns the string representation
18841func (s DeleteTableInput) String() string {
18842	return awsutil.Prettify(s)
18843}
18844
18845// GoString returns the string representation
18846func (s DeleteTableInput) GoString() string {
18847	return s.String()
18848}
18849
18850// Validate inspects the fields of the type to determine if they are valid.
18851func (s *DeleteTableInput) Validate() error {
18852	invalidParams := request.ErrInvalidParams{Context: "DeleteTableInput"}
18853	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18854		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18855	}
18856	if s.DatabaseName == nil {
18857		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18858	}
18859	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18860		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18861	}
18862	if s.Name == nil {
18863		invalidParams.Add(request.NewErrParamRequired("Name"))
18864	}
18865	if s.Name != nil && len(*s.Name) < 1 {
18866		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18867	}
18868
18869	if invalidParams.Len() > 0 {
18870		return invalidParams
18871	}
18872	return nil
18873}
18874
18875// SetCatalogId sets the CatalogId field's value.
18876func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput {
18877	s.CatalogId = &v
18878	return s
18879}
18880
18881// SetDatabaseName sets the DatabaseName field's value.
18882func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput {
18883	s.DatabaseName = &v
18884	return s
18885}
18886
18887// SetName sets the Name field's value.
18888func (s *DeleteTableInput) SetName(v string) *DeleteTableInput {
18889	s.Name = &v
18890	return s
18891}
18892
18893type DeleteTableOutput struct {
18894	_ struct{} `type:"structure"`
18895}
18896
18897// String returns the string representation
18898func (s DeleteTableOutput) String() string {
18899	return awsutil.Prettify(s)
18900}
18901
18902// GoString returns the string representation
18903func (s DeleteTableOutput) GoString() string {
18904	return s.String()
18905}
18906
18907type DeleteTableVersionInput struct {
18908	_ struct{} `type:"structure"`
18909
18910	// The ID of the Data Catalog where the tables reside. If none is provided,
18911	// the AWS account ID is used by default.
18912	CatalogId *string `min:"1" type:"string"`
18913
18914	// The database in the catalog in which the table resides. For Hive compatibility,
18915	// this name is entirely lowercase.
18916	//
18917	// DatabaseName is a required field
18918	DatabaseName *string `min:"1" type:"string" required:"true"`
18919
18920	// The name of the table. For Hive compatibility, this name is entirely lowercase.
18921	//
18922	// TableName is a required field
18923	TableName *string `min:"1" type:"string" required:"true"`
18924
18925	// The ID of the table version to be deleted. A VersionID is a string representation
18926	// of an integer. Each version is incremented by 1.
18927	//
18928	// VersionId is a required field
18929	VersionId *string `min:"1" type:"string" required:"true"`
18930}
18931
18932// String returns the string representation
18933func (s DeleteTableVersionInput) String() string {
18934	return awsutil.Prettify(s)
18935}
18936
18937// GoString returns the string representation
18938func (s DeleteTableVersionInput) GoString() string {
18939	return s.String()
18940}
18941
18942// Validate inspects the fields of the type to determine if they are valid.
18943func (s *DeleteTableVersionInput) Validate() error {
18944	invalidParams := request.ErrInvalidParams{Context: "DeleteTableVersionInput"}
18945	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18946		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18947	}
18948	if s.DatabaseName == nil {
18949		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18950	}
18951	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18952		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18953	}
18954	if s.TableName == nil {
18955		invalidParams.Add(request.NewErrParamRequired("TableName"))
18956	}
18957	if s.TableName != nil && len(*s.TableName) < 1 {
18958		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
18959	}
18960	if s.VersionId == nil {
18961		invalidParams.Add(request.NewErrParamRequired("VersionId"))
18962	}
18963	if s.VersionId != nil && len(*s.VersionId) < 1 {
18964		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
18965	}
18966
18967	if invalidParams.Len() > 0 {
18968		return invalidParams
18969	}
18970	return nil
18971}
18972
18973// SetCatalogId sets the CatalogId field's value.
18974func (s *DeleteTableVersionInput) SetCatalogId(v string) *DeleteTableVersionInput {
18975	s.CatalogId = &v
18976	return s
18977}
18978
18979// SetDatabaseName sets the DatabaseName field's value.
18980func (s *DeleteTableVersionInput) SetDatabaseName(v string) *DeleteTableVersionInput {
18981	s.DatabaseName = &v
18982	return s
18983}
18984
18985// SetTableName sets the TableName field's value.
18986func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput {
18987	s.TableName = &v
18988	return s
18989}
18990
18991// SetVersionId sets the VersionId field's value.
18992func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput {
18993	s.VersionId = &v
18994	return s
18995}
18996
18997type DeleteTableVersionOutput struct {
18998	_ struct{} `type:"structure"`
18999}
19000
19001// String returns the string representation
19002func (s DeleteTableVersionOutput) String() string {
19003	return awsutil.Prettify(s)
19004}
19005
19006// GoString returns the string representation
19007func (s DeleteTableVersionOutput) GoString() string {
19008	return s.String()
19009}
19010
19011type DeleteTriggerInput struct {
19012	_ struct{} `type:"structure"`
19013
19014	// The name of the trigger to delete.
19015	//
19016	// Name is a required field
19017	Name *string `min:"1" type:"string" required:"true"`
19018}
19019
19020// String returns the string representation
19021func (s DeleteTriggerInput) String() string {
19022	return awsutil.Prettify(s)
19023}
19024
19025// GoString returns the string representation
19026func (s DeleteTriggerInput) GoString() string {
19027	return s.String()
19028}
19029
19030// Validate inspects the fields of the type to determine if they are valid.
19031func (s *DeleteTriggerInput) Validate() error {
19032	invalidParams := request.ErrInvalidParams{Context: "DeleteTriggerInput"}
19033	if s.Name == nil {
19034		invalidParams.Add(request.NewErrParamRequired("Name"))
19035	}
19036	if s.Name != nil && len(*s.Name) < 1 {
19037		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19038	}
19039
19040	if invalidParams.Len() > 0 {
19041		return invalidParams
19042	}
19043	return nil
19044}
19045
19046// SetName sets the Name field's value.
19047func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput {
19048	s.Name = &v
19049	return s
19050}
19051
19052type DeleteTriggerOutput struct {
19053	_ struct{} `type:"structure"`
19054
19055	// The name of the trigger that was deleted.
19056	Name *string `min:"1" type:"string"`
19057}
19058
19059// String returns the string representation
19060func (s DeleteTriggerOutput) String() string {
19061	return awsutil.Prettify(s)
19062}
19063
19064// GoString returns the string representation
19065func (s DeleteTriggerOutput) GoString() string {
19066	return s.String()
19067}
19068
19069// SetName sets the Name field's value.
19070func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput {
19071	s.Name = &v
19072	return s
19073}
19074
19075type DeleteUserDefinedFunctionInput struct {
19076	_ struct{} `type:"structure"`
19077
19078	// The ID of the Data Catalog where the function to be deleted is located. If
19079	// none is supplied, the AWS account ID is used by default.
19080	CatalogId *string `min:"1" type:"string"`
19081
19082	// The name of the catalog database where the function is located.
19083	//
19084	// DatabaseName is a required field
19085	DatabaseName *string `min:"1" type:"string" required:"true"`
19086
19087	// The name of the function definition to be deleted.
19088	//
19089	// FunctionName is a required field
19090	FunctionName *string `min:"1" type:"string" required:"true"`
19091}
19092
19093// String returns the string representation
19094func (s DeleteUserDefinedFunctionInput) String() string {
19095	return awsutil.Prettify(s)
19096}
19097
19098// GoString returns the string representation
19099func (s DeleteUserDefinedFunctionInput) GoString() string {
19100	return s.String()
19101}
19102
19103// Validate inspects the fields of the type to determine if they are valid.
19104func (s *DeleteUserDefinedFunctionInput) Validate() error {
19105	invalidParams := request.ErrInvalidParams{Context: "DeleteUserDefinedFunctionInput"}
19106	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19107		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19108	}
19109	if s.DatabaseName == nil {
19110		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19111	}
19112	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19113		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19114	}
19115	if s.FunctionName == nil {
19116		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
19117	}
19118	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
19119		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
19120	}
19121
19122	if invalidParams.Len() > 0 {
19123		return invalidParams
19124	}
19125	return nil
19126}
19127
19128// SetCatalogId sets the CatalogId field's value.
19129func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput {
19130	s.CatalogId = &v
19131	return s
19132}
19133
19134// SetDatabaseName sets the DatabaseName field's value.
19135func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput {
19136	s.DatabaseName = &v
19137	return s
19138}
19139
19140// SetFunctionName sets the FunctionName field's value.
19141func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput {
19142	s.FunctionName = &v
19143	return s
19144}
19145
19146type DeleteUserDefinedFunctionOutput struct {
19147	_ struct{} `type:"structure"`
19148}
19149
19150// String returns the string representation
19151func (s DeleteUserDefinedFunctionOutput) String() string {
19152	return awsutil.Prettify(s)
19153}
19154
19155// GoString returns the string representation
19156func (s DeleteUserDefinedFunctionOutput) GoString() string {
19157	return s.String()
19158}
19159
19160type DeleteWorkflowInput struct {
19161	_ struct{} `type:"structure"`
19162
19163	// Name of the workflow to be deleted.
19164	//
19165	// Name is a required field
19166	Name *string `min:"1" type:"string" required:"true"`
19167}
19168
19169// String returns the string representation
19170func (s DeleteWorkflowInput) String() string {
19171	return awsutil.Prettify(s)
19172}
19173
19174// GoString returns the string representation
19175func (s DeleteWorkflowInput) GoString() string {
19176	return s.String()
19177}
19178
19179// Validate inspects the fields of the type to determine if they are valid.
19180func (s *DeleteWorkflowInput) Validate() error {
19181	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"}
19182	if s.Name == nil {
19183		invalidParams.Add(request.NewErrParamRequired("Name"))
19184	}
19185	if s.Name != nil && len(*s.Name) < 1 {
19186		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19187	}
19188
19189	if invalidParams.Len() > 0 {
19190		return invalidParams
19191	}
19192	return nil
19193}
19194
19195// SetName sets the Name field's value.
19196func (s *DeleteWorkflowInput) SetName(v string) *DeleteWorkflowInput {
19197	s.Name = &v
19198	return s
19199}
19200
19201type DeleteWorkflowOutput struct {
19202	_ struct{} `type:"structure"`
19203
19204	// Name of the workflow specified in input.
19205	Name *string `min:"1" type:"string"`
19206}
19207
19208// String returns the string representation
19209func (s DeleteWorkflowOutput) String() string {
19210	return awsutil.Prettify(s)
19211}
19212
19213// GoString returns the string representation
19214func (s DeleteWorkflowOutput) GoString() string {
19215	return s.String()
19216}
19217
19218// SetName sets the Name field's value.
19219func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput {
19220	s.Name = &v
19221	return s
19222}
19223
19224// A development endpoint where a developer can remotely debug extract, transform,
19225// and load (ETL) scripts.
19226type DevEndpoint struct {
19227	_ struct{} `type:"structure"`
19228
19229	// A map of arguments used to configure the DevEndpoint.
19230	//
19231	// Valid arguments are:
19232	//
19233	//    * "--enable-glue-datacatalog": ""
19234	//
19235	//    * "GLUE_PYTHON_VERSION": "3"
19236	//
19237	//    * "GLUE_PYTHON_VERSION": "2"
19238	//
19239	// You can specify a version of Python support for development endpoints by
19240	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19241	// APIs. If no arguments are provided, the version defaults to Python 2.
19242	Arguments map[string]*string `type:"map"`
19243
19244	// The AWS Availability Zone where this DevEndpoint is located.
19245	AvailabilityZone *string `type:"string"`
19246
19247	// The point in time at which this DevEndpoint was created.
19248	CreatedTimestamp *time.Time `type:"timestamp"`
19249
19250	// The name of the DevEndpoint.
19251	EndpointName *string `type:"string"`
19252
19253	// The path to one or more Java .jar files in an S3 bucket that should be loaded
19254	// in your DevEndpoint.
19255	//
19256	// You can only use pure Java/Scala libraries with a DevEndpoint.
19257	ExtraJarsS3Path *string `type:"string"`
19258
19259	// The paths to one or more Python libraries in an Amazon S3 bucket that should
19260	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
19261	// by a comma.
19262	//
19263	// You can only use pure Python libraries with a DevEndpoint. Libraries that
19264	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
19265	// data analysis library, are not currently supported.
19266	ExtraPythonLibsS3Path *string `type:"string"`
19267
19268	// The reason for a current failure in this DevEndpoint.
19269	FailureReason *string `type:"string"`
19270
19271	// Glue version determines the versions of Apache Spark and Python that AWS
19272	// Glue supports. The Python version indicates the version supported for running
19273	// your ETL scripts on development endpoints.
19274	//
19275	// For more information about the available AWS Glue versions and corresponding
19276	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
19277	// in the developer guide.
19278	//
19279	// Development endpoints that are created without specifying a Glue version
19280	// default to Glue 0.9.
19281	//
19282	// You can specify a version of Python support for development endpoints by
19283	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19284	// APIs. If no arguments are provided, the version defaults to Python 2.
19285	GlueVersion *string `min:"1" type:"string"`
19286
19287	// The point in time at which this DevEndpoint was last modified.
19288	LastModifiedTimestamp *time.Time `type:"timestamp"`
19289
19290	// The status of the last update.
19291	LastUpdateStatus *string `type:"string"`
19292
19293	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
19294	NumberOfNodes *int64 `type:"integer"`
19295
19296	// The number of workers of a defined workerType that are allocated to the development
19297	// endpoint.
19298	//
19299	// The maximum number of workers you can define are 299 for G.1X, and 149 for
19300	// G.2X.
19301	NumberOfWorkers *int64 `type:"integer"`
19302
19303	// A private IP address to access the DevEndpoint within a VPC if the DevEndpoint
19304	// is created within one. The PrivateAddress field is present only when you
19305	// create the DevEndpoint within your VPC.
19306	PrivateAddress *string `type:"string"`
19307
19308	// The public IP address used by this DevEndpoint. The PublicAddress field is
19309	// present only when you create a non-virtual private cloud (VPC) DevEndpoint.
19310	PublicAddress *string `type:"string"`
19311
19312	// The public key to be used by this DevEndpoint for authentication. This attribute
19313	// is provided for backward compatibility because the recommended attribute
19314	// to use is public keys.
19315	PublicKey *string `type:"string"`
19316
19317	// A list of public keys to be used by the DevEndpoints for authentication.
19318	// Using this attribute is preferred over a single public key because the public
19319	// keys allow you to have a different private key per client.
19320	//
19321	// If you previously created an endpoint with a public key, you must remove
19322	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
19323	// API operation with the public key content in the deletePublicKeys attribute,
19324	// and the list of new keys in the addPublicKeys attribute.
19325	PublicKeys []*string `type:"list"`
19326
19327	// The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint.
19328	RoleArn *string `type:"string"`
19329
19330	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
19331	SecurityConfiguration *string `min:"1" type:"string"`
19332
19333	// A list of security group identifiers used in this DevEndpoint.
19334	SecurityGroupIds []*string `type:"list"`
19335
19336	// The current status of this DevEndpoint.
19337	Status *string `type:"string"`
19338
19339	// The subnet ID for this DevEndpoint.
19340	SubnetId *string `type:"string"`
19341
19342	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
19343	VpcId *string `type:"string"`
19344
19345	// The type of predefined worker that is allocated to the development endpoint.
19346	// Accepts a value of Standard, G.1X, or G.2X.
19347	//
19348	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
19349	//    memory and a 50GB disk, and 2 executors per worker.
19350	//
19351	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
19352	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
19353	//    this worker type for memory-intensive jobs.
19354	//
19355	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
19356	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
19357	//    this worker type for memory-intensive jobs.
19358	//
19359	// Known issue: when a development endpoint is created with the G.2X WorkerType
19360	// configuration, the Spark drivers for the development endpoint will run on
19361	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
19362	WorkerType *string `type:"string" enum:"WorkerType"`
19363
19364	// The YARN endpoint address used by this DevEndpoint.
19365	YarnEndpointAddress *string `type:"string"`
19366
19367	// The Apache Zeppelin port for the remote Apache Spark interpreter.
19368	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
19369}
19370
19371// String returns the string representation
19372func (s DevEndpoint) String() string {
19373	return awsutil.Prettify(s)
19374}
19375
19376// GoString returns the string representation
19377func (s DevEndpoint) GoString() string {
19378	return s.String()
19379}
19380
19381// SetArguments sets the Arguments field's value.
19382func (s *DevEndpoint) SetArguments(v map[string]*string) *DevEndpoint {
19383	s.Arguments = v
19384	return s
19385}
19386
19387// SetAvailabilityZone sets the AvailabilityZone field's value.
19388func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint {
19389	s.AvailabilityZone = &v
19390	return s
19391}
19392
19393// SetCreatedTimestamp sets the CreatedTimestamp field's value.
19394func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint {
19395	s.CreatedTimestamp = &v
19396	return s
19397}
19398
19399// SetEndpointName sets the EndpointName field's value.
19400func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint {
19401	s.EndpointName = &v
19402	return s
19403}
19404
19405// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
19406func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint {
19407	s.ExtraJarsS3Path = &v
19408	return s
19409}
19410
19411// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
19412func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint {
19413	s.ExtraPythonLibsS3Path = &v
19414	return s
19415}
19416
19417// SetFailureReason sets the FailureReason field's value.
19418func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint {
19419	s.FailureReason = &v
19420	return s
19421}
19422
19423// SetGlueVersion sets the GlueVersion field's value.
19424func (s *DevEndpoint) SetGlueVersion(v string) *DevEndpoint {
19425	s.GlueVersion = &v
19426	return s
19427}
19428
19429// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
19430func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint {
19431	s.LastModifiedTimestamp = &v
19432	return s
19433}
19434
19435// SetLastUpdateStatus sets the LastUpdateStatus field's value.
19436func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint {
19437	s.LastUpdateStatus = &v
19438	return s
19439}
19440
19441// SetNumberOfNodes sets the NumberOfNodes field's value.
19442func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint {
19443	s.NumberOfNodes = &v
19444	return s
19445}
19446
19447// SetNumberOfWorkers sets the NumberOfWorkers field's value.
19448func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint {
19449	s.NumberOfWorkers = &v
19450	return s
19451}
19452
19453// SetPrivateAddress sets the PrivateAddress field's value.
19454func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint {
19455	s.PrivateAddress = &v
19456	return s
19457}
19458
19459// SetPublicAddress sets the PublicAddress field's value.
19460func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint {
19461	s.PublicAddress = &v
19462	return s
19463}
19464
19465// SetPublicKey sets the PublicKey field's value.
19466func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint {
19467	s.PublicKey = &v
19468	return s
19469}
19470
19471// SetPublicKeys sets the PublicKeys field's value.
19472func (s *DevEndpoint) SetPublicKeys(v []*string) *DevEndpoint {
19473	s.PublicKeys = v
19474	return s
19475}
19476
19477// SetRoleArn sets the RoleArn field's value.
19478func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint {
19479	s.RoleArn = &v
19480	return s
19481}
19482
19483// SetSecurityConfiguration sets the SecurityConfiguration field's value.
19484func (s *DevEndpoint) SetSecurityConfiguration(v string) *DevEndpoint {
19485	s.SecurityConfiguration = &v
19486	return s
19487}
19488
19489// SetSecurityGroupIds sets the SecurityGroupIds field's value.
19490func (s *DevEndpoint) SetSecurityGroupIds(v []*string) *DevEndpoint {
19491	s.SecurityGroupIds = v
19492	return s
19493}
19494
19495// SetStatus sets the Status field's value.
19496func (s *DevEndpoint) SetStatus(v string) *DevEndpoint {
19497	s.Status = &v
19498	return s
19499}
19500
19501// SetSubnetId sets the SubnetId field's value.
19502func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint {
19503	s.SubnetId = &v
19504	return s
19505}
19506
19507// SetVpcId sets the VpcId field's value.
19508func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint {
19509	s.VpcId = &v
19510	return s
19511}
19512
19513// SetWorkerType sets the WorkerType field's value.
19514func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint {
19515	s.WorkerType = &v
19516	return s
19517}
19518
19519// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
19520func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint {
19521	s.YarnEndpointAddress = &v
19522	return s
19523}
19524
19525// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
19526func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint {
19527	s.ZeppelinRemoteSparkInterpreterPort = &v
19528	return s
19529}
19530
19531// Custom libraries to be loaded into a development endpoint.
19532type DevEndpointCustomLibraries struct {
19533	_ struct{} `type:"structure"`
19534
19535	// The path to one or more Java .jar files in an S3 bucket that should be loaded
19536	// in your DevEndpoint.
19537	//
19538	// You can only use pure Java/Scala libraries with a DevEndpoint.
19539	ExtraJarsS3Path *string `type:"string"`
19540
19541	// The paths to one or more Python libraries in an Amazon Simple Storage Service
19542	// (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values
19543	// must be complete paths separated by a comma.
19544	//
19545	// You can only use pure Python libraries with a DevEndpoint. Libraries that
19546	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
19547	// data analysis library, are not currently supported.
19548	ExtraPythonLibsS3Path *string `type:"string"`
19549}
19550
19551// String returns the string representation
19552func (s DevEndpointCustomLibraries) String() string {
19553	return awsutil.Prettify(s)
19554}
19555
19556// GoString returns the string representation
19557func (s DevEndpointCustomLibraries) GoString() string {
19558	return s.String()
19559}
19560
19561// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
19562func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries {
19563	s.ExtraJarsS3Path = &v
19564	return s
19565}
19566
19567// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
19568func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries {
19569	s.ExtraPythonLibsS3Path = &v
19570	return s
19571}
19572
19573// Specifies an Amazon DynamoDB table to crawl.
19574type DynamoDBTarget struct {
19575	_ struct{} `type:"structure"`
19576
19577	// The name of the DynamoDB table to crawl.
19578	Path *string `type:"string"`
19579}
19580
19581// String returns the string representation
19582func (s DynamoDBTarget) String() string {
19583	return awsutil.Prettify(s)
19584}
19585
19586// GoString returns the string representation
19587func (s DynamoDBTarget) GoString() string {
19588	return s.String()
19589}
19590
19591// SetPath sets the Path field's value.
19592func (s *DynamoDBTarget) SetPath(v string) *DynamoDBTarget {
19593	s.Path = &v
19594	return s
19595}
19596
19597// An edge represents a directed connection between two AWS Glue components
19598// which are part of the workflow the edge belongs to.
19599type Edge struct {
19600	_ struct{} `type:"structure"`
19601
19602	// The unique of the node within the workflow where the edge ends.
19603	DestinationId *string `min:"1" type:"string"`
19604
19605	// The unique of the node within the workflow where the edge starts.
19606	SourceId *string `min:"1" type:"string"`
19607}
19608
19609// String returns the string representation
19610func (s Edge) String() string {
19611	return awsutil.Prettify(s)
19612}
19613
19614// GoString returns the string representation
19615func (s Edge) GoString() string {
19616	return s.String()
19617}
19618
19619// SetDestinationId sets the DestinationId field's value.
19620func (s *Edge) SetDestinationId(v string) *Edge {
19621	s.DestinationId = &v
19622	return s
19623}
19624
19625// SetSourceId sets the SourceId field's value.
19626func (s *Edge) SetSourceId(v string) *Edge {
19627	s.SourceId = &v
19628	return s
19629}
19630
19631// Specifies the encryption-at-rest configuration for the Data Catalog.
19632type EncryptionAtRest struct {
19633	_ struct{} `type:"structure"`
19634
19635	// The encryption-at-rest mode for encrypting Data Catalog data.
19636	//
19637	// CatalogEncryptionMode is a required field
19638	CatalogEncryptionMode *string `type:"string" required:"true" enum:"CatalogEncryptionMode"`
19639
19640	// The ID of the AWS KMS key to use for encryption at rest.
19641	SseAwsKmsKeyId *string `min:"1" type:"string"`
19642}
19643
19644// String returns the string representation
19645func (s EncryptionAtRest) String() string {
19646	return awsutil.Prettify(s)
19647}
19648
19649// GoString returns the string representation
19650func (s EncryptionAtRest) GoString() string {
19651	return s.String()
19652}
19653
19654// Validate inspects the fields of the type to determine if they are valid.
19655func (s *EncryptionAtRest) Validate() error {
19656	invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRest"}
19657	if s.CatalogEncryptionMode == nil {
19658		invalidParams.Add(request.NewErrParamRequired("CatalogEncryptionMode"))
19659	}
19660	if s.SseAwsKmsKeyId != nil && len(*s.SseAwsKmsKeyId) < 1 {
19661		invalidParams.Add(request.NewErrParamMinLen("SseAwsKmsKeyId", 1))
19662	}
19663
19664	if invalidParams.Len() > 0 {
19665		return invalidParams
19666	}
19667	return nil
19668}
19669
19670// SetCatalogEncryptionMode sets the CatalogEncryptionMode field's value.
19671func (s *EncryptionAtRest) SetCatalogEncryptionMode(v string) *EncryptionAtRest {
19672	s.CatalogEncryptionMode = &v
19673	return s
19674}
19675
19676// SetSseAwsKmsKeyId sets the SseAwsKmsKeyId field's value.
19677func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest {
19678	s.SseAwsKmsKeyId = &v
19679	return s
19680}
19681
19682// Specifies an encryption configuration.
19683type EncryptionConfiguration struct {
19684	_ struct{} `type:"structure"`
19685
19686	// The encryption configuration for Amazon CloudWatch.
19687	CloudWatchEncryption *CloudWatchEncryption `type:"structure"`
19688
19689	// The encryption configuration for job bookmarks.
19690	JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"`
19691
19692	// The encryption configuration for Amazon Simple Storage Service (Amazon S3)
19693	// data.
19694	S3Encryption []*S3Encryption `type:"list"`
19695}
19696
19697// String returns the string representation
19698func (s EncryptionConfiguration) String() string {
19699	return awsutil.Prettify(s)
19700}
19701
19702// GoString returns the string representation
19703func (s EncryptionConfiguration) GoString() string {
19704	return s.String()
19705}
19706
19707// SetCloudWatchEncryption sets the CloudWatchEncryption field's value.
19708func (s *EncryptionConfiguration) SetCloudWatchEncryption(v *CloudWatchEncryption) *EncryptionConfiguration {
19709	s.CloudWatchEncryption = v
19710	return s
19711}
19712
19713// SetJobBookmarksEncryption sets the JobBookmarksEncryption field's value.
19714func (s *EncryptionConfiguration) SetJobBookmarksEncryption(v *JobBookmarksEncryption) *EncryptionConfiguration {
19715	s.JobBookmarksEncryption = v
19716	return s
19717}
19718
19719// SetS3Encryption sets the S3Encryption field's value.
19720func (s *EncryptionConfiguration) SetS3Encryption(v []*S3Encryption) *EncryptionConfiguration {
19721	s.S3Encryption = v
19722	return s
19723}
19724
19725// Contains details about an error.
19726type ErrorDetail struct {
19727	_ struct{} `type:"structure"`
19728
19729	// The code associated with this error.
19730	ErrorCode *string `min:"1" type:"string"`
19731
19732	// A message describing the error.
19733	ErrorMessage *string `type:"string"`
19734}
19735
19736// String returns the string representation
19737func (s ErrorDetail) String() string {
19738	return awsutil.Prettify(s)
19739}
19740
19741// GoString returns the string representation
19742func (s ErrorDetail) GoString() string {
19743	return s.String()
19744}
19745
19746// SetErrorCode sets the ErrorCode field's value.
19747func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail {
19748	s.ErrorCode = &v
19749	return s
19750}
19751
19752// SetErrorMessage sets the ErrorMessage field's value.
19753func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail {
19754	s.ErrorMessage = &v
19755	return s
19756}
19757
19758// Evaluation metrics provide an estimate of the quality of your machine learning
19759// transform.
19760type EvaluationMetrics struct {
19761	_ struct{} `type:"structure"`
19762
19763	// The evaluation metrics for the find matches algorithm.
19764	FindMatchesMetrics *FindMatchesMetrics `type:"structure"`
19765
19766	// The type of machine learning transform.
19767	//
19768	// TransformType is a required field
19769	TransformType *string `type:"string" required:"true" enum:"TransformType"`
19770}
19771
19772// String returns the string representation
19773func (s EvaluationMetrics) String() string {
19774	return awsutil.Prettify(s)
19775}
19776
19777// GoString returns the string representation
19778func (s EvaluationMetrics) GoString() string {
19779	return s.String()
19780}
19781
19782// SetFindMatchesMetrics sets the FindMatchesMetrics field's value.
19783func (s *EvaluationMetrics) SetFindMatchesMetrics(v *FindMatchesMetrics) *EvaluationMetrics {
19784	s.FindMatchesMetrics = v
19785	return s
19786}
19787
19788// SetTransformType sets the TransformType field's value.
19789func (s *EvaluationMetrics) SetTransformType(v string) *EvaluationMetrics {
19790	s.TransformType = &v
19791	return s
19792}
19793
19794// An execution property of a job.
19795type ExecutionProperty struct {
19796	_ struct{} `type:"structure"`
19797
19798	// The maximum number of concurrent runs allowed for the job. The default is
19799	// 1. An error is returned when this threshold is reached. The maximum value
19800	// you can specify is controlled by a service limit.
19801	MaxConcurrentRuns *int64 `type:"integer"`
19802}
19803
19804// String returns the string representation
19805func (s ExecutionProperty) String() string {
19806	return awsutil.Prettify(s)
19807}
19808
19809// GoString returns the string representation
19810func (s ExecutionProperty) GoString() string {
19811	return s.String()
19812}
19813
19814// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
19815func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty {
19816	s.MaxConcurrentRuns = &v
19817	return s
19818}
19819
19820// Specifies configuration properties for an exporting labels task run.
19821type ExportLabelsTaskRunProperties struct {
19822	_ struct{} `type:"structure"`
19823
19824	// The Amazon Simple Storage Service (Amazon S3) path where you will export
19825	// the labels.
19826	OutputS3Path *string `type:"string"`
19827}
19828
19829// String returns the string representation
19830func (s ExportLabelsTaskRunProperties) String() string {
19831	return awsutil.Prettify(s)
19832}
19833
19834// GoString returns the string representation
19835func (s ExportLabelsTaskRunProperties) GoString() string {
19836	return s.String()
19837}
19838
19839// SetOutputS3Path sets the OutputS3Path field's value.
19840func (s *ExportLabelsTaskRunProperties) SetOutputS3Path(v string) *ExportLabelsTaskRunProperties {
19841	s.OutputS3Path = &v
19842	return s
19843}
19844
19845// The evaluation metrics for the find matches algorithm. The quality of your
19846// machine learning transform is measured by getting your transform to predict
19847// some matches and comparing the results to known matches from the same dataset.
19848// The quality metrics are based on a subset of your data, so they are not precise.
19849type FindMatchesMetrics struct {
19850	_ struct{} `type:"structure"`
19851
19852	// The area under the precision/recall curve (AUPRC) is a single number measuring
19853	// the overall quality of the transform, that is independent of the choice made
19854	// for precision vs. recall. Higher values indicate that you have a more attractive
19855	// precision vs. recall tradeoff.
19856	//
19857	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19858	// in Wikipedia.
19859	AreaUnderPRCurve *float64 `type:"double"`
19860
19861	// The confusion matrix shows you what your transform is predicting accurately
19862	// and what types of errors it is making.
19863	//
19864	// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
19865	// in Wikipedia.
19866	ConfusionMatrix *ConfusionMatrix `type:"structure"`
19867
19868	// The maximum F1 metric indicates the transform's accuracy between 0 and 1,
19869	// where 1 is the best accuracy.
19870	//
19871	// For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score)
19872	// in Wikipedia.
19873	F1 *float64 `type:"double"`
19874
19875	// The precision metric indicates when often your transform is correct when
19876	// it predicts a match. Specifically, it measures how well the transform finds
19877	// true positives from the total true positives possible.
19878	//
19879	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19880	// in Wikipedia.
19881	Precision *float64 `type:"double"`
19882
19883	// The recall metric indicates that for an actual match, how often your transform
19884	// predicts the match. Specifically, it measures how well the transform finds
19885	// true positives from the total records in the source data.
19886	//
19887	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19888	// in Wikipedia.
19889	Recall *float64 `type:"double"`
19890}
19891
19892// String returns the string representation
19893func (s FindMatchesMetrics) String() string {
19894	return awsutil.Prettify(s)
19895}
19896
19897// GoString returns the string representation
19898func (s FindMatchesMetrics) GoString() string {
19899	return s.String()
19900}
19901
19902// SetAreaUnderPRCurve sets the AreaUnderPRCurve field's value.
19903func (s *FindMatchesMetrics) SetAreaUnderPRCurve(v float64) *FindMatchesMetrics {
19904	s.AreaUnderPRCurve = &v
19905	return s
19906}
19907
19908// SetConfusionMatrix sets the ConfusionMatrix field's value.
19909func (s *FindMatchesMetrics) SetConfusionMatrix(v *ConfusionMatrix) *FindMatchesMetrics {
19910	s.ConfusionMatrix = v
19911	return s
19912}
19913
19914// SetF1 sets the F1 field's value.
19915func (s *FindMatchesMetrics) SetF1(v float64) *FindMatchesMetrics {
19916	s.F1 = &v
19917	return s
19918}
19919
19920// SetPrecision sets the Precision field's value.
19921func (s *FindMatchesMetrics) SetPrecision(v float64) *FindMatchesMetrics {
19922	s.Precision = &v
19923	return s
19924}
19925
19926// SetRecall sets the Recall field's value.
19927func (s *FindMatchesMetrics) SetRecall(v float64) *FindMatchesMetrics {
19928	s.Recall = &v
19929	return s
19930}
19931
19932// The parameters to configure the find matches transform.
19933type FindMatchesParameters struct {
19934	_ struct{} `type:"structure"`
19935
19936	// The value that is selected when tuning your transform for a balance between
19937	// accuracy and cost. A value of 0.5 means that the system balances accuracy
19938	// and cost concerns. A value of 1.0 means a bias purely for accuracy, which
19939	// typically results in a higher cost, sometimes substantially higher. A value
19940	// of 0.0 means a bias purely for cost, which results in a less accurate FindMatches
19941	// transform, sometimes with unacceptable accuracy.
19942	//
19943	// Accuracy measures how well the transform finds true positives and true negatives.
19944	// Increasing accuracy requires more machine resources and cost. But it also
19945	// results in increased recall.
19946	//
19947	// Cost measures how many compute resources, and thus money, are consumed to
19948	// run the transform.
19949	AccuracyCostTradeoff *float64 `type:"double"`
19950
19951	// The value to switch on or off to force the output to match the provided labels
19952	// from users. If the value is True, the find matches transform forces the output
19953	// to match the provided labels. The results override the normal conflation
19954	// results. If the value is False, the find matches transform does not ensure
19955	// all the labels provided are respected, and the results rely on the trained
19956	// model.
19957	//
19958	// Note that setting this value to true may increase the conflation execution
19959	// time.
19960	EnforceProvidedLabels *bool `type:"boolean"`
19961
19962	// The value selected when tuning your transform for a balance between precision
19963	// and recall. A value of 0.5 means no preference; a value of 1.0 means a bias
19964	// purely for precision, and a value of 0.0 means a bias for recall. Because
19965	// this is a tradeoff, choosing values close to 1.0 means very low recall, and
19966	// choosing values close to 0.0 results in very low precision.
19967	//
19968	// The precision metric indicates how often your model is correct when it predicts
19969	// a match.
19970	//
19971	// The recall metric indicates that for an actual match, how often your model
19972	// predicts the match.
19973	PrecisionRecallTradeoff *float64 `type:"double"`
19974
19975	// The name of a column that uniquely identifies rows in the source table. Used
19976	// to help identify matching records.
19977	PrimaryKeyColumnName *string `min:"1" type:"string"`
19978}
19979
19980// String returns the string representation
19981func (s FindMatchesParameters) String() string {
19982	return awsutil.Prettify(s)
19983}
19984
19985// GoString returns the string representation
19986func (s FindMatchesParameters) GoString() string {
19987	return s.String()
19988}
19989
19990// Validate inspects the fields of the type to determine if they are valid.
19991func (s *FindMatchesParameters) Validate() error {
19992	invalidParams := request.ErrInvalidParams{Context: "FindMatchesParameters"}
19993	if s.PrimaryKeyColumnName != nil && len(*s.PrimaryKeyColumnName) < 1 {
19994		invalidParams.Add(request.NewErrParamMinLen("PrimaryKeyColumnName", 1))
19995	}
19996
19997	if invalidParams.Len() > 0 {
19998		return invalidParams
19999	}
20000	return nil
20001}
20002
20003// SetAccuracyCostTradeoff sets the AccuracyCostTradeoff field's value.
20004func (s *FindMatchesParameters) SetAccuracyCostTradeoff(v float64) *FindMatchesParameters {
20005	s.AccuracyCostTradeoff = &v
20006	return s
20007}
20008
20009// SetEnforceProvidedLabels sets the EnforceProvidedLabels field's value.
20010func (s *FindMatchesParameters) SetEnforceProvidedLabels(v bool) *FindMatchesParameters {
20011	s.EnforceProvidedLabels = &v
20012	return s
20013}
20014
20015// SetPrecisionRecallTradeoff sets the PrecisionRecallTradeoff field's value.
20016func (s *FindMatchesParameters) SetPrecisionRecallTradeoff(v float64) *FindMatchesParameters {
20017	s.PrecisionRecallTradeoff = &v
20018	return s
20019}
20020
20021// SetPrimaryKeyColumnName sets the PrimaryKeyColumnName field's value.
20022func (s *FindMatchesParameters) SetPrimaryKeyColumnName(v string) *FindMatchesParameters {
20023	s.PrimaryKeyColumnName = &v
20024	return s
20025}
20026
20027// Specifies configuration properties for a Find Matches task run.
20028type FindMatchesTaskRunProperties struct {
20029	_ struct{} `type:"structure"`
20030
20031	// The job ID for the Find Matches task run.
20032	JobId *string `min:"1" type:"string"`
20033
20034	// The name assigned to the job for the Find Matches task run.
20035	JobName *string `min:"1" type:"string"`
20036
20037	// The job run ID for the Find Matches task run.
20038	JobRunId *string `min:"1" type:"string"`
20039}
20040
20041// String returns the string representation
20042func (s FindMatchesTaskRunProperties) String() string {
20043	return awsutil.Prettify(s)
20044}
20045
20046// GoString returns the string representation
20047func (s FindMatchesTaskRunProperties) GoString() string {
20048	return s.String()
20049}
20050
20051// SetJobId sets the JobId field's value.
20052func (s *FindMatchesTaskRunProperties) SetJobId(v string) *FindMatchesTaskRunProperties {
20053	s.JobId = &v
20054	return s
20055}
20056
20057// SetJobName sets the JobName field's value.
20058func (s *FindMatchesTaskRunProperties) SetJobName(v string) *FindMatchesTaskRunProperties {
20059	s.JobName = &v
20060	return s
20061}
20062
20063// SetJobRunId sets the JobRunId field's value.
20064func (s *FindMatchesTaskRunProperties) SetJobRunId(v string) *FindMatchesTaskRunProperties {
20065	s.JobRunId = &v
20066	return s
20067}
20068
20069type GetCatalogImportStatusInput struct {
20070	_ struct{} `type:"structure"`
20071
20072	// The ID of the catalog to migrate. Currently, this should be the AWS account
20073	// ID.
20074	CatalogId *string `min:"1" type:"string"`
20075}
20076
20077// String returns the string representation
20078func (s GetCatalogImportStatusInput) String() string {
20079	return awsutil.Prettify(s)
20080}
20081
20082// GoString returns the string representation
20083func (s GetCatalogImportStatusInput) GoString() string {
20084	return s.String()
20085}
20086
20087// Validate inspects the fields of the type to determine if they are valid.
20088func (s *GetCatalogImportStatusInput) Validate() error {
20089	invalidParams := request.ErrInvalidParams{Context: "GetCatalogImportStatusInput"}
20090	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20091		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20092	}
20093
20094	if invalidParams.Len() > 0 {
20095		return invalidParams
20096	}
20097	return nil
20098}
20099
20100// SetCatalogId sets the CatalogId field's value.
20101func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput {
20102	s.CatalogId = &v
20103	return s
20104}
20105
20106type GetCatalogImportStatusOutput struct {
20107	_ struct{} `type:"structure"`
20108
20109	// The status of the specified catalog migration.
20110	ImportStatus *CatalogImportStatus `type:"structure"`
20111}
20112
20113// String returns the string representation
20114func (s GetCatalogImportStatusOutput) String() string {
20115	return awsutil.Prettify(s)
20116}
20117
20118// GoString returns the string representation
20119func (s GetCatalogImportStatusOutput) GoString() string {
20120	return s.String()
20121}
20122
20123// SetImportStatus sets the ImportStatus field's value.
20124func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput {
20125	s.ImportStatus = v
20126	return s
20127}
20128
20129type GetClassifierInput struct {
20130	_ struct{} `type:"structure"`
20131
20132	// Name of the classifier to retrieve.
20133	//
20134	// Name is a required field
20135	Name *string `min:"1" type:"string" required:"true"`
20136}
20137
20138// String returns the string representation
20139func (s GetClassifierInput) String() string {
20140	return awsutil.Prettify(s)
20141}
20142
20143// GoString returns the string representation
20144func (s GetClassifierInput) GoString() string {
20145	return s.String()
20146}
20147
20148// Validate inspects the fields of the type to determine if they are valid.
20149func (s *GetClassifierInput) Validate() error {
20150	invalidParams := request.ErrInvalidParams{Context: "GetClassifierInput"}
20151	if s.Name == nil {
20152		invalidParams.Add(request.NewErrParamRequired("Name"))
20153	}
20154	if s.Name != nil && len(*s.Name) < 1 {
20155		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20156	}
20157
20158	if invalidParams.Len() > 0 {
20159		return invalidParams
20160	}
20161	return nil
20162}
20163
20164// SetName sets the Name field's value.
20165func (s *GetClassifierInput) SetName(v string) *GetClassifierInput {
20166	s.Name = &v
20167	return s
20168}
20169
20170type GetClassifierOutput struct {
20171	_ struct{} `type:"structure"`
20172
20173	// The requested classifier.
20174	Classifier *Classifier `type:"structure"`
20175}
20176
20177// String returns the string representation
20178func (s GetClassifierOutput) String() string {
20179	return awsutil.Prettify(s)
20180}
20181
20182// GoString returns the string representation
20183func (s GetClassifierOutput) GoString() string {
20184	return s.String()
20185}
20186
20187// SetClassifier sets the Classifier field's value.
20188func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput {
20189	s.Classifier = v
20190	return s
20191}
20192
20193type GetClassifiersInput struct {
20194	_ struct{} `type:"structure"`
20195
20196	// The size of the list to return (optional).
20197	MaxResults *int64 `min:"1" type:"integer"`
20198
20199	// An optional continuation token.
20200	NextToken *string `type:"string"`
20201}
20202
20203// String returns the string representation
20204func (s GetClassifiersInput) String() string {
20205	return awsutil.Prettify(s)
20206}
20207
20208// GoString returns the string representation
20209func (s GetClassifiersInput) GoString() string {
20210	return s.String()
20211}
20212
20213// Validate inspects the fields of the type to determine if they are valid.
20214func (s *GetClassifiersInput) Validate() error {
20215	invalidParams := request.ErrInvalidParams{Context: "GetClassifiersInput"}
20216	if s.MaxResults != nil && *s.MaxResults < 1 {
20217		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20218	}
20219
20220	if invalidParams.Len() > 0 {
20221		return invalidParams
20222	}
20223	return nil
20224}
20225
20226// SetMaxResults sets the MaxResults field's value.
20227func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput {
20228	s.MaxResults = &v
20229	return s
20230}
20231
20232// SetNextToken sets the NextToken field's value.
20233func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput {
20234	s.NextToken = &v
20235	return s
20236}
20237
20238type GetClassifiersOutput struct {
20239	_ struct{} `type:"structure"`
20240
20241	// The requested list of classifier objects.
20242	Classifiers []*Classifier `type:"list"`
20243
20244	// A continuation token.
20245	NextToken *string `type:"string"`
20246}
20247
20248// String returns the string representation
20249func (s GetClassifiersOutput) String() string {
20250	return awsutil.Prettify(s)
20251}
20252
20253// GoString returns the string representation
20254func (s GetClassifiersOutput) GoString() string {
20255	return s.String()
20256}
20257
20258// SetClassifiers sets the Classifiers field's value.
20259func (s *GetClassifiersOutput) SetClassifiers(v []*Classifier) *GetClassifiersOutput {
20260	s.Classifiers = v
20261	return s
20262}
20263
20264// SetNextToken sets the NextToken field's value.
20265func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput {
20266	s.NextToken = &v
20267	return s
20268}
20269
20270type GetConnectionInput struct {
20271	_ struct{} `type:"structure"`
20272
20273	// The ID of the Data Catalog in which the connection resides. If none is provided,
20274	// the AWS account ID is used by default.
20275	CatalogId *string `min:"1" type:"string"`
20276
20277	// Allows you to retrieve the connection metadata without returning the password.
20278	// For instance, the AWS Glue console uses this flag to retrieve the connection,
20279	// and does not display the password. Set this parameter when the caller might
20280	// not have permission to use the AWS KMS key to decrypt the password, but it
20281	// does have permission to access the rest of the connection properties.
20282	HidePassword *bool `type:"boolean"`
20283
20284	// The name of the connection definition to retrieve.
20285	//
20286	// Name is a required field
20287	Name *string `min:"1" type:"string" required:"true"`
20288}
20289
20290// String returns the string representation
20291func (s GetConnectionInput) String() string {
20292	return awsutil.Prettify(s)
20293}
20294
20295// GoString returns the string representation
20296func (s GetConnectionInput) GoString() string {
20297	return s.String()
20298}
20299
20300// Validate inspects the fields of the type to determine if they are valid.
20301func (s *GetConnectionInput) Validate() error {
20302	invalidParams := request.ErrInvalidParams{Context: "GetConnectionInput"}
20303	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20304		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20305	}
20306	if s.Name == nil {
20307		invalidParams.Add(request.NewErrParamRequired("Name"))
20308	}
20309	if s.Name != nil && len(*s.Name) < 1 {
20310		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20311	}
20312
20313	if invalidParams.Len() > 0 {
20314		return invalidParams
20315	}
20316	return nil
20317}
20318
20319// SetCatalogId sets the CatalogId field's value.
20320func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput {
20321	s.CatalogId = &v
20322	return s
20323}
20324
20325// SetHidePassword sets the HidePassword field's value.
20326func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput {
20327	s.HidePassword = &v
20328	return s
20329}
20330
20331// SetName sets the Name field's value.
20332func (s *GetConnectionInput) SetName(v string) *GetConnectionInput {
20333	s.Name = &v
20334	return s
20335}
20336
20337type GetConnectionOutput struct {
20338	_ struct{} `type:"structure"`
20339
20340	// The requested connection definition.
20341	Connection *Connection `type:"structure"`
20342}
20343
20344// String returns the string representation
20345func (s GetConnectionOutput) String() string {
20346	return awsutil.Prettify(s)
20347}
20348
20349// GoString returns the string representation
20350func (s GetConnectionOutput) GoString() string {
20351	return s.String()
20352}
20353
20354// SetConnection sets the Connection field's value.
20355func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput {
20356	s.Connection = v
20357	return s
20358}
20359
20360// Filters the connection definitions that are returned by the GetConnections
20361// API operation.
20362type GetConnectionsFilter struct {
20363	_ struct{} `type:"structure"`
20364
20365	// The type of connections to return. Currently, only JDBC is supported; SFTP
20366	// is not supported.
20367	ConnectionType *string `type:"string" enum:"ConnectionType"`
20368
20369	// A criteria string that must match the criteria recorded in the connection
20370	// definition for that connection definition to be returned.
20371	MatchCriteria []*string `type:"list"`
20372}
20373
20374// String returns the string representation
20375func (s GetConnectionsFilter) String() string {
20376	return awsutil.Prettify(s)
20377}
20378
20379// GoString returns the string representation
20380func (s GetConnectionsFilter) GoString() string {
20381	return s.String()
20382}
20383
20384// SetConnectionType sets the ConnectionType field's value.
20385func (s *GetConnectionsFilter) SetConnectionType(v string) *GetConnectionsFilter {
20386	s.ConnectionType = &v
20387	return s
20388}
20389
20390// SetMatchCriteria sets the MatchCriteria field's value.
20391func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilter {
20392	s.MatchCriteria = v
20393	return s
20394}
20395
20396type GetConnectionsInput struct {
20397	_ struct{} `type:"structure"`
20398
20399	// The ID of the Data Catalog in which the connections reside. If none is provided,
20400	// the AWS account ID is used by default.
20401	CatalogId *string `min:"1" type:"string"`
20402
20403	// A filter that controls which connections are returned.
20404	Filter *GetConnectionsFilter `type:"structure"`
20405
20406	// Allows you to retrieve the connection metadata without returning the password.
20407	// For instance, the AWS Glue console uses this flag to retrieve the connection,
20408	// and does not display the password. Set this parameter when the caller might
20409	// not have permission to use the AWS KMS key to decrypt the password, but it
20410	// does have permission to access the rest of the connection properties.
20411	HidePassword *bool `type:"boolean"`
20412
20413	// The maximum number of connections to return in one response.
20414	MaxResults *int64 `min:"1" type:"integer"`
20415
20416	// A continuation token, if this is a continuation call.
20417	NextToken *string `type:"string"`
20418}
20419
20420// String returns the string representation
20421func (s GetConnectionsInput) String() string {
20422	return awsutil.Prettify(s)
20423}
20424
20425// GoString returns the string representation
20426func (s GetConnectionsInput) GoString() string {
20427	return s.String()
20428}
20429
20430// Validate inspects the fields of the type to determine if they are valid.
20431func (s *GetConnectionsInput) Validate() error {
20432	invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"}
20433	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20434		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20435	}
20436	if s.MaxResults != nil && *s.MaxResults < 1 {
20437		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20438	}
20439
20440	if invalidParams.Len() > 0 {
20441		return invalidParams
20442	}
20443	return nil
20444}
20445
20446// SetCatalogId sets the CatalogId field's value.
20447func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput {
20448	s.CatalogId = &v
20449	return s
20450}
20451
20452// SetFilter sets the Filter field's value.
20453func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput {
20454	s.Filter = v
20455	return s
20456}
20457
20458// SetHidePassword sets the HidePassword field's value.
20459func (s *GetConnectionsInput) SetHidePassword(v bool) *GetConnectionsInput {
20460	s.HidePassword = &v
20461	return s
20462}
20463
20464// SetMaxResults sets the MaxResults field's value.
20465func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput {
20466	s.MaxResults = &v
20467	return s
20468}
20469
20470// SetNextToken sets the NextToken field's value.
20471func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput {
20472	s.NextToken = &v
20473	return s
20474}
20475
20476type GetConnectionsOutput struct {
20477	_ struct{} `type:"structure"`
20478
20479	// A list of requested connection definitions.
20480	ConnectionList []*Connection `type:"list"`
20481
20482	// A continuation token, if the list of connections returned does not include
20483	// the last of the filtered connections.
20484	NextToken *string `type:"string"`
20485}
20486
20487// String returns the string representation
20488func (s GetConnectionsOutput) String() string {
20489	return awsutil.Prettify(s)
20490}
20491
20492// GoString returns the string representation
20493func (s GetConnectionsOutput) GoString() string {
20494	return s.String()
20495}
20496
20497// SetConnectionList sets the ConnectionList field's value.
20498func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput {
20499	s.ConnectionList = v
20500	return s
20501}
20502
20503// SetNextToken sets the NextToken field's value.
20504func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput {
20505	s.NextToken = &v
20506	return s
20507}
20508
20509type GetCrawlerInput struct {
20510	_ struct{} `type:"structure"`
20511
20512	// The name of the crawler to retrieve metadata for.
20513	//
20514	// Name is a required field
20515	Name *string `min:"1" type:"string" required:"true"`
20516}
20517
20518// String returns the string representation
20519func (s GetCrawlerInput) String() string {
20520	return awsutil.Prettify(s)
20521}
20522
20523// GoString returns the string representation
20524func (s GetCrawlerInput) GoString() string {
20525	return s.String()
20526}
20527
20528// Validate inspects the fields of the type to determine if they are valid.
20529func (s *GetCrawlerInput) Validate() error {
20530	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerInput"}
20531	if s.Name == nil {
20532		invalidParams.Add(request.NewErrParamRequired("Name"))
20533	}
20534	if s.Name != nil && len(*s.Name) < 1 {
20535		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20536	}
20537
20538	if invalidParams.Len() > 0 {
20539		return invalidParams
20540	}
20541	return nil
20542}
20543
20544// SetName sets the Name field's value.
20545func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput {
20546	s.Name = &v
20547	return s
20548}
20549
20550type GetCrawlerMetricsInput struct {
20551	_ struct{} `type:"structure"`
20552
20553	// A list of the names of crawlers about which to retrieve metrics.
20554	CrawlerNameList []*string `type:"list"`
20555
20556	// The maximum size of a list to return.
20557	MaxResults *int64 `min:"1" type:"integer"`
20558
20559	// A continuation token, if this is a continuation call.
20560	NextToken *string `type:"string"`
20561}
20562
20563// String returns the string representation
20564func (s GetCrawlerMetricsInput) String() string {
20565	return awsutil.Prettify(s)
20566}
20567
20568// GoString returns the string representation
20569func (s GetCrawlerMetricsInput) GoString() string {
20570	return s.String()
20571}
20572
20573// Validate inspects the fields of the type to determine if they are valid.
20574func (s *GetCrawlerMetricsInput) Validate() error {
20575	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerMetricsInput"}
20576	if s.MaxResults != nil && *s.MaxResults < 1 {
20577		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20578	}
20579
20580	if invalidParams.Len() > 0 {
20581		return invalidParams
20582	}
20583	return nil
20584}
20585
20586// SetCrawlerNameList sets the CrawlerNameList field's value.
20587func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []*string) *GetCrawlerMetricsInput {
20588	s.CrawlerNameList = v
20589	return s
20590}
20591
20592// SetMaxResults sets the MaxResults field's value.
20593func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput {
20594	s.MaxResults = &v
20595	return s
20596}
20597
20598// SetNextToken sets the NextToken field's value.
20599func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput {
20600	s.NextToken = &v
20601	return s
20602}
20603
20604type GetCrawlerMetricsOutput struct {
20605	_ struct{} `type:"structure"`
20606
20607	// A list of metrics for the specified crawler.
20608	CrawlerMetricsList []*CrawlerMetrics `type:"list"`
20609
20610	// A continuation token, if the returned list does not contain the last metric
20611	// available.
20612	NextToken *string `type:"string"`
20613}
20614
20615// String returns the string representation
20616func (s GetCrawlerMetricsOutput) String() string {
20617	return awsutil.Prettify(s)
20618}
20619
20620// GoString returns the string representation
20621func (s GetCrawlerMetricsOutput) GoString() string {
20622	return s.String()
20623}
20624
20625// SetCrawlerMetricsList sets the CrawlerMetricsList field's value.
20626func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []*CrawlerMetrics) *GetCrawlerMetricsOutput {
20627	s.CrawlerMetricsList = v
20628	return s
20629}
20630
20631// SetNextToken sets the NextToken field's value.
20632func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput {
20633	s.NextToken = &v
20634	return s
20635}
20636
20637type GetCrawlerOutput struct {
20638	_ struct{} `type:"structure"`
20639
20640	// The metadata for the specified crawler.
20641	Crawler *Crawler `type:"structure"`
20642}
20643
20644// String returns the string representation
20645func (s GetCrawlerOutput) String() string {
20646	return awsutil.Prettify(s)
20647}
20648
20649// GoString returns the string representation
20650func (s GetCrawlerOutput) GoString() string {
20651	return s.String()
20652}
20653
20654// SetCrawler sets the Crawler field's value.
20655func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput {
20656	s.Crawler = v
20657	return s
20658}
20659
20660type GetCrawlersInput struct {
20661	_ struct{} `type:"structure"`
20662
20663	// The number of crawlers to return on each call.
20664	MaxResults *int64 `min:"1" type:"integer"`
20665
20666	// A continuation token, if this is a continuation request.
20667	NextToken *string `type:"string"`
20668}
20669
20670// String returns the string representation
20671func (s GetCrawlersInput) String() string {
20672	return awsutil.Prettify(s)
20673}
20674
20675// GoString returns the string representation
20676func (s GetCrawlersInput) GoString() string {
20677	return s.String()
20678}
20679
20680// Validate inspects the fields of the type to determine if they are valid.
20681func (s *GetCrawlersInput) Validate() error {
20682	invalidParams := request.ErrInvalidParams{Context: "GetCrawlersInput"}
20683	if s.MaxResults != nil && *s.MaxResults < 1 {
20684		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20685	}
20686
20687	if invalidParams.Len() > 0 {
20688		return invalidParams
20689	}
20690	return nil
20691}
20692
20693// SetMaxResults sets the MaxResults field's value.
20694func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput {
20695	s.MaxResults = &v
20696	return s
20697}
20698
20699// SetNextToken sets the NextToken field's value.
20700func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput {
20701	s.NextToken = &v
20702	return s
20703}
20704
20705type GetCrawlersOutput struct {
20706	_ struct{} `type:"structure"`
20707
20708	// A list of crawler metadata.
20709	Crawlers []*Crawler `type:"list"`
20710
20711	// A continuation token, if the returned list has not reached the end of those
20712	// defined in this customer account.
20713	NextToken *string `type:"string"`
20714}
20715
20716// String returns the string representation
20717func (s GetCrawlersOutput) String() string {
20718	return awsutil.Prettify(s)
20719}
20720
20721// GoString returns the string representation
20722func (s GetCrawlersOutput) GoString() string {
20723	return s.String()
20724}
20725
20726// SetCrawlers sets the Crawlers field's value.
20727func (s *GetCrawlersOutput) SetCrawlers(v []*Crawler) *GetCrawlersOutput {
20728	s.Crawlers = v
20729	return s
20730}
20731
20732// SetNextToken sets the NextToken field's value.
20733func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput {
20734	s.NextToken = &v
20735	return s
20736}
20737
20738type GetDataCatalogEncryptionSettingsInput struct {
20739	_ struct{} `type:"structure"`
20740
20741	// The ID of the Data Catalog to retrieve the security configuration for. If
20742	// none is provided, the AWS account ID is used by default.
20743	CatalogId *string `min:"1" type:"string"`
20744}
20745
20746// String returns the string representation
20747func (s GetDataCatalogEncryptionSettingsInput) String() string {
20748	return awsutil.Prettify(s)
20749}
20750
20751// GoString returns the string representation
20752func (s GetDataCatalogEncryptionSettingsInput) GoString() string {
20753	return s.String()
20754}
20755
20756// Validate inspects the fields of the type to determine if they are valid.
20757func (s *GetDataCatalogEncryptionSettingsInput) Validate() error {
20758	invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"}
20759	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20760		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20761	}
20762
20763	if invalidParams.Len() > 0 {
20764		return invalidParams
20765	}
20766	return nil
20767}
20768
20769// SetCatalogId sets the CatalogId field's value.
20770func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput {
20771	s.CatalogId = &v
20772	return s
20773}
20774
20775type GetDataCatalogEncryptionSettingsOutput struct {
20776	_ struct{} `type:"structure"`
20777
20778	// The requested security configuration.
20779	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"`
20780}
20781
20782// String returns the string representation
20783func (s GetDataCatalogEncryptionSettingsOutput) String() string {
20784	return awsutil.Prettify(s)
20785}
20786
20787// GoString returns the string representation
20788func (s GetDataCatalogEncryptionSettingsOutput) GoString() string {
20789	return s.String()
20790}
20791
20792// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
20793func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput {
20794	s.DataCatalogEncryptionSettings = v
20795	return s
20796}
20797
20798type GetDatabaseInput struct {
20799	_ struct{} `type:"structure"`
20800
20801	// The ID of the Data Catalog in which the database resides. If none is provided,
20802	// the AWS account ID is used by default.
20803	CatalogId *string `min:"1" type:"string"`
20804
20805	// The name of the database to retrieve. For Hive compatibility, this should
20806	// be all lowercase.
20807	//
20808	// Name is a required field
20809	Name *string `min:"1" type:"string" required:"true"`
20810}
20811
20812// String returns the string representation
20813func (s GetDatabaseInput) String() string {
20814	return awsutil.Prettify(s)
20815}
20816
20817// GoString returns the string representation
20818func (s GetDatabaseInput) GoString() string {
20819	return s.String()
20820}
20821
20822// Validate inspects the fields of the type to determine if they are valid.
20823func (s *GetDatabaseInput) Validate() error {
20824	invalidParams := request.ErrInvalidParams{Context: "GetDatabaseInput"}
20825	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20826		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20827	}
20828	if s.Name == nil {
20829		invalidParams.Add(request.NewErrParamRequired("Name"))
20830	}
20831	if s.Name != nil && len(*s.Name) < 1 {
20832		invalidParams.Add(request.NewErrParamMinLen("Name", 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 *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput {
20843	s.CatalogId = &v
20844	return s
20845}
20846
20847// SetName sets the Name field's value.
20848func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput {
20849	s.Name = &v
20850	return s
20851}
20852
20853type GetDatabaseOutput struct {
20854	_ struct{} `type:"structure"`
20855
20856	// The definition of the specified database in the Data Catalog.
20857	Database *Database `type:"structure"`
20858}
20859
20860// String returns the string representation
20861func (s GetDatabaseOutput) String() string {
20862	return awsutil.Prettify(s)
20863}
20864
20865// GoString returns the string representation
20866func (s GetDatabaseOutput) GoString() string {
20867	return s.String()
20868}
20869
20870// SetDatabase sets the Database field's value.
20871func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput {
20872	s.Database = v
20873	return s
20874}
20875
20876type GetDatabasesInput struct {
20877	_ struct{} `type:"structure"`
20878
20879	// The ID of the Data Catalog from which to retrieve Databases. If none is provided,
20880	// the AWS account ID is used by default.
20881	CatalogId *string `min:"1" type:"string"`
20882
20883	// The maximum number of databases to return in one response.
20884	MaxResults *int64 `min:"1" type:"integer"`
20885
20886	// A continuation token, if this is a continuation call.
20887	NextToken *string `type:"string"`
20888}
20889
20890// String returns the string representation
20891func (s GetDatabasesInput) String() string {
20892	return awsutil.Prettify(s)
20893}
20894
20895// GoString returns the string representation
20896func (s GetDatabasesInput) GoString() string {
20897	return s.String()
20898}
20899
20900// Validate inspects the fields of the type to determine if they are valid.
20901func (s *GetDatabasesInput) Validate() error {
20902	invalidParams := request.ErrInvalidParams{Context: "GetDatabasesInput"}
20903	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20904		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20905	}
20906	if s.MaxResults != nil && *s.MaxResults < 1 {
20907		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20908	}
20909
20910	if invalidParams.Len() > 0 {
20911		return invalidParams
20912	}
20913	return nil
20914}
20915
20916// SetCatalogId sets the CatalogId field's value.
20917func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput {
20918	s.CatalogId = &v
20919	return s
20920}
20921
20922// SetMaxResults sets the MaxResults field's value.
20923func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput {
20924	s.MaxResults = &v
20925	return s
20926}
20927
20928// SetNextToken sets the NextToken field's value.
20929func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput {
20930	s.NextToken = &v
20931	return s
20932}
20933
20934type GetDatabasesOutput struct {
20935	_ struct{} `type:"structure"`
20936
20937	// A list of Database objects from the specified catalog.
20938	//
20939	// DatabaseList is a required field
20940	DatabaseList []*Database `type:"list" required:"true"`
20941
20942	// A continuation token for paginating the returned list of tokens, returned
20943	// if the current segment of the list is not the last.
20944	NextToken *string `type:"string"`
20945}
20946
20947// String returns the string representation
20948func (s GetDatabasesOutput) String() string {
20949	return awsutil.Prettify(s)
20950}
20951
20952// GoString returns the string representation
20953func (s GetDatabasesOutput) GoString() string {
20954	return s.String()
20955}
20956
20957// SetDatabaseList sets the DatabaseList field's value.
20958func (s *GetDatabasesOutput) SetDatabaseList(v []*Database) *GetDatabasesOutput {
20959	s.DatabaseList = v
20960	return s
20961}
20962
20963// SetNextToken sets the NextToken field's value.
20964func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput {
20965	s.NextToken = &v
20966	return s
20967}
20968
20969type GetDataflowGraphInput struct {
20970	_ struct{} `type:"structure"`
20971
20972	// The Python script to transform.
20973	PythonScript *string `type:"string"`
20974}
20975
20976// String returns the string representation
20977func (s GetDataflowGraphInput) String() string {
20978	return awsutil.Prettify(s)
20979}
20980
20981// GoString returns the string representation
20982func (s GetDataflowGraphInput) GoString() string {
20983	return s.String()
20984}
20985
20986// SetPythonScript sets the PythonScript field's value.
20987func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput {
20988	s.PythonScript = &v
20989	return s
20990}
20991
20992type GetDataflowGraphOutput struct {
20993	_ struct{} `type:"structure"`
20994
20995	// A list of the edges in the resulting DAG.
20996	DagEdges []*CodeGenEdge `type:"list"`
20997
20998	// A list of the nodes in the resulting DAG.
20999	DagNodes []*CodeGenNode `type:"list"`
21000}
21001
21002// String returns the string representation
21003func (s GetDataflowGraphOutput) String() string {
21004	return awsutil.Prettify(s)
21005}
21006
21007// GoString returns the string representation
21008func (s GetDataflowGraphOutput) GoString() string {
21009	return s.String()
21010}
21011
21012// SetDagEdges sets the DagEdges field's value.
21013func (s *GetDataflowGraphOutput) SetDagEdges(v []*CodeGenEdge) *GetDataflowGraphOutput {
21014	s.DagEdges = v
21015	return s
21016}
21017
21018// SetDagNodes sets the DagNodes field's value.
21019func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraphOutput {
21020	s.DagNodes = v
21021	return s
21022}
21023
21024type GetDevEndpointInput struct {
21025	_ struct{} `type:"structure"`
21026
21027	// Name of the DevEndpoint to retrieve information for.
21028	//
21029	// EndpointName is a required field
21030	EndpointName *string `type:"string" required:"true"`
21031}
21032
21033// String returns the string representation
21034func (s GetDevEndpointInput) String() string {
21035	return awsutil.Prettify(s)
21036}
21037
21038// GoString returns the string representation
21039func (s GetDevEndpointInput) GoString() string {
21040	return s.String()
21041}
21042
21043// Validate inspects the fields of the type to determine if they are valid.
21044func (s *GetDevEndpointInput) Validate() error {
21045	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointInput"}
21046	if s.EndpointName == nil {
21047		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
21048	}
21049
21050	if invalidParams.Len() > 0 {
21051		return invalidParams
21052	}
21053	return nil
21054}
21055
21056// SetEndpointName sets the EndpointName field's value.
21057func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput {
21058	s.EndpointName = &v
21059	return s
21060}
21061
21062type GetDevEndpointOutput struct {
21063	_ struct{} `type:"structure"`
21064
21065	// A DevEndpoint definition.
21066	DevEndpoint *DevEndpoint `type:"structure"`
21067}
21068
21069// String returns the string representation
21070func (s GetDevEndpointOutput) String() string {
21071	return awsutil.Prettify(s)
21072}
21073
21074// GoString returns the string representation
21075func (s GetDevEndpointOutput) GoString() string {
21076	return s.String()
21077}
21078
21079// SetDevEndpoint sets the DevEndpoint field's value.
21080func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput {
21081	s.DevEndpoint = v
21082	return s
21083}
21084
21085type GetDevEndpointsInput struct {
21086	_ struct{} `type:"structure"`
21087
21088	// The maximum size of information to return.
21089	MaxResults *int64 `min:"1" type:"integer"`
21090
21091	// A continuation token, if this is a continuation call.
21092	NextToken *string `type:"string"`
21093}
21094
21095// String returns the string representation
21096func (s GetDevEndpointsInput) String() string {
21097	return awsutil.Prettify(s)
21098}
21099
21100// GoString returns the string representation
21101func (s GetDevEndpointsInput) GoString() string {
21102	return s.String()
21103}
21104
21105// Validate inspects the fields of the type to determine if they are valid.
21106func (s *GetDevEndpointsInput) Validate() error {
21107	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointsInput"}
21108	if s.MaxResults != nil && *s.MaxResults < 1 {
21109		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21110	}
21111
21112	if invalidParams.Len() > 0 {
21113		return invalidParams
21114	}
21115	return nil
21116}
21117
21118// SetMaxResults sets the MaxResults field's value.
21119func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput {
21120	s.MaxResults = &v
21121	return s
21122}
21123
21124// SetNextToken sets the NextToken field's value.
21125func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput {
21126	s.NextToken = &v
21127	return s
21128}
21129
21130type GetDevEndpointsOutput struct {
21131	_ struct{} `type:"structure"`
21132
21133	// A list of DevEndpoint definitions.
21134	DevEndpoints []*DevEndpoint `type:"list"`
21135
21136	// A continuation token, if not all DevEndpoint definitions have yet been returned.
21137	NextToken *string `type:"string"`
21138}
21139
21140// String returns the string representation
21141func (s GetDevEndpointsOutput) String() string {
21142	return awsutil.Prettify(s)
21143}
21144
21145// GoString returns the string representation
21146func (s GetDevEndpointsOutput) GoString() string {
21147	return s.String()
21148}
21149
21150// SetDevEndpoints sets the DevEndpoints field's value.
21151func (s *GetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *GetDevEndpointsOutput {
21152	s.DevEndpoints = v
21153	return s
21154}
21155
21156// SetNextToken sets the NextToken field's value.
21157func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput {
21158	s.NextToken = &v
21159	return s
21160}
21161
21162type GetJobBookmarkInput struct {
21163	_ struct{} `type:"structure"`
21164
21165	// The name of the job in question.
21166	//
21167	// JobName is a required field
21168	JobName *string `type:"string" required:"true"`
21169
21170	// The unique run identifier associated with this job run.
21171	RunId *string `type:"string"`
21172}
21173
21174// String returns the string representation
21175func (s GetJobBookmarkInput) String() string {
21176	return awsutil.Prettify(s)
21177}
21178
21179// GoString returns the string representation
21180func (s GetJobBookmarkInput) GoString() string {
21181	return s.String()
21182}
21183
21184// Validate inspects the fields of the type to determine if they are valid.
21185func (s *GetJobBookmarkInput) Validate() error {
21186	invalidParams := request.ErrInvalidParams{Context: "GetJobBookmarkInput"}
21187	if s.JobName == nil {
21188		invalidParams.Add(request.NewErrParamRequired("JobName"))
21189	}
21190
21191	if invalidParams.Len() > 0 {
21192		return invalidParams
21193	}
21194	return nil
21195}
21196
21197// SetJobName sets the JobName field's value.
21198func (s *GetJobBookmarkInput) SetJobName(v string) *GetJobBookmarkInput {
21199	s.JobName = &v
21200	return s
21201}
21202
21203// SetRunId sets the RunId field's value.
21204func (s *GetJobBookmarkInput) SetRunId(v string) *GetJobBookmarkInput {
21205	s.RunId = &v
21206	return s
21207}
21208
21209type GetJobBookmarkOutput struct {
21210	_ struct{} `type:"structure"`
21211
21212	// A structure that defines a point that a job can resume processing.
21213	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
21214}
21215
21216// String returns the string representation
21217func (s GetJobBookmarkOutput) String() string {
21218	return awsutil.Prettify(s)
21219}
21220
21221// GoString returns the string representation
21222func (s GetJobBookmarkOutput) GoString() string {
21223	return s.String()
21224}
21225
21226// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
21227func (s *GetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *GetJobBookmarkOutput {
21228	s.JobBookmarkEntry = v
21229	return s
21230}
21231
21232type GetJobInput struct {
21233	_ struct{} `type:"structure"`
21234
21235	// The name of the job definition to retrieve.
21236	//
21237	// JobName is a required field
21238	JobName *string `min:"1" type:"string" required:"true"`
21239}
21240
21241// String returns the string representation
21242func (s GetJobInput) String() string {
21243	return awsutil.Prettify(s)
21244}
21245
21246// GoString returns the string representation
21247func (s GetJobInput) GoString() string {
21248	return s.String()
21249}
21250
21251// Validate inspects the fields of the type to determine if they are valid.
21252func (s *GetJobInput) Validate() error {
21253	invalidParams := request.ErrInvalidParams{Context: "GetJobInput"}
21254	if s.JobName == nil {
21255		invalidParams.Add(request.NewErrParamRequired("JobName"))
21256	}
21257	if s.JobName != nil && len(*s.JobName) < 1 {
21258		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21259	}
21260
21261	if invalidParams.Len() > 0 {
21262		return invalidParams
21263	}
21264	return nil
21265}
21266
21267// SetJobName sets the JobName field's value.
21268func (s *GetJobInput) SetJobName(v string) *GetJobInput {
21269	s.JobName = &v
21270	return s
21271}
21272
21273type GetJobOutput struct {
21274	_ struct{} `type:"structure"`
21275
21276	// The requested job definition.
21277	Job *Job `type:"structure"`
21278}
21279
21280// String returns the string representation
21281func (s GetJobOutput) String() string {
21282	return awsutil.Prettify(s)
21283}
21284
21285// GoString returns the string representation
21286func (s GetJobOutput) GoString() string {
21287	return s.String()
21288}
21289
21290// SetJob sets the Job field's value.
21291func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
21292	s.Job = v
21293	return s
21294}
21295
21296type GetJobRunInput struct {
21297	_ struct{} `type:"structure"`
21298
21299	// Name of the job definition being run.
21300	//
21301	// JobName is a required field
21302	JobName *string `min:"1" type:"string" required:"true"`
21303
21304	// True if a list of predecessor runs should be returned.
21305	PredecessorsIncluded *bool `type:"boolean"`
21306
21307	// The ID of the job run.
21308	//
21309	// RunId is a required field
21310	RunId *string `min:"1" type:"string" required:"true"`
21311}
21312
21313// String returns the string representation
21314func (s GetJobRunInput) String() string {
21315	return awsutil.Prettify(s)
21316}
21317
21318// GoString returns the string representation
21319func (s GetJobRunInput) GoString() string {
21320	return s.String()
21321}
21322
21323// Validate inspects the fields of the type to determine if they are valid.
21324func (s *GetJobRunInput) Validate() error {
21325	invalidParams := request.ErrInvalidParams{Context: "GetJobRunInput"}
21326	if s.JobName == nil {
21327		invalidParams.Add(request.NewErrParamRequired("JobName"))
21328	}
21329	if s.JobName != nil && len(*s.JobName) < 1 {
21330		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21331	}
21332	if s.RunId == nil {
21333		invalidParams.Add(request.NewErrParamRequired("RunId"))
21334	}
21335	if s.RunId != nil && len(*s.RunId) < 1 {
21336		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
21337	}
21338
21339	if invalidParams.Len() > 0 {
21340		return invalidParams
21341	}
21342	return nil
21343}
21344
21345// SetJobName sets the JobName field's value.
21346func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput {
21347	s.JobName = &v
21348	return s
21349}
21350
21351// SetPredecessorsIncluded sets the PredecessorsIncluded field's value.
21352func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput {
21353	s.PredecessorsIncluded = &v
21354	return s
21355}
21356
21357// SetRunId sets the RunId field's value.
21358func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput {
21359	s.RunId = &v
21360	return s
21361}
21362
21363type GetJobRunOutput struct {
21364	_ struct{} `type:"structure"`
21365
21366	// The requested job-run metadata.
21367	JobRun *JobRun `type:"structure"`
21368}
21369
21370// String returns the string representation
21371func (s GetJobRunOutput) String() string {
21372	return awsutil.Prettify(s)
21373}
21374
21375// GoString returns the string representation
21376func (s GetJobRunOutput) GoString() string {
21377	return s.String()
21378}
21379
21380// SetJobRun sets the JobRun field's value.
21381func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput {
21382	s.JobRun = v
21383	return s
21384}
21385
21386type GetJobRunsInput struct {
21387	_ struct{} `type:"structure"`
21388
21389	// The name of the job definition for which to retrieve all job runs.
21390	//
21391	// JobName is a required field
21392	JobName *string `min:"1" type:"string" required:"true"`
21393
21394	// The maximum size of the response.
21395	MaxResults *int64 `min:"1" type:"integer"`
21396
21397	// A continuation token, if this is a continuation call.
21398	NextToken *string `type:"string"`
21399}
21400
21401// String returns the string representation
21402func (s GetJobRunsInput) String() string {
21403	return awsutil.Prettify(s)
21404}
21405
21406// GoString returns the string representation
21407func (s GetJobRunsInput) GoString() string {
21408	return s.String()
21409}
21410
21411// Validate inspects the fields of the type to determine if they are valid.
21412func (s *GetJobRunsInput) Validate() error {
21413	invalidParams := request.ErrInvalidParams{Context: "GetJobRunsInput"}
21414	if s.JobName == nil {
21415		invalidParams.Add(request.NewErrParamRequired("JobName"))
21416	}
21417	if s.JobName != nil && len(*s.JobName) < 1 {
21418		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21419	}
21420	if s.MaxResults != nil && *s.MaxResults < 1 {
21421		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21422	}
21423
21424	if invalidParams.Len() > 0 {
21425		return invalidParams
21426	}
21427	return nil
21428}
21429
21430// SetJobName sets the JobName field's value.
21431func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput {
21432	s.JobName = &v
21433	return s
21434}
21435
21436// SetMaxResults sets the MaxResults field's value.
21437func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput {
21438	s.MaxResults = &v
21439	return s
21440}
21441
21442// SetNextToken sets the NextToken field's value.
21443func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput {
21444	s.NextToken = &v
21445	return s
21446}
21447
21448type GetJobRunsOutput struct {
21449	_ struct{} `type:"structure"`
21450
21451	// A list of job-run metadata objects.
21452	JobRuns []*JobRun `type:"list"`
21453
21454	// A continuation token, if not all requested job runs have been returned.
21455	NextToken *string `type:"string"`
21456}
21457
21458// String returns the string representation
21459func (s GetJobRunsOutput) String() string {
21460	return awsutil.Prettify(s)
21461}
21462
21463// GoString returns the string representation
21464func (s GetJobRunsOutput) GoString() string {
21465	return s.String()
21466}
21467
21468// SetJobRuns sets the JobRuns field's value.
21469func (s *GetJobRunsOutput) SetJobRuns(v []*JobRun) *GetJobRunsOutput {
21470	s.JobRuns = v
21471	return s
21472}
21473
21474// SetNextToken sets the NextToken field's value.
21475func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput {
21476	s.NextToken = &v
21477	return s
21478}
21479
21480type GetJobsInput struct {
21481	_ struct{} `type:"structure"`
21482
21483	// The maximum size of the response.
21484	MaxResults *int64 `min:"1" type:"integer"`
21485
21486	// A continuation token, if this is a continuation call.
21487	NextToken *string `type:"string"`
21488}
21489
21490// String returns the string representation
21491func (s GetJobsInput) String() string {
21492	return awsutil.Prettify(s)
21493}
21494
21495// GoString returns the string representation
21496func (s GetJobsInput) GoString() string {
21497	return s.String()
21498}
21499
21500// Validate inspects the fields of the type to determine if they are valid.
21501func (s *GetJobsInput) Validate() error {
21502	invalidParams := request.ErrInvalidParams{Context: "GetJobsInput"}
21503	if s.MaxResults != nil && *s.MaxResults < 1 {
21504		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21505	}
21506
21507	if invalidParams.Len() > 0 {
21508		return invalidParams
21509	}
21510	return nil
21511}
21512
21513// SetMaxResults sets the MaxResults field's value.
21514func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput {
21515	s.MaxResults = &v
21516	return s
21517}
21518
21519// SetNextToken sets the NextToken field's value.
21520func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput {
21521	s.NextToken = &v
21522	return s
21523}
21524
21525type GetJobsOutput struct {
21526	_ struct{} `type:"structure"`
21527
21528	// A list of job definitions.
21529	Jobs []*Job `type:"list"`
21530
21531	// A continuation token, if not all job definitions have yet been returned.
21532	NextToken *string `type:"string"`
21533}
21534
21535// String returns the string representation
21536func (s GetJobsOutput) String() string {
21537	return awsutil.Prettify(s)
21538}
21539
21540// GoString returns the string representation
21541func (s GetJobsOutput) GoString() string {
21542	return s.String()
21543}
21544
21545// SetJobs sets the Jobs field's value.
21546func (s *GetJobsOutput) SetJobs(v []*Job) *GetJobsOutput {
21547	s.Jobs = v
21548	return s
21549}
21550
21551// SetNextToken sets the NextToken field's value.
21552func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput {
21553	s.NextToken = &v
21554	return s
21555}
21556
21557type GetMLTaskRunInput struct {
21558	_ struct{} `type:"structure"`
21559
21560	// The unique identifier of the task run.
21561	//
21562	// TaskRunId is a required field
21563	TaskRunId *string `min:"1" type:"string" required:"true"`
21564
21565	// The unique identifier of the machine learning transform.
21566	//
21567	// TransformId is a required field
21568	TransformId *string `min:"1" type:"string" required:"true"`
21569}
21570
21571// String returns the string representation
21572func (s GetMLTaskRunInput) String() string {
21573	return awsutil.Prettify(s)
21574}
21575
21576// GoString returns the string representation
21577func (s GetMLTaskRunInput) GoString() string {
21578	return s.String()
21579}
21580
21581// Validate inspects the fields of the type to determine if they are valid.
21582func (s *GetMLTaskRunInput) Validate() error {
21583	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunInput"}
21584	if s.TaskRunId == nil {
21585		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
21586	}
21587	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
21588		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
21589	}
21590	if s.TransformId == nil {
21591		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21592	}
21593	if s.TransformId != nil && len(*s.TransformId) < 1 {
21594		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21595	}
21596
21597	if invalidParams.Len() > 0 {
21598		return invalidParams
21599	}
21600	return nil
21601}
21602
21603// SetTaskRunId sets the TaskRunId field's value.
21604func (s *GetMLTaskRunInput) SetTaskRunId(v string) *GetMLTaskRunInput {
21605	s.TaskRunId = &v
21606	return s
21607}
21608
21609// SetTransformId sets the TransformId field's value.
21610func (s *GetMLTaskRunInput) SetTransformId(v string) *GetMLTaskRunInput {
21611	s.TransformId = &v
21612	return s
21613}
21614
21615type GetMLTaskRunOutput struct {
21616	_ struct{} `type:"structure"`
21617
21618	// The date and time when this task run was completed.
21619	CompletedOn *time.Time `type:"timestamp"`
21620
21621	// The error strings that are associated with the task run.
21622	ErrorString *string `type:"string"`
21623
21624	// The amount of time (in seconds) that the task run consumed resources.
21625	ExecutionTime *int64 `type:"integer"`
21626
21627	// The date and time when this task run was last modified.
21628	LastModifiedOn *time.Time `type:"timestamp"`
21629
21630	// The names of the log groups that are associated with the task run.
21631	LogGroupName *string `type:"string"`
21632
21633	// The list of properties that are associated with the task run.
21634	Properties *TaskRunProperties `type:"structure"`
21635
21636	// The date and time when this task run started.
21637	StartedOn *time.Time `type:"timestamp"`
21638
21639	// The status for this task run.
21640	Status *string `type:"string" enum:"TaskStatusType"`
21641
21642	// The unique run identifier associated with this run.
21643	TaskRunId *string `min:"1" type:"string"`
21644
21645	// The unique identifier of the task run.
21646	TransformId *string `min:"1" type:"string"`
21647}
21648
21649// String returns the string representation
21650func (s GetMLTaskRunOutput) String() string {
21651	return awsutil.Prettify(s)
21652}
21653
21654// GoString returns the string representation
21655func (s GetMLTaskRunOutput) GoString() string {
21656	return s.String()
21657}
21658
21659// SetCompletedOn sets the CompletedOn field's value.
21660func (s *GetMLTaskRunOutput) SetCompletedOn(v time.Time) *GetMLTaskRunOutput {
21661	s.CompletedOn = &v
21662	return s
21663}
21664
21665// SetErrorString sets the ErrorString field's value.
21666func (s *GetMLTaskRunOutput) SetErrorString(v string) *GetMLTaskRunOutput {
21667	s.ErrorString = &v
21668	return s
21669}
21670
21671// SetExecutionTime sets the ExecutionTime field's value.
21672func (s *GetMLTaskRunOutput) SetExecutionTime(v int64) *GetMLTaskRunOutput {
21673	s.ExecutionTime = &v
21674	return s
21675}
21676
21677// SetLastModifiedOn sets the LastModifiedOn field's value.
21678func (s *GetMLTaskRunOutput) SetLastModifiedOn(v time.Time) *GetMLTaskRunOutput {
21679	s.LastModifiedOn = &v
21680	return s
21681}
21682
21683// SetLogGroupName sets the LogGroupName field's value.
21684func (s *GetMLTaskRunOutput) SetLogGroupName(v string) *GetMLTaskRunOutput {
21685	s.LogGroupName = &v
21686	return s
21687}
21688
21689// SetProperties sets the Properties field's value.
21690func (s *GetMLTaskRunOutput) SetProperties(v *TaskRunProperties) *GetMLTaskRunOutput {
21691	s.Properties = v
21692	return s
21693}
21694
21695// SetStartedOn sets the StartedOn field's value.
21696func (s *GetMLTaskRunOutput) SetStartedOn(v time.Time) *GetMLTaskRunOutput {
21697	s.StartedOn = &v
21698	return s
21699}
21700
21701// SetStatus sets the Status field's value.
21702func (s *GetMLTaskRunOutput) SetStatus(v string) *GetMLTaskRunOutput {
21703	s.Status = &v
21704	return s
21705}
21706
21707// SetTaskRunId sets the TaskRunId field's value.
21708func (s *GetMLTaskRunOutput) SetTaskRunId(v string) *GetMLTaskRunOutput {
21709	s.TaskRunId = &v
21710	return s
21711}
21712
21713// SetTransformId sets the TransformId field's value.
21714func (s *GetMLTaskRunOutput) SetTransformId(v string) *GetMLTaskRunOutput {
21715	s.TransformId = &v
21716	return s
21717}
21718
21719type GetMLTaskRunsInput struct {
21720	_ struct{} `type:"structure"`
21721
21722	// The filter criteria, in the TaskRunFilterCriteria structure, for the task
21723	// run.
21724	Filter *TaskRunFilterCriteria `type:"structure"`
21725
21726	// The maximum number of results to return.
21727	MaxResults *int64 `min:"1" type:"integer"`
21728
21729	// A token for pagination of the results. The default is empty.
21730	NextToken *string `type:"string"`
21731
21732	// The sorting criteria, in the TaskRunSortCriteria structure, for the task
21733	// run.
21734	Sort *TaskRunSortCriteria `type:"structure"`
21735
21736	// The unique identifier of the machine learning transform.
21737	//
21738	// TransformId is a required field
21739	TransformId *string `min:"1" type:"string" required:"true"`
21740}
21741
21742// String returns the string representation
21743func (s GetMLTaskRunsInput) String() string {
21744	return awsutil.Prettify(s)
21745}
21746
21747// GoString returns the string representation
21748func (s GetMLTaskRunsInput) GoString() string {
21749	return s.String()
21750}
21751
21752// Validate inspects the fields of the type to determine if they are valid.
21753func (s *GetMLTaskRunsInput) Validate() error {
21754	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunsInput"}
21755	if s.MaxResults != nil && *s.MaxResults < 1 {
21756		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21757	}
21758	if s.TransformId == nil {
21759		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21760	}
21761	if s.TransformId != nil && len(*s.TransformId) < 1 {
21762		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21763	}
21764	if s.Sort != nil {
21765		if err := s.Sort.Validate(); err != nil {
21766			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
21767		}
21768	}
21769
21770	if invalidParams.Len() > 0 {
21771		return invalidParams
21772	}
21773	return nil
21774}
21775
21776// SetFilter sets the Filter field's value.
21777func (s *GetMLTaskRunsInput) SetFilter(v *TaskRunFilterCriteria) *GetMLTaskRunsInput {
21778	s.Filter = v
21779	return s
21780}
21781
21782// SetMaxResults sets the MaxResults field's value.
21783func (s *GetMLTaskRunsInput) SetMaxResults(v int64) *GetMLTaskRunsInput {
21784	s.MaxResults = &v
21785	return s
21786}
21787
21788// SetNextToken sets the NextToken field's value.
21789func (s *GetMLTaskRunsInput) SetNextToken(v string) *GetMLTaskRunsInput {
21790	s.NextToken = &v
21791	return s
21792}
21793
21794// SetSort sets the Sort field's value.
21795func (s *GetMLTaskRunsInput) SetSort(v *TaskRunSortCriteria) *GetMLTaskRunsInput {
21796	s.Sort = v
21797	return s
21798}
21799
21800// SetTransformId sets the TransformId field's value.
21801func (s *GetMLTaskRunsInput) SetTransformId(v string) *GetMLTaskRunsInput {
21802	s.TransformId = &v
21803	return s
21804}
21805
21806type GetMLTaskRunsOutput struct {
21807	_ struct{} `type:"structure"`
21808
21809	// A pagination token, if more results are available.
21810	NextToken *string `type:"string"`
21811
21812	// A list of task runs that are associated with the transform.
21813	TaskRuns []*TaskRun `type:"list"`
21814}
21815
21816// String returns the string representation
21817func (s GetMLTaskRunsOutput) String() string {
21818	return awsutil.Prettify(s)
21819}
21820
21821// GoString returns the string representation
21822func (s GetMLTaskRunsOutput) GoString() string {
21823	return s.String()
21824}
21825
21826// SetNextToken sets the NextToken field's value.
21827func (s *GetMLTaskRunsOutput) SetNextToken(v string) *GetMLTaskRunsOutput {
21828	s.NextToken = &v
21829	return s
21830}
21831
21832// SetTaskRuns sets the TaskRuns field's value.
21833func (s *GetMLTaskRunsOutput) SetTaskRuns(v []*TaskRun) *GetMLTaskRunsOutput {
21834	s.TaskRuns = v
21835	return s
21836}
21837
21838type GetMLTransformInput struct {
21839	_ struct{} `type:"structure"`
21840
21841	// The unique identifier of the transform, generated at the time that the transform
21842	// was created.
21843	//
21844	// TransformId is a required field
21845	TransformId *string `min:"1" type:"string" required:"true"`
21846}
21847
21848// String returns the string representation
21849func (s GetMLTransformInput) String() string {
21850	return awsutil.Prettify(s)
21851}
21852
21853// GoString returns the string representation
21854func (s GetMLTransformInput) GoString() string {
21855	return s.String()
21856}
21857
21858// Validate inspects the fields of the type to determine if they are valid.
21859func (s *GetMLTransformInput) Validate() error {
21860	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformInput"}
21861	if s.TransformId == nil {
21862		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21863	}
21864	if s.TransformId != nil && len(*s.TransformId) < 1 {
21865		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21866	}
21867
21868	if invalidParams.Len() > 0 {
21869		return invalidParams
21870	}
21871	return nil
21872}
21873
21874// SetTransformId sets the TransformId field's value.
21875func (s *GetMLTransformInput) SetTransformId(v string) *GetMLTransformInput {
21876	s.TransformId = &v
21877	return s
21878}
21879
21880type GetMLTransformOutput struct {
21881	_ struct{} `type:"structure"`
21882
21883	// The date and time when the transform was created.
21884	CreatedOn *time.Time `type:"timestamp"`
21885
21886	// A description of the transform.
21887	Description *string `type:"string"`
21888
21889	// The latest evaluation metrics.
21890	EvaluationMetrics *EvaluationMetrics `type:"structure"`
21891
21892	// This value determines which version of AWS Glue this machine learning transform
21893	// is compatible with. Glue 1.0 is recommended for most customers. If the value
21894	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
21895	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
21896	// in the developer guide.
21897	GlueVersion *string `min:"1" type:"string"`
21898
21899	// A list of AWS Glue table definitions used by the transform.
21900	InputRecordTables []*Table `type:"list"`
21901
21902	// The number of labels available for this transform.
21903	LabelCount *int64 `type:"integer"`
21904
21905	// The date and time when the transform was last modified.
21906	LastModifiedOn *time.Time `type:"timestamp"`
21907
21908	// The number of AWS Glue data processing units (DPUs) that are allocated to
21909	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
21910	// is 10. A DPU is a relative measure of processing power that consists of 4
21911	// vCPUs of compute capacity and 16 GB of memory. For more information, see
21912	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
21913	//
21914	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
21915	// field is set automatically and becomes read-only.
21916	MaxCapacity *float64 `type:"double"`
21917
21918	// The maximum number of times to retry a task for this transform after a task
21919	// run fails.
21920	MaxRetries *int64 `type:"integer"`
21921
21922	// The unique name given to the transform when it was created.
21923	Name *string `min:"1" type:"string"`
21924
21925	// The number of workers of a defined workerType that are allocated when this
21926	// task runs.
21927	NumberOfWorkers *int64 `type:"integer"`
21928
21929	// The configuration parameters that are specific to the algorithm used.
21930	Parameters *TransformParameters `type:"structure"`
21931
21932	// The name or Amazon Resource Name (ARN) of the IAM role with the required
21933	// permissions.
21934	Role *string `type:"string"`
21935
21936	// The Map<Column, Type> object that represents the schema that this transform
21937	// accepts. Has an upper bound of 100 columns.
21938	Schema []*SchemaColumn `type:"list"`
21939
21940	// The last known status of the transform (to indicate whether it can be used
21941	// or not). One of "NOT_READY", "READY", or "DELETING".
21942	Status *string `type:"string" enum:"TransformStatusType"`
21943
21944	// The timeout for a task run for this transform in minutes. This is the maximum
21945	// time that a task run for this transform can consume resources before it is
21946	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
21947	Timeout *int64 `min:"1" type:"integer"`
21948
21949	// The unique identifier of the transform, generated at the time that the transform
21950	// was created.
21951	TransformId *string `min:"1" type:"string"`
21952
21953	// The type of predefined worker that is allocated when this task runs. Accepts
21954	// a value of Standard, G.1X, or G.2X.
21955	//
21956	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
21957	//    memory and a 50GB disk, and 2 executors per worker.
21958	//
21959	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
21960	//    and a 64GB disk, and 1 executor per worker.
21961	//
21962	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
21963	//    and a 128GB disk, and 1 executor per worker.
21964	WorkerType *string `type:"string" enum:"WorkerType"`
21965}
21966
21967// String returns the string representation
21968func (s GetMLTransformOutput) String() string {
21969	return awsutil.Prettify(s)
21970}
21971
21972// GoString returns the string representation
21973func (s GetMLTransformOutput) GoString() string {
21974	return s.String()
21975}
21976
21977// SetCreatedOn sets the CreatedOn field's value.
21978func (s *GetMLTransformOutput) SetCreatedOn(v time.Time) *GetMLTransformOutput {
21979	s.CreatedOn = &v
21980	return s
21981}
21982
21983// SetDescription sets the Description field's value.
21984func (s *GetMLTransformOutput) SetDescription(v string) *GetMLTransformOutput {
21985	s.Description = &v
21986	return s
21987}
21988
21989// SetEvaluationMetrics sets the EvaluationMetrics field's value.
21990func (s *GetMLTransformOutput) SetEvaluationMetrics(v *EvaluationMetrics) *GetMLTransformOutput {
21991	s.EvaluationMetrics = v
21992	return s
21993}
21994
21995// SetGlueVersion sets the GlueVersion field's value.
21996func (s *GetMLTransformOutput) SetGlueVersion(v string) *GetMLTransformOutput {
21997	s.GlueVersion = &v
21998	return s
21999}
22000
22001// SetInputRecordTables sets the InputRecordTables field's value.
22002func (s *GetMLTransformOutput) SetInputRecordTables(v []*Table) *GetMLTransformOutput {
22003	s.InputRecordTables = v
22004	return s
22005}
22006
22007// SetLabelCount sets the LabelCount field's value.
22008func (s *GetMLTransformOutput) SetLabelCount(v int64) *GetMLTransformOutput {
22009	s.LabelCount = &v
22010	return s
22011}
22012
22013// SetLastModifiedOn sets the LastModifiedOn field's value.
22014func (s *GetMLTransformOutput) SetLastModifiedOn(v time.Time) *GetMLTransformOutput {
22015	s.LastModifiedOn = &v
22016	return s
22017}
22018
22019// SetMaxCapacity sets the MaxCapacity field's value.
22020func (s *GetMLTransformOutput) SetMaxCapacity(v float64) *GetMLTransformOutput {
22021	s.MaxCapacity = &v
22022	return s
22023}
22024
22025// SetMaxRetries sets the MaxRetries field's value.
22026func (s *GetMLTransformOutput) SetMaxRetries(v int64) *GetMLTransformOutput {
22027	s.MaxRetries = &v
22028	return s
22029}
22030
22031// SetName sets the Name field's value.
22032func (s *GetMLTransformOutput) SetName(v string) *GetMLTransformOutput {
22033	s.Name = &v
22034	return s
22035}
22036
22037// SetNumberOfWorkers sets the NumberOfWorkers field's value.
22038func (s *GetMLTransformOutput) SetNumberOfWorkers(v int64) *GetMLTransformOutput {
22039	s.NumberOfWorkers = &v
22040	return s
22041}
22042
22043// SetParameters sets the Parameters field's value.
22044func (s *GetMLTransformOutput) SetParameters(v *TransformParameters) *GetMLTransformOutput {
22045	s.Parameters = v
22046	return s
22047}
22048
22049// SetRole sets the Role field's value.
22050func (s *GetMLTransformOutput) SetRole(v string) *GetMLTransformOutput {
22051	s.Role = &v
22052	return s
22053}
22054
22055// SetSchema sets the Schema field's value.
22056func (s *GetMLTransformOutput) SetSchema(v []*SchemaColumn) *GetMLTransformOutput {
22057	s.Schema = v
22058	return s
22059}
22060
22061// SetStatus sets the Status field's value.
22062func (s *GetMLTransformOutput) SetStatus(v string) *GetMLTransformOutput {
22063	s.Status = &v
22064	return s
22065}
22066
22067// SetTimeout sets the Timeout field's value.
22068func (s *GetMLTransformOutput) SetTimeout(v int64) *GetMLTransformOutput {
22069	s.Timeout = &v
22070	return s
22071}
22072
22073// SetTransformId sets the TransformId field's value.
22074func (s *GetMLTransformOutput) SetTransformId(v string) *GetMLTransformOutput {
22075	s.TransformId = &v
22076	return s
22077}
22078
22079// SetWorkerType sets the WorkerType field's value.
22080func (s *GetMLTransformOutput) SetWorkerType(v string) *GetMLTransformOutput {
22081	s.WorkerType = &v
22082	return s
22083}
22084
22085type GetMLTransformsInput struct {
22086	_ struct{} `type:"structure"`
22087
22088	// The filter transformation criteria.
22089	Filter *TransformFilterCriteria `type:"structure"`
22090
22091	// The maximum number of results to return.
22092	MaxResults *int64 `min:"1" type:"integer"`
22093
22094	// A paginated token to offset the results.
22095	NextToken *string `type:"string"`
22096
22097	// The sorting criteria.
22098	Sort *TransformSortCriteria `type:"structure"`
22099}
22100
22101// String returns the string representation
22102func (s GetMLTransformsInput) String() string {
22103	return awsutil.Prettify(s)
22104}
22105
22106// GoString returns the string representation
22107func (s GetMLTransformsInput) GoString() string {
22108	return s.String()
22109}
22110
22111// Validate inspects the fields of the type to determine if they are valid.
22112func (s *GetMLTransformsInput) Validate() error {
22113	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformsInput"}
22114	if s.MaxResults != nil && *s.MaxResults < 1 {
22115		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22116	}
22117	if s.Filter != nil {
22118		if err := s.Filter.Validate(); err != nil {
22119			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
22120		}
22121	}
22122	if s.Sort != nil {
22123		if err := s.Sort.Validate(); err != nil {
22124			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
22125		}
22126	}
22127
22128	if invalidParams.Len() > 0 {
22129		return invalidParams
22130	}
22131	return nil
22132}
22133
22134// SetFilter sets the Filter field's value.
22135func (s *GetMLTransformsInput) SetFilter(v *TransformFilterCriteria) *GetMLTransformsInput {
22136	s.Filter = v
22137	return s
22138}
22139
22140// SetMaxResults sets the MaxResults field's value.
22141func (s *GetMLTransformsInput) SetMaxResults(v int64) *GetMLTransformsInput {
22142	s.MaxResults = &v
22143	return s
22144}
22145
22146// SetNextToken sets the NextToken field's value.
22147func (s *GetMLTransformsInput) SetNextToken(v string) *GetMLTransformsInput {
22148	s.NextToken = &v
22149	return s
22150}
22151
22152// SetSort sets the Sort field's value.
22153func (s *GetMLTransformsInput) SetSort(v *TransformSortCriteria) *GetMLTransformsInput {
22154	s.Sort = v
22155	return s
22156}
22157
22158type GetMLTransformsOutput struct {
22159	_ struct{} `type:"structure"`
22160
22161	// A pagination token, if more results are available.
22162	NextToken *string `type:"string"`
22163
22164	// A list of machine learning transforms.
22165	//
22166	// Transforms is a required field
22167	Transforms []*MLTransform `type:"list" required:"true"`
22168}
22169
22170// String returns the string representation
22171func (s GetMLTransformsOutput) String() string {
22172	return awsutil.Prettify(s)
22173}
22174
22175// GoString returns the string representation
22176func (s GetMLTransformsOutput) GoString() string {
22177	return s.String()
22178}
22179
22180// SetNextToken sets the NextToken field's value.
22181func (s *GetMLTransformsOutput) SetNextToken(v string) *GetMLTransformsOutput {
22182	s.NextToken = &v
22183	return s
22184}
22185
22186// SetTransforms sets the Transforms field's value.
22187func (s *GetMLTransformsOutput) SetTransforms(v []*MLTransform) *GetMLTransformsOutput {
22188	s.Transforms = v
22189	return s
22190}
22191
22192type GetMappingInput struct {
22193	_ struct{} `type:"structure"`
22194
22195	// Parameters for the mapping.
22196	Location *Location `type:"structure"`
22197
22198	// A list of target tables.
22199	Sinks []*CatalogEntry `type:"list"`
22200
22201	// Specifies the source table.
22202	//
22203	// Source is a required field
22204	Source *CatalogEntry `type:"structure" required:"true"`
22205}
22206
22207// String returns the string representation
22208func (s GetMappingInput) String() string {
22209	return awsutil.Prettify(s)
22210}
22211
22212// GoString returns the string representation
22213func (s GetMappingInput) GoString() string {
22214	return s.String()
22215}
22216
22217// Validate inspects the fields of the type to determine if they are valid.
22218func (s *GetMappingInput) Validate() error {
22219	invalidParams := request.ErrInvalidParams{Context: "GetMappingInput"}
22220	if s.Source == nil {
22221		invalidParams.Add(request.NewErrParamRequired("Source"))
22222	}
22223	if s.Location != nil {
22224		if err := s.Location.Validate(); err != nil {
22225			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
22226		}
22227	}
22228	if s.Sinks != nil {
22229		for i, v := range s.Sinks {
22230			if v == nil {
22231				continue
22232			}
22233			if err := v.Validate(); err != nil {
22234				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
22235			}
22236		}
22237	}
22238	if s.Source != nil {
22239		if err := s.Source.Validate(); err != nil {
22240			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
22241		}
22242	}
22243
22244	if invalidParams.Len() > 0 {
22245		return invalidParams
22246	}
22247	return nil
22248}
22249
22250// SetLocation sets the Location field's value.
22251func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput {
22252	s.Location = v
22253	return s
22254}
22255
22256// SetSinks sets the Sinks field's value.
22257func (s *GetMappingInput) SetSinks(v []*CatalogEntry) *GetMappingInput {
22258	s.Sinks = v
22259	return s
22260}
22261
22262// SetSource sets the Source field's value.
22263func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput {
22264	s.Source = v
22265	return s
22266}
22267
22268type GetMappingOutput struct {
22269	_ struct{} `type:"structure"`
22270
22271	// A list of mappings to the specified targets.
22272	//
22273	// Mapping is a required field
22274	Mapping []*MappingEntry `type:"list" required:"true"`
22275}
22276
22277// String returns the string representation
22278func (s GetMappingOutput) String() string {
22279	return awsutil.Prettify(s)
22280}
22281
22282// GoString returns the string representation
22283func (s GetMappingOutput) GoString() string {
22284	return s.String()
22285}
22286
22287// SetMapping sets the Mapping field's value.
22288func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput {
22289	s.Mapping = v
22290	return s
22291}
22292
22293type GetPartitionInput struct {
22294	_ struct{} `type:"structure"`
22295
22296	// The ID of the Data Catalog where the partition in question resides. If none
22297	// is provided, the AWS account ID is used by default.
22298	CatalogId *string `min:"1" type:"string"`
22299
22300	// The name of the catalog database where the partition resides.
22301	//
22302	// DatabaseName is a required field
22303	DatabaseName *string `min:"1" type:"string" required:"true"`
22304
22305	// The values that define the partition.
22306	//
22307	// PartitionValues is a required field
22308	PartitionValues []*string `type:"list" required:"true"`
22309
22310	// The name of the partition's table.
22311	//
22312	// TableName is a required field
22313	TableName *string `min:"1" type:"string" required:"true"`
22314}
22315
22316// String returns the string representation
22317func (s GetPartitionInput) String() string {
22318	return awsutil.Prettify(s)
22319}
22320
22321// GoString returns the string representation
22322func (s GetPartitionInput) GoString() string {
22323	return s.String()
22324}
22325
22326// Validate inspects the fields of the type to determine if they are valid.
22327func (s *GetPartitionInput) Validate() error {
22328	invalidParams := request.ErrInvalidParams{Context: "GetPartitionInput"}
22329	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22330		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22331	}
22332	if s.DatabaseName == nil {
22333		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22334	}
22335	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22336		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22337	}
22338	if s.PartitionValues == nil {
22339		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
22340	}
22341	if s.TableName == nil {
22342		invalidParams.Add(request.NewErrParamRequired("TableName"))
22343	}
22344	if s.TableName != nil && len(*s.TableName) < 1 {
22345		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22346	}
22347
22348	if invalidParams.Len() > 0 {
22349		return invalidParams
22350	}
22351	return nil
22352}
22353
22354// SetCatalogId sets the CatalogId field's value.
22355func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput {
22356	s.CatalogId = &v
22357	return s
22358}
22359
22360// SetDatabaseName sets the DatabaseName field's value.
22361func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput {
22362	s.DatabaseName = &v
22363	return s
22364}
22365
22366// SetPartitionValues sets the PartitionValues field's value.
22367func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput {
22368	s.PartitionValues = v
22369	return s
22370}
22371
22372// SetTableName sets the TableName field's value.
22373func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput {
22374	s.TableName = &v
22375	return s
22376}
22377
22378type GetPartitionOutput struct {
22379	_ struct{} `type:"structure"`
22380
22381	// The requested information, in the form of a Partition object.
22382	Partition *Partition `type:"structure"`
22383}
22384
22385// String returns the string representation
22386func (s GetPartitionOutput) String() string {
22387	return awsutil.Prettify(s)
22388}
22389
22390// GoString returns the string representation
22391func (s GetPartitionOutput) GoString() string {
22392	return s.String()
22393}
22394
22395// SetPartition sets the Partition field's value.
22396func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput {
22397	s.Partition = v
22398	return s
22399}
22400
22401type GetPartitionsInput struct {
22402	_ struct{} `type:"structure"`
22403
22404	// The ID of the Data Catalog where the partitions in question reside. If none
22405	// is provided, the AWS account ID is used by default.
22406	CatalogId *string `min:"1" type:"string"`
22407
22408	// The name of the catalog database where the partitions reside.
22409	//
22410	// DatabaseName is a required field
22411	DatabaseName *string `min:"1" type:"string" required:"true"`
22412
22413	// An expression that filters the partitions to be returned.
22414	//
22415	// The expression uses SQL syntax similar to the SQL WHERE filter clause. The
22416	// SQL statement parser JSQLParser (http://jsqlparser.sourceforge.net/home.php)
22417	// parses the expression.
22418	//
22419	// Operators: The following are the operators that you can use in the Expression
22420	// API call:
22421	//
22422	// =
22423	//
22424	// Checks whether the values of the two operands are equal; if yes, then the
22425	// condition becomes true.
22426	//
22427	// Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
22428	//
22429	// (a = b) is not true.
22430	//
22431	// < >
22432	//
22433	// Checks whether the values of two operands are equal; if the values are not
22434	// equal, then the condition becomes true.
22435	//
22436	// Example: (a < > b) is true.
22437	//
22438	// >
22439	//
22440	// Checks whether the value of the left operand is greater than the value of
22441	// the right operand; if yes, then the condition becomes true.
22442	//
22443	// Example: (a > b) is not true.
22444	//
22445	// <
22446	//
22447	// Checks whether the value of the left operand is less than the value of the
22448	// right operand; if yes, then the condition becomes true.
22449	//
22450	// Example: (a < b) is true.
22451	//
22452	// >=
22453	//
22454	// Checks whether the value of the left operand is greater than or equal to
22455	// the value of the right operand; if yes, then the condition becomes true.
22456	//
22457	// Example: (a >= b) is not true.
22458	//
22459	// <=
22460	//
22461	// Checks whether the value of the left operand is less than or equal to the
22462	// value of the right operand; if yes, then the condition becomes true.
22463	//
22464	// Example: (a <= b) is true.
22465	//
22466	// AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
22467	//
22468	// Logical operators.
22469	//
22470	// Supported Partition Key Types: The following are the supported partition
22471	// keys.
22472	//
22473	//    * string
22474	//
22475	//    * date
22476	//
22477	//    * timestamp
22478	//
22479	//    * int
22480	//
22481	//    * bigint
22482	//
22483	//    * long
22484	//
22485	//    * tinyint
22486	//
22487	//    * smallint
22488	//
22489	//    * decimal
22490	//
22491	// If an invalid type is encountered, an exception is thrown.
22492	//
22493	// The following list shows the valid operators on each type. When you define
22494	// a crawler, the partitionKey type is created as a STRING, to be compatible
22495	// with the catalog partitions.
22496	//
22497	// Sample API Call:
22498	Expression *string `type:"string"`
22499
22500	// The maximum number of partitions to return in a single response.
22501	MaxResults *int64 `min:"1" type:"integer"`
22502
22503	// A continuation token, if this is not the first call to retrieve these partitions.
22504	NextToken *string `type:"string"`
22505
22506	// The segment of the table's partitions to scan in this request.
22507	Segment *Segment `type:"structure"`
22508
22509	// The name of the partitions' table.
22510	//
22511	// TableName is a required field
22512	TableName *string `min:"1" type:"string" required:"true"`
22513}
22514
22515// String returns the string representation
22516func (s GetPartitionsInput) String() string {
22517	return awsutil.Prettify(s)
22518}
22519
22520// GoString returns the string representation
22521func (s GetPartitionsInput) GoString() string {
22522	return s.String()
22523}
22524
22525// Validate inspects the fields of the type to determine if they are valid.
22526func (s *GetPartitionsInput) Validate() error {
22527	invalidParams := request.ErrInvalidParams{Context: "GetPartitionsInput"}
22528	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22529		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22530	}
22531	if s.DatabaseName == nil {
22532		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22533	}
22534	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22535		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22536	}
22537	if s.MaxResults != nil && *s.MaxResults < 1 {
22538		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22539	}
22540	if s.TableName == nil {
22541		invalidParams.Add(request.NewErrParamRequired("TableName"))
22542	}
22543	if s.TableName != nil && len(*s.TableName) < 1 {
22544		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22545	}
22546	if s.Segment != nil {
22547		if err := s.Segment.Validate(); err != nil {
22548			invalidParams.AddNested("Segment", err.(request.ErrInvalidParams))
22549		}
22550	}
22551
22552	if invalidParams.Len() > 0 {
22553		return invalidParams
22554	}
22555	return nil
22556}
22557
22558// SetCatalogId sets the CatalogId field's value.
22559func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput {
22560	s.CatalogId = &v
22561	return s
22562}
22563
22564// SetDatabaseName sets the DatabaseName field's value.
22565func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput {
22566	s.DatabaseName = &v
22567	return s
22568}
22569
22570// SetExpression sets the Expression field's value.
22571func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput {
22572	s.Expression = &v
22573	return s
22574}
22575
22576// SetMaxResults sets the MaxResults field's value.
22577func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput {
22578	s.MaxResults = &v
22579	return s
22580}
22581
22582// SetNextToken sets the NextToken field's value.
22583func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput {
22584	s.NextToken = &v
22585	return s
22586}
22587
22588// SetSegment sets the Segment field's value.
22589func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput {
22590	s.Segment = v
22591	return s
22592}
22593
22594// SetTableName sets the TableName field's value.
22595func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput {
22596	s.TableName = &v
22597	return s
22598}
22599
22600type GetPartitionsOutput struct {
22601	_ struct{} `type:"structure"`
22602
22603	// A continuation token, if the returned list of partitions does not include
22604	// the last one.
22605	NextToken *string `type:"string"`
22606
22607	// A list of requested partitions.
22608	Partitions []*Partition `type:"list"`
22609}
22610
22611// String returns the string representation
22612func (s GetPartitionsOutput) String() string {
22613	return awsutil.Prettify(s)
22614}
22615
22616// GoString returns the string representation
22617func (s GetPartitionsOutput) GoString() string {
22618	return s.String()
22619}
22620
22621// SetNextToken sets the NextToken field's value.
22622func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput {
22623	s.NextToken = &v
22624	return s
22625}
22626
22627// SetPartitions sets the Partitions field's value.
22628func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput {
22629	s.Partitions = v
22630	return s
22631}
22632
22633type GetPlanInput struct {
22634	_ struct{} `type:"structure"`
22635
22636	// The programming language of the code to perform the mapping.
22637	Language *string `type:"string" enum:"Language"`
22638
22639	// The parameters for the mapping.
22640	Location *Location `type:"structure"`
22641
22642	// The list of mappings from a source table to target tables.
22643	//
22644	// Mapping is a required field
22645	Mapping []*MappingEntry `type:"list" required:"true"`
22646
22647	// The target tables.
22648	Sinks []*CatalogEntry `type:"list"`
22649
22650	// The source table.
22651	//
22652	// Source is a required field
22653	Source *CatalogEntry `type:"structure" required:"true"`
22654}
22655
22656// String returns the string representation
22657func (s GetPlanInput) String() string {
22658	return awsutil.Prettify(s)
22659}
22660
22661// GoString returns the string representation
22662func (s GetPlanInput) GoString() string {
22663	return s.String()
22664}
22665
22666// Validate inspects the fields of the type to determine if they are valid.
22667func (s *GetPlanInput) Validate() error {
22668	invalidParams := request.ErrInvalidParams{Context: "GetPlanInput"}
22669	if s.Mapping == nil {
22670		invalidParams.Add(request.NewErrParamRequired("Mapping"))
22671	}
22672	if s.Source == nil {
22673		invalidParams.Add(request.NewErrParamRequired("Source"))
22674	}
22675	if s.Location != nil {
22676		if err := s.Location.Validate(); err != nil {
22677			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
22678		}
22679	}
22680	if s.Sinks != nil {
22681		for i, v := range s.Sinks {
22682			if v == nil {
22683				continue
22684			}
22685			if err := v.Validate(); err != nil {
22686				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
22687			}
22688		}
22689	}
22690	if s.Source != nil {
22691		if err := s.Source.Validate(); err != nil {
22692			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
22693		}
22694	}
22695
22696	if invalidParams.Len() > 0 {
22697		return invalidParams
22698	}
22699	return nil
22700}
22701
22702// SetLanguage sets the Language field's value.
22703func (s *GetPlanInput) SetLanguage(v string) *GetPlanInput {
22704	s.Language = &v
22705	return s
22706}
22707
22708// SetLocation sets the Location field's value.
22709func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput {
22710	s.Location = v
22711	return s
22712}
22713
22714// SetMapping sets the Mapping field's value.
22715func (s *GetPlanInput) SetMapping(v []*MappingEntry) *GetPlanInput {
22716	s.Mapping = v
22717	return s
22718}
22719
22720// SetSinks sets the Sinks field's value.
22721func (s *GetPlanInput) SetSinks(v []*CatalogEntry) *GetPlanInput {
22722	s.Sinks = v
22723	return s
22724}
22725
22726// SetSource sets the Source field's value.
22727func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput {
22728	s.Source = v
22729	return s
22730}
22731
22732type GetPlanOutput struct {
22733	_ struct{} `type:"structure"`
22734
22735	// A Python script to perform the mapping.
22736	PythonScript *string `type:"string"`
22737
22738	// The Scala code to perform the mapping.
22739	ScalaCode *string `type:"string"`
22740}
22741
22742// String returns the string representation
22743func (s GetPlanOutput) String() string {
22744	return awsutil.Prettify(s)
22745}
22746
22747// GoString returns the string representation
22748func (s GetPlanOutput) GoString() string {
22749	return s.String()
22750}
22751
22752// SetPythonScript sets the PythonScript field's value.
22753func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput {
22754	s.PythonScript = &v
22755	return s
22756}
22757
22758// SetScalaCode sets the ScalaCode field's value.
22759func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput {
22760	s.ScalaCode = &v
22761	return s
22762}
22763
22764type GetResourcePolicyInput struct {
22765	_ struct{} `type:"structure"`
22766}
22767
22768// String returns the string representation
22769func (s GetResourcePolicyInput) String() string {
22770	return awsutil.Prettify(s)
22771}
22772
22773// GoString returns the string representation
22774func (s GetResourcePolicyInput) GoString() string {
22775	return s.String()
22776}
22777
22778type GetResourcePolicyOutput struct {
22779	_ struct{} `type:"structure"`
22780
22781	// The date and time at which the policy was created.
22782	CreateTime *time.Time `type:"timestamp"`
22783
22784	// Contains the hash value associated with this policy.
22785	PolicyHash *string `min:"1" type:"string"`
22786
22787	// Contains the requested policy document, in JSON format.
22788	PolicyInJson *string `min:"2" type:"string"`
22789
22790	// The date and time at which the policy was last updated.
22791	UpdateTime *time.Time `type:"timestamp"`
22792}
22793
22794// String returns the string representation
22795func (s GetResourcePolicyOutput) String() string {
22796	return awsutil.Prettify(s)
22797}
22798
22799// GoString returns the string representation
22800func (s GetResourcePolicyOutput) GoString() string {
22801	return s.String()
22802}
22803
22804// SetCreateTime sets the CreateTime field's value.
22805func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput {
22806	s.CreateTime = &v
22807	return s
22808}
22809
22810// SetPolicyHash sets the PolicyHash field's value.
22811func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput {
22812	s.PolicyHash = &v
22813	return s
22814}
22815
22816// SetPolicyInJson sets the PolicyInJson field's value.
22817func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput {
22818	s.PolicyInJson = &v
22819	return s
22820}
22821
22822// SetUpdateTime sets the UpdateTime field's value.
22823func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput {
22824	s.UpdateTime = &v
22825	return s
22826}
22827
22828type GetSecurityConfigurationInput struct {
22829	_ struct{} `type:"structure"`
22830
22831	// The name of the security configuration to retrieve.
22832	//
22833	// Name is a required field
22834	Name *string `min:"1" type:"string" required:"true"`
22835}
22836
22837// String returns the string representation
22838func (s GetSecurityConfigurationInput) String() string {
22839	return awsutil.Prettify(s)
22840}
22841
22842// GoString returns the string representation
22843func (s GetSecurityConfigurationInput) GoString() string {
22844	return s.String()
22845}
22846
22847// Validate inspects the fields of the type to determine if they are valid.
22848func (s *GetSecurityConfigurationInput) Validate() error {
22849	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationInput"}
22850	if s.Name == nil {
22851		invalidParams.Add(request.NewErrParamRequired("Name"))
22852	}
22853	if s.Name != nil && len(*s.Name) < 1 {
22854		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22855	}
22856
22857	if invalidParams.Len() > 0 {
22858		return invalidParams
22859	}
22860	return nil
22861}
22862
22863// SetName sets the Name field's value.
22864func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurationInput {
22865	s.Name = &v
22866	return s
22867}
22868
22869type GetSecurityConfigurationOutput struct {
22870	_ struct{} `type:"structure"`
22871
22872	// The requested security configuration.
22873	SecurityConfiguration *SecurityConfiguration `type:"structure"`
22874}
22875
22876// String returns the string representation
22877func (s GetSecurityConfigurationOutput) String() string {
22878	return awsutil.Prettify(s)
22879}
22880
22881// GoString returns the string representation
22882func (s GetSecurityConfigurationOutput) GoString() string {
22883	return s.String()
22884}
22885
22886// SetSecurityConfiguration sets the SecurityConfiguration field's value.
22887func (s *GetSecurityConfigurationOutput) SetSecurityConfiguration(v *SecurityConfiguration) *GetSecurityConfigurationOutput {
22888	s.SecurityConfiguration = v
22889	return s
22890}
22891
22892type GetSecurityConfigurationsInput struct {
22893	_ struct{} `type:"structure"`
22894
22895	// The maximum number of results to return.
22896	MaxResults *int64 `min:"1" type:"integer"`
22897
22898	// A continuation token, if this is a continuation call.
22899	NextToken *string `type:"string"`
22900}
22901
22902// String returns the string representation
22903func (s GetSecurityConfigurationsInput) String() string {
22904	return awsutil.Prettify(s)
22905}
22906
22907// GoString returns the string representation
22908func (s GetSecurityConfigurationsInput) GoString() string {
22909	return s.String()
22910}
22911
22912// Validate inspects the fields of the type to determine if they are valid.
22913func (s *GetSecurityConfigurationsInput) Validate() error {
22914	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationsInput"}
22915	if s.MaxResults != nil && *s.MaxResults < 1 {
22916		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22917	}
22918
22919	if invalidParams.Len() > 0 {
22920		return invalidParams
22921	}
22922	return nil
22923}
22924
22925// SetMaxResults sets the MaxResults field's value.
22926func (s *GetSecurityConfigurationsInput) SetMaxResults(v int64) *GetSecurityConfigurationsInput {
22927	s.MaxResults = &v
22928	return s
22929}
22930
22931// SetNextToken sets the NextToken field's value.
22932func (s *GetSecurityConfigurationsInput) SetNextToken(v string) *GetSecurityConfigurationsInput {
22933	s.NextToken = &v
22934	return s
22935}
22936
22937type GetSecurityConfigurationsOutput struct {
22938	_ struct{} `type:"structure"`
22939
22940	// A continuation token, if there are more security configurations to return.
22941	NextToken *string `type:"string"`
22942
22943	// A list of security configurations.
22944	SecurityConfigurations []*SecurityConfiguration `type:"list"`
22945}
22946
22947// String returns the string representation
22948func (s GetSecurityConfigurationsOutput) String() string {
22949	return awsutil.Prettify(s)
22950}
22951
22952// GoString returns the string representation
22953func (s GetSecurityConfigurationsOutput) GoString() string {
22954	return s.String()
22955}
22956
22957// SetNextToken sets the NextToken field's value.
22958func (s *GetSecurityConfigurationsOutput) SetNextToken(v string) *GetSecurityConfigurationsOutput {
22959	s.NextToken = &v
22960	return s
22961}
22962
22963// SetSecurityConfigurations sets the SecurityConfigurations field's value.
22964func (s *GetSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfiguration) *GetSecurityConfigurationsOutput {
22965	s.SecurityConfigurations = v
22966	return s
22967}
22968
22969type GetTableInput struct {
22970	_ struct{} `type:"structure"`
22971
22972	// The ID of the Data Catalog where the table resides. If none is provided,
22973	// the AWS account ID is used by default.
22974	CatalogId *string `min:"1" type:"string"`
22975
22976	// The name of the database in the catalog in which the table resides. For Hive
22977	// compatibility, this name is entirely lowercase.
22978	//
22979	// DatabaseName is a required field
22980	DatabaseName *string `min:"1" type:"string" required:"true"`
22981
22982	// The name of the table for which to retrieve the definition. For Hive compatibility,
22983	// this name is entirely lowercase.
22984	//
22985	// Name is a required field
22986	Name *string `min:"1" type:"string" required:"true"`
22987}
22988
22989// String returns the string representation
22990func (s GetTableInput) String() string {
22991	return awsutil.Prettify(s)
22992}
22993
22994// GoString returns the string representation
22995func (s GetTableInput) GoString() string {
22996	return s.String()
22997}
22998
22999// Validate inspects the fields of the type to determine if they are valid.
23000func (s *GetTableInput) Validate() error {
23001	invalidParams := request.ErrInvalidParams{Context: "GetTableInput"}
23002	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23003		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23004	}
23005	if s.DatabaseName == nil {
23006		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23007	}
23008	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23009		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23010	}
23011	if s.Name == nil {
23012		invalidParams.Add(request.NewErrParamRequired("Name"))
23013	}
23014	if s.Name != nil && len(*s.Name) < 1 {
23015		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23016	}
23017
23018	if invalidParams.Len() > 0 {
23019		return invalidParams
23020	}
23021	return nil
23022}
23023
23024// SetCatalogId sets the CatalogId field's value.
23025func (s *GetTableInput) SetCatalogId(v string) *GetTableInput {
23026	s.CatalogId = &v
23027	return s
23028}
23029
23030// SetDatabaseName sets the DatabaseName field's value.
23031func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput {
23032	s.DatabaseName = &v
23033	return s
23034}
23035
23036// SetName sets the Name field's value.
23037func (s *GetTableInput) SetName(v string) *GetTableInput {
23038	s.Name = &v
23039	return s
23040}
23041
23042type GetTableOutput struct {
23043	_ struct{} `type:"structure"`
23044
23045	// The Table object that defines the specified table.
23046	Table *TableData `type:"structure"`
23047}
23048
23049// String returns the string representation
23050func (s GetTableOutput) String() string {
23051	return awsutil.Prettify(s)
23052}
23053
23054// GoString returns the string representation
23055func (s GetTableOutput) GoString() string {
23056	return s.String()
23057}
23058
23059// SetTable sets the Table field's value.
23060func (s *GetTableOutput) SetTable(v *TableData) *GetTableOutput {
23061	s.Table = v
23062	return s
23063}
23064
23065type GetTableVersionInput struct {
23066	_ struct{} `type:"structure"`
23067
23068	// The ID of the Data Catalog where the tables reside. If none is provided,
23069	// the AWS account ID is used by default.
23070	CatalogId *string `min:"1" type:"string"`
23071
23072	// The database in the catalog in which the table resides. For Hive compatibility,
23073	// this name is entirely lowercase.
23074	//
23075	// DatabaseName is a required field
23076	DatabaseName *string `min:"1" type:"string" required:"true"`
23077
23078	// The name of the table. For Hive compatibility, this name is entirely lowercase.
23079	//
23080	// TableName is a required field
23081	TableName *string `min:"1" type:"string" required:"true"`
23082
23083	// The ID value of the table version to be retrieved. A VersionID is a string
23084	// representation of an integer. Each version is incremented by 1.
23085	VersionId *string `min:"1" type:"string"`
23086}
23087
23088// String returns the string representation
23089func (s GetTableVersionInput) String() string {
23090	return awsutil.Prettify(s)
23091}
23092
23093// GoString returns the string representation
23094func (s GetTableVersionInput) GoString() string {
23095	return s.String()
23096}
23097
23098// Validate inspects the fields of the type to determine if they are valid.
23099func (s *GetTableVersionInput) Validate() error {
23100	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionInput"}
23101	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23102		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23103	}
23104	if s.DatabaseName == nil {
23105		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23106	}
23107	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23108		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23109	}
23110	if s.TableName == nil {
23111		invalidParams.Add(request.NewErrParamRequired("TableName"))
23112	}
23113	if s.TableName != nil && len(*s.TableName) < 1 {
23114		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23115	}
23116	if s.VersionId != nil && len(*s.VersionId) < 1 {
23117		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
23118	}
23119
23120	if invalidParams.Len() > 0 {
23121		return invalidParams
23122	}
23123	return nil
23124}
23125
23126// SetCatalogId sets the CatalogId field's value.
23127func (s *GetTableVersionInput) SetCatalogId(v string) *GetTableVersionInput {
23128	s.CatalogId = &v
23129	return s
23130}
23131
23132// SetDatabaseName sets the DatabaseName field's value.
23133func (s *GetTableVersionInput) SetDatabaseName(v string) *GetTableVersionInput {
23134	s.DatabaseName = &v
23135	return s
23136}
23137
23138// SetTableName sets the TableName field's value.
23139func (s *GetTableVersionInput) SetTableName(v string) *GetTableVersionInput {
23140	s.TableName = &v
23141	return s
23142}
23143
23144// SetVersionId sets the VersionId field's value.
23145func (s *GetTableVersionInput) SetVersionId(v string) *GetTableVersionInput {
23146	s.VersionId = &v
23147	return s
23148}
23149
23150type GetTableVersionOutput struct {
23151	_ struct{} `type:"structure"`
23152
23153	// The requested table version.
23154	TableVersion *TableVersion `type:"structure"`
23155}
23156
23157// String returns the string representation
23158func (s GetTableVersionOutput) String() string {
23159	return awsutil.Prettify(s)
23160}
23161
23162// GoString returns the string representation
23163func (s GetTableVersionOutput) GoString() string {
23164	return s.String()
23165}
23166
23167// SetTableVersion sets the TableVersion field's value.
23168func (s *GetTableVersionOutput) SetTableVersion(v *TableVersion) *GetTableVersionOutput {
23169	s.TableVersion = v
23170	return s
23171}
23172
23173type GetTableVersionsInput struct {
23174	_ struct{} `type:"structure"`
23175
23176	// The ID of the Data Catalog where the tables reside. If none is provided,
23177	// the AWS account ID is used by default.
23178	CatalogId *string `min:"1" type:"string"`
23179
23180	// The database in the catalog in which the table resides. For Hive compatibility,
23181	// this name is entirely lowercase.
23182	//
23183	// DatabaseName is a required field
23184	DatabaseName *string `min:"1" type:"string" required:"true"`
23185
23186	// The maximum number of table versions to return in one response.
23187	MaxResults *int64 `min:"1" type:"integer"`
23188
23189	// A continuation token, if this is not the first call.
23190	NextToken *string `type:"string"`
23191
23192	// The name of the table. For Hive compatibility, this name is entirely lowercase.
23193	//
23194	// TableName is a required field
23195	TableName *string `min:"1" type:"string" required:"true"`
23196}
23197
23198// String returns the string representation
23199func (s GetTableVersionsInput) String() string {
23200	return awsutil.Prettify(s)
23201}
23202
23203// GoString returns the string representation
23204func (s GetTableVersionsInput) GoString() string {
23205	return s.String()
23206}
23207
23208// Validate inspects the fields of the type to determine if they are valid.
23209func (s *GetTableVersionsInput) Validate() error {
23210	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionsInput"}
23211	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23212		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23213	}
23214	if s.DatabaseName == nil {
23215		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23216	}
23217	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23218		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23219	}
23220	if s.MaxResults != nil && *s.MaxResults < 1 {
23221		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23222	}
23223	if s.TableName == nil {
23224		invalidParams.Add(request.NewErrParamRequired("TableName"))
23225	}
23226	if s.TableName != nil && len(*s.TableName) < 1 {
23227		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23228	}
23229
23230	if invalidParams.Len() > 0 {
23231		return invalidParams
23232	}
23233	return nil
23234}
23235
23236// SetCatalogId sets the CatalogId field's value.
23237func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput {
23238	s.CatalogId = &v
23239	return s
23240}
23241
23242// SetDatabaseName sets the DatabaseName field's value.
23243func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput {
23244	s.DatabaseName = &v
23245	return s
23246}
23247
23248// SetMaxResults sets the MaxResults field's value.
23249func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput {
23250	s.MaxResults = &v
23251	return s
23252}
23253
23254// SetNextToken sets the NextToken field's value.
23255func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput {
23256	s.NextToken = &v
23257	return s
23258}
23259
23260// SetTableName sets the TableName field's value.
23261func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput {
23262	s.TableName = &v
23263	return s
23264}
23265
23266type GetTableVersionsOutput struct {
23267	_ struct{} `type:"structure"`
23268
23269	// A continuation token, if the list of available versions does not include
23270	// the last one.
23271	NextToken *string `type:"string"`
23272
23273	// A list of strings identifying available versions of the specified table.
23274	TableVersions []*TableVersion `type:"list"`
23275}
23276
23277// String returns the string representation
23278func (s GetTableVersionsOutput) String() string {
23279	return awsutil.Prettify(s)
23280}
23281
23282// GoString returns the string representation
23283func (s GetTableVersionsOutput) GoString() string {
23284	return s.String()
23285}
23286
23287// SetNextToken sets the NextToken field's value.
23288func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput {
23289	s.NextToken = &v
23290	return s
23291}
23292
23293// SetTableVersions sets the TableVersions field's value.
23294func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVersionsOutput {
23295	s.TableVersions = v
23296	return s
23297}
23298
23299type GetTablesInput struct {
23300	_ struct{} `type:"structure"`
23301
23302	// The ID of the Data Catalog where the tables reside. If none is provided,
23303	// the AWS account ID is used by default.
23304	CatalogId *string `min:"1" type:"string"`
23305
23306	// The database in the catalog whose tables to list. For Hive compatibility,
23307	// this name is entirely lowercase.
23308	//
23309	// DatabaseName is a required field
23310	DatabaseName *string `min:"1" type:"string" required:"true"`
23311
23312	// A regular expression pattern. If present, only those tables whose names match
23313	// the pattern are returned.
23314	Expression *string `type:"string"`
23315
23316	// The maximum number of tables to return in a single response.
23317	MaxResults *int64 `min:"1" type:"integer"`
23318
23319	// A continuation token, included if this is a continuation call.
23320	NextToken *string `type:"string"`
23321}
23322
23323// String returns the string representation
23324func (s GetTablesInput) String() string {
23325	return awsutil.Prettify(s)
23326}
23327
23328// GoString returns the string representation
23329func (s GetTablesInput) GoString() string {
23330	return s.String()
23331}
23332
23333// Validate inspects the fields of the type to determine if they are valid.
23334func (s *GetTablesInput) Validate() error {
23335	invalidParams := request.ErrInvalidParams{Context: "GetTablesInput"}
23336	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23337		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23338	}
23339	if s.DatabaseName == nil {
23340		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23341	}
23342	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23343		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23344	}
23345	if s.MaxResults != nil && *s.MaxResults < 1 {
23346		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23347	}
23348
23349	if invalidParams.Len() > 0 {
23350		return invalidParams
23351	}
23352	return nil
23353}
23354
23355// SetCatalogId sets the CatalogId field's value.
23356func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput {
23357	s.CatalogId = &v
23358	return s
23359}
23360
23361// SetDatabaseName sets the DatabaseName field's value.
23362func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput {
23363	s.DatabaseName = &v
23364	return s
23365}
23366
23367// SetExpression sets the Expression field's value.
23368func (s *GetTablesInput) SetExpression(v string) *GetTablesInput {
23369	s.Expression = &v
23370	return s
23371}
23372
23373// SetMaxResults sets the MaxResults field's value.
23374func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput {
23375	s.MaxResults = &v
23376	return s
23377}
23378
23379// SetNextToken sets the NextToken field's value.
23380func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput {
23381	s.NextToken = &v
23382	return s
23383}
23384
23385type GetTablesOutput struct {
23386	_ struct{} `type:"structure"`
23387
23388	// A continuation token, present if the current list segment is not the last.
23389	NextToken *string `type:"string"`
23390
23391	// A list of the requested Table objects.
23392	TableList []*TableData `type:"list"`
23393}
23394
23395// String returns the string representation
23396func (s GetTablesOutput) String() string {
23397	return awsutil.Prettify(s)
23398}
23399
23400// GoString returns the string representation
23401func (s GetTablesOutput) GoString() string {
23402	return s.String()
23403}
23404
23405// SetNextToken sets the NextToken field's value.
23406func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput {
23407	s.NextToken = &v
23408	return s
23409}
23410
23411// SetTableList sets the TableList field's value.
23412func (s *GetTablesOutput) SetTableList(v []*TableData) *GetTablesOutput {
23413	s.TableList = v
23414	return s
23415}
23416
23417type GetTagsInput struct {
23418	_ struct{} `type:"structure"`
23419
23420	// The Amazon Resource Name (ARN) of the resource for which to retrieve tags.
23421	//
23422	// ResourceArn is a required field
23423	ResourceArn *string `min:"1" type:"string" required:"true"`
23424}
23425
23426// String returns the string representation
23427func (s GetTagsInput) String() string {
23428	return awsutil.Prettify(s)
23429}
23430
23431// GoString returns the string representation
23432func (s GetTagsInput) GoString() string {
23433	return s.String()
23434}
23435
23436// Validate inspects the fields of the type to determine if they are valid.
23437func (s *GetTagsInput) Validate() error {
23438	invalidParams := request.ErrInvalidParams{Context: "GetTagsInput"}
23439	if s.ResourceArn == nil {
23440		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
23441	}
23442	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
23443		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
23444	}
23445
23446	if invalidParams.Len() > 0 {
23447		return invalidParams
23448	}
23449	return nil
23450}
23451
23452// SetResourceArn sets the ResourceArn field's value.
23453func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput {
23454	s.ResourceArn = &v
23455	return s
23456}
23457
23458type GetTagsOutput struct {
23459	_ struct{} `type:"structure"`
23460
23461	// The requested tags.
23462	Tags map[string]*string `type:"map"`
23463}
23464
23465// String returns the string representation
23466func (s GetTagsOutput) String() string {
23467	return awsutil.Prettify(s)
23468}
23469
23470// GoString returns the string representation
23471func (s GetTagsOutput) GoString() string {
23472	return s.String()
23473}
23474
23475// SetTags sets the Tags field's value.
23476func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput {
23477	s.Tags = v
23478	return s
23479}
23480
23481type GetTriggerInput struct {
23482	_ struct{} `type:"structure"`
23483
23484	// The name of the trigger to retrieve.
23485	//
23486	// Name is a required field
23487	Name *string `min:"1" type:"string" required:"true"`
23488}
23489
23490// String returns the string representation
23491func (s GetTriggerInput) String() string {
23492	return awsutil.Prettify(s)
23493}
23494
23495// GoString returns the string representation
23496func (s GetTriggerInput) GoString() string {
23497	return s.String()
23498}
23499
23500// Validate inspects the fields of the type to determine if they are valid.
23501func (s *GetTriggerInput) Validate() error {
23502	invalidParams := request.ErrInvalidParams{Context: "GetTriggerInput"}
23503	if s.Name == nil {
23504		invalidParams.Add(request.NewErrParamRequired("Name"))
23505	}
23506	if s.Name != nil && len(*s.Name) < 1 {
23507		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23508	}
23509
23510	if invalidParams.Len() > 0 {
23511		return invalidParams
23512	}
23513	return nil
23514}
23515
23516// SetName sets the Name field's value.
23517func (s *GetTriggerInput) SetName(v string) *GetTriggerInput {
23518	s.Name = &v
23519	return s
23520}
23521
23522type GetTriggerOutput struct {
23523	_ struct{} `type:"structure"`
23524
23525	// The requested trigger definition.
23526	Trigger *Trigger `type:"structure"`
23527}
23528
23529// String returns the string representation
23530func (s GetTriggerOutput) String() string {
23531	return awsutil.Prettify(s)
23532}
23533
23534// GoString returns the string representation
23535func (s GetTriggerOutput) GoString() string {
23536	return s.String()
23537}
23538
23539// SetTrigger sets the Trigger field's value.
23540func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput {
23541	s.Trigger = v
23542	return s
23543}
23544
23545type GetTriggersInput struct {
23546	_ struct{} `type:"structure"`
23547
23548	// The name of the job to retrieve triggers for. The trigger that can start
23549	// this job is returned, and if there is no such trigger, all triggers are returned.
23550	DependentJobName *string `min:"1" type:"string"`
23551
23552	// The maximum size of the response.
23553	MaxResults *int64 `min:"1" type:"integer"`
23554
23555	// A continuation token, if this is a continuation call.
23556	NextToken *string `type:"string"`
23557}
23558
23559// String returns the string representation
23560func (s GetTriggersInput) String() string {
23561	return awsutil.Prettify(s)
23562}
23563
23564// GoString returns the string representation
23565func (s GetTriggersInput) GoString() string {
23566	return s.String()
23567}
23568
23569// Validate inspects the fields of the type to determine if they are valid.
23570func (s *GetTriggersInput) Validate() error {
23571	invalidParams := request.ErrInvalidParams{Context: "GetTriggersInput"}
23572	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
23573		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
23574	}
23575	if s.MaxResults != nil && *s.MaxResults < 1 {
23576		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23577	}
23578
23579	if invalidParams.Len() > 0 {
23580		return invalidParams
23581	}
23582	return nil
23583}
23584
23585// SetDependentJobName sets the DependentJobName field's value.
23586func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput {
23587	s.DependentJobName = &v
23588	return s
23589}
23590
23591// SetMaxResults sets the MaxResults field's value.
23592func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput {
23593	s.MaxResults = &v
23594	return s
23595}
23596
23597// SetNextToken sets the NextToken field's value.
23598func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput {
23599	s.NextToken = &v
23600	return s
23601}
23602
23603type GetTriggersOutput struct {
23604	_ struct{} `type:"structure"`
23605
23606	// A continuation token, if not all the requested triggers have yet been returned.
23607	NextToken *string `type:"string"`
23608
23609	// A list of triggers for the specified job.
23610	Triggers []*Trigger `type:"list"`
23611}
23612
23613// String returns the string representation
23614func (s GetTriggersOutput) String() string {
23615	return awsutil.Prettify(s)
23616}
23617
23618// GoString returns the string representation
23619func (s GetTriggersOutput) GoString() string {
23620	return s.String()
23621}
23622
23623// SetNextToken sets the NextToken field's value.
23624func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput {
23625	s.NextToken = &v
23626	return s
23627}
23628
23629// SetTriggers sets the Triggers field's value.
23630func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput {
23631	s.Triggers = v
23632	return s
23633}
23634
23635type GetUserDefinedFunctionInput struct {
23636	_ struct{} `type:"structure"`
23637
23638	// The ID of the Data Catalog where the function to be retrieved is located.
23639	// If none is provided, the AWS account ID is used by default.
23640	CatalogId *string `min:"1" type:"string"`
23641
23642	// The name of the catalog database where the function is located.
23643	//
23644	// DatabaseName is a required field
23645	DatabaseName *string `min:"1" type:"string" required:"true"`
23646
23647	// The name of the function.
23648	//
23649	// FunctionName is a required field
23650	FunctionName *string `min:"1" type:"string" required:"true"`
23651}
23652
23653// String returns the string representation
23654func (s GetUserDefinedFunctionInput) String() string {
23655	return awsutil.Prettify(s)
23656}
23657
23658// GoString returns the string representation
23659func (s GetUserDefinedFunctionInput) GoString() string {
23660	return s.String()
23661}
23662
23663// Validate inspects the fields of the type to determine if they are valid.
23664func (s *GetUserDefinedFunctionInput) Validate() error {
23665	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionInput"}
23666	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23667		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23668	}
23669	if s.DatabaseName == nil {
23670		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23671	}
23672	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23673		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23674	}
23675	if s.FunctionName == nil {
23676		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
23677	}
23678	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
23679		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
23680	}
23681
23682	if invalidParams.Len() > 0 {
23683		return invalidParams
23684	}
23685	return nil
23686}
23687
23688// SetCatalogId sets the CatalogId field's value.
23689func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput {
23690	s.CatalogId = &v
23691	return s
23692}
23693
23694// SetDatabaseName sets the DatabaseName field's value.
23695func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput {
23696	s.DatabaseName = &v
23697	return s
23698}
23699
23700// SetFunctionName sets the FunctionName field's value.
23701func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput {
23702	s.FunctionName = &v
23703	return s
23704}
23705
23706type GetUserDefinedFunctionOutput struct {
23707	_ struct{} `type:"structure"`
23708
23709	// The requested function definition.
23710	UserDefinedFunction *UserDefinedFunction `type:"structure"`
23711}
23712
23713// String returns the string representation
23714func (s GetUserDefinedFunctionOutput) String() string {
23715	return awsutil.Prettify(s)
23716}
23717
23718// GoString returns the string representation
23719func (s GetUserDefinedFunctionOutput) GoString() string {
23720	return s.String()
23721}
23722
23723// SetUserDefinedFunction sets the UserDefinedFunction field's value.
23724func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput {
23725	s.UserDefinedFunction = v
23726	return s
23727}
23728
23729type GetUserDefinedFunctionsInput struct {
23730	_ struct{} `type:"structure"`
23731
23732	// The ID of the Data Catalog where the functions to be retrieved are located.
23733	// If none is provided, the AWS account ID is used by default.
23734	CatalogId *string `min:"1" type:"string"`
23735
23736	// The name of the catalog database where the functions are located.
23737	//
23738	// DatabaseName is a required field
23739	DatabaseName *string `min:"1" type:"string" required:"true"`
23740
23741	// The maximum number of functions to return in one response.
23742	MaxResults *int64 `min:"1" type:"integer"`
23743
23744	// A continuation token, if this is a continuation call.
23745	NextToken *string `type:"string"`
23746
23747	// An optional function-name pattern string that filters the function definitions
23748	// returned.
23749	//
23750	// Pattern is a required field
23751	Pattern *string `min:"1" type:"string" required:"true"`
23752}
23753
23754// String returns the string representation
23755func (s GetUserDefinedFunctionsInput) String() string {
23756	return awsutil.Prettify(s)
23757}
23758
23759// GoString returns the string representation
23760func (s GetUserDefinedFunctionsInput) GoString() string {
23761	return s.String()
23762}
23763
23764// Validate inspects the fields of the type to determine if they are valid.
23765func (s *GetUserDefinedFunctionsInput) Validate() error {
23766	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionsInput"}
23767	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23768		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23769	}
23770	if s.DatabaseName == nil {
23771		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23772	}
23773	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23774		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23775	}
23776	if s.MaxResults != nil && *s.MaxResults < 1 {
23777		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23778	}
23779	if s.Pattern == nil {
23780		invalidParams.Add(request.NewErrParamRequired("Pattern"))
23781	}
23782	if s.Pattern != nil && len(*s.Pattern) < 1 {
23783		invalidParams.Add(request.NewErrParamMinLen("Pattern", 1))
23784	}
23785
23786	if invalidParams.Len() > 0 {
23787		return invalidParams
23788	}
23789	return nil
23790}
23791
23792// SetCatalogId sets the CatalogId field's value.
23793func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput {
23794	s.CatalogId = &v
23795	return s
23796}
23797
23798// SetDatabaseName sets the DatabaseName field's value.
23799func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput {
23800	s.DatabaseName = &v
23801	return s
23802}
23803
23804// SetMaxResults sets the MaxResults field's value.
23805func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput {
23806	s.MaxResults = &v
23807	return s
23808}
23809
23810// SetNextToken sets the NextToken field's value.
23811func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput {
23812	s.NextToken = &v
23813	return s
23814}
23815
23816// SetPattern sets the Pattern field's value.
23817func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput {
23818	s.Pattern = &v
23819	return s
23820}
23821
23822type GetUserDefinedFunctionsOutput struct {
23823	_ struct{} `type:"structure"`
23824
23825	// A continuation token, if the list of functions returned does not include
23826	// the last requested function.
23827	NextToken *string `type:"string"`
23828
23829	// A list of requested function definitions.
23830	UserDefinedFunctions []*UserDefinedFunction `type:"list"`
23831}
23832
23833// String returns the string representation
23834func (s GetUserDefinedFunctionsOutput) String() string {
23835	return awsutil.Prettify(s)
23836}
23837
23838// GoString returns the string representation
23839func (s GetUserDefinedFunctionsOutput) GoString() string {
23840	return s.String()
23841}
23842
23843// SetNextToken sets the NextToken field's value.
23844func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput {
23845	s.NextToken = &v
23846	return s
23847}
23848
23849// SetUserDefinedFunctions sets the UserDefinedFunctions field's value.
23850func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefinedFunction) *GetUserDefinedFunctionsOutput {
23851	s.UserDefinedFunctions = v
23852	return s
23853}
23854
23855type GetWorkflowInput struct {
23856	_ struct{} `type:"structure"`
23857
23858	// Specifies whether to include a graph when returning the workflow resource
23859	// metadata.
23860	IncludeGraph *bool `type:"boolean"`
23861
23862	// The name of the workflow to retrieve.
23863	//
23864	// Name is a required field
23865	Name *string `min:"1" type:"string" required:"true"`
23866}
23867
23868// String returns the string representation
23869func (s GetWorkflowInput) String() string {
23870	return awsutil.Prettify(s)
23871}
23872
23873// GoString returns the string representation
23874func (s GetWorkflowInput) GoString() string {
23875	return s.String()
23876}
23877
23878// Validate inspects the fields of the type to determine if they are valid.
23879func (s *GetWorkflowInput) Validate() error {
23880	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"}
23881	if s.Name == nil {
23882		invalidParams.Add(request.NewErrParamRequired("Name"))
23883	}
23884	if s.Name != nil && len(*s.Name) < 1 {
23885		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23886	}
23887
23888	if invalidParams.Len() > 0 {
23889		return invalidParams
23890	}
23891	return nil
23892}
23893
23894// SetIncludeGraph sets the IncludeGraph field's value.
23895func (s *GetWorkflowInput) SetIncludeGraph(v bool) *GetWorkflowInput {
23896	s.IncludeGraph = &v
23897	return s
23898}
23899
23900// SetName sets the Name field's value.
23901func (s *GetWorkflowInput) SetName(v string) *GetWorkflowInput {
23902	s.Name = &v
23903	return s
23904}
23905
23906type GetWorkflowOutput struct {
23907	_ struct{} `type:"structure"`
23908
23909	// The resource metadata for the workflow.
23910	Workflow *Workflow `type:"structure"`
23911}
23912
23913// String returns the string representation
23914func (s GetWorkflowOutput) String() string {
23915	return awsutil.Prettify(s)
23916}
23917
23918// GoString returns the string representation
23919func (s GetWorkflowOutput) GoString() string {
23920	return s.String()
23921}
23922
23923// SetWorkflow sets the Workflow field's value.
23924func (s *GetWorkflowOutput) SetWorkflow(v *Workflow) *GetWorkflowOutput {
23925	s.Workflow = v
23926	return s
23927}
23928
23929type GetWorkflowRunInput struct {
23930	_ struct{} `type:"structure"`
23931
23932	// Specifies whether to include the workflow graph in response or not.
23933	IncludeGraph *bool `type:"boolean"`
23934
23935	// Name of the workflow being run.
23936	//
23937	// Name is a required field
23938	Name *string `min:"1" type:"string" required:"true"`
23939
23940	// The ID of the workflow run.
23941	//
23942	// RunId is a required field
23943	RunId *string `min:"1" type:"string" required:"true"`
23944}
23945
23946// String returns the string representation
23947func (s GetWorkflowRunInput) String() string {
23948	return awsutil.Prettify(s)
23949}
23950
23951// GoString returns the string representation
23952func (s GetWorkflowRunInput) GoString() string {
23953	return s.String()
23954}
23955
23956// Validate inspects the fields of the type to determine if they are valid.
23957func (s *GetWorkflowRunInput) Validate() error {
23958	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunInput"}
23959	if s.Name == nil {
23960		invalidParams.Add(request.NewErrParamRequired("Name"))
23961	}
23962	if s.Name != nil && len(*s.Name) < 1 {
23963		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23964	}
23965	if s.RunId == nil {
23966		invalidParams.Add(request.NewErrParamRequired("RunId"))
23967	}
23968	if s.RunId != nil && len(*s.RunId) < 1 {
23969		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
23970	}
23971
23972	if invalidParams.Len() > 0 {
23973		return invalidParams
23974	}
23975	return nil
23976}
23977
23978// SetIncludeGraph sets the IncludeGraph field's value.
23979func (s *GetWorkflowRunInput) SetIncludeGraph(v bool) *GetWorkflowRunInput {
23980	s.IncludeGraph = &v
23981	return s
23982}
23983
23984// SetName sets the Name field's value.
23985func (s *GetWorkflowRunInput) SetName(v string) *GetWorkflowRunInput {
23986	s.Name = &v
23987	return s
23988}
23989
23990// SetRunId sets the RunId field's value.
23991func (s *GetWorkflowRunInput) SetRunId(v string) *GetWorkflowRunInput {
23992	s.RunId = &v
23993	return s
23994}
23995
23996type GetWorkflowRunOutput struct {
23997	_ struct{} `type:"structure"`
23998
23999	// The requested workflow run metadata.
24000	Run *WorkflowRun `type:"structure"`
24001}
24002
24003// String returns the string representation
24004func (s GetWorkflowRunOutput) String() string {
24005	return awsutil.Prettify(s)
24006}
24007
24008// GoString returns the string representation
24009func (s GetWorkflowRunOutput) GoString() string {
24010	return s.String()
24011}
24012
24013// SetRun sets the Run field's value.
24014func (s *GetWorkflowRunOutput) SetRun(v *WorkflowRun) *GetWorkflowRunOutput {
24015	s.Run = v
24016	return s
24017}
24018
24019type GetWorkflowRunPropertiesInput struct {
24020	_ struct{} `type:"structure"`
24021
24022	// Name of the workflow which was run.
24023	//
24024	// Name is a required field
24025	Name *string `min:"1" type:"string" required:"true"`
24026
24027	// The ID of the workflow run whose run properties should be returned.
24028	//
24029	// RunId is a required field
24030	RunId *string `min:"1" type:"string" required:"true"`
24031}
24032
24033// String returns the string representation
24034func (s GetWorkflowRunPropertiesInput) String() string {
24035	return awsutil.Prettify(s)
24036}
24037
24038// GoString returns the string representation
24039func (s GetWorkflowRunPropertiesInput) GoString() string {
24040	return s.String()
24041}
24042
24043// Validate inspects the fields of the type to determine if they are valid.
24044func (s *GetWorkflowRunPropertiesInput) Validate() error {
24045	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunPropertiesInput"}
24046	if s.Name == nil {
24047		invalidParams.Add(request.NewErrParamRequired("Name"))
24048	}
24049	if s.Name != nil && len(*s.Name) < 1 {
24050		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24051	}
24052	if s.RunId == nil {
24053		invalidParams.Add(request.NewErrParamRequired("RunId"))
24054	}
24055	if s.RunId != nil && len(*s.RunId) < 1 {
24056		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
24057	}
24058
24059	if invalidParams.Len() > 0 {
24060		return invalidParams
24061	}
24062	return nil
24063}
24064
24065// SetName sets the Name field's value.
24066func (s *GetWorkflowRunPropertiesInput) SetName(v string) *GetWorkflowRunPropertiesInput {
24067	s.Name = &v
24068	return s
24069}
24070
24071// SetRunId sets the RunId field's value.
24072func (s *GetWorkflowRunPropertiesInput) SetRunId(v string) *GetWorkflowRunPropertiesInput {
24073	s.RunId = &v
24074	return s
24075}
24076
24077type GetWorkflowRunPropertiesOutput struct {
24078	_ struct{} `type:"structure"`
24079
24080	// The workflow run properties which were set during the specified run.
24081	RunProperties map[string]*string `type:"map"`
24082}
24083
24084// String returns the string representation
24085func (s GetWorkflowRunPropertiesOutput) String() string {
24086	return awsutil.Prettify(s)
24087}
24088
24089// GoString returns the string representation
24090func (s GetWorkflowRunPropertiesOutput) GoString() string {
24091	return s.String()
24092}
24093
24094// SetRunProperties sets the RunProperties field's value.
24095func (s *GetWorkflowRunPropertiesOutput) SetRunProperties(v map[string]*string) *GetWorkflowRunPropertiesOutput {
24096	s.RunProperties = v
24097	return s
24098}
24099
24100type GetWorkflowRunsInput struct {
24101	_ struct{} `type:"structure"`
24102
24103	// Specifies whether to include the workflow graph in response or not.
24104	IncludeGraph *bool `type:"boolean"`
24105
24106	// The maximum number of workflow runs to be included in the response.
24107	MaxResults *int64 `min:"1" type:"integer"`
24108
24109	// Name of the workflow whose metadata of runs should be returned.
24110	//
24111	// Name is a required field
24112	Name *string `min:"1" type:"string" required:"true"`
24113
24114	// The maximum size of the response.
24115	NextToken *string `type:"string"`
24116}
24117
24118// String returns the string representation
24119func (s GetWorkflowRunsInput) String() string {
24120	return awsutil.Prettify(s)
24121}
24122
24123// GoString returns the string representation
24124func (s GetWorkflowRunsInput) GoString() string {
24125	return s.String()
24126}
24127
24128// Validate inspects the fields of the type to determine if they are valid.
24129func (s *GetWorkflowRunsInput) Validate() error {
24130	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunsInput"}
24131	if s.MaxResults != nil && *s.MaxResults < 1 {
24132		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24133	}
24134	if s.Name == nil {
24135		invalidParams.Add(request.NewErrParamRequired("Name"))
24136	}
24137	if s.Name != nil && len(*s.Name) < 1 {
24138		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24139	}
24140
24141	if invalidParams.Len() > 0 {
24142		return invalidParams
24143	}
24144	return nil
24145}
24146
24147// SetIncludeGraph sets the IncludeGraph field's value.
24148func (s *GetWorkflowRunsInput) SetIncludeGraph(v bool) *GetWorkflowRunsInput {
24149	s.IncludeGraph = &v
24150	return s
24151}
24152
24153// SetMaxResults sets the MaxResults field's value.
24154func (s *GetWorkflowRunsInput) SetMaxResults(v int64) *GetWorkflowRunsInput {
24155	s.MaxResults = &v
24156	return s
24157}
24158
24159// SetName sets the Name field's value.
24160func (s *GetWorkflowRunsInput) SetName(v string) *GetWorkflowRunsInput {
24161	s.Name = &v
24162	return s
24163}
24164
24165// SetNextToken sets the NextToken field's value.
24166func (s *GetWorkflowRunsInput) SetNextToken(v string) *GetWorkflowRunsInput {
24167	s.NextToken = &v
24168	return s
24169}
24170
24171type GetWorkflowRunsOutput struct {
24172	_ struct{} `type:"structure"`
24173
24174	// A continuation token, if not all requested workflow runs have been returned.
24175	NextToken *string `type:"string"`
24176
24177	// A list of workflow run metadata objects.
24178	Runs []*WorkflowRun `min:"1" type:"list"`
24179}
24180
24181// String returns the string representation
24182func (s GetWorkflowRunsOutput) String() string {
24183	return awsutil.Prettify(s)
24184}
24185
24186// GoString returns the string representation
24187func (s GetWorkflowRunsOutput) GoString() string {
24188	return s.String()
24189}
24190
24191// SetNextToken sets the NextToken field's value.
24192func (s *GetWorkflowRunsOutput) SetNextToken(v string) *GetWorkflowRunsOutput {
24193	s.NextToken = &v
24194	return s
24195}
24196
24197// SetRuns sets the Runs field's value.
24198func (s *GetWorkflowRunsOutput) SetRuns(v []*WorkflowRun) *GetWorkflowRunsOutput {
24199	s.Runs = v
24200	return s
24201}
24202
24203// A classifier that uses grok patterns.
24204type GrokClassifier struct {
24205	_ struct{} `type:"structure"`
24206
24207	// An identifier of the data format that the classifier matches, such as Twitter,
24208	// JSON, Omniture logs, and so on.
24209	//
24210	// Classification is a required field
24211	Classification *string `type:"string" required:"true"`
24212
24213	// The time that this classifier was registered.
24214	CreationTime *time.Time `type:"timestamp"`
24215
24216	// Optional custom grok patterns defined by this classifier. For more information,
24217	// see custom patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24218	CustomPatterns *string `type:"string"`
24219
24220	// The grok pattern applied to a data store by this classifier. For more information,
24221	// see built-in patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24222	//
24223	// GrokPattern is a required field
24224	GrokPattern *string `min:"1" type:"string" required:"true"`
24225
24226	// The time that this classifier was last updated.
24227	LastUpdated *time.Time `type:"timestamp"`
24228
24229	// The name of the classifier.
24230	//
24231	// Name is a required field
24232	Name *string `min:"1" type:"string" required:"true"`
24233
24234	// The version of this classifier.
24235	Version *int64 `type:"long"`
24236}
24237
24238// String returns the string representation
24239func (s GrokClassifier) String() string {
24240	return awsutil.Prettify(s)
24241}
24242
24243// GoString returns the string representation
24244func (s GrokClassifier) GoString() string {
24245	return s.String()
24246}
24247
24248// SetClassification sets the Classification field's value.
24249func (s *GrokClassifier) SetClassification(v string) *GrokClassifier {
24250	s.Classification = &v
24251	return s
24252}
24253
24254// SetCreationTime sets the CreationTime field's value.
24255func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier {
24256	s.CreationTime = &v
24257	return s
24258}
24259
24260// SetCustomPatterns sets the CustomPatterns field's value.
24261func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier {
24262	s.CustomPatterns = &v
24263	return s
24264}
24265
24266// SetGrokPattern sets the GrokPattern field's value.
24267func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier {
24268	s.GrokPattern = &v
24269	return s
24270}
24271
24272// SetLastUpdated sets the LastUpdated field's value.
24273func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier {
24274	s.LastUpdated = &v
24275	return s
24276}
24277
24278// SetName sets the Name field's value.
24279func (s *GrokClassifier) SetName(v string) *GrokClassifier {
24280	s.Name = &v
24281	return s
24282}
24283
24284// SetVersion sets the Version field's value.
24285func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier {
24286	s.Version = &v
24287	return s
24288}
24289
24290type ImportCatalogToGlueInput struct {
24291	_ struct{} `type:"structure"`
24292
24293	// The ID of the catalog to import. Currently, this should be the AWS account
24294	// ID.
24295	CatalogId *string `min:"1" type:"string"`
24296}
24297
24298// String returns the string representation
24299func (s ImportCatalogToGlueInput) String() string {
24300	return awsutil.Prettify(s)
24301}
24302
24303// GoString returns the string representation
24304func (s ImportCatalogToGlueInput) GoString() string {
24305	return s.String()
24306}
24307
24308// Validate inspects the fields of the type to determine if they are valid.
24309func (s *ImportCatalogToGlueInput) Validate() error {
24310	invalidParams := request.ErrInvalidParams{Context: "ImportCatalogToGlueInput"}
24311	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24312		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24313	}
24314
24315	if invalidParams.Len() > 0 {
24316		return invalidParams
24317	}
24318	return nil
24319}
24320
24321// SetCatalogId sets the CatalogId field's value.
24322func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput {
24323	s.CatalogId = &v
24324	return s
24325}
24326
24327type ImportCatalogToGlueOutput struct {
24328	_ struct{} `type:"structure"`
24329}
24330
24331// String returns the string representation
24332func (s ImportCatalogToGlueOutput) String() string {
24333	return awsutil.Prettify(s)
24334}
24335
24336// GoString returns the string representation
24337func (s ImportCatalogToGlueOutput) GoString() string {
24338	return s.String()
24339}
24340
24341// Specifies configuration properties for an importing labels task run.
24342type ImportLabelsTaskRunProperties struct {
24343	_ struct{} `type:"structure"`
24344
24345	// The Amazon Simple Storage Service (Amazon S3) path from where you will import
24346	// the labels.
24347	InputS3Path *string `type:"string"`
24348
24349	// Indicates whether to overwrite your existing labels.
24350	Replace *bool `type:"boolean"`
24351}
24352
24353// String returns the string representation
24354func (s ImportLabelsTaskRunProperties) String() string {
24355	return awsutil.Prettify(s)
24356}
24357
24358// GoString returns the string representation
24359func (s ImportLabelsTaskRunProperties) GoString() string {
24360	return s.String()
24361}
24362
24363// SetInputS3Path sets the InputS3Path field's value.
24364func (s *ImportLabelsTaskRunProperties) SetInputS3Path(v string) *ImportLabelsTaskRunProperties {
24365	s.InputS3Path = &v
24366	return s
24367}
24368
24369// SetReplace sets the Replace field's value.
24370func (s *ImportLabelsTaskRunProperties) SetReplace(v bool) *ImportLabelsTaskRunProperties {
24371	s.Replace = &v
24372	return s
24373}
24374
24375// Specifies a JDBC data store to crawl.
24376type JdbcTarget struct {
24377	_ struct{} `type:"structure"`
24378
24379	// The name of the connection to use to connect to the JDBC target.
24380	ConnectionName *string `type:"string"`
24381
24382	// A list of glob patterns used to exclude from the crawl. For more information,
24383	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
24384	Exclusions []*string `type:"list"`
24385
24386	// The path of the JDBC target.
24387	Path *string `type:"string"`
24388}
24389
24390// String returns the string representation
24391func (s JdbcTarget) String() string {
24392	return awsutil.Prettify(s)
24393}
24394
24395// GoString returns the string representation
24396func (s JdbcTarget) GoString() string {
24397	return s.String()
24398}
24399
24400// SetConnectionName sets the ConnectionName field's value.
24401func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget {
24402	s.ConnectionName = &v
24403	return s
24404}
24405
24406// SetExclusions sets the Exclusions field's value.
24407func (s *JdbcTarget) SetExclusions(v []*string) *JdbcTarget {
24408	s.Exclusions = v
24409	return s
24410}
24411
24412// SetPath sets the Path field's value.
24413func (s *JdbcTarget) SetPath(v string) *JdbcTarget {
24414	s.Path = &v
24415	return s
24416}
24417
24418// Specifies a job definition.
24419type Job struct {
24420	_ struct{} `type:"structure"`
24421
24422	// This field is deprecated. Use MaxCapacity instead.
24423	//
24424	// The number of AWS Glue data processing units (DPUs) allocated to runs of
24425	// this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is
24426	// a relative measure of processing power that consists of 4 vCPUs of compute
24427	// capacity and 16 GB of memory. For more information, see the AWS Glue pricing
24428	// page (https://aws.amazon.com/glue/pricing/).
24429	//
24430	// Deprecated: This property is deprecated, use MaxCapacity instead.
24431	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
24432
24433	// The JobCommand that executes this job.
24434	Command *JobCommand `type:"structure"`
24435
24436	// The connections used for this job.
24437	Connections *ConnectionsList `type:"structure"`
24438
24439	// The time and date that this job definition was created.
24440	CreatedOn *time.Time `type:"timestamp"`
24441
24442	// The default arguments for this job, specified as name-value pairs.
24443	//
24444	// You can specify arguments here that your own job-execution script consumes,
24445	// as well as arguments that AWS Glue itself consumes.
24446	//
24447	// For information about how to specify and consume your own Job arguments,
24448	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
24449	// topic in the developer guide.
24450	//
24451	// For information about the key-value pairs that AWS Glue consumes to set up
24452	// 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)
24453	// topic in the developer guide.
24454	DefaultArguments map[string]*string `type:"map"`
24455
24456	// A description of the job.
24457	Description *string `type:"string"`
24458
24459	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
24460	// for this job.
24461	ExecutionProperty *ExecutionProperty `type:"structure"`
24462
24463	// Glue version determines the versions of Apache Spark and Python that AWS
24464	// Glue supports. The Python version indicates the version supported for jobs
24465	// of type Spark.
24466	//
24467	// For more information about the available AWS Glue versions and corresponding
24468	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
24469	// in the developer guide.
24470	//
24471	// Jobs that are created without specifying a Glue version default to Glue 0.9.
24472	GlueVersion *string `min:"1" type:"string"`
24473
24474	// The last point in time when this job definition was modified.
24475	LastModifiedOn *time.Time `type:"timestamp"`
24476
24477	// This field is reserved for future use.
24478	LogUri *string `type:"string"`
24479
24480	// The number of AWS Glue data processing units (DPUs) that can be allocated
24481	// when this job runs. A DPU is a relative measure of processing power that
24482	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
24483	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
24484	//
24485	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
24486	//
24487	// The value that can be allocated for MaxCapacity depends on whether you are
24488	// running a Python shell job or an Apache Spark ETL job:
24489	//
24490	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
24491	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
24492	//
24493	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
24494	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
24495	//    type cannot have a fractional DPU allocation.
24496	MaxCapacity *float64 `type:"double"`
24497
24498	// The maximum number of times to retry this job after a JobRun fails.
24499	MaxRetries *int64 `type:"integer"`
24500
24501	// The name you assign to this job definition.
24502	Name *string `min:"1" type:"string"`
24503
24504	// Specifies configuration properties of a job notification.
24505	NotificationProperty *NotificationProperty `type:"structure"`
24506
24507	// The number of workers of a defined workerType that are allocated when a job
24508	// runs.
24509	//
24510	// The maximum number of workers you can define are 299 for G.1X, and 149 for
24511	// G.2X.
24512	NumberOfWorkers *int64 `type:"integer"`
24513
24514	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
24515	// job.
24516	Role *string `type:"string"`
24517
24518	// The name of the SecurityConfiguration structure to be used with this job.
24519	SecurityConfiguration *string `min:"1" type:"string"`
24520
24521	// The job timeout in minutes. This is the maximum time that a job run can consume
24522	// resources before it is terminated and enters TIMEOUT status. The default
24523	// is 2,880 minutes (48 hours).
24524	Timeout *int64 `min:"1" type:"integer"`
24525
24526	// The type of predefined worker that is allocated when a job runs. Accepts
24527	// a value of Standard, G.1X, or G.2X.
24528	//
24529	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
24530	//    memory and a 50GB disk, and 2 executors per worker.
24531	//
24532	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
24533	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
24534	//    this worker type for memory-intensive jobs.
24535	//
24536	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
24537	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
24538	//    this worker type for memory-intensive jobs.
24539	WorkerType *string `type:"string" enum:"WorkerType"`
24540}
24541
24542// String returns the string representation
24543func (s Job) String() string {
24544	return awsutil.Prettify(s)
24545}
24546
24547// GoString returns the string representation
24548func (s Job) GoString() string {
24549	return s.String()
24550}
24551
24552// SetAllocatedCapacity sets the AllocatedCapacity field's value.
24553func (s *Job) SetAllocatedCapacity(v int64) *Job {
24554	s.AllocatedCapacity = &v
24555	return s
24556}
24557
24558// SetCommand sets the Command field's value.
24559func (s *Job) SetCommand(v *JobCommand) *Job {
24560	s.Command = v
24561	return s
24562}
24563
24564// SetConnections sets the Connections field's value.
24565func (s *Job) SetConnections(v *ConnectionsList) *Job {
24566	s.Connections = v
24567	return s
24568}
24569
24570// SetCreatedOn sets the CreatedOn field's value.
24571func (s *Job) SetCreatedOn(v time.Time) *Job {
24572	s.CreatedOn = &v
24573	return s
24574}
24575
24576// SetDefaultArguments sets the DefaultArguments field's value.
24577func (s *Job) SetDefaultArguments(v map[string]*string) *Job {
24578	s.DefaultArguments = v
24579	return s
24580}
24581
24582// SetDescription sets the Description field's value.
24583func (s *Job) SetDescription(v string) *Job {
24584	s.Description = &v
24585	return s
24586}
24587
24588// SetExecutionProperty sets the ExecutionProperty field's value.
24589func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job {
24590	s.ExecutionProperty = v
24591	return s
24592}
24593
24594// SetGlueVersion sets the GlueVersion field's value.
24595func (s *Job) SetGlueVersion(v string) *Job {
24596	s.GlueVersion = &v
24597	return s
24598}
24599
24600// SetLastModifiedOn sets the LastModifiedOn field's value.
24601func (s *Job) SetLastModifiedOn(v time.Time) *Job {
24602	s.LastModifiedOn = &v
24603	return s
24604}
24605
24606// SetLogUri sets the LogUri field's value.
24607func (s *Job) SetLogUri(v string) *Job {
24608	s.LogUri = &v
24609	return s
24610}
24611
24612// SetMaxCapacity sets the MaxCapacity field's value.
24613func (s *Job) SetMaxCapacity(v float64) *Job {
24614	s.MaxCapacity = &v
24615	return s
24616}
24617
24618// SetMaxRetries sets the MaxRetries field's value.
24619func (s *Job) SetMaxRetries(v int64) *Job {
24620	s.MaxRetries = &v
24621	return s
24622}
24623
24624// SetName sets the Name field's value.
24625func (s *Job) SetName(v string) *Job {
24626	s.Name = &v
24627	return s
24628}
24629
24630// SetNotificationProperty sets the NotificationProperty field's value.
24631func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job {
24632	s.NotificationProperty = v
24633	return s
24634}
24635
24636// SetNumberOfWorkers sets the NumberOfWorkers field's value.
24637func (s *Job) SetNumberOfWorkers(v int64) *Job {
24638	s.NumberOfWorkers = &v
24639	return s
24640}
24641
24642// SetRole sets the Role field's value.
24643func (s *Job) SetRole(v string) *Job {
24644	s.Role = &v
24645	return s
24646}
24647
24648// SetSecurityConfiguration sets the SecurityConfiguration field's value.
24649func (s *Job) SetSecurityConfiguration(v string) *Job {
24650	s.SecurityConfiguration = &v
24651	return s
24652}
24653
24654// SetTimeout sets the Timeout field's value.
24655func (s *Job) SetTimeout(v int64) *Job {
24656	s.Timeout = &v
24657	return s
24658}
24659
24660// SetWorkerType sets the WorkerType field's value.
24661func (s *Job) SetWorkerType(v string) *Job {
24662	s.WorkerType = &v
24663	return s
24664}
24665
24666// Defines a point that a job can resume processing.
24667type JobBookmarkEntry struct {
24668	_ struct{} `type:"structure"`
24669
24670	// The attempt ID number.
24671	Attempt *int64 `type:"integer"`
24672
24673	// The bookmark itself.
24674	JobBookmark *string `type:"string"`
24675
24676	// The name of the job in question.
24677	JobName *string `type:"string"`
24678
24679	// The unique run identifier associated with the previous job run.
24680	PreviousRunId *string `type:"string"`
24681
24682	// The run ID number.
24683	Run *int64 `type:"integer"`
24684
24685	// The run ID number.
24686	RunId *string `type:"string"`
24687
24688	// The version of the job.
24689	Version *int64 `type:"integer"`
24690}
24691
24692// String returns the string representation
24693func (s JobBookmarkEntry) String() string {
24694	return awsutil.Prettify(s)
24695}
24696
24697// GoString returns the string representation
24698func (s JobBookmarkEntry) GoString() string {
24699	return s.String()
24700}
24701
24702// SetAttempt sets the Attempt field's value.
24703func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry {
24704	s.Attempt = &v
24705	return s
24706}
24707
24708// SetJobBookmark sets the JobBookmark field's value.
24709func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry {
24710	s.JobBookmark = &v
24711	return s
24712}
24713
24714// SetJobName sets the JobName field's value.
24715func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry {
24716	s.JobName = &v
24717	return s
24718}
24719
24720// SetPreviousRunId sets the PreviousRunId field's value.
24721func (s *JobBookmarkEntry) SetPreviousRunId(v string) *JobBookmarkEntry {
24722	s.PreviousRunId = &v
24723	return s
24724}
24725
24726// SetRun sets the Run field's value.
24727func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry {
24728	s.Run = &v
24729	return s
24730}
24731
24732// SetRunId sets the RunId field's value.
24733func (s *JobBookmarkEntry) SetRunId(v string) *JobBookmarkEntry {
24734	s.RunId = &v
24735	return s
24736}
24737
24738// SetVersion sets the Version field's value.
24739func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry {
24740	s.Version = &v
24741	return s
24742}
24743
24744// Specifies how job bookmark data should be encrypted.
24745type JobBookmarksEncryption struct {
24746	_ struct{} `type:"structure"`
24747
24748	// The encryption mode to use for job bookmarks data.
24749	JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"`
24750
24751	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
24752	KmsKeyArn *string `type:"string"`
24753}
24754
24755// String returns the string representation
24756func (s JobBookmarksEncryption) String() string {
24757	return awsutil.Prettify(s)
24758}
24759
24760// GoString returns the string representation
24761func (s JobBookmarksEncryption) GoString() string {
24762	return s.String()
24763}
24764
24765// SetJobBookmarksEncryptionMode sets the JobBookmarksEncryptionMode field's value.
24766func (s *JobBookmarksEncryption) SetJobBookmarksEncryptionMode(v string) *JobBookmarksEncryption {
24767	s.JobBookmarksEncryptionMode = &v
24768	return s
24769}
24770
24771// SetKmsKeyArn sets the KmsKeyArn field's value.
24772func (s *JobBookmarksEncryption) SetKmsKeyArn(v string) *JobBookmarksEncryption {
24773	s.KmsKeyArn = &v
24774	return s
24775}
24776
24777// Specifies code executed when a job is run.
24778type JobCommand struct {
24779	_ struct{} `type:"structure"`
24780
24781	// The name of the job command. For an Apache Spark ETL job, this must be glueetl.
24782	// For a Python shell job, it must be pythonshell.
24783	Name *string `type:"string"`
24784
24785	// The Python version being used to execute a Python shell job. Allowed values
24786	// are 2 or 3.
24787	PythonVersion *string `type:"string"`
24788
24789	// Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
24790	// that executes a job.
24791	ScriptLocation *string `type:"string"`
24792}
24793
24794// String returns the string representation
24795func (s JobCommand) String() string {
24796	return awsutil.Prettify(s)
24797}
24798
24799// GoString returns the string representation
24800func (s JobCommand) GoString() string {
24801	return s.String()
24802}
24803
24804// SetName sets the Name field's value.
24805func (s *JobCommand) SetName(v string) *JobCommand {
24806	s.Name = &v
24807	return s
24808}
24809
24810// SetPythonVersion sets the PythonVersion field's value.
24811func (s *JobCommand) SetPythonVersion(v string) *JobCommand {
24812	s.PythonVersion = &v
24813	return s
24814}
24815
24816// SetScriptLocation sets the ScriptLocation field's value.
24817func (s *JobCommand) SetScriptLocation(v string) *JobCommand {
24818	s.ScriptLocation = &v
24819	return s
24820}
24821
24822// The details of a Job node present in the workflow.
24823type JobNodeDetails struct {
24824	_ struct{} `type:"structure"`
24825
24826	// The information for the job runs represented by the job node.
24827	JobRuns []*JobRun `type:"list"`
24828}
24829
24830// String returns the string representation
24831func (s JobNodeDetails) String() string {
24832	return awsutil.Prettify(s)
24833}
24834
24835// GoString returns the string representation
24836func (s JobNodeDetails) GoString() string {
24837	return s.String()
24838}
24839
24840// SetJobRuns sets the JobRuns field's value.
24841func (s *JobNodeDetails) SetJobRuns(v []*JobRun) *JobNodeDetails {
24842	s.JobRuns = v
24843	return s
24844}
24845
24846// Contains information about a job run.
24847type JobRun struct {
24848	_ struct{} `type:"structure"`
24849
24850	// This field is deprecated. Use MaxCapacity instead.
24851	//
24852	// The number of AWS Glue data processing units (DPUs) allocated to this JobRun.
24853	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
24854	// measure of processing power that consists of 4 vCPUs of compute capacity
24855	// and 16 GB of memory. For more information, see the AWS Glue pricing page
24856	// (https://aws.amazon.com/glue/pricing/).
24857	//
24858	// Deprecated: This property is deprecated, use MaxCapacity instead.
24859	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
24860
24861	// The job arguments associated with this run. For this job run, they replace
24862	// the default arguments set in the job definition itself.
24863	//
24864	// You can specify arguments here that your own job-execution script consumes,
24865	// as well as arguments that AWS Glue itself consumes.
24866	//
24867	// For information about how to specify and consume your own job arguments,
24868	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
24869	// topic in the developer guide.
24870	//
24871	// For information about the key-value pairs that AWS Glue consumes to set up
24872	// 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)
24873	// topic in the developer guide.
24874	Arguments map[string]*string `type:"map"`
24875
24876	// The number of the attempt to run this job.
24877	Attempt *int64 `type:"integer"`
24878
24879	// The date and time that this job run completed.
24880	CompletedOn *time.Time `type:"timestamp"`
24881
24882	// An error message associated with this job run.
24883	ErrorMessage *string `type:"string"`
24884
24885	// The amount of time (in seconds) that the job run consumed resources.
24886	ExecutionTime *int64 `type:"integer"`
24887
24888	// Glue version determines the versions of Apache Spark and Python that AWS
24889	// Glue supports. The Python version indicates the version supported for jobs
24890	// of type Spark.
24891	//
24892	// For more information about the available AWS Glue versions and corresponding
24893	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
24894	// in the developer guide.
24895	//
24896	// Jobs that are created without specifying a Glue version default to Glue 0.9.
24897	GlueVersion *string `min:"1" type:"string"`
24898
24899	// The ID of this job run.
24900	Id *string `min:"1" type:"string"`
24901
24902	// The name of the job definition being used in this run.
24903	JobName *string `min:"1" type:"string"`
24904
24905	// The current state of the job run.
24906	JobRunState *string `type:"string" enum:"JobRunState"`
24907
24908	// The last time that this job run was modified.
24909	LastModifiedOn *time.Time `type:"timestamp"`
24910
24911	// The name of the log group for secure logging that can be server-side encrypted
24912	// in Amazon CloudWatch using AWS KMS. This name can be /aws-glue/jobs/, in
24913	// which case the default encryption is NONE. If you add a role name and SecurityConfiguration
24914	// name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/),
24915	// then that security configuration is used to encrypt the log group.
24916	LogGroupName *string `type:"string"`
24917
24918	// The number of AWS Glue data processing units (DPUs) that can be allocated
24919	// when this job runs. A DPU is a relative measure of processing power that
24920	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
24921	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
24922	//
24923	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
24924	//
24925	// The value that can be allocated for MaxCapacity depends on whether you are
24926	// running a Python shell job or an Apache Spark ETL job:
24927	//
24928	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
24929	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
24930	//
24931	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
24932	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
24933	//    type cannot have a fractional DPU allocation.
24934	MaxCapacity *float64 `type:"double"`
24935
24936	// Specifies configuration properties of a job run notification.
24937	NotificationProperty *NotificationProperty `type:"structure"`
24938
24939	// The number of workers of a defined workerType that are allocated when a job
24940	// runs.
24941	//
24942	// The maximum number of workers you can define are 299 for G.1X, and 149 for
24943	// G.2X.
24944	NumberOfWorkers *int64 `type:"integer"`
24945
24946	// A list of predecessors to this job run.
24947	PredecessorRuns []*Predecessor `type:"list"`
24948
24949	// The ID of the previous run of this job. For example, the JobRunId specified
24950	// in the StartJobRun action.
24951	PreviousRunId *string `min:"1" type:"string"`
24952
24953	// The name of the SecurityConfiguration structure to be used with this job
24954	// run.
24955	SecurityConfiguration *string `min:"1" type:"string"`
24956
24957	// The date and time at which this job run was started.
24958	StartedOn *time.Time `type:"timestamp"`
24959
24960	// The JobRun timeout in minutes. This is the maximum time that a job run can
24961	// consume resources before it is terminated and enters TIMEOUT status. The
24962	// default is 2,880 minutes (48 hours). This overrides the timeout value set
24963	// in the parent job.
24964	Timeout *int64 `min:"1" type:"integer"`
24965
24966	// The name of the trigger that started this job run.
24967	TriggerName *string `min:"1" type:"string"`
24968
24969	// The type of predefined worker that is allocated when a job runs. Accepts
24970	// a value of Standard, G.1X, or G.2X.
24971	//
24972	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
24973	//    memory and a 50GB disk, and 2 executors per worker.
24974	//
24975	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
24976	//    and a 64GB disk, and 1 executor per worker.
24977	//
24978	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
24979	//    and a 128GB disk, and 1 executor per worker.
24980	WorkerType *string `type:"string" enum:"WorkerType"`
24981}
24982
24983// String returns the string representation
24984func (s JobRun) String() string {
24985	return awsutil.Prettify(s)
24986}
24987
24988// GoString returns the string representation
24989func (s JobRun) GoString() string {
24990	return s.String()
24991}
24992
24993// SetAllocatedCapacity sets the AllocatedCapacity field's value.
24994func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun {
24995	s.AllocatedCapacity = &v
24996	return s
24997}
24998
24999// SetArguments sets the Arguments field's value.
25000func (s *JobRun) SetArguments(v map[string]*string) *JobRun {
25001	s.Arguments = v
25002	return s
25003}
25004
25005// SetAttempt sets the Attempt field's value.
25006func (s *JobRun) SetAttempt(v int64) *JobRun {
25007	s.Attempt = &v
25008	return s
25009}
25010
25011// SetCompletedOn sets the CompletedOn field's value.
25012func (s *JobRun) SetCompletedOn(v time.Time) *JobRun {
25013	s.CompletedOn = &v
25014	return s
25015}
25016
25017// SetErrorMessage sets the ErrorMessage field's value.
25018func (s *JobRun) SetErrorMessage(v string) *JobRun {
25019	s.ErrorMessage = &v
25020	return s
25021}
25022
25023// SetExecutionTime sets the ExecutionTime field's value.
25024func (s *JobRun) SetExecutionTime(v int64) *JobRun {
25025	s.ExecutionTime = &v
25026	return s
25027}
25028
25029// SetGlueVersion sets the GlueVersion field's value.
25030func (s *JobRun) SetGlueVersion(v string) *JobRun {
25031	s.GlueVersion = &v
25032	return s
25033}
25034
25035// SetId sets the Id field's value.
25036func (s *JobRun) SetId(v string) *JobRun {
25037	s.Id = &v
25038	return s
25039}
25040
25041// SetJobName sets the JobName field's value.
25042func (s *JobRun) SetJobName(v string) *JobRun {
25043	s.JobName = &v
25044	return s
25045}
25046
25047// SetJobRunState sets the JobRunState field's value.
25048func (s *JobRun) SetJobRunState(v string) *JobRun {
25049	s.JobRunState = &v
25050	return s
25051}
25052
25053// SetLastModifiedOn sets the LastModifiedOn field's value.
25054func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun {
25055	s.LastModifiedOn = &v
25056	return s
25057}
25058
25059// SetLogGroupName sets the LogGroupName field's value.
25060func (s *JobRun) SetLogGroupName(v string) *JobRun {
25061	s.LogGroupName = &v
25062	return s
25063}
25064
25065// SetMaxCapacity sets the MaxCapacity field's value.
25066func (s *JobRun) SetMaxCapacity(v float64) *JobRun {
25067	s.MaxCapacity = &v
25068	return s
25069}
25070
25071// SetNotificationProperty sets the NotificationProperty field's value.
25072func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun {
25073	s.NotificationProperty = v
25074	return s
25075}
25076
25077// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25078func (s *JobRun) SetNumberOfWorkers(v int64) *JobRun {
25079	s.NumberOfWorkers = &v
25080	return s
25081}
25082
25083// SetPredecessorRuns sets the PredecessorRuns field's value.
25084func (s *JobRun) SetPredecessorRuns(v []*Predecessor) *JobRun {
25085	s.PredecessorRuns = v
25086	return s
25087}
25088
25089// SetPreviousRunId sets the PreviousRunId field's value.
25090func (s *JobRun) SetPreviousRunId(v string) *JobRun {
25091	s.PreviousRunId = &v
25092	return s
25093}
25094
25095// SetSecurityConfiguration sets the SecurityConfiguration field's value.
25096func (s *JobRun) SetSecurityConfiguration(v string) *JobRun {
25097	s.SecurityConfiguration = &v
25098	return s
25099}
25100
25101// SetStartedOn sets the StartedOn field's value.
25102func (s *JobRun) SetStartedOn(v time.Time) *JobRun {
25103	s.StartedOn = &v
25104	return s
25105}
25106
25107// SetTimeout sets the Timeout field's value.
25108func (s *JobRun) SetTimeout(v int64) *JobRun {
25109	s.Timeout = &v
25110	return s
25111}
25112
25113// SetTriggerName sets the TriggerName field's value.
25114func (s *JobRun) SetTriggerName(v string) *JobRun {
25115	s.TriggerName = &v
25116	return s
25117}
25118
25119// SetWorkerType sets the WorkerType field's value.
25120func (s *JobRun) SetWorkerType(v string) *JobRun {
25121	s.WorkerType = &v
25122	return s
25123}
25124
25125// Specifies information used to update an existing job definition. The previous
25126// job definition is completely overwritten by this information.
25127type JobUpdate struct {
25128	_ struct{} `type:"structure"`
25129
25130	// This field is deprecated. Use MaxCapacity instead.
25131	//
25132	// The number of AWS Glue data processing units (DPUs) to allocate to this job.
25133	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
25134	// measure of processing power that consists of 4 vCPUs of compute capacity
25135	// and 16 GB of memory. For more information, see the AWS Glue pricing page
25136	// (https://aws.amazon.com/glue/pricing/).
25137	//
25138	// Deprecated: This property is deprecated, use MaxCapacity instead.
25139	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
25140
25141	// The JobCommand that executes this job (required).
25142	Command *JobCommand `type:"structure"`
25143
25144	// The connections used for this job.
25145	Connections *ConnectionsList `type:"structure"`
25146
25147	// The default arguments for this job.
25148	//
25149	// You can specify arguments here that your own job-execution script consumes,
25150	// as well as arguments that AWS Glue itself consumes.
25151	//
25152	// For information about how to specify and consume your own Job arguments,
25153	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
25154	// topic in the developer guide.
25155	//
25156	// For information about the key-value pairs that AWS Glue consumes to set up
25157	// 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)
25158	// topic in the developer guide.
25159	DefaultArguments map[string]*string `type:"map"`
25160
25161	// Description of the job being defined.
25162	Description *string `type:"string"`
25163
25164	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
25165	// for this job.
25166	ExecutionProperty *ExecutionProperty `type:"structure"`
25167
25168	// Glue version determines the versions of Apache Spark and Python that AWS
25169	// Glue supports. The Python version indicates the version supported for jobs
25170	// of type Spark.
25171	//
25172	// For more information about the available AWS Glue versions and corresponding
25173	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
25174	// in the developer guide.
25175	GlueVersion *string `min:"1" type:"string"`
25176
25177	// This field is reserved for future use.
25178	LogUri *string `type:"string"`
25179
25180	// The number of AWS Glue data processing units (DPUs) that can be allocated
25181	// when this job runs. A DPU is a relative measure of processing power that
25182	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
25183	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
25184	//
25185	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
25186	//
25187	// The value that can be allocated for MaxCapacity depends on whether you are
25188	// running a Python shell job or an Apache Spark ETL job:
25189	//
25190	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
25191	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
25192	//
25193	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
25194	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
25195	//    type cannot have a fractional DPU allocation.
25196	MaxCapacity *float64 `type:"double"`
25197
25198	// The maximum number of times to retry this job if it fails.
25199	MaxRetries *int64 `type:"integer"`
25200
25201	// Specifies the configuration properties of a job notification.
25202	NotificationProperty *NotificationProperty `type:"structure"`
25203
25204	// The number of workers of a defined workerType that are allocated when a job
25205	// runs.
25206	//
25207	// The maximum number of workers you can define are 299 for G.1X, and 149 for
25208	// G.2X.
25209	NumberOfWorkers *int64 `type:"integer"`
25210
25211	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
25212	// job (required).
25213	Role *string `type:"string"`
25214
25215	// The name of the SecurityConfiguration structure to be used with this job.
25216	SecurityConfiguration *string `min:"1" type:"string"`
25217
25218	// The job timeout in minutes. This is the maximum time that a job run can consume
25219	// resources before it is terminated and enters TIMEOUT status. The default
25220	// is 2,880 minutes (48 hours).
25221	Timeout *int64 `min:"1" type:"integer"`
25222
25223	// The type of predefined worker that is allocated when a job runs. Accepts
25224	// a value of Standard, G.1X, or G.2X.
25225	//
25226	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
25227	//    memory and a 50GB disk, and 2 executors per worker.
25228	//
25229	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
25230	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
25231	//    this worker type for memory-intensive jobs.
25232	//
25233	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
25234	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
25235	//    this worker type for memory-intensive jobs.
25236	WorkerType *string `type:"string" enum:"WorkerType"`
25237}
25238
25239// String returns the string representation
25240func (s JobUpdate) String() string {
25241	return awsutil.Prettify(s)
25242}
25243
25244// GoString returns the string representation
25245func (s JobUpdate) GoString() string {
25246	return s.String()
25247}
25248
25249// Validate inspects the fields of the type to determine if they are valid.
25250func (s *JobUpdate) Validate() error {
25251	invalidParams := request.ErrInvalidParams{Context: "JobUpdate"}
25252	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
25253		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
25254	}
25255	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
25256		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
25257	}
25258	if s.Timeout != nil && *s.Timeout < 1 {
25259		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
25260	}
25261	if s.NotificationProperty != nil {
25262		if err := s.NotificationProperty.Validate(); err != nil {
25263			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
25264		}
25265	}
25266
25267	if invalidParams.Len() > 0 {
25268		return invalidParams
25269	}
25270	return nil
25271}
25272
25273// SetAllocatedCapacity sets the AllocatedCapacity field's value.
25274func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate {
25275	s.AllocatedCapacity = &v
25276	return s
25277}
25278
25279// SetCommand sets the Command field's value.
25280func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate {
25281	s.Command = v
25282	return s
25283}
25284
25285// SetConnections sets the Connections field's value.
25286func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate {
25287	s.Connections = v
25288	return s
25289}
25290
25291// SetDefaultArguments sets the DefaultArguments field's value.
25292func (s *JobUpdate) SetDefaultArguments(v map[string]*string) *JobUpdate {
25293	s.DefaultArguments = v
25294	return s
25295}
25296
25297// SetDescription sets the Description field's value.
25298func (s *JobUpdate) SetDescription(v string) *JobUpdate {
25299	s.Description = &v
25300	return s
25301}
25302
25303// SetExecutionProperty sets the ExecutionProperty field's value.
25304func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate {
25305	s.ExecutionProperty = v
25306	return s
25307}
25308
25309// SetGlueVersion sets the GlueVersion field's value.
25310func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate {
25311	s.GlueVersion = &v
25312	return s
25313}
25314
25315// SetLogUri sets the LogUri field's value.
25316func (s *JobUpdate) SetLogUri(v string) *JobUpdate {
25317	s.LogUri = &v
25318	return s
25319}
25320
25321// SetMaxCapacity sets the MaxCapacity field's value.
25322func (s *JobUpdate) SetMaxCapacity(v float64) *JobUpdate {
25323	s.MaxCapacity = &v
25324	return s
25325}
25326
25327// SetMaxRetries sets the MaxRetries field's value.
25328func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate {
25329	s.MaxRetries = &v
25330	return s
25331}
25332
25333// SetNotificationProperty sets the NotificationProperty field's value.
25334func (s *JobUpdate) SetNotificationProperty(v *NotificationProperty) *JobUpdate {
25335	s.NotificationProperty = v
25336	return s
25337}
25338
25339// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25340func (s *JobUpdate) SetNumberOfWorkers(v int64) *JobUpdate {
25341	s.NumberOfWorkers = &v
25342	return s
25343}
25344
25345// SetRole sets the Role field's value.
25346func (s *JobUpdate) SetRole(v string) *JobUpdate {
25347	s.Role = &v
25348	return s
25349}
25350
25351// SetSecurityConfiguration sets the SecurityConfiguration field's value.
25352func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate {
25353	s.SecurityConfiguration = &v
25354	return s
25355}
25356
25357// SetTimeout sets the Timeout field's value.
25358func (s *JobUpdate) SetTimeout(v int64) *JobUpdate {
25359	s.Timeout = &v
25360	return s
25361}
25362
25363// SetWorkerType sets the WorkerType field's value.
25364func (s *JobUpdate) SetWorkerType(v string) *JobUpdate {
25365	s.WorkerType = &v
25366	return s
25367}
25368
25369// A classifier for JSON content.
25370type JsonClassifier struct {
25371	_ struct{} `type:"structure"`
25372
25373	// The time that this classifier was registered.
25374	CreationTime *time.Time `type:"timestamp"`
25375
25376	// A JsonPath string defining the JSON data for the classifier to classify.
25377	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
25378	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
25379	//
25380	// JsonPath is a required field
25381	JsonPath *string `type:"string" required:"true"`
25382
25383	// The time that this classifier was last updated.
25384	LastUpdated *time.Time `type:"timestamp"`
25385
25386	// The name of the classifier.
25387	//
25388	// Name is a required field
25389	Name *string `min:"1" type:"string" required:"true"`
25390
25391	// The version of this classifier.
25392	Version *int64 `type:"long"`
25393}
25394
25395// String returns the string representation
25396func (s JsonClassifier) String() string {
25397	return awsutil.Prettify(s)
25398}
25399
25400// GoString returns the string representation
25401func (s JsonClassifier) GoString() string {
25402	return s.String()
25403}
25404
25405// SetCreationTime sets the CreationTime field's value.
25406func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier {
25407	s.CreationTime = &v
25408	return s
25409}
25410
25411// SetJsonPath sets the JsonPath field's value.
25412func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier {
25413	s.JsonPath = &v
25414	return s
25415}
25416
25417// SetLastUpdated sets the LastUpdated field's value.
25418func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier {
25419	s.LastUpdated = &v
25420	return s
25421}
25422
25423// SetName sets the Name field's value.
25424func (s *JsonClassifier) SetName(v string) *JsonClassifier {
25425	s.Name = &v
25426	return s
25427}
25428
25429// SetVersion sets the Version field's value.
25430func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier {
25431	s.Version = &v
25432	return s
25433}
25434
25435// Specifies configuration properties for a labeling set generation task run.
25436type LabelingSetGenerationTaskRunProperties struct {
25437	_ struct{} `type:"structure"`
25438
25439	// The Amazon Simple Storage Service (Amazon S3) path where you will generate
25440	// the labeling set.
25441	OutputS3Path *string `type:"string"`
25442}
25443
25444// String returns the string representation
25445func (s LabelingSetGenerationTaskRunProperties) String() string {
25446	return awsutil.Prettify(s)
25447}
25448
25449// GoString returns the string representation
25450func (s LabelingSetGenerationTaskRunProperties) GoString() string {
25451	return s.String()
25452}
25453
25454// SetOutputS3Path sets the OutputS3Path field's value.
25455func (s *LabelingSetGenerationTaskRunProperties) SetOutputS3Path(v string) *LabelingSetGenerationTaskRunProperties {
25456	s.OutputS3Path = &v
25457	return s
25458}
25459
25460// Status and error information about the most recent crawl.
25461type LastCrawlInfo struct {
25462	_ struct{} `type:"structure"`
25463
25464	// If an error occurred, the error information about the last crawl.
25465	ErrorMessage *string `type:"string"`
25466
25467	// The log group for the last crawl.
25468	LogGroup *string `min:"1" type:"string"`
25469
25470	// The log stream for the last crawl.
25471	LogStream *string `min:"1" type:"string"`
25472
25473	// The prefix for a message about this crawl.
25474	MessagePrefix *string `min:"1" type:"string"`
25475
25476	// The time at which the crawl started.
25477	StartTime *time.Time `type:"timestamp"`
25478
25479	// Status of the last crawl.
25480	Status *string `type:"string" enum:"LastCrawlStatus"`
25481}
25482
25483// String returns the string representation
25484func (s LastCrawlInfo) String() string {
25485	return awsutil.Prettify(s)
25486}
25487
25488// GoString returns the string representation
25489func (s LastCrawlInfo) GoString() string {
25490	return s.String()
25491}
25492
25493// SetErrorMessage sets the ErrorMessage field's value.
25494func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo {
25495	s.ErrorMessage = &v
25496	return s
25497}
25498
25499// SetLogGroup sets the LogGroup field's value.
25500func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo {
25501	s.LogGroup = &v
25502	return s
25503}
25504
25505// SetLogStream sets the LogStream field's value.
25506func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo {
25507	s.LogStream = &v
25508	return s
25509}
25510
25511// SetMessagePrefix sets the MessagePrefix field's value.
25512func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo {
25513	s.MessagePrefix = &v
25514	return s
25515}
25516
25517// SetStartTime sets the StartTime field's value.
25518func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo {
25519	s.StartTime = &v
25520	return s
25521}
25522
25523// SetStatus sets the Status field's value.
25524func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo {
25525	s.Status = &v
25526	return s
25527}
25528
25529type ListCrawlersInput struct {
25530	_ struct{} `type:"structure"`
25531
25532	// The maximum size of a list to return.
25533	MaxResults *int64 `min:"1" type:"integer"`
25534
25535	// A continuation token, if this is a continuation request.
25536	NextToken *string `type:"string"`
25537
25538	// Specifies to return only these tagged resources.
25539	Tags map[string]*string `type:"map"`
25540}
25541
25542// String returns the string representation
25543func (s ListCrawlersInput) String() string {
25544	return awsutil.Prettify(s)
25545}
25546
25547// GoString returns the string representation
25548func (s ListCrawlersInput) GoString() string {
25549	return s.String()
25550}
25551
25552// Validate inspects the fields of the type to determine if they are valid.
25553func (s *ListCrawlersInput) Validate() error {
25554	invalidParams := request.ErrInvalidParams{Context: "ListCrawlersInput"}
25555	if s.MaxResults != nil && *s.MaxResults < 1 {
25556		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25557	}
25558
25559	if invalidParams.Len() > 0 {
25560		return invalidParams
25561	}
25562	return nil
25563}
25564
25565// SetMaxResults sets the MaxResults field's value.
25566func (s *ListCrawlersInput) SetMaxResults(v int64) *ListCrawlersInput {
25567	s.MaxResults = &v
25568	return s
25569}
25570
25571// SetNextToken sets the NextToken field's value.
25572func (s *ListCrawlersInput) SetNextToken(v string) *ListCrawlersInput {
25573	s.NextToken = &v
25574	return s
25575}
25576
25577// SetTags sets the Tags field's value.
25578func (s *ListCrawlersInput) SetTags(v map[string]*string) *ListCrawlersInput {
25579	s.Tags = v
25580	return s
25581}
25582
25583type ListCrawlersOutput struct {
25584	_ struct{} `type:"structure"`
25585
25586	// The names of all crawlers in the account, or the crawlers with the specified
25587	// tags.
25588	CrawlerNames []*string `type:"list"`
25589
25590	// A continuation token, if the returned list does not contain the last metric
25591	// available.
25592	NextToken *string `type:"string"`
25593}
25594
25595// String returns the string representation
25596func (s ListCrawlersOutput) String() string {
25597	return awsutil.Prettify(s)
25598}
25599
25600// GoString returns the string representation
25601func (s ListCrawlersOutput) GoString() string {
25602	return s.String()
25603}
25604
25605// SetCrawlerNames sets the CrawlerNames field's value.
25606func (s *ListCrawlersOutput) SetCrawlerNames(v []*string) *ListCrawlersOutput {
25607	s.CrawlerNames = v
25608	return s
25609}
25610
25611// SetNextToken sets the NextToken field's value.
25612func (s *ListCrawlersOutput) SetNextToken(v string) *ListCrawlersOutput {
25613	s.NextToken = &v
25614	return s
25615}
25616
25617type ListDevEndpointsInput struct {
25618	_ struct{} `type:"structure"`
25619
25620	// The maximum size of a list to return.
25621	MaxResults *int64 `min:"1" type:"integer"`
25622
25623	// A continuation token, if this is a continuation request.
25624	NextToken *string `type:"string"`
25625
25626	// Specifies to return only these tagged resources.
25627	Tags map[string]*string `type:"map"`
25628}
25629
25630// String returns the string representation
25631func (s ListDevEndpointsInput) String() string {
25632	return awsutil.Prettify(s)
25633}
25634
25635// GoString returns the string representation
25636func (s ListDevEndpointsInput) GoString() string {
25637	return s.String()
25638}
25639
25640// Validate inspects the fields of the type to determine if they are valid.
25641func (s *ListDevEndpointsInput) Validate() error {
25642	invalidParams := request.ErrInvalidParams{Context: "ListDevEndpointsInput"}
25643	if s.MaxResults != nil && *s.MaxResults < 1 {
25644		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25645	}
25646
25647	if invalidParams.Len() > 0 {
25648		return invalidParams
25649	}
25650	return nil
25651}
25652
25653// SetMaxResults sets the MaxResults field's value.
25654func (s *ListDevEndpointsInput) SetMaxResults(v int64) *ListDevEndpointsInput {
25655	s.MaxResults = &v
25656	return s
25657}
25658
25659// SetNextToken sets the NextToken field's value.
25660func (s *ListDevEndpointsInput) SetNextToken(v string) *ListDevEndpointsInput {
25661	s.NextToken = &v
25662	return s
25663}
25664
25665// SetTags sets the Tags field's value.
25666func (s *ListDevEndpointsInput) SetTags(v map[string]*string) *ListDevEndpointsInput {
25667	s.Tags = v
25668	return s
25669}
25670
25671type ListDevEndpointsOutput struct {
25672	_ struct{} `type:"structure"`
25673
25674	// The names of all the DevEndpoints in the account, or the DevEndpoints with
25675	// the specified tags.
25676	DevEndpointNames []*string `type:"list"`
25677
25678	// A continuation token, if the returned list does not contain the last metric
25679	// available.
25680	NextToken *string `type:"string"`
25681}
25682
25683// String returns the string representation
25684func (s ListDevEndpointsOutput) String() string {
25685	return awsutil.Prettify(s)
25686}
25687
25688// GoString returns the string representation
25689func (s ListDevEndpointsOutput) GoString() string {
25690	return s.String()
25691}
25692
25693// SetDevEndpointNames sets the DevEndpointNames field's value.
25694func (s *ListDevEndpointsOutput) SetDevEndpointNames(v []*string) *ListDevEndpointsOutput {
25695	s.DevEndpointNames = v
25696	return s
25697}
25698
25699// SetNextToken sets the NextToken field's value.
25700func (s *ListDevEndpointsOutput) SetNextToken(v string) *ListDevEndpointsOutput {
25701	s.NextToken = &v
25702	return s
25703}
25704
25705type ListJobsInput struct {
25706	_ struct{} `type:"structure"`
25707
25708	// The maximum size of a list to return.
25709	MaxResults *int64 `min:"1" type:"integer"`
25710
25711	// A continuation token, if this is a continuation request.
25712	NextToken *string `type:"string"`
25713
25714	// Specifies to return only these tagged resources.
25715	Tags map[string]*string `type:"map"`
25716}
25717
25718// String returns the string representation
25719func (s ListJobsInput) String() string {
25720	return awsutil.Prettify(s)
25721}
25722
25723// GoString returns the string representation
25724func (s ListJobsInput) GoString() string {
25725	return s.String()
25726}
25727
25728// Validate inspects the fields of the type to determine if they are valid.
25729func (s *ListJobsInput) Validate() error {
25730	invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"}
25731	if s.MaxResults != nil && *s.MaxResults < 1 {
25732		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25733	}
25734
25735	if invalidParams.Len() > 0 {
25736		return invalidParams
25737	}
25738	return nil
25739}
25740
25741// SetMaxResults sets the MaxResults field's value.
25742func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput {
25743	s.MaxResults = &v
25744	return s
25745}
25746
25747// SetNextToken sets the NextToken field's value.
25748func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
25749	s.NextToken = &v
25750	return s
25751}
25752
25753// SetTags sets the Tags field's value.
25754func (s *ListJobsInput) SetTags(v map[string]*string) *ListJobsInput {
25755	s.Tags = v
25756	return s
25757}
25758
25759type ListJobsOutput struct {
25760	_ struct{} `type:"structure"`
25761
25762	// The names of all jobs in the account, or the jobs with the specified tags.
25763	JobNames []*string `type:"list"`
25764
25765	// A continuation token, if the returned list does not contain the last metric
25766	// available.
25767	NextToken *string `type:"string"`
25768}
25769
25770// String returns the string representation
25771func (s ListJobsOutput) String() string {
25772	return awsutil.Prettify(s)
25773}
25774
25775// GoString returns the string representation
25776func (s ListJobsOutput) GoString() string {
25777	return s.String()
25778}
25779
25780// SetJobNames sets the JobNames field's value.
25781func (s *ListJobsOutput) SetJobNames(v []*string) *ListJobsOutput {
25782	s.JobNames = v
25783	return s
25784}
25785
25786// SetNextToken sets the NextToken field's value.
25787func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
25788	s.NextToken = &v
25789	return s
25790}
25791
25792type ListTriggersInput struct {
25793	_ struct{} `type:"structure"`
25794
25795	// The name of the job for which to retrieve triggers. The trigger that can
25796	// start this job is returned. If there is no such trigger, all triggers are
25797	// returned.
25798	DependentJobName *string `min:"1" type:"string"`
25799
25800	// The maximum size of a list to return.
25801	MaxResults *int64 `min:"1" type:"integer"`
25802
25803	// A continuation token, if this is a continuation request.
25804	NextToken *string `type:"string"`
25805
25806	// Specifies to return only these tagged resources.
25807	Tags map[string]*string `type:"map"`
25808}
25809
25810// String returns the string representation
25811func (s ListTriggersInput) String() string {
25812	return awsutil.Prettify(s)
25813}
25814
25815// GoString returns the string representation
25816func (s ListTriggersInput) GoString() string {
25817	return s.String()
25818}
25819
25820// Validate inspects the fields of the type to determine if they are valid.
25821func (s *ListTriggersInput) Validate() error {
25822	invalidParams := request.ErrInvalidParams{Context: "ListTriggersInput"}
25823	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
25824		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
25825	}
25826	if s.MaxResults != nil && *s.MaxResults < 1 {
25827		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25828	}
25829
25830	if invalidParams.Len() > 0 {
25831		return invalidParams
25832	}
25833	return nil
25834}
25835
25836// SetDependentJobName sets the DependentJobName field's value.
25837func (s *ListTriggersInput) SetDependentJobName(v string) *ListTriggersInput {
25838	s.DependentJobName = &v
25839	return s
25840}
25841
25842// SetMaxResults sets the MaxResults field's value.
25843func (s *ListTriggersInput) SetMaxResults(v int64) *ListTriggersInput {
25844	s.MaxResults = &v
25845	return s
25846}
25847
25848// SetNextToken sets the NextToken field's value.
25849func (s *ListTriggersInput) SetNextToken(v string) *ListTriggersInput {
25850	s.NextToken = &v
25851	return s
25852}
25853
25854// SetTags sets the Tags field's value.
25855func (s *ListTriggersInput) SetTags(v map[string]*string) *ListTriggersInput {
25856	s.Tags = v
25857	return s
25858}
25859
25860type ListTriggersOutput struct {
25861	_ struct{} `type:"structure"`
25862
25863	// A continuation token, if the returned list does not contain the last metric
25864	// available.
25865	NextToken *string `type:"string"`
25866
25867	// The names of all triggers in the account, or the triggers with the specified
25868	// tags.
25869	TriggerNames []*string `type:"list"`
25870}
25871
25872// String returns the string representation
25873func (s ListTriggersOutput) String() string {
25874	return awsutil.Prettify(s)
25875}
25876
25877// GoString returns the string representation
25878func (s ListTriggersOutput) GoString() string {
25879	return s.String()
25880}
25881
25882// SetNextToken sets the NextToken field's value.
25883func (s *ListTriggersOutput) SetNextToken(v string) *ListTriggersOutput {
25884	s.NextToken = &v
25885	return s
25886}
25887
25888// SetTriggerNames sets the TriggerNames field's value.
25889func (s *ListTriggersOutput) SetTriggerNames(v []*string) *ListTriggersOutput {
25890	s.TriggerNames = v
25891	return s
25892}
25893
25894type ListWorkflowsInput struct {
25895	_ struct{} `type:"structure"`
25896
25897	// The maximum size of a list to return.
25898	MaxResults *int64 `min:"1" type:"integer"`
25899
25900	// A continuation token, if this is a continuation request.
25901	NextToken *string `type:"string"`
25902}
25903
25904// String returns the string representation
25905func (s ListWorkflowsInput) String() string {
25906	return awsutil.Prettify(s)
25907}
25908
25909// GoString returns the string representation
25910func (s ListWorkflowsInput) GoString() string {
25911	return s.String()
25912}
25913
25914// Validate inspects the fields of the type to determine if they are valid.
25915func (s *ListWorkflowsInput) Validate() error {
25916	invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"}
25917	if s.MaxResults != nil && *s.MaxResults < 1 {
25918		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25919	}
25920
25921	if invalidParams.Len() > 0 {
25922		return invalidParams
25923	}
25924	return nil
25925}
25926
25927// SetMaxResults sets the MaxResults field's value.
25928func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput {
25929	s.MaxResults = &v
25930	return s
25931}
25932
25933// SetNextToken sets the NextToken field's value.
25934func (s *ListWorkflowsInput) SetNextToken(v string) *ListWorkflowsInput {
25935	s.NextToken = &v
25936	return s
25937}
25938
25939type ListWorkflowsOutput struct {
25940	_ struct{} `type:"structure"`
25941
25942	// A continuation token, if not all workflow names have been returned.
25943	NextToken *string `type:"string"`
25944
25945	// List of names of workflows in the account.
25946	Workflows []*string `min:"1" type:"list"`
25947}
25948
25949// String returns the string representation
25950func (s ListWorkflowsOutput) String() string {
25951	return awsutil.Prettify(s)
25952}
25953
25954// GoString returns the string representation
25955func (s ListWorkflowsOutput) GoString() string {
25956	return s.String()
25957}
25958
25959// SetNextToken sets the NextToken field's value.
25960func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput {
25961	s.NextToken = &v
25962	return s
25963}
25964
25965// SetWorkflows sets the Workflows field's value.
25966func (s *ListWorkflowsOutput) SetWorkflows(v []*string) *ListWorkflowsOutput {
25967	s.Workflows = v
25968	return s
25969}
25970
25971// The location of resources.
25972type Location struct {
25973	_ struct{} `type:"structure"`
25974
25975	// An Amazon DynamoDB table location.
25976	DynamoDB []*CodeGenNodeArg `type:"list"`
25977
25978	// A JDBC location.
25979	Jdbc []*CodeGenNodeArg `type:"list"`
25980
25981	// An Amazon Simple Storage Service (Amazon S3) location.
25982	S3 []*CodeGenNodeArg `type:"list"`
25983}
25984
25985// String returns the string representation
25986func (s Location) String() string {
25987	return awsutil.Prettify(s)
25988}
25989
25990// GoString returns the string representation
25991func (s Location) GoString() string {
25992	return s.String()
25993}
25994
25995// Validate inspects the fields of the type to determine if they are valid.
25996func (s *Location) Validate() error {
25997	invalidParams := request.ErrInvalidParams{Context: "Location"}
25998	if s.DynamoDB != nil {
25999		for i, v := range s.DynamoDB {
26000			if v == nil {
26001				continue
26002			}
26003			if err := v.Validate(); err != nil {
26004				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DynamoDB", i), err.(request.ErrInvalidParams))
26005			}
26006		}
26007	}
26008	if s.Jdbc != nil {
26009		for i, v := range s.Jdbc {
26010			if v == nil {
26011				continue
26012			}
26013			if err := v.Validate(); err != nil {
26014				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Jdbc", i), err.(request.ErrInvalidParams))
26015			}
26016		}
26017	}
26018	if s.S3 != nil {
26019		for i, v := range s.S3 {
26020			if v == nil {
26021				continue
26022			}
26023			if err := v.Validate(); err != nil {
26024				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "S3", i), err.(request.ErrInvalidParams))
26025			}
26026		}
26027	}
26028
26029	if invalidParams.Len() > 0 {
26030		return invalidParams
26031	}
26032	return nil
26033}
26034
26035// SetDynamoDB sets the DynamoDB field's value.
26036func (s *Location) SetDynamoDB(v []*CodeGenNodeArg) *Location {
26037	s.DynamoDB = v
26038	return s
26039}
26040
26041// SetJdbc sets the Jdbc field's value.
26042func (s *Location) SetJdbc(v []*CodeGenNodeArg) *Location {
26043	s.Jdbc = v
26044	return s
26045}
26046
26047// SetS3 sets the S3 field's value.
26048func (s *Location) SetS3(v []*CodeGenNodeArg) *Location {
26049	s.S3 = v
26050	return s
26051}
26052
26053// A structure for a machine learning transform.
26054type MLTransform struct {
26055	_ struct{} `type:"structure"`
26056
26057	// A timestamp. The time and date that this machine learning transform was created.
26058	CreatedOn *time.Time `type:"timestamp"`
26059
26060	// A user-defined, long-form description text for the machine learning transform.
26061	// Descriptions are not guaranteed to be unique and can be changed at any time.
26062	Description *string `type:"string"`
26063
26064	// An EvaluationMetrics object. Evaluation metrics provide an estimate of the
26065	// quality of your machine learning transform.
26066	EvaluationMetrics *EvaluationMetrics `type:"structure"`
26067
26068	// This value determines which version of AWS Glue this machine learning transform
26069	// is compatible with. Glue 1.0 is recommended for most customers. If the value
26070	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
26071	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
26072	// in the developer guide.
26073	GlueVersion *string `min:"1" type:"string"`
26074
26075	// A list of AWS Glue table definitions used by the transform.
26076	InputRecordTables []*Table `type:"list"`
26077
26078	// A count identifier for the labeling files generated by AWS Glue for this
26079	// transform. As you create a better transform, you can iteratively download,
26080	// label, and upload the labeling file.
26081	LabelCount *int64 `type:"integer"`
26082
26083	// A timestamp. The last point in time when this machine learning transform
26084	// was modified.
26085	LastModifiedOn *time.Time `type:"timestamp"`
26086
26087	// The number of AWS Glue data processing units (DPUs) that are allocated to
26088	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
26089	// is 10. A DPU is a relative measure of processing power that consists of 4
26090	// vCPUs of compute capacity and 16 GB of memory. For more information, see
26091	// the AWS Glue pricing page (http://aws.amazon.com/glue/pricing/).
26092	//
26093	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
26094	//
26095	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
26096	//    be set.
26097	//
26098	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
26099	//    be set.
26100	//
26101	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
26102	//
26103	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
26104	//
26105	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
26106	// field is set automatically and becomes read-only.
26107	MaxCapacity *float64 `type:"double"`
26108
26109	// The maximum number of times to retry after an MLTaskRun of the machine learning
26110	// transform fails.
26111	MaxRetries *int64 `type:"integer"`
26112
26113	// A user-defined name for the machine learning transform. Names are not guaranteed
26114	// unique and can be changed at any time.
26115	Name *string `min:"1" type:"string"`
26116
26117	// The number of workers of a defined workerType that are allocated when a task
26118	// of the transform runs.
26119	//
26120	// If WorkerType is set, then NumberOfWorkers is required (and vice versa).
26121	NumberOfWorkers *int64 `type:"integer"`
26122
26123	// A TransformParameters object. You can use parameters to tune (customize)
26124	// the behavior of the machine learning transform by specifying what data it
26125	// learns from and your preference on various tradeoffs (such as precious vs.
26126	// recall, or accuracy vs. cost).
26127	Parameters *TransformParameters `type:"structure"`
26128
26129	// The name or Amazon Resource Name (ARN) of the IAM role with the required
26130	// permissions. The required permissions include both AWS Glue service role
26131	// permissions to AWS Glue resources, and Amazon S3 permissions required by
26132	// the transform.
26133	//
26134	//    * This role needs AWS Glue service role permissions to allow access to
26135	//    resources in AWS Glue. See Attach a Policy to IAM Users That Access AWS
26136	//    Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html).
26137	//
26138	//    * This role needs permission to your Amazon Simple Storage Service (Amazon
26139	//    S3) sources, targets, temporary directory, scripts, and any libraries
26140	//    used by the task run for this transform.
26141	Role *string `type:"string"`
26142
26143	// A map of key-value pairs representing the columns and data types that this
26144	// transform can run against. Has an upper bound of 100 columns.
26145	Schema []*SchemaColumn `type:"list"`
26146
26147	// The current status of the machine learning transform.
26148	Status *string `type:"string" enum:"TransformStatusType"`
26149
26150	// The timeout in minutes of the machine learning transform.
26151	Timeout *int64 `min:"1" type:"integer"`
26152
26153	// The unique transform ID that is generated for the machine learning transform.
26154	// The ID is guaranteed to be unique and does not change.
26155	TransformId *string `min:"1" type:"string"`
26156
26157	// The type of predefined worker that is allocated when a task of this transform
26158	// runs. Accepts a value of Standard, G.1X, or G.2X.
26159	//
26160	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
26161	//    memory and a 50GB disk, and 2 executors per worker.
26162	//
26163	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
26164	//    and a 64GB disk, and 1 executor per worker.
26165	//
26166	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
26167	//    and a 128GB disk, and 1 executor per worker.
26168	//
26169	// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
26170	//
26171	//    * If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot
26172	//    be set.
26173	//
26174	//    * If MaxCapacity is set then neither NumberOfWorkers or WorkerType can
26175	//    be set.
26176	//
26177	//    * If WorkerType is set, then NumberOfWorkers is required (and vice versa).
26178	//
26179	//    * MaxCapacity and NumberOfWorkers must both be at least 1.
26180	WorkerType *string `type:"string" enum:"WorkerType"`
26181}
26182
26183// String returns the string representation
26184func (s MLTransform) String() string {
26185	return awsutil.Prettify(s)
26186}
26187
26188// GoString returns the string representation
26189func (s MLTransform) GoString() string {
26190	return s.String()
26191}
26192
26193// SetCreatedOn sets the CreatedOn field's value.
26194func (s *MLTransform) SetCreatedOn(v time.Time) *MLTransform {
26195	s.CreatedOn = &v
26196	return s
26197}
26198
26199// SetDescription sets the Description field's value.
26200func (s *MLTransform) SetDescription(v string) *MLTransform {
26201	s.Description = &v
26202	return s
26203}
26204
26205// SetEvaluationMetrics sets the EvaluationMetrics field's value.
26206func (s *MLTransform) SetEvaluationMetrics(v *EvaluationMetrics) *MLTransform {
26207	s.EvaluationMetrics = v
26208	return s
26209}
26210
26211// SetGlueVersion sets the GlueVersion field's value.
26212func (s *MLTransform) SetGlueVersion(v string) *MLTransform {
26213	s.GlueVersion = &v
26214	return s
26215}
26216
26217// SetInputRecordTables sets the InputRecordTables field's value.
26218func (s *MLTransform) SetInputRecordTables(v []*Table) *MLTransform {
26219	s.InputRecordTables = v
26220	return s
26221}
26222
26223// SetLabelCount sets the LabelCount field's value.
26224func (s *MLTransform) SetLabelCount(v int64) *MLTransform {
26225	s.LabelCount = &v
26226	return s
26227}
26228
26229// SetLastModifiedOn sets the LastModifiedOn field's value.
26230func (s *MLTransform) SetLastModifiedOn(v time.Time) *MLTransform {
26231	s.LastModifiedOn = &v
26232	return s
26233}
26234
26235// SetMaxCapacity sets the MaxCapacity field's value.
26236func (s *MLTransform) SetMaxCapacity(v float64) *MLTransform {
26237	s.MaxCapacity = &v
26238	return s
26239}
26240
26241// SetMaxRetries sets the MaxRetries field's value.
26242func (s *MLTransform) SetMaxRetries(v int64) *MLTransform {
26243	s.MaxRetries = &v
26244	return s
26245}
26246
26247// SetName sets the Name field's value.
26248func (s *MLTransform) SetName(v string) *MLTransform {
26249	s.Name = &v
26250	return s
26251}
26252
26253// SetNumberOfWorkers sets the NumberOfWorkers field's value.
26254func (s *MLTransform) SetNumberOfWorkers(v int64) *MLTransform {
26255	s.NumberOfWorkers = &v
26256	return s
26257}
26258
26259// SetParameters sets the Parameters field's value.
26260func (s *MLTransform) SetParameters(v *TransformParameters) *MLTransform {
26261	s.Parameters = v
26262	return s
26263}
26264
26265// SetRole sets the Role field's value.
26266func (s *MLTransform) SetRole(v string) *MLTransform {
26267	s.Role = &v
26268	return s
26269}
26270
26271// SetSchema sets the Schema field's value.
26272func (s *MLTransform) SetSchema(v []*SchemaColumn) *MLTransform {
26273	s.Schema = v
26274	return s
26275}
26276
26277// SetStatus sets the Status field's value.
26278func (s *MLTransform) SetStatus(v string) *MLTransform {
26279	s.Status = &v
26280	return s
26281}
26282
26283// SetTimeout sets the Timeout field's value.
26284func (s *MLTransform) SetTimeout(v int64) *MLTransform {
26285	s.Timeout = &v
26286	return s
26287}
26288
26289// SetTransformId sets the TransformId field's value.
26290func (s *MLTransform) SetTransformId(v string) *MLTransform {
26291	s.TransformId = &v
26292	return s
26293}
26294
26295// SetWorkerType sets the WorkerType field's value.
26296func (s *MLTransform) SetWorkerType(v string) *MLTransform {
26297	s.WorkerType = &v
26298	return s
26299}
26300
26301// Defines a mapping.
26302type MappingEntry struct {
26303	_ struct{} `type:"structure"`
26304
26305	// The source path.
26306	SourcePath *string `type:"string"`
26307
26308	// The name of the source table.
26309	SourceTable *string `type:"string"`
26310
26311	// The source type.
26312	SourceType *string `type:"string"`
26313
26314	// The target path.
26315	TargetPath *string `type:"string"`
26316
26317	// The target table.
26318	TargetTable *string `type:"string"`
26319
26320	// The target type.
26321	TargetType *string `type:"string"`
26322}
26323
26324// String returns the string representation
26325func (s MappingEntry) String() string {
26326	return awsutil.Prettify(s)
26327}
26328
26329// GoString returns the string representation
26330func (s MappingEntry) GoString() string {
26331	return s.String()
26332}
26333
26334// SetSourcePath sets the SourcePath field's value.
26335func (s *MappingEntry) SetSourcePath(v string) *MappingEntry {
26336	s.SourcePath = &v
26337	return s
26338}
26339
26340// SetSourceTable sets the SourceTable field's value.
26341func (s *MappingEntry) SetSourceTable(v string) *MappingEntry {
26342	s.SourceTable = &v
26343	return s
26344}
26345
26346// SetSourceType sets the SourceType field's value.
26347func (s *MappingEntry) SetSourceType(v string) *MappingEntry {
26348	s.SourceType = &v
26349	return s
26350}
26351
26352// SetTargetPath sets the TargetPath field's value.
26353func (s *MappingEntry) SetTargetPath(v string) *MappingEntry {
26354	s.TargetPath = &v
26355	return s
26356}
26357
26358// SetTargetTable sets the TargetTable field's value.
26359func (s *MappingEntry) SetTargetTable(v string) *MappingEntry {
26360	s.TargetTable = &v
26361	return s
26362}
26363
26364// SetTargetType sets the TargetType field's value.
26365func (s *MappingEntry) SetTargetType(v string) *MappingEntry {
26366	s.TargetType = &v
26367	return s
26368}
26369
26370// A node represents an AWS Glue component like Trigger, Job etc. which is part
26371// of a workflow.
26372type Node struct {
26373	_ struct{} `type:"structure"`
26374
26375	// Details of the crawler when the node represents a crawler.
26376	CrawlerDetails *CrawlerNodeDetails `type:"structure"`
26377
26378	// Details of the Job when the node represents a Job.
26379	JobDetails *JobNodeDetails `type:"structure"`
26380
26381	// The name of the AWS Glue component represented by the node.
26382	Name *string `min:"1" type:"string"`
26383
26384	// Details of the Trigger when the node represents a Trigger.
26385	TriggerDetails *TriggerNodeDetails `type:"structure"`
26386
26387	// The type of AWS Glue component represented by the node.
26388	Type *string `type:"string" enum:"NodeType"`
26389
26390	// The unique Id assigned to the node within the workflow.
26391	UniqueId *string `min:"1" type:"string"`
26392}
26393
26394// String returns the string representation
26395func (s Node) String() string {
26396	return awsutil.Prettify(s)
26397}
26398
26399// GoString returns the string representation
26400func (s Node) GoString() string {
26401	return s.String()
26402}
26403
26404// SetCrawlerDetails sets the CrawlerDetails field's value.
26405func (s *Node) SetCrawlerDetails(v *CrawlerNodeDetails) *Node {
26406	s.CrawlerDetails = v
26407	return s
26408}
26409
26410// SetJobDetails sets the JobDetails field's value.
26411func (s *Node) SetJobDetails(v *JobNodeDetails) *Node {
26412	s.JobDetails = v
26413	return s
26414}
26415
26416// SetName sets the Name field's value.
26417func (s *Node) SetName(v string) *Node {
26418	s.Name = &v
26419	return s
26420}
26421
26422// SetTriggerDetails sets the TriggerDetails field's value.
26423func (s *Node) SetTriggerDetails(v *TriggerNodeDetails) *Node {
26424	s.TriggerDetails = v
26425	return s
26426}
26427
26428// SetType sets the Type field's value.
26429func (s *Node) SetType(v string) *Node {
26430	s.Type = &v
26431	return s
26432}
26433
26434// SetUniqueId sets the UniqueId field's value.
26435func (s *Node) SetUniqueId(v string) *Node {
26436	s.UniqueId = &v
26437	return s
26438}
26439
26440// Specifies configuration properties of a notification.
26441type NotificationProperty struct {
26442	_ struct{} `type:"structure"`
26443
26444	// After a job run starts, the number of minutes to wait before sending a job
26445	// run delay notification.
26446	NotifyDelayAfter *int64 `min:"1" type:"integer"`
26447}
26448
26449// String returns the string representation
26450func (s NotificationProperty) String() string {
26451	return awsutil.Prettify(s)
26452}
26453
26454// GoString returns the string representation
26455func (s NotificationProperty) GoString() string {
26456	return s.String()
26457}
26458
26459// Validate inspects the fields of the type to determine if they are valid.
26460func (s *NotificationProperty) Validate() error {
26461	invalidParams := request.ErrInvalidParams{Context: "NotificationProperty"}
26462	if s.NotifyDelayAfter != nil && *s.NotifyDelayAfter < 1 {
26463		invalidParams.Add(request.NewErrParamMinValue("NotifyDelayAfter", 1))
26464	}
26465
26466	if invalidParams.Len() > 0 {
26467		return invalidParams
26468	}
26469	return nil
26470}
26471
26472// SetNotifyDelayAfter sets the NotifyDelayAfter field's value.
26473func (s *NotificationProperty) SetNotifyDelayAfter(v int64) *NotificationProperty {
26474	s.NotifyDelayAfter = &v
26475	return s
26476}
26477
26478// Specifies the sort order of a sorted column.
26479type Order struct {
26480	_ struct{} `type:"structure"`
26481
26482	// The name of the column.
26483	//
26484	// Column is a required field
26485	Column *string `min:"1" type:"string" required:"true"`
26486
26487	// Indicates that the column is sorted in ascending order (== 1), or in descending
26488	// order (==0).
26489	//
26490	// SortOrder is a required field
26491	SortOrder *int64 `type:"integer" required:"true"`
26492}
26493
26494// String returns the string representation
26495func (s Order) String() string {
26496	return awsutil.Prettify(s)
26497}
26498
26499// GoString returns the string representation
26500func (s Order) GoString() string {
26501	return s.String()
26502}
26503
26504// Validate inspects the fields of the type to determine if they are valid.
26505func (s *Order) Validate() error {
26506	invalidParams := request.ErrInvalidParams{Context: "Order"}
26507	if s.Column == nil {
26508		invalidParams.Add(request.NewErrParamRequired("Column"))
26509	}
26510	if s.Column != nil && len(*s.Column) < 1 {
26511		invalidParams.Add(request.NewErrParamMinLen("Column", 1))
26512	}
26513	if s.SortOrder == nil {
26514		invalidParams.Add(request.NewErrParamRequired("SortOrder"))
26515	}
26516
26517	if invalidParams.Len() > 0 {
26518		return invalidParams
26519	}
26520	return nil
26521}
26522
26523// SetColumn sets the Column field's value.
26524func (s *Order) SetColumn(v string) *Order {
26525	s.Column = &v
26526	return s
26527}
26528
26529// SetSortOrder sets the SortOrder field's value.
26530func (s *Order) SetSortOrder(v int64) *Order {
26531	s.SortOrder = &v
26532	return s
26533}
26534
26535// Represents a slice of table data.
26536type Partition struct {
26537	_ struct{} `type:"structure"`
26538
26539	// The time at which the partition was created.
26540	CreationTime *time.Time `type:"timestamp"`
26541
26542	// The name of the catalog database in which to create the partition.
26543	DatabaseName *string `min:"1" type:"string"`
26544
26545	// The last time at which the partition was accessed.
26546	LastAccessTime *time.Time `type:"timestamp"`
26547
26548	// The last time at which column statistics were computed for this partition.
26549	LastAnalyzedTime *time.Time `type:"timestamp"`
26550
26551	// These key-value pairs define partition parameters.
26552	Parameters map[string]*string `type:"map"`
26553
26554	// Provides information about the physical location where the partition is stored.
26555	StorageDescriptor *StorageDescriptor `type:"structure"`
26556
26557	// The name of the database table in which to create the partition.
26558	TableName *string `min:"1" type:"string"`
26559
26560	// The values of the partition.
26561	Values []*string `type:"list"`
26562}
26563
26564// String returns the string representation
26565func (s Partition) String() string {
26566	return awsutil.Prettify(s)
26567}
26568
26569// GoString returns the string representation
26570func (s Partition) GoString() string {
26571	return s.String()
26572}
26573
26574// SetCreationTime sets the CreationTime field's value.
26575func (s *Partition) SetCreationTime(v time.Time) *Partition {
26576	s.CreationTime = &v
26577	return s
26578}
26579
26580// SetDatabaseName sets the DatabaseName field's value.
26581func (s *Partition) SetDatabaseName(v string) *Partition {
26582	s.DatabaseName = &v
26583	return s
26584}
26585
26586// SetLastAccessTime sets the LastAccessTime field's value.
26587func (s *Partition) SetLastAccessTime(v time.Time) *Partition {
26588	s.LastAccessTime = &v
26589	return s
26590}
26591
26592// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
26593func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition {
26594	s.LastAnalyzedTime = &v
26595	return s
26596}
26597
26598// SetParameters sets the Parameters field's value.
26599func (s *Partition) SetParameters(v map[string]*string) *Partition {
26600	s.Parameters = v
26601	return s
26602}
26603
26604// SetStorageDescriptor sets the StorageDescriptor field's value.
26605func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition {
26606	s.StorageDescriptor = v
26607	return s
26608}
26609
26610// SetTableName sets the TableName field's value.
26611func (s *Partition) SetTableName(v string) *Partition {
26612	s.TableName = &v
26613	return s
26614}
26615
26616// SetValues sets the Values field's value.
26617func (s *Partition) SetValues(v []*string) *Partition {
26618	s.Values = v
26619	return s
26620}
26621
26622// Contains information about a partition error.
26623type PartitionError struct {
26624	_ struct{} `type:"structure"`
26625
26626	// The details about the partition error.
26627	ErrorDetail *ErrorDetail `type:"structure"`
26628
26629	// The values that define the partition.
26630	PartitionValues []*string `type:"list"`
26631}
26632
26633// String returns the string representation
26634func (s PartitionError) String() string {
26635	return awsutil.Prettify(s)
26636}
26637
26638// GoString returns the string representation
26639func (s PartitionError) GoString() string {
26640	return s.String()
26641}
26642
26643// SetErrorDetail sets the ErrorDetail field's value.
26644func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError {
26645	s.ErrorDetail = v
26646	return s
26647}
26648
26649// SetPartitionValues sets the PartitionValues field's value.
26650func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError {
26651	s.PartitionValues = v
26652	return s
26653}
26654
26655// The structure used to create and update a partition.
26656type PartitionInput struct {
26657	_ struct{} `type:"structure"`
26658
26659	// The last time at which the partition was accessed.
26660	LastAccessTime *time.Time `type:"timestamp"`
26661
26662	// The last time at which column statistics were computed for this partition.
26663	LastAnalyzedTime *time.Time `type:"timestamp"`
26664
26665	// These key-value pairs define partition parameters.
26666	Parameters map[string]*string `type:"map"`
26667
26668	// Provides information about the physical location where the partition is stored.
26669	StorageDescriptor *StorageDescriptor `type:"structure"`
26670
26671	// The values of the partition. Although this parameter is not required by the
26672	// SDK, you must specify this parameter for a valid input.
26673	//
26674	// The values for the keys for the new partition must be passed as an array
26675	// of String objects that must be ordered in the same order as the partition
26676	// keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values
26677	// to the wrong keys.
26678	Values []*string `type:"list"`
26679}
26680
26681// String returns the string representation
26682func (s PartitionInput) String() string {
26683	return awsutil.Prettify(s)
26684}
26685
26686// GoString returns the string representation
26687func (s PartitionInput) GoString() string {
26688	return s.String()
26689}
26690
26691// Validate inspects the fields of the type to determine if they are valid.
26692func (s *PartitionInput) Validate() error {
26693	invalidParams := request.ErrInvalidParams{Context: "PartitionInput"}
26694	if s.StorageDescriptor != nil {
26695		if err := s.StorageDescriptor.Validate(); err != nil {
26696			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
26697		}
26698	}
26699
26700	if invalidParams.Len() > 0 {
26701		return invalidParams
26702	}
26703	return nil
26704}
26705
26706// SetLastAccessTime sets the LastAccessTime field's value.
26707func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput {
26708	s.LastAccessTime = &v
26709	return s
26710}
26711
26712// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
26713func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput {
26714	s.LastAnalyzedTime = &v
26715	return s
26716}
26717
26718// SetParameters sets the Parameters field's value.
26719func (s *PartitionInput) SetParameters(v map[string]*string) *PartitionInput {
26720	s.Parameters = v
26721	return s
26722}
26723
26724// SetStorageDescriptor sets the StorageDescriptor field's value.
26725func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput {
26726	s.StorageDescriptor = v
26727	return s
26728}
26729
26730// SetValues sets the Values field's value.
26731func (s *PartitionInput) SetValues(v []*string) *PartitionInput {
26732	s.Values = v
26733	return s
26734}
26735
26736// Contains a list of values defining partitions.
26737type PartitionValueList struct {
26738	_ struct{} `type:"structure"`
26739
26740	// The list of values.
26741	//
26742	// Values is a required field
26743	Values []*string `type:"list" required:"true"`
26744}
26745
26746// String returns the string representation
26747func (s PartitionValueList) String() string {
26748	return awsutil.Prettify(s)
26749}
26750
26751// GoString returns the string representation
26752func (s PartitionValueList) GoString() string {
26753	return s.String()
26754}
26755
26756// Validate inspects the fields of the type to determine if they are valid.
26757func (s *PartitionValueList) Validate() error {
26758	invalidParams := request.ErrInvalidParams{Context: "PartitionValueList"}
26759	if s.Values == nil {
26760		invalidParams.Add(request.NewErrParamRequired("Values"))
26761	}
26762
26763	if invalidParams.Len() > 0 {
26764		return invalidParams
26765	}
26766	return nil
26767}
26768
26769// SetValues sets the Values field's value.
26770func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList {
26771	s.Values = v
26772	return s
26773}
26774
26775// Specifies the physical requirements for a connection.
26776type PhysicalConnectionRequirements struct {
26777	_ struct{} `type:"structure"`
26778
26779	// The connection's Availability Zone. This field is redundant because the specified
26780	// subnet implies the Availability Zone to be used. Currently the field must
26781	// be populated, but it will be deprecated in the future.
26782	AvailabilityZone *string `min:"1" type:"string"`
26783
26784	// The security group ID list used by the connection.
26785	SecurityGroupIdList []*string `type:"list"`
26786
26787	// The subnet ID used by the connection.
26788	SubnetId *string `min:"1" type:"string"`
26789}
26790
26791// String returns the string representation
26792func (s PhysicalConnectionRequirements) String() string {
26793	return awsutil.Prettify(s)
26794}
26795
26796// GoString returns the string representation
26797func (s PhysicalConnectionRequirements) GoString() string {
26798	return s.String()
26799}
26800
26801// Validate inspects the fields of the type to determine if they are valid.
26802func (s *PhysicalConnectionRequirements) Validate() error {
26803	invalidParams := request.ErrInvalidParams{Context: "PhysicalConnectionRequirements"}
26804	if s.AvailabilityZone != nil && len(*s.AvailabilityZone) < 1 {
26805		invalidParams.Add(request.NewErrParamMinLen("AvailabilityZone", 1))
26806	}
26807	if s.SubnetId != nil && len(*s.SubnetId) < 1 {
26808		invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
26809	}
26810
26811	if invalidParams.Len() > 0 {
26812		return invalidParams
26813	}
26814	return nil
26815}
26816
26817// SetAvailabilityZone sets the AvailabilityZone field's value.
26818func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements {
26819	s.AvailabilityZone = &v
26820	return s
26821}
26822
26823// SetSecurityGroupIdList sets the SecurityGroupIdList field's value.
26824func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []*string) *PhysicalConnectionRequirements {
26825	s.SecurityGroupIdList = v
26826	return s
26827}
26828
26829// SetSubnetId sets the SubnetId field's value.
26830func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements {
26831	s.SubnetId = &v
26832	return s
26833}
26834
26835// A job run that was used in the predicate of a conditional trigger that triggered
26836// this job run.
26837type Predecessor struct {
26838	_ struct{} `type:"structure"`
26839
26840	// The name of the job definition used by the predecessor job run.
26841	JobName *string `min:"1" type:"string"`
26842
26843	// The job-run ID of the predecessor job run.
26844	RunId *string `min:"1" type:"string"`
26845}
26846
26847// String returns the string representation
26848func (s Predecessor) String() string {
26849	return awsutil.Prettify(s)
26850}
26851
26852// GoString returns the string representation
26853func (s Predecessor) GoString() string {
26854	return s.String()
26855}
26856
26857// SetJobName sets the JobName field's value.
26858func (s *Predecessor) SetJobName(v string) *Predecessor {
26859	s.JobName = &v
26860	return s
26861}
26862
26863// SetRunId sets the RunId field's value.
26864func (s *Predecessor) SetRunId(v string) *Predecessor {
26865	s.RunId = &v
26866	return s
26867}
26868
26869// Defines the predicate of the trigger, which determines when it fires.
26870type Predicate struct {
26871	_ struct{} `type:"structure"`
26872
26873	// A list of the conditions that determine when the trigger will fire.
26874	Conditions []*Condition `type:"list"`
26875
26876	// An optional field if only one condition is listed. If multiple conditions
26877	// are listed, then this field is required.
26878	Logical *string `type:"string" enum:"Logical"`
26879}
26880
26881// String returns the string representation
26882func (s Predicate) String() string {
26883	return awsutil.Prettify(s)
26884}
26885
26886// GoString returns the string representation
26887func (s Predicate) GoString() string {
26888	return s.String()
26889}
26890
26891// Validate inspects the fields of the type to determine if they are valid.
26892func (s *Predicate) Validate() error {
26893	invalidParams := request.ErrInvalidParams{Context: "Predicate"}
26894	if s.Conditions != nil {
26895		for i, v := range s.Conditions {
26896			if v == nil {
26897				continue
26898			}
26899			if err := v.Validate(); err != nil {
26900				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams))
26901			}
26902		}
26903	}
26904
26905	if invalidParams.Len() > 0 {
26906		return invalidParams
26907	}
26908	return nil
26909}
26910
26911// SetConditions sets the Conditions field's value.
26912func (s *Predicate) SetConditions(v []*Condition) *Predicate {
26913	s.Conditions = v
26914	return s
26915}
26916
26917// SetLogical sets the Logical field's value.
26918func (s *Predicate) SetLogical(v string) *Predicate {
26919	s.Logical = &v
26920	return s
26921}
26922
26923// Permissions granted to a principal.
26924type PrincipalPermissions struct {
26925	_ struct{} `type:"structure"`
26926
26927	// The permissions that are granted to the principal.
26928	Permissions []*string `type:"list"`
26929
26930	// The principal who is granted permissions.
26931	Principal *DataLakePrincipal `type:"structure"`
26932}
26933
26934// String returns the string representation
26935func (s PrincipalPermissions) String() string {
26936	return awsutil.Prettify(s)
26937}
26938
26939// GoString returns the string representation
26940func (s PrincipalPermissions) GoString() string {
26941	return s.String()
26942}
26943
26944// Validate inspects the fields of the type to determine if they are valid.
26945func (s *PrincipalPermissions) Validate() error {
26946	invalidParams := request.ErrInvalidParams{Context: "PrincipalPermissions"}
26947	if s.Principal != nil {
26948		if err := s.Principal.Validate(); err != nil {
26949			invalidParams.AddNested("Principal", err.(request.ErrInvalidParams))
26950		}
26951	}
26952
26953	if invalidParams.Len() > 0 {
26954		return invalidParams
26955	}
26956	return nil
26957}
26958
26959// SetPermissions sets the Permissions field's value.
26960func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions {
26961	s.Permissions = v
26962	return s
26963}
26964
26965// SetPrincipal sets the Principal field's value.
26966func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions {
26967	s.Principal = v
26968	return s
26969}
26970
26971// Defines a property predicate.
26972type PropertyPredicate struct {
26973	_ struct{} `type:"structure"`
26974
26975	// The comparator used to compare this property to others.
26976	Comparator *string `type:"string" enum:"Comparator"`
26977
26978	// The key of the property.
26979	Key *string `type:"string"`
26980
26981	// The value of the property.
26982	Value *string `type:"string"`
26983}
26984
26985// String returns the string representation
26986func (s PropertyPredicate) String() string {
26987	return awsutil.Prettify(s)
26988}
26989
26990// GoString returns the string representation
26991func (s PropertyPredicate) GoString() string {
26992	return s.String()
26993}
26994
26995// SetComparator sets the Comparator field's value.
26996func (s *PropertyPredicate) SetComparator(v string) *PropertyPredicate {
26997	s.Comparator = &v
26998	return s
26999}
27000
27001// SetKey sets the Key field's value.
27002func (s *PropertyPredicate) SetKey(v string) *PropertyPredicate {
27003	s.Key = &v
27004	return s
27005}
27006
27007// SetValue sets the Value field's value.
27008func (s *PropertyPredicate) SetValue(v string) *PropertyPredicate {
27009	s.Value = &v
27010	return s
27011}
27012
27013type PutDataCatalogEncryptionSettingsInput struct {
27014	_ struct{} `type:"structure"`
27015
27016	// The ID of the Data Catalog to set the security configuration for. If none
27017	// is provided, the AWS account ID is used by default.
27018	CatalogId *string `min:"1" type:"string"`
27019
27020	// The security configuration to set.
27021	//
27022	// DataCatalogEncryptionSettings is a required field
27023	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure" required:"true"`
27024}
27025
27026// String returns the string representation
27027func (s PutDataCatalogEncryptionSettingsInput) String() string {
27028	return awsutil.Prettify(s)
27029}
27030
27031// GoString returns the string representation
27032func (s PutDataCatalogEncryptionSettingsInput) GoString() string {
27033	return s.String()
27034}
27035
27036// Validate inspects the fields of the type to determine if they are valid.
27037func (s *PutDataCatalogEncryptionSettingsInput) Validate() error {
27038	invalidParams := request.ErrInvalidParams{Context: "PutDataCatalogEncryptionSettingsInput"}
27039	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27040		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27041	}
27042	if s.DataCatalogEncryptionSettings == nil {
27043		invalidParams.Add(request.NewErrParamRequired("DataCatalogEncryptionSettings"))
27044	}
27045	if s.DataCatalogEncryptionSettings != nil {
27046		if err := s.DataCatalogEncryptionSettings.Validate(); err != nil {
27047			invalidParams.AddNested("DataCatalogEncryptionSettings", err.(request.ErrInvalidParams))
27048		}
27049	}
27050
27051	if invalidParams.Len() > 0 {
27052		return invalidParams
27053	}
27054	return nil
27055}
27056
27057// SetCatalogId sets the CatalogId field's value.
27058func (s *PutDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *PutDataCatalogEncryptionSettingsInput {
27059	s.CatalogId = &v
27060	return s
27061}
27062
27063// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
27064func (s *PutDataCatalogEncryptionSettingsInput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *PutDataCatalogEncryptionSettingsInput {
27065	s.DataCatalogEncryptionSettings = v
27066	return s
27067}
27068
27069type PutDataCatalogEncryptionSettingsOutput struct {
27070	_ struct{} `type:"structure"`
27071}
27072
27073// String returns the string representation
27074func (s PutDataCatalogEncryptionSettingsOutput) String() string {
27075	return awsutil.Prettify(s)
27076}
27077
27078// GoString returns the string representation
27079func (s PutDataCatalogEncryptionSettingsOutput) GoString() string {
27080	return s.String()
27081}
27082
27083type PutResourcePolicyInput struct {
27084	_ struct{} `type:"structure"`
27085
27086	// A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is
27087	// used to create a new policy. If a value of NONE or a null value is used,
27088	// the call will not depend on the existence of a policy.
27089	PolicyExistsCondition *string `type:"string" enum:"ExistCondition"`
27090
27091	// The hash value returned when the previous policy was set using PutResourcePolicy.
27092	// Its purpose is to prevent concurrent modifications of a policy. Do not use
27093	// this parameter if no previous policy has been set.
27094	PolicyHashCondition *string `min:"1" type:"string"`
27095
27096	// Contains the policy document to set, in JSON format.
27097	//
27098	// PolicyInJson is a required field
27099	PolicyInJson *string `min:"2" type:"string" required:"true"`
27100}
27101
27102// String returns the string representation
27103func (s PutResourcePolicyInput) String() string {
27104	return awsutil.Prettify(s)
27105}
27106
27107// GoString returns the string representation
27108func (s PutResourcePolicyInput) GoString() string {
27109	return s.String()
27110}
27111
27112// Validate inspects the fields of the type to determine if they are valid.
27113func (s *PutResourcePolicyInput) Validate() error {
27114	invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"}
27115	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
27116		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
27117	}
27118	if s.PolicyInJson == nil {
27119		invalidParams.Add(request.NewErrParamRequired("PolicyInJson"))
27120	}
27121	if s.PolicyInJson != nil && len(*s.PolicyInJson) < 2 {
27122		invalidParams.Add(request.NewErrParamMinLen("PolicyInJson", 2))
27123	}
27124
27125	if invalidParams.Len() > 0 {
27126		return invalidParams
27127	}
27128	return nil
27129}
27130
27131// SetPolicyExistsCondition sets the PolicyExistsCondition field's value.
27132func (s *PutResourcePolicyInput) SetPolicyExistsCondition(v string) *PutResourcePolicyInput {
27133	s.PolicyExistsCondition = &v
27134	return s
27135}
27136
27137// SetPolicyHashCondition sets the PolicyHashCondition field's value.
27138func (s *PutResourcePolicyInput) SetPolicyHashCondition(v string) *PutResourcePolicyInput {
27139	s.PolicyHashCondition = &v
27140	return s
27141}
27142
27143// SetPolicyInJson sets the PolicyInJson field's value.
27144func (s *PutResourcePolicyInput) SetPolicyInJson(v string) *PutResourcePolicyInput {
27145	s.PolicyInJson = &v
27146	return s
27147}
27148
27149type PutResourcePolicyOutput struct {
27150	_ struct{} `type:"structure"`
27151
27152	// A hash of the policy that has just been set. This must be included in a subsequent
27153	// call that overwrites or updates this policy.
27154	PolicyHash *string `min:"1" type:"string"`
27155}
27156
27157// String returns the string representation
27158func (s PutResourcePolicyOutput) String() string {
27159	return awsutil.Prettify(s)
27160}
27161
27162// GoString returns the string representation
27163func (s PutResourcePolicyOutput) GoString() string {
27164	return s.String()
27165}
27166
27167// SetPolicyHash sets the PolicyHash field's value.
27168func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput {
27169	s.PolicyHash = &v
27170	return s
27171}
27172
27173type PutWorkflowRunPropertiesInput struct {
27174	_ struct{} `type:"structure"`
27175
27176	// Name of the workflow which was run.
27177	//
27178	// Name is a required field
27179	Name *string `min:"1" type:"string" required:"true"`
27180
27181	// The ID of the workflow run for which the run properties should be updated.
27182	//
27183	// RunId is a required field
27184	RunId *string `min:"1" type:"string" required:"true"`
27185
27186	// The properties to put for the specified run.
27187	//
27188	// RunProperties is a required field
27189	RunProperties map[string]*string `type:"map" required:"true"`
27190}
27191
27192// String returns the string representation
27193func (s PutWorkflowRunPropertiesInput) String() string {
27194	return awsutil.Prettify(s)
27195}
27196
27197// GoString returns the string representation
27198func (s PutWorkflowRunPropertiesInput) GoString() string {
27199	return s.String()
27200}
27201
27202// Validate inspects the fields of the type to determine if they are valid.
27203func (s *PutWorkflowRunPropertiesInput) Validate() error {
27204	invalidParams := request.ErrInvalidParams{Context: "PutWorkflowRunPropertiesInput"}
27205	if s.Name == nil {
27206		invalidParams.Add(request.NewErrParamRequired("Name"))
27207	}
27208	if s.Name != nil && len(*s.Name) < 1 {
27209		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27210	}
27211	if s.RunId == nil {
27212		invalidParams.Add(request.NewErrParamRequired("RunId"))
27213	}
27214	if s.RunId != nil && len(*s.RunId) < 1 {
27215		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
27216	}
27217	if s.RunProperties == nil {
27218		invalidParams.Add(request.NewErrParamRequired("RunProperties"))
27219	}
27220
27221	if invalidParams.Len() > 0 {
27222		return invalidParams
27223	}
27224	return nil
27225}
27226
27227// SetName sets the Name field's value.
27228func (s *PutWorkflowRunPropertiesInput) SetName(v string) *PutWorkflowRunPropertiesInput {
27229	s.Name = &v
27230	return s
27231}
27232
27233// SetRunId sets the RunId field's value.
27234func (s *PutWorkflowRunPropertiesInput) SetRunId(v string) *PutWorkflowRunPropertiesInput {
27235	s.RunId = &v
27236	return s
27237}
27238
27239// SetRunProperties sets the RunProperties field's value.
27240func (s *PutWorkflowRunPropertiesInput) SetRunProperties(v map[string]*string) *PutWorkflowRunPropertiesInput {
27241	s.RunProperties = v
27242	return s
27243}
27244
27245type PutWorkflowRunPropertiesOutput struct {
27246	_ struct{} `type:"structure"`
27247}
27248
27249// String returns the string representation
27250func (s PutWorkflowRunPropertiesOutput) String() string {
27251	return awsutil.Prettify(s)
27252}
27253
27254// GoString returns the string representation
27255func (s PutWorkflowRunPropertiesOutput) GoString() string {
27256	return s.String()
27257}
27258
27259type ResetJobBookmarkInput struct {
27260	_ struct{} `type:"structure"`
27261
27262	// The name of the job in question.
27263	//
27264	// JobName is a required field
27265	JobName *string `type:"string" required:"true"`
27266
27267	// The unique run identifier associated with this job run.
27268	RunId *string `type:"string"`
27269}
27270
27271// String returns the string representation
27272func (s ResetJobBookmarkInput) String() string {
27273	return awsutil.Prettify(s)
27274}
27275
27276// GoString returns the string representation
27277func (s ResetJobBookmarkInput) GoString() string {
27278	return s.String()
27279}
27280
27281// Validate inspects the fields of the type to determine if they are valid.
27282func (s *ResetJobBookmarkInput) Validate() error {
27283	invalidParams := request.ErrInvalidParams{Context: "ResetJobBookmarkInput"}
27284	if s.JobName == nil {
27285		invalidParams.Add(request.NewErrParamRequired("JobName"))
27286	}
27287
27288	if invalidParams.Len() > 0 {
27289		return invalidParams
27290	}
27291	return nil
27292}
27293
27294// SetJobName sets the JobName field's value.
27295func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput {
27296	s.JobName = &v
27297	return s
27298}
27299
27300// SetRunId sets the RunId field's value.
27301func (s *ResetJobBookmarkInput) SetRunId(v string) *ResetJobBookmarkInput {
27302	s.RunId = &v
27303	return s
27304}
27305
27306type ResetJobBookmarkOutput struct {
27307	_ struct{} `type:"structure"`
27308
27309	// The reset bookmark entry.
27310	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
27311}
27312
27313// String returns the string representation
27314func (s ResetJobBookmarkOutput) String() string {
27315	return awsutil.Prettify(s)
27316}
27317
27318// GoString returns the string representation
27319func (s ResetJobBookmarkOutput) GoString() string {
27320	return s.String()
27321}
27322
27323// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
27324func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput {
27325	s.JobBookmarkEntry = v
27326	return s
27327}
27328
27329// The URIs for function resources.
27330type ResourceUri struct {
27331	_ struct{} `type:"structure"`
27332
27333	// The type of the resource.
27334	ResourceType *string `type:"string" enum:"ResourceType"`
27335
27336	// The URI for accessing the resource.
27337	Uri *string `min:"1" type:"string"`
27338}
27339
27340// String returns the string representation
27341func (s ResourceUri) String() string {
27342	return awsutil.Prettify(s)
27343}
27344
27345// GoString returns the string representation
27346func (s ResourceUri) GoString() string {
27347	return s.String()
27348}
27349
27350// Validate inspects the fields of the type to determine if they are valid.
27351func (s *ResourceUri) Validate() error {
27352	invalidParams := request.ErrInvalidParams{Context: "ResourceUri"}
27353	if s.Uri != nil && len(*s.Uri) < 1 {
27354		invalidParams.Add(request.NewErrParamMinLen("Uri", 1))
27355	}
27356
27357	if invalidParams.Len() > 0 {
27358		return invalidParams
27359	}
27360	return nil
27361}
27362
27363// SetResourceType sets the ResourceType field's value.
27364func (s *ResourceUri) SetResourceType(v string) *ResourceUri {
27365	s.ResourceType = &v
27366	return s
27367}
27368
27369// SetUri sets the Uri field's value.
27370func (s *ResourceUri) SetUri(v string) *ResourceUri {
27371	s.Uri = &v
27372	return s
27373}
27374
27375// Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
27376type S3Encryption struct {
27377	_ struct{} `type:"structure"`
27378
27379	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
27380	KmsKeyArn *string `type:"string"`
27381
27382	// The encryption mode to use for Amazon S3 data.
27383	S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"`
27384}
27385
27386// String returns the string representation
27387func (s S3Encryption) String() string {
27388	return awsutil.Prettify(s)
27389}
27390
27391// GoString returns the string representation
27392func (s S3Encryption) GoString() string {
27393	return s.String()
27394}
27395
27396// SetKmsKeyArn sets the KmsKeyArn field's value.
27397func (s *S3Encryption) SetKmsKeyArn(v string) *S3Encryption {
27398	s.KmsKeyArn = &v
27399	return s
27400}
27401
27402// SetS3EncryptionMode sets the S3EncryptionMode field's value.
27403func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption {
27404	s.S3EncryptionMode = &v
27405	return s
27406}
27407
27408// Specifies a data store in Amazon Simple Storage Service (Amazon S3).
27409type S3Target struct {
27410	_ struct{} `type:"structure"`
27411
27412	// A list of glob patterns used to exclude from the crawl. For more information,
27413	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
27414	Exclusions []*string `type:"list"`
27415
27416	// The path to the Amazon S3 target.
27417	Path *string `type:"string"`
27418}
27419
27420// String returns the string representation
27421func (s S3Target) String() string {
27422	return awsutil.Prettify(s)
27423}
27424
27425// GoString returns the string representation
27426func (s S3Target) GoString() string {
27427	return s.String()
27428}
27429
27430// SetExclusions sets the Exclusions field's value.
27431func (s *S3Target) SetExclusions(v []*string) *S3Target {
27432	s.Exclusions = v
27433	return s
27434}
27435
27436// SetPath sets the Path field's value.
27437func (s *S3Target) SetPath(v string) *S3Target {
27438	s.Path = &v
27439	return s
27440}
27441
27442// A scheduling object using a cron statement to schedule an event.
27443type Schedule struct {
27444	_ struct{} `type:"structure"`
27445
27446	// A cron expression used to specify the schedule. For more information, see
27447	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
27448	// For example, to run something every day at 12:15 UTC, specify cron(15 12
27449	// * * ? *).
27450	ScheduleExpression *string `type:"string"`
27451
27452	// The state of the schedule.
27453	State *string `type:"string" enum:"ScheduleState"`
27454}
27455
27456// String returns the string representation
27457func (s Schedule) String() string {
27458	return awsutil.Prettify(s)
27459}
27460
27461// GoString returns the string representation
27462func (s Schedule) GoString() string {
27463	return s.String()
27464}
27465
27466// SetScheduleExpression sets the ScheduleExpression field's value.
27467func (s *Schedule) SetScheduleExpression(v string) *Schedule {
27468	s.ScheduleExpression = &v
27469	return s
27470}
27471
27472// SetState sets the State field's value.
27473func (s *Schedule) SetState(v string) *Schedule {
27474	s.State = &v
27475	return s
27476}
27477
27478// A policy that specifies update and deletion behaviors for the crawler.
27479type SchemaChangePolicy struct {
27480	_ struct{} `type:"structure"`
27481
27482	// The deletion behavior when the crawler finds a deleted object.
27483	DeleteBehavior *string `type:"string" enum:"DeleteBehavior"`
27484
27485	// The update behavior when the crawler finds a changed schema.
27486	UpdateBehavior *string `type:"string" enum:"UpdateBehavior"`
27487}
27488
27489// String returns the string representation
27490func (s SchemaChangePolicy) String() string {
27491	return awsutil.Prettify(s)
27492}
27493
27494// GoString returns the string representation
27495func (s SchemaChangePolicy) GoString() string {
27496	return s.String()
27497}
27498
27499// SetDeleteBehavior sets the DeleteBehavior field's value.
27500func (s *SchemaChangePolicy) SetDeleteBehavior(v string) *SchemaChangePolicy {
27501	s.DeleteBehavior = &v
27502	return s
27503}
27504
27505// SetUpdateBehavior sets the UpdateBehavior field's value.
27506func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy {
27507	s.UpdateBehavior = &v
27508	return s
27509}
27510
27511// A key-value pair representing a column and data type that this transform
27512// can run against. The Schema parameter of the MLTransform may contain up to
27513// 100 of these structures.
27514type SchemaColumn struct {
27515	_ struct{} `type:"structure"`
27516
27517	// The type of data in the column.
27518	DataType *string `type:"string"`
27519
27520	// The name of the column.
27521	Name *string `min:"1" type:"string"`
27522}
27523
27524// String returns the string representation
27525func (s SchemaColumn) String() string {
27526	return awsutil.Prettify(s)
27527}
27528
27529// GoString returns the string representation
27530func (s SchemaColumn) GoString() string {
27531	return s.String()
27532}
27533
27534// Validate inspects the fields of the type to determine if they are valid.
27535func (s *SchemaColumn) Validate() error {
27536	invalidParams := request.ErrInvalidParams{Context: "SchemaColumn"}
27537	if s.Name != nil && len(*s.Name) < 1 {
27538		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27539	}
27540
27541	if invalidParams.Len() > 0 {
27542		return invalidParams
27543	}
27544	return nil
27545}
27546
27547// SetDataType sets the DataType field's value.
27548func (s *SchemaColumn) SetDataType(v string) *SchemaColumn {
27549	s.DataType = &v
27550	return s
27551}
27552
27553// SetName sets the Name field's value.
27554func (s *SchemaColumn) SetName(v string) *SchemaColumn {
27555	s.Name = &v
27556	return s
27557}
27558
27559type SearchTablesInput struct {
27560	_ struct{} `type:"structure"`
27561
27562	// A unique identifier, consisting of account_id/datalake.
27563	CatalogId *string `min:"1" type:"string"`
27564
27565	// A list of key-value pairs, and a comparator used to filter the search results.
27566	// Returns all entities matching the predicate.
27567	Filters []*PropertyPredicate `type:"list"`
27568
27569	// The maximum number of tables to return in a single response.
27570	MaxResults *int64 `min:"1" type:"integer"`
27571
27572	// A continuation token, included if this is a continuation call.
27573	NextToken *string `type:"string"`
27574
27575	// A string used for a text search.
27576	//
27577	// Specifying a value in quotes filters based on an exact match to the value.
27578	SearchText *string `type:"string"`
27579
27580	// A list of criteria for sorting the results by a field name, in an ascending
27581	// or descending order.
27582	SortCriteria []*SortCriterion `type:"list"`
27583}
27584
27585// String returns the string representation
27586func (s SearchTablesInput) String() string {
27587	return awsutil.Prettify(s)
27588}
27589
27590// GoString returns the string representation
27591func (s SearchTablesInput) GoString() string {
27592	return s.String()
27593}
27594
27595// Validate inspects the fields of the type to determine if they are valid.
27596func (s *SearchTablesInput) Validate() error {
27597	invalidParams := request.ErrInvalidParams{Context: "SearchTablesInput"}
27598	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27599		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27600	}
27601	if s.MaxResults != nil && *s.MaxResults < 1 {
27602		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27603	}
27604
27605	if invalidParams.Len() > 0 {
27606		return invalidParams
27607	}
27608	return nil
27609}
27610
27611// SetCatalogId sets the CatalogId field's value.
27612func (s *SearchTablesInput) SetCatalogId(v string) *SearchTablesInput {
27613	s.CatalogId = &v
27614	return s
27615}
27616
27617// SetFilters sets the Filters field's value.
27618func (s *SearchTablesInput) SetFilters(v []*PropertyPredicate) *SearchTablesInput {
27619	s.Filters = v
27620	return s
27621}
27622
27623// SetMaxResults sets the MaxResults field's value.
27624func (s *SearchTablesInput) SetMaxResults(v int64) *SearchTablesInput {
27625	s.MaxResults = &v
27626	return s
27627}
27628
27629// SetNextToken sets the NextToken field's value.
27630func (s *SearchTablesInput) SetNextToken(v string) *SearchTablesInput {
27631	s.NextToken = &v
27632	return s
27633}
27634
27635// SetSearchText sets the SearchText field's value.
27636func (s *SearchTablesInput) SetSearchText(v string) *SearchTablesInput {
27637	s.SearchText = &v
27638	return s
27639}
27640
27641// SetSortCriteria sets the SortCriteria field's value.
27642func (s *SearchTablesInput) SetSortCriteria(v []*SortCriterion) *SearchTablesInput {
27643	s.SortCriteria = v
27644	return s
27645}
27646
27647type SearchTablesOutput struct {
27648	_ struct{} `type:"structure"`
27649
27650	// A continuation token, present if the current list segment is not the last.
27651	NextToken *string `type:"string"`
27652
27653	// A list of the requested Table objects. The SearchTables response returns
27654	// only the tables that you have access to.
27655	TableList []*TableData `type:"list"`
27656}
27657
27658// String returns the string representation
27659func (s SearchTablesOutput) String() string {
27660	return awsutil.Prettify(s)
27661}
27662
27663// GoString returns the string representation
27664func (s SearchTablesOutput) GoString() string {
27665	return s.String()
27666}
27667
27668// SetNextToken sets the NextToken field's value.
27669func (s *SearchTablesOutput) SetNextToken(v string) *SearchTablesOutput {
27670	s.NextToken = &v
27671	return s
27672}
27673
27674// SetTableList sets the TableList field's value.
27675func (s *SearchTablesOutput) SetTableList(v []*TableData) *SearchTablesOutput {
27676	s.TableList = v
27677	return s
27678}
27679
27680// Specifies a security configuration.
27681type SecurityConfiguration struct {
27682	_ struct{} `type:"structure"`
27683
27684	// The time at which this security configuration was created.
27685	CreatedTimeStamp *time.Time `type:"timestamp"`
27686
27687	// The encryption configuration associated with this security configuration.
27688	EncryptionConfiguration *EncryptionConfiguration `type:"structure"`
27689
27690	// The name of the security configuration.
27691	Name *string `min:"1" type:"string"`
27692}
27693
27694// String returns the string representation
27695func (s SecurityConfiguration) String() string {
27696	return awsutil.Prettify(s)
27697}
27698
27699// GoString returns the string representation
27700func (s SecurityConfiguration) GoString() string {
27701	return s.String()
27702}
27703
27704// SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
27705func (s *SecurityConfiguration) SetCreatedTimeStamp(v time.Time) *SecurityConfiguration {
27706	s.CreatedTimeStamp = &v
27707	return s
27708}
27709
27710// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
27711func (s *SecurityConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *SecurityConfiguration {
27712	s.EncryptionConfiguration = v
27713	return s
27714}
27715
27716// SetName sets the Name field's value.
27717func (s *SecurityConfiguration) SetName(v string) *SecurityConfiguration {
27718	s.Name = &v
27719	return s
27720}
27721
27722// Defines a non-overlapping region of a table's partitions, allowing multiple
27723// requests to be executed in parallel.
27724type Segment struct {
27725	_ struct{} `type:"structure"`
27726
27727	// The zero-based index number of the segment. For example, if the total number
27728	// of segments is 4, SegmentNumber values range from 0 through 3.
27729	//
27730	// SegmentNumber is a required field
27731	SegmentNumber *int64 `type:"integer" required:"true"`
27732
27733	// The total number of segments.
27734	//
27735	// TotalSegments is a required field
27736	TotalSegments *int64 `min:"1" type:"integer" required:"true"`
27737}
27738
27739// String returns the string representation
27740func (s Segment) String() string {
27741	return awsutil.Prettify(s)
27742}
27743
27744// GoString returns the string representation
27745func (s Segment) GoString() string {
27746	return s.String()
27747}
27748
27749// Validate inspects the fields of the type to determine if they are valid.
27750func (s *Segment) Validate() error {
27751	invalidParams := request.ErrInvalidParams{Context: "Segment"}
27752	if s.SegmentNumber == nil {
27753		invalidParams.Add(request.NewErrParamRequired("SegmentNumber"))
27754	}
27755	if s.TotalSegments == nil {
27756		invalidParams.Add(request.NewErrParamRequired("TotalSegments"))
27757	}
27758	if s.TotalSegments != nil && *s.TotalSegments < 1 {
27759		invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1))
27760	}
27761
27762	if invalidParams.Len() > 0 {
27763		return invalidParams
27764	}
27765	return nil
27766}
27767
27768// SetSegmentNumber sets the SegmentNumber field's value.
27769func (s *Segment) SetSegmentNumber(v int64) *Segment {
27770	s.SegmentNumber = &v
27771	return s
27772}
27773
27774// SetTotalSegments sets the TotalSegments field's value.
27775func (s *Segment) SetTotalSegments(v int64) *Segment {
27776	s.TotalSegments = &v
27777	return s
27778}
27779
27780// Information about a serialization/deserialization program (SerDe) that serves
27781// as an extractor and loader.
27782type SerDeInfo struct {
27783	_ struct{} `type:"structure"`
27784
27785	// Name of the SerDe.
27786	Name *string `min:"1" type:"string"`
27787
27788	// These key-value pairs define initialization parameters for the SerDe.
27789	Parameters map[string]*string `type:"map"`
27790
27791	// Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
27792	SerializationLibrary *string `min:"1" type:"string"`
27793}
27794
27795// String returns the string representation
27796func (s SerDeInfo) String() string {
27797	return awsutil.Prettify(s)
27798}
27799
27800// GoString returns the string representation
27801func (s SerDeInfo) GoString() string {
27802	return s.String()
27803}
27804
27805// Validate inspects the fields of the type to determine if they are valid.
27806func (s *SerDeInfo) Validate() error {
27807	invalidParams := request.ErrInvalidParams{Context: "SerDeInfo"}
27808	if s.Name != nil && len(*s.Name) < 1 {
27809		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27810	}
27811	if s.SerializationLibrary != nil && len(*s.SerializationLibrary) < 1 {
27812		invalidParams.Add(request.NewErrParamMinLen("SerializationLibrary", 1))
27813	}
27814
27815	if invalidParams.Len() > 0 {
27816		return invalidParams
27817	}
27818	return nil
27819}
27820
27821// SetName sets the Name field's value.
27822func (s *SerDeInfo) SetName(v string) *SerDeInfo {
27823	s.Name = &v
27824	return s
27825}
27826
27827// SetParameters sets the Parameters field's value.
27828func (s *SerDeInfo) SetParameters(v map[string]*string) *SerDeInfo {
27829	s.Parameters = v
27830	return s
27831}
27832
27833// SetSerializationLibrary sets the SerializationLibrary field's value.
27834func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo {
27835	s.SerializationLibrary = &v
27836	return s
27837}
27838
27839// Specifies skewed values in a table. Skewed values are those that occur with
27840// very high frequency.
27841type SkewedInfo struct {
27842	_ struct{} `type:"structure"`
27843
27844	// A list of names of columns that contain skewed values.
27845	SkewedColumnNames []*string `type:"list"`
27846
27847	// A mapping of skewed values to the columns that contain them.
27848	SkewedColumnValueLocationMaps map[string]*string `type:"map"`
27849
27850	// A list of values that appear so frequently as to be considered skewed.
27851	SkewedColumnValues []*string `type:"list"`
27852}
27853
27854// String returns the string representation
27855func (s SkewedInfo) String() string {
27856	return awsutil.Prettify(s)
27857}
27858
27859// GoString returns the string representation
27860func (s SkewedInfo) GoString() string {
27861	return s.String()
27862}
27863
27864// SetSkewedColumnNames sets the SkewedColumnNames field's value.
27865func (s *SkewedInfo) SetSkewedColumnNames(v []*string) *SkewedInfo {
27866	s.SkewedColumnNames = v
27867	return s
27868}
27869
27870// SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value.
27871func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]*string) *SkewedInfo {
27872	s.SkewedColumnValueLocationMaps = v
27873	return s
27874}
27875
27876// SetSkewedColumnValues sets the SkewedColumnValues field's value.
27877func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo {
27878	s.SkewedColumnValues = v
27879	return s
27880}
27881
27882// Specifies a field to sort by and a sort order.
27883type SortCriterion struct {
27884	_ struct{} `type:"structure"`
27885
27886	// The name of the field on which to sort.
27887	FieldName *string `type:"string"`
27888
27889	// An ascending or descending sort.
27890	Sort *string `type:"string" enum:"Sort"`
27891}
27892
27893// String returns the string representation
27894func (s SortCriterion) String() string {
27895	return awsutil.Prettify(s)
27896}
27897
27898// GoString returns the string representation
27899func (s SortCriterion) GoString() string {
27900	return s.String()
27901}
27902
27903// SetFieldName sets the FieldName field's value.
27904func (s *SortCriterion) SetFieldName(v string) *SortCriterion {
27905	s.FieldName = &v
27906	return s
27907}
27908
27909// SetSort sets the Sort field's value.
27910func (s *SortCriterion) SetSort(v string) *SortCriterion {
27911	s.Sort = &v
27912	return s
27913}
27914
27915type StartCrawlerInput struct {
27916	_ struct{} `type:"structure"`
27917
27918	// Name of the crawler to start.
27919	//
27920	// Name is a required field
27921	Name *string `min:"1" type:"string" required:"true"`
27922}
27923
27924// String returns the string representation
27925func (s StartCrawlerInput) String() string {
27926	return awsutil.Prettify(s)
27927}
27928
27929// GoString returns the string representation
27930func (s StartCrawlerInput) GoString() string {
27931	return s.String()
27932}
27933
27934// Validate inspects the fields of the type to determine if they are valid.
27935func (s *StartCrawlerInput) Validate() error {
27936	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerInput"}
27937	if s.Name == nil {
27938		invalidParams.Add(request.NewErrParamRequired("Name"))
27939	}
27940	if s.Name != nil && len(*s.Name) < 1 {
27941		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27942	}
27943
27944	if invalidParams.Len() > 0 {
27945		return invalidParams
27946	}
27947	return nil
27948}
27949
27950// SetName sets the Name field's value.
27951func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput {
27952	s.Name = &v
27953	return s
27954}
27955
27956type StartCrawlerOutput struct {
27957	_ struct{} `type:"structure"`
27958}
27959
27960// String returns the string representation
27961func (s StartCrawlerOutput) String() string {
27962	return awsutil.Prettify(s)
27963}
27964
27965// GoString returns the string representation
27966func (s StartCrawlerOutput) GoString() string {
27967	return s.String()
27968}
27969
27970type StartCrawlerScheduleInput struct {
27971	_ struct{} `type:"structure"`
27972
27973	// Name of the crawler to schedule.
27974	//
27975	// CrawlerName is a required field
27976	CrawlerName *string `min:"1" type:"string" required:"true"`
27977}
27978
27979// String returns the string representation
27980func (s StartCrawlerScheduleInput) String() string {
27981	return awsutil.Prettify(s)
27982}
27983
27984// GoString returns the string representation
27985func (s StartCrawlerScheduleInput) GoString() string {
27986	return s.String()
27987}
27988
27989// Validate inspects the fields of the type to determine if they are valid.
27990func (s *StartCrawlerScheduleInput) Validate() error {
27991	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerScheduleInput"}
27992	if s.CrawlerName == nil {
27993		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
27994	}
27995	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
27996		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
27997	}
27998
27999	if invalidParams.Len() > 0 {
28000		return invalidParams
28001	}
28002	return nil
28003}
28004
28005// SetCrawlerName sets the CrawlerName field's value.
28006func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput {
28007	s.CrawlerName = &v
28008	return s
28009}
28010
28011type StartCrawlerScheduleOutput struct {
28012	_ struct{} `type:"structure"`
28013}
28014
28015// String returns the string representation
28016func (s StartCrawlerScheduleOutput) String() string {
28017	return awsutil.Prettify(s)
28018}
28019
28020// GoString returns the string representation
28021func (s StartCrawlerScheduleOutput) GoString() string {
28022	return s.String()
28023}
28024
28025type StartExportLabelsTaskRunInput struct {
28026	_ struct{} `type:"structure"`
28027
28028	// The Amazon S3 path where you export the labels.
28029	//
28030	// OutputS3Path is a required field
28031	OutputS3Path *string `type:"string" required:"true"`
28032
28033	// The unique identifier of the machine learning transform.
28034	//
28035	// TransformId is a required field
28036	TransformId *string `min:"1" type:"string" required:"true"`
28037}
28038
28039// String returns the string representation
28040func (s StartExportLabelsTaskRunInput) String() string {
28041	return awsutil.Prettify(s)
28042}
28043
28044// GoString returns the string representation
28045func (s StartExportLabelsTaskRunInput) GoString() string {
28046	return s.String()
28047}
28048
28049// Validate inspects the fields of the type to determine if they are valid.
28050func (s *StartExportLabelsTaskRunInput) Validate() error {
28051	invalidParams := request.ErrInvalidParams{Context: "StartExportLabelsTaskRunInput"}
28052	if s.OutputS3Path == nil {
28053		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
28054	}
28055	if s.TransformId == nil {
28056		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28057	}
28058	if s.TransformId != nil && len(*s.TransformId) < 1 {
28059		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28060	}
28061
28062	if invalidParams.Len() > 0 {
28063		return invalidParams
28064	}
28065	return nil
28066}
28067
28068// SetOutputS3Path sets the OutputS3Path field's value.
28069func (s *StartExportLabelsTaskRunInput) SetOutputS3Path(v string) *StartExportLabelsTaskRunInput {
28070	s.OutputS3Path = &v
28071	return s
28072}
28073
28074// SetTransformId sets the TransformId field's value.
28075func (s *StartExportLabelsTaskRunInput) SetTransformId(v string) *StartExportLabelsTaskRunInput {
28076	s.TransformId = &v
28077	return s
28078}
28079
28080type StartExportLabelsTaskRunOutput struct {
28081	_ struct{} `type:"structure"`
28082
28083	// The unique identifier for the task run.
28084	TaskRunId *string `min:"1" type:"string"`
28085}
28086
28087// String returns the string representation
28088func (s StartExportLabelsTaskRunOutput) String() string {
28089	return awsutil.Prettify(s)
28090}
28091
28092// GoString returns the string representation
28093func (s StartExportLabelsTaskRunOutput) GoString() string {
28094	return s.String()
28095}
28096
28097// SetTaskRunId sets the TaskRunId field's value.
28098func (s *StartExportLabelsTaskRunOutput) SetTaskRunId(v string) *StartExportLabelsTaskRunOutput {
28099	s.TaskRunId = &v
28100	return s
28101}
28102
28103type StartImportLabelsTaskRunInput struct {
28104	_ struct{} `type:"structure"`
28105
28106	// The Amazon Simple Storage Service (Amazon S3) path from where you import
28107	// the labels.
28108	//
28109	// InputS3Path is a required field
28110	InputS3Path *string `type:"string" required:"true"`
28111
28112	// Indicates whether to overwrite your existing labels.
28113	ReplaceAllLabels *bool `type:"boolean"`
28114
28115	// The unique identifier of the machine learning transform.
28116	//
28117	// TransformId is a required field
28118	TransformId *string `min:"1" type:"string" required:"true"`
28119}
28120
28121// String returns the string representation
28122func (s StartImportLabelsTaskRunInput) String() string {
28123	return awsutil.Prettify(s)
28124}
28125
28126// GoString returns the string representation
28127func (s StartImportLabelsTaskRunInput) GoString() string {
28128	return s.String()
28129}
28130
28131// Validate inspects the fields of the type to determine if they are valid.
28132func (s *StartImportLabelsTaskRunInput) Validate() error {
28133	invalidParams := request.ErrInvalidParams{Context: "StartImportLabelsTaskRunInput"}
28134	if s.InputS3Path == nil {
28135		invalidParams.Add(request.NewErrParamRequired("InputS3Path"))
28136	}
28137	if s.TransformId == nil {
28138		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28139	}
28140	if s.TransformId != nil && len(*s.TransformId) < 1 {
28141		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28142	}
28143
28144	if invalidParams.Len() > 0 {
28145		return invalidParams
28146	}
28147	return nil
28148}
28149
28150// SetInputS3Path sets the InputS3Path field's value.
28151func (s *StartImportLabelsTaskRunInput) SetInputS3Path(v string) *StartImportLabelsTaskRunInput {
28152	s.InputS3Path = &v
28153	return s
28154}
28155
28156// SetReplaceAllLabels sets the ReplaceAllLabels field's value.
28157func (s *StartImportLabelsTaskRunInput) SetReplaceAllLabels(v bool) *StartImportLabelsTaskRunInput {
28158	s.ReplaceAllLabels = &v
28159	return s
28160}
28161
28162// SetTransformId sets the TransformId field's value.
28163func (s *StartImportLabelsTaskRunInput) SetTransformId(v string) *StartImportLabelsTaskRunInput {
28164	s.TransformId = &v
28165	return s
28166}
28167
28168type StartImportLabelsTaskRunOutput struct {
28169	_ struct{} `type:"structure"`
28170
28171	// The unique identifier for the task run.
28172	TaskRunId *string `min:"1" type:"string"`
28173}
28174
28175// String returns the string representation
28176func (s StartImportLabelsTaskRunOutput) String() string {
28177	return awsutil.Prettify(s)
28178}
28179
28180// GoString returns the string representation
28181func (s StartImportLabelsTaskRunOutput) GoString() string {
28182	return s.String()
28183}
28184
28185// SetTaskRunId sets the TaskRunId field's value.
28186func (s *StartImportLabelsTaskRunOutput) SetTaskRunId(v string) *StartImportLabelsTaskRunOutput {
28187	s.TaskRunId = &v
28188	return s
28189}
28190
28191type StartJobRunInput struct {
28192	_ struct{} `type:"structure"`
28193
28194	// This field is deprecated. Use MaxCapacity instead.
28195	//
28196	// The number of AWS Glue data processing units (DPUs) to allocate to this JobRun.
28197	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
28198	// measure of processing power that consists of 4 vCPUs of compute capacity
28199	// and 16 GB of memory. For more information, see the AWS Glue pricing page
28200	// (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
28201	//
28202	// Deprecated: This property is deprecated, use MaxCapacity instead.
28203	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
28204
28205	// The job arguments specifically for this run. For this job run, they replace
28206	// the default arguments set in the job definition itself.
28207	//
28208	// You can specify arguments here that your own job-execution script consumes,
28209	// as well as arguments that AWS Glue itself consumes.
28210	//
28211	// For information about how to specify and consume your own Job arguments,
28212	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
28213	// topic in the developer guide.
28214	//
28215	// For information about the key-value pairs that AWS Glue consumes to set up
28216	// 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)
28217	// topic in the developer guide.
28218	Arguments map[string]*string `type:"map"`
28219
28220	// The name of the job definition to use.
28221	//
28222	// JobName is a required field
28223	JobName *string `min:"1" type:"string" required:"true"`
28224
28225	// The ID of a previous JobRun to retry.
28226	JobRunId *string `min:"1" type:"string"`
28227
28228	// The number of AWS Glue data processing units (DPUs) that can be allocated
28229	// when this job runs. A DPU is a relative measure of processing power that
28230	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
28231	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
28232	//
28233	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
28234	//
28235	// The value that can be allocated for MaxCapacity depends on whether you are
28236	// running a Python shell job, or an Apache Spark ETL job:
28237	//
28238	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
28239	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
28240	//
28241	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
28242	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
28243	//    type cannot have a fractional DPU allocation.
28244	MaxCapacity *float64 `type:"double"`
28245
28246	// Specifies configuration properties of a job run notification.
28247	NotificationProperty *NotificationProperty `type:"structure"`
28248
28249	// The number of workers of a defined workerType that are allocated when a job
28250	// runs.
28251	//
28252	// The maximum number of workers you can define are 299 for G.1X, and 149 for
28253	// G.2X.
28254	NumberOfWorkers *int64 `type:"integer"`
28255
28256	// The name of the SecurityConfiguration structure to be used with this job
28257	// run.
28258	SecurityConfiguration *string `min:"1" type:"string"`
28259
28260	// The JobRun timeout in minutes. This is the maximum time that a job run can
28261	// consume resources before it is terminated and enters TIMEOUT status. The
28262	// default is 2,880 minutes (48 hours). This overrides the timeout value set
28263	// in the parent job.
28264	Timeout *int64 `min:"1" type:"integer"`
28265
28266	// The type of predefined worker that is allocated when a job runs. Accepts
28267	// a value of Standard, G.1X, or G.2X.
28268	//
28269	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
28270	//    memory and a 50GB disk, and 2 executors per worker.
28271	//
28272	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
28273	//    and a 64GB disk, and 1 executor per worker.
28274	//
28275	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
28276	//    and a 128GB disk, and 1 executor per worker.
28277	WorkerType *string `type:"string" enum:"WorkerType"`
28278}
28279
28280// String returns the string representation
28281func (s StartJobRunInput) String() string {
28282	return awsutil.Prettify(s)
28283}
28284
28285// GoString returns the string representation
28286func (s StartJobRunInput) GoString() string {
28287	return s.String()
28288}
28289
28290// Validate inspects the fields of the type to determine if they are valid.
28291func (s *StartJobRunInput) Validate() error {
28292	invalidParams := request.ErrInvalidParams{Context: "StartJobRunInput"}
28293	if s.JobName == nil {
28294		invalidParams.Add(request.NewErrParamRequired("JobName"))
28295	}
28296	if s.JobName != nil && len(*s.JobName) < 1 {
28297		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
28298	}
28299	if s.JobRunId != nil && len(*s.JobRunId) < 1 {
28300		invalidParams.Add(request.NewErrParamMinLen("JobRunId", 1))
28301	}
28302	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
28303		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
28304	}
28305	if s.Timeout != nil && *s.Timeout < 1 {
28306		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
28307	}
28308	if s.NotificationProperty != nil {
28309		if err := s.NotificationProperty.Validate(); err != nil {
28310			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
28311		}
28312	}
28313
28314	if invalidParams.Len() > 0 {
28315		return invalidParams
28316	}
28317	return nil
28318}
28319
28320// SetAllocatedCapacity sets the AllocatedCapacity field's value.
28321func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput {
28322	s.AllocatedCapacity = &v
28323	return s
28324}
28325
28326// SetArguments sets the Arguments field's value.
28327func (s *StartJobRunInput) SetArguments(v map[string]*string) *StartJobRunInput {
28328	s.Arguments = v
28329	return s
28330}
28331
28332// SetJobName sets the JobName field's value.
28333func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput {
28334	s.JobName = &v
28335	return s
28336}
28337
28338// SetJobRunId sets the JobRunId field's value.
28339func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput {
28340	s.JobRunId = &v
28341	return s
28342}
28343
28344// SetMaxCapacity sets the MaxCapacity field's value.
28345func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput {
28346	s.MaxCapacity = &v
28347	return s
28348}
28349
28350// SetNotificationProperty sets the NotificationProperty field's value.
28351func (s *StartJobRunInput) SetNotificationProperty(v *NotificationProperty) *StartJobRunInput {
28352	s.NotificationProperty = v
28353	return s
28354}
28355
28356// SetNumberOfWorkers sets the NumberOfWorkers field's value.
28357func (s *StartJobRunInput) SetNumberOfWorkers(v int64) *StartJobRunInput {
28358	s.NumberOfWorkers = &v
28359	return s
28360}
28361
28362// SetSecurityConfiguration sets the SecurityConfiguration field's value.
28363func (s *StartJobRunInput) SetSecurityConfiguration(v string) *StartJobRunInput {
28364	s.SecurityConfiguration = &v
28365	return s
28366}
28367
28368// SetTimeout sets the Timeout field's value.
28369func (s *StartJobRunInput) SetTimeout(v int64) *StartJobRunInput {
28370	s.Timeout = &v
28371	return s
28372}
28373
28374// SetWorkerType sets the WorkerType field's value.
28375func (s *StartJobRunInput) SetWorkerType(v string) *StartJobRunInput {
28376	s.WorkerType = &v
28377	return s
28378}
28379
28380type StartJobRunOutput struct {
28381	_ struct{} `type:"structure"`
28382
28383	// The ID assigned to this job run.
28384	JobRunId *string `min:"1" type:"string"`
28385}
28386
28387// String returns the string representation
28388func (s StartJobRunOutput) String() string {
28389	return awsutil.Prettify(s)
28390}
28391
28392// GoString returns the string representation
28393func (s StartJobRunOutput) GoString() string {
28394	return s.String()
28395}
28396
28397// SetJobRunId sets the JobRunId field's value.
28398func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput {
28399	s.JobRunId = &v
28400	return s
28401}
28402
28403type StartMLEvaluationTaskRunInput struct {
28404	_ struct{} `type:"structure"`
28405
28406	// The unique identifier of the machine learning transform.
28407	//
28408	// TransformId is a required field
28409	TransformId *string `min:"1" type:"string" required:"true"`
28410}
28411
28412// String returns the string representation
28413func (s StartMLEvaluationTaskRunInput) String() string {
28414	return awsutil.Prettify(s)
28415}
28416
28417// GoString returns the string representation
28418func (s StartMLEvaluationTaskRunInput) GoString() string {
28419	return s.String()
28420}
28421
28422// Validate inspects the fields of the type to determine if they are valid.
28423func (s *StartMLEvaluationTaskRunInput) Validate() error {
28424	invalidParams := request.ErrInvalidParams{Context: "StartMLEvaluationTaskRunInput"}
28425	if s.TransformId == nil {
28426		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28427	}
28428	if s.TransformId != nil && len(*s.TransformId) < 1 {
28429		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28430	}
28431
28432	if invalidParams.Len() > 0 {
28433		return invalidParams
28434	}
28435	return nil
28436}
28437
28438// SetTransformId sets the TransformId field's value.
28439func (s *StartMLEvaluationTaskRunInput) SetTransformId(v string) *StartMLEvaluationTaskRunInput {
28440	s.TransformId = &v
28441	return s
28442}
28443
28444type StartMLEvaluationTaskRunOutput struct {
28445	_ struct{} `type:"structure"`
28446
28447	// The unique identifier associated with this run.
28448	TaskRunId *string `min:"1" type:"string"`
28449}
28450
28451// String returns the string representation
28452func (s StartMLEvaluationTaskRunOutput) String() string {
28453	return awsutil.Prettify(s)
28454}
28455
28456// GoString returns the string representation
28457func (s StartMLEvaluationTaskRunOutput) GoString() string {
28458	return s.String()
28459}
28460
28461// SetTaskRunId sets the TaskRunId field's value.
28462func (s *StartMLEvaluationTaskRunOutput) SetTaskRunId(v string) *StartMLEvaluationTaskRunOutput {
28463	s.TaskRunId = &v
28464	return s
28465}
28466
28467type StartMLLabelingSetGenerationTaskRunInput struct {
28468	_ struct{} `type:"structure"`
28469
28470	// The Amazon Simple Storage Service (Amazon S3) path where you generate the
28471	// labeling set.
28472	//
28473	// OutputS3Path is a required field
28474	OutputS3Path *string `type:"string" required:"true"`
28475
28476	// The unique identifier of the machine learning transform.
28477	//
28478	// TransformId is a required field
28479	TransformId *string `min:"1" type:"string" required:"true"`
28480}
28481
28482// String returns the string representation
28483func (s StartMLLabelingSetGenerationTaskRunInput) String() string {
28484	return awsutil.Prettify(s)
28485}
28486
28487// GoString returns the string representation
28488func (s StartMLLabelingSetGenerationTaskRunInput) GoString() string {
28489	return s.String()
28490}
28491
28492// Validate inspects the fields of the type to determine if they are valid.
28493func (s *StartMLLabelingSetGenerationTaskRunInput) Validate() error {
28494	invalidParams := request.ErrInvalidParams{Context: "StartMLLabelingSetGenerationTaskRunInput"}
28495	if s.OutputS3Path == nil {
28496		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
28497	}
28498	if s.TransformId == nil {
28499		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28500	}
28501	if s.TransformId != nil && len(*s.TransformId) < 1 {
28502		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28503	}
28504
28505	if invalidParams.Len() > 0 {
28506		return invalidParams
28507	}
28508	return nil
28509}
28510
28511// SetOutputS3Path sets the OutputS3Path field's value.
28512func (s *StartMLLabelingSetGenerationTaskRunInput) SetOutputS3Path(v string) *StartMLLabelingSetGenerationTaskRunInput {
28513	s.OutputS3Path = &v
28514	return s
28515}
28516
28517// SetTransformId sets the TransformId field's value.
28518func (s *StartMLLabelingSetGenerationTaskRunInput) SetTransformId(v string) *StartMLLabelingSetGenerationTaskRunInput {
28519	s.TransformId = &v
28520	return s
28521}
28522
28523type StartMLLabelingSetGenerationTaskRunOutput struct {
28524	_ struct{} `type:"structure"`
28525
28526	// The unique run identifier that is associated with this task run.
28527	TaskRunId *string `min:"1" type:"string"`
28528}
28529
28530// String returns the string representation
28531func (s StartMLLabelingSetGenerationTaskRunOutput) String() string {
28532	return awsutil.Prettify(s)
28533}
28534
28535// GoString returns the string representation
28536func (s StartMLLabelingSetGenerationTaskRunOutput) GoString() string {
28537	return s.String()
28538}
28539
28540// SetTaskRunId sets the TaskRunId field's value.
28541func (s *StartMLLabelingSetGenerationTaskRunOutput) SetTaskRunId(v string) *StartMLLabelingSetGenerationTaskRunOutput {
28542	s.TaskRunId = &v
28543	return s
28544}
28545
28546type StartTriggerInput struct {
28547	_ struct{} `type:"structure"`
28548
28549	// The name of the trigger to start.
28550	//
28551	// Name is a required field
28552	Name *string `min:"1" type:"string" required:"true"`
28553}
28554
28555// String returns the string representation
28556func (s StartTriggerInput) String() string {
28557	return awsutil.Prettify(s)
28558}
28559
28560// GoString returns the string representation
28561func (s StartTriggerInput) GoString() string {
28562	return s.String()
28563}
28564
28565// Validate inspects the fields of the type to determine if they are valid.
28566func (s *StartTriggerInput) Validate() error {
28567	invalidParams := request.ErrInvalidParams{Context: "StartTriggerInput"}
28568	if s.Name == nil {
28569		invalidParams.Add(request.NewErrParamRequired("Name"))
28570	}
28571	if s.Name != nil && len(*s.Name) < 1 {
28572		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28573	}
28574
28575	if invalidParams.Len() > 0 {
28576		return invalidParams
28577	}
28578	return nil
28579}
28580
28581// SetName sets the Name field's value.
28582func (s *StartTriggerInput) SetName(v string) *StartTriggerInput {
28583	s.Name = &v
28584	return s
28585}
28586
28587type StartTriggerOutput struct {
28588	_ struct{} `type:"structure"`
28589
28590	// The name of the trigger that was started.
28591	Name *string `min:"1" type:"string"`
28592}
28593
28594// String returns the string representation
28595func (s StartTriggerOutput) String() string {
28596	return awsutil.Prettify(s)
28597}
28598
28599// GoString returns the string representation
28600func (s StartTriggerOutput) GoString() string {
28601	return s.String()
28602}
28603
28604// SetName sets the Name field's value.
28605func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput {
28606	s.Name = &v
28607	return s
28608}
28609
28610type StartWorkflowRunInput struct {
28611	_ struct{} `type:"structure"`
28612
28613	// The name of the workflow to start.
28614	//
28615	// Name is a required field
28616	Name *string `min:"1" type:"string" required:"true"`
28617}
28618
28619// String returns the string representation
28620func (s StartWorkflowRunInput) String() string {
28621	return awsutil.Prettify(s)
28622}
28623
28624// GoString returns the string representation
28625func (s StartWorkflowRunInput) GoString() string {
28626	return s.String()
28627}
28628
28629// Validate inspects the fields of the type to determine if they are valid.
28630func (s *StartWorkflowRunInput) Validate() error {
28631	invalidParams := request.ErrInvalidParams{Context: "StartWorkflowRunInput"}
28632	if s.Name == nil {
28633		invalidParams.Add(request.NewErrParamRequired("Name"))
28634	}
28635	if s.Name != nil && len(*s.Name) < 1 {
28636		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28637	}
28638
28639	if invalidParams.Len() > 0 {
28640		return invalidParams
28641	}
28642	return nil
28643}
28644
28645// SetName sets the Name field's value.
28646func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput {
28647	s.Name = &v
28648	return s
28649}
28650
28651type StartWorkflowRunOutput struct {
28652	_ struct{} `type:"structure"`
28653
28654	// An Id for the new run.
28655	RunId *string `min:"1" type:"string"`
28656}
28657
28658// String returns the string representation
28659func (s StartWorkflowRunOutput) String() string {
28660	return awsutil.Prettify(s)
28661}
28662
28663// GoString returns the string representation
28664func (s StartWorkflowRunOutput) GoString() string {
28665	return s.String()
28666}
28667
28668// SetRunId sets the RunId field's value.
28669func (s *StartWorkflowRunOutput) SetRunId(v string) *StartWorkflowRunOutput {
28670	s.RunId = &v
28671	return s
28672}
28673
28674type StopCrawlerInput struct {
28675	_ struct{} `type:"structure"`
28676
28677	// Name of the crawler to stop.
28678	//
28679	// Name is a required field
28680	Name *string `min:"1" type:"string" required:"true"`
28681}
28682
28683// String returns the string representation
28684func (s StopCrawlerInput) String() string {
28685	return awsutil.Prettify(s)
28686}
28687
28688// GoString returns the string representation
28689func (s StopCrawlerInput) GoString() string {
28690	return s.String()
28691}
28692
28693// Validate inspects the fields of the type to determine if they are valid.
28694func (s *StopCrawlerInput) Validate() error {
28695	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerInput"}
28696	if s.Name == nil {
28697		invalidParams.Add(request.NewErrParamRequired("Name"))
28698	}
28699	if s.Name != nil && len(*s.Name) < 1 {
28700		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28701	}
28702
28703	if invalidParams.Len() > 0 {
28704		return invalidParams
28705	}
28706	return nil
28707}
28708
28709// SetName sets the Name field's value.
28710func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput {
28711	s.Name = &v
28712	return s
28713}
28714
28715type StopCrawlerOutput struct {
28716	_ struct{} `type:"structure"`
28717}
28718
28719// String returns the string representation
28720func (s StopCrawlerOutput) String() string {
28721	return awsutil.Prettify(s)
28722}
28723
28724// GoString returns the string representation
28725func (s StopCrawlerOutput) GoString() string {
28726	return s.String()
28727}
28728
28729type StopCrawlerScheduleInput struct {
28730	_ struct{} `type:"structure"`
28731
28732	// Name of the crawler whose schedule state to set.
28733	//
28734	// CrawlerName is a required field
28735	CrawlerName *string `min:"1" type:"string" required:"true"`
28736}
28737
28738// String returns the string representation
28739func (s StopCrawlerScheduleInput) String() string {
28740	return awsutil.Prettify(s)
28741}
28742
28743// GoString returns the string representation
28744func (s StopCrawlerScheduleInput) GoString() string {
28745	return s.String()
28746}
28747
28748// Validate inspects the fields of the type to determine if they are valid.
28749func (s *StopCrawlerScheduleInput) Validate() error {
28750	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerScheduleInput"}
28751	if s.CrawlerName == nil {
28752		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
28753	}
28754	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
28755		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
28756	}
28757
28758	if invalidParams.Len() > 0 {
28759		return invalidParams
28760	}
28761	return nil
28762}
28763
28764// SetCrawlerName sets the CrawlerName field's value.
28765func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput {
28766	s.CrawlerName = &v
28767	return s
28768}
28769
28770type StopCrawlerScheduleOutput struct {
28771	_ struct{} `type:"structure"`
28772}
28773
28774// String returns the string representation
28775func (s StopCrawlerScheduleOutput) String() string {
28776	return awsutil.Prettify(s)
28777}
28778
28779// GoString returns the string representation
28780func (s StopCrawlerScheduleOutput) GoString() string {
28781	return s.String()
28782}
28783
28784type StopTriggerInput struct {
28785	_ struct{} `type:"structure"`
28786
28787	// The name of the trigger to stop.
28788	//
28789	// Name is a required field
28790	Name *string `min:"1" type:"string" required:"true"`
28791}
28792
28793// String returns the string representation
28794func (s StopTriggerInput) String() string {
28795	return awsutil.Prettify(s)
28796}
28797
28798// GoString returns the string representation
28799func (s StopTriggerInput) GoString() string {
28800	return s.String()
28801}
28802
28803// Validate inspects the fields of the type to determine if they are valid.
28804func (s *StopTriggerInput) Validate() error {
28805	invalidParams := request.ErrInvalidParams{Context: "StopTriggerInput"}
28806	if s.Name == nil {
28807		invalidParams.Add(request.NewErrParamRequired("Name"))
28808	}
28809	if s.Name != nil && len(*s.Name) < 1 {
28810		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28811	}
28812
28813	if invalidParams.Len() > 0 {
28814		return invalidParams
28815	}
28816	return nil
28817}
28818
28819// SetName sets the Name field's value.
28820func (s *StopTriggerInput) SetName(v string) *StopTriggerInput {
28821	s.Name = &v
28822	return s
28823}
28824
28825type StopTriggerOutput struct {
28826	_ struct{} `type:"structure"`
28827
28828	// The name of the trigger that was stopped.
28829	Name *string `min:"1" type:"string"`
28830}
28831
28832// String returns the string representation
28833func (s StopTriggerOutput) String() string {
28834	return awsutil.Prettify(s)
28835}
28836
28837// GoString returns the string representation
28838func (s StopTriggerOutput) GoString() string {
28839	return s.String()
28840}
28841
28842// SetName sets the Name field's value.
28843func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput {
28844	s.Name = &v
28845	return s
28846}
28847
28848// Describes the physical storage of table data.
28849type StorageDescriptor struct {
28850	_ struct{} `type:"structure"`
28851
28852	// A list of reducer grouping columns, clustering columns, and bucketing columns
28853	// in the table.
28854	BucketColumns []*string `type:"list"`
28855
28856	// A list of the Columns in the table.
28857	Columns []*Column `type:"list"`
28858
28859	// True if the data in the table is compressed, or False if not.
28860	Compressed *bool `type:"boolean"`
28861
28862	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or
28863	// a custom format.
28864	InputFormat *string `type:"string"`
28865
28866	// The physical location of the table. By default, this takes the form of the
28867	// warehouse location, followed by the database location in the warehouse, followed
28868	// by the table name.
28869	Location *string `type:"string"`
28870
28871	// Must be specified if the table contains any dimension columns.
28872	NumberOfBuckets *int64 `type:"integer"`
28873
28874	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
28875	// or a custom format.
28876	OutputFormat *string `type:"string"`
28877
28878	// The user-supplied properties in key-value form.
28879	Parameters map[string]*string `type:"map"`
28880
28881	// The serialization/deserialization (SerDe) information.
28882	SerdeInfo *SerDeInfo `type:"structure"`
28883
28884	// The information about values that appear frequently in a column (skewed values).
28885	SkewedInfo *SkewedInfo `type:"structure"`
28886
28887	// A list specifying the sort order of each bucket in the table.
28888	SortColumns []*Order `type:"list"`
28889
28890	// True if the table data is stored in subdirectories, or False if not.
28891	StoredAsSubDirectories *bool `type:"boolean"`
28892}
28893
28894// String returns the string representation
28895func (s StorageDescriptor) String() string {
28896	return awsutil.Prettify(s)
28897}
28898
28899// GoString returns the string representation
28900func (s StorageDescriptor) GoString() string {
28901	return s.String()
28902}
28903
28904// Validate inspects the fields of the type to determine if they are valid.
28905func (s *StorageDescriptor) Validate() error {
28906	invalidParams := request.ErrInvalidParams{Context: "StorageDescriptor"}
28907	if s.Columns != nil {
28908		for i, v := range s.Columns {
28909			if v == nil {
28910				continue
28911			}
28912			if err := v.Validate(); err != nil {
28913				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
28914			}
28915		}
28916	}
28917	if s.SerdeInfo != nil {
28918		if err := s.SerdeInfo.Validate(); err != nil {
28919			invalidParams.AddNested("SerdeInfo", err.(request.ErrInvalidParams))
28920		}
28921	}
28922	if s.SortColumns != nil {
28923		for i, v := range s.SortColumns {
28924			if v == nil {
28925				continue
28926			}
28927			if err := v.Validate(); err != nil {
28928				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortColumns", i), err.(request.ErrInvalidParams))
28929			}
28930		}
28931	}
28932
28933	if invalidParams.Len() > 0 {
28934		return invalidParams
28935	}
28936	return nil
28937}
28938
28939// SetBucketColumns sets the BucketColumns field's value.
28940func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor {
28941	s.BucketColumns = v
28942	return s
28943}
28944
28945// SetColumns sets the Columns field's value.
28946func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor {
28947	s.Columns = v
28948	return s
28949}
28950
28951// SetCompressed sets the Compressed field's value.
28952func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor {
28953	s.Compressed = &v
28954	return s
28955}
28956
28957// SetInputFormat sets the InputFormat field's value.
28958func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor {
28959	s.InputFormat = &v
28960	return s
28961}
28962
28963// SetLocation sets the Location field's value.
28964func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor {
28965	s.Location = &v
28966	return s
28967}
28968
28969// SetNumberOfBuckets sets the NumberOfBuckets field's value.
28970func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor {
28971	s.NumberOfBuckets = &v
28972	return s
28973}
28974
28975// SetOutputFormat sets the OutputFormat field's value.
28976func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor {
28977	s.OutputFormat = &v
28978	return s
28979}
28980
28981// SetParameters sets the Parameters field's value.
28982func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor {
28983	s.Parameters = v
28984	return s
28985}
28986
28987// SetSerdeInfo sets the SerdeInfo field's value.
28988func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor {
28989	s.SerdeInfo = v
28990	return s
28991}
28992
28993// SetSkewedInfo sets the SkewedInfo field's value.
28994func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor {
28995	s.SkewedInfo = v
28996	return s
28997}
28998
28999// SetSortColumns sets the SortColumns field's value.
29000func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor {
29001	s.SortColumns = v
29002	return s
29003}
29004
29005// SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value.
29006func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor {
29007	s.StoredAsSubDirectories = &v
29008	return s
29009}
29010
29011// The database and table in the AWS Glue Data Catalog that is used for input
29012// or output data.
29013type Table struct {
29014	_ struct{} `type:"structure"`
29015
29016	// A unique identifier for the AWS Glue Data Catalog.
29017	CatalogId *string `min:"1" type:"string"`
29018
29019	// The name of the connection to the AWS Glue Data Catalog.
29020	ConnectionName *string `min:"1" type:"string"`
29021
29022	// A database name in the AWS Glue Data Catalog.
29023	//
29024	// DatabaseName is a required field
29025	DatabaseName *string `min:"1" type:"string" required:"true"`
29026
29027	// A table name in the AWS Glue Data Catalog.
29028	//
29029	// TableName is a required field
29030	TableName *string `min:"1" type:"string" required:"true"`
29031}
29032
29033// String returns the string representation
29034func (s Table) String() string {
29035	return awsutil.Prettify(s)
29036}
29037
29038// GoString returns the string representation
29039func (s Table) GoString() string {
29040	return s.String()
29041}
29042
29043// Validate inspects the fields of the type to determine if they are valid.
29044func (s *Table) Validate() error {
29045	invalidParams := request.ErrInvalidParams{Context: "Table"}
29046	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
29047		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
29048	}
29049	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
29050		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
29051	}
29052	if s.DatabaseName == nil {
29053		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
29054	}
29055	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
29056		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
29057	}
29058	if s.TableName == nil {
29059		invalidParams.Add(request.NewErrParamRequired("TableName"))
29060	}
29061	if s.TableName != nil && len(*s.TableName) < 1 {
29062		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
29063	}
29064
29065	if invalidParams.Len() > 0 {
29066		return invalidParams
29067	}
29068	return nil
29069}
29070
29071// SetCatalogId sets the CatalogId field's value.
29072func (s *Table) SetCatalogId(v string) *Table {
29073	s.CatalogId = &v
29074	return s
29075}
29076
29077// SetConnectionName sets the ConnectionName field's value.
29078func (s *Table) SetConnectionName(v string) *Table {
29079	s.ConnectionName = &v
29080	return s
29081}
29082
29083// SetDatabaseName sets the DatabaseName field's value.
29084func (s *Table) SetDatabaseName(v string) *Table {
29085	s.DatabaseName = &v
29086	return s
29087}
29088
29089// SetTableName sets the TableName field's value.
29090func (s *Table) SetTableName(v string) *Table {
29091	s.TableName = &v
29092	return s
29093}
29094
29095// Represents a collection of related data organized in columns and rows.
29096type TableData struct {
29097	_ struct{} `type:"structure"`
29098
29099	// The time when the table definition was created in the Data Catalog.
29100	CreateTime *time.Time `type:"timestamp"`
29101
29102	// The person or entity who created the table.
29103	CreatedBy *string `min:"1" type:"string"`
29104
29105	// The name of the database where the table metadata resides. For Hive compatibility,
29106	// this must be all lowercase.
29107	DatabaseName *string `min:"1" type:"string"`
29108
29109	// A description of the table.
29110	Description *string `type:"string"`
29111
29112	// Indicates whether the table has been registered with AWS Lake Formation.
29113	IsRegisteredWithLakeFormation *bool `type:"boolean"`
29114
29115	// The last time that the table was accessed. This is usually taken from HDFS,
29116	// and might not be reliable.
29117	LastAccessTime *time.Time `type:"timestamp"`
29118
29119	// The last time that column statistics were computed for this table.
29120	LastAnalyzedTime *time.Time `type:"timestamp"`
29121
29122	// The table name. For Hive compatibility, this must be entirely lowercase.
29123	//
29124	// Name is a required field
29125	Name *string `min:"1" type:"string" required:"true"`
29126
29127	// The owner of the table.
29128	Owner *string `min:"1" type:"string"`
29129
29130	// These key-value pairs define properties associated with the table.
29131	Parameters map[string]*string `type:"map"`
29132
29133	// A list of columns by which the table is partitioned. Only primitive types
29134	// are supported as partition keys.
29135	//
29136	// When you create a table used by Amazon Athena, and you do not specify any
29137	// partitionKeys, you must at least set the value of partitionKeys to an empty
29138	// list. For example:
29139	//
29140	// "PartitionKeys": []
29141	PartitionKeys []*Column `type:"list"`
29142
29143	// The retention time for this table.
29144	Retention *int64 `type:"integer"`
29145
29146	// A storage descriptor containing information about the physical storage of
29147	// this table.
29148	StorageDescriptor *StorageDescriptor `type:"structure"`
29149
29150	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
29151	TableType *string `type:"string"`
29152
29153	// The last time that the table was updated.
29154	UpdateTime *time.Time `type:"timestamp"`
29155
29156	// If the table is a view, the expanded text of the view; otherwise null.
29157	ViewExpandedText *string `type:"string"`
29158
29159	// If the table is a view, the original text of the view; otherwise null.
29160	ViewOriginalText *string `type:"string"`
29161}
29162
29163// String returns the string representation
29164func (s TableData) String() string {
29165	return awsutil.Prettify(s)
29166}
29167
29168// GoString returns the string representation
29169func (s TableData) GoString() string {
29170	return s.String()
29171}
29172
29173// SetCreateTime sets the CreateTime field's value.
29174func (s *TableData) SetCreateTime(v time.Time) *TableData {
29175	s.CreateTime = &v
29176	return s
29177}
29178
29179// SetCreatedBy sets the CreatedBy field's value.
29180func (s *TableData) SetCreatedBy(v string) *TableData {
29181	s.CreatedBy = &v
29182	return s
29183}
29184
29185// SetDatabaseName sets the DatabaseName field's value.
29186func (s *TableData) SetDatabaseName(v string) *TableData {
29187	s.DatabaseName = &v
29188	return s
29189}
29190
29191// SetDescription sets the Description field's value.
29192func (s *TableData) SetDescription(v string) *TableData {
29193	s.Description = &v
29194	return s
29195}
29196
29197// SetIsRegisteredWithLakeFormation sets the IsRegisteredWithLakeFormation field's value.
29198func (s *TableData) SetIsRegisteredWithLakeFormation(v bool) *TableData {
29199	s.IsRegisteredWithLakeFormation = &v
29200	return s
29201}
29202
29203// SetLastAccessTime sets the LastAccessTime field's value.
29204func (s *TableData) SetLastAccessTime(v time.Time) *TableData {
29205	s.LastAccessTime = &v
29206	return s
29207}
29208
29209// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
29210func (s *TableData) SetLastAnalyzedTime(v time.Time) *TableData {
29211	s.LastAnalyzedTime = &v
29212	return s
29213}
29214
29215// SetName sets the Name field's value.
29216func (s *TableData) SetName(v string) *TableData {
29217	s.Name = &v
29218	return s
29219}
29220
29221// SetOwner sets the Owner field's value.
29222func (s *TableData) SetOwner(v string) *TableData {
29223	s.Owner = &v
29224	return s
29225}
29226
29227// SetParameters sets the Parameters field's value.
29228func (s *TableData) SetParameters(v map[string]*string) *TableData {
29229	s.Parameters = v
29230	return s
29231}
29232
29233// SetPartitionKeys sets the PartitionKeys field's value.
29234func (s *TableData) SetPartitionKeys(v []*Column) *TableData {
29235	s.PartitionKeys = v
29236	return s
29237}
29238
29239// SetRetention sets the Retention field's value.
29240func (s *TableData) SetRetention(v int64) *TableData {
29241	s.Retention = &v
29242	return s
29243}
29244
29245// SetStorageDescriptor sets the StorageDescriptor field's value.
29246func (s *TableData) SetStorageDescriptor(v *StorageDescriptor) *TableData {
29247	s.StorageDescriptor = v
29248	return s
29249}
29250
29251// SetTableType sets the TableType field's value.
29252func (s *TableData) SetTableType(v string) *TableData {
29253	s.TableType = &v
29254	return s
29255}
29256
29257// SetUpdateTime sets the UpdateTime field's value.
29258func (s *TableData) SetUpdateTime(v time.Time) *TableData {
29259	s.UpdateTime = &v
29260	return s
29261}
29262
29263// SetViewExpandedText sets the ViewExpandedText field's value.
29264func (s *TableData) SetViewExpandedText(v string) *TableData {
29265	s.ViewExpandedText = &v
29266	return s
29267}
29268
29269// SetViewOriginalText sets the ViewOriginalText field's value.
29270func (s *TableData) SetViewOriginalText(v string) *TableData {
29271	s.ViewOriginalText = &v
29272	return s
29273}
29274
29275// An error record for table operations.
29276type TableError struct {
29277	_ struct{} `type:"structure"`
29278
29279	// The details about the error.
29280	ErrorDetail *ErrorDetail `type:"structure"`
29281
29282	// The name of the table. For Hive compatibility, this must be entirely lowercase.
29283	TableName *string `min:"1" type:"string"`
29284}
29285
29286// String returns the string representation
29287func (s TableError) String() string {
29288	return awsutil.Prettify(s)
29289}
29290
29291// GoString returns the string representation
29292func (s TableError) GoString() string {
29293	return s.String()
29294}
29295
29296// SetErrorDetail sets the ErrorDetail field's value.
29297func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError {
29298	s.ErrorDetail = v
29299	return s
29300}
29301
29302// SetTableName sets the TableName field's value.
29303func (s *TableError) SetTableName(v string) *TableError {
29304	s.TableName = &v
29305	return s
29306}
29307
29308// A structure used to define a table.
29309type TableInput struct {
29310	_ struct{} `type:"structure"`
29311
29312	// A description of the table.
29313	Description *string `type:"string"`
29314
29315	// The last time that the table was accessed.
29316	LastAccessTime *time.Time `type:"timestamp"`
29317
29318	// The last time that column statistics were computed for this table.
29319	LastAnalyzedTime *time.Time `type:"timestamp"`
29320
29321	// The table name. For Hive compatibility, this is folded to lowercase when
29322	// it is stored.
29323	//
29324	// Name is a required field
29325	Name *string `min:"1" type:"string" required:"true"`
29326
29327	// The table owner.
29328	Owner *string `min:"1" type:"string"`
29329
29330	// These key-value pairs define properties associated with the table.
29331	Parameters map[string]*string `type:"map"`
29332
29333	// A list of columns by which the table is partitioned. Only primitive types
29334	// are supported as partition keys.
29335	//
29336	// When you create a table used by Amazon Athena, and you do not specify any
29337	// partitionKeys, you must at least set the value of partitionKeys to an empty
29338	// list. For example:
29339	//
29340	// "PartitionKeys": []
29341	PartitionKeys []*Column `type:"list"`
29342
29343	// The retention time for this table.
29344	Retention *int64 `type:"integer"`
29345
29346	// A storage descriptor containing information about the physical storage of
29347	// this table.
29348	StorageDescriptor *StorageDescriptor `type:"structure"`
29349
29350	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
29351	TableType *string `type:"string"`
29352
29353	// If the table is a view, the expanded text of the view; otherwise null.
29354	ViewExpandedText *string `type:"string"`
29355
29356	// If the table is a view, the original text of the view; otherwise null.
29357	ViewOriginalText *string `type:"string"`
29358}
29359
29360// String returns the string representation
29361func (s TableInput) String() string {
29362	return awsutil.Prettify(s)
29363}
29364
29365// GoString returns the string representation
29366func (s TableInput) GoString() string {
29367	return s.String()
29368}
29369
29370// Validate inspects the fields of the type to determine if they are valid.
29371func (s *TableInput) Validate() error {
29372	invalidParams := request.ErrInvalidParams{Context: "TableInput"}
29373	if s.Name == nil {
29374		invalidParams.Add(request.NewErrParamRequired("Name"))
29375	}
29376	if s.Name != nil && len(*s.Name) < 1 {
29377		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29378	}
29379	if s.Owner != nil && len(*s.Owner) < 1 {
29380		invalidParams.Add(request.NewErrParamMinLen("Owner", 1))
29381	}
29382	if s.PartitionKeys != nil {
29383		for i, v := range s.PartitionKeys {
29384			if v == nil {
29385				continue
29386			}
29387			if err := v.Validate(); err != nil {
29388				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionKeys", i), err.(request.ErrInvalidParams))
29389			}
29390		}
29391	}
29392	if s.StorageDescriptor != nil {
29393		if err := s.StorageDescriptor.Validate(); err != nil {
29394			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
29395		}
29396	}
29397
29398	if invalidParams.Len() > 0 {
29399		return invalidParams
29400	}
29401	return nil
29402}
29403
29404// SetDescription sets the Description field's value.
29405func (s *TableInput) SetDescription(v string) *TableInput {
29406	s.Description = &v
29407	return s
29408}
29409
29410// SetLastAccessTime sets the LastAccessTime field's value.
29411func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput {
29412	s.LastAccessTime = &v
29413	return s
29414}
29415
29416// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
29417func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput {
29418	s.LastAnalyzedTime = &v
29419	return s
29420}
29421
29422// SetName sets the Name field's value.
29423func (s *TableInput) SetName(v string) *TableInput {
29424	s.Name = &v
29425	return s
29426}
29427
29428// SetOwner sets the Owner field's value.
29429func (s *TableInput) SetOwner(v string) *TableInput {
29430	s.Owner = &v
29431	return s
29432}
29433
29434// SetParameters sets the Parameters field's value.
29435func (s *TableInput) SetParameters(v map[string]*string) *TableInput {
29436	s.Parameters = v
29437	return s
29438}
29439
29440// SetPartitionKeys sets the PartitionKeys field's value.
29441func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput {
29442	s.PartitionKeys = v
29443	return s
29444}
29445
29446// SetRetention sets the Retention field's value.
29447func (s *TableInput) SetRetention(v int64) *TableInput {
29448	s.Retention = &v
29449	return s
29450}
29451
29452// SetStorageDescriptor sets the StorageDescriptor field's value.
29453func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput {
29454	s.StorageDescriptor = v
29455	return s
29456}
29457
29458// SetTableType sets the TableType field's value.
29459func (s *TableInput) SetTableType(v string) *TableInput {
29460	s.TableType = &v
29461	return s
29462}
29463
29464// SetViewExpandedText sets the ViewExpandedText field's value.
29465func (s *TableInput) SetViewExpandedText(v string) *TableInput {
29466	s.ViewExpandedText = &v
29467	return s
29468}
29469
29470// SetViewOriginalText sets the ViewOriginalText field's value.
29471func (s *TableInput) SetViewOriginalText(v string) *TableInput {
29472	s.ViewOriginalText = &v
29473	return s
29474}
29475
29476// Specifies a version of a table.
29477type TableVersion struct {
29478	_ struct{} `type:"structure"`
29479
29480	// The table in question.
29481	Table *TableData `type:"structure"`
29482
29483	// The ID value that identifies this table version. A VersionId is a string
29484	// representation of an integer. Each version is incremented by 1.
29485	VersionId *string `min:"1" type:"string"`
29486}
29487
29488// String returns the string representation
29489func (s TableVersion) String() string {
29490	return awsutil.Prettify(s)
29491}
29492
29493// GoString returns the string representation
29494func (s TableVersion) GoString() string {
29495	return s.String()
29496}
29497
29498// SetTable sets the Table field's value.
29499func (s *TableVersion) SetTable(v *TableData) *TableVersion {
29500	s.Table = v
29501	return s
29502}
29503
29504// SetVersionId sets the VersionId field's value.
29505func (s *TableVersion) SetVersionId(v string) *TableVersion {
29506	s.VersionId = &v
29507	return s
29508}
29509
29510// An error record for table-version operations.
29511type TableVersionError struct {
29512	_ struct{} `type:"structure"`
29513
29514	// The details about the error.
29515	ErrorDetail *ErrorDetail `type:"structure"`
29516
29517	// The name of the table in question.
29518	TableName *string `min:"1" type:"string"`
29519
29520	// The ID value of the version in question. A VersionID is a string representation
29521	// of an integer. Each version is incremented by 1.
29522	VersionId *string `min:"1" type:"string"`
29523}
29524
29525// String returns the string representation
29526func (s TableVersionError) String() string {
29527	return awsutil.Prettify(s)
29528}
29529
29530// GoString returns the string representation
29531func (s TableVersionError) GoString() string {
29532	return s.String()
29533}
29534
29535// SetErrorDetail sets the ErrorDetail field's value.
29536func (s *TableVersionError) SetErrorDetail(v *ErrorDetail) *TableVersionError {
29537	s.ErrorDetail = v
29538	return s
29539}
29540
29541// SetTableName sets the TableName field's value.
29542func (s *TableVersionError) SetTableName(v string) *TableVersionError {
29543	s.TableName = &v
29544	return s
29545}
29546
29547// SetVersionId sets the VersionId field's value.
29548func (s *TableVersionError) SetVersionId(v string) *TableVersionError {
29549	s.VersionId = &v
29550	return s
29551}
29552
29553type TagResourceInput struct {
29554	_ struct{} `type:"structure"`
29555
29556	// The ARN of the AWS Glue resource to which to add the tags. For more information
29557	// 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).
29558	//
29559	// ResourceArn is a required field
29560	ResourceArn *string `min:"1" type:"string" required:"true"`
29561
29562	// Tags to add to this resource.
29563	//
29564	// TagsToAdd is a required field
29565	TagsToAdd map[string]*string `type:"map" required:"true"`
29566}
29567
29568// String returns the string representation
29569func (s TagResourceInput) String() string {
29570	return awsutil.Prettify(s)
29571}
29572
29573// GoString returns the string representation
29574func (s TagResourceInput) GoString() string {
29575	return s.String()
29576}
29577
29578// Validate inspects the fields of the type to determine if they are valid.
29579func (s *TagResourceInput) Validate() error {
29580	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
29581	if s.ResourceArn == nil {
29582		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
29583	}
29584	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
29585		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
29586	}
29587	if s.TagsToAdd == nil {
29588		invalidParams.Add(request.NewErrParamRequired("TagsToAdd"))
29589	}
29590
29591	if invalidParams.Len() > 0 {
29592		return invalidParams
29593	}
29594	return nil
29595}
29596
29597// SetResourceArn sets the ResourceArn field's value.
29598func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
29599	s.ResourceArn = &v
29600	return s
29601}
29602
29603// SetTagsToAdd sets the TagsToAdd field's value.
29604func (s *TagResourceInput) SetTagsToAdd(v map[string]*string) *TagResourceInput {
29605	s.TagsToAdd = v
29606	return s
29607}
29608
29609type TagResourceOutput struct {
29610	_ struct{} `type:"structure"`
29611}
29612
29613// String returns the string representation
29614func (s TagResourceOutput) String() string {
29615	return awsutil.Prettify(s)
29616}
29617
29618// GoString returns the string representation
29619func (s TagResourceOutput) GoString() string {
29620	return s.String()
29621}
29622
29623// The sampling parameters that are associated with the machine learning transform.
29624type TaskRun struct {
29625	_ struct{} `type:"structure"`
29626
29627	// The last point in time that the requested task run was completed.
29628	CompletedOn *time.Time `type:"timestamp"`
29629
29630	// The list of error strings associated with this task run.
29631	ErrorString *string `type:"string"`
29632
29633	// The amount of time (in seconds) that the task run consumed resources.
29634	ExecutionTime *int64 `type:"integer"`
29635
29636	// The last point in time that the requested task run was updated.
29637	LastModifiedOn *time.Time `type:"timestamp"`
29638
29639	// The names of the log group for secure logging, associated with this task
29640	// run.
29641	LogGroupName *string `type:"string"`
29642
29643	// Specifies configuration properties associated with this task run.
29644	Properties *TaskRunProperties `type:"structure"`
29645
29646	// The date and time that this task run started.
29647	StartedOn *time.Time `type:"timestamp"`
29648
29649	// The current status of the requested task run.
29650	Status *string `type:"string" enum:"TaskStatusType"`
29651
29652	// The unique identifier for this task run.
29653	TaskRunId *string `min:"1" type:"string"`
29654
29655	// The unique identifier for the transform.
29656	TransformId *string `min:"1" type:"string"`
29657}
29658
29659// String returns the string representation
29660func (s TaskRun) String() string {
29661	return awsutil.Prettify(s)
29662}
29663
29664// GoString returns the string representation
29665func (s TaskRun) GoString() string {
29666	return s.String()
29667}
29668
29669// SetCompletedOn sets the CompletedOn field's value.
29670func (s *TaskRun) SetCompletedOn(v time.Time) *TaskRun {
29671	s.CompletedOn = &v
29672	return s
29673}
29674
29675// SetErrorString sets the ErrorString field's value.
29676func (s *TaskRun) SetErrorString(v string) *TaskRun {
29677	s.ErrorString = &v
29678	return s
29679}
29680
29681// SetExecutionTime sets the ExecutionTime field's value.
29682func (s *TaskRun) SetExecutionTime(v int64) *TaskRun {
29683	s.ExecutionTime = &v
29684	return s
29685}
29686
29687// SetLastModifiedOn sets the LastModifiedOn field's value.
29688func (s *TaskRun) SetLastModifiedOn(v time.Time) *TaskRun {
29689	s.LastModifiedOn = &v
29690	return s
29691}
29692
29693// SetLogGroupName sets the LogGroupName field's value.
29694func (s *TaskRun) SetLogGroupName(v string) *TaskRun {
29695	s.LogGroupName = &v
29696	return s
29697}
29698
29699// SetProperties sets the Properties field's value.
29700func (s *TaskRun) SetProperties(v *TaskRunProperties) *TaskRun {
29701	s.Properties = v
29702	return s
29703}
29704
29705// SetStartedOn sets the StartedOn field's value.
29706func (s *TaskRun) SetStartedOn(v time.Time) *TaskRun {
29707	s.StartedOn = &v
29708	return s
29709}
29710
29711// SetStatus sets the Status field's value.
29712func (s *TaskRun) SetStatus(v string) *TaskRun {
29713	s.Status = &v
29714	return s
29715}
29716
29717// SetTaskRunId sets the TaskRunId field's value.
29718func (s *TaskRun) SetTaskRunId(v string) *TaskRun {
29719	s.TaskRunId = &v
29720	return s
29721}
29722
29723// SetTransformId sets the TransformId field's value.
29724func (s *TaskRun) SetTransformId(v string) *TaskRun {
29725	s.TransformId = &v
29726	return s
29727}
29728
29729// The criteria that are used to filter the task runs for the machine learning
29730// transform.
29731type TaskRunFilterCriteria struct {
29732	_ struct{} `type:"structure"`
29733
29734	// Filter on task runs started after this date.
29735	StartedAfter *time.Time `type:"timestamp"`
29736
29737	// Filter on task runs started before this date.
29738	StartedBefore *time.Time `type:"timestamp"`
29739
29740	// The current status of the task run.
29741	Status *string `type:"string" enum:"TaskStatusType"`
29742
29743	// The type of task run.
29744	TaskRunType *string `type:"string" enum:"TaskType"`
29745}
29746
29747// String returns the string representation
29748func (s TaskRunFilterCriteria) String() string {
29749	return awsutil.Prettify(s)
29750}
29751
29752// GoString returns the string representation
29753func (s TaskRunFilterCriteria) GoString() string {
29754	return s.String()
29755}
29756
29757// SetStartedAfter sets the StartedAfter field's value.
29758func (s *TaskRunFilterCriteria) SetStartedAfter(v time.Time) *TaskRunFilterCriteria {
29759	s.StartedAfter = &v
29760	return s
29761}
29762
29763// SetStartedBefore sets the StartedBefore field's value.
29764func (s *TaskRunFilterCriteria) SetStartedBefore(v time.Time) *TaskRunFilterCriteria {
29765	s.StartedBefore = &v
29766	return s
29767}
29768
29769// SetStatus sets the Status field's value.
29770func (s *TaskRunFilterCriteria) SetStatus(v string) *TaskRunFilterCriteria {
29771	s.Status = &v
29772	return s
29773}
29774
29775// SetTaskRunType sets the TaskRunType field's value.
29776func (s *TaskRunFilterCriteria) SetTaskRunType(v string) *TaskRunFilterCriteria {
29777	s.TaskRunType = &v
29778	return s
29779}
29780
29781// The configuration properties for the task run.
29782type TaskRunProperties struct {
29783	_ struct{} `type:"structure"`
29784
29785	// The configuration properties for an exporting labels task run.
29786	ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties `type:"structure"`
29787
29788	// The configuration properties for a find matches task run.
29789	FindMatchesTaskRunProperties *FindMatchesTaskRunProperties `type:"structure"`
29790
29791	// The configuration properties for an importing labels task run.
29792	ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties `type:"structure"`
29793
29794	// The configuration properties for a labeling set generation task run.
29795	LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties `type:"structure"`
29796
29797	// The type of task run.
29798	TaskType *string `type:"string" enum:"TaskType"`
29799}
29800
29801// String returns the string representation
29802func (s TaskRunProperties) String() string {
29803	return awsutil.Prettify(s)
29804}
29805
29806// GoString returns the string representation
29807func (s TaskRunProperties) GoString() string {
29808	return s.String()
29809}
29810
29811// SetExportLabelsTaskRunProperties sets the ExportLabelsTaskRunProperties field's value.
29812func (s *TaskRunProperties) SetExportLabelsTaskRunProperties(v *ExportLabelsTaskRunProperties) *TaskRunProperties {
29813	s.ExportLabelsTaskRunProperties = v
29814	return s
29815}
29816
29817// SetFindMatchesTaskRunProperties sets the FindMatchesTaskRunProperties field's value.
29818func (s *TaskRunProperties) SetFindMatchesTaskRunProperties(v *FindMatchesTaskRunProperties) *TaskRunProperties {
29819	s.FindMatchesTaskRunProperties = v
29820	return s
29821}
29822
29823// SetImportLabelsTaskRunProperties sets the ImportLabelsTaskRunProperties field's value.
29824func (s *TaskRunProperties) SetImportLabelsTaskRunProperties(v *ImportLabelsTaskRunProperties) *TaskRunProperties {
29825	s.ImportLabelsTaskRunProperties = v
29826	return s
29827}
29828
29829// SetLabelingSetGenerationTaskRunProperties sets the LabelingSetGenerationTaskRunProperties field's value.
29830func (s *TaskRunProperties) SetLabelingSetGenerationTaskRunProperties(v *LabelingSetGenerationTaskRunProperties) *TaskRunProperties {
29831	s.LabelingSetGenerationTaskRunProperties = v
29832	return s
29833}
29834
29835// SetTaskType sets the TaskType field's value.
29836func (s *TaskRunProperties) SetTaskType(v string) *TaskRunProperties {
29837	s.TaskType = &v
29838	return s
29839}
29840
29841// The sorting criteria that are used to sort the list of task runs for the
29842// machine learning transform.
29843type TaskRunSortCriteria struct {
29844	_ struct{} `type:"structure"`
29845
29846	// The column to be used to sort the list of task runs for the machine learning
29847	// transform.
29848	//
29849	// Column is a required field
29850	Column *string `type:"string" required:"true" enum:"TaskRunSortColumnType"`
29851
29852	// The sort direction to be used to sort the list of task runs for the machine
29853	// learning transform.
29854	//
29855	// SortDirection is a required field
29856	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
29857}
29858
29859// String returns the string representation
29860func (s TaskRunSortCriteria) String() string {
29861	return awsutil.Prettify(s)
29862}
29863
29864// GoString returns the string representation
29865func (s TaskRunSortCriteria) GoString() string {
29866	return s.String()
29867}
29868
29869// Validate inspects the fields of the type to determine if they are valid.
29870func (s *TaskRunSortCriteria) Validate() error {
29871	invalidParams := request.ErrInvalidParams{Context: "TaskRunSortCriteria"}
29872	if s.Column == nil {
29873		invalidParams.Add(request.NewErrParamRequired("Column"))
29874	}
29875	if s.SortDirection == nil {
29876		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
29877	}
29878
29879	if invalidParams.Len() > 0 {
29880		return invalidParams
29881	}
29882	return nil
29883}
29884
29885// SetColumn sets the Column field's value.
29886func (s *TaskRunSortCriteria) SetColumn(v string) *TaskRunSortCriteria {
29887	s.Column = &v
29888	return s
29889}
29890
29891// SetSortDirection sets the SortDirection field's value.
29892func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria {
29893	s.SortDirection = &v
29894	return s
29895}
29896
29897// The criteria used to filter the machine learning transforms.
29898type TransformFilterCriteria struct {
29899	_ struct{} `type:"structure"`
29900
29901	// The time and date after which the transforms were created.
29902	CreatedAfter *time.Time `type:"timestamp"`
29903
29904	// The time and date before which the transforms were created.
29905	CreatedBefore *time.Time `type:"timestamp"`
29906
29907	// This value determines which version of AWS Glue this machine learning transform
29908	// is compatible with. Glue 1.0 is recommended for most customers. If the value
29909	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
29910	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
29911	// in the developer guide.
29912	GlueVersion *string `min:"1" type:"string"`
29913
29914	// Filter on transforms last modified after this date.
29915	LastModifiedAfter *time.Time `type:"timestamp"`
29916
29917	// Filter on transforms last modified before this date.
29918	LastModifiedBefore *time.Time `type:"timestamp"`
29919
29920	// A unique transform name that is used to filter the machine learning transforms.
29921	Name *string `min:"1" type:"string"`
29922
29923	// Filters on datasets with a specific schema. The Map<Column, Type> object
29924	// is an array of key-value pairs representing the schema this transform accepts,
29925	// where Column is the name of a column, and Type is the type of the data such
29926	// as an integer or string. Has an upper bound of 100 columns.
29927	Schema []*SchemaColumn `type:"list"`
29928
29929	// Filters the list of machine learning transforms by the last known status
29930	// of the transforms (to indicate whether a transform can be used or not). One
29931	// of "NOT_READY", "READY", or "DELETING".
29932	Status *string `type:"string" enum:"TransformStatusType"`
29933
29934	// The type of machine learning transform that is used to filter the machine
29935	// learning transforms.
29936	TransformType *string `type:"string" enum:"TransformType"`
29937}
29938
29939// String returns the string representation
29940func (s TransformFilterCriteria) String() string {
29941	return awsutil.Prettify(s)
29942}
29943
29944// GoString returns the string representation
29945func (s TransformFilterCriteria) GoString() string {
29946	return s.String()
29947}
29948
29949// Validate inspects the fields of the type to determine if they are valid.
29950func (s *TransformFilterCriteria) Validate() error {
29951	invalidParams := request.ErrInvalidParams{Context: "TransformFilterCriteria"}
29952	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
29953		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
29954	}
29955	if s.Name != nil && len(*s.Name) < 1 {
29956		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29957	}
29958	if s.Schema != nil {
29959		for i, v := range s.Schema {
29960			if v == nil {
29961				continue
29962			}
29963			if err := v.Validate(); err != nil {
29964				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams))
29965			}
29966		}
29967	}
29968
29969	if invalidParams.Len() > 0 {
29970		return invalidParams
29971	}
29972	return nil
29973}
29974
29975// SetCreatedAfter sets the CreatedAfter field's value.
29976func (s *TransformFilterCriteria) SetCreatedAfter(v time.Time) *TransformFilterCriteria {
29977	s.CreatedAfter = &v
29978	return s
29979}
29980
29981// SetCreatedBefore sets the CreatedBefore field's value.
29982func (s *TransformFilterCriteria) SetCreatedBefore(v time.Time) *TransformFilterCriteria {
29983	s.CreatedBefore = &v
29984	return s
29985}
29986
29987// SetGlueVersion sets the GlueVersion field's value.
29988func (s *TransformFilterCriteria) SetGlueVersion(v string) *TransformFilterCriteria {
29989	s.GlueVersion = &v
29990	return s
29991}
29992
29993// SetLastModifiedAfter sets the LastModifiedAfter field's value.
29994func (s *TransformFilterCriteria) SetLastModifiedAfter(v time.Time) *TransformFilterCriteria {
29995	s.LastModifiedAfter = &v
29996	return s
29997}
29998
29999// SetLastModifiedBefore sets the LastModifiedBefore field's value.
30000func (s *TransformFilterCriteria) SetLastModifiedBefore(v time.Time) *TransformFilterCriteria {
30001	s.LastModifiedBefore = &v
30002	return s
30003}
30004
30005// SetName sets the Name field's value.
30006func (s *TransformFilterCriteria) SetName(v string) *TransformFilterCriteria {
30007	s.Name = &v
30008	return s
30009}
30010
30011// SetSchema sets the Schema field's value.
30012func (s *TransformFilterCriteria) SetSchema(v []*SchemaColumn) *TransformFilterCriteria {
30013	s.Schema = v
30014	return s
30015}
30016
30017// SetStatus sets the Status field's value.
30018func (s *TransformFilterCriteria) SetStatus(v string) *TransformFilterCriteria {
30019	s.Status = &v
30020	return s
30021}
30022
30023// SetTransformType sets the TransformType field's value.
30024func (s *TransformFilterCriteria) SetTransformType(v string) *TransformFilterCriteria {
30025	s.TransformType = &v
30026	return s
30027}
30028
30029// The algorithm-specific parameters that are associated with the machine learning
30030// transform.
30031type TransformParameters struct {
30032	_ struct{} `type:"structure"`
30033
30034	// The parameters for the find matches algorithm.
30035	FindMatchesParameters *FindMatchesParameters `type:"structure"`
30036
30037	// The type of machine learning transform.
30038	//
30039	// For information about the types of machine learning transforms, see Creating
30040	// Machine Learning Transforms (http://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html).
30041	//
30042	// TransformType is a required field
30043	TransformType *string `type:"string" required:"true" enum:"TransformType"`
30044}
30045
30046// String returns the string representation
30047func (s TransformParameters) String() string {
30048	return awsutil.Prettify(s)
30049}
30050
30051// GoString returns the string representation
30052func (s TransformParameters) GoString() string {
30053	return s.String()
30054}
30055
30056// Validate inspects the fields of the type to determine if they are valid.
30057func (s *TransformParameters) Validate() error {
30058	invalidParams := request.ErrInvalidParams{Context: "TransformParameters"}
30059	if s.TransformType == nil {
30060		invalidParams.Add(request.NewErrParamRequired("TransformType"))
30061	}
30062	if s.FindMatchesParameters != nil {
30063		if err := s.FindMatchesParameters.Validate(); err != nil {
30064			invalidParams.AddNested("FindMatchesParameters", err.(request.ErrInvalidParams))
30065		}
30066	}
30067
30068	if invalidParams.Len() > 0 {
30069		return invalidParams
30070	}
30071	return nil
30072}
30073
30074// SetFindMatchesParameters sets the FindMatchesParameters field's value.
30075func (s *TransformParameters) SetFindMatchesParameters(v *FindMatchesParameters) *TransformParameters {
30076	s.FindMatchesParameters = v
30077	return s
30078}
30079
30080// SetTransformType sets the TransformType field's value.
30081func (s *TransformParameters) SetTransformType(v string) *TransformParameters {
30082	s.TransformType = &v
30083	return s
30084}
30085
30086// The sorting criteria that are associated with the machine learning transform.
30087type TransformSortCriteria struct {
30088	_ struct{} `type:"structure"`
30089
30090	// The column to be used in the sorting criteria that are associated with the
30091	// machine learning transform.
30092	//
30093	// Column is a required field
30094	Column *string `type:"string" required:"true" enum:"TransformSortColumnType"`
30095
30096	// The sort direction to be used in the sorting criteria that are associated
30097	// with the machine learning transform.
30098	//
30099	// SortDirection is a required field
30100	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
30101}
30102
30103// String returns the string representation
30104func (s TransformSortCriteria) String() string {
30105	return awsutil.Prettify(s)
30106}
30107
30108// GoString returns the string representation
30109func (s TransformSortCriteria) GoString() string {
30110	return s.String()
30111}
30112
30113// Validate inspects the fields of the type to determine if they are valid.
30114func (s *TransformSortCriteria) Validate() error {
30115	invalidParams := request.ErrInvalidParams{Context: "TransformSortCriteria"}
30116	if s.Column == nil {
30117		invalidParams.Add(request.NewErrParamRequired("Column"))
30118	}
30119	if s.SortDirection == nil {
30120		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
30121	}
30122
30123	if invalidParams.Len() > 0 {
30124		return invalidParams
30125	}
30126	return nil
30127}
30128
30129// SetColumn sets the Column field's value.
30130func (s *TransformSortCriteria) SetColumn(v string) *TransformSortCriteria {
30131	s.Column = &v
30132	return s
30133}
30134
30135// SetSortDirection sets the SortDirection field's value.
30136func (s *TransformSortCriteria) SetSortDirection(v string) *TransformSortCriteria {
30137	s.SortDirection = &v
30138	return s
30139}
30140
30141// Information about a specific trigger.
30142type Trigger struct {
30143	_ struct{} `type:"structure"`
30144
30145	// The actions initiated by this trigger.
30146	Actions []*Action `type:"list"`
30147
30148	// A description of this trigger.
30149	Description *string `type:"string"`
30150
30151	// Reserved for future use.
30152	Id *string `min:"1" type:"string"`
30153
30154	// The name of the trigger.
30155	Name *string `min:"1" type:"string"`
30156
30157	// The predicate of this trigger, which defines when it will fire.
30158	Predicate *Predicate `type:"structure"`
30159
30160	// A cron expression used to specify the schedule (see Time-Based Schedules
30161	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30162	// For example, to run something every day at 12:15 UTC, you would specify:
30163	// cron(15 12 * * ? *).
30164	Schedule *string `type:"string"`
30165
30166	// The current state of the trigger.
30167	State *string `type:"string" enum:"TriggerState"`
30168
30169	// The type of trigger that this is.
30170	Type *string `type:"string" enum:"TriggerType"`
30171
30172	// The name of the workflow associated with the trigger.
30173	WorkflowName *string `min:"1" type:"string"`
30174}
30175
30176// String returns the string representation
30177func (s Trigger) String() string {
30178	return awsutil.Prettify(s)
30179}
30180
30181// GoString returns the string representation
30182func (s Trigger) GoString() string {
30183	return s.String()
30184}
30185
30186// SetActions sets the Actions field's value.
30187func (s *Trigger) SetActions(v []*Action) *Trigger {
30188	s.Actions = v
30189	return s
30190}
30191
30192// SetDescription sets the Description field's value.
30193func (s *Trigger) SetDescription(v string) *Trigger {
30194	s.Description = &v
30195	return s
30196}
30197
30198// SetId sets the Id field's value.
30199func (s *Trigger) SetId(v string) *Trigger {
30200	s.Id = &v
30201	return s
30202}
30203
30204// SetName sets the Name field's value.
30205func (s *Trigger) SetName(v string) *Trigger {
30206	s.Name = &v
30207	return s
30208}
30209
30210// SetPredicate sets the Predicate field's value.
30211func (s *Trigger) SetPredicate(v *Predicate) *Trigger {
30212	s.Predicate = v
30213	return s
30214}
30215
30216// SetSchedule sets the Schedule field's value.
30217func (s *Trigger) SetSchedule(v string) *Trigger {
30218	s.Schedule = &v
30219	return s
30220}
30221
30222// SetState sets the State field's value.
30223func (s *Trigger) SetState(v string) *Trigger {
30224	s.State = &v
30225	return s
30226}
30227
30228// SetType sets the Type field's value.
30229func (s *Trigger) SetType(v string) *Trigger {
30230	s.Type = &v
30231	return s
30232}
30233
30234// SetWorkflowName sets the WorkflowName field's value.
30235func (s *Trigger) SetWorkflowName(v string) *Trigger {
30236	s.WorkflowName = &v
30237	return s
30238}
30239
30240// The details of a Trigger node present in the workflow.
30241type TriggerNodeDetails struct {
30242	_ struct{} `type:"structure"`
30243
30244	// The information of the trigger represented by the trigger node.
30245	Trigger *Trigger `type:"structure"`
30246}
30247
30248// String returns the string representation
30249func (s TriggerNodeDetails) String() string {
30250	return awsutil.Prettify(s)
30251}
30252
30253// GoString returns the string representation
30254func (s TriggerNodeDetails) GoString() string {
30255	return s.String()
30256}
30257
30258// SetTrigger sets the Trigger field's value.
30259func (s *TriggerNodeDetails) SetTrigger(v *Trigger) *TriggerNodeDetails {
30260	s.Trigger = v
30261	return s
30262}
30263
30264// A structure used to provide information used to update a trigger. This object
30265// updates the previous trigger definition by overwriting it completely.
30266type TriggerUpdate struct {
30267	_ struct{} `type:"structure"`
30268
30269	// The actions initiated by this trigger.
30270	Actions []*Action `type:"list"`
30271
30272	// A description of this trigger.
30273	Description *string `type:"string"`
30274
30275	// Reserved for future use.
30276	Name *string `min:"1" type:"string"`
30277
30278	// The predicate of this trigger, which defines when it will fire.
30279	Predicate *Predicate `type:"structure"`
30280
30281	// A cron expression used to specify the schedule (see Time-Based Schedules
30282	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30283	// For example, to run something every day at 12:15 UTC, you would specify:
30284	// cron(15 12 * * ? *).
30285	Schedule *string `type:"string"`
30286}
30287
30288// String returns the string representation
30289func (s TriggerUpdate) String() string {
30290	return awsutil.Prettify(s)
30291}
30292
30293// GoString returns the string representation
30294func (s TriggerUpdate) GoString() string {
30295	return s.String()
30296}
30297
30298// Validate inspects the fields of the type to determine if they are valid.
30299func (s *TriggerUpdate) Validate() error {
30300	invalidParams := request.ErrInvalidParams{Context: "TriggerUpdate"}
30301	if s.Name != nil && len(*s.Name) < 1 {
30302		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30303	}
30304	if s.Actions != nil {
30305		for i, v := range s.Actions {
30306			if v == nil {
30307				continue
30308			}
30309			if err := v.Validate(); err != nil {
30310				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
30311			}
30312		}
30313	}
30314	if s.Predicate != nil {
30315		if err := s.Predicate.Validate(); err != nil {
30316			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
30317		}
30318	}
30319
30320	if invalidParams.Len() > 0 {
30321		return invalidParams
30322	}
30323	return nil
30324}
30325
30326// SetActions sets the Actions field's value.
30327func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate {
30328	s.Actions = v
30329	return s
30330}
30331
30332// SetDescription sets the Description field's value.
30333func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate {
30334	s.Description = &v
30335	return s
30336}
30337
30338// SetName sets the Name field's value.
30339func (s *TriggerUpdate) SetName(v string) *TriggerUpdate {
30340	s.Name = &v
30341	return s
30342}
30343
30344// SetPredicate sets the Predicate field's value.
30345func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate {
30346	s.Predicate = v
30347	return s
30348}
30349
30350// SetSchedule sets the Schedule field's value.
30351func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate {
30352	s.Schedule = &v
30353	return s
30354}
30355
30356type UntagResourceInput struct {
30357	_ struct{} `type:"structure"`
30358
30359	// The Amazon Resource Name (ARN) of the resource from which to remove the tags.
30360	//
30361	// ResourceArn is a required field
30362	ResourceArn *string `min:"1" type:"string" required:"true"`
30363
30364	// Tags to remove from this resource.
30365	//
30366	// TagsToRemove is a required field
30367	TagsToRemove []*string `type:"list" required:"true"`
30368}
30369
30370// String returns the string representation
30371func (s UntagResourceInput) String() string {
30372	return awsutil.Prettify(s)
30373}
30374
30375// GoString returns the string representation
30376func (s UntagResourceInput) GoString() string {
30377	return s.String()
30378}
30379
30380// Validate inspects the fields of the type to determine if they are valid.
30381func (s *UntagResourceInput) Validate() error {
30382	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
30383	if s.ResourceArn == nil {
30384		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
30385	}
30386	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
30387		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
30388	}
30389	if s.TagsToRemove == nil {
30390		invalidParams.Add(request.NewErrParamRequired("TagsToRemove"))
30391	}
30392
30393	if invalidParams.Len() > 0 {
30394		return invalidParams
30395	}
30396	return nil
30397}
30398
30399// SetResourceArn sets the ResourceArn field's value.
30400func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
30401	s.ResourceArn = &v
30402	return s
30403}
30404
30405// SetTagsToRemove sets the TagsToRemove field's value.
30406func (s *UntagResourceInput) SetTagsToRemove(v []*string) *UntagResourceInput {
30407	s.TagsToRemove = v
30408	return s
30409}
30410
30411type UntagResourceOutput struct {
30412	_ struct{} `type:"structure"`
30413}
30414
30415// String returns the string representation
30416func (s UntagResourceOutput) String() string {
30417	return awsutil.Prettify(s)
30418}
30419
30420// GoString returns the string representation
30421func (s UntagResourceOutput) GoString() string {
30422	return s.String()
30423}
30424
30425type UpdateClassifierInput struct {
30426	_ struct{} `type:"structure"`
30427
30428	// A CsvClassifier object with updated fields.
30429	CsvClassifier *UpdateCsvClassifierRequest `type:"structure"`
30430
30431	// A GrokClassifier object with updated fields.
30432	GrokClassifier *UpdateGrokClassifierRequest `type:"structure"`
30433
30434	// A JsonClassifier object with updated fields.
30435	JsonClassifier *UpdateJsonClassifierRequest `type:"structure"`
30436
30437	// An XMLClassifier object with updated fields.
30438	XMLClassifier *UpdateXMLClassifierRequest `type:"structure"`
30439}
30440
30441// String returns the string representation
30442func (s UpdateClassifierInput) String() string {
30443	return awsutil.Prettify(s)
30444}
30445
30446// GoString returns the string representation
30447func (s UpdateClassifierInput) GoString() string {
30448	return s.String()
30449}
30450
30451// Validate inspects the fields of the type to determine if they are valid.
30452func (s *UpdateClassifierInput) Validate() error {
30453	invalidParams := request.ErrInvalidParams{Context: "UpdateClassifierInput"}
30454	if s.CsvClassifier != nil {
30455		if err := s.CsvClassifier.Validate(); err != nil {
30456			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
30457		}
30458	}
30459	if s.GrokClassifier != nil {
30460		if err := s.GrokClassifier.Validate(); err != nil {
30461			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
30462		}
30463	}
30464	if s.JsonClassifier != nil {
30465		if err := s.JsonClassifier.Validate(); err != nil {
30466			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
30467		}
30468	}
30469	if s.XMLClassifier != nil {
30470		if err := s.XMLClassifier.Validate(); err != nil {
30471			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
30472		}
30473	}
30474
30475	if invalidParams.Len() > 0 {
30476		return invalidParams
30477	}
30478	return nil
30479}
30480
30481// SetCsvClassifier sets the CsvClassifier field's value.
30482func (s *UpdateClassifierInput) SetCsvClassifier(v *UpdateCsvClassifierRequest) *UpdateClassifierInput {
30483	s.CsvClassifier = v
30484	return s
30485}
30486
30487// SetGrokClassifier sets the GrokClassifier field's value.
30488func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput {
30489	s.GrokClassifier = v
30490	return s
30491}
30492
30493// SetJsonClassifier sets the JsonClassifier field's value.
30494func (s *UpdateClassifierInput) SetJsonClassifier(v *UpdateJsonClassifierRequest) *UpdateClassifierInput {
30495	s.JsonClassifier = v
30496	return s
30497}
30498
30499// SetXMLClassifier sets the XMLClassifier field's value.
30500func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput {
30501	s.XMLClassifier = v
30502	return s
30503}
30504
30505type UpdateClassifierOutput struct {
30506	_ struct{} `type:"structure"`
30507}
30508
30509// String returns the string representation
30510func (s UpdateClassifierOutput) String() string {
30511	return awsutil.Prettify(s)
30512}
30513
30514// GoString returns the string representation
30515func (s UpdateClassifierOutput) GoString() string {
30516	return s.String()
30517}
30518
30519type UpdateConnectionInput struct {
30520	_ struct{} `type:"structure"`
30521
30522	// The ID of the Data Catalog in which the connection resides. If none is provided,
30523	// the AWS account ID is used by default.
30524	CatalogId *string `min:"1" type:"string"`
30525
30526	// A ConnectionInput object that redefines the connection in question.
30527	//
30528	// ConnectionInput is a required field
30529	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
30530
30531	// The name of the connection definition to update.
30532	//
30533	// Name is a required field
30534	Name *string `min:"1" type:"string" required:"true"`
30535}
30536
30537// String returns the string representation
30538func (s UpdateConnectionInput) String() string {
30539	return awsutil.Prettify(s)
30540}
30541
30542// GoString returns the string representation
30543func (s UpdateConnectionInput) GoString() string {
30544	return s.String()
30545}
30546
30547// Validate inspects the fields of the type to determine if they are valid.
30548func (s *UpdateConnectionInput) Validate() error {
30549	invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"}
30550	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30551		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30552	}
30553	if s.ConnectionInput == nil {
30554		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
30555	}
30556	if s.Name == nil {
30557		invalidParams.Add(request.NewErrParamRequired("Name"))
30558	}
30559	if s.Name != nil && len(*s.Name) < 1 {
30560		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30561	}
30562	if s.ConnectionInput != nil {
30563		if err := s.ConnectionInput.Validate(); err != nil {
30564			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
30565		}
30566	}
30567
30568	if invalidParams.Len() > 0 {
30569		return invalidParams
30570	}
30571	return nil
30572}
30573
30574// SetCatalogId sets the CatalogId field's value.
30575func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput {
30576	s.CatalogId = &v
30577	return s
30578}
30579
30580// SetConnectionInput sets the ConnectionInput field's value.
30581func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput {
30582	s.ConnectionInput = v
30583	return s
30584}
30585
30586// SetName sets the Name field's value.
30587func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput {
30588	s.Name = &v
30589	return s
30590}
30591
30592type UpdateConnectionOutput struct {
30593	_ struct{} `type:"structure"`
30594}
30595
30596// String returns the string representation
30597func (s UpdateConnectionOutput) String() string {
30598	return awsutil.Prettify(s)
30599}
30600
30601// GoString returns the string representation
30602func (s UpdateConnectionOutput) GoString() string {
30603	return s.String()
30604}
30605
30606type UpdateCrawlerInput struct {
30607	_ struct{} `type:"structure"`
30608
30609	// A list of custom classifiers that the user has registered. By default, all
30610	// built-in classifiers are included in a crawl, but these custom classifiers
30611	// always override the default classifiers for a given classification.
30612	Classifiers []*string `type:"list"`
30613
30614	// The crawler configuration information. This versioned JSON string allows
30615	// users to specify aspects of a crawler's behavior. For more information, see
30616	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
30617	Configuration *string `type:"string"`
30618
30619	// The name of the SecurityConfiguration structure to be used by this crawler.
30620	CrawlerSecurityConfiguration *string `type:"string"`
30621
30622	// The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
30623	DatabaseName *string `type:"string"`
30624
30625	// A description of the new crawler.
30626	Description *string `type:"string"`
30627
30628	// Name of the new crawler.
30629	//
30630	// Name is a required field
30631	Name *string `min:"1" type:"string" required:"true"`
30632
30633	// The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by
30634	// the new crawler to access customer resources.
30635	Role *string `type:"string"`
30636
30637	// A cron expression used to specify the schedule. For more information, see
30638	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30639	// For example, to run something every day at 12:15 UTC, specify cron(15 12
30640	// * * ? *).
30641	Schedule *string `type:"string"`
30642
30643	// The policy for the crawler's update and deletion behavior.
30644	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
30645
30646	// The table prefix used for catalog tables that are created.
30647	TablePrefix *string `type:"string"`
30648
30649	// A list of targets to crawl.
30650	Targets *CrawlerTargets `type:"structure"`
30651}
30652
30653// String returns the string representation
30654func (s UpdateCrawlerInput) String() string {
30655	return awsutil.Prettify(s)
30656}
30657
30658// GoString returns the string representation
30659func (s UpdateCrawlerInput) GoString() string {
30660	return s.String()
30661}
30662
30663// Validate inspects the fields of the type to determine if they are valid.
30664func (s *UpdateCrawlerInput) Validate() error {
30665	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerInput"}
30666	if s.Name == nil {
30667		invalidParams.Add(request.NewErrParamRequired("Name"))
30668	}
30669	if s.Name != nil && len(*s.Name) < 1 {
30670		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30671	}
30672	if s.Targets != nil {
30673		if err := s.Targets.Validate(); err != nil {
30674			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
30675		}
30676	}
30677
30678	if invalidParams.Len() > 0 {
30679		return invalidParams
30680	}
30681	return nil
30682}
30683
30684// SetClassifiers sets the Classifiers field's value.
30685func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput {
30686	s.Classifiers = v
30687	return s
30688}
30689
30690// SetConfiguration sets the Configuration field's value.
30691func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput {
30692	s.Configuration = &v
30693	return s
30694}
30695
30696// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
30697func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput {
30698	s.CrawlerSecurityConfiguration = &v
30699	return s
30700}
30701
30702// SetDatabaseName sets the DatabaseName field's value.
30703func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput {
30704	s.DatabaseName = &v
30705	return s
30706}
30707
30708// SetDescription sets the Description field's value.
30709func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput {
30710	s.Description = &v
30711	return s
30712}
30713
30714// SetName sets the Name field's value.
30715func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput {
30716	s.Name = &v
30717	return s
30718}
30719
30720// SetRole sets the Role field's value.
30721func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput {
30722	s.Role = &v
30723	return s
30724}
30725
30726// SetSchedule sets the Schedule field's value.
30727func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput {
30728	s.Schedule = &v
30729	return s
30730}
30731
30732// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
30733func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput {
30734	s.SchemaChangePolicy = v
30735	return s
30736}
30737
30738// SetTablePrefix sets the TablePrefix field's value.
30739func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput {
30740	s.TablePrefix = &v
30741	return s
30742}
30743
30744// SetTargets sets the Targets field's value.
30745func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput {
30746	s.Targets = v
30747	return s
30748}
30749
30750type UpdateCrawlerOutput struct {
30751	_ struct{} `type:"structure"`
30752}
30753
30754// String returns the string representation
30755func (s UpdateCrawlerOutput) String() string {
30756	return awsutil.Prettify(s)
30757}
30758
30759// GoString returns the string representation
30760func (s UpdateCrawlerOutput) GoString() string {
30761	return s.String()
30762}
30763
30764type UpdateCrawlerScheduleInput struct {
30765	_ struct{} `type:"structure"`
30766
30767	// The name of the crawler whose schedule to update.
30768	//
30769	// CrawlerName is a required field
30770	CrawlerName *string `min:"1" type:"string" required:"true"`
30771
30772	// The updated cron expression used to specify the schedule. For more information,
30773	// see Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30774	// For example, to run something every day at 12:15 UTC, specify cron(15 12
30775	// * * ? *).
30776	Schedule *string `type:"string"`
30777}
30778
30779// String returns the string representation
30780func (s UpdateCrawlerScheduleInput) String() string {
30781	return awsutil.Prettify(s)
30782}
30783
30784// GoString returns the string representation
30785func (s UpdateCrawlerScheduleInput) GoString() string {
30786	return s.String()
30787}
30788
30789// Validate inspects the fields of the type to determine if they are valid.
30790func (s *UpdateCrawlerScheduleInput) Validate() error {
30791	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerScheduleInput"}
30792	if s.CrawlerName == nil {
30793		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
30794	}
30795	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
30796		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
30797	}
30798
30799	if invalidParams.Len() > 0 {
30800		return invalidParams
30801	}
30802	return nil
30803}
30804
30805// SetCrawlerName sets the CrawlerName field's value.
30806func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput {
30807	s.CrawlerName = &v
30808	return s
30809}
30810
30811// SetSchedule sets the Schedule field's value.
30812func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput {
30813	s.Schedule = &v
30814	return s
30815}
30816
30817type UpdateCrawlerScheduleOutput struct {
30818	_ struct{} `type:"structure"`
30819}
30820
30821// String returns the string representation
30822func (s UpdateCrawlerScheduleOutput) String() string {
30823	return awsutil.Prettify(s)
30824}
30825
30826// GoString returns the string representation
30827func (s UpdateCrawlerScheduleOutput) GoString() string {
30828	return s.String()
30829}
30830
30831// Specifies a custom CSV classifier to be updated.
30832type UpdateCsvClassifierRequest struct {
30833	_ struct{} `type:"structure"`
30834
30835	// Enables the processing of files that contain only one column.
30836	AllowSingleColumn *bool `type:"boolean"`
30837
30838	// Indicates whether the CSV file contains a header.
30839	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
30840
30841	// A custom symbol to denote what separates each column entry in the row.
30842	Delimiter *string `min:"1" type:"string"`
30843
30844	// Specifies not to trim values before identifying the type of column values.
30845	// The default value is true.
30846	DisableValueTrimming *bool `type:"boolean"`
30847
30848	// A list of strings representing column names.
30849	Header []*string `type:"list"`
30850
30851	// The name of the classifier.
30852	//
30853	// Name is a required field
30854	Name *string `min:"1" type:"string" required:"true"`
30855
30856	// A custom symbol to denote what combines content into a single column value.
30857	// It must be different from the column delimiter.
30858	QuoteSymbol *string `min:"1" type:"string"`
30859}
30860
30861// String returns the string representation
30862func (s UpdateCsvClassifierRequest) String() string {
30863	return awsutil.Prettify(s)
30864}
30865
30866// GoString returns the string representation
30867func (s UpdateCsvClassifierRequest) GoString() string {
30868	return s.String()
30869}
30870
30871// Validate inspects the fields of the type to determine if they are valid.
30872func (s *UpdateCsvClassifierRequest) Validate() error {
30873	invalidParams := request.ErrInvalidParams{Context: "UpdateCsvClassifierRequest"}
30874	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
30875		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
30876	}
30877	if s.Name == nil {
30878		invalidParams.Add(request.NewErrParamRequired("Name"))
30879	}
30880	if s.Name != nil && len(*s.Name) < 1 {
30881		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30882	}
30883	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
30884		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
30885	}
30886
30887	if invalidParams.Len() > 0 {
30888		return invalidParams
30889	}
30890	return nil
30891}
30892
30893// SetAllowSingleColumn sets the AllowSingleColumn field's value.
30894func (s *UpdateCsvClassifierRequest) SetAllowSingleColumn(v bool) *UpdateCsvClassifierRequest {
30895	s.AllowSingleColumn = &v
30896	return s
30897}
30898
30899// SetContainsHeader sets the ContainsHeader field's value.
30900func (s *UpdateCsvClassifierRequest) SetContainsHeader(v string) *UpdateCsvClassifierRequest {
30901	s.ContainsHeader = &v
30902	return s
30903}
30904
30905// SetDelimiter sets the Delimiter field's value.
30906func (s *UpdateCsvClassifierRequest) SetDelimiter(v string) *UpdateCsvClassifierRequest {
30907	s.Delimiter = &v
30908	return s
30909}
30910
30911// SetDisableValueTrimming sets the DisableValueTrimming field's value.
30912func (s *UpdateCsvClassifierRequest) SetDisableValueTrimming(v bool) *UpdateCsvClassifierRequest {
30913	s.DisableValueTrimming = &v
30914	return s
30915}
30916
30917// SetHeader sets the Header field's value.
30918func (s *UpdateCsvClassifierRequest) SetHeader(v []*string) *UpdateCsvClassifierRequest {
30919	s.Header = v
30920	return s
30921}
30922
30923// SetName sets the Name field's value.
30924func (s *UpdateCsvClassifierRequest) SetName(v string) *UpdateCsvClassifierRequest {
30925	s.Name = &v
30926	return s
30927}
30928
30929// SetQuoteSymbol sets the QuoteSymbol field's value.
30930func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest {
30931	s.QuoteSymbol = &v
30932	return s
30933}
30934
30935type UpdateDatabaseInput struct {
30936	_ struct{} `type:"structure"`
30937
30938	// The ID of the Data Catalog in which the metadata database resides. If none
30939	// is provided, the AWS account ID is used by default.
30940	CatalogId *string `min:"1" type:"string"`
30941
30942	// A DatabaseInput object specifying the new definition of the metadata database
30943	// in the catalog.
30944	//
30945	// DatabaseInput is a required field
30946	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
30947
30948	// The name of the database to update in the catalog. For Hive compatibility,
30949	// this is folded to lowercase.
30950	//
30951	// Name is a required field
30952	Name *string `min:"1" type:"string" required:"true"`
30953}
30954
30955// String returns the string representation
30956func (s UpdateDatabaseInput) String() string {
30957	return awsutil.Prettify(s)
30958}
30959
30960// GoString returns the string representation
30961func (s UpdateDatabaseInput) GoString() string {
30962	return s.String()
30963}
30964
30965// Validate inspects the fields of the type to determine if they are valid.
30966func (s *UpdateDatabaseInput) Validate() error {
30967	invalidParams := request.ErrInvalidParams{Context: "UpdateDatabaseInput"}
30968	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30969		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30970	}
30971	if s.DatabaseInput == nil {
30972		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
30973	}
30974	if s.Name == nil {
30975		invalidParams.Add(request.NewErrParamRequired("Name"))
30976	}
30977	if s.Name != nil && len(*s.Name) < 1 {
30978		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30979	}
30980	if s.DatabaseInput != nil {
30981		if err := s.DatabaseInput.Validate(); err != nil {
30982			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
30983		}
30984	}
30985
30986	if invalidParams.Len() > 0 {
30987		return invalidParams
30988	}
30989	return nil
30990}
30991
30992// SetCatalogId sets the CatalogId field's value.
30993func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput {
30994	s.CatalogId = &v
30995	return s
30996}
30997
30998// SetDatabaseInput sets the DatabaseInput field's value.
30999func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput {
31000	s.DatabaseInput = v
31001	return s
31002}
31003
31004// SetName sets the Name field's value.
31005func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput {
31006	s.Name = &v
31007	return s
31008}
31009
31010type UpdateDatabaseOutput struct {
31011	_ struct{} `type:"structure"`
31012}
31013
31014// String returns the string representation
31015func (s UpdateDatabaseOutput) String() string {
31016	return awsutil.Prettify(s)
31017}
31018
31019// GoString returns the string representation
31020func (s UpdateDatabaseOutput) GoString() string {
31021	return s.String()
31022}
31023
31024type UpdateDevEndpointInput struct {
31025	_ struct{} `type:"structure"`
31026
31027	// The map of arguments to add the map of arguments used to configure the DevEndpoint.
31028	//
31029	// Valid arguments are:
31030	//
31031	//    * "--enable-glue-datacatalog": ""
31032	//
31033	//    * "GLUE_PYTHON_VERSION": "3"
31034	//
31035	//    * "GLUE_PYTHON_VERSION": "2"
31036	//
31037	// You can specify a version of Python support for development endpoints by
31038	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
31039	// APIs. If no arguments are provided, the version defaults to Python 2.
31040	AddArguments map[string]*string `type:"map"`
31041
31042	// The list of public keys for the DevEndpoint to use.
31043	AddPublicKeys []*string `type:"list"`
31044
31045	// Custom Python or Java libraries to be loaded in the DevEndpoint.
31046	CustomLibraries *DevEndpointCustomLibraries `type:"structure"`
31047
31048	// The list of argument keys to be deleted from the map of arguments used to
31049	// configure the DevEndpoint.
31050	DeleteArguments []*string `type:"list"`
31051
31052	// The list of public keys to be deleted from the DevEndpoint.
31053	DeletePublicKeys []*string `type:"list"`
31054
31055	// The name of the DevEndpoint to be updated.
31056	//
31057	// EndpointName is a required field
31058	EndpointName *string `type:"string" required:"true"`
31059
31060	// The public key for the DevEndpoint to use.
31061	PublicKey *string `type:"string"`
31062
31063	// True if the list of custom libraries to be loaded in the development endpoint
31064	// needs to be updated, or False if otherwise.
31065	UpdateEtlLibraries *bool `type:"boolean"`
31066}
31067
31068// String returns the string representation
31069func (s UpdateDevEndpointInput) String() string {
31070	return awsutil.Prettify(s)
31071}
31072
31073// GoString returns the string representation
31074func (s UpdateDevEndpointInput) GoString() string {
31075	return s.String()
31076}
31077
31078// Validate inspects the fields of the type to determine if they are valid.
31079func (s *UpdateDevEndpointInput) Validate() error {
31080	invalidParams := request.ErrInvalidParams{Context: "UpdateDevEndpointInput"}
31081	if s.EndpointName == nil {
31082		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
31083	}
31084
31085	if invalidParams.Len() > 0 {
31086		return invalidParams
31087	}
31088	return nil
31089}
31090
31091// SetAddArguments sets the AddArguments field's value.
31092func (s *UpdateDevEndpointInput) SetAddArguments(v map[string]*string) *UpdateDevEndpointInput {
31093	s.AddArguments = v
31094	return s
31095}
31096
31097// SetAddPublicKeys sets the AddPublicKeys field's value.
31098func (s *UpdateDevEndpointInput) SetAddPublicKeys(v []*string) *UpdateDevEndpointInput {
31099	s.AddPublicKeys = v
31100	return s
31101}
31102
31103// SetCustomLibraries sets the CustomLibraries field's value.
31104func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput {
31105	s.CustomLibraries = v
31106	return s
31107}
31108
31109// SetDeleteArguments sets the DeleteArguments field's value.
31110func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput {
31111	s.DeleteArguments = v
31112	return s
31113}
31114
31115// SetDeletePublicKeys sets the DeletePublicKeys field's value.
31116func (s *UpdateDevEndpointInput) SetDeletePublicKeys(v []*string) *UpdateDevEndpointInput {
31117	s.DeletePublicKeys = v
31118	return s
31119}
31120
31121// SetEndpointName sets the EndpointName field's value.
31122func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput {
31123	s.EndpointName = &v
31124	return s
31125}
31126
31127// SetPublicKey sets the PublicKey field's value.
31128func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput {
31129	s.PublicKey = &v
31130	return s
31131}
31132
31133// SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value.
31134func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput {
31135	s.UpdateEtlLibraries = &v
31136	return s
31137}
31138
31139type UpdateDevEndpointOutput struct {
31140	_ struct{} `type:"structure"`
31141}
31142
31143// String returns the string representation
31144func (s UpdateDevEndpointOutput) String() string {
31145	return awsutil.Prettify(s)
31146}
31147
31148// GoString returns the string representation
31149func (s UpdateDevEndpointOutput) GoString() string {
31150	return s.String()
31151}
31152
31153// Specifies a grok classifier to update when passed to UpdateClassifier.
31154type UpdateGrokClassifierRequest struct {
31155	_ struct{} `type:"structure"`
31156
31157	// An identifier of the data format that the classifier matches, such as Twitter,
31158	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
31159	Classification *string `type:"string"`
31160
31161	// Optional custom grok patterns used by this classifier.
31162	CustomPatterns *string `type:"string"`
31163
31164	// The grok pattern used by this classifier.
31165	GrokPattern *string `min:"1" type:"string"`
31166
31167	// The name of the GrokClassifier.
31168	//
31169	// Name is a required field
31170	Name *string `min:"1" type:"string" required:"true"`
31171}
31172
31173// String returns the string representation
31174func (s UpdateGrokClassifierRequest) String() string {
31175	return awsutil.Prettify(s)
31176}
31177
31178// GoString returns the string representation
31179func (s UpdateGrokClassifierRequest) GoString() string {
31180	return s.String()
31181}
31182
31183// Validate inspects the fields of the type to determine if they are valid.
31184func (s *UpdateGrokClassifierRequest) Validate() error {
31185	invalidParams := request.ErrInvalidParams{Context: "UpdateGrokClassifierRequest"}
31186	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
31187		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
31188	}
31189	if s.Name == nil {
31190		invalidParams.Add(request.NewErrParamRequired("Name"))
31191	}
31192	if s.Name != nil && len(*s.Name) < 1 {
31193		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31194	}
31195
31196	if invalidParams.Len() > 0 {
31197		return invalidParams
31198	}
31199	return nil
31200}
31201
31202// SetClassification sets the Classification field's value.
31203func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest {
31204	s.Classification = &v
31205	return s
31206}
31207
31208// SetCustomPatterns sets the CustomPatterns field's value.
31209func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest {
31210	s.CustomPatterns = &v
31211	return s
31212}
31213
31214// SetGrokPattern sets the GrokPattern field's value.
31215func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest {
31216	s.GrokPattern = &v
31217	return s
31218}
31219
31220// SetName sets the Name field's value.
31221func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest {
31222	s.Name = &v
31223	return s
31224}
31225
31226type UpdateJobInput struct {
31227	_ struct{} `type:"structure"`
31228
31229	// The name of the job definition to update.
31230	//
31231	// JobName is a required field
31232	JobName *string `min:"1" type:"string" required:"true"`
31233
31234	// Specifies the values with which to update the job definition.
31235	//
31236	// JobUpdate is a required field
31237	JobUpdate *JobUpdate `type:"structure" required:"true"`
31238}
31239
31240// String returns the string representation
31241func (s UpdateJobInput) String() string {
31242	return awsutil.Prettify(s)
31243}
31244
31245// GoString returns the string representation
31246func (s UpdateJobInput) GoString() string {
31247	return s.String()
31248}
31249
31250// Validate inspects the fields of the type to determine if they are valid.
31251func (s *UpdateJobInput) Validate() error {
31252	invalidParams := request.ErrInvalidParams{Context: "UpdateJobInput"}
31253	if s.JobName == nil {
31254		invalidParams.Add(request.NewErrParamRequired("JobName"))
31255	}
31256	if s.JobName != nil && len(*s.JobName) < 1 {
31257		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
31258	}
31259	if s.JobUpdate == nil {
31260		invalidParams.Add(request.NewErrParamRequired("JobUpdate"))
31261	}
31262	if s.JobUpdate != nil {
31263		if err := s.JobUpdate.Validate(); err != nil {
31264			invalidParams.AddNested("JobUpdate", err.(request.ErrInvalidParams))
31265		}
31266	}
31267
31268	if invalidParams.Len() > 0 {
31269		return invalidParams
31270	}
31271	return nil
31272}
31273
31274// SetJobName sets the JobName field's value.
31275func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput {
31276	s.JobName = &v
31277	return s
31278}
31279
31280// SetJobUpdate sets the JobUpdate field's value.
31281func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput {
31282	s.JobUpdate = v
31283	return s
31284}
31285
31286type UpdateJobOutput struct {
31287	_ struct{} `type:"structure"`
31288
31289	// Returns the name of the updated job definition.
31290	JobName *string `min:"1" type:"string"`
31291}
31292
31293// String returns the string representation
31294func (s UpdateJobOutput) String() string {
31295	return awsutil.Prettify(s)
31296}
31297
31298// GoString returns the string representation
31299func (s UpdateJobOutput) GoString() string {
31300	return s.String()
31301}
31302
31303// SetJobName sets the JobName field's value.
31304func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput {
31305	s.JobName = &v
31306	return s
31307}
31308
31309// Specifies a JSON classifier to be updated.
31310type UpdateJsonClassifierRequest struct {
31311	_ struct{} `type:"structure"`
31312
31313	// A JsonPath string defining the JSON data for the classifier to classify.
31314	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
31315	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
31316	JsonPath *string `type:"string"`
31317
31318	// The name of the classifier.
31319	//
31320	// Name is a required field
31321	Name *string `min:"1" type:"string" required:"true"`
31322}
31323
31324// String returns the string representation
31325func (s UpdateJsonClassifierRequest) String() string {
31326	return awsutil.Prettify(s)
31327}
31328
31329// GoString returns the string representation
31330func (s UpdateJsonClassifierRequest) GoString() string {
31331	return s.String()
31332}
31333
31334// Validate inspects the fields of the type to determine if they are valid.
31335func (s *UpdateJsonClassifierRequest) Validate() error {
31336	invalidParams := request.ErrInvalidParams{Context: "UpdateJsonClassifierRequest"}
31337	if s.Name == nil {
31338		invalidParams.Add(request.NewErrParamRequired("Name"))
31339	}
31340	if s.Name != nil && len(*s.Name) < 1 {
31341		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31342	}
31343
31344	if invalidParams.Len() > 0 {
31345		return invalidParams
31346	}
31347	return nil
31348}
31349
31350// SetJsonPath sets the JsonPath field's value.
31351func (s *UpdateJsonClassifierRequest) SetJsonPath(v string) *UpdateJsonClassifierRequest {
31352	s.JsonPath = &v
31353	return s
31354}
31355
31356// SetName sets the Name field's value.
31357func (s *UpdateJsonClassifierRequest) SetName(v string) *UpdateJsonClassifierRequest {
31358	s.Name = &v
31359	return s
31360}
31361
31362type UpdateMLTransformInput struct {
31363	_ struct{} `type:"structure"`
31364
31365	// A description of the transform. The default is an empty string.
31366	Description *string `type:"string"`
31367
31368	// This value determines which version of AWS Glue this machine learning transform
31369	// is compatible with. Glue 1.0 is recommended for most customers. If the value
31370	// is not set, the Glue compatibility defaults to Glue 0.9. For more information,
31371	// see AWS Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
31372	// in the developer guide.
31373	GlueVersion *string `min:"1" type:"string"`
31374
31375	// The number of AWS Glue data processing units (DPUs) that are allocated to
31376	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
31377	// is 10. A DPU is a relative measure of processing power that consists of 4
31378	// vCPUs of compute capacity and 16 GB of memory. For more information, see
31379	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
31380	//
31381	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
31382	// field is set automatically and becomes read-only.
31383	MaxCapacity *float64 `type:"double"`
31384
31385	// The maximum number of times to retry a task for this transform after a task
31386	// run fails.
31387	MaxRetries *int64 `type:"integer"`
31388
31389	// The unique name that you gave the transform when you created it.
31390	Name *string `min:"1" type:"string"`
31391
31392	// The number of workers of a defined workerType that are allocated when this
31393	// task runs.
31394	NumberOfWorkers *int64 `type:"integer"`
31395
31396	// The configuration parameters that are specific to the transform type (algorithm)
31397	// used. Conditionally dependent on the transform type.
31398	Parameters *TransformParameters `type:"structure"`
31399
31400	// The name or Amazon Resource Name (ARN) of the IAM role with the required
31401	// permissions.
31402	Role *string `type:"string"`
31403
31404	// The timeout for a task run for this transform in minutes. This is the maximum
31405	// time that a task run for this transform can consume resources before it is
31406	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
31407	Timeout *int64 `min:"1" type:"integer"`
31408
31409	// A unique identifier that was generated when the transform was created.
31410	//
31411	// TransformId is a required field
31412	TransformId *string `min:"1" type:"string" required:"true"`
31413
31414	// The type of predefined worker that is allocated when this task runs. Accepts
31415	// a value of Standard, G.1X, or G.2X.
31416	//
31417	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
31418	//    memory and a 50GB disk, and 2 executors per worker.
31419	//
31420	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
31421	//    and a 64GB disk, and 1 executor per worker.
31422	//
31423	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
31424	//    and a 128GB disk, and 1 executor per worker.
31425	WorkerType *string `type:"string" enum:"WorkerType"`
31426}
31427
31428// String returns the string representation
31429func (s UpdateMLTransformInput) String() string {
31430	return awsutil.Prettify(s)
31431}
31432
31433// GoString returns the string representation
31434func (s UpdateMLTransformInput) GoString() string {
31435	return s.String()
31436}
31437
31438// Validate inspects the fields of the type to determine if they are valid.
31439func (s *UpdateMLTransformInput) Validate() error {
31440	invalidParams := request.ErrInvalidParams{Context: "UpdateMLTransformInput"}
31441	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
31442		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
31443	}
31444	if s.Name != nil && len(*s.Name) < 1 {
31445		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31446	}
31447	if s.Timeout != nil && *s.Timeout < 1 {
31448		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
31449	}
31450	if s.TransformId == nil {
31451		invalidParams.Add(request.NewErrParamRequired("TransformId"))
31452	}
31453	if s.TransformId != nil && len(*s.TransformId) < 1 {
31454		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
31455	}
31456	if s.Parameters != nil {
31457		if err := s.Parameters.Validate(); err != nil {
31458			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
31459		}
31460	}
31461
31462	if invalidParams.Len() > 0 {
31463		return invalidParams
31464	}
31465	return nil
31466}
31467
31468// SetDescription sets the Description field's value.
31469func (s *UpdateMLTransformInput) SetDescription(v string) *UpdateMLTransformInput {
31470	s.Description = &v
31471	return s
31472}
31473
31474// SetGlueVersion sets the GlueVersion field's value.
31475func (s *UpdateMLTransformInput) SetGlueVersion(v string) *UpdateMLTransformInput {
31476	s.GlueVersion = &v
31477	return s
31478}
31479
31480// SetMaxCapacity sets the MaxCapacity field's value.
31481func (s *UpdateMLTransformInput) SetMaxCapacity(v float64) *UpdateMLTransformInput {
31482	s.MaxCapacity = &v
31483	return s
31484}
31485
31486// SetMaxRetries sets the MaxRetries field's value.
31487func (s *UpdateMLTransformInput) SetMaxRetries(v int64) *UpdateMLTransformInput {
31488	s.MaxRetries = &v
31489	return s
31490}
31491
31492// SetName sets the Name field's value.
31493func (s *UpdateMLTransformInput) SetName(v string) *UpdateMLTransformInput {
31494	s.Name = &v
31495	return s
31496}
31497
31498// SetNumberOfWorkers sets the NumberOfWorkers field's value.
31499func (s *UpdateMLTransformInput) SetNumberOfWorkers(v int64) *UpdateMLTransformInput {
31500	s.NumberOfWorkers = &v
31501	return s
31502}
31503
31504// SetParameters sets the Parameters field's value.
31505func (s *UpdateMLTransformInput) SetParameters(v *TransformParameters) *UpdateMLTransformInput {
31506	s.Parameters = v
31507	return s
31508}
31509
31510// SetRole sets the Role field's value.
31511func (s *UpdateMLTransformInput) SetRole(v string) *UpdateMLTransformInput {
31512	s.Role = &v
31513	return s
31514}
31515
31516// SetTimeout sets the Timeout field's value.
31517func (s *UpdateMLTransformInput) SetTimeout(v int64) *UpdateMLTransformInput {
31518	s.Timeout = &v
31519	return s
31520}
31521
31522// SetTransformId sets the TransformId field's value.
31523func (s *UpdateMLTransformInput) SetTransformId(v string) *UpdateMLTransformInput {
31524	s.TransformId = &v
31525	return s
31526}
31527
31528// SetWorkerType sets the WorkerType field's value.
31529func (s *UpdateMLTransformInput) SetWorkerType(v string) *UpdateMLTransformInput {
31530	s.WorkerType = &v
31531	return s
31532}
31533
31534type UpdateMLTransformOutput struct {
31535	_ struct{} `type:"structure"`
31536
31537	// The unique identifier for the transform that was updated.
31538	TransformId *string `min:"1" type:"string"`
31539}
31540
31541// String returns the string representation
31542func (s UpdateMLTransformOutput) String() string {
31543	return awsutil.Prettify(s)
31544}
31545
31546// GoString returns the string representation
31547func (s UpdateMLTransformOutput) GoString() string {
31548	return s.String()
31549}
31550
31551// SetTransformId sets the TransformId field's value.
31552func (s *UpdateMLTransformOutput) SetTransformId(v string) *UpdateMLTransformOutput {
31553	s.TransformId = &v
31554	return s
31555}
31556
31557type UpdatePartitionInput struct {
31558	_ struct{} `type:"structure"`
31559
31560	// The ID of the Data Catalog where the partition to be updated resides. If
31561	// none is provided, the AWS account ID is used by default.
31562	CatalogId *string `min:"1" type:"string"`
31563
31564	// The name of the catalog database in which the table in question resides.
31565	//
31566	// DatabaseName is a required field
31567	DatabaseName *string `min:"1" type:"string" required:"true"`
31568
31569	// The new partition object to update the partition to.
31570	//
31571	// PartitionInput is a required field
31572	PartitionInput *PartitionInput `type:"structure" required:"true"`
31573
31574	// A list of the values defining the partition.
31575	//
31576	// PartitionValueList is a required field
31577	PartitionValueList []*string `type:"list" required:"true"`
31578
31579	// The name of the table in which the partition to be updated is located.
31580	//
31581	// TableName is a required field
31582	TableName *string `min:"1" type:"string" required:"true"`
31583}
31584
31585// String returns the string representation
31586func (s UpdatePartitionInput) String() string {
31587	return awsutil.Prettify(s)
31588}
31589
31590// GoString returns the string representation
31591func (s UpdatePartitionInput) GoString() string {
31592	return s.String()
31593}
31594
31595// Validate inspects the fields of the type to determine if they are valid.
31596func (s *UpdatePartitionInput) Validate() error {
31597	invalidParams := request.ErrInvalidParams{Context: "UpdatePartitionInput"}
31598	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31599		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31600	}
31601	if s.DatabaseName == nil {
31602		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31603	}
31604	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31605		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31606	}
31607	if s.PartitionInput == nil {
31608		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
31609	}
31610	if s.PartitionValueList == nil {
31611		invalidParams.Add(request.NewErrParamRequired("PartitionValueList"))
31612	}
31613	if s.TableName == nil {
31614		invalidParams.Add(request.NewErrParamRequired("TableName"))
31615	}
31616	if s.TableName != nil && len(*s.TableName) < 1 {
31617		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
31618	}
31619	if s.PartitionInput != nil {
31620		if err := s.PartitionInput.Validate(); err != nil {
31621			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
31622		}
31623	}
31624
31625	if invalidParams.Len() > 0 {
31626		return invalidParams
31627	}
31628	return nil
31629}
31630
31631// SetCatalogId sets the CatalogId field's value.
31632func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput {
31633	s.CatalogId = &v
31634	return s
31635}
31636
31637// SetDatabaseName sets the DatabaseName field's value.
31638func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput {
31639	s.DatabaseName = &v
31640	return s
31641}
31642
31643// SetPartitionInput sets the PartitionInput field's value.
31644func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput {
31645	s.PartitionInput = v
31646	return s
31647}
31648
31649// SetPartitionValueList sets the PartitionValueList field's value.
31650func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput {
31651	s.PartitionValueList = v
31652	return s
31653}
31654
31655// SetTableName sets the TableName field's value.
31656func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput {
31657	s.TableName = &v
31658	return s
31659}
31660
31661type UpdatePartitionOutput struct {
31662	_ struct{} `type:"structure"`
31663}
31664
31665// String returns the string representation
31666func (s UpdatePartitionOutput) String() string {
31667	return awsutil.Prettify(s)
31668}
31669
31670// GoString returns the string representation
31671func (s UpdatePartitionOutput) GoString() string {
31672	return s.String()
31673}
31674
31675type UpdateTableInput struct {
31676	_ struct{} `type:"structure"`
31677
31678	// The ID of the Data Catalog where the table resides. If none is provided,
31679	// the AWS account ID is used by default.
31680	CatalogId *string `min:"1" type:"string"`
31681
31682	// The name of the catalog database in which the table resides. For Hive compatibility,
31683	// this name is entirely lowercase.
31684	//
31685	// DatabaseName is a required field
31686	DatabaseName *string `min:"1" type:"string" required:"true"`
31687
31688	// By default, UpdateTable always creates an archived version of the table before
31689	// updating it. However, if skipArchive is set to true, UpdateTable does not
31690	// create the archived version.
31691	SkipArchive *bool `type:"boolean"`
31692
31693	// An updated TableInput object to define the metadata table in the catalog.
31694	//
31695	// TableInput is a required field
31696	TableInput *TableInput `type:"structure" required:"true"`
31697}
31698
31699// String returns the string representation
31700func (s UpdateTableInput) String() string {
31701	return awsutil.Prettify(s)
31702}
31703
31704// GoString returns the string representation
31705func (s UpdateTableInput) GoString() string {
31706	return s.String()
31707}
31708
31709// Validate inspects the fields of the type to determine if they are valid.
31710func (s *UpdateTableInput) Validate() error {
31711	invalidParams := request.ErrInvalidParams{Context: "UpdateTableInput"}
31712	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31713		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31714	}
31715	if s.DatabaseName == nil {
31716		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31717	}
31718	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31719		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31720	}
31721	if s.TableInput == nil {
31722		invalidParams.Add(request.NewErrParamRequired("TableInput"))
31723	}
31724	if s.TableInput != nil {
31725		if err := s.TableInput.Validate(); err != nil {
31726			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
31727		}
31728	}
31729
31730	if invalidParams.Len() > 0 {
31731		return invalidParams
31732	}
31733	return nil
31734}
31735
31736// SetCatalogId sets the CatalogId field's value.
31737func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput {
31738	s.CatalogId = &v
31739	return s
31740}
31741
31742// SetDatabaseName sets the DatabaseName field's value.
31743func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput {
31744	s.DatabaseName = &v
31745	return s
31746}
31747
31748// SetSkipArchive sets the SkipArchive field's value.
31749func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput {
31750	s.SkipArchive = &v
31751	return s
31752}
31753
31754// SetTableInput sets the TableInput field's value.
31755func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput {
31756	s.TableInput = v
31757	return s
31758}
31759
31760type UpdateTableOutput struct {
31761	_ struct{} `type:"structure"`
31762}
31763
31764// String returns the string representation
31765func (s UpdateTableOutput) String() string {
31766	return awsutil.Prettify(s)
31767}
31768
31769// GoString returns the string representation
31770func (s UpdateTableOutput) GoString() string {
31771	return s.String()
31772}
31773
31774type UpdateTriggerInput struct {
31775	_ struct{} `type:"structure"`
31776
31777	// The name of the trigger to update.
31778	//
31779	// Name is a required field
31780	Name *string `min:"1" type:"string" required:"true"`
31781
31782	// The new values with which to update the trigger.
31783	//
31784	// TriggerUpdate is a required field
31785	TriggerUpdate *TriggerUpdate `type:"structure" required:"true"`
31786}
31787
31788// String returns the string representation
31789func (s UpdateTriggerInput) String() string {
31790	return awsutil.Prettify(s)
31791}
31792
31793// GoString returns the string representation
31794func (s UpdateTriggerInput) GoString() string {
31795	return s.String()
31796}
31797
31798// Validate inspects the fields of the type to determine if they are valid.
31799func (s *UpdateTriggerInput) Validate() error {
31800	invalidParams := request.ErrInvalidParams{Context: "UpdateTriggerInput"}
31801	if s.Name == nil {
31802		invalidParams.Add(request.NewErrParamRequired("Name"))
31803	}
31804	if s.Name != nil && len(*s.Name) < 1 {
31805		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31806	}
31807	if s.TriggerUpdate == nil {
31808		invalidParams.Add(request.NewErrParamRequired("TriggerUpdate"))
31809	}
31810	if s.TriggerUpdate != nil {
31811		if err := s.TriggerUpdate.Validate(); err != nil {
31812			invalidParams.AddNested("TriggerUpdate", err.(request.ErrInvalidParams))
31813		}
31814	}
31815
31816	if invalidParams.Len() > 0 {
31817		return invalidParams
31818	}
31819	return nil
31820}
31821
31822// SetName sets the Name field's value.
31823func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput {
31824	s.Name = &v
31825	return s
31826}
31827
31828// SetTriggerUpdate sets the TriggerUpdate field's value.
31829func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput {
31830	s.TriggerUpdate = v
31831	return s
31832}
31833
31834type UpdateTriggerOutput struct {
31835	_ struct{} `type:"structure"`
31836
31837	// The resulting trigger definition.
31838	Trigger *Trigger `type:"structure"`
31839}
31840
31841// String returns the string representation
31842func (s UpdateTriggerOutput) String() string {
31843	return awsutil.Prettify(s)
31844}
31845
31846// GoString returns the string representation
31847func (s UpdateTriggerOutput) GoString() string {
31848	return s.String()
31849}
31850
31851// SetTrigger sets the Trigger field's value.
31852func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput {
31853	s.Trigger = v
31854	return s
31855}
31856
31857type UpdateUserDefinedFunctionInput struct {
31858	_ struct{} `type:"structure"`
31859
31860	// The ID of the Data Catalog where the function to be updated is located. If
31861	// none is provided, the AWS account ID is used by default.
31862	CatalogId *string `min:"1" type:"string"`
31863
31864	// The name of the catalog database where the function to be updated is located.
31865	//
31866	// DatabaseName is a required field
31867	DatabaseName *string `min:"1" type:"string" required:"true"`
31868
31869	// A FunctionInput object that redefines the function in the Data Catalog.
31870	//
31871	// FunctionInput is a required field
31872	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
31873
31874	// The name of the function.
31875	//
31876	// FunctionName is a required field
31877	FunctionName *string `min:"1" type:"string" required:"true"`
31878}
31879
31880// String returns the string representation
31881func (s UpdateUserDefinedFunctionInput) String() string {
31882	return awsutil.Prettify(s)
31883}
31884
31885// GoString returns the string representation
31886func (s UpdateUserDefinedFunctionInput) GoString() string {
31887	return s.String()
31888}
31889
31890// Validate inspects the fields of the type to determine if they are valid.
31891func (s *UpdateUserDefinedFunctionInput) Validate() error {
31892	invalidParams := request.ErrInvalidParams{Context: "UpdateUserDefinedFunctionInput"}
31893	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31894		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31895	}
31896	if s.DatabaseName == nil {
31897		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31898	}
31899	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31900		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31901	}
31902	if s.FunctionInput == nil {
31903		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
31904	}
31905	if s.FunctionName == nil {
31906		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
31907	}
31908	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
31909		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
31910	}
31911	if s.FunctionInput != nil {
31912		if err := s.FunctionInput.Validate(); err != nil {
31913			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
31914		}
31915	}
31916
31917	if invalidParams.Len() > 0 {
31918		return invalidParams
31919	}
31920	return nil
31921}
31922
31923// SetCatalogId sets the CatalogId field's value.
31924func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput {
31925	s.CatalogId = &v
31926	return s
31927}
31928
31929// SetDatabaseName sets the DatabaseName field's value.
31930func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput {
31931	s.DatabaseName = &v
31932	return s
31933}
31934
31935// SetFunctionInput sets the FunctionInput field's value.
31936func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput {
31937	s.FunctionInput = v
31938	return s
31939}
31940
31941// SetFunctionName sets the FunctionName field's value.
31942func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput {
31943	s.FunctionName = &v
31944	return s
31945}
31946
31947type UpdateUserDefinedFunctionOutput struct {
31948	_ struct{} `type:"structure"`
31949}
31950
31951// String returns the string representation
31952func (s UpdateUserDefinedFunctionOutput) String() string {
31953	return awsutil.Prettify(s)
31954}
31955
31956// GoString returns the string representation
31957func (s UpdateUserDefinedFunctionOutput) GoString() string {
31958	return s.String()
31959}
31960
31961type UpdateWorkflowInput struct {
31962	_ struct{} `type:"structure"`
31963
31964	// A collection of properties to be used as part of each execution of the workflow.
31965	DefaultRunProperties map[string]*string `type:"map"`
31966
31967	// The description of the workflow.
31968	Description *string `type:"string"`
31969
31970	// Name of the workflow to be updated.
31971	//
31972	// Name is a required field
31973	Name *string `min:"1" type:"string" required:"true"`
31974}
31975
31976// String returns the string representation
31977func (s UpdateWorkflowInput) String() string {
31978	return awsutil.Prettify(s)
31979}
31980
31981// GoString returns the string representation
31982func (s UpdateWorkflowInput) GoString() string {
31983	return s.String()
31984}
31985
31986// Validate inspects the fields of the type to determine if they are valid.
31987func (s *UpdateWorkflowInput) Validate() error {
31988	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"}
31989	if s.Name == nil {
31990		invalidParams.Add(request.NewErrParamRequired("Name"))
31991	}
31992	if s.Name != nil && len(*s.Name) < 1 {
31993		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31994	}
31995
31996	if invalidParams.Len() > 0 {
31997		return invalidParams
31998	}
31999	return nil
32000}
32001
32002// SetDefaultRunProperties sets the DefaultRunProperties field's value.
32003func (s *UpdateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *UpdateWorkflowInput {
32004	s.DefaultRunProperties = v
32005	return s
32006}
32007
32008// SetDescription sets the Description field's value.
32009func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput {
32010	s.Description = &v
32011	return s
32012}
32013
32014// SetName sets the Name field's value.
32015func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput {
32016	s.Name = &v
32017	return s
32018}
32019
32020type UpdateWorkflowOutput struct {
32021	_ struct{} `type:"structure"`
32022
32023	// The name of the workflow which was specified in input.
32024	Name *string `min:"1" type:"string"`
32025}
32026
32027// String returns the string representation
32028func (s UpdateWorkflowOutput) String() string {
32029	return awsutil.Prettify(s)
32030}
32031
32032// GoString returns the string representation
32033func (s UpdateWorkflowOutput) GoString() string {
32034	return s.String()
32035}
32036
32037// SetName sets the Name field's value.
32038func (s *UpdateWorkflowOutput) SetName(v string) *UpdateWorkflowOutput {
32039	s.Name = &v
32040	return s
32041}
32042
32043// Specifies an XML classifier to be updated.
32044type UpdateXMLClassifierRequest struct {
32045	_ struct{} `type:"structure"`
32046
32047	// An identifier of the data format that the classifier matches.
32048	Classification *string `type:"string"`
32049
32050	// The name of the classifier.
32051	//
32052	// Name is a required field
32053	Name *string `min:"1" type:"string" required:"true"`
32054
32055	// The XML tag designating the element that contains each record in an XML document
32056	// being parsed. This cannot identify a self-closing element (closed by />).
32057	// An empty row element that contains only attributes can be parsed as long
32058	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
32059	// is okay, but <row item_a="A" item_b="B" /> is not).
32060	RowTag *string `type:"string"`
32061}
32062
32063// String returns the string representation
32064func (s UpdateXMLClassifierRequest) String() string {
32065	return awsutil.Prettify(s)
32066}
32067
32068// GoString returns the string representation
32069func (s UpdateXMLClassifierRequest) GoString() string {
32070	return s.String()
32071}
32072
32073// Validate inspects the fields of the type to determine if they are valid.
32074func (s *UpdateXMLClassifierRequest) Validate() error {
32075	invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"}
32076	if s.Name == nil {
32077		invalidParams.Add(request.NewErrParamRequired("Name"))
32078	}
32079	if s.Name != nil && len(*s.Name) < 1 {
32080		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32081	}
32082
32083	if invalidParams.Len() > 0 {
32084		return invalidParams
32085	}
32086	return nil
32087}
32088
32089// SetClassification sets the Classification field's value.
32090func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest {
32091	s.Classification = &v
32092	return s
32093}
32094
32095// SetName sets the Name field's value.
32096func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest {
32097	s.Name = &v
32098	return s
32099}
32100
32101// SetRowTag sets the RowTag field's value.
32102func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest {
32103	s.RowTag = &v
32104	return s
32105}
32106
32107// Represents the equivalent of a Hive user-defined function (UDF) definition.
32108type UserDefinedFunction struct {
32109	_ struct{} `type:"structure"`
32110
32111	// The Java class that contains the function code.
32112	ClassName *string `min:"1" type:"string"`
32113
32114	// The time at which the function was created.
32115	CreateTime *time.Time `type:"timestamp"`
32116
32117	// The name of the function.
32118	FunctionName *string `min:"1" type:"string"`
32119
32120	// The owner of the function.
32121	OwnerName *string `min:"1" type:"string"`
32122
32123	// The owner type.
32124	OwnerType *string `type:"string" enum:"PrincipalType"`
32125
32126	// The resource URIs for the function.
32127	ResourceUris []*ResourceUri `type:"list"`
32128}
32129
32130// String returns the string representation
32131func (s UserDefinedFunction) String() string {
32132	return awsutil.Prettify(s)
32133}
32134
32135// GoString returns the string representation
32136func (s UserDefinedFunction) GoString() string {
32137	return s.String()
32138}
32139
32140// SetClassName sets the ClassName field's value.
32141func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction {
32142	s.ClassName = &v
32143	return s
32144}
32145
32146// SetCreateTime sets the CreateTime field's value.
32147func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction {
32148	s.CreateTime = &v
32149	return s
32150}
32151
32152// SetFunctionName sets the FunctionName field's value.
32153func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction {
32154	s.FunctionName = &v
32155	return s
32156}
32157
32158// SetOwnerName sets the OwnerName field's value.
32159func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction {
32160	s.OwnerName = &v
32161	return s
32162}
32163
32164// SetOwnerType sets the OwnerType field's value.
32165func (s *UserDefinedFunction) SetOwnerType(v string) *UserDefinedFunction {
32166	s.OwnerType = &v
32167	return s
32168}
32169
32170// SetResourceUris sets the ResourceUris field's value.
32171func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunction {
32172	s.ResourceUris = v
32173	return s
32174}
32175
32176// A structure used to create or update a user-defined function.
32177type UserDefinedFunctionInput struct {
32178	_ struct{} `type:"structure"`
32179
32180	// The Java class that contains the function code.
32181	ClassName *string `min:"1" type:"string"`
32182
32183	// The name of the function.
32184	FunctionName *string `min:"1" type:"string"`
32185
32186	// The owner of the function.
32187	OwnerName *string `min:"1" type:"string"`
32188
32189	// The owner type.
32190	OwnerType *string `type:"string" enum:"PrincipalType"`
32191
32192	// The resource URIs for the function.
32193	ResourceUris []*ResourceUri `type:"list"`
32194}
32195
32196// String returns the string representation
32197func (s UserDefinedFunctionInput) String() string {
32198	return awsutil.Prettify(s)
32199}
32200
32201// GoString returns the string representation
32202func (s UserDefinedFunctionInput) GoString() string {
32203	return s.String()
32204}
32205
32206// Validate inspects the fields of the type to determine if they are valid.
32207func (s *UserDefinedFunctionInput) Validate() error {
32208	invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"}
32209	if s.ClassName != nil && len(*s.ClassName) < 1 {
32210		invalidParams.Add(request.NewErrParamMinLen("ClassName", 1))
32211	}
32212	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
32213		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
32214	}
32215	if s.OwnerName != nil && len(*s.OwnerName) < 1 {
32216		invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1))
32217	}
32218	if s.ResourceUris != nil {
32219		for i, v := range s.ResourceUris {
32220			if v == nil {
32221				continue
32222			}
32223			if err := v.Validate(); err != nil {
32224				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams))
32225			}
32226		}
32227	}
32228
32229	if invalidParams.Len() > 0 {
32230		return invalidParams
32231	}
32232	return nil
32233}
32234
32235// SetClassName sets the ClassName field's value.
32236func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput {
32237	s.ClassName = &v
32238	return s
32239}
32240
32241// SetFunctionName sets the FunctionName field's value.
32242func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput {
32243	s.FunctionName = &v
32244	return s
32245}
32246
32247// SetOwnerName sets the OwnerName field's value.
32248func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput {
32249	s.OwnerName = &v
32250	return s
32251}
32252
32253// SetOwnerType sets the OwnerType field's value.
32254func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput {
32255	s.OwnerType = &v
32256	return s
32257}
32258
32259// SetResourceUris sets the ResourceUris field's value.
32260func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput {
32261	s.ResourceUris = v
32262	return s
32263}
32264
32265// A workflow represents a flow in which AWS Glue components should be executed
32266// to complete a logical task.
32267type Workflow struct {
32268	_ struct{} `type:"structure"`
32269
32270	// The date and time when the workflow was created.
32271	CreatedOn *time.Time `type:"timestamp"`
32272
32273	// A collection of properties to be used as part of each execution of the workflow.
32274	DefaultRunProperties map[string]*string `type:"map"`
32275
32276	// A description of the workflow.
32277	Description *string `type:"string"`
32278
32279	// The graph representing all the AWS Glue components that belong to the workflow
32280	// as nodes and directed connections between them as edges.
32281	Graph *WorkflowGraph `type:"structure"`
32282
32283	// The date and time when the workflow was last modified.
32284	LastModifiedOn *time.Time `type:"timestamp"`
32285
32286	// The information about the last execution of the workflow.
32287	LastRun *WorkflowRun `type:"structure"`
32288
32289	// The name of the workflow representing the flow.
32290	Name *string `min:"1" type:"string"`
32291}
32292
32293// String returns the string representation
32294func (s Workflow) String() string {
32295	return awsutil.Prettify(s)
32296}
32297
32298// GoString returns the string representation
32299func (s Workflow) GoString() string {
32300	return s.String()
32301}
32302
32303// SetCreatedOn sets the CreatedOn field's value.
32304func (s *Workflow) SetCreatedOn(v time.Time) *Workflow {
32305	s.CreatedOn = &v
32306	return s
32307}
32308
32309// SetDefaultRunProperties sets the DefaultRunProperties field's value.
32310func (s *Workflow) SetDefaultRunProperties(v map[string]*string) *Workflow {
32311	s.DefaultRunProperties = v
32312	return s
32313}
32314
32315// SetDescription sets the Description field's value.
32316func (s *Workflow) SetDescription(v string) *Workflow {
32317	s.Description = &v
32318	return s
32319}
32320
32321// SetGraph sets the Graph field's value.
32322func (s *Workflow) SetGraph(v *WorkflowGraph) *Workflow {
32323	s.Graph = v
32324	return s
32325}
32326
32327// SetLastModifiedOn sets the LastModifiedOn field's value.
32328func (s *Workflow) SetLastModifiedOn(v time.Time) *Workflow {
32329	s.LastModifiedOn = &v
32330	return s
32331}
32332
32333// SetLastRun sets the LastRun field's value.
32334func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow {
32335	s.LastRun = v
32336	return s
32337}
32338
32339// SetName sets the Name field's value.
32340func (s *Workflow) SetName(v string) *Workflow {
32341	s.Name = &v
32342	return s
32343}
32344
32345// A workflow graph represents the complete workflow containing all the AWS
32346// Glue components present in the workflow and all the directed connections
32347// between them.
32348type WorkflowGraph struct {
32349	_ struct{} `type:"structure"`
32350
32351	// A list of all the directed connections between the nodes belonging to the
32352	// workflow.
32353	Edges []*Edge `type:"list"`
32354
32355	// A list of the the AWS Glue components belong to the workflow represented
32356	// as nodes.
32357	Nodes []*Node `type:"list"`
32358}
32359
32360// String returns the string representation
32361func (s WorkflowGraph) String() string {
32362	return awsutil.Prettify(s)
32363}
32364
32365// GoString returns the string representation
32366func (s WorkflowGraph) GoString() string {
32367	return s.String()
32368}
32369
32370// SetEdges sets the Edges field's value.
32371func (s *WorkflowGraph) SetEdges(v []*Edge) *WorkflowGraph {
32372	s.Edges = v
32373	return s
32374}
32375
32376// SetNodes sets the Nodes field's value.
32377func (s *WorkflowGraph) SetNodes(v []*Node) *WorkflowGraph {
32378	s.Nodes = v
32379	return s
32380}
32381
32382// A workflow run is an execution of a workflow providing all the runtime information.
32383type WorkflowRun struct {
32384	_ struct{} `type:"structure"`
32385
32386	// The date and time when the workflow run completed.
32387	CompletedOn *time.Time `type:"timestamp"`
32388
32389	// The graph representing all the AWS Glue components that belong to the workflow
32390	// as nodes and directed connections between them as edges.
32391	Graph *WorkflowGraph `type:"structure"`
32392
32393	// Name of the workflow which was executed.
32394	Name *string `min:"1" type:"string"`
32395
32396	// The date and time when the workflow run was started.
32397	StartedOn *time.Time `type:"timestamp"`
32398
32399	// The statistics of the run.
32400	Statistics *WorkflowRunStatistics `type:"structure"`
32401
32402	// The status of the workflow run.
32403	Status *string `type:"string" enum:"WorkflowRunStatus"`
32404
32405	// The ID of this workflow run.
32406	WorkflowRunId *string `min:"1" type:"string"`
32407
32408	// The workflow run properties which were set during the run.
32409	WorkflowRunProperties map[string]*string `type:"map"`
32410}
32411
32412// String returns the string representation
32413func (s WorkflowRun) String() string {
32414	return awsutil.Prettify(s)
32415}
32416
32417// GoString returns the string representation
32418func (s WorkflowRun) GoString() string {
32419	return s.String()
32420}
32421
32422// SetCompletedOn sets the CompletedOn field's value.
32423func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun {
32424	s.CompletedOn = &v
32425	return s
32426}
32427
32428// SetGraph sets the Graph field's value.
32429func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun {
32430	s.Graph = v
32431	return s
32432}
32433
32434// SetName sets the Name field's value.
32435func (s *WorkflowRun) SetName(v string) *WorkflowRun {
32436	s.Name = &v
32437	return s
32438}
32439
32440// SetStartedOn sets the StartedOn field's value.
32441func (s *WorkflowRun) SetStartedOn(v time.Time) *WorkflowRun {
32442	s.StartedOn = &v
32443	return s
32444}
32445
32446// SetStatistics sets the Statistics field's value.
32447func (s *WorkflowRun) SetStatistics(v *WorkflowRunStatistics) *WorkflowRun {
32448	s.Statistics = v
32449	return s
32450}
32451
32452// SetStatus sets the Status field's value.
32453func (s *WorkflowRun) SetStatus(v string) *WorkflowRun {
32454	s.Status = &v
32455	return s
32456}
32457
32458// SetWorkflowRunId sets the WorkflowRunId field's value.
32459func (s *WorkflowRun) SetWorkflowRunId(v string) *WorkflowRun {
32460	s.WorkflowRunId = &v
32461	return s
32462}
32463
32464// SetWorkflowRunProperties sets the WorkflowRunProperties field's value.
32465func (s *WorkflowRun) SetWorkflowRunProperties(v map[string]*string) *WorkflowRun {
32466	s.WorkflowRunProperties = v
32467	return s
32468}
32469
32470// Workflow run statistics provides statistics about the workflow run.
32471type WorkflowRunStatistics struct {
32472	_ struct{} `type:"structure"`
32473
32474	// Total number of Actions which have failed.
32475	FailedActions *int64 `type:"integer"`
32476
32477	// Total number Actions in running state.
32478	RunningActions *int64 `type:"integer"`
32479
32480	// Total number of Actions which have stopped.
32481	StoppedActions *int64 `type:"integer"`
32482
32483	// Total number of Actions which have succeeded.
32484	SucceededActions *int64 `type:"integer"`
32485
32486	// Total number of Actions which timed out.
32487	TimeoutActions *int64 `type:"integer"`
32488
32489	// Total number of Actions in the workflow run.
32490	TotalActions *int64 `type:"integer"`
32491}
32492
32493// String returns the string representation
32494func (s WorkflowRunStatistics) String() string {
32495	return awsutil.Prettify(s)
32496}
32497
32498// GoString returns the string representation
32499func (s WorkflowRunStatistics) GoString() string {
32500	return s.String()
32501}
32502
32503// SetFailedActions sets the FailedActions field's value.
32504func (s *WorkflowRunStatistics) SetFailedActions(v int64) *WorkflowRunStatistics {
32505	s.FailedActions = &v
32506	return s
32507}
32508
32509// SetRunningActions sets the RunningActions field's value.
32510func (s *WorkflowRunStatistics) SetRunningActions(v int64) *WorkflowRunStatistics {
32511	s.RunningActions = &v
32512	return s
32513}
32514
32515// SetStoppedActions sets the StoppedActions field's value.
32516func (s *WorkflowRunStatistics) SetStoppedActions(v int64) *WorkflowRunStatistics {
32517	s.StoppedActions = &v
32518	return s
32519}
32520
32521// SetSucceededActions sets the SucceededActions field's value.
32522func (s *WorkflowRunStatistics) SetSucceededActions(v int64) *WorkflowRunStatistics {
32523	s.SucceededActions = &v
32524	return s
32525}
32526
32527// SetTimeoutActions sets the TimeoutActions field's value.
32528func (s *WorkflowRunStatistics) SetTimeoutActions(v int64) *WorkflowRunStatistics {
32529	s.TimeoutActions = &v
32530	return s
32531}
32532
32533// SetTotalActions sets the TotalActions field's value.
32534func (s *WorkflowRunStatistics) SetTotalActions(v int64) *WorkflowRunStatistics {
32535	s.TotalActions = &v
32536	return s
32537}
32538
32539// A classifier for XML content.
32540type XMLClassifier struct {
32541	_ struct{} `type:"structure"`
32542
32543	// An identifier of the data format that the classifier matches.
32544	//
32545	// Classification is a required field
32546	Classification *string `type:"string" required:"true"`
32547
32548	// The time that this classifier was registered.
32549	CreationTime *time.Time `type:"timestamp"`
32550
32551	// The time that this classifier was last updated.
32552	LastUpdated *time.Time `type:"timestamp"`
32553
32554	// The name of the classifier.
32555	//
32556	// Name is a required field
32557	Name *string `min:"1" type:"string" required:"true"`
32558
32559	// The XML tag designating the element that contains each record in an XML document
32560	// being parsed. This can't identify a self-closing element (closed by />).
32561	// An empty row element that contains only attributes can be parsed as long
32562	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
32563	// is okay, but <row item_a="A" item_b="B" /> is not).
32564	RowTag *string `type:"string"`
32565
32566	// The version of this classifier.
32567	Version *int64 `type:"long"`
32568}
32569
32570// String returns the string representation
32571func (s XMLClassifier) String() string {
32572	return awsutil.Prettify(s)
32573}
32574
32575// GoString returns the string representation
32576func (s XMLClassifier) GoString() string {
32577	return s.String()
32578}
32579
32580// SetClassification sets the Classification field's value.
32581func (s *XMLClassifier) SetClassification(v string) *XMLClassifier {
32582	s.Classification = &v
32583	return s
32584}
32585
32586// SetCreationTime sets the CreationTime field's value.
32587func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier {
32588	s.CreationTime = &v
32589	return s
32590}
32591
32592// SetLastUpdated sets the LastUpdated field's value.
32593func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier {
32594	s.LastUpdated = &v
32595	return s
32596}
32597
32598// SetName sets the Name field's value.
32599func (s *XMLClassifier) SetName(v string) *XMLClassifier {
32600	s.Name = &v
32601	return s
32602}
32603
32604// SetRowTag sets the RowTag field's value.
32605func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier {
32606	s.RowTag = &v
32607	return s
32608}
32609
32610// SetVersion sets the Version field's value.
32611func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier {
32612	s.Version = &v
32613	return s
32614}
32615
32616const (
32617	// CatalogEncryptionModeDisabled is a CatalogEncryptionMode enum value
32618	CatalogEncryptionModeDisabled = "DISABLED"
32619
32620	// CatalogEncryptionModeSseKms is a CatalogEncryptionMode enum value
32621	CatalogEncryptionModeSseKms = "SSE-KMS"
32622)
32623
32624const (
32625	// CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value
32626	CloudWatchEncryptionModeDisabled = "DISABLED"
32627
32628	// CloudWatchEncryptionModeSseKms is a CloudWatchEncryptionMode enum value
32629	CloudWatchEncryptionModeSseKms = "SSE-KMS"
32630)
32631
32632const (
32633	// ComparatorEquals is a Comparator enum value
32634	ComparatorEquals = "EQUALS"
32635
32636	// ComparatorGreaterThan is a Comparator enum value
32637	ComparatorGreaterThan = "GREATER_THAN"
32638
32639	// ComparatorLessThan is a Comparator enum value
32640	ComparatorLessThan = "LESS_THAN"
32641
32642	// ComparatorGreaterThanEquals is a Comparator enum value
32643	ComparatorGreaterThanEquals = "GREATER_THAN_EQUALS"
32644
32645	// ComparatorLessThanEquals is a Comparator enum value
32646	ComparatorLessThanEquals = "LESS_THAN_EQUALS"
32647)
32648
32649const (
32650	// ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value
32651	ConnectionPropertyKeyHost = "HOST"
32652
32653	// ConnectionPropertyKeyPort is a ConnectionPropertyKey enum value
32654	ConnectionPropertyKeyPort = "PORT"
32655
32656	// ConnectionPropertyKeyUsername is a ConnectionPropertyKey enum value
32657	ConnectionPropertyKeyUsername = "USERNAME"
32658
32659	// ConnectionPropertyKeyPassword is a ConnectionPropertyKey enum value
32660	ConnectionPropertyKeyPassword = "PASSWORD"
32661
32662	// ConnectionPropertyKeyEncryptedPassword is a ConnectionPropertyKey enum value
32663	ConnectionPropertyKeyEncryptedPassword = "ENCRYPTED_PASSWORD"
32664
32665	// ConnectionPropertyKeyJdbcDriverJarUri is a ConnectionPropertyKey enum value
32666	ConnectionPropertyKeyJdbcDriverJarUri = "JDBC_DRIVER_JAR_URI"
32667
32668	// ConnectionPropertyKeyJdbcDriverClassName is a ConnectionPropertyKey enum value
32669	ConnectionPropertyKeyJdbcDriverClassName = "JDBC_DRIVER_CLASS_NAME"
32670
32671	// ConnectionPropertyKeyJdbcEngine is a ConnectionPropertyKey enum value
32672	ConnectionPropertyKeyJdbcEngine = "JDBC_ENGINE"
32673
32674	// ConnectionPropertyKeyJdbcEngineVersion is a ConnectionPropertyKey enum value
32675	ConnectionPropertyKeyJdbcEngineVersion = "JDBC_ENGINE_VERSION"
32676
32677	// ConnectionPropertyKeyConfigFiles is a ConnectionPropertyKey enum value
32678	ConnectionPropertyKeyConfigFiles = "CONFIG_FILES"
32679
32680	// ConnectionPropertyKeyInstanceId is a ConnectionPropertyKey enum value
32681	ConnectionPropertyKeyInstanceId = "INSTANCE_ID"
32682
32683	// ConnectionPropertyKeyJdbcConnectionUrl is a ConnectionPropertyKey enum value
32684	ConnectionPropertyKeyJdbcConnectionUrl = "JDBC_CONNECTION_URL"
32685
32686	// ConnectionPropertyKeyJdbcEnforceSsl is a ConnectionPropertyKey enum value
32687	ConnectionPropertyKeyJdbcEnforceSsl = "JDBC_ENFORCE_SSL"
32688
32689	// ConnectionPropertyKeyCustomJdbcCert is a ConnectionPropertyKey enum value
32690	ConnectionPropertyKeyCustomJdbcCert = "CUSTOM_JDBC_CERT"
32691
32692	// ConnectionPropertyKeySkipCustomJdbcCertValidation is a ConnectionPropertyKey enum value
32693	ConnectionPropertyKeySkipCustomJdbcCertValidation = "SKIP_CUSTOM_JDBC_CERT_VALIDATION"
32694
32695	// ConnectionPropertyKeyCustomJdbcCertString is a ConnectionPropertyKey enum value
32696	ConnectionPropertyKeyCustomJdbcCertString = "CUSTOM_JDBC_CERT_STRING"
32697)
32698
32699const (
32700	// ConnectionTypeJdbc is a ConnectionType enum value
32701	ConnectionTypeJdbc = "JDBC"
32702
32703	// ConnectionTypeSftp is a ConnectionType enum value
32704	ConnectionTypeSftp = "SFTP"
32705)
32706
32707const (
32708	// CrawlStateRunning is a CrawlState enum value
32709	CrawlStateRunning = "RUNNING"
32710
32711	// CrawlStateSucceeded is a CrawlState enum value
32712	CrawlStateSucceeded = "SUCCEEDED"
32713
32714	// CrawlStateCancelled is a CrawlState enum value
32715	CrawlStateCancelled = "CANCELLED"
32716
32717	// CrawlStateFailed is a CrawlState enum value
32718	CrawlStateFailed = "FAILED"
32719)
32720
32721const (
32722	// CrawlerStateReady is a CrawlerState enum value
32723	CrawlerStateReady = "READY"
32724
32725	// CrawlerStateRunning is a CrawlerState enum value
32726	CrawlerStateRunning = "RUNNING"
32727
32728	// CrawlerStateStopping is a CrawlerState enum value
32729	CrawlerStateStopping = "STOPPING"
32730)
32731
32732const (
32733	// CsvHeaderOptionUnknown is a CsvHeaderOption enum value
32734	CsvHeaderOptionUnknown = "UNKNOWN"
32735
32736	// CsvHeaderOptionPresent is a CsvHeaderOption enum value
32737	CsvHeaderOptionPresent = "PRESENT"
32738
32739	// CsvHeaderOptionAbsent is a CsvHeaderOption enum value
32740	CsvHeaderOptionAbsent = "ABSENT"
32741)
32742
32743const (
32744	// DeleteBehaviorLog is a DeleteBehavior enum value
32745	DeleteBehaviorLog = "LOG"
32746
32747	// DeleteBehaviorDeleteFromDatabase is a DeleteBehavior enum value
32748	DeleteBehaviorDeleteFromDatabase = "DELETE_FROM_DATABASE"
32749
32750	// DeleteBehaviorDeprecateInDatabase is a DeleteBehavior enum value
32751	DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE"
32752)
32753
32754const (
32755	// ExistConditionMustExist is a ExistCondition enum value
32756	ExistConditionMustExist = "MUST_EXIST"
32757
32758	// ExistConditionNotExist is a ExistCondition enum value
32759	ExistConditionNotExist = "NOT_EXIST"
32760
32761	// ExistConditionNone is a ExistCondition enum value
32762	ExistConditionNone = "NONE"
32763)
32764
32765const (
32766	// JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value
32767	JobBookmarksEncryptionModeDisabled = "DISABLED"
32768
32769	// JobBookmarksEncryptionModeCseKms is a JobBookmarksEncryptionMode enum value
32770	JobBookmarksEncryptionModeCseKms = "CSE-KMS"
32771)
32772
32773const (
32774	// JobRunStateStarting is a JobRunState enum value
32775	JobRunStateStarting = "STARTING"
32776
32777	// JobRunStateRunning is a JobRunState enum value
32778	JobRunStateRunning = "RUNNING"
32779
32780	// JobRunStateStopping is a JobRunState enum value
32781	JobRunStateStopping = "STOPPING"
32782
32783	// JobRunStateStopped is a JobRunState enum value
32784	JobRunStateStopped = "STOPPED"
32785
32786	// JobRunStateSucceeded is a JobRunState enum value
32787	JobRunStateSucceeded = "SUCCEEDED"
32788
32789	// JobRunStateFailed is a JobRunState enum value
32790	JobRunStateFailed = "FAILED"
32791
32792	// JobRunStateTimeout is a JobRunState enum value
32793	JobRunStateTimeout = "TIMEOUT"
32794)
32795
32796const (
32797	// LanguagePython is a Language enum value
32798	LanguagePython = "PYTHON"
32799
32800	// LanguageScala is a Language enum value
32801	LanguageScala = "SCALA"
32802)
32803
32804const (
32805	// LastCrawlStatusSucceeded is a LastCrawlStatus enum value
32806	LastCrawlStatusSucceeded = "SUCCEEDED"
32807
32808	// LastCrawlStatusCancelled is a LastCrawlStatus enum value
32809	LastCrawlStatusCancelled = "CANCELLED"
32810
32811	// LastCrawlStatusFailed is a LastCrawlStatus enum value
32812	LastCrawlStatusFailed = "FAILED"
32813)
32814
32815const (
32816	// LogicalAnd is a Logical enum value
32817	LogicalAnd = "AND"
32818
32819	// LogicalAny is a Logical enum value
32820	LogicalAny = "ANY"
32821)
32822
32823const (
32824	// LogicalOperatorEquals is a LogicalOperator enum value
32825	LogicalOperatorEquals = "EQUALS"
32826)
32827
32828const (
32829	// NodeTypeCrawler is a NodeType enum value
32830	NodeTypeCrawler = "CRAWLER"
32831
32832	// NodeTypeJob is a NodeType enum value
32833	NodeTypeJob = "JOB"
32834
32835	// NodeTypeTrigger is a NodeType enum value
32836	NodeTypeTrigger = "TRIGGER"
32837)
32838
32839const (
32840	// PermissionAll is a Permission enum value
32841	PermissionAll = "ALL"
32842
32843	// PermissionSelect is a Permission enum value
32844	PermissionSelect = "SELECT"
32845
32846	// PermissionAlter is a Permission enum value
32847	PermissionAlter = "ALTER"
32848
32849	// PermissionDrop is a Permission enum value
32850	PermissionDrop = "DROP"
32851
32852	// PermissionDelete is a Permission enum value
32853	PermissionDelete = "DELETE"
32854
32855	// PermissionInsert is a Permission enum value
32856	PermissionInsert = "INSERT"
32857
32858	// PermissionCreateDatabase is a Permission enum value
32859	PermissionCreateDatabase = "CREATE_DATABASE"
32860
32861	// PermissionCreateTable is a Permission enum value
32862	PermissionCreateTable = "CREATE_TABLE"
32863
32864	// PermissionDataLocationAccess is a Permission enum value
32865	PermissionDataLocationAccess = "DATA_LOCATION_ACCESS"
32866)
32867
32868const (
32869	// PrincipalTypeUser is a PrincipalType enum value
32870	PrincipalTypeUser = "USER"
32871
32872	// PrincipalTypeRole is a PrincipalType enum value
32873	PrincipalTypeRole = "ROLE"
32874
32875	// PrincipalTypeGroup is a PrincipalType enum value
32876	PrincipalTypeGroup = "GROUP"
32877)
32878
32879const (
32880	// ResourceTypeJar is a ResourceType enum value
32881	ResourceTypeJar = "JAR"
32882
32883	// ResourceTypeFile is a ResourceType enum value
32884	ResourceTypeFile = "FILE"
32885
32886	// ResourceTypeArchive is a ResourceType enum value
32887	ResourceTypeArchive = "ARCHIVE"
32888)
32889
32890const (
32891	// S3EncryptionModeDisabled is a S3EncryptionMode enum value
32892	S3EncryptionModeDisabled = "DISABLED"
32893
32894	// S3EncryptionModeSseKms is a S3EncryptionMode enum value
32895	S3EncryptionModeSseKms = "SSE-KMS"
32896
32897	// S3EncryptionModeSseS3 is a S3EncryptionMode enum value
32898	S3EncryptionModeSseS3 = "SSE-S3"
32899)
32900
32901const (
32902	// ScheduleStateScheduled is a ScheduleState enum value
32903	ScheduleStateScheduled = "SCHEDULED"
32904
32905	// ScheduleStateNotScheduled is a ScheduleState enum value
32906	ScheduleStateNotScheduled = "NOT_SCHEDULED"
32907
32908	// ScheduleStateTransitioning is a ScheduleState enum value
32909	ScheduleStateTransitioning = "TRANSITIONING"
32910)
32911
32912const (
32913	// SortAsc is a Sort enum value
32914	SortAsc = "ASC"
32915
32916	// SortDesc is a Sort enum value
32917	SortDesc = "DESC"
32918)
32919
32920const (
32921	// SortDirectionTypeDescending is a SortDirectionType enum value
32922	SortDirectionTypeDescending = "DESCENDING"
32923
32924	// SortDirectionTypeAscending is a SortDirectionType enum value
32925	SortDirectionTypeAscending = "ASCENDING"
32926)
32927
32928const (
32929	// TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value
32930	TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE"
32931
32932	// TaskRunSortColumnTypeStatus is a TaskRunSortColumnType enum value
32933	TaskRunSortColumnTypeStatus = "STATUS"
32934
32935	// TaskRunSortColumnTypeStarted is a TaskRunSortColumnType enum value
32936	TaskRunSortColumnTypeStarted = "STARTED"
32937)
32938
32939const (
32940	// TaskStatusTypeStarting is a TaskStatusType enum value
32941	TaskStatusTypeStarting = "STARTING"
32942
32943	// TaskStatusTypeRunning is a TaskStatusType enum value
32944	TaskStatusTypeRunning = "RUNNING"
32945
32946	// TaskStatusTypeStopping is a TaskStatusType enum value
32947	TaskStatusTypeStopping = "STOPPING"
32948
32949	// TaskStatusTypeStopped is a TaskStatusType enum value
32950	TaskStatusTypeStopped = "STOPPED"
32951
32952	// TaskStatusTypeSucceeded is a TaskStatusType enum value
32953	TaskStatusTypeSucceeded = "SUCCEEDED"
32954
32955	// TaskStatusTypeFailed is a TaskStatusType enum value
32956	TaskStatusTypeFailed = "FAILED"
32957
32958	// TaskStatusTypeTimeout is a TaskStatusType enum value
32959	TaskStatusTypeTimeout = "TIMEOUT"
32960)
32961
32962const (
32963	// TaskTypeEvaluation is a TaskType enum value
32964	TaskTypeEvaluation = "EVALUATION"
32965
32966	// TaskTypeLabelingSetGeneration is a TaskType enum value
32967	TaskTypeLabelingSetGeneration = "LABELING_SET_GENERATION"
32968
32969	// TaskTypeImportLabels is a TaskType enum value
32970	TaskTypeImportLabels = "IMPORT_LABELS"
32971
32972	// TaskTypeExportLabels is a TaskType enum value
32973	TaskTypeExportLabels = "EXPORT_LABELS"
32974
32975	// TaskTypeFindMatches is a TaskType enum value
32976	TaskTypeFindMatches = "FIND_MATCHES"
32977)
32978
32979const (
32980	// TransformSortColumnTypeName is a TransformSortColumnType enum value
32981	TransformSortColumnTypeName = "NAME"
32982
32983	// TransformSortColumnTypeTransformType is a TransformSortColumnType enum value
32984	TransformSortColumnTypeTransformType = "TRANSFORM_TYPE"
32985
32986	// TransformSortColumnTypeStatus is a TransformSortColumnType enum value
32987	TransformSortColumnTypeStatus = "STATUS"
32988
32989	// TransformSortColumnTypeCreated is a TransformSortColumnType enum value
32990	TransformSortColumnTypeCreated = "CREATED"
32991
32992	// TransformSortColumnTypeLastModified is a TransformSortColumnType enum value
32993	TransformSortColumnTypeLastModified = "LAST_MODIFIED"
32994)
32995
32996const (
32997	// TransformStatusTypeNotReady is a TransformStatusType enum value
32998	TransformStatusTypeNotReady = "NOT_READY"
32999
33000	// TransformStatusTypeReady is a TransformStatusType enum value
33001	TransformStatusTypeReady = "READY"
33002
33003	// TransformStatusTypeDeleting is a TransformStatusType enum value
33004	TransformStatusTypeDeleting = "DELETING"
33005)
33006
33007const (
33008	// TransformTypeFindMatches is a TransformType enum value
33009	TransformTypeFindMatches = "FIND_MATCHES"
33010)
33011
33012const (
33013	// TriggerStateCreating is a TriggerState enum value
33014	TriggerStateCreating = "CREATING"
33015
33016	// TriggerStateCreated is a TriggerState enum value
33017	TriggerStateCreated = "CREATED"
33018
33019	// TriggerStateActivating is a TriggerState enum value
33020	TriggerStateActivating = "ACTIVATING"
33021
33022	// TriggerStateActivated is a TriggerState enum value
33023	TriggerStateActivated = "ACTIVATED"
33024
33025	// TriggerStateDeactivating is a TriggerState enum value
33026	TriggerStateDeactivating = "DEACTIVATING"
33027
33028	// TriggerStateDeactivated is a TriggerState enum value
33029	TriggerStateDeactivated = "DEACTIVATED"
33030
33031	// TriggerStateDeleting is a TriggerState enum value
33032	TriggerStateDeleting = "DELETING"
33033
33034	// TriggerStateUpdating is a TriggerState enum value
33035	TriggerStateUpdating = "UPDATING"
33036)
33037
33038const (
33039	// TriggerTypeScheduled is a TriggerType enum value
33040	TriggerTypeScheduled = "SCHEDULED"
33041
33042	// TriggerTypeConditional is a TriggerType enum value
33043	TriggerTypeConditional = "CONDITIONAL"
33044
33045	// TriggerTypeOnDemand is a TriggerType enum value
33046	TriggerTypeOnDemand = "ON_DEMAND"
33047)
33048
33049const (
33050	// UpdateBehaviorLog is a UpdateBehavior enum value
33051	UpdateBehaviorLog = "LOG"
33052
33053	// UpdateBehaviorUpdateInDatabase is a UpdateBehavior enum value
33054	UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE"
33055)
33056
33057const (
33058	// WorkerTypeStandard is a WorkerType enum value
33059	WorkerTypeStandard = "Standard"
33060
33061	// WorkerTypeG1x is a WorkerType enum value
33062	WorkerTypeG1x = "G.1X"
33063
33064	// WorkerTypeG2x is a WorkerType enum value
33065	WorkerTypeG2x = "G.2X"
33066)
33067
33068const (
33069	// WorkflowRunStatusRunning is a WorkflowRunStatus enum value
33070	WorkflowRunStatusRunning = "RUNNING"
33071
33072	// WorkflowRunStatusCompleted is a WorkflowRunStatus enum value
33073	WorkflowRunStatusCompleted = "COMPLETED"
33074)
33075