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	cont := true
4155	for p.Next() && cont {
4156		cont = fn(p.Page().(*GetClassifiersOutput), !p.HasNextPage())
4157	}
4158	return p.Err()
4159}
4160
4161const opGetConnection = "GetConnection"
4162
4163// GetConnectionRequest generates a "aws/request.Request" representing the
4164// client's request for the GetConnection operation. The "output" return
4165// value will be populated with the request's response once the request completes
4166// successfully.
4167//
4168// Use "Send" method on the returned Request to send the API call to the service.
4169// the "output" return value is not valid until after Send returns without error.
4170//
4171// See GetConnection for more information on using the GetConnection
4172// API call, and error handling.
4173//
4174// This method is useful when you want to inject custom logic or configuration
4175// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4176//
4177//
4178//    // Example sending a request using the GetConnectionRequest method.
4179//    req, resp := client.GetConnectionRequest(params)
4180//
4181//    err := req.Send()
4182//    if err == nil { // resp is now filled
4183//        fmt.Println(resp)
4184//    }
4185//
4186// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
4187func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) {
4188	op := &request.Operation{
4189		Name:       opGetConnection,
4190		HTTPMethod: "POST",
4191		HTTPPath:   "/",
4192	}
4193
4194	if input == nil {
4195		input = &GetConnectionInput{}
4196	}
4197
4198	output = &GetConnectionOutput{}
4199	req = c.newRequest(op, input, output)
4200	return
4201}
4202
4203// GetConnection API operation for AWS Glue.
4204//
4205// Retrieves a connection definition from the Data Catalog.
4206//
4207// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4208// with awserr.Error's Code and Message methods to get detailed information about
4209// the error.
4210//
4211// See the AWS API reference guide for AWS Glue's
4212// API operation GetConnection for usage and error information.
4213//
4214// Returned Error Codes:
4215//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4216//   A specified entity does not exist
4217//
4218//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4219//   The operation timed out.
4220//
4221//   * ErrCodeInvalidInputException "InvalidInputException"
4222//   The input provided was not valid.
4223//
4224//   * ErrCodeEncryptionException "GlueEncryptionException"
4225//   An encryption operation failed.
4226//
4227// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection
4228func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) {
4229	req, out := c.GetConnectionRequest(input)
4230	return out, req.Send()
4231}
4232
4233// GetConnectionWithContext is the same as GetConnection with the addition of
4234// the ability to pass a context and additional request options.
4235//
4236// See GetConnection for details on how to use this API operation.
4237//
4238// The context must be non-nil and will be used for request cancellation. If
4239// the context is nil a panic will occur. In the future the SDK may create
4240// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4241// for more information on using Contexts.
4242func (c *Glue) GetConnectionWithContext(ctx aws.Context, input *GetConnectionInput, opts ...request.Option) (*GetConnectionOutput, error) {
4243	req, out := c.GetConnectionRequest(input)
4244	req.SetContext(ctx)
4245	req.ApplyOptions(opts...)
4246	return out, req.Send()
4247}
4248
4249const opGetConnections = "GetConnections"
4250
4251// GetConnectionsRequest generates a "aws/request.Request" representing the
4252// client's request for the GetConnections operation. The "output" return
4253// value will be populated with the request's response once the request completes
4254// successfully.
4255//
4256// Use "Send" method on the returned Request to send the API call to the service.
4257// the "output" return value is not valid until after Send returns without error.
4258//
4259// See GetConnections for more information on using the GetConnections
4260// API call, and error handling.
4261//
4262// This method is useful when you want to inject custom logic or configuration
4263// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4264//
4265//
4266//    // Example sending a request using the GetConnectionsRequest method.
4267//    req, resp := client.GetConnectionsRequest(params)
4268//
4269//    err := req.Send()
4270//    if err == nil { // resp is now filled
4271//        fmt.Println(resp)
4272//    }
4273//
4274// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
4275func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) {
4276	op := &request.Operation{
4277		Name:       opGetConnections,
4278		HTTPMethod: "POST",
4279		HTTPPath:   "/",
4280		Paginator: &request.Paginator{
4281			InputTokens:     []string{"NextToken"},
4282			OutputTokens:    []string{"NextToken"},
4283			LimitToken:      "MaxResults",
4284			TruncationToken: "",
4285		},
4286	}
4287
4288	if input == nil {
4289		input = &GetConnectionsInput{}
4290	}
4291
4292	output = &GetConnectionsOutput{}
4293	req = c.newRequest(op, input, output)
4294	return
4295}
4296
4297// GetConnections API operation for AWS Glue.
4298//
4299// Retrieves a list of connection definitions from the Data Catalog.
4300//
4301// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4302// with awserr.Error's Code and Message methods to get detailed information about
4303// the error.
4304//
4305// See the AWS API reference guide for AWS Glue's
4306// API operation GetConnections for usage and error information.
4307//
4308// Returned Error Codes:
4309//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4310//   A specified entity does not exist
4311//
4312//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4313//   The operation timed out.
4314//
4315//   * ErrCodeInvalidInputException "InvalidInputException"
4316//   The input provided was not valid.
4317//
4318//   * ErrCodeEncryptionException "GlueEncryptionException"
4319//   An encryption operation failed.
4320//
4321// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections
4322func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) {
4323	req, out := c.GetConnectionsRequest(input)
4324	return out, req.Send()
4325}
4326
4327// GetConnectionsWithContext is the same as GetConnections with the addition of
4328// the ability to pass a context and additional request options.
4329//
4330// See GetConnections for details on how to use this API operation.
4331//
4332// The context must be non-nil and will be used for request cancellation. If
4333// the context is nil a panic will occur. In the future the SDK may create
4334// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4335// for more information on using Contexts.
4336func (c *Glue) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error) {
4337	req, out := c.GetConnectionsRequest(input)
4338	req.SetContext(ctx)
4339	req.ApplyOptions(opts...)
4340	return out, req.Send()
4341}
4342
4343// GetConnectionsPages iterates over the pages of a GetConnections operation,
4344// calling the "fn" function with the response data for each page. To stop
4345// iterating, return false from the fn function.
4346//
4347// See GetConnections method for more information on how to use this operation.
4348//
4349// Note: This operation can generate multiple requests to a service.
4350//
4351//    // Example iterating over at most 3 pages of a GetConnections operation.
4352//    pageNum := 0
4353//    err := client.GetConnectionsPages(params,
4354//        func(page *glue.GetConnectionsOutput, lastPage bool) bool {
4355//            pageNum++
4356//            fmt.Println(page)
4357//            return pageNum <= 3
4358//        })
4359//
4360func (c *Glue) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error {
4361	return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn)
4362}
4363
4364// GetConnectionsPagesWithContext same as GetConnectionsPages except
4365// it takes a Context and allows setting request options on the pages.
4366//
4367// The context must be non-nil and will be used for request cancellation. If
4368// the context is nil a panic will occur. In the future the SDK may create
4369// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4370// for more information on using Contexts.
4371func (c *Glue) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error {
4372	p := request.Pagination{
4373		NewRequest: func() (*request.Request, error) {
4374			var inCpy *GetConnectionsInput
4375			if input != nil {
4376				tmp := *input
4377				inCpy = &tmp
4378			}
4379			req, _ := c.GetConnectionsRequest(inCpy)
4380			req.SetContext(ctx)
4381			req.ApplyOptions(opts...)
4382			return req, nil
4383		},
4384	}
4385
4386	cont := true
4387	for p.Next() && cont {
4388		cont = fn(p.Page().(*GetConnectionsOutput), !p.HasNextPage())
4389	}
4390	return p.Err()
4391}
4392
4393const opGetCrawler = "GetCrawler"
4394
4395// GetCrawlerRequest generates a "aws/request.Request" representing the
4396// client's request for the GetCrawler operation. The "output" return
4397// value will be populated with the request's response once the request completes
4398// successfully.
4399//
4400// Use "Send" method on the returned Request to send the API call to the service.
4401// the "output" return value is not valid until after Send returns without error.
4402//
4403// See GetCrawler for more information on using the GetCrawler
4404// API call, and error handling.
4405//
4406// This method is useful when you want to inject custom logic or configuration
4407// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4408//
4409//
4410//    // Example sending a request using the GetCrawlerRequest method.
4411//    req, resp := client.GetCrawlerRequest(params)
4412//
4413//    err := req.Send()
4414//    if err == nil { // resp is now filled
4415//        fmt.Println(resp)
4416//    }
4417//
4418// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
4419func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) {
4420	op := &request.Operation{
4421		Name:       opGetCrawler,
4422		HTTPMethod: "POST",
4423		HTTPPath:   "/",
4424	}
4425
4426	if input == nil {
4427		input = &GetCrawlerInput{}
4428	}
4429
4430	output = &GetCrawlerOutput{}
4431	req = c.newRequest(op, input, output)
4432	return
4433}
4434
4435// GetCrawler API operation for AWS Glue.
4436//
4437// Retrieves metadata for a specified crawler.
4438//
4439// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4440// with awserr.Error's Code and Message methods to get detailed information about
4441// the error.
4442//
4443// See the AWS API reference guide for AWS Glue's
4444// API operation GetCrawler for usage and error information.
4445//
4446// Returned Error Codes:
4447//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4448//   A specified entity does not exist
4449//
4450//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4451//   The operation timed out.
4452//
4453// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler
4454func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) {
4455	req, out := c.GetCrawlerRequest(input)
4456	return out, req.Send()
4457}
4458
4459// GetCrawlerWithContext is the same as GetCrawler with the addition of
4460// the ability to pass a context and additional request options.
4461//
4462// See GetCrawler for details on how to use this API operation.
4463//
4464// The context must be non-nil and will be used for request cancellation. If
4465// the context is nil a panic will occur. In the future the SDK may create
4466// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4467// for more information on using Contexts.
4468func (c *Glue) GetCrawlerWithContext(ctx aws.Context, input *GetCrawlerInput, opts ...request.Option) (*GetCrawlerOutput, error) {
4469	req, out := c.GetCrawlerRequest(input)
4470	req.SetContext(ctx)
4471	req.ApplyOptions(opts...)
4472	return out, req.Send()
4473}
4474
4475const opGetCrawlerMetrics = "GetCrawlerMetrics"
4476
4477// GetCrawlerMetricsRequest generates a "aws/request.Request" representing the
4478// client's request for the GetCrawlerMetrics operation. The "output" return
4479// value will be populated with the request's response once the request completes
4480// successfully.
4481//
4482// Use "Send" method on the returned Request to send the API call to the service.
4483// the "output" return value is not valid until after Send returns without error.
4484//
4485// See GetCrawlerMetrics for more information on using the GetCrawlerMetrics
4486// API call, and error handling.
4487//
4488// This method is useful when you want to inject custom logic or configuration
4489// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4490//
4491//
4492//    // Example sending a request using the GetCrawlerMetricsRequest method.
4493//    req, resp := client.GetCrawlerMetricsRequest(params)
4494//
4495//    err := req.Send()
4496//    if err == nil { // resp is now filled
4497//        fmt.Println(resp)
4498//    }
4499//
4500// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
4501func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) {
4502	op := &request.Operation{
4503		Name:       opGetCrawlerMetrics,
4504		HTTPMethod: "POST",
4505		HTTPPath:   "/",
4506		Paginator: &request.Paginator{
4507			InputTokens:     []string{"NextToken"},
4508			OutputTokens:    []string{"NextToken"},
4509			LimitToken:      "MaxResults",
4510			TruncationToken: "",
4511		},
4512	}
4513
4514	if input == nil {
4515		input = &GetCrawlerMetricsInput{}
4516	}
4517
4518	output = &GetCrawlerMetricsOutput{}
4519	req = c.newRequest(op, input, output)
4520	return
4521}
4522
4523// GetCrawlerMetrics API operation for AWS Glue.
4524//
4525// Retrieves metrics about specified crawlers.
4526//
4527// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4528// with awserr.Error's Code and Message methods to get detailed information about
4529// the error.
4530//
4531// See the AWS API reference guide for AWS Glue's
4532// API operation GetCrawlerMetrics for usage and error information.
4533//
4534// Returned Error Codes:
4535//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4536//   The operation timed out.
4537//
4538// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics
4539func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) {
4540	req, out := c.GetCrawlerMetricsRequest(input)
4541	return out, req.Send()
4542}
4543
4544// GetCrawlerMetricsWithContext is the same as GetCrawlerMetrics with the addition of
4545// the ability to pass a context and additional request options.
4546//
4547// See GetCrawlerMetrics for details on how to use this API operation.
4548//
4549// The context must be non-nil and will be used for request cancellation. If
4550// the context is nil a panic will occur. In the future the SDK may create
4551// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4552// for more information on using Contexts.
4553func (c *Glue) GetCrawlerMetricsWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, opts ...request.Option) (*GetCrawlerMetricsOutput, error) {
4554	req, out := c.GetCrawlerMetricsRequest(input)
4555	req.SetContext(ctx)
4556	req.ApplyOptions(opts...)
4557	return out, req.Send()
4558}
4559
4560// GetCrawlerMetricsPages iterates over the pages of a GetCrawlerMetrics operation,
4561// calling the "fn" function with the response data for each page. To stop
4562// iterating, return false from the fn function.
4563//
4564// See GetCrawlerMetrics method for more information on how to use this operation.
4565//
4566// Note: This operation can generate multiple requests to a service.
4567//
4568//    // Example iterating over at most 3 pages of a GetCrawlerMetrics operation.
4569//    pageNum := 0
4570//    err := client.GetCrawlerMetricsPages(params,
4571//        func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool {
4572//            pageNum++
4573//            fmt.Println(page)
4574//            return pageNum <= 3
4575//        })
4576//
4577func (c *Glue) GetCrawlerMetricsPages(input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool) error {
4578	return c.GetCrawlerMetricsPagesWithContext(aws.BackgroundContext(), input, fn)
4579}
4580
4581// GetCrawlerMetricsPagesWithContext same as GetCrawlerMetricsPages except
4582// it takes a Context and allows setting request options on the pages.
4583//
4584// The context must be non-nil and will be used for request cancellation. If
4585// the context is nil a panic will occur. In the future the SDK may create
4586// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4587// for more information on using Contexts.
4588func (c *Glue) GetCrawlerMetricsPagesWithContext(ctx aws.Context, input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool, opts ...request.Option) error {
4589	p := request.Pagination{
4590		NewRequest: func() (*request.Request, error) {
4591			var inCpy *GetCrawlerMetricsInput
4592			if input != nil {
4593				tmp := *input
4594				inCpy = &tmp
4595			}
4596			req, _ := c.GetCrawlerMetricsRequest(inCpy)
4597			req.SetContext(ctx)
4598			req.ApplyOptions(opts...)
4599			return req, nil
4600		},
4601	}
4602
4603	cont := true
4604	for p.Next() && cont {
4605		cont = fn(p.Page().(*GetCrawlerMetricsOutput), !p.HasNextPage())
4606	}
4607	return p.Err()
4608}
4609
4610const opGetCrawlers = "GetCrawlers"
4611
4612// GetCrawlersRequest generates a "aws/request.Request" representing the
4613// client's request for the GetCrawlers operation. The "output" return
4614// value will be populated with the request's response once the request completes
4615// successfully.
4616//
4617// Use "Send" method on the returned Request to send the API call to the service.
4618// the "output" return value is not valid until after Send returns without error.
4619//
4620// See GetCrawlers for more information on using the GetCrawlers
4621// API call, and error handling.
4622//
4623// This method is useful when you want to inject custom logic or configuration
4624// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4625//
4626//
4627//    // Example sending a request using the GetCrawlersRequest method.
4628//    req, resp := client.GetCrawlersRequest(params)
4629//
4630//    err := req.Send()
4631//    if err == nil { // resp is now filled
4632//        fmt.Println(resp)
4633//    }
4634//
4635// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
4636func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) {
4637	op := &request.Operation{
4638		Name:       opGetCrawlers,
4639		HTTPMethod: "POST",
4640		HTTPPath:   "/",
4641		Paginator: &request.Paginator{
4642			InputTokens:     []string{"NextToken"},
4643			OutputTokens:    []string{"NextToken"},
4644			LimitToken:      "MaxResults",
4645			TruncationToken: "",
4646		},
4647	}
4648
4649	if input == nil {
4650		input = &GetCrawlersInput{}
4651	}
4652
4653	output = &GetCrawlersOutput{}
4654	req = c.newRequest(op, input, output)
4655	return
4656}
4657
4658// GetCrawlers API operation for AWS Glue.
4659//
4660// Retrieves metadata for all crawlers defined in the customer account.
4661//
4662// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4663// with awserr.Error's Code and Message methods to get detailed information about
4664// the error.
4665//
4666// See the AWS API reference guide for AWS Glue's
4667// API operation GetCrawlers for usage and error information.
4668//
4669// Returned Error Codes:
4670//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4671//   The operation timed out.
4672//
4673// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers
4674func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) {
4675	req, out := c.GetCrawlersRequest(input)
4676	return out, req.Send()
4677}
4678
4679// GetCrawlersWithContext is the same as GetCrawlers with the addition of
4680// the ability to pass a context and additional request options.
4681//
4682// See GetCrawlers for details on how to use this API operation.
4683//
4684// The context must be non-nil and will be used for request cancellation. If
4685// the context is nil a panic will occur. In the future the SDK may create
4686// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4687// for more information on using Contexts.
4688func (c *Glue) GetCrawlersWithContext(ctx aws.Context, input *GetCrawlersInput, opts ...request.Option) (*GetCrawlersOutput, error) {
4689	req, out := c.GetCrawlersRequest(input)
4690	req.SetContext(ctx)
4691	req.ApplyOptions(opts...)
4692	return out, req.Send()
4693}
4694
4695// GetCrawlersPages iterates over the pages of a GetCrawlers operation,
4696// calling the "fn" function with the response data for each page. To stop
4697// iterating, return false from the fn function.
4698//
4699// See GetCrawlers method for more information on how to use this operation.
4700//
4701// Note: This operation can generate multiple requests to a service.
4702//
4703//    // Example iterating over at most 3 pages of a GetCrawlers operation.
4704//    pageNum := 0
4705//    err := client.GetCrawlersPages(params,
4706//        func(page *glue.GetCrawlersOutput, lastPage bool) bool {
4707//            pageNum++
4708//            fmt.Println(page)
4709//            return pageNum <= 3
4710//        })
4711//
4712func (c *Glue) GetCrawlersPages(input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool) error {
4713	return c.GetCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
4714}
4715
4716// GetCrawlersPagesWithContext same as GetCrawlersPages except
4717// it takes a Context and allows setting request options on the pages.
4718//
4719// The context must be non-nil and will be used for request cancellation. If
4720// the context is nil a panic will occur. In the future the SDK may create
4721// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4722// for more information on using Contexts.
4723func (c *Glue) GetCrawlersPagesWithContext(ctx aws.Context, input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool, opts ...request.Option) error {
4724	p := request.Pagination{
4725		NewRequest: func() (*request.Request, error) {
4726			var inCpy *GetCrawlersInput
4727			if input != nil {
4728				tmp := *input
4729				inCpy = &tmp
4730			}
4731			req, _ := c.GetCrawlersRequest(inCpy)
4732			req.SetContext(ctx)
4733			req.ApplyOptions(opts...)
4734			return req, nil
4735		},
4736	}
4737
4738	cont := true
4739	for p.Next() && cont {
4740		cont = fn(p.Page().(*GetCrawlersOutput), !p.HasNextPage())
4741	}
4742	return p.Err()
4743}
4744
4745const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings"
4746
4747// GetDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
4748// client's request for the GetDataCatalogEncryptionSettings operation. The "output" return
4749// value will be populated with the request's response once the request completes
4750// successfully.
4751//
4752// Use "Send" method on the returned Request to send the API call to the service.
4753// the "output" return value is not valid until after Send returns without error.
4754//
4755// See GetDataCatalogEncryptionSettings for more information on using the GetDataCatalogEncryptionSettings
4756// API call, and error handling.
4757//
4758// This method is useful when you want to inject custom logic or configuration
4759// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4760//
4761//
4762//    // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method.
4763//    req, resp := client.GetDataCatalogEncryptionSettingsRequest(params)
4764//
4765//    err := req.Send()
4766//    if err == nil { // resp is now filled
4767//        fmt.Println(resp)
4768//    }
4769//
4770// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings
4771func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) {
4772	op := &request.Operation{
4773		Name:       opGetDataCatalogEncryptionSettings,
4774		HTTPMethod: "POST",
4775		HTTPPath:   "/",
4776	}
4777
4778	if input == nil {
4779		input = &GetDataCatalogEncryptionSettingsInput{}
4780	}
4781
4782	output = &GetDataCatalogEncryptionSettingsOutput{}
4783	req = c.newRequest(op, input, output)
4784	return
4785}
4786
4787// GetDataCatalogEncryptionSettings API operation for AWS Glue.
4788//
4789// Retrieves the security configuration for a specified catalog.
4790//
4791// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4792// with awserr.Error's Code and Message methods to get detailed information about
4793// the error.
4794//
4795// See the AWS API reference guide for AWS Glue's
4796// API operation GetDataCatalogEncryptionSettings for usage and error information.
4797//
4798// Returned Error Codes:
4799//   * ErrCodeInternalServiceException "InternalServiceException"
4800//   An internal service error occurred.
4801//
4802//   * ErrCodeInvalidInputException "InvalidInputException"
4803//   The input provided was not valid.
4804//
4805//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4806//   The operation timed out.
4807//
4808// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings
4809func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) {
4810	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
4811	return out, req.Send()
4812}
4813
4814// GetDataCatalogEncryptionSettingsWithContext is the same as GetDataCatalogEncryptionSettings with the addition of
4815// the ability to pass a context and additional request options.
4816//
4817// See GetDataCatalogEncryptionSettings for details on how to use this API operation.
4818//
4819// The context must be non-nil and will be used for request cancellation. If
4820// the context is nil a panic will occur. In the future the SDK may create
4821// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4822// for more information on using Contexts.
4823func (c *Glue) GetDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *GetDataCatalogEncryptionSettingsInput, opts ...request.Option) (*GetDataCatalogEncryptionSettingsOutput, error) {
4824	req, out := c.GetDataCatalogEncryptionSettingsRequest(input)
4825	req.SetContext(ctx)
4826	req.ApplyOptions(opts...)
4827	return out, req.Send()
4828}
4829
4830const opGetDatabase = "GetDatabase"
4831
4832// GetDatabaseRequest generates a "aws/request.Request" representing the
4833// client's request for the GetDatabase operation. The "output" return
4834// value will be populated with the request's response once the request completes
4835// successfully.
4836//
4837// Use "Send" method on the returned Request to send the API call to the service.
4838// the "output" return value is not valid until after Send returns without error.
4839//
4840// See GetDatabase for more information on using the GetDatabase
4841// API call, and error handling.
4842//
4843// This method is useful when you want to inject custom logic or configuration
4844// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4845//
4846//
4847//    // Example sending a request using the GetDatabaseRequest method.
4848//    req, resp := client.GetDatabaseRequest(params)
4849//
4850//    err := req.Send()
4851//    if err == nil { // resp is now filled
4852//        fmt.Println(resp)
4853//    }
4854//
4855// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
4856func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) {
4857	op := &request.Operation{
4858		Name:       opGetDatabase,
4859		HTTPMethod: "POST",
4860		HTTPPath:   "/",
4861	}
4862
4863	if input == nil {
4864		input = &GetDatabaseInput{}
4865	}
4866
4867	output = &GetDatabaseOutput{}
4868	req = c.newRequest(op, input, output)
4869	return
4870}
4871
4872// GetDatabase API operation for AWS Glue.
4873//
4874// Retrieves the definition of a specified database.
4875//
4876// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4877// with awserr.Error's Code and Message methods to get detailed information about
4878// the error.
4879//
4880// See the AWS API reference guide for AWS Glue's
4881// API operation GetDatabase for usage and error information.
4882//
4883// Returned Error Codes:
4884//   * ErrCodeInvalidInputException "InvalidInputException"
4885//   The input provided was not valid.
4886//
4887//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
4888//   A specified entity does not exist
4889//
4890//   * ErrCodeInternalServiceException "InternalServiceException"
4891//   An internal service error occurred.
4892//
4893//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4894//   The operation timed out.
4895//
4896//   * ErrCodeEncryptionException "GlueEncryptionException"
4897//   An encryption operation failed.
4898//
4899// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase
4900func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) {
4901	req, out := c.GetDatabaseRequest(input)
4902	return out, req.Send()
4903}
4904
4905// GetDatabaseWithContext is the same as GetDatabase with the addition of
4906// the ability to pass a context and additional request options.
4907//
4908// See GetDatabase for details on how to use this API operation.
4909//
4910// The context must be non-nil and will be used for request cancellation. If
4911// the context is nil a panic will occur. In the future the SDK may create
4912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4913// for more information on using Contexts.
4914func (c *Glue) GetDatabaseWithContext(ctx aws.Context, input *GetDatabaseInput, opts ...request.Option) (*GetDatabaseOutput, error) {
4915	req, out := c.GetDatabaseRequest(input)
4916	req.SetContext(ctx)
4917	req.ApplyOptions(opts...)
4918	return out, req.Send()
4919}
4920
4921const opGetDatabases = "GetDatabases"
4922
4923// GetDatabasesRequest generates a "aws/request.Request" representing the
4924// client's request for the GetDatabases operation. The "output" return
4925// value will be populated with the request's response once the request completes
4926// successfully.
4927//
4928// Use "Send" method on the returned Request to send the API call to the service.
4929// the "output" return value is not valid until after Send returns without error.
4930//
4931// See GetDatabases for more information on using the GetDatabases
4932// API call, and error handling.
4933//
4934// This method is useful when you want to inject custom logic or configuration
4935// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4936//
4937//
4938//    // Example sending a request using the GetDatabasesRequest method.
4939//    req, resp := client.GetDatabasesRequest(params)
4940//
4941//    err := req.Send()
4942//    if err == nil { // resp is now filled
4943//        fmt.Println(resp)
4944//    }
4945//
4946// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
4947func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) {
4948	op := &request.Operation{
4949		Name:       opGetDatabases,
4950		HTTPMethod: "POST",
4951		HTTPPath:   "/",
4952		Paginator: &request.Paginator{
4953			InputTokens:     []string{"NextToken"},
4954			OutputTokens:    []string{"NextToken"},
4955			LimitToken:      "MaxResults",
4956			TruncationToken: "",
4957		},
4958	}
4959
4960	if input == nil {
4961		input = &GetDatabasesInput{}
4962	}
4963
4964	output = &GetDatabasesOutput{}
4965	req = c.newRequest(op, input, output)
4966	return
4967}
4968
4969// GetDatabases API operation for AWS Glue.
4970//
4971// Retrieves all databases defined in a given Data Catalog.
4972//
4973// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4974// with awserr.Error's Code and Message methods to get detailed information about
4975// the error.
4976//
4977// See the AWS API reference guide for AWS Glue's
4978// API operation GetDatabases for usage and error information.
4979//
4980// Returned Error Codes:
4981//   * ErrCodeInvalidInputException "InvalidInputException"
4982//   The input provided was not valid.
4983//
4984//   * ErrCodeInternalServiceException "InternalServiceException"
4985//   An internal service error occurred.
4986//
4987//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
4988//   The operation timed out.
4989//
4990//   * ErrCodeEncryptionException "GlueEncryptionException"
4991//   An encryption operation failed.
4992//
4993// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases
4994func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) {
4995	req, out := c.GetDatabasesRequest(input)
4996	return out, req.Send()
4997}
4998
4999// GetDatabasesWithContext is the same as GetDatabases with the addition of
5000// the ability to pass a context and additional request options.
5001//
5002// See GetDatabases for details on how to use this API operation.
5003//
5004// The context must be non-nil and will be used for request cancellation. If
5005// the context is nil a panic will occur. In the future the SDK may create
5006// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5007// for more information on using Contexts.
5008func (c *Glue) GetDatabasesWithContext(ctx aws.Context, input *GetDatabasesInput, opts ...request.Option) (*GetDatabasesOutput, error) {
5009	req, out := c.GetDatabasesRequest(input)
5010	req.SetContext(ctx)
5011	req.ApplyOptions(opts...)
5012	return out, req.Send()
5013}
5014
5015// GetDatabasesPages iterates over the pages of a GetDatabases operation,
5016// calling the "fn" function with the response data for each page. To stop
5017// iterating, return false from the fn function.
5018//
5019// See GetDatabases method for more information on how to use this operation.
5020//
5021// Note: This operation can generate multiple requests to a service.
5022//
5023//    // Example iterating over at most 3 pages of a GetDatabases operation.
5024//    pageNum := 0
5025//    err := client.GetDatabasesPages(params,
5026//        func(page *glue.GetDatabasesOutput, lastPage bool) bool {
5027//            pageNum++
5028//            fmt.Println(page)
5029//            return pageNum <= 3
5030//        })
5031//
5032func (c *Glue) GetDatabasesPages(input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool) error {
5033	return c.GetDatabasesPagesWithContext(aws.BackgroundContext(), input, fn)
5034}
5035
5036// GetDatabasesPagesWithContext same as GetDatabasesPages except
5037// it takes a Context and allows setting request options on the pages.
5038//
5039// The context must be non-nil and will be used for request cancellation. If
5040// the context is nil a panic will occur. In the future the SDK may create
5041// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5042// for more information on using Contexts.
5043func (c *Glue) GetDatabasesPagesWithContext(ctx aws.Context, input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool, opts ...request.Option) error {
5044	p := request.Pagination{
5045		NewRequest: func() (*request.Request, error) {
5046			var inCpy *GetDatabasesInput
5047			if input != nil {
5048				tmp := *input
5049				inCpy = &tmp
5050			}
5051			req, _ := c.GetDatabasesRequest(inCpy)
5052			req.SetContext(ctx)
5053			req.ApplyOptions(opts...)
5054			return req, nil
5055		},
5056	}
5057
5058	cont := true
5059	for p.Next() && cont {
5060		cont = fn(p.Page().(*GetDatabasesOutput), !p.HasNextPage())
5061	}
5062	return p.Err()
5063}
5064
5065const opGetDataflowGraph = "GetDataflowGraph"
5066
5067// GetDataflowGraphRequest generates a "aws/request.Request" representing the
5068// client's request for the GetDataflowGraph operation. The "output" return
5069// value will be populated with the request's response once the request completes
5070// successfully.
5071//
5072// Use "Send" method on the returned Request to send the API call to the service.
5073// the "output" return value is not valid until after Send returns without error.
5074//
5075// See GetDataflowGraph for more information on using the GetDataflowGraph
5076// API call, and error handling.
5077//
5078// This method is useful when you want to inject custom logic or configuration
5079// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5080//
5081//
5082//    // Example sending a request using the GetDataflowGraphRequest method.
5083//    req, resp := client.GetDataflowGraphRequest(params)
5084//
5085//    err := req.Send()
5086//    if err == nil { // resp is now filled
5087//        fmt.Println(resp)
5088//    }
5089//
5090// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
5091func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) {
5092	op := &request.Operation{
5093		Name:       opGetDataflowGraph,
5094		HTTPMethod: "POST",
5095		HTTPPath:   "/",
5096	}
5097
5098	if input == nil {
5099		input = &GetDataflowGraphInput{}
5100	}
5101
5102	output = &GetDataflowGraphOutput{}
5103	req = c.newRequest(op, input, output)
5104	return
5105}
5106
5107// GetDataflowGraph API operation for AWS Glue.
5108//
5109// Transforms a Python script into a directed acyclic graph (DAG).
5110//
5111// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5112// with awserr.Error's Code and Message methods to get detailed information about
5113// the error.
5114//
5115// See the AWS API reference guide for AWS Glue's
5116// API operation GetDataflowGraph for usage and error information.
5117//
5118// Returned Error Codes:
5119//   * ErrCodeInvalidInputException "InvalidInputException"
5120//   The input provided was not valid.
5121//
5122//   * ErrCodeInternalServiceException "InternalServiceException"
5123//   An internal service error occurred.
5124//
5125//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5126//   The operation timed out.
5127//
5128// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph
5129func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) {
5130	req, out := c.GetDataflowGraphRequest(input)
5131	return out, req.Send()
5132}
5133
5134// GetDataflowGraphWithContext is the same as GetDataflowGraph with the addition of
5135// the ability to pass a context and additional request options.
5136//
5137// See GetDataflowGraph for details on how to use this API operation.
5138//
5139// The context must be non-nil and will be used for request cancellation. If
5140// the context is nil a panic will occur. In the future the SDK may create
5141// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5142// for more information on using Contexts.
5143func (c *Glue) GetDataflowGraphWithContext(ctx aws.Context, input *GetDataflowGraphInput, opts ...request.Option) (*GetDataflowGraphOutput, error) {
5144	req, out := c.GetDataflowGraphRequest(input)
5145	req.SetContext(ctx)
5146	req.ApplyOptions(opts...)
5147	return out, req.Send()
5148}
5149
5150const opGetDevEndpoint = "GetDevEndpoint"
5151
5152// GetDevEndpointRequest generates a "aws/request.Request" representing the
5153// client's request for the GetDevEndpoint operation. The "output" return
5154// value will be populated with the request's response once the request completes
5155// successfully.
5156//
5157// Use "Send" method on the returned Request to send the API call to the service.
5158// the "output" return value is not valid until after Send returns without error.
5159//
5160// See GetDevEndpoint for more information on using the GetDevEndpoint
5161// API call, and error handling.
5162//
5163// This method is useful when you want to inject custom logic or configuration
5164// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5165//
5166//
5167//    // Example sending a request using the GetDevEndpointRequest method.
5168//    req, resp := client.GetDevEndpointRequest(params)
5169//
5170//    err := req.Send()
5171//    if err == nil { // resp is now filled
5172//        fmt.Println(resp)
5173//    }
5174//
5175// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
5176func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) {
5177	op := &request.Operation{
5178		Name:       opGetDevEndpoint,
5179		HTTPMethod: "POST",
5180		HTTPPath:   "/",
5181	}
5182
5183	if input == nil {
5184		input = &GetDevEndpointInput{}
5185	}
5186
5187	output = &GetDevEndpointOutput{}
5188	req = c.newRequest(op, input, output)
5189	return
5190}
5191
5192// GetDevEndpoint API operation for AWS Glue.
5193//
5194// Retrieves information about a specified development endpoint.
5195//
5196// When you create a development endpoint in a virtual private cloud (VPC),
5197// AWS Glue returns only a private IP address, and the public IP address field
5198// is not populated. When you create a non-VPC development endpoint, AWS Glue
5199// returns only a public IP address.
5200//
5201// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5202// with awserr.Error's Code and Message methods to get detailed information about
5203// the error.
5204//
5205// See the AWS API reference guide for AWS Glue's
5206// API operation GetDevEndpoint for usage and error information.
5207//
5208// Returned Error Codes:
5209//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5210//   A specified entity does not exist
5211//
5212//   * ErrCodeInternalServiceException "InternalServiceException"
5213//   An internal service error occurred.
5214//
5215//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5216//   The operation timed out.
5217//
5218//   * ErrCodeInvalidInputException "InvalidInputException"
5219//   The input provided was not valid.
5220//
5221// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint
5222func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) {
5223	req, out := c.GetDevEndpointRequest(input)
5224	return out, req.Send()
5225}
5226
5227// GetDevEndpointWithContext is the same as GetDevEndpoint with the addition of
5228// the ability to pass a context and additional request options.
5229//
5230// See GetDevEndpoint for details on how to use this API operation.
5231//
5232// The context must be non-nil and will be used for request cancellation. If
5233// the context is nil a panic will occur. In the future the SDK may create
5234// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5235// for more information on using Contexts.
5236func (c *Glue) GetDevEndpointWithContext(ctx aws.Context, input *GetDevEndpointInput, opts ...request.Option) (*GetDevEndpointOutput, error) {
5237	req, out := c.GetDevEndpointRequest(input)
5238	req.SetContext(ctx)
5239	req.ApplyOptions(opts...)
5240	return out, req.Send()
5241}
5242
5243const opGetDevEndpoints = "GetDevEndpoints"
5244
5245// GetDevEndpointsRequest generates a "aws/request.Request" representing the
5246// client's request for the GetDevEndpoints operation. The "output" return
5247// value will be populated with the request's response once the request completes
5248// successfully.
5249//
5250// Use "Send" method on the returned Request to send the API call to the service.
5251// the "output" return value is not valid until after Send returns without error.
5252//
5253// See GetDevEndpoints for more information on using the GetDevEndpoints
5254// API call, and error handling.
5255//
5256// This method is useful when you want to inject custom logic or configuration
5257// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5258//
5259//
5260//    // Example sending a request using the GetDevEndpointsRequest method.
5261//    req, resp := client.GetDevEndpointsRequest(params)
5262//
5263//    err := req.Send()
5264//    if err == nil { // resp is now filled
5265//        fmt.Println(resp)
5266//    }
5267//
5268// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
5269func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) {
5270	op := &request.Operation{
5271		Name:       opGetDevEndpoints,
5272		HTTPMethod: "POST",
5273		HTTPPath:   "/",
5274		Paginator: &request.Paginator{
5275			InputTokens:     []string{"NextToken"},
5276			OutputTokens:    []string{"NextToken"},
5277			LimitToken:      "MaxResults",
5278			TruncationToken: "",
5279		},
5280	}
5281
5282	if input == nil {
5283		input = &GetDevEndpointsInput{}
5284	}
5285
5286	output = &GetDevEndpointsOutput{}
5287	req = c.newRequest(op, input, output)
5288	return
5289}
5290
5291// GetDevEndpoints API operation for AWS Glue.
5292//
5293// Retrieves all the development endpoints in this AWS account.
5294//
5295// When you create a development endpoint in a virtual private cloud (VPC),
5296// AWS Glue returns only a private IP address and the public IP address field
5297// is not populated. When you create a non-VPC development endpoint, AWS Glue
5298// returns only a public IP address.
5299//
5300// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5301// with awserr.Error's Code and Message methods to get detailed information about
5302// the error.
5303//
5304// See the AWS API reference guide for AWS Glue's
5305// API operation GetDevEndpoints for usage and error information.
5306//
5307// Returned Error Codes:
5308//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5309//   A specified entity does not exist
5310//
5311//   * ErrCodeInternalServiceException "InternalServiceException"
5312//   An internal service error occurred.
5313//
5314//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5315//   The operation timed out.
5316//
5317//   * ErrCodeInvalidInputException "InvalidInputException"
5318//   The input provided was not valid.
5319//
5320// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints
5321func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) {
5322	req, out := c.GetDevEndpointsRequest(input)
5323	return out, req.Send()
5324}
5325
5326// GetDevEndpointsWithContext is the same as GetDevEndpoints with the addition of
5327// the ability to pass a context and additional request options.
5328//
5329// See GetDevEndpoints for details on how to use this API operation.
5330//
5331// The context must be non-nil and will be used for request cancellation. If
5332// the context is nil a panic will occur. In the future the SDK may create
5333// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5334// for more information on using Contexts.
5335func (c *Glue) GetDevEndpointsWithContext(ctx aws.Context, input *GetDevEndpointsInput, opts ...request.Option) (*GetDevEndpointsOutput, error) {
5336	req, out := c.GetDevEndpointsRequest(input)
5337	req.SetContext(ctx)
5338	req.ApplyOptions(opts...)
5339	return out, req.Send()
5340}
5341
5342// GetDevEndpointsPages iterates over the pages of a GetDevEndpoints operation,
5343// calling the "fn" function with the response data for each page. To stop
5344// iterating, return false from the fn function.
5345//
5346// See GetDevEndpoints method for more information on how to use this operation.
5347//
5348// Note: This operation can generate multiple requests to a service.
5349//
5350//    // Example iterating over at most 3 pages of a GetDevEndpoints operation.
5351//    pageNum := 0
5352//    err := client.GetDevEndpointsPages(params,
5353//        func(page *glue.GetDevEndpointsOutput, lastPage bool) bool {
5354//            pageNum++
5355//            fmt.Println(page)
5356//            return pageNum <= 3
5357//        })
5358//
5359func (c *Glue) GetDevEndpointsPages(input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool) error {
5360	return c.GetDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
5361}
5362
5363// GetDevEndpointsPagesWithContext same as GetDevEndpointsPages except
5364// it takes a Context and allows setting request options on the pages.
5365//
5366// The context must be non-nil and will be used for request cancellation. If
5367// the context is nil a panic will occur. In the future the SDK may create
5368// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5369// for more information on using Contexts.
5370func (c *Glue) GetDevEndpointsPagesWithContext(ctx aws.Context, input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool, opts ...request.Option) error {
5371	p := request.Pagination{
5372		NewRequest: func() (*request.Request, error) {
5373			var inCpy *GetDevEndpointsInput
5374			if input != nil {
5375				tmp := *input
5376				inCpy = &tmp
5377			}
5378			req, _ := c.GetDevEndpointsRequest(inCpy)
5379			req.SetContext(ctx)
5380			req.ApplyOptions(opts...)
5381			return req, nil
5382		},
5383	}
5384
5385	cont := true
5386	for p.Next() && cont {
5387		cont = fn(p.Page().(*GetDevEndpointsOutput), !p.HasNextPage())
5388	}
5389	return p.Err()
5390}
5391
5392const opGetJob = "GetJob"
5393
5394// GetJobRequest generates a "aws/request.Request" representing the
5395// client's request for the GetJob operation. The "output" return
5396// value will be populated with the request's response once the request completes
5397// successfully.
5398//
5399// Use "Send" method on the returned Request to send the API call to the service.
5400// the "output" return value is not valid until after Send returns without error.
5401//
5402// See GetJob for more information on using the GetJob
5403// API call, and error handling.
5404//
5405// This method is useful when you want to inject custom logic or configuration
5406// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5407//
5408//
5409//    // Example sending a request using the GetJobRequest method.
5410//    req, resp := client.GetJobRequest(params)
5411//
5412//    err := req.Send()
5413//    if err == nil { // resp is now filled
5414//        fmt.Println(resp)
5415//    }
5416//
5417// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
5418func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) {
5419	op := &request.Operation{
5420		Name:       opGetJob,
5421		HTTPMethod: "POST",
5422		HTTPPath:   "/",
5423	}
5424
5425	if input == nil {
5426		input = &GetJobInput{}
5427	}
5428
5429	output = &GetJobOutput{}
5430	req = c.newRequest(op, input, output)
5431	return
5432}
5433
5434// GetJob API operation for AWS Glue.
5435//
5436// Retrieves an existing job definition.
5437//
5438// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5439// with awserr.Error's Code and Message methods to get detailed information about
5440// the error.
5441//
5442// See the AWS API reference guide for AWS Glue's
5443// API operation GetJob for usage and error information.
5444//
5445// Returned Error Codes:
5446//   * ErrCodeInvalidInputException "InvalidInputException"
5447//   The input provided was not valid.
5448//
5449//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5450//   A specified entity does not exist
5451//
5452//   * ErrCodeInternalServiceException "InternalServiceException"
5453//   An internal service error occurred.
5454//
5455//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5456//   The operation timed out.
5457//
5458// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob
5459func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) {
5460	req, out := c.GetJobRequest(input)
5461	return out, req.Send()
5462}
5463
5464// GetJobWithContext is the same as GetJob with the addition of
5465// the ability to pass a context and additional request options.
5466//
5467// See GetJob for details on how to use this API operation.
5468//
5469// The context must be non-nil and will be used for request cancellation. If
5470// the context is nil a panic will occur. In the future the SDK may create
5471// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5472// for more information on using Contexts.
5473func (c *Glue) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) {
5474	req, out := c.GetJobRequest(input)
5475	req.SetContext(ctx)
5476	req.ApplyOptions(opts...)
5477	return out, req.Send()
5478}
5479
5480const opGetJobBookmark = "GetJobBookmark"
5481
5482// GetJobBookmarkRequest generates a "aws/request.Request" representing the
5483// client's request for the GetJobBookmark operation. The "output" return
5484// value will be populated with the request's response once the request completes
5485// successfully.
5486//
5487// Use "Send" method on the returned Request to send the API call to the service.
5488// the "output" return value is not valid until after Send returns without error.
5489//
5490// See GetJobBookmark for more information on using the GetJobBookmark
5491// API call, and error handling.
5492//
5493// This method is useful when you want to inject custom logic or configuration
5494// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5495//
5496//
5497//    // Example sending a request using the GetJobBookmarkRequest method.
5498//    req, resp := client.GetJobBookmarkRequest(params)
5499//
5500//    err := req.Send()
5501//    if err == nil { // resp is now filled
5502//        fmt.Println(resp)
5503//    }
5504//
5505// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
5506func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.Request, output *GetJobBookmarkOutput) {
5507	op := &request.Operation{
5508		Name:       opGetJobBookmark,
5509		HTTPMethod: "POST",
5510		HTTPPath:   "/",
5511	}
5512
5513	if input == nil {
5514		input = &GetJobBookmarkInput{}
5515	}
5516
5517	output = &GetJobBookmarkOutput{}
5518	req = c.newRequest(op, input, output)
5519	return
5520}
5521
5522// GetJobBookmark API operation for AWS Glue.
5523//
5524// Returns information on a job bookmark entry.
5525//
5526// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5527// with awserr.Error's Code and Message methods to get detailed information about
5528// the error.
5529//
5530// See the AWS API reference guide for AWS Glue's
5531// API operation GetJobBookmark for usage and error information.
5532//
5533// Returned Error Codes:
5534//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5535//   A specified entity does not exist
5536//
5537//   * ErrCodeInvalidInputException "InvalidInputException"
5538//   The input provided was not valid.
5539//
5540//   * ErrCodeInternalServiceException "InternalServiceException"
5541//   An internal service error occurred.
5542//
5543//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5544//   The operation timed out.
5545//
5546//   * ErrCodeValidationException "ValidationException"
5547//   A value could not be validated.
5548//
5549// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark
5550func (c *Glue) GetJobBookmark(input *GetJobBookmarkInput) (*GetJobBookmarkOutput, error) {
5551	req, out := c.GetJobBookmarkRequest(input)
5552	return out, req.Send()
5553}
5554
5555// GetJobBookmarkWithContext is the same as GetJobBookmark with the addition of
5556// the ability to pass a context and additional request options.
5557//
5558// See GetJobBookmark for details on how to use this API operation.
5559//
5560// The context must be non-nil and will be used for request cancellation. If
5561// the context is nil a panic will occur. In the future the SDK may create
5562// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5563// for more information on using Contexts.
5564func (c *Glue) GetJobBookmarkWithContext(ctx aws.Context, input *GetJobBookmarkInput, opts ...request.Option) (*GetJobBookmarkOutput, error) {
5565	req, out := c.GetJobBookmarkRequest(input)
5566	req.SetContext(ctx)
5567	req.ApplyOptions(opts...)
5568	return out, req.Send()
5569}
5570
5571const opGetJobRun = "GetJobRun"
5572
5573// GetJobRunRequest generates a "aws/request.Request" representing the
5574// client's request for the GetJobRun operation. The "output" return
5575// value will be populated with the request's response once the request completes
5576// successfully.
5577//
5578// Use "Send" method on the returned Request to send the API call to the service.
5579// the "output" return value is not valid until after Send returns without error.
5580//
5581// See GetJobRun for more information on using the GetJobRun
5582// API call, and error handling.
5583//
5584// This method is useful when you want to inject custom logic or configuration
5585// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5586//
5587//
5588//    // Example sending a request using the GetJobRunRequest method.
5589//    req, resp := client.GetJobRunRequest(params)
5590//
5591//    err := req.Send()
5592//    if err == nil { // resp is now filled
5593//        fmt.Println(resp)
5594//    }
5595//
5596// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
5597func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) {
5598	op := &request.Operation{
5599		Name:       opGetJobRun,
5600		HTTPMethod: "POST",
5601		HTTPPath:   "/",
5602	}
5603
5604	if input == nil {
5605		input = &GetJobRunInput{}
5606	}
5607
5608	output = &GetJobRunOutput{}
5609	req = c.newRequest(op, input, output)
5610	return
5611}
5612
5613// GetJobRun API operation for AWS Glue.
5614//
5615// Retrieves the metadata for a given job run.
5616//
5617// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5618// with awserr.Error's Code and Message methods to get detailed information about
5619// the error.
5620//
5621// See the AWS API reference guide for AWS Glue's
5622// API operation GetJobRun for usage and error information.
5623//
5624// Returned Error Codes:
5625//   * ErrCodeInvalidInputException "InvalidInputException"
5626//   The input provided was not valid.
5627//
5628//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5629//   A specified entity does not exist
5630//
5631//   * ErrCodeInternalServiceException "InternalServiceException"
5632//   An internal service error occurred.
5633//
5634//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5635//   The operation timed out.
5636//
5637// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun
5638func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) {
5639	req, out := c.GetJobRunRequest(input)
5640	return out, req.Send()
5641}
5642
5643// GetJobRunWithContext is the same as GetJobRun with the addition of
5644// the ability to pass a context and additional request options.
5645//
5646// See GetJobRun for details on how to use this API operation.
5647//
5648// The context must be non-nil and will be used for request cancellation. If
5649// the context is nil a panic will occur. In the future the SDK may create
5650// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5651// for more information on using Contexts.
5652func (c *Glue) GetJobRunWithContext(ctx aws.Context, input *GetJobRunInput, opts ...request.Option) (*GetJobRunOutput, error) {
5653	req, out := c.GetJobRunRequest(input)
5654	req.SetContext(ctx)
5655	req.ApplyOptions(opts...)
5656	return out, req.Send()
5657}
5658
5659const opGetJobRuns = "GetJobRuns"
5660
5661// GetJobRunsRequest generates a "aws/request.Request" representing the
5662// client's request for the GetJobRuns operation. The "output" return
5663// value will be populated with the request's response once the request completes
5664// successfully.
5665//
5666// Use "Send" method on the returned Request to send the API call to the service.
5667// the "output" return value is not valid until after Send returns without error.
5668//
5669// See GetJobRuns for more information on using the GetJobRuns
5670// API call, and error handling.
5671//
5672// This method is useful when you want to inject custom logic or configuration
5673// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5674//
5675//
5676//    // Example sending a request using the GetJobRunsRequest method.
5677//    req, resp := client.GetJobRunsRequest(params)
5678//
5679//    err := req.Send()
5680//    if err == nil { // resp is now filled
5681//        fmt.Println(resp)
5682//    }
5683//
5684// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
5685func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) {
5686	op := &request.Operation{
5687		Name:       opGetJobRuns,
5688		HTTPMethod: "POST",
5689		HTTPPath:   "/",
5690		Paginator: &request.Paginator{
5691			InputTokens:     []string{"NextToken"},
5692			OutputTokens:    []string{"NextToken"},
5693			LimitToken:      "MaxResults",
5694			TruncationToken: "",
5695		},
5696	}
5697
5698	if input == nil {
5699		input = &GetJobRunsInput{}
5700	}
5701
5702	output = &GetJobRunsOutput{}
5703	req = c.newRequest(op, input, output)
5704	return
5705}
5706
5707// GetJobRuns API operation for AWS Glue.
5708//
5709// Retrieves metadata for all runs of a given job definition.
5710//
5711// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5712// with awserr.Error's Code and Message methods to get detailed information about
5713// the error.
5714//
5715// See the AWS API reference guide for AWS Glue's
5716// API operation GetJobRuns for usage and error information.
5717//
5718// Returned Error Codes:
5719//   * ErrCodeInvalidInputException "InvalidInputException"
5720//   The input provided was not valid.
5721//
5722//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5723//   A specified entity does not exist
5724//
5725//   * ErrCodeInternalServiceException "InternalServiceException"
5726//   An internal service error occurred.
5727//
5728//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5729//   The operation timed out.
5730//
5731// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns
5732func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) {
5733	req, out := c.GetJobRunsRequest(input)
5734	return out, req.Send()
5735}
5736
5737// GetJobRunsWithContext is the same as GetJobRuns with the addition of
5738// the ability to pass a context and additional request options.
5739//
5740// See GetJobRuns for details on how to use this API operation.
5741//
5742// The context must be non-nil and will be used for request cancellation. If
5743// the context is nil a panic will occur. In the future the SDK may create
5744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5745// for more information on using Contexts.
5746func (c *Glue) GetJobRunsWithContext(ctx aws.Context, input *GetJobRunsInput, opts ...request.Option) (*GetJobRunsOutput, error) {
5747	req, out := c.GetJobRunsRequest(input)
5748	req.SetContext(ctx)
5749	req.ApplyOptions(opts...)
5750	return out, req.Send()
5751}
5752
5753// GetJobRunsPages iterates over the pages of a GetJobRuns operation,
5754// calling the "fn" function with the response data for each page. To stop
5755// iterating, return false from the fn function.
5756//
5757// See GetJobRuns method for more information on how to use this operation.
5758//
5759// Note: This operation can generate multiple requests to a service.
5760//
5761//    // Example iterating over at most 3 pages of a GetJobRuns operation.
5762//    pageNum := 0
5763//    err := client.GetJobRunsPages(params,
5764//        func(page *glue.GetJobRunsOutput, lastPage bool) bool {
5765//            pageNum++
5766//            fmt.Println(page)
5767//            return pageNum <= 3
5768//        })
5769//
5770func (c *Glue) GetJobRunsPages(input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool) error {
5771	return c.GetJobRunsPagesWithContext(aws.BackgroundContext(), input, fn)
5772}
5773
5774// GetJobRunsPagesWithContext same as GetJobRunsPages except
5775// it takes a Context and allows setting request options on the pages.
5776//
5777// The context must be non-nil and will be used for request cancellation. If
5778// the context is nil a panic will occur. In the future the SDK may create
5779// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5780// for more information on using Contexts.
5781func (c *Glue) GetJobRunsPagesWithContext(ctx aws.Context, input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool, opts ...request.Option) error {
5782	p := request.Pagination{
5783		NewRequest: func() (*request.Request, error) {
5784			var inCpy *GetJobRunsInput
5785			if input != nil {
5786				tmp := *input
5787				inCpy = &tmp
5788			}
5789			req, _ := c.GetJobRunsRequest(inCpy)
5790			req.SetContext(ctx)
5791			req.ApplyOptions(opts...)
5792			return req, nil
5793		},
5794	}
5795
5796	cont := true
5797	for p.Next() && cont {
5798		cont = fn(p.Page().(*GetJobRunsOutput), !p.HasNextPage())
5799	}
5800	return p.Err()
5801}
5802
5803const opGetJobs = "GetJobs"
5804
5805// GetJobsRequest generates a "aws/request.Request" representing the
5806// client's request for the GetJobs operation. The "output" return
5807// value will be populated with the request's response once the request completes
5808// successfully.
5809//
5810// Use "Send" method on the returned Request to send the API call to the service.
5811// the "output" return value is not valid until after Send returns without error.
5812//
5813// See GetJobs for more information on using the GetJobs
5814// API call, and error handling.
5815//
5816// This method is useful when you want to inject custom logic or configuration
5817// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5818//
5819//
5820//    // Example sending a request using the GetJobsRequest method.
5821//    req, resp := client.GetJobsRequest(params)
5822//
5823//    err := req.Send()
5824//    if err == nil { // resp is now filled
5825//        fmt.Println(resp)
5826//    }
5827//
5828// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
5829func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) {
5830	op := &request.Operation{
5831		Name:       opGetJobs,
5832		HTTPMethod: "POST",
5833		HTTPPath:   "/",
5834		Paginator: &request.Paginator{
5835			InputTokens:     []string{"NextToken"},
5836			OutputTokens:    []string{"NextToken"},
5837			LimitToken:      "MaxResults",
5838			TruncationToken: "",
5839		},
5840	}
5841
5842	if input == nil {
5843		input = &GetJobsInput{}
5844	}
5845
5846	output = &GetJobsOutput{}
5847	req = c.newRequest(op, input, output)
5848	return
5849}
5850
5851// GetJobs API operation for AWS Glue.
5852//
5853// Retrieves all current job definitions.
5854//
5855// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5856// with awserr.Error's Code and Message methods to get detailed information about
5857// the error.
5858//
5859// See the AWS API reference guide for AWS Glue's
5860// API operation GetJobs for usage and error information.
5861//
5862// Returned Error Codes:
5863//   * ErrCodeInvalidInputException "InvalidInputException"
5864//   The input provided was not valid.
5865//
5866//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
5867//   A specified entity does not exist
5868//
5869//   * ErrCodeInternalServiceException "InternalServiceException"
5870//   An internal service error occurred.
5871//
5872//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
5873//   The operation timed out.
5874//
5875// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs
5876func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) {
5877	req, out := c.GetJobsRequest(input)
5878	return out, req.Send()
5879}
5880
5881// GetJobsWithContext is the same as GetJobs with the addition of
5882// the ability to pass a context and additional request options.
5883//
5884// See GetJobs for details on how to use this API operation.
5885//
5886// The context must be non-nil and will be used for request cancellation. If
5887// the context is nil a panic will occur. In the future the SDK may create
5888// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5889// for more information on using Contexts.
5890func (c *Glue) GetJobsWithContext(ctx aws.Context, input *GetJobsInput, opts ...request.Option) (*GetJobsOutput, error) {
5891	req, out := c.GetJobsRequest(input)
5892	req.SetContext(ctx)
5893	req.ApplyOptions(opts...)
5894	return out, req.Send()
5895}
5896
5897// GetJobsPages iterates over the pages of a GetJobs operation,
5898// calling the "fn" function with the response data for each page. To stop
5899// iterating, return false from the fn function.
5900//
5901// See GetJobs method for more information on how to use this operation.
5902//
5903// Note: This operation can generate multiple requests to a service.
5904//
5905//    // Example iterating over at most 3 pages of a GetJobs operation.
5906//    pageNum := 0
5907//    err := client.GetJobsPages(params,
5908//        func(page *glue.GetJobsOutput, lastPage bool) bool {
5909//            pageNum++
5910//            fmt.Println(page)
5911//            return pageNum <= 3
5912//        })
5913//
5914func (c *Glue) GetJobsPages(input *GetJobsInput, fn func(*GetJobsOutput, bool) bool) error {
5915	return c.GetJobsPagesWithContext(aws.BackgroundContext(), input, fn)
5916}
5917
5918// GetJobsPagesWithContext same as GetJobsPages except
5919// it takes a Context and allows setting request options on the pages.
5920//
5921// The context must be non-nil and will be used for request cancellation. If
5922// the context is nil a panic will occur. In the future the SDK may create
5923// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5924// for more information on using Contexts.
5925func (c *Glue) GetJobsPagesWithContext(ctx aws.Context, input *GetJobsInput, fn func(*GetJobsOutput, bool) bool, opts ...request.Option) error {
5926	p := request.Pagination{
5927		NewRequest: func() (*request.Request, error) {
5928			var inCpy *GetJobsInput
5929			if input != nil {
5930				tmp := *input
5931				inCpy = &tmp
5932			}
5933			req, _ := c.GetJobsRequest(inCpy)
5934			req.SetContext(ctx)
5935			req.ApplyOptions(opts...)
5936			return req, nil
5937		},
5938	}
5939
5940	cont := true
5941	for p.Next() && cont {
5942		cont = fn(p.Page().(*GetJobsOutput), !p.HasNextPage())
5943	}
5944	return p.Err()
5945}
5946
5947const opGetMLTaskRun = "GetMLTaskRun"
5948
5949// GetMLTaskRunRequest generates a "aws/request.Request" representing the
5950// client's request for the GetMLTaskRun operation. The "output" return
5951// value will be populated with the request's response once the request completes
5952// successfully.
5953//
5954// Use "Send" method on the returned Request to send the API call to the service.
5955// the "output" return value is not valid until after Send returns without error.
5956//
5957// See GetMLTaskRun for more information on using the GetMLTaskRun
5958// API call, and error handling.
5959//
5960// This method is useful when you want to inject custom logic or configuration
5961// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5962//
5963//
5964//    // Example sending a request using the GetMLTaskRunRequest method.
5965//    req, resp := client.GetMLTaskRunRequest(params)
5966//
5967//    err := req.Send()
5968//    if err == nil { // resp is now filled
5969//        fmt.Println(resp)
5970//    }
5971//
5972// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
5973func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Request, output *GetMLTaskRunOutput) {
5974	op := &request.Operation{
5975		Name:       opGetMLTaskRun,
5976		HTTPMethod: "POST",
5977		HTTPPath:   "/",
5978	}
5979
5980	if input == nil {
5981		input = &GetMLTaskRunInput{}
5982	}
5983
5984	output = &GetMLTaskRunOutput{}
5985	req = c.newRequest(op, input, output)
5986	return
5987}
5988
5989// GetMLTaskRun API operation for AWS Glue.
5990//
5991// Gets details for a specific task run on a machine learning transform. Machine
5992// learning task runs are asynchronous tasks that AWS Glue runs on your behalf
5993// as part of various machine learning workflows. You can check the stats of
5994// any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's
5995// TransformID.
5996//
5997// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5998// with awserr.Error's Code and Message methods to get detailed information about
5999// the error.
6000//
6001// See the AWS API reference guide for AWS Glue's
6002// API operation GetMLTaskRun for usage and error information.
6003//
6004// Returned Error Codes:
6005//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6006//   A specified entity does not exist
6007//
6008//   * ErrCodeInvalidInputException "InvalidInputException"
6009//   The input provided was not valid.
6010//
6011//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6012//   The operation timed out.
6013//
6014//   * ErrCodeInternalServiceException "InternalServiceException"
6015//   An internal service error occurred.
6016//
6017// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun
6018func (c *Glue) GetMLTaskRun(input *GetMLTaskRunInput) (*GetMLTaskRunOutput, error) {
6019	req, out := c.GetMLTaskRunRequest(input)
6020	return out, req.Send()
6021}
6022
6023// GetMLTaskRunWithContext is the same as GetMLTaskRun with the addition of
6024// the ability to pass a context and additional request options.
6025//
6026// See GetMLTaskRun for details on how to use this API operation.
6027//
6028// The context must be non-nil and will be used for request cancellation. If
6029// the context is nil a panic will occur. In the future the SDK may create
6030// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6031// for more information on using Contexts.
6032func (c *Glue) GetMLTaskRunWithContext(ctx aws.Context, input *GetMLTaskRunInput, opts ...request.Option) (*GetMLTaskRunOutput, error) {
6033	req, out := c.GetMLTaskRunRequest(input)
6034	req.SetContext(ctx)
6035	req.ApplyOptions(opts...)
6036	return out, req.Send()
6037}
6038
6039const opGetMLTaskRuns = "GetMLTaskRuns"
6040
6041// GetMLTaskRunsRequest generates a "aws/request.Request" representing the
6042// client's request for the GetMLTaskRuns operation. The "output" return
6043// value will be populated with the request's response once the request completes
6044// successfully.
6045//
6046// Use "Send" method on the returned Request to send the API call to the service.
6047// the "output" return value is not valid until after Send returns without error.
6048//
6049// See GetMLTaskRuns for more information on using the GetMLTaskRuns
6050// API call, and error handling.
6051//
6052// This method is useful when you want to inject custom logic or configuration
6053// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6054//
6055//
6056//    // Example sending a request using the GetMLTaskRunsRequest method.
6057//    req, resp := client.GetMLTaskRunsRequest(params)
6058//
6059//    err := req.Send()
6060//    if err == nil { // resp is now filled
6061//        fmt.Println(resp)
6062//    }
6063//
6064// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
6065func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Request, output *GetMLTaskRunsOutput) {
6066	op := &request.Operation{
6067		Name:       opGetMLTaskRuns,
6068		HTTPMethod: "POST",
6069		HTTPPath:   "/",
6070		Paginator: &request.Paginator{
6071			InputTokens:     []string{"NextToken"},
6072			OutputTokens:    []string{"NextToken"},
6073			LimitToken:      "MaxResults",
6074			TruncationToken: "",
6075		},
6076	}
6077
6078	if input == nil {
6079		input = &GetMLTaskRunsInput{}
6080	}
6081
6082	output = &GetMLTaskRunsOutput{}
6083	req = c.newRequest(op, input, output)
6084	return
6085}
6086
6087// GetMLTaskRuns API operation for AWS Glue.
6088//
6089// Gets a list of runs for a machine learning transform. Machine learning task
6090// runs are asynchronous tasks that AWS Glue runs on your behalf as part of
6091// various machine learning workflows. You can get a sortable, filterable list
6092// of machine learning task runs by calling GetMLTaskRuns with their parent
6093// transform's TransformID and other optional parameters as documented in this
6094// section.
6095//
6096// This operation returns a list of historic runs and must be paginated.
6097//
6098// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6099// with awserr.Error's Code and Message methods to get detailed information about
6100// the error.
6101//
6102// See the AWS API reference guide for AWS Glue's
6103// API operation GetMLTaskRuns for usage and error information.
6104//
6105// Returned Error Codes:
6106//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6107//   A specified entity does not exist
6108//
6109//   * ErrCodeInvalidInputException "InvalidInputException"
6110//   The input provided was not valid.
6111//
6112//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6113//   The operation timed out.
6114//
6115//   * ErrCodeInternalServiceException "InternalServiceException"
6116//   An internal service error occurred.
6117//
6118// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns
6119func (c *Glue) GetMLTaskRuns(input *GetMLTaskRunsInput) (*GetMLTaskRunsOutput, error) {
6120	req, out := c.GetMLTaskRunsRequest(input)
6121	return out, req.Send()
6122}
6123
6124// GetMLTaskRunsWithContext is the same as GetMLTaskRuns with the addition of
6125// the ability to pass a context and additional request options.
6126//
6127// See GetMLTaskRuns for details on how to use this API operation.
6128//
6129// The context must be non-nil and will be used for request cancellation. If
6130// the context is nil a panic will occur. In the future the SDK may create
6131// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6132// for more information on using Contexts.
6133func (c *Glue) GetMLTaskRunsWithContext(ctx aws.Context, input *GetMLTaskRunsInput, opts ...request.Option) (*GetMLTaskRunsOutput, error) {
6134	req, out := c.GetMLTaskRunsRequest(input)
6135	req.SetContext(ctx)
6136	req.ApplyOptions(opts...)
6137	return out, req.Send()
6138}
6139
6140// GetMLTaskRunsPages iterates over the pages of a GetMLTaskRuns operation,
6141// calling the "fn" function with the response data for each page. To stop
6142// iterating, return false from the fn function.
6143//
6144// See GetMLTaskRuns method for more information on how to use this operation.
6145//
6146// Note: This operation can generate multiple requests to a service.
6147//
6148//    // Example iterating over at most 3 pages of a GetMLTaskRuns operation.
6149//    pageNum := 0
6150//    err := client.GetMLTaskRunsPages(params,
6151//        func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool {
6152//            pageNum++
6153//            fmt.Println(page)
6154//            return pageNum <= 3
6155//        })
6156//
6157func (c *Glue) GetMLTaskRunsPages(input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool) error {
6158	return c.GetMLTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn)
6159}
6160
6161// GetMLTaskRunsPagesWithContext same as GetMLTaskRunsPages except
6162// it takes a Context and allows setting request options on the pages.
6163//
6164// The context must be non-nil and will be used for request cancellation. If
6165// the context is nil a panic will occur. In the future the SDK may create
6166// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6167// for more information on using Contexts.
6168func (c *Glue) GetMLTaskRunsPagesWithContext(ctx aws.Context, input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool, opts ...request.Option) error {
6169	p := request.Pagination{
6170		NewRequest: func() (*request.Request, error) {
6171			var inCpy *GetMLTaskRunsInput
6172			if input != nil {
6173				tmp := *input
6174				inCpy = &tmp
6175			}
6176			req, _ := c.GetMLTaskRunsRequest(inCpy)
6177			req.SetContext(ctx)
6178			req.ApplyOptions(opts...)
6179			return req, nil
6180		},
6181	}
6182
6183	cont := true
6184	for p.Next() && cont {
6185		cont = fn(p.Page().(*GetMLTaskRunsOutput), !p.HasNextPage())
6186	}
6187	return p.Err()
6188}
6189
6190const opGetMLTransform = "GetMLTransform"
6191
6192// GetMLTransformRequest generates a "aws/request.Request" representing the
6193// client's request for the GetMLTransform operation. The "output" return
6194// value will be populated with the request's response once the request completes
6195// successfully.
6196//
6197// Use "Send" method on the returned Request to send the API call to the service.
6198// the "output" return value is not valid until after Send returns without error.
6199//
6200// See GetMLTransform for more information on using the GetMLTransform
6201// API call, and error handling.
6202//
6203// This method is useful when you want to inject custom logic or configuration
6204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6205//
6206//
6207//    // Example sending a request using the GetMLTransformRequest method.
6208//    req, resp := client.GetMLTransformRequest(params)
6209//
6210//    err := req.Send()
6211//    if err == nil { // resp is now filled
6212//        fmt.Println(resp)
6213//    }
6214//
6215// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
6216func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.Request, output *GetMLTransformOutput) {
6217	op := &request.Operation{
6218		Name:       opGetMLTransform,
6219		HTTPMethod: "POST",
6220		HTTPPath:   "/",
6221	}
6222
6223	if input == nil {
6224		input = &GetMLTransformInput{}
6225	}
6226
6227	output = &GetMLTransformOutput{}
6228	req = c.newRequest(op, input, output)
6229	return
6230}
6231
6232// GetMLTransform API operation for AWS Glue.
6233//
6234// Gets an AWS Glue machine learning transform artifact and all its corresponding
6235// metadata. Machine learning transforms are a special type of transform that
6236// use machine learning to learn the details of the transformation to be performed
6237// by learning from examples provided by humans. These transformations are then
6238// saved by AWS Glue. You can retrieve their metadata by calling GetMLTransform.
6239//
6240// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6241// with awserr.Error's Code and Message methods to get detailed information about
6242// the error.
6243//
6244// See the AWS API reference guide for AWS Glue's
6245// API operation GetMLTransform for usage and error information.
6246//
6247// Returned Error Codes:
6248//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6249//   A specified entity does not exist
6250//
6251//   * ErrCodeInvalidInputException "InvalidInputException"
6252//   The input provided was not valid.
6253//
6254//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6255//   The operation timed out.
6256//
6257//   * ErrCodeInternalServiceException "InternalServiceException"
6258//   An internal service error occurred.
6259//
6260// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform
6261func (c *Glue) GetMLTransform(input *GetMLTransformInput) (*GetMLTransformOutput, error) {
6262	req, out := c.GetMLTransformRequest(input)
6263	return out, req.Send()
6264}
6265
6266// GetMLTransformWithContext is the same as GetMLTransform with the addition of
6267// the ability to pass a context and additional request options.
6268//
6269// See GetMLTransform for details on how to use this API operation.
6270//
6271// The context must be non-nil and will be used for request cancellation. If
6272// the context is nil a panic will occur. In the future the SDK may create
6273// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6274// for more information on using Contexts.
6275func (c *Glue) GetMLTransformWithContext(ctx aws.Context, input *GetMLTransformInput, opts ...request.Option) (*GetMLTransformOutput, error) {
6276	req, out := c.GetMLTransformRequest(input)
6277	req.SetContext(ctx)
6278	req.ApplyOptions(opts...)
6279	return out, req.Send()
6280}
6281
6282const opGetMLTransforms = "GetMLTransforms"
6283
6284// GetMLTransformsRequest generates a "aws/request.Request" representing the
6285// client's request for the GetMLTransforms operation. The "output" return
6286// value will be populated with the request's response once the request completes
6287// successfully.
6288//
6289// Use "Send" method on the returned Request to send the API call to the service.
6290// the "output" return value is not valid until after Send returns without error.
6291//
6292// See GetMLTransforms for more information on using the GetMLTransforms
6293// API call, and error handling.
6294//
6295// This method is useful when you want to inject custom logic or configuration
6296// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6297//
6298//
6299//    // Example sending a request using the GetMLTransformsRequest method.
6300//    req, resp := client.GetMLTransformsRequest(params)
6301//
6302//    err := req.Send()
6303//    if err == nil { // resp is now filled
6304//        fmt.Println(resp)
6305//    }
6306//
6307// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
6308func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request.Request, output *GetMLTransformsOutput) {
6309	op := &request.Operation{
6310		Name:       opGetMLTransforms,
6311		HTTPMethod: "POST",
6312		HTTPPath:   "/",
6313		Paginator: &request.Paginator{
6314			InputTokens:     []string{"NextToken"},
6315			OutputTokens:    []string{"NextToken"},
6316			LimitToken:      "MaxResults",
6317			TruncationToken: "",
6318		},
6319	}
6320
6321	if input == nil {
6322		input = &GetMLTransformsInput{}
6323	}
6324
6325	output = &GetMLTransformsOutput{}
6326	req = c.newRequest(op, input, output)
6327	return
6328}
6329
6330// GetMLTransforms API operation for AWS Glue.
6331//
6332// Gets a sortable, filterable list of existing AWS Glue machine learning transforms.
6333// Machine learning transforms are a special type of transform that use machine
6334// learning to learn the details of the transformation to be performed by learning
6335// from examples provided by humans. These transformations are then saved by
6336// AWS Glue, and you can retrieve their metadata by calling GetMLTransforms.
6337//
6338// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6339// with awserr.Error's Code and Message methods to get detailed information about
6340// the error.
6341//
6342// See the AWS API reference guide for AWS Glue's
6343// API operation GetMLTransforms for usage and error information.
6344//
6345// Returned Error Codes:
6346//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6347//   A specified entity does not exist
6348//
6349//   * ErrCodeInvalidInputException "InvalidInputException"
6350//   The input provided was not valid.
6351//
6352//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6353//   The operation timed out.
6354//
6355//   * ErrCodeInternalServiceException "InternalServiceException"
6356//   An internal service error occurred.
6357//
6358// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms
6359func (c *Glue) GetMLTransforms(input *GetMLTransformsInput) (*GetMLTransformsOutput, error) {
6360	req, out := c.GetMLTransformsRequest(input)
6361	return out, req.Send()
6362}
6363
6364// GetMLTransformsWithContext is the same as GetMLTransforms with the addition of
6365// the ability to pass a context and additional request options.
6366//
6367// See GetMLTransforms for details on how to use this API operation.
6368//
6369// The context must be non-nil and will be used for request cancellation. If
6370// the context is nil a panic will occur. In the future the SDK may create
6371// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6372// for more information on using Contexts.
6373func (c *Glue) GetMLTransformsWithContext(ctx aws.Context, input *GetMLTransformsInput, opts ...request.Option) (*GetMLTransformsOutput, error) {
6374	req, out := c.GetMLTransformsRequest(input)
6375	req.SetContext(ctx)
6376	req.ApplyOptions(opts...)
6377	return out, req.Send()
6378}
6379
6380// GetMLTransformsPages iterates over the pages of a GetMLTransforms operation,
6381// calling the "fn" function with the response data for each page. To stop
6382// iterating, return false from the fn function.
6383//
6384// See GetMLTransforms method for more information on how to use this operation.
6385//
6386// Note: This operation can generate multiple requests to a service.
6387//
6388//    // Example iterating over at most 3 pages of a GetMLTransforms operation.
6389//    pageNum := 0
6390//    err := client.GetMLTransformsPages(params,
6391//        func(page *glue.GetMLTransformsOutput, lastPage bool) bool {
6392//            pageNum++
6393//            fmt.Println(page)
6394//            return pageNum <= 3
6395//        })
6396//
6397func (c *Glue) GetMLTransformsPages(input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool) error {
6398	return c.GetMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn)
6399}
6400
6401// GetMLTransformsPagesWithContext same as GetMLTransformsPages except
6402// it takes a Context and allows setting request options on the pages.
6403//
6404// The context must be non-nil and will be used for request cancellation. If
6405// the context is nil a panic will occur. In the future the SDK may create
6406// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6407// for more information on using Contexts.
6408func (c *Glue) GetMLTransformsPagesWithContext(ctx aws.Context, input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool, opts ...request.Option) error {
6409	p := request.Pagination{
6410		NewRequest: func() (*request.Request, error) {
6411			var inCpy *GetMLTransformsInput
6412			if input != nil {
6413				tmp := *input
6414				inCpy = &tmp
6415			}
6416			req, _ := c.GetMLTransformsRequest(inCpy)
6417			req.SetContext(ctx)
6418			req.ApplyOptions(opts...)
6419			return req, nil
6420		},
6421	}
6422
6423	cont := true
6424	for p.Next() && cont {
6425		cont = fn(p.Page().(*GetMLTransformsOutput), !p.HasNextPage())
6426	}
6427	return p.Err()
6428}
6429
6430const opGetMapping = "GetMapping"
6431
6432// GetMappingRequest generates a "aws/request.Request" representing the
6433// client's request for the GetMapping operation. The "output" return
6434// value will be populated with the request's response once the request completes
6435// successfully.
6436//
6437// Use "Send" method on the returned Request to send the API call to the service.
6438// the "output" return value is not valid until after Send returns without error.
6439//
6440// See GetMapping for more information on using the GetMapping
6441// API call, and error handling.
6442//
6443// This method is useful when you want to inject custom logic or configuration
6444// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6445//
6446//
6447//    // Example sending a request using the GetMappingRequest method.
6448//    req, resp := client.GetMappingRequest(params)
6449//
6450//    err := req.Send()
6451//    if err == nil { // resp is now filled
6452//        fmt.Println(resp)
6453//    }
6454//
6455// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
6456func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) {
6457	op := &request.Operation{
6458		Name:       opGetMapping,
6459		HTTPMethod: "POST",
6460		HTTPPath:   "/",
6461	}
6462
6463	if input == nil {
6464		input = &GetMappingInput{}
6465	}
6466
6467	output = &GetMappingOutput{}
6468	req = c.newRequest(op, input, output)
6469	return
6470}
6471
6472// GetMapping API operation for AWS Glue.
6473//
6474// Creates mappings.
6475//
6476// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6477// with awserr.Error's Code and Message methods to get detailed information about
6478// the error.
6479//
6480// See the AWS API reference guide for AWS Glue's
6481// API operation GetMapping for usage and error information.
6482//
6483// Returned Error Codes:
6484//   * ErrCodeInvalidInputException "InvalidInputException"
6485//   The input provided was not valid.
6486//
6487//   * ErrCodeInternalServiceException "InternalServiceException"
6488//   An internal service error occurred.
6489//
6490//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6491//   The operation timed out.
6492//
6493//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6494//   A specified entity does not exist
6495//
6496// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping
6497func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) {
6498	req, out := c.GetMappingRequest(input)
6499	return out, req.Send()
6500}
6501
6502// GetMappingWithContext is the same as GetMapping with the addition of
6503// the ability to pass a context and additional request options.
6504//
6505// See GetMapping for details on how to use this API operation.
6506//
6507// The context must be non-nil and will be used for request cancellation. If
6508// the context is nil a panic will occur. In the future the SDK may create
6509// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6510// for more information on using Contexts.
6511func (c *Glue) GetMappingWithContext(ctx aws.Context, input *GetMappingInput, opts ...request.Option) (*GetMappingOutput, error) {
6512	req, out := c.GetMappingRequest(input)
6513	req.SetContext(ctx)
6514	req.ApplyOptions(opts...)
6515	return out, req.Send()
6516}
6517
6518const opGetPartition = "GetPartition"
6519
6520// GetPartitionRequest generates a "aws/request.Request" representing the
6521// client's request for the GetPartition operation. The "output" return
6522// value will be populated with the request's response once the request completes
6523// successfully.
6524//
6525// Use "Send" method on the returned Request to send the API call to the service.
6526// the "output" return value is not valid until after Send returns without error.
6527//
6528// See GetPartition for more information on using the GetPartition
6529// API call, and error handling.
6530//
6531// This method is useful when you want to inject custom logic or configuration
6532// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6533//
6534//
6535//    // Example sending a request using the GetPartitionRequest method.
6536//    req, resp := client.GetPartitionRequest(params)
6537//
6538//    err := req.Send()
6539//    if err == nil { // resp is now filled
6540//        fmt.Println(resp)
6541//    }
6542//
6543// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
6544func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) {
6545	op := &request.Operation{
6546		Name:       opGetPartition,
6547		HTTPMethod: "POST",
6548		HTTPPath:   "/",
6549	}
6550
6551	if input == nil {
6552		input = &GetPartitionInput{}
6553	}
6554
6555	output = &GetPartitionOutput{}
6556	req = c.newRequest(op, input, output)
6557	return
6558}
6559
6560// GetPartition API operation for AWS Glue.
6561//
6562// Retrieves information about a specified partition.
6563//
6564// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6565// with awserr.Error's Code and Message methods to get detailed information about
6566// the error.
6567//
6568// See the AWS API reference guide for AWS Glue's
6569// API operation GetPartition for usage and error information.
6570//
6571// Returned Error Codes:
6572//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6573//   A specified entity does not exist
6574//
6575//   * ErrCodeInvalidInputException "InvalidInputException"
6576//   The input provided was not valid.
6577//
6578//   * ErrCodeInternalServiceException "InternalServiceException"
6579//   An internal service error occurred.
6580//
6581//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6582//   The operation timed out.
6583//
6584//   * ErrCodeEncryptionException "GlueEncryptionException"
6585//   An encryption operation failed.
6586//
6587// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition
6588func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) {
6589	req, out := c.GetPartitionRequest(input)
6590	return out, req.Send()
6591}
6592
6593// GetPartitionWithContext is the same as GetPartition with the addition of
6594// the ability to pass a context and additional request options.
6595//
6596// See GetPartition for details on how to use this API operation.
6597//
6598// The context must be non-nil and will be used for request cancellation. If
6599// the context is nil a panic will occur. In the future the SDK may create
6600// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6601// for more information on using Contexts.
6602func (c *Glue) GetPartitionWithContext(ctx aws.Context, input *GetPartitionInput, opts ...request.Option) (*GetPartitionOutput, error) {
6603	req, out := c.GetPartitionRequest(input)
6604	req.SetContext(ctx)
6605	req.ApplyOptions(opts...)
6606	return out, req.Send()
6607}
6608
6609const opGetPartitions = "GetPartitions"
6610
6611// GetPartitionsRequest generates a "aws/request.Request" representing the
6612// client's request for the GetPartitions operation. The "output" return
6613// value will be populated with the request's response once the request completes
6614// successfully.
6615//
6616// Use "Send" method on the returned Request to send the API call to the service.
6617// the "output" return value is not valid until after Send returns without error.
6618//
6619// See GetPartitions for more information on using the GetPartitions
6620// API call, and error handling.
6621//
6622// This method is useful when you want to inject custom logic or configuration
6623// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6624//
6625//
6626//    // Example sending a request using the GetPartitionsRequest method.
6627//    req, resp := client.GetPartitionsRequest(params)
6628//
6629//    err := req.Send()
6630//    if err == nil { // resp is now filled
6631//        fmt.Println(resp)
6632//    }
6633//
6634// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
6635func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) {
6636	op := &request.Operation{
6637		Name:       opGetPartitions,
6638		HTTPMethod: "POST",
6639		HTTPPath:   "/",
6640		Paginator: &request.Paginator{
6641			InputTokens:     []string{"NextToken"},
6642			OutputTokens:    []string{"NextToken"},
6643			LimitToken:      "MaxResults",
6644			TruncationToken: "",
6645		},
6646	}
6647
6648	if input == nil {
6649		input = &GetPartitionsInput{}
6650	}
6651
6652	output = &GetPartitionsOutput{}
6653	req = c.newRequest(op, input, output)
6654	return
6655}
6656
6657// GetPartitions API operation for AWS Glue.
6658//
6659// Retrieves information about the partitions in a table.
6660//
6661// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6662// with awserr.Error's Code and Message methods to get detailed information about
6663// the error.
6664//
6665// See the AWS API reference guide for AWS Glue's
6666// API operation GetPartitions for usage and error information.
6667//
6668// Returned Error Codes:
6669//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6670//   A specified entity does not exist
6671//
6672//   * ErrCodeInvalidInputException "InvalidInputException"
6673//   The input provided was not valid.
6674//
6675//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6676//   The operation timed out.
6677//
6678//   * ErrCodeInternalServiceException "InternalServiceException"
6679//   An internal service error occurred.
6680//
6681//   * ErrCodeEncryptionException "GlueEncryptionException"
6682//   An encryption operation failed.
6683//
6684// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions
6685func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) {
6686	req, out := c.GetPartitionsRequest(input)
6687	return out, req.Send()
6688}
6689
6690// GetPartitionsWithContext is the same as GetPartitions with the addition of
6691// the ability to pass a context and additional request options.
6692//
6693// See GetPartitions for details on how to use this API operation.
6694//
6695// The context must be non-nil and will be used for request cancellation. If
6696// the context is nil a panic will occur. In the future the SDK may create
6697// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6698// for more information on using Contexts.
6699func (c *Glue) GetPartitionsWithContext(ctx aws.Context, input *GetPartitionsInput, opts ...request.Option) (*GetPartitionsOutput, error) {
6700	req, out := c.GetPartitionsRequest(input)
6701	req.SetContext(ctx)
6702	req.ApplyOptions(opts...)
6703	return out, req.Send()
6704}
6705
6706// GetPartitionsPages iterates over the pages of a GetPartitions operation,
6707// calling the "fn" function with the response data for each page. To stop
6708// iterating, return false from the fn function.
6709//
6710// See GetPartitions method for more information on how to use this operation.
6711//
6712// Note: This operation can generate multiple requests to a service.
6713//
6714//    // Example iterating over at most 3 pages of a GetPartitions operation.
6715//    pageNum := 0
6716//    err := client.GetPartitionsPages(params,
6717//        func(page *glue.GetPartitionsOutput, lastPage bool) bool {
6718//            pageNum++
6719//            fmt.Println(page)
6720//            return pageNum <= 3
6721//        })
6722//
6723func (c *Glue) GetPartitionsPages(input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool) error {
6724	return c.GetPartitionsPagesWithContext(aws.BackgroundContext(), input, fn)
6725}
6726
6727// GetPartitionsPagesWithContext same as GetPartitionsPages except
6728// it takes a Context and allows setting request options on the pages.
6729//
6730// The context must be non-nil and will be used for request cancellation. If
6731// the context is nil a panic will occur. In the future the SDK may create
6732// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6733// for more information on using Contexts.
6734func (c *Glue) GetPartitionsPagesWithContext(ctx aws.Context, input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool, opts ...request.Option) error {
6735	p := request.Pagination{
6736		NewRequest: func() (*request.Request, error) {
6737			var inCpy *GetPartitionsInput
6738			if input != nil {
6739				tmp := *input
6740				inCpy = &tmp
6741			}
6742			req, _ := c.GetPartitionsRequest(inCpy)
6743			req.SetContext(ctx)
6744			req.ApplyOptions(opts...)
6745			return req, nil
6746		},
6747	}
6748
6749	cont := true
6750	for p.Next() && cont {
6751		cont = fn(p.Page().(*GetPartitionsOutput), !p.HasNextPage())
6752	}
6753	return p.Err()
6754}
6755
6756const opGetPlan = "GetPlan"
6757
6758// GetPlanRequest generates a "aws/request.Request" representing the
6759// client's request for the GetPlan operation. The "output" return
6760// value will be populated with the request's response once the request completes
6761// successfully.
6762//
6763// Use "Send" method on the returned Request to send the API call to the service.
6764// the "output" return value is not valid until after Send returns without error.
6765//
6766// See GetPlan for more information on using the GetPlan
6767// API call, and error handling.
6768//
6769// This method is useful when you want to inject custom logic or configuration
6770// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6771//
6772//
6773//    // Example sending a request using the GetPlanRequest method.
6774//    req, resp := client.GetPlanRequest(params)
6775//
6776//    err := req.Send()
6777//    if err == nil { // resp is now filled
6778//        fmt.Println(resp)
6779//    }
6780//
6781// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
6782func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) {
6783	op := &request.Operation{
6784		Name:       opGetPlan,
6785		HTTPMethod: "POST",
6786		HTTPPath:   "/",
6787	}
6788
6789	if input == nil {
6790		input = &GetPlanInput{}
6791	}
6792
6793	output = &GetPlanOutput{}
6794	req = c.newRequest(op, input, output)
6795	return
6796}
6797
6798// GetPlan API operation for AWS Glue.
6799//
6800// Gets code to perform a specified mapping.
6801//
6802// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6803// with awserr.Error's Code and Message methods to get detailed information about
6804// the error.
6805//
6806// See the AWS API reference guide for AWS Glue's
6807// API operation GetPlan for usage and error information.
6808//
6809// Returned Error Codes:
6810//   * ErrCodeInvalidInputException "InvalidInputException"
6811//   The input provided was not valid.
6812//
6813//   * ErrCodeInternalServiceException "InternalServiceException"
6814//   An internal service error occurred.
6815//
6816//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6817//   The operation timed out.
6818//
6819// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan
6820func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) {
6821	req, out := c.GetPlanRequest(input)
6822	return out, req.Send()
6823}
6824
6825// GetPlanWithContext is the same as GetPlan with the addition of
6826// the ability to pass a context and additional request options.
6827//
6828// See GetPlan for details on how to use this API operation.
6829//
6830// The context must be non-nil and will be used for request cancellation. If
6831// the context is nil a panic will occur. In the future the SDK may create
6832// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6833// for more information on using Contexts.
6834func (c *Glue) GetPlanWithContext(ctx aws.Context, input *GetPlanInput, opts ...request.Option) (*GetPlanOutput, error) {
6835	req, out := c.GetPlanRequest(input)
6836	req.SetContext(ctx)
6837	req.ApplyOptions(opts...)
6838	return out, req.Send()
6839}
6840
6841const opGetResourcePolicy = "GetResourcePolicy"
6842
6843// GetResourcePolicyRequest generates a "aws/request.Request" representing the
6844// client's request for the GetResourcePolicy operation. The "output" return
6845// value will be populated with the request's response once the request completes
6846// successfully.
6847//
6848// Use "Send" method on the returned Request to send the API call to the service.
6849// the "output" return value is not valid until after Send returns without error.
6850//
6851// See GetResourcePolicy for more information on using the GetResourcePolicy
6852// API call, and error handling.
6853//
6854// This method is useful when you want to inject custom logic or configuration
6855// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6856//
6857//
6858//    // Example sending a request using the GetResourcePolicyRequest method.
6859//    req, resp := client.GetResourcePolicyRequest(params)
6860//
6861//    err := req.Send()
6862//    if err == nil { // resp is now filled
6863//        fmt.Println(resp)
6864//    }
6865//
6866// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
6867func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) {
6868	op := &request.Operation{
6869		Name:       opGetResourcePolicy,
6870		HTTPMethod: "POST",
6871		HTTPPath:   "/",
6872	}
6873
6874	if input == nil {
6875		input = &GetResourcePolicyInput{}
6876	}
6877
6878	output = &GetResourcePolicyOutput{}
6879	req = c.newRequest(op, input, output)
6880	return
6881}
6882
6883// GetResourcePolicy API operation for AWS Glue.
6884//
6885// Retrieves a specified resource policy.
6886//
6887// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6888// with awserr.Error's Code and Message methods to get detailed information about
6889// the error.
6890//
6891// See the AWS API reference guide for AWS Glue's
6892// API operation GetResourcePolicy for usage and error information.
6893//
6894// Returned Error Codes:
6895//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6896//   A specified entity does not exist
6897//
6898//   * ErrCodeInternalServiceException "InternalServiceException"
6899//   An internal service error occurred.
6900//
6901//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6902//   The operation timed out.
6903//
6904//   * ErrCodeInvalidInputException "InvalidInputException"
6905//   The input provided was not valid.
6906//
6907// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy
6908func (c *Glue) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) {
6909	req, out := c.GetResourcePolicyRequest(input)
6910	return out, req.Send()
6911}
6912
6913// GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of
6914// the ability to pass a context and additional request options.
6915//
6916// See GetResourcePolicy for details on how to use this API operation.
6917//
6918// The context must be non-nil and will be used for request cancellation. If
6919// the context is nil a panic will occur. In the future the SDK may create
6920// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6921// for more information on using Contexts.
6922func (c *Glue) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) {
6923	req, out := c.GetResourcePolicyRequest(input)
6924	req.SetContext(ctx)
6925	req.ApplyOptions(opts...)
6926	return out, req.Send()
6927}
6928
6929const opGetSecurityConfiguration = "GetSecurityConfiguration"
6930
6931// GetSecurityConfigurationRequest generates a "aws/request.Request" representing the
6932// client's request for the GetSecurityConfiguration operation. The "output" return
6933// value will be populated with the request's response once the request completes
6934// successfully.
6935//
6936// Use "Send" method on the returned Request to send the API call to the service.
6937// the "output" return value is not valid until after Send returns without error.
6938//
6939// See GetSecurityConfiguration for more information on using the GetSecurityConfiguration
6940// API call, and error handling.
6941//
6942// This method is useful when you want to inject custom logic or configuration
6943// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6944//
6945//
6946//    // Example sending a request using the GetSecurityConfigurationRequest method.
6947//    req, resp := client.GetSecurityConfigurationRequest(params)
6948//
6949//    err := req.Send()
6950//    if err == nil { // resp is now filled
6951//        fmt.Println(resp)
6952//    }
6953//
6954// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
6955func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationInput) (req *request.Request, output *GetSecurityConfigurationOutput) {
6956	op := &request.Operation{
6957		Name:       opGetSecurityConfiguration,
6958		HTTPMethod: "POST",
6959		HTTPPath:   "/",
6960	}
6961
6962	if input == nil {
6963		input = &GetSecurityConfigurationInput{}
6964	}
6965
6966	output = &GetSecurityConfigurationOutput{}
6967	req = c.newRequest(op, input, output)
6968	return
6969}
6970
6971// GetSecurityConfiguration API operation for AWS Glue.
6972//
6973// Retrieves a specified security configuration.
6974//
6975// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6976// with awserr.Error's Code and Message methods to get detailed information about
6977// the error.
6978//
6979// See the AWS API reference guide for AWS Glue's
6980// API operation GetSecurityConfiguration for usage and error information.
6981//
6982// Returned Error Codes:
6983//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
6984//   A specified entity does not exist
6985//
6986//   * ErrCodeInvalidInputException "InvalidInputException"
6987//   The input provided was not valid.
6988//
6989//   * ErrCodeInternalServiceException "InternalServiceException"
6990//   An internal service error occurred.
6991//
6992//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
6993//   The operation timed out.
6994//
6995// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration
6996func (c *Glue) GetSecurityConfiguration(input *GetSecurityConfigurationInput) (*GetSecurityConfigurationOutput, error) {
6997	req, out := c.GetSecurityConfigurationRequest(input)
6998	return out, req.Send()
6999}
7000
7001// GetSecurityConfigurationWithContext is the same as GetSecurityConfiguration with the addition of
7002// the ability to pass a context and additional request options.
7003//
7004// See GetSecurityConfiguration for details on how to use this API operation.
7005//
7006// The context must be non-nil and will be used for request cancellation. If
7007// the context is nil a panic will occur. In the future the SDK may create
7008// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7009// for more information on using Contexts.
7010func (c *Glue) GetSecurityConfigurationWithContext(ctx aws.Context, input *GetSecurityConfigurationInput, opts ...request.Option) (*GetSecurityConfigurationOutput, error) {
7011	req, out := c.GetSecurityConfigurationRequest(input)
7012	req.SetContext(ctx)
7013	req.ApplyOptions(opts...)
7014	return out, req.Send()
7015}
7016
7017const opGetSecurityConfigurations = "GetSecurityConfigurations"
7018
7019// GetSecurityConfigurationsRequest generates a "aws/request.Request" representing the
7020// client's request for the GetSecurityConfigurations operation. The "output" return
7021// value will be populated with the request's response once the request completes
7022// successfully.
7023//
7024// Use "Send" method on the returned Request to send the API call to the service.
7025// the "output" return value is not valid until after Send returns without error.
7026//
7027// See GetSecurityConfigurations for more information on using the GetSecurityConfigurations
7028// API call, and error handling.
7029//
7030// This method is useful when you want to inject custom logic or configuration
7031// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7032//
7033//
7034//    // Example sending a request using the GetSecurityConfigurationsRequest method.
7035//    req, resp := client.GetSecurityConfigurationsRequest(params)
7036//
7037//    err := req.Send()
7038//    if err == nil { // resp is now filled
7039//        fmt.Println(resp)
7040//    }
7041//
7042// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
7043func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurationsInput) (req *request.Request, output *GetSecurityConfigurationsOutput) {
7044	op := &request.Operation{
7045		Name:       opGetSecurityConfigurations,
7046		HTTPMethod: "POST",
7047		HTTPPath:   "/",
7048		Paginator: &request.Paginator{
7049			InputTokens:     []string{"NextToken"},
7050			OutputTokens:    []string{"NextToken"},
7051			LimitToken:      "MaxResults",
7052			TruncationToken: "",
7053		},
7054	}
7055
7056	if input == nil {
7057		input = &GetSecurityConfigurationsInput{}
7058	}
7059
7060	output = &GetSecurityConfigurationsOutput{}
7061	req = c.newRequest(op, input, output)
7062	return
7063}
7064
7065// GetSecurityConfigurations API operation for AWS Glue.
7066//
7067// Retrieves a list of all security configurations.
7068//
7069// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7070// with awserr.Error's Code and Message methods to get detailed information about
7071// the error.
7072//
7073// See the AWS API reference guide for AWS Glue's
7074// API operation GetSecurityConfigurations for usage and error information.
7075//
7076// Returned Error Codes:
7077//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7078//   A specified entity does not exist
7079//
7080//   * ErrCodeInvalidInputException "InvalidInputException"
7081//   The input provided was not valid.
7082//
7083//   * ErrCodeInternalServiceException "InternalServiceException"
7084//   An internal service error occurred.
7085//
7086//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7087//   The operation timed out.
7088//
7089// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations
7090func (c *Glue) GetSecurityConfigurations(input *GetSecurityConfigurationsInput) (*GetSecurityConfigurationsOutput, error) {
7091	req, out := c.GetSecurityConfigurationsRequest(input)
7092	return out, req.Send()
7093}
7094
7095// GetSecurityConfigurationsWithContext is the same as GetSecurityConfigurations with the addition of
7096// the ability to pass a context and additional request options.
7097//
7098// See GetSecurityConfigurations for details on how to use this API operation.
7099//
7100// The context must be non-nil and will be used for request cancellation. If
7101// the context is nil a panic will occur. In the future the SDK may create
7102// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7103// for more information on using Contexts.
7104func (c *Glue) GetSecurityConfigurationsWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, opts ...request.Option) (*GetSecurityConfigurationsOutput, error) {
7105	req, out := c.GetSecurityConfigurationsRequest(input)
7106	req.SetContext(ctx)
7107	req.ApplyOptions(opts...)
7108	return out, req.Send()
7109}
7110
7111// GetSecurityConfigurationsPages iterates over the pages of a GetSecurityConfigurations operation,
7112// calling the "fn" function with the response data for each page. To stop
7113// iterating, return false from the fn function.
7114//
7115// See GetSecurityConfigurations method for more information on how to use this operation.
7116//
7117// Note: This operation can generate multiple requests to a service.
7118//
7119//    // Example iterating over at most 3 pages of a GetSecurityConfigurations operation.
7120//    pageNum := 0
7121//    err := client.GetSecurityConfigurationsPages(params,
7122//        func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool {
7123//            pageNum++
7124//            fmt.Println(page)
7125//            return pageNum <= 3
7126//        })
7127//
7128func (c *Glue) GetSecurityConfigurationsPages(input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool) error {
7129	return c.GetSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn)
7130}
7131
7132// GetSecurityConfigurationsPagesWithContext same as GetSecurityConfigurationsPages except
7133// it takes a Context and allows setting request options on the pages.
7134//
7135// The context must be non-nil and will be used for request cancellation. If
7136// the context is nil a panic will occur. In the future the SDK may create
7137// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7138// for more information on using Contexts.
7139func (c *Glue) GetSecurityConfigurationsPagesWithContext(ctx aws.Context, input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool, opts ...request.Option) error {
7140	p := request.Pagination{
7141		NewRequest: func() (*request.Request, error) {
7142			var inCpy *GetSecurityConfigurationsInput
7143			if input != nil {
7144				tmp := *input
7145				inCpy = &tmp
7146			}
7147			req, _ := c.GetSecurityConfigurationsRequest(inCpy)
7148			req.SetContext(ctx)
7149			req.ApplyOptions(opts...)
7150			return req, nil
7151		},
7152	}
7153
7154	cont := true
7155	for p.Next() && cont {
7156		cont = fn(p.Page().(*GetSecurityConfigurationsOutput), !p.HasNextPage())
7157	}
7158	return p.Err()
7159}
7160
7161const opGetTable = "GetTable"
7162
7163// GetTableRequest generates a "aws/request.Request" representing the
7164// client's request for the GetTable operation. The "output" return
7165// value will be populated with the request's response once the request completes
7166// successfully.
7167//
7168// Use "Send" method on the returned Request to send the API call to the service.
7169// the "output" return value is not valid until after Send returns without error.
7170//
7171// See GetTable for more information on using the GetTable
7172// API call, and error handling.
7173//
7174// This method is useful when you want to inject custom logic or configuration
7175// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7176//
7177//
7178//    // Example sending a request using the GetTableRequest method.
7179//    req, resp := client.GetTableRequest(params)
7180//
7181//    err := req.Send()
7182//    if err == nil { // resp is now filled
7183//        fmt.Println(resp)
7184//    }
7185//
7186// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
7187func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) {
7188	op := &request.Operation{
7189		Name:       opGetTable,
7190		HTTPMethod: "POST",
7191		HTTPPath:   "/",
7192	}
7193
7194	if input == nil {
7195		input = &GetTableInput{}
7196	}
7197
7198	output = &GetTableOutput{}
7199	req = c.newRequest(op, input, output)
7200	return
7201}
7202
7203// GetTable API operation for AWS Glue.
7204//
7205// Retrieves the Table definition in a Data Catalog for a specified table.
7206//
7207// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7208// with awserr.Error's Code and Message methods to get detailed information about
7209// the error.
7210//
7211// See the AWS API reference guide for AWS Glue's
7212// API operation GetTable for usage and error information.
7213//
7214// Returned Error Codes:
7215//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7216//   A specified entity does not exist
7217//
7218//   * ErrCodeInvalidInputException "InvalidInputException"
7219//   The input provided was not valid.
7220//
7221//   * ErrCodeInternalServiceException "InternalServiceException"
7222//   An internal service error occurred.
7223//
7224//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7225//   The operation timed out.
7226//
7227//   * ErrCodeEncryptionException "GlueEncryptionException"
7228//   An encryption operation failed.
7229//
7230// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable
7231func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) {
7232	req, out := c.GetTableRequest(input)
7233	return out, req.Send()
7234}
7235
7236// GetTableWithContext is the same as GetTable with the addition of
7237// the ability to pass a context and additional request options.
7238//
7239// See GetTable for details on how to use this API operation.
7240//
7241// The context must be non-nil and will be used for request cancellation. If
7242// the context is nil a panic will occur. In the future the SDK may create
7243// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7244// for more information on using Contexts.
7245func (c *Glue) GetTableWithContext(ctx aws.Context, input *GetTableInput, opts ...request.Option) (*GetTableOutput, error) {
7246	req, out := c.GetTableRequest(input)
7247	req.SetContext(ctx)
7248	req.ApplyOptions(opts...)
7249	return out, req.Send()
7250}
7251
7252const opGetTableVersion = "GetTableVersion"
7253
7254// GetTableVersionRequest generates a "aws/request.Request" representing the
7255// client's request for the GetTableVersion operation. The "output" return
7256// value will be populated with the request's response once the request completes
7257// successfully.
7258//
7259// Use "Send" method on the returned Request to send the API call to the service.
7260// the "output" return value is not valid until after Send returns without error.
7261//
7262// See GetTableVersion for more information on using the GetTableVersion
7263// API call, and error handling.
7264//
7265// This method is useful when you want to inject custom logic or configuration
7266// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7267//
7268//
7269//    // Example sending a request using the GetTableVersionRequest method.
7270//    req, resp := client.GetTableVersionRequest(params)
7271//
7272//    err := req.Send()
7273//    if err == nil { // resp is now filled
7274//        fmt.Println(resp)
7275//    }
7276//
7277// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
7278func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request.Request, output *GetTableVersionOutput) {
7279	op := &request.Operation{
7280		Name:       opGetTableVersion,
7281		HTTPMethod: "POST",
7282		HTTPPath:   "/",
7283	}
7284
7285	if input == nil {
7286		input = &GetTableVersionInput{}
7287	}
7288
7289	output = &GetTableVersionOutput{}
7290	req = c.newRequest(op, input, output)
7291	return
7292}
7293
7294// GetTableVersion API operation for AWS Glue.
7295//
7296// Retrieves a specified version of a table.
7297//
7298// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7299// with awserr.Error's Code and Message methods to get detailed information about
7300// the error.
7301//
7302// See the AWS API reference guide for AWS Glue's
7303// API operation GetTableVersion for usage and error information.
7304//
7305// Returned Error Codes:
7306//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7307//   A specified entity does not exist
7308//
7309//   * ErrCodeInvalidInputException "InvalidInputException"
7310//   The input provided was not valid.
7311//
7312//   * ErrCodeInternalServiceException "InternalServiceException"
7313//   An internal service error occurred.
7314//
7315//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7316//   The operation timed out.
7317//
7318//   * ErrCodeEncryptionException "GlueEncryptionException"
7319//   An encryption operation failed.
7320//
7321// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion
7322func (c *Glue) GetTableVersion(input *GetTableVersionInput) (*GetTableVersionOutput, error) {
7323	req, out := c.GetTableVersionRequest(input)
7324	return out, req.Send()
7325}
7326
7327// GetTableVersionWithContext is the same as GetTableVersion with the addition of
7328// the ability to pass a context and additional request options.
7329//
7330// See GetTableVersion for details on how to use this API operation.
7331//
7332// The context must be non-nil and will be used for request cancellation. If
7333// the context is nil a panic will occur. In the future the SDK may create
7334// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7335// for more information on using Contexts.
7336func (c *Glue) GetTableVersionWithContext(ctx aws.Context, input *GetTableVersionInput, opts ...request.Option) (*GetTableVersionOutput, error) {
7337	req, out := c.GetTableVersionRequest(input)
7338	req.SetContext(ctx)
7339	req.ApplyOptions(opts...)
7340	return out, req.Send()
7341}
7342
7343const opGetTableVersions = "GetTableVersions"
7344
7345// GetTableVersionsRequest generates a "aws/request.Request" representing the
7346// client's request for the GetTableVersions operation. The "output" return
7347// value will be populated with the request's response once the request completes
7348// successfully.
7349//
7350// Use "Send" method on the returned Request to send the API call to the service.
7351// the "output" return value is not valid until after Send returns without error.
7352//
7353// See GetTableVersions for more information on using the GetTableVersions
7354// API call, and error handling.
7355//
7356// This method is useful when you want to inject custom logic or configuration
7357// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7358//
7359//
7360//    // Example sending a request using the GetTableVersionsRequest method.
7361//    req, resp := client.GetTableVersionsRequest(params)
7362//
7363//    err := req.Send()
7364//    if err == nil { // resp is now filled
7365//        fmt.Println(resp)
7366//    }
7367//
7368// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
7369func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) {
7370	op := &request.Operation{
7371		Name:       opGetTableVersions,
7372		HTTPMethod: "POST",
7373		HTTPPath:   "/",
7374		Paginator: &request.Paginator{
7375			InputTokens:     []string{"NextToken"},
7376			OutputTokens:    []string{"NextToken"},
7377			LimitToken:      "MaxResults",
7378			TruncationToken: "",
7379		},
7380	}
7381
7382	if input == nil {
7383		input = &GetTableVersionsInput{}
7384	}
7385
7386	output = &GetTableVersionsOutput{}
7387	req = c.newRequest(op, input, output)
7388	return
7389}
7390
7391// GetTableVersions API operation for AWS Glue.
7392//
7393// Retrieves a list of strings that identify available versions of a specified
7394// table.
7395//
7396// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7397// with awserr.Error's Code and Message methods to get detailed information about
7398// the error.
7399//
7400// See the AWS API reference guide for AWS Glue's
7401// API operation GetTableVersions for usage and error information.
7402//
7403// Returned Error Codes:
7404//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7405//   A specified entity does not exist
7406//
7407//   * ErrCodeInvalidInputException "InvalidInputException"
7408//   The input provided was not valid.
7409//
7410//   * ErrCodeInternalServiceException "InternalServiceException"
7411//   An internal service error occurred.
7412//
7413//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7414//   The operation timed out.
7415//
7416//   * ErrCodeEncryptionException "GlueEncryptionException"
7417//   An encryption operation failed.
7418//
7419// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions
7420func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) {
7421	req, out := c.GetTableVersionsRequest(input)
7422	return out, req.Send()
7423}
7424
7425// GetTableVersionsWithContext is the same as GetTableVersions with the addition of
7426// the ability to pass a context and additional request options.
7427//
7428// See GetTableVersions for details on how to use this API operation.
7429//
7430// The context must be non-nil and will be used for request cancellation. If
7431// the context is nil a panic will occur. In the future the SDK may create
7432// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7433// for more information on using Contexts.
7434func (c *Glue) GetTableVersionsWithContext(ctx aws.Context, input *GetTableVersionsInput, opts ...request.Option) (*GetTableVersionsOutput, error) {
7435	req, out := c.GetTableVersionsRequest(input)
7436	req.SetContext(ctx)
7437	req.ApplyOptions(opts...)
7438	return out, req.Send()
7439}
7440
7441// GetTableVersionsPages iterates over the pages of a GetTableVersions operation,
7442// calling the "fn" function with the response data for each page. To stop
7443// iterating, return false from the fn function.
7444//
7445// See GetTableVersions method for more information on how to use this operation.
7446//
7447// Note: This operation can generate multiple requests to a service.
7448//
7449//    // Example iterating over at most 3 pages of a GetTableVersions operation.
7450//    pageNum := 0
7451//    err := client.GetTableVersionsPages(params,
7452//        func(page *glue.GetTableVersionsOutput, lastPage bool) bool {
7453//            pageNum++
7454//            fmt.Println(page)
7455//            return pageNum <= 3
7456//        })
7457//
7458func (c *Glue) GetTableVersionsPages(input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool) error {
7459	return c.GetTableVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
7460}
7461
7462// GetTableVersionsPagesWithContext same as GetTableVersionsPages except
7463// it takes a Context and allows setting request options on the pages.
7464//
7465// The context must be non-nil and will be used for request cancellation. If
7466// the context is nil a panic will occur. In the future the SDK may create
7467// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7468// for more information on using Contexts.
7469func (c *Glue) GetTableVersionsPagesWithContext(ctx aws.Context, input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool, opts ...request.Option) error {
7470	p := request.Pagination{
7471		NewRequest: func() (*request.Request, error) {
7472			var inCpy *GetTableVersionsInput
7473			if input != nil {
7474				tmp := *input
7475				inCpy = &tmp
7476			}
7477			req, _ := c.GetTableVersionsRequest(inCpy)
7478			req.SetContext(ctx)
7479			req.ApplyOptions(opts...)
7480			return req, nil
7481		},
7482	}
7483
7484	cont := true
7485	for p.Next() && cont {
7486		cont = fn(p.Page().(*GetTableVersionsOutput), !p.HasNextPage())
7487	}
7488	return p.Err()
7489}
7490
7491const opGetTables = "GetTables"
7492
7493// GetTablesRequest generates a "aws/request.Request" representing the
7494// client's request for the GetTables operation. The "output" return
7495// value will be populated with the request's response once the request completes
7496// successfully.
7497//
7498// Use "Send" method on the returned Request to send the API call to the service.
7499// the "output" return value is not valid until after Send returns without error.
7500//
7501// See GetTables for more information on using the GetTables
7502// API call, and error handling.
7503//
7504// This method is useful when you want to inject custom logic or configuration
7505// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7506//
7507//
7508//    // Example sending a request using the GetTablesRequest method.
7509//    req, resp := client.GetTablesRequest(params)
7510//
7511//    err := req.Send()
7512//    if err == nil { // resp is now filled
7513//        fmt.Println(resp)
7514//    }
7515//
7516// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
7517func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) {
7518	op := &request.Operation{
7519		Name:       opGetTables,
7520		HTTPMethod: "POST",
7521		HTTPPath:   "/",
7522		Paginator: &request.Paginator{
7523			InputTokens:     []string{"NextToken"},
7524			OutputTokens:    []string{"NextToken"},
7525			LimitToken:      "MaxResults",
7526			TruncationToken: "",
7527		},
7528	}
7529
7530	if input == nil {
7531		input = &GetTablesInput{}
7532	}
7533
7534	output = &GetTablesOutput{}
7535	req = c.newRequest(op, input, output)
7536	return
7537}
7538
7539// GetTables API operation for AWS Glue.
7540//
7541// Retrieves the definitions of some or all of the tables in a given Database.
7542//
7543// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7544// with awserr.Error's Code and Message methods to get detailed information about
7545// the error.
7546//
7547// See the AWS API reference guide for AWS Glue's
7548// API operation GetTables for usage and error information.
7549//
7550// Returned Error Codes:
7551//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7552//   A specified entity does not exist
7553//
7554//   * ErrCodeInvalidInputException "InvalidInputException"
7555//   The input provided was not valid.
7556//
7557//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7558//   The operation timed out.
7559//
7560//   * ErrCodeInternalServiceException "InternalServiceException"
7561//   An internal service error occurred.
7562//
7563//   * ErrCodeEncryptionException "GlueEncryptionException"
7564//   An encryption operation failed.
7565//
7566// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables
7567func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) {
7568	req, out := c.GetTablesRequest(input)
7569	return out, req.Send()
7570}
7571
7572// GetTablesWithContext is the same as GetTables with the addition of
7573// the ability to pass a context and additional request options.
7574//
7575// See GetTables for details on how to use this API operation.
7576//
7577// The context must be non-nil and will be used for request cancellation. If
7578// the context is nil a panic will occur. In the future the SDK may create
7579// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7580// for more information on using Contexts.
7581func (c *Glue) GetTablesWithContext(ctx aws.Context, input *GetTablesInput, opts ...request.Option) (*GetTablesOutput, error) {
7582	req, out := c.GetTablesRequest(input)
7583	req.SetContext(ctx)
7584	req.ApplyOptions(opts...)
7585	return out, req.Send()
7586}
7587
7588// GetTablesPages iterates over the pages of a GetTables operation,
7589// calling the "fn" function with the response data for each page. To stop
7590// iterating, return false from the fn function.
7591//
7592// See GetTables method for more information on how to use this operation.
7593//
7594// Note: This operation can generate multiple requests to a service.
7595//
7596//    // Example iterating over at most 3 pages of a GetTables operation.
7597//    pageNum := 0
7598//    err := client.GetTablesPages(params,
7599//        func(page *glue.GetTablesOutput, lastPage bool) bool {
7600//            pageNum++
7601//            fmt.Println(page)
7602//            return pageNum <= 3
7603//        })
7604//
7605func (c *Glue) GetTablesPages(input *GetTablesInput, fn func(*GetTablesOutput, bool) bool) error {
7606	return c.GetTablesPagesWithContext(aws.BackgroundContext(), input, fn)
7607}
7608
7609// GetTablesPagesWithContext same as GetTablesPages except
7610// it takes a Context and allows setting request options on the pages.
7611//
7612// The context must be non-nil and will be used for request cancellation. If
7613// the context is nil a panic will occur. In the future the SDK may create
7614// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7615// for more information on using Contexts.
7616func (c *Glue) GetTablesPagesWithContext(ctx aws.Context, input *GetTablesInput, fn func(*GetTablesOutput, bool) bool, opts ...request.Option) error {
7617	p := request.Pagination{
7618		NewRequest: func() (*request.Request, error) {
7619			var inCpy *GetTablesInput
7620			if input != nil {
7621				tmp := *input
7622				inCpy = &tmp
7623			}
7624			req, _ := c.GetTablesRequest(inCpy)
7625			req.SetContext(ctx)
7626			req.ApplyOptions(opts...)
7627			return req, nil
7628		},
7629	}
7630
7631	cont := true
7632	for p.Next() && cont {
7633		cont = fn(p.Page().(*GetTablesOutput), !p.HasNextPage())
7634	}
7635	return p.Err()
7636}
7637
7638const opGetTags = "GetTags"
7639
7640// GetTagsRequest generates a "aws/request.Request" representing the
7641// client's request for the GetTags operation. The "output" return
7642// value will be populated with the request's response once the request completes
7643// successfully.
7644//
7645// Use "Send" method on the returned Request to send the API call to the service.
7646// the "output" return value is not valid until after Send returns without error.
7647//
7648// See GetTags for more information on using the GetTags
7649// API call, and error handling.
7650//
7651// This method is useful when you want to inject custom logic or configuration
7652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7653//
7654//
7655//    // Example sending a request using the GetTagsRequest method.
7656//    req, resp := client.GetTagsRequest(params)
7657//
7658//    err := req.Send()
7659//    if err == nil { // resp is now filled
7660//        fmt.Println(resp)
7661//    }
7662//
7663// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
7664func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) {
7665	op := &request.Operation{
7666		Name:       opGetTags,
7667		HTTPMethod: "POST",
7668		HTTPPath:   "/",
7669	}
7670
7671	if input == nil {
7672		input = &GetTagsInput{}
7673	}
7674
7675	output = &GetTagsOutput{}
7676	req = c.newRequest(op, input, output)
7677	return
7678}
7679
7680// GetTags API operation for AWS Glue.
7681//
7682// Retrieves a list of tags associated with a resource.
7683//
7684// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7685// with awserr.Error's Code and Message methods to get detailed information about
7686// the error.
7687//
7688// See the AWS API reference guide for AWS Glue's
7689// API operation GetTags for usage and error information.
7690//
7691// Returned Error Codes:
7692//   * ErrCodeInvalidInputException "InvalidInputException"
7693//   The input provided was not valid.
7694//
7695//   * ErrCodeInternalServiceException "InternalServiceException"
7696//   An internal service error occurred.
7697//
7698//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7699//   The operation timed out.
7700//
7701//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7702//   A specified entity does not exist
7703//
7704// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags
7705func (c *Glue) GetTags(input *GetTagsInput) (*GetTagsOutput, error) {
7706	req, out := c.GetTagsRequest(input)
7707	return out, req.Send()
7708}
7709
7710// GetTagsWithContext is the same as GetTags with the addition of
7711// the ability to pass a context and additional request options.
7712//
7713// See GetTags for details on how to use this API operation.
7714//
7715// The context must be non-nil and will be used for request cancellation. If
7716// the context is nil a panic will occur. In the future the SDK may create
7717// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7718// for more information on using Contexts.
7719func (c *Glue) GetTagsWithContext(ctx aws.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error) {
7720	req, out := c.GetTagsRequest(input)
7721	req.SetContext(ctx)
7722	req.ApplyOptions(opts...)
7723	return out, req.Send()
7724}
7725
7726const opGetTrigger = "GetTrigger"
7727
7728// GetTriggerRequest generates a "aws/request.Request" representing the
7729// client's request for the GetTrigger operation. The "output" return
7730// value will be populated with the request's response once the request completes
7731// successfully.
7732//
7733// Use "Send" method on the returned Request to send the API call to the service.
7734// the "output" return value is not valid until after Send returns without error.
7735//
7736// See GetTrigger for more information on using the GetTrigger
7737// API call, and error handling.
7738//
7739// This method is useful when you want to inject custom logic or configuration
7740// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7741//
7742//
7743//    // Example sending a request using the GetTriggerRequest method.
7744//    req, resp := client.GetTriggerRequest(params)
7745//
7746//    err := req.Send()
7747//    if err == nil { // resp is now filled
7748//        fmt.Println(resp)
7749//    }
7750//
7751// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
7752func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) {
7753	op := &request.Operation{
7754		Name:       opGetTrigger,
7755		HTTPMethod: "POST",
7756		HTTPPath:   "/",
7757	}
7758
7759	if input == nil {
7760		input = &GetTriggerInput{}
7761	}
7762
7763	output = &GetTriggerOutput{}
7764	req = c.newRequest(op, input, output)
7765	return
7766}
7767
7768// GetTrigger API operation for AWS Glue.
7769//
7770// Retrieves the definition of a trigger.
7771//
7772// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7773// with awserr.Error's Code and Message methods to get detailed information about
7774// the error.
7775//
7776// See the AWS API reference guide for AWS Glue's
7777// API operation GetTrigger for usage and error information.
7778//
7779// Returned Error Codes:
7780//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7781//   A specified entity does not exist
7782//
7783//   * ErrCodeInvalidInputException "InvalidInputException"
7784//   The input provided was not valid.
7785//
7786//   * ErrCodeInternalServiceException "InternalServiceException"
7787//   An internal service error occurred.
7788//
7789//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7790//   The operation timed out.
7791//
7792// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger
7793func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) {
7794	req, out := c.GetTriggerRequest(input)
7795	return out, req.Send()
7796}
7797
7798// GetTriggerWithContext is the same as GetTrigger with the addition of
7799// the ability to pass a context and additional request options.
7800//
7801// See GetTrigger for details on how to use this API operation.
7802//
7803// The context must be non-nil and will be used for request cancellation. If
7804// the context is nil a panic will occur. In the future the SDK may create
7805// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7806// for more information on using Contexts.
7807func (c *Glue) GetTriggerWithContext(ctx aws.Context, input *GetTriggerInput, opts ...request.Option) (*GetTriggerOutput, error) {
7808	req, out := c.GetTriggerRequest(input)
7809	req.SetContext(ctx)
7810	req.ApplyOptions(opts...)
7811	return out, req.Send()
7812}
7813
7814const opGetTriggers = "GetTriggers"
7815
7816// GetTriggersRequest generates a "aws/request.Request" representing the
7817// client's request for the GetTriggers operation. The "output" return
7818// value will be populated with the request's response once the request completes
7819// successfully.
7820//
7821// Use "Send" method on the returned Request to send the API call to the service.
7822// the "output" return value is not valid until after Send returns without error.
7823//
7824// See GetTriggers for more information on using the GetTriggers
7825// API call, and error handling.
7826//
7827// This method is useful when you want to inject custom logic or configuration
7828// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7829//
7830//
7831//    // Example sending a request using the GetTriggersRequest method.
7832//    req, resp := client.GetTriggersRequest(params)
7833//
7834//    err := req.Send()
7835//    if err == nil { // resp is now filled
7836//        fmt.Println(resp)
7837//    }
7838//
7839// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
7840func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) {
7841	op := &request.Operation{
7842		Name:       opGetTriggers,
7843		HTTPMethod: "POST",
7844		HTTPPath:   "/",
7845		Paginator: &request.Paginator{
7846			InputTokens:     []string{"NextToken"},
7847			OutputTokens:    []string{"NextToken"},
7848			LimitToken:      "MaxResults",
7849			TruncationToken: "",
7850		},
7851	}
7852
7853	if input == nil {
7854		input = &GetTriggersInput{}
7855	}
7856
7857	output = &GetTriggersOutput{}
7858	req = c.newRequest(op, input, output)
7859	return
7860}
7861
7862// GetTriggers API operation for AWS Glue.
7863//
7864// Gets all the triggers associated with a job.
7865//
7866// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7867// with awserr.Error's Code and Message methods to get detailed information about
7868// the error.
7869//
7870// See the AWS API reference guide for AWS Glue's
7871// API operation GetTriggers for usage and error information.
7872//
7873// Returned Error Codes:
7874//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
7875//   A specified entity does not exist
7876//
7877//   * ErrCodeInvalidInputException "InvalidInputException"
7878//   The input provided was not valid.
7879//
7880//   * ErrCodeInternalServiceException "InternalServiceException"
7881//   An internal service error occurred.
7882//
7883//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
7884//   The operation timed out.
7885//
7886// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers
7887func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) {
7888	req, out := c.GetTriggersRequest(input)
7889	return out, req.Send()
7890}
7891
7892// GetTriggersWithContext is the same as GetTriggers with the addition of
7893// the ability to pass a context and additional request options.
7894//
7895// See GetTriggers for details on how to use this API operation.
7896//
7897// The context must be non-nil and will be used for request cancellation. If
7898// the context is nil a panic will occur. In the future the SDK may create
7899// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7900// for more information on using Contexts.
7901func (c *Glue) GetTriggersWithContext(ctx aws.Context, input *GetTriggersInput, opts ...request.Option) (*GetTriggersOutput, error) {
7902	req, out := c.GetTriggersRequest(input)
7903	req.SetContext(ctx)
7904	req.ApplyOptions(opts...)
7905	return out, req.Send()
7906}
7907
7908// GetTriggersPages iterates over the pages of a GetTriggers operation,
7909// calling the "fn" function with the response data for each page. To stop
7910// iterating, return false from the fn function.
7911//
7912// See GetTriggers method for more information on how to use this operation.
7913//
7914// Note: This operation can generate multiple requests to a service.
7915//
7916//    // Example iterating over at most 3 pages of a GetTriggers operation.
7917//    pageNum := 0
7918//    err := client.GetTriggersPages(params,
7919//        func(page *glue.GetTriggersOutput, lastPage bool) bool {
7920//            pageNum++
7921//            fmt.Println(page)
7922//            return pageNum <= 3
7923//        })
7924//
7925func (c *Glue) GetTriggersPages(input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool) error {
7926	return c.GetTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
7927}
7928
7929// GetTriggersPagesWithContext same as GetTriggersPages except
7930// it takes a Context and allows setting request options on the pages.
7931//
7932// The context must be non-nil and will be used for request cancellation. If
7933// the context is nil a panic will occur. In the future the SDK may create
7934// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7935// for more information on using Contexts.
7936func (c *Glue) GetTriggersPagesWithContext(ctx aws.Context, input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool, opts ...request.Option) error {
7937	p := request.Pagination{
7938		NewRequest: func() (*request.Request, error) {
7939			var inCpy *GetTriggersInput
7940			if input != nil {
7941				tmp := *input
7942				inCpy = &tmp
7943			}
7944			req, _ := c.GetTriggersRequest(inCpy)
7945			req.SetContext(ctx)
7946			req.ApplyOptions(opts...)
7947			return req, nil
7948		},
7949	}
7950
7951	cont := true
7952	for p.Next() && cont {
7953		cont = fn(p.Page().(*GetTriggersOutput), !p.HasNextPage())
7954	}
7955	return p.Err()
7956}
7957
7958const opGetUserDefinedFunction = "GetUserDefinedFunction"
7959
7960// GetUserDefinedFunctionRequest generates a "aws/request.Request" representing the
7961// client's request for the GetUserDefinedFunction operation. The "output" return
7962// value will be populated with the request's response once the request completes
7963// successfully.
7964//
7965// Use "Send" method on the returned Request to send the API call to the service.
7966// the "output" return value is not valid until after Send returns without error.
7967//
7968// See GetUserDefinedFunction for more information on using the GetUserDefinedFunction
7969// API call, and error handling.
7970//
7971// This method is useful when you want to inject custom logic or configuration
7972// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7973//
7974//
7975//    // Example sending a request using the GetUserDefinedFunctionRequest method.
7976//    req, resp := client.GetUserDefinedFunctionRequest(params)
7977//
7978//    err := req.Send()
7979//    if err == nil { // resp is now filled
7980//        fmt.Println(resp)
7981//    }
7982//
7983// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
7984func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) {
7985	op := &request.Operation{
7986		Name:       opGetUserDefinedFunction,
7987		HTTPMethod: "POST",
7988		HTTPPath:   "/",
7989	}
7990
7991	if input == nil {
7992		input = &GetUserDefinedFunctionInput{}
7993	}
7994
7995	output = &GetUserDefinedFunctionOutput{}
7996	req = c.newRequest(op, input, output)
7997	return
7998}
7999
8000// GetUserDefinedFunction API operation for AWS Glue.
8001//
8002// Retrieves a specified function definition from the Data Catalog.
8003//
8004// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8005// with awserr.Error's Code and Message methods to get detailed information about
8006// the error.
8007//
8008// See the AWS API reference guide for AWS Glue's
8009// API operation GetUserDefinedFunction for usage and error information.
8010//
8011// Returned Error Codes:
8012//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8013//   A specified entity does not exist
8014//
8015//   * ErrCodeInvalidInputException "InvalidInputException"
8016//   The input provided was not valid.
8017//
8018//   * ErrCodeInternalServiceException "InternalServiceException"
8019//   An internal service error occurred.
8020//
8021//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8022//   The operation timed out.
8023//
8024//   * ErrCodeEncryptionException "GlueEncryptionException"
8025//   An encryption operation failed.
8026//
8027// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction
8028func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) {
8029	req, out := c.GetUserDefinedFunctionRequest(input)
8030	return out, req.Send()
8031}
8032
8033// GetUserDefinedFunctionWithContext is the same as GetUserDefinedFunction with the addition of
8034// the ability to pass a context and additional request options.
8035//
8036// See GetUserDefinedFunction for details on how to use this API operation.
8037//
8038// The context must be non-nil and will be used for request cancellation. If
8039// the context is nil a panic will occur. In the future the SDK may create
8040// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8041// for more information on using Contexts.
8042func (c *Glue) GetUserDefinedFunctionWithContext(ctx aws.Context, input *GetUserDefinedFunctionInput, opts ...request.Option) (*GetUserDefinedFunctionOutput, error) {
8043	req, out := c.GetUserDefinedFunctionRequest(input)
8044	req.SetContext(ctx)
8045	req.ApplyOptions(opts...)
8046	return out, req.Send()
8047}
8048
8049const opGetUserDefinedFunctions = "GetUserDefinedFunctions"
8050
8051// GetUserDefinedFunctionsRequest generates a "aws/request.Request" representing the
8052// client's request for the GetUserDefinedFunctions operation. The "output" return
8053// value will be populated with the request's response once the request completes
8054// successfully.
8055//
8056// Use "Send" method on the returned Request to send the API call to the service.
8057// the "output" return value is not valid until after Send returns without error.
8058//
8059// See GetUserDefinedFunctions for more information on using the GetUserDefinedFunctions
8060// API call, and error handling.
8061//
8062// This method is useful when you want to inject custom logic or configuration
8063// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8064//
8065//
8066//    // Example sending a request using the GetUserDefinedFunctionsRequest method.
8067//    req, resp := client.GetUserDefinedFunctionsRequest(params)
8068//
8069//    err := req.Send()
8070//    if err == nil { // resp is now filled
8071//        fmt.Println(resp)
8072//    }
8073//
8074// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
8075func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) {
8076	op := &request.Operation{
8077		Name:       opGetUserDefinedFunctions,
8078		HTTPMethod: "POST",
8079		HTTPPath:   "/",
8080		Paginator: &request.Paginator{
8081			InputTokens:     []string{"NextToken"},
8082			OutputTokens:    []string{"NextToken"},
8083			LimitToken:      "MaxResults",
8084			TruncationToken: "",
8085		},
8086	}
8087
8088	if input == nil {
8089		input = &GetUserDefinedFunctionsInput{}
8090	}
8091
8092	output = &GetUserDefinedFunctionsOutput{}
8093	req = c.newRequest(op, input, output)
8094	return
8095}
8096
8097// GetUserDefinedFunctions API operation for AWS Glue.
8098//
8099// Retrieves multiple function definitions from the Data Catalog.
8100//
8101// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8102// with awserr.Error's Code and Message methods to get detailed information about
8103// the error.
8104//
8105// See the AWS API reference guide for AWS Glue's
8106// API operation GetUserDefinedFunctions for usage and error information.
8107//
8108// Returned Error Codes:
8109//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8110//   A specified entity does not exist
8111//
8112//   * ErrCodeInvalidInputException "InvalidInputException"
8113//   The input provided was not valid.
8114//
8115//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8116//   The operation timed out.
8117//
8118//   * ErrCodeInternalServiceException "InternalServiceException"
8119//   An internal service error occurred.
8120//
8121//   * ErrCodeEncryptionException "GlueEncryptionException"
8122//   An encryption operation failed.
8123//
8124// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions
8125func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) {
8126	req, out := c.GetUserDefinedFunctionsRequest(input)
8127	return out, req.Send()
8128}
8129
8130// GetUserDefinedFunctionsWithContext is the same as GetUserDefinedFunctions with the addition of
8131// the ability to pass a context and additional request options.
8132//
8133// See GetUserDefinedFunctions for details on how to use this API operation.
8134//
8135// The context must be non-nil and will be used for request cancellation. If
8136// the context is nil a panic will occur. In the future the SDK may create
8137// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8138// for more information on using Contexts.
8139func (c *Glue) GetUserDefinedFunctionsWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, opts ...request.Option) (*GetUserDefinedFunctionsOutput, error) {
8140	req, out := c.GetUserDefinedFunctionsRequest(input)
8141	req.SetContext(ctx)
8142	req.ApplyOptions(opts...)
8143	return out, req.Send()
8144}
8145
8146// GetUserDefinedFunctionsPages iterates over the pages of a GetUserDefinedFunctions operation,
8147// calling the "fn" function with the response data for each page. To stop
8148// iterating, return false from the fn function.
8149//
8150// See GetUserDefinedFunctions method for more information on how to use this operation.
8151//
8152// Note: This operation can generate multiple requests to a service.
8153//
8154//    // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation.
8155//    pageNum := 0
8156//    err := client.GetUserDefinedFunctionsPages(params,
8157//        func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool {
8158//            pageNum++
8159//            fmt.Println(page)
8160//            return pageNum <= 3
8161//        })
8162//
8163func (c *Glue) GetUserDefinedFunctionsPages(input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool) error {
8164	return c.GetUserDefinedFunctionsPagesWithContext(aws.BackgroundContext(), input, fn)
8165}
8166
8167// GetUserDefinedFunctionsPagesWithContext same as GetUserDefinedFunctionsPages except
8168// it takes a Context and allows setting request options on the pages.
8169//
8170// The context must be non-nil and will be used for request cancellation. If
8171// the context is nil a panic will occur. In the future the SDK may create
8172// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8173// for more information on using Contexts.
8174func (c *Glue) GetUserDefinedFunctionsPagesWithContext(ctx aws.Context, input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool, opts ...request.Option) error {
8175	p := request.Pagination{
8176		NewRequest: func() (*request.Request, error) {
8177			var inCpy *GetUserDefinedFunctionsInput
8178			if input != nil {
8179				tmp := *input
8180				inCpy = &tmp
8181			}
8182			req, _ := c.GetUserDefinedFunctionsRequest(inCpy)
8183			req.SetContext(ctx)
8184			req.ApplyOptions(opts...)
8185			return req, nil
8186		},
8187	}
8188
8189	cont := true
8190	for p.Next() && cont {
8191		cont = fn(p.Page().(*GetUserDefinedFunctionsOutput), !p.HasNextPage())
8192	}
8193	return p.Err()
8194}
8195
8196const opGetWorkflow = "GetWorkflow"
8197
8198// GetWorkflowRequest generates a "aws/request.Request" representing the
8199// client's request for the GetWorkflow operation. The "output" return
8200// value will be populated with the request's response once the request completes
8201// successfully.
8202//
8203// Use "Send" method on the returned Request to send the API call to the service.
8204// the "output" return value is not valid until after Send returns without error.
8205//
8206// See GetWorkflow for more information on using the GetWorkflow
8207// API call, and error handling.
8208//
8209// This method is useful when you want to inject custom logic or configuration
8210// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8211//
8212//
8213//    // Example sending a request using the GetWorkflowRequest method.
8214//    req, resp := client.GetWorkflowRequest(params)
8215//
8216//    err := req.Send()
8217//    if err == nil { // resp is now filled
8218//        fmt.Println(resp)
8219//    }
8220//
8221// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
8222func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) {
8223	op := &request.Operation{
8224		Name:       opGetWorkflow,
8225		HTTPMethod: "POST",
8226		HTTPPath:   "/",
8227	}
8228
8229	if input == nil {
8230		input = &GetWorkflowInput{}
8231	}
8232
8233	output = &GetWorkflowOutput{}
8234	req = c.newRequest(op, input, output)
8235	return
8236}
8237
8238// GetWorkflow API operation for AWS Glue.
8239//
8240// Retrieves resource metadata for a workflow.
8241//
8242// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8243// with awserr.Error's Code and Message methods to get detailed information about
8244// the error.
8245//
8246// See the AWS API reference guide for AWS Glue's
8247// API operation GetWorkflow for usage and error information.
8248//
8249// Returned Error Codes:
8250//   * ErrCodeInvalidInputException "InvalidInputException"
8251//   The input provided was not valid.
8252//
8253//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8254//   A specified entity does not exist
8255//
8256//   * ErrCodeInternalServiceException "InternalServiceException"
8257//   An internal service error occurred.
8258//
8259//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8260//   The operation timed out.
8261//
8262// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow
8263func (c *Glue) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) {
8264	req, out := c.GetWorkflowRequest(input)
8265	return out, req.Send()
8266}
8267
8268// GetWorkflowWithContext is the same as GetWorkflow with the addition of
8269// the ability to pass a context and additional request options.
8270//
8271// See GetWorkflow for details on how to use this API operation.
8272//
8273// The context must be non-nil and will be used for request cancellation. If
8274// the context is nil a panic will occur. In the future the SDK may create
8275// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8276// for more information on using Contexts.
8277func (c *Glue) GetWorkflowWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.Option) (*GetWorkflowOutput, error) {
8278	req, out := c.GetWorkflowRequest(input)
8279	req.SetContext(ctx)
8280	req.ApplyOptions(opts...)
8281	return out, req.Send()
8282}
8283
8284const opGetWorkflowRun = "GetWorkflowRun"
8285
8286// GetWorkflowRunRequest generates a "aws/request.Request" representing the
8287// client's request for the GetWorkflowRun operation. The "output" return
8288// value will be populated with the request's response once the request completes
8289// successfully.
8290//
8291// Use "Send" method on the returned Request to send the API call to the service.
8292// the "output" return value is not valid until after Send returns without error.
8293//
8294// See GetWorkflowRun for more information on using the GetWorkflowRun
8295// API call, and error handling.
8296//
8297// This method is useful when you want to inject custom logic or configuration
8298// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8299//
8300//
8301//    // Example sending a request using the GetWorkflowRunRequest method.
8302//    req, resp := client.GetWorkflowRunRequest(params)
8303//
8304//    err := req.Send()
8305//    if err == nil { // resp is now filled
8306//        fmt.Println(resp)
8307//    }
8308//
8309// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
8310func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.Request, output *GetWorkflowRunOutput) {
8311	op := &request.Operation{
8312		Name:       opGetWorkflowRun,
8313		HTTPMethod: "POST",
8314		HTTPPath:   "/",
8315	}
8316
8317	if input == nil {
8318		input = &GetWorkflowRunInput{}
8319	}
8320
8321	output = &GetWorkflowRunOutput{}
8322	req = c.newRequest(op, input, output)
8323	return
8324}
8325
8326// GetWorkflowRun API operation for AWS Glue.
8327//
8328// Retrieves the metadata for a given workflow run.
8329//
8330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8331// with awserr.Error's Code and Message methods to get detailed information about
8332// the error.
8333//
8334// See the AWS API reference guide for AWS Glue's
8335// API operation GetWorkflowRun for usage and error information.
8336//
8337// Returned Error Codes:
8338//   * ErrCodeInvalidInputException "InvalidInputException"
8339//   The input provided was not valid.
8340//
8341//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8342//   A specified entity does not exist
8343//
8344//   * ErrCodeInternalServiceException "InternalServiceException"
8345//   An internal service error occurred.
8346//
8347//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8348//   The operation timed out.
8349//
8350// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun
8351func (c *Glue) GetWorkflowRun(input *GetWorkflowRunInput) (*GetWorkflowRunOutput, error) {
8352	req, out := c.GetWorkflowRunRequest(input)
8353	return out, req.Send()
8354}
8355
8356// GetWorkflowRunWithContext is the same as GetWorkflowRun with the addition of
8357// the ability to pass a context and additional request options.
8358//
8359// See GetWorkflowRun for details on how to use this API operation.
8360//
8361// The context must be non-nil and will be used for request cancellation. If
8362// the context is nil a panic will occur. In the future the SDK may create
8363// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8364// for more information on using Contexts.
8365func (c *Glue) GetWorkflowRunWithContext(ctx aws.Context, input *GetWorkflowRunInput, opts ...request.Option) (*GetWorkflowRunOutput, error) {
8366	req, out := c.GetWorkflowRunRequest(input)
8367	req.SetContext(ctx)
8368	req.ApplyOptions(opts...)
8369	return out, req.Send()
8370}
8371
8372const opGetWorkflowRunProperties = "GetWorkflowRunProperties"
8373
8374// GetWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
8375// client's request for the GetWorkflowRunProperties operation. The "output" return
8376// value will be populated with the request's response once the request completes
8377// successfully.
8378//
8379// Use "Send" method on the returned Request to send the API call to the service.
8380// the "output" return value is not valid until after Send returns without error.
8381//
8382// See GetWorkflowRunProperties for more information on using the GetWorkflowRunProperties
8383// API call, and error handling.
8384//
8385// This method is useful when you want to inject custom logic or configuration
8386// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8387//
8388//
8389//    // Example sending a request using the GetWorkflowRunPropertiesRequest method.
8390//    req, resp := client.GetWorkflowRunPropertiesRequest(params)
8391//
8392//    err := req.Send()
8393//    if err == nil { // resp is now filled
8394//        fmt.Println(resp)
8395//    }
8396//
8397// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
8398func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesInput) (req *request.Request, output *GetWorkflowRunPropertiesOutput) {
8399	op := &request.Operation{
8400		Name:       opGetWorkflowRunProperties,
8401		HTTPMethod: "POST",
8402		HTTPPath:   "/",
8403	}
8404
8405	if input == nil {
8406		input = &GetWorkflowRunPropertiesInput{}
8407	}
8408
8409	output = &GetWorkflowRunPropertiesOutput{}
8410	req = c.newRequest(op, input, output)
8411	return
8412}
8413
8414// GetWorkflowRunProperties API operation for AWS Glue.
8415//
8416// Retrieves the workflow run properties which were set during the run.
8417//
8418// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8419// with awserr.Error's Code and Message methods to get detailed information about
8420// the error.
8421//
8422// See the AWS API reference guide for AWS Glue's
8423// API operation GetWorkflowRunProperties for usage and error information.
8424//
8425// Returned Error Codes:
8426//   * ErrCodeInvalidInputException "InvalidInputException"
8427//   The input provided was not valid.
8428//
8429//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8430//   A specified entity does not exist
8431//
8432//   * ErrCodeInternalServiceException "InternalServiceException"
8433//   An internal service error occurred.
8434//
8435//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8436//   The operation timed out.
8437//
8438// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties
8439func (c *Glue) GetWorkflowRunProperties(input *GetWorkflowRunPropertiesInput) (*GetWorkflowRunPropertiesOutput, error) {
8440	req, out := c.GetWorkflowRunPropertiesRequest(input)
8441	return out, req.Send()
8442}
8443
8444// GetWorkflowRunPropertiesWithContext is the same as GetWorkflowRunProperties with the addition of
8445// the ability to pass a context and additional request options.
8446//
8447// See GetWorkflowRunProperties for details on how to use this API operation.
8448//
8449// The context must be non-nil and will be used for request cancellation. If
8450// the context is nil a panic will occur. In the future the SDK may create
8451// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8452// for more information on using Contexts.
8453func (c *Glue) GetWorkflowRunPropertiesWithContext(ctx aws.Context, input *GetWorkflowRunPropertiesInput, opts ...request.Option) (*GetWorkflowRunPropertiesOutput, error) {
8454	req, out := c.GetWorkflowRunPropertiesRequest(input)
8455	req.SetContext(ctx)
8456	req.ApplyOptions(opts...)
8457	return out, req.Send()
8458}
8459
8460const opGetWorkflowRuns = "GetWorkflowRuns"
8461
8462// GetWorkflowRunsRequest generates a "aws/request.Request" representing the
8463// client's request for the GetWorkflowRuns operation. The "output" return
8464// value will be populated with the request's response once the request completes
8465// successfully.
8466//
8467// Use "Send" method on the returned Request to send the API call to the service.
8468// the "output" return value is not valid until after Send returns without error.
8469//
8470// See GetWorkflowRuns for more information on using the GetWorkflowRuns
8471// API call, and error handling.
8472//
8473// This method is useful when you want to inject custom logic or configuration
8474// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8475//
8476//
8477//    // Example sending a request using the GetWorkflowRunsRequest method.
8478//    req, resp := client.GetWorkflowRunsRequest(params)
8479//
8480//    err := req.Send()
8481//    if err == nil { // resp is now filled
8482//        fmt.Println(resp)
8483//    }
8484//
8485// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
8486func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request.Request, output *GetWorkflowRunsOutput) {
8487	op := &request.Operation{
8488		Name:       opGetWorkflowRuns,
8489		HTTPMethod: "POST",
8490		HTTPPath:   "/",
8491		Paginator: &request.Paginator{
8492			InputTokens:     []string{"NextToken"},
8493			OutputTokens:    []string{"NextToken"},
8494			LimitToken:      "MaxResults",
8495			TruncationToken: "",
8496		},
8497	}
8498
8499	if input == nil {
8500		input = &GetWorkflowRunsInput{}
8501	}
8502
8503	output = &GetWorkflowRunsOutput{}
8504	req = c.newRequest(op, input, output)
8505	return
8506}
8507
8508// GetWorkflowRuns API operation for AWS Glue.
8509//
8510// Retrieves metadata for all runs of a given workflow.
8511//
8512// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8513// with awserr.Error's Code and Message methods to get detailed information about
8514// the error.
8515//
8516// See the AWS API reference guide for AWS Glue's
8517// API operation GetWorkflowRuns for usage and error information.
8518//
8519// Returned Error Codes:
8520//   * ErrCodeInvalidInputException "InvalidInputException"
8521//   The input provided was not valid.
8522//
8523//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8524//   A specified entity does not exist
8525//
8526//   * ErrCodeInternalServiceException "InternalServiceException"
8527//   An internal service error occurred.
8528//
8529//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8530//   The operation timed out.
8531//
8532// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns
8533func (c *Glue) GetWorkflowRuns(input *GetWorkflowRunsInput) (*GetWorkflowRunsOutput, error) {
8534	req, out := c.GetWorkflowRunsRequest(input)
8535	return out, req.Send()
8536}
8537
8538// GetWorkflowRunsWithContext is the same as GetWorkflowRuns with the addition of
8539// the ability to pass a context and additional request options.
8540//
8541// See GetWorkflowRuns for details on how to use this API operation.
8542//
8543// The context must be non-nil and will be used for request cancellation. If
8544// the context is nil a panic will occur. In the future the SDK may create
8545// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8546// for more information on using Contexts.
8547func (c *Glue) GetWorkflowRunsWithContext(ctx aws.Context, input *GetWorkflowRunsInput, opts ...request.Option) (*GetWorkflowRunsOutput, error) {
8548	req, out := c.GetWorkflowRunsRequest(input)
8549	req.SetContext(ctx)
8550	req.ApplyOptions(opts...)
8551	return out, req.Send()
8552}
8553
8554// GetWorkflowRunsPages iterates over the pages of a GetWorkflowRuns operation,
8555// calling the "fn" function with the response data for each page. To stop
8556// iterating, return false from the fn function.
8557//
8558// See GetWorkflowRuns method for more information on how to use this operation.
8559//
8560// Note: This operation can generate multiple requests to a service.
8561//
8562//    // Example iterating over at most 3 pages of a GetWorkflowRuns operation.
8563//    pageNum := 0
8564//    err := client.GetWorkflowRunsPages(params,
8565//        func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool {
8566//            pageNum++
8567//            fmt.Println(page)
8568//            return pageNum <= 3
8569//        })
8570//
8571func (c *Glue) GetWorkflowRunsPages(input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool) error {
8572	return c.GetWorkflowRunsPagesWithContext(aws.BackgroundContext(), input, fn)
8573}
8574
8575// GetWorkflowRunsPagesWithContext same as GetWorkflowRunsPages except
8576// it takes a Context and allows setting request options on the pages.
8577//
8578// The context must be non-nil and will be used for request cancellation. If
8579// the context is nil a panic will occur. In the future the SDK may create
8580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8581// for more information on using Contexts.
8582func (c *Glue) GetWorkflowRunsPagesWithContext(ctx aws.Context, input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool, opts ...request.Option) error {
8583	p := request.Pagination{
8584		NewRequest: func() (*request.Request, error) {
8585			var inCpy *GetWorkflowRunsInput
8586			if input != nil {
8587				tmp := *input
8588				inCpy = &tmp
8589			}
8590			req, _ := c.GetWorkflowRunsRequest(inCpy)
8591			req.SetContext(ctx)
8592			req.ApplyOptions(opts...)
8593			return req, nil
8594		},
8595	}
8596
8597	cont := true
8598	for p.Next() && cont {
8599		cont = fn(p.Page().(*GetWorkflowRunsOutput), !p.HasNextPage())
8600	}
8601	return p.Err()
8602}
8603
8604const opImportCatalogToGlue = "ImportCatalogToGlue"
8605
8606// ImportCatalogToGlueRequest generates a "aws/request.Request" representing the
8607// client's request for the ImportCatalogToGlue operation. The "output" return
8608// value will be populated with the request's response once the request completes
8609// successfully.
8610//
8611// Use "Send" method on the returned Request to send the API call to the service.
8612// the "output" return value is not valid until after Send returns without error.
8613//
8614// See ImportCatalogToGlue for more information on using the ImportCatalogToGlue
8615// API call, and error handling.
8616//
8617// This method is useful when you want to inject custom logic or configuration
8618// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8619//
8620//
8621//    // Example sending a request using the ImportCatalogToGlueRequest method.
8622//    req, resp := client.ImportCatalogToGlueRequest(params)
8623//
8624//    err := req.Send()
8625//    if err == nil { // resp is now filled
8626//        fmt.Println(resp)
8627//    }
8628//
8629// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
8630func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) {
8631	op := &request.Operation{
8632		Name:       opImportCatalogToGlue,
8633		HTTPMethod: "POST",
8634		HTTPPath:   "/",
8635	}
8636
8637	if input == nil {
8638		input = &ImportCatalogToGlueInput{}
8639	}
8640
8641	output = &ImportCatalogToGlueOutput{}
8642	req = c.newRequest(op, input, output)
8643	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
8644	return
8645}
8646
8647// ImportCatalogToGlue API operation for AWS Glue.
8648//
8649// Imports an existing Amazon Athena Data Catalog to AWS Glue
8650//
8651// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8652// with awserr.Error's Code and Message methods to get detailed information about
8653// the error.
8654//
8655// See the AWS API reference guide for AWS Glue's
8656// API operation ImportCatalogToGlue for usage and error information.
8657//
8658// Returned Error Codes:
8659//   * ErrCodeInternalServiceException "InternalServiceException"
8660//   An internal service error occurred.
8661//
8662//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8663//   The operation timed out.
8664//
8665// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue
8666func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) {
8667	req, out := c.ImportCatalogToGlueRequest(input)
8668	return out, req.Send()
8669}
8670
8671// ImportCatalogToGlueWithContext is the same as ImportCatalogToGlue with the addition of
8672// the ability to pass a context and additional request options.
8673//
8674// See ImportCatalogToGlue for details on how to use this API operation.
8675//
8676// The context must be non-nil and will be used for request cancellation. If
8677// the context is nil a panic will occur. In the future the SDK may create
8678// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8679// for more information on using Contexts.
8680func (c *Glue) ImportCatalogToGlueWithContext(ctx aws.Context, input *ImportCatalogToGlueInput, opts ...request.Option) (*ImportCatalogToGlueOutput, error) {
8681	req, out := c.ImportCatalogToGlueRequest(input)
8682	req.SetContext(ctx)
8683	req.ApplyOptions(opts...)
8684	return out, req.Send()
8685}
8686
8687const opListCrawlers = "ListCrawlers"
8688
8689// ListCrawlersRequest generates a "aws/request.Request" representing the
8690// client's request for the ListCrawlers operation. The "output" return
8691// value will be populated with the request's response once the request completes
8692// successfully.
8693//
8694// Use "Send" method on the returned Request to send the API call to the service.
8695// the "output" return value is not valid until after Send returns without error.
8696//
8697// See ListCrawlers for more information on using the ListCrawlers
8698// API call, and error handling.
8699//
8700// This method is useful when you want to inject custom logic or configuration
8701// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8702//
8703//
8704//    // Example sending a request using the ListCrawlersRequest method.
8705//    req, resp := client.ListCrawlersRequest(params)
8706//
8707//    err := req.Send()
8708//    if err == nil { // resp is now filled
8709//        fmt.Println(resp)
8710//    }
8711//
8712// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
8713func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Request, output *ListCrawlersOutput) {
8714	op := &request.Operation{
8715		Name:       opListCrawlers,
8716		HTTPMethod: "POST",
8717		HTTPPath:   "/",
8718		Paginator: &request.Paginator{
8719			InputTokens:     []string{"NextToken"},
8720			OutputTokens:    []string{"NextToken"},
8721			LimitToken:      "MaxResults",
8722			TruncationToken: "",
8723		},
8724	}
8725
8726	if input == nil {
8727		input = &ListCrawlersInput{}
8728	}
8729
8730	output = &ListCrawlersOutput{}
8731	req = c.newRequest(op, input, output)
8732	return
8733}
8734
8735// ListCrawlers API operation for AWS Glue.
8736//
8737// Retrieves the names of all crawler resources in this AWS account, or the
8738// resources with the specified tag. This operation allows you to see which
8739// resources are available in your account, and their names.
8740//
8741// This operation takes the optional Tags field, which you can use as a filter
8742// on the response so that tagged resources can be retrieved as a group. If
8743// you choose to use tags filtering, only resources with the tag are retrieved.
8744//
8745// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8746// with awserr.Error's Code and Message methods to get detailed information about
8747// the error.
8748//
8749// See the AWS API reference guide for AWS Glue's
8750// API operation ListCrawlers for usage and error information.
8751//
8752// Returned Error Codes:
8753//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8754//   The operation timed out.
8755//
8756// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers
8757func (c *Glue) ListCrawlers(input *ListCrawlersInput) (*ListCrawlersOutput, error) {
8758	req, out := c.ListCrawlersRequest(input)
8759	return out, req.Send()
8760}
8761
8762// ListCrawlersWithContext is the same as ListCrawlers with the addition of
8763// the ability to pass a context and additional request options.
8764//
8765// See ListCrawlers for details on how to use this API operation.
8766//
8767// The context must be non-nil and will be used for request cancellation. If
8768// the context is nil a panic will occur. In the future the SDK may create
8769// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8770// for more information on using Contexts.
8771func (c *Glue) ListCrawlersWithContext(ctx aws.Context, input *ListCrawlersInput, opts ...request.Option) (*ListCrawlersOutput, error) {
8772	req, out := c.ListCrawlersRequest(input)
8773	req.SetContext(ctx)
8774	req.ApplyOptions(opts...)
8775	return out, req.Send()
8776}
8777
8778// ListCrawlersPages iterates over the pages of a ListCrawlers operation,
8779// calling the "fn" function with the response data for each page. To stop
8780// iterating, return false from the fn function.
8781//
8782// See ListCrawlers method for more information on how to use this operation.
8783//
8784// Note: This operation can generate multiple requests to a service.
8785//
8786//    // Example iterating over at most 3 pages of a ListCrawlers operation.
8787//    pageNum := 0
8788//    err := client.ListCrawlersPages(params,
8789//        func(page *glue.ListCrawlersOutput, lastPage bool) bool {
8790//            pageNum++
8791//            fmt.Println(page)
8792//            return pageNum <= 3
8793//        })
8794//
8795func (c *Glue) ListCrawlersPages(input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool) error {
8796	return c.ListCrawlersPagesWithContext(aws.BackgroundContext(), input, fn)
8797}
8798
8799// ListCrawlersPagesWithContext same as ListCrawlersPages except
8800// it takes a Context and allows setting request options on the pages.
8801//
8802// The context must be non-nil and will be used for request cancellation. If
8803// the context is nil a panic will occur. In the future the SDK may create
8804// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8805// for more information on using Contexts.
8806func (c *Glue) ListCrawlersPagesWithContext(ctx aws.Context, input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool, opts ...request.Option) error {
8807	p := request.Pagination{
8808		NewRequest: func() (*request.Request, error) {
8809			var inCpy *ListCrawlersInput
8810			if input != nil {
8811				tmp := *input
8812				inCpy = &tmp
8813			}
8814			req, _ := c.ListCrawlersRequest(inCpy)
8815			req.SetContext(ctx)
8816			req.ApplyOptions(opts...)
8817			return req, nil
8818		},
8819	}
8820
8821	cont := true
8822	for p.Next() && cont {
8823		cont = fn(p.Page().(*ListCrawlersOutput), !p.HasNextPage())
8824	}
8825	return p.Err()
8826}
8827
8828const opListDevEndpoints = "ListDevEndpoints"
8829
8830// ListDevEndpointsRequest generates a "aws/request.Request" representing the
8831// client's request for the ListDevEndpoints operation. The "output" return
8832// value will be populated with the request's response once the request completes
8833// successfully.
8834//
8835// Use "Send" method on the returned Request to send the API call to the service.
8836// the "output" return value is not valid until after Send returns without error.
8837//
8838// See ListDevEndpoints for more information on using the ListDevEndpoints
8839// API call, and error handling.
8840//
8841// This method is useful when you want to inject custom logic or configuration
8842// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8843//
8844//
8845//    // Example sending a request using the ListDevEndpointsRequest method.
8846//    req, resp := client.ListDevEndpointsRequest(params)
8847//
8848//    err := req.Send()
8849//    if err == nil { // resp is now filled
8850//        fmt.Println(resp)
8851//    }
8852//
8853// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
8854func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *request.Request, output *ListDevEndpointsOutput) {
8855	op := &request.Operation{
8856		Name:       opListDevEndpoints,
8857		HTTPMethod: "POST",
8858		HTTPPath:   "/",
8859		Paginator: &request.Paginator{
8860			InputTokens:     []string{"NextToken"},
8861			OutputTokens:    []string{"NextToken"},
8862			LimitToken:      "MaxResults",
8863			TruncationToken: "",
8864		},
8865	}
8866
8867	if input == nil {
8868		input = &ListDevEndpointsInput{}
8869	}
8870
8871	output = &ListDevEndpointsOutput{}
8872	req = c.newRequest(op, input, output)
8873	return
8874}
8875
8876// ListDevEndpoints API operation for AWS Glue.
8877//
8878// Retrieves the names of all DevEndpoint resources in this AWS account, or
8879// the resources with the specified tag. This operation allows you to see which
8880// resources are available in your account, and their names.
8881//
8882// This operation takes the optional Tags field, which you can use as a filter
8883// on the response so that tagged resources can be retrieved as a group. If
8884// you choose to use tags filtering, only resources with the tag are retrieved.
8885//
8886// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8887// with awserr.Error's Code and Message methods to get detailed information about
8888// the error.
8889//
8890// See the AWS API reference guide for AWS Glue's
8891// API operation ListDevEndpoints for usage and error information.
8892//
8893// Returned Error Codes:
8894//   * ErrCodeInvalidInputException "InvalidInputException"
8895//   The input provided was not valid.
8896//
8897//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
8898//   A specified entity does not exist
8899//
8900//   * ErrCodeInternalServiceException "InternalServiceException"
8901//   An internal service error occurred.
8902//
8903//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
8904//   The operation timed out.
8905//
8906// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints
8907func (c *Glue) ListDevEndpoints(input *ListDevEndpointsInput) (*ListDevEndpointsOutput, error) {
8908	req, out := c.ListDevEndpointsRequest(input)
8909	return out, req.Send()
8910}
8911
8912// ListDevEndpointsWithContext is the same as ListDevEndpoints with the addition of
8913// the ability to pass a context and additional request options.
8914//
8915// See ListDevEndpoints for details on how to use this API operation.
8916//
8917// The context must be non-nil and will be used for request cancellation. If
8918// the context is nil a panic will occur. In the future the SDK may create
8919// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8920// for more information on using Contexts.
8921func (c *Glue) ListDevEndpointsWithContext(ctx aws.Context, input *ListDevEndpointsInput, opts ...request.Option) (*ListDevEndpointsOutput, error) {
8922	req, out := c.ListDevEndpointsRequest(input)
8923	req.SetContext(ctx)
8924	req.ApplyOptions(opts...)
8925	return out, req.Send()
8926}
8927
8928// ListDevEndpointsPages iterates over the pages of a ListDevEndpoints operation,
8929// calling the "fn" function with the response data for each page. To stop
8930// iterating, return false from the fn function.
8931//
8932// See ListDevEndpoints method for more information on how to use this operation.
8933//
8934// Note: This operation can generate multiple requests to a service.
8935//
8936//    // Example iterating over at most 3 pages of a ListDevEndpoints operation.
8937//    pageNum := 0
8938//    err := client.ListDevEndpointsPages(params,
8939//        func(page *glue.ListDevEndpointsOutput, lastPage bool) bool {
8940//            pageNum++
8941//            fmt.Println(page)
8942//            return pageNum <= 3
8943//        })
8944//
8945func (c *Glue) ListDevEndpointsPages(input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool) error {
8946	return c.ListDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
8947}
8948
8949// ListDevEndpointsPagesWithContext same as ListDevEndpointsPages except
8950// it takes a Context and allows setting request options on the pages.
8951//
8952// The context must be non-nil and will be used for request cancellation. If
8953// the context is nil a panic will occur. In the future the SDK may create
8954// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8955// for more information on using Contexts.
8956func (c *Glue) ListDevEndpointsPagesWithContext(ctx aws.Context, input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool, opts ...request.Option) error {
8957	p := request.Pagination{
8958		NewRequest: func() (*request.Request, error) {
8959			var inCpy *ListDevEndpointsInput
8960			if input != nil {
8961				tmp := *input
8962				inCpy = &tmp
8963			}
8964			req, _ := c.ListDevEndpointsRequest(inCpy)
8965			req.SetContext(ctx)
8966			req.ApplyOptions(opts...)
8967			return req, nil
8968		},
8969	}
8970
8971	cont := true
8972	for p.Next() && cont {
8973		cont = fn(p.Page().(*ListDevEndpointsOutput), !p.HasNextPage())
8974	}
8975	return p.Err()
8976}
8977
8978const opListJobs = "ListJobs"
8979
8980// ListJobsRequest generates a "aws/request.Request" representing the
8981// client's request for the ListJobs operation. The "output" return
8982// value will be populated with the request's response once the request completes
8983// successfully.
8984//
8985// Use "Send" method on the returned Request to send the API call to the service.
8986// the "output" return value is not valid until after Send returns without error.
8987//
8988// See ListJobs for more information on using the ListJobs
8989// API call, and error handling.
8990//
8991// This method is useful when you want to inject custom logic or configuration
8992// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8993//
8994//
8995//    // Example sending a request using the ListJobsRequest method.
8996//    req, resp := client.ListJobsRequest(params)
8997//
8998//    err := req.Send()
8999//    if err == nil { // resp is now filled
9000//        fmt.Println(resp)
9001//    }
9002//
9003// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
9004func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) {
9005	op := &request.Operation{
9006		Name:       opListJobs,
9007		HTTPMethod: "POST",
9008		HTTPPath:   "/",
9009		Paginator: &request.Paginator{
9010			InputTokens:     []string{"NextToken"},
9011			OutputTokens:    []string{"NextToken"},
9012			LimitToken:      "MaxResults",
9013			TruncationToken: "",
9014		},
9015	}
9016
9017	if input == nil {
9018		input = &ListJobsInput{}
9019	}
9020
9021	output = &ListJobsOutput{}
9022	req = c.newRequest(op, input, output)
9023	return
9024}
9025
9026// ListJobs API operation for AWS Glue.
9027//
9028// Retrieves the names of all job resources in this AWS account, or the resources
9029// with the specified tag. This operation allows you to see which resources
9030// are available in your account, and their names.
9031//
9032// This operation takes the optional Tags field, which you can use as a filter
9033// on the response so that tagged resources can be retrieved as a group. If
9034// you choose to use tags filtering, only resources with the tag are retrieved.
9035//
9036// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9037// with awserr.Error's Code and Message methods to get detailed information about
9038// the error.
9039//
9040// See the AWS API reference guide for AWS Glue's
9041// API operation ListJobs for usage and error information.
9042//
9043// Returned Error Codes:
9044//   * ErrCodeInvalidInputException "InvalidInputException"
9045//   The input provided was not valid.
9046//
9047//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9048//   A specified entity does not exist
9049//
9050//   * ErrCodeInternalServiceException "InternalServiceException"
9051//   An internal service error occurred.
9052//
9053//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9054//   The operation timed out.
9055//
9056// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs
9057func (c *Glue) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) {
9058	req, out := c.ListJobsRequest(input)
9059	return out, req.Send()
9060}
9061
9062// ListJobsWithContext is the same as ListJobs with the addition of
9063// the ability to pass a context and additional request options.
9064//
9065// See ListJobs for details on how to use this API operation.
9066//
9067// The context must be non-nil and will be used for request cancellation. If
9068// the context is nil a panic will occur. In the future the SDK may create
9069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9070// for more information on using Contexts.
9071func (c *Glue) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) {
9072	req, out := c.ListJobsRequest(input)
9073	req.SetContext(ctx)
9074	req.ApplyOptions(opts...)
9075	return out, req.Send()
9076}
9077
9078// ListJobsPages iterates over the pages of a ListJobs operation,
9079// calling the "fn" function with the response data for each page. To stop
9080// iterating, return false from the fn function.
9081//
9082// See ListJobs method for more information on how to use this operation.
9083//
9084// Note: This operation can generate multiple requests to a service.
9085//
9086//    // Example iterating over at most 3 pages of a ListJobs operation.
9087//    pageNum := 0
9088//    err := client.ListJobsPages(params,
9089//        func(page *glue.ListJobsOutput, lastPage bool) bool {
9090//            pageNum++
9091//            fmt.Println(page)
9092//            return pageNum <= 3
9093//        })
9094//
9095func (c *Glue) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error {
9096	return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn)
9097}
9098
9099// ListJobsPagesWithContext same as ListJobsPages except
9100// it takes a Context and allows setting request options on the pages.
9101//
9102// The context must be non-nil and will be used for request cancellation. If
9103// the context is nil a panic will occur. In the future the SDK may create
9104// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9105// for more information on using Contexts.
9106func (c *Glue) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error {
9107	p := request.Pagination{
9108		NewRequest: func() (*request.Request, error) {
9109			var inCpy *ListJobsInput
9110			if input != nil {
9111				tmp := *input
9112				inCpy = &tmp
9113			}
9114			req, _ := c.ListJobsRequest(inCpy)
9115			req.SetContext(ctx)
9116			req.ApplyOptions(opts...)
9117			return req, nil
9118		},
9119	}
9120
9121	cont := true
9122	for p.Next() && cont {
9123		cont = fn(p.Page().(*ListJobsOutput), !p.HasNextPage())
9124	}
9125	return p.Err()
9126}
9127
9128const opListTriggers = "ListTriggers"
9129
9130// ListTriggersRequest generates a "aws/request.Request" representing the
9131// client's request for the ListTriggers operation. The "output" return
9132// value will be populated with the request's response once the request completes
9133// successfully.
9134//
9135// Use "Send" method on the returned Request to send the API call to the service.
9136// the "output" return value is not valid until after Send returns without error.
9137//
9138// See ListTriggers for more information on using the ListTriggers
9139// API call, and error handling.
9140//
9141// This method is useful when you want to inject custom logic or configuration
9142// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9143//
9144//
9145//    // Example sending a request using the ListTriggersRequest method.
9146//    req, resp := client.ListTriggersRequest(params)
9147//
9148//    err := req.Send()
9149//    if err == nil { // resp is now filled
9150//        fmt.Println(resp)
9151//    }
9152//
9153// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
9154func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) {
9155	op := &request.Operation{
9156		Name:       opListTriggers,
9157		HTTPMethod: "POST",
9158		HTTPPath:   "/",
9159		Paginator: &request.Paginator{
9160			InputTokens:     []string{"NextToken"},
9161			OutputTokens:    []string{"NextToken"},
9162			LimitToken:      "MaxResults",
9163			TruncationToken: "",
9164		},
9165	}
9166
9167	if input == nil {
9168		input = &ListTriggersInput{}
9169	}
9170
9171	output = &ListTriggersOutput{}
9172	req = c.newRequest(op, input, output)
9173	return
9174}
9175
9176// ListTriggers API operation for AWS Glue.
9177//
9178// Retrieves the names of all trigger resources in this AWS account, or the
9179// resources with the specified tag. This operation allows you to see which
9180// resources are available in your account, and their names.
9181//
9182// This operation takes the optional Tags field, which you can use as a filter
9183// on the response so that tagged resources can be retrieved as a group. If
9184// you choose to use tags filtering, only resources with the tag are retrieved.
9185//
9186// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9187// with awserr.Error's Code and Message methods to get detailed information about
9188// the error.
9189//
9190// See the AWS API reference guide for AWS Glue's
9191// API operation ListTriggers for usage and error information.
9192//
9193// Returned Error Codes:
9194//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9195//   A specified entity does not exist
9196//
9197//   * ErrCodeInvalidInputException "InvalidInputException"
9198//   The input provided was not valid.
9199//
9200//   * ErrCodeInternalServiceException "InternalServiceException"
9201//   An internal service error occurred.
9202//
9203//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9204//   The operation timed out.
9205//
9206// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers
9207func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) {
9208	req, out := c.ListTriggersRequest(input)
9209	return out, req.Send()
9210}
9211
9212// ListTriggersWithContext is the same as ListTriggers with the addition of
9213// the ability to pass a context and additional request options.
9214//
9215// See ListTriggers for details on how to use this API operation.
9216//
9217// The context must be non-nil and will be used for request cancellation. If
9218// the context is nil a panic will occur. In the future the SDK may create
9219// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9220// for more information on using Contexts.
9221func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput, opts ...request.Option) (*ListTriggersOutput, error) {
9222	req, out := c.ListTriggersRequest(input)
9223	req.SetContext(ctx)
9224	req.ApplyOptions(opts...)
9225	return out, req.Send()
9226}
9227
9228// ListTriggersPages iterates over the pages of a ListTriggers operation,
9229// calling the "fn" function with the response data for each page. To stop
9230// iterating, return false from the fn function.
9231//
9232// See ListTriggers method for more information on how to use this operation.
9233//
9234// Note: This operation can generate multiple requests to a service.
9235//
9236//    // Example iterating over at most 3 pages of a ListTriggers operation.
9237//    pageNum := 0
9238//    err := client.ListTriggersPages(params,
9239//        func(page *glue.ListTriggersOutput, lastPage bool) bool {
9240//            pageNum++
9241//            fmt.Println(page)
9242//            return pageNum <= 3
9243//        })
9244//
9245func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error {
9246	return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn)
9247}
9248
9249// ListTriggersPagesWithContext same as ListTriggersPages except
9250// it takes a Context and allows setting request options on the pages.
9251//
9252// The context must be non-nil and will be used for request cancellation. If
9253// the context is nil a panic will occur. In the future the SDK may create
9254// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9255// for more information on using Contexts.
9256func (c *Glue) ListTriggersPagesWithContext(ctx aws.Context, input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool, opts ...request.Option) error {
9257	p := request.Pagination{
9258		NewRequest: func() (*request.Request, error) {
9259			var inCpy *ListTriggersInput
9260			if input != nil {
9261				tmp := *input
9262				inCpy = &tmp
9263			}
9264			req, _ := c.ListTriggersRequest(inCpy)
9265			req.SetContext(ctx)
9266			req.ApplyOptions(opts...)
9267			return req, nil
9268		},
9269	}
9270
9271	cont := true
9272	for p.Next() && cont {
9273		cont = fn(p.Page().(*ListTriggersOutput), !p.HasNextPage())
9274	}
9275	return p.Err()
9276}
9277
9278const opListWorkflows = "ListWorkflows"
9279
9280// ListWorkflowsRequest generates a "aws/request.Request" representing the
9281// client's request for the ListWorkflows operation. The "output" return
9282// value will be populated with the request's response once the request completes
9283// successfully.
9284//
9285// Use "Send" method on the returned Request to send the API call to the service.
9286// the "output" return value is not valid until after Send returns without error.
9287//
9288// See ListWorkflows for more information on using the ListWorkflows
9289// API call, and error handling.
9290//
9291// This method is useful when you want to inject custom logic or configuration
9292// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9293//
9294//
9295//    // Example sending a request using the ListWorkflowsRequest method.
9296//    req, resp := client.ListWorkflowsRequest(params)
9297//
9298//    err := req.Send()
9299//    if err == nil { // resp is now filled
9300//        fmt.Println(resp)
9301//    }
9302//
9303// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9304func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) {
9305	op := &request.Operation{
9306		Name:       opListWorkflows,
9307		HTTPMethod: "POST",
9308		HTTPPath:   "/",
9309		Paginator: &request.Paginator{
9310			InputTokens:     []string{"NextToken"},
9311			OutputTokens:    []string{"NextToken"},
9312			LimitToken:      "MaxResults",
9313			TruncationToken: "",
9314		},
9315	}
9316
9317	if input == nil {
9318		input = &ListWorkflowsInput{}
9319	}
9320
9321	output = &ListWorkflowsOutput{}
9322	req = c.newRequest(op, input, output)
9323	return
9324}
9325
9326// ListWorkflows API operation for AWS Glue.
9327//
9328// Lists names of workflows created in the account.
9329//
9330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9331// with awserr.Error's Code and Message methods to get detailed information about
9332// the error.
9333//
9334// See the AWS API reference guide for AWS Glue's
9335// API operation ListWorkflows for usage and error information.
9336//
9337// Returned Error Codes:
9338//   * ErrCodeInvalidInputException "InvalidInputException"
9339//   The input provided was not valid.
9340//
9341//   * ErrCodeInternalServiceException "InternalServiceException"
9342//   An internal service error occurred.
9343//
9344//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9345//   The operation timed out.
9346//
9347// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows
9348func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) {
9349	req, out := c.ListWorkflowsRequest(input)
9350	return out, req.Send()
9351}
9352
9353// ListWorkflowsWithContext is the same as ListWorkflows with the addition of
9354// the ability to pass a context and additional request options.
9355//
9356// See ListWorkflows for details on how to use this API operation.
9357//
9358// The context must be non-nil and will be used for request cancellation. If
9359// the context is nil a panic will occur. In the future the SDK may create
9360// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9361// for more information on using Contexts.
9362func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) {
9363	req, out := c.ListWorkflowsRequest(input)
9364	req.SetContext(ctx)
9365	req.ApplyOptions(opts...)
9366	return out, req.Send()
9367}
9368
9369// ListWorkflowsPages iterates over the pages of a ListWorkflows operation,
9370// calling the "fn" function with the response data for each page. To stop
9371// iterating, return false from the fn function.
9372//
9373// See ListWorkflows method for more information on how to use this operation.
9374//
9375// Note: This operation can generate multiple requests to a service.
9376//
9377//    // Example iterating over at most 3 pages of a ListWorkflows operation.
9378//    pageNum := 0
9379//    err := client.ListWorkflowsPages(params,
9380//        func(page *glue.ListWorkflowsOutput, lastPage bool) bool {
9381//            pageNum++
9382//            fmt.Println(page)
9383//            return pageNum <= 3
9384//        })
9385//
9386func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error {
9387	return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn)
9388}
9389
9390// ListWorkflowsPagesWithContext same as ListWorkflowsPages except
9391// it takes a Context and allows setting request options on the pages.
9392//
9393// The context must be non-nil and will be used for request cancellation. If
9394// the context is nil a panic will occur. In the future the SDK may create
9395// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9396// for more information on using Contexts.
9397func (c *Glue) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error {
9398	p := request.Pagination{
9399		NewRequest: func() (*request.Request, error) {
9400			var inCpy *ListWorkflowsInput
9401			if input != nil {
9402				tmp := *input
9403				inCpy = &tmp
9404			}
9405			req, _ := c.ListWorkflowsRequest(inCpy)
9406			req.SetContext(ctx)
9407			req.ApplyOptions(opts...)
9408			return req, nil
9409		},
9410	}
9411
9412	cont := true
9413	for p.Next() && cont {
9414		cont = fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage())
9415	}
9416	return p.Err()
9417}
9418
9419const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings"
9420
9421// PutDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the
9422// client's request for the PutDataCatalogEncryptionSettings operation. The "output" return
9423// value will be populated with the request's response once the request completes
9424// successfully.
9425//
9426// Use "Send" method on the returned Request to send the API call to the service.
9427// the "output" return value is not valid until after Send returns without error.
9428//
9429// See PutDataCatalogEncryptionSettings for more information on using the PutDataCatalogEncryptionSettings
9430// API call, and error handling.
9431//
9432// This method is useful when you want to inject custom logic or configuration
9433// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9434//
9435//
9436//    // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method.
9437//    req, resp := client.PutDataCatalogEncryptionSettingsRequest(params)
9438//
9439//    err := req.Send()
9440//    if err == nil { // resp is now filled
9441//        fmt.Println(resp)
9442//    }
9443//
9444// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9445func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) {
9446	op := &request.Operation{
9447		Name:       opPutDataCatalogEncryptionSettings,
9448		HTTPMethod: "POST",
9449		HTTPPath:   "/",
9450	}
9451
9452	if input == nil {
9453		input = &PutDataCatalogEncryptionSettingsInput{}
9454	}
9455
9456	output = &PutDataCatalogEncryptionSettingsOutput{}
9457	req = c.newRequest(op, input, output)
9458	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9459	return
9460}
9461
9462// PutDataCatalogEncryptionSettings API operation for AWS Glue.
9463//
9464// Sets the security configuration for a specified catalog. After the configuration
9465// has been set, the specified encryption is applied to every catalog write
9466// thereafter.
9467//
9468// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9469// with awserr.Error's Code and Message methods to get detailed information about
9470// the error.
9471//
9472// See the AWS API reference guide for AWS Glue's
9473// API operation PutDataCatalogEncryptionSettings for usage and error information.
9474//
9475// Returned Error Codes:
9476//   * ErrCodeInternalServiceException "InternalServiceException"
9477//   An internal service error occurred.
9478//
9479//   * ErrCodeInvalidInputException "InvalidInputException"
9480//   The input provided was not valid.
9481//
9482//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9483//   The operation timed out.
9484//
9485// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings
9486func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) {
9487	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9488	return out, req.Send()
9489}
9490
9491// PutDataCatalogEncryptionSettingsWithContext is the same as PutDataCatalogEncryptionSettings with the addition of
9492// the ability to pass a context and additional request options.
9493//
9494// See PutDataCatalogEncryptionSettings for details on how to use this API operation.
9495//
9496// The context must be non-nil and will be used for request cancellation. If
9497// the context is nil a panic will occur. In the future the SDK may create
9498// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9499// for more information on using Contexts.
9500func (c *Glue) PutDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *PutDataCatalogEncryptionSettingsInput, opts ...request.Option) (*PutDataCatalogEncryptionSettingsOutput, error) {
9501	req, out := c.PutDataCatalogEncryptionSettingsRequest(input)
9502	req.SetContext(ctx)
9503	req.ApplyOptions(opts...)
9504	return out, req.Send()
9505}
9506
9507const opPutResourcePolicy = "PutResourcePolicy"
9508
9509// PutResourcePolicyRequest generates a "aws/request.Request" representing the
9510// client's request for the PutResourcePolicy operation. The "output" return
9511// value will be populated with the request's response once the request completes
9512// successfully.
9513//
9514// Use "Send" method on the returned Request to send the API call to the service.
9515// the "output" return value is not valid until after Send returns without error.
9516//
9517// See PutResourcePolicy for more information on using the PutResourcePolicy
9518// API call, and error handling.
9519//
9520// This method is useful when you want to inject custom logic or configuration
9521// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9522//
9523//
9524//    // Example sending a request using the PutResourcePolicyRequest method.
9525//    req, resp := client.PutResourcePolicyRequest(params)
9526//
9527//    err := req.Send()
9528//    if err == nil { // resp is now filled
9529//        fmt.Println(resp)
9530//    }
9531//
9532// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9533func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) {
9534	op := &request.Operation{
9535		Name:       opPutResourcePolicy,
9536		HTTPMethod: "POST",
9537		HTTPPath:   "/",
9538	}
9539
9540	if input == nil {
9541		input = &PutResourcePolicyInput{}
9542	}
9543
9544	output = &PutResourcePolicyOutput{}
9545	req = c.newRequest(op, input, output)
9546	return
9547}
9548
9549// PutResourcePolicy API operation for AWS Glue.
9550//
9551// Sets the Data Catalog resource policy for access control.
9552//
9553// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9554// with awserr.Error's Code and Message methods to get detailed information about
9555// the error.
9556//
9557// See the AWS API reference guide for AWS Glue's
9558// API operation PutResourcePolicy for usage and error information.
9559//
9560// Returned Error Codes:
9561//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9562//   A specified entity does not exist
9563//
9564//   * ErrCodeInternalServiceException "InternalServiceException"
9565//   An internal service error occurred.
9566//
9567//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9568//   The operation timed out.
9569//
9570//   * ErrCodeInvalidInputException "InvalidInputException"
9571//   The input provided was not valid.
9572//
9573//   * ErrCodeConditionCheckFailureException "ConditionCheckFailureException"
9574//   A specified condition was not satisfied.
9575//
9576// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy
9577func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) {
9578	req, out := c.PutResourcePolicyRequest(input)
9579	return out, req.Send()
9580}
9581
9582// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of
9583// the ability to pass a context and additional request options.
9584//
9585// See PutResourcePolicy for details on how to use this API operation.
9586//
9587// The context must be non-nil and will be used for request cancellation. If
9588// the context is nil a panic will occur. In the future the SDK may create
9589// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9590// for more information on using Contexts.
9591func (c *Glue) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) {
9592	req, out := c.PutResourcePolicyRequest(input)
9593	req.SetContext(ctx)
9594	req.ApplyOptions(opts...)
9595	return out, req.Send()
9596}
9597
9598const opPutWorkflowRunProperties = "PutWorkflowRunProperties"
9599
9600// PutWorkflowRunPropertiesRequest generates a "aws/request.Request" representing the
9601// client's request for the PutWorkflowRunProperties operation. The "output" return
9602// value will be populated with the request's response once the request completes
9603// successfully.
9604//
9605// Use "Send" method on the returned Request to send the API call to the service.
9606// the "output" return value is not valid until after Send returns without error.
9607//
9608// See PutWorkflowRunProperties for more information on using the PutWorkflowRunProperties
9609// API call, and error handling.
9610//
9611// This method is useful when you want to inject custom logic or configuration
9612// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9613//
9614//
9615//    // Example sending a request using the PutWorkflowRunPropertiesRequest method.
9616//    req, resp := client.PutWorkflowRunPropertiesRequest(params)
9617//
9618//    err := req.Send()
9619//    if err == nil { // resp is now filled
9620//        fmt.Println(resp)
9621//    }
9622//
9623// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9624func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) {
9625	op := &request.Operation{
9626		Name:       opPutWorkflowRunProperties,
9627		HTTPMethod: "POST",
9628		HTTPPath:   "/",
9629	}
9630
9631	if input == nil {
9632		input = &PutWorkflowRunPropertiesInput{}
9633	}
9634
9635	output = &PutWorkflowRunPropertiesOutput{}
9636	req = c.newRequest(op, input, output)
9637	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9638	return
9639}
9640
9641// PutWorkflowRunProperties API operation for AWS Glue.
9642//
9643// Puts the specified workflow run properties for the given workflow run. If
9644// a property already exists for the specified run, then it overrides the value
9645// otherwise adds the property to existing properties.
9646//
9647// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9648// with awserr.Error's Code and Message methods to get detailed information about
9649// the error.
9650//
9651// See the AWS API reference guide for AWS Glue's
9652// API operation PutWorkflowRunProperties for usage and error information.
9653//
9654// Returned Error Codes:
9655//   * ErrCodeAlreadyExistsException "AlreadyExistsException"
9656//   A resource to be created or added already exists.
9657//
9658//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9659//   A specified entity does not exist
9660//
9661//   * ErrCodeInvalidInputException "InvalidInputException"
9662//   The input provided was not valid.
9663//
9664//   * ErrCodeInternalServiceException "InternalServiceException"
9665//   An internal service error occurred.
9666//
9667//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9668//   The operation timed out.
9669//
9670//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
9671//   A resource numerical limit was exceeded.
9672//
9673//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
9674//   Two processes are trying to modify a resource simultaneously.
9675//
9676// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties
9677func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) {
9678	req, out := c.PutWorkflowRunPropertiesRequest(input)
9679	return out, req.Send()
9680}
9681
9682// PutWorkflowRunPropertiesWithContext is the same as PutWorkflowRunProperties with the addition of
9683// the ability to pass a context and additional request options.
9684//
9685// See PutWorkflowRunProperties for details on how to use this API operation.
9686//
9687// The context must be non-nil and will be used for request cancellation. If
9688// the context is nil a panic will occur. In the future the SDK may create
9689// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9690// for more information on using Contexts.
9691func (c *Glue) PutWorkflowRunPropertiesWithContext(ctx aws.Context, input *PutWorkflowRunPropertiesInput, opts ...request.Option) (*PutWorkflowRunPropertiesOutput, error) {
9692	req, out := c.PutWorkflowRunPropertiesRequest(input)
9693	req.SetContext(ctx)
9694	req.ApplyOptions(opts...)
9695	return out, req.Send()
9696}
9697
9698const opResetJobBookmark = "ResetJobBookmark"
9699
9700// ResetJobBookmarkRequest generates a "aws/request.Request" representing the
9701// client's request for the ResetJobBookmark operation. The "output" return
9702// value will be populated with the request's response once the request completes
9703// successfully.
9704//
9705// Use "Send" method on the returned Request to send the API call to the service.
9706// the "output" return value is not valid until after Send returns without error.
9707//
9708// See ResetJobBookmark for more information on using the ResetJobBookmark
9709// API call, and error handling.
9710//
9711// This method is useful when you want to inject custom logic or configuration
9712// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9713//
9714//
9715//    // Example sending a request using the ResetJobBookmarkRequest method.
9716//    req, resp := client.ResetJobBookmarkRequest(params)
9717//
9718//    err := req.Send()
9719//    if err == nil { // resp is now filled
9720//        fmt.Println(resp)
9721//    }
9722//
9723// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9724func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) {
9725	op := &request.Operation{
9726		Name:       opResetJobBookmark,
9727		HTTPMethod: "POST",
9728		HTTPPath:   "/",
9729	}
9730
9731	if input == nil {
9732		input = &ResetJobBookmarkInput{}
9733	}
9734
9735	output = &ResetJobBookmarkOutput{}
9736	req = c.newRequest(op, input, output)
9737	return
9738}
9739
9740// ResetJobBookmark API operation for AWS Glue.
9741//
9742// Resets a bookmark entry.
9743//
9744// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9745// with awserr.Error's Code and Message methods to get detailed information about
9746// the error.
9747//
9748// See the AWS API reference guide for AWS Glue's
9749// API operation ResetJobBookmark for usage and error information.
9750//
9751// Returned Error Codes:
9752//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9753//   A specified entity does not exist
9754//
9755//   * ErrCodeInvalidInputException "InvalidInputException"
9756//   The input provided was not valid.
9757//
9758//   * ErrCodeInternalServiceException "InternalServiceException"
9759//   An internal service error occurred.
9760//
9761//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9762//   The operation timed out.
9763//
9764// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark
9765func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) {
9766	req, out := c.ResetJobBookmarkRequest(input)
9767	return out, req.Send()
9768}
9769
9770// ResetJobBookmarkWithContext is the same as ResetJobBookmark with the addition of
9771// the ability to pass a context and additional request options.
9772//
9773// See ResetJobBookmark for details on how to use this API operation.
9774//
9775// The context must be non-nil and will be used for request cancellation. If
9776// the context is nil a panic will occur. In the future the SDK may create
9777// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9778// for more information on using Contexts.
9779func (c *Glue) ResetJobBookmarkWithContext(ctx aws.Context, input *ResetJobBookmarkInput, opts ...request.Option) (*ResetJobBookmarkOutput, error) {
9780	req, out := c.ResetJobBookmarkRequest(input)
9781	req.SetContext(ctx)
9782	req.ApplyOptions(opts...)
9783	return out, req.Send()
9784}
9785
9786const opSearchTables = "SearchTables"
9787
9788// SearchTablesRequest generates a "aws/request.Request" representing the
9789// client's request for the SearchTables operation. The "output" return
9790// value will be populated with the request's response once the request completes
9791// successfully.
9792//
9793// Use "Send" method on the returned Request to send the API call to the service.
9794// the "output" return value is not valid until after Send returns without error.
9795//
9796// See SearchTables for more information on using the SearchTables
9797// API call, and error handling.
9798//
9799// This method is useful when you want to inject custom logic or configuration
9800// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9801//
9802//
9803//    // Example sending a request using the SearchTablesRequest method.
9804//    req, resp := client.SearchTablesRequest(params)
9805//
9806//    err := req.Send()
9807//    if err == nil { // resp is now filled
9808//        fmt.Println(resp)
9809//    }
9810//
9811// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
9812func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) {
9813	op := &request.Operation{
9814		Name:       opSearchTables,
9815		HTTPMethod: "POST",
9816		HTTPPath:   "/",
9817		Paginator: &request.Paginator{
9818			InputTokens:     []string{"NextToken"},
9819			OutputTokens:    []string{"NextToken"},
9820			LimitToken:      "MaxResults",
9821			TruncationToken: "",
9822		},
9823	}
9824
9825	if input == nil {
9826		input = &SearchTablesInput{}
9827	}
9828
9829	output = &SearchTablesOutput{}
9830	req = c.newRequest(op, input, output)
9831	return
9832}
9833
9834// SearchTables API operation for AWS Glue.
9835//
9836// Searches a set of tables based on properties in the table metadata as well
9837// as on the parent database. You can search against text or filter conditions.
9838//
9839// You can only get tables that you have access to based on the security policies
9840// defined in Lake Formation. You need at least a read-only access to the table
9841// for it to be returned. If you do not have access to all the columns in the
9842// table, these columns will not be searched against when returning the list
9843// of tables back to you. If you have access to the columns but not the data
9844// in the columns, those columns and the associated metadata for those columns
9845// will be included in the search.
9846//
9847// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9848// with awserr.Error's Code and Message methods to get detailed information about
9849// the error.
9850//
9851// See the AWS API reference guide for AWS Glue's
9852// API operation SearchTables for usage and error information.
9853//
9854// Returned Error Codes:
9855//   * ErrCodeInternalServiceException "InternalServiceException"
9856//   An internal service error occurred.
9857//
9858//   * ErrCodeInvalidInputException "InvalidInputException"
9859//   The input provided was not valid.
9860//
9861//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9862//   The operation timed out.
9863//
9864// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables
9865func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) {
9866	req, out := c.SearchTablesRequest(input)
9867	return out, req.Send()
9868}
9869
9870// SearchTablesWithContext is the same as SearchTables with the addition of
9871// the ability to pass a context and additional request options.
9872//
9873// See SearchTables for details on how to use this API operation.
9874//
9875// The context must be non-nil and will be used for request cancellation. If
9876// the context is nil a panic will occur. In the future the SDK may create
9877// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9878// for more information on using Contexts.
9879func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput, opts ...request.Option) (*SearchTablesOutput, error) {
9880	req, out := c.SearchTablesRequest(input)
9881	req.SetContext(ctx)
9882	req.ApplyOptions(opts...)
9883	return out, req.Send()
9884}
9885
9886// SearchTablesPages iterates over the pages of a SearchTables operation,
9887// calling the "fn" function with the response data for each page. To stop
9888// iterating, return false from the fn function.
9889//
9890// See SearchTables method for more information on how to use this operation.
9891//
9892// Note: This operation can generate multiple requests to a service.
9893//
9894//    // Example iterating over at most 3 pages of a SearchTables operation.
9895//    pageNum := 0
9896//    err := client.SearchTablesPages(params,
9897//        func(page *glue.SearchTablesOutput, lastPage bool) bool {
9898//            pageNum++
9899//            fmt.Println(page)
9900//            return pageNum <= 3
9901//        })
9902//
9903func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error {
9904	return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn)
9905}
9906
9907// SearchTablesPagesWithContext same as SearchTablesPages except
9908// it takes a Context and allows setting request options on the pages.
9909//
9910// The context must be non-nil and will be used for request cancellation. If
9911// the context is nil a panic will occur. In the future the SDK may create
9912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9913// for more information on using Contexts.
9914func (c *Glue) SearchTablesPagesWithContext(ctx aws.Context, input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool, opts ...request.Option) error {
9915	p := request.Pagination{
9916		NewRequest: func() (*request.Request, error) {
9917			var inCpy *SearchTablesInput
9918			if input != nil {
9919				tmp := *input
9920				inCpy = &tmp
9921			}
9922			req, _ := c.SearchTablesRequest(inCpy)
9923			req.SetContext(ctx)
9924			req.ApplyOptions(opts...)
9925			return req, nil
9926		},
9927	}
9928
9929	cont := true
9930	for p.Next() && cont {
9931		cont = fn(p.Page().(*SearchTablesOutput), !p.HasNextPage())
9932	}
9933	return p.Err()
9934}
9935
9936const opStartCrawler = "StartCrawler"
9937
9938// StartCrawlerRequest generates a "aws/request.Request" representing the
9939// client's request for the StartCrawler operation. The "output" return
9940// value will be populated with the request's response once the request completes
9941// successfully.
9942//
9943// Use "Send" method on the returned Request to send the API call to the service.
9944// the "output" return value is not valid until after Send returns without error.
9945//
9946// See StartCrawler for more information on using the StartCrawler
9947// API call, and error handling.
9948//
9949// This method is useful when you want to inject custom logic or configuration
9950// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9951//
9952//
9953//    // Example sending a request using the StartCrawlerRequest method.
9954//    req, resp := client.StartCrawlerRequest(params)
9955//
9956//    err := req.Send()
9957//    if err == nil { // resp is now filled
9958//        fmt.Println(resp)
9959//    }
9960//
9961// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
9962func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) {
9963	op := &request.Operation{
9964		Name:       opStartCrawler,
9965		HTTPMethod: "POST",
9966		HTTPPath:   "/",
9967	}
9968
9969	if input == nil {
9970		input = &StartCrawlerInput{}
9971	}
9972
9973	output = &StartCrawlerOutput{}
9974	req = c.newRequest(op, input, output)
9975	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
9976	return
9977}
9978
9979// StartCrawler API operation for AWS Glue.
9980//
9981// Starts a crawl using the specified crawler, regardless of what is scheduled.
9982// 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).
9983//
9984// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9985// with awserr.Error's Code and Message methods to get detailed information about
9986// the error.
9987//
9988// See the AWS API reference guide for AWS Glue's
9989// API operation StartCrawler for usage and error information.
9990//
9991// Returned Error Codes:
9992//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
9993//   A specified entity does not exist
9994//
9995//   * ErrCodeCrawlerRunningException "CrawlerRunningException"
9996//   The operation cannot be performed because the crawler is already running.
9997//
9998//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
9999//   The operation timed out.
10000//
10001// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler
10002func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) {
10003	req, out := c.StartCrawlerRequest(input)
10004	return out, req.Send()
10005}
10006
10007// StartCrawlerWithContext is the same as StartCrawler with the addition of
10008// the ability to pass a context and additional request options.
10009//
10010// See StartCrawler for details on how to use this API operation.
10011//
10012// The context must be non-nil and will be used for request cancellation. If
10013// the context is nil a panic will occur. In the future the SDK may create
10014// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10015// for more information on using Contexts.
10016func (c *Glue) StartCrawlerWithContext(ctx aws.Context, input *StartCrawlerInput, opts ...request.Option) (*StartCrawlerOutput, error) {
10017	req, out := c.StartCrawlerRequest(input)
10018	req.SetContext(ctx)
10019	req.ApplyOptions(opts...)
10020	return out, req.Send()
10021}
10022
10023const opStartCrawlerSchedule = "StartCrawlerSchedule"
10024
10025// StartCrawlerScheduleRequest generates a "aws/request.Request" representing the
10026// client's request for the StartCrawlerSchedule operation. The "output" return
10027// value will be populated with the request's response once the request completes
10028// successfully.
10029//
10030// Use "Send" method on the returned Request to send the API call to the service.
10031// the "output" return value is not valid until after Send returns without error.
10032//
10033// See StartCrawlerSchedule for more information on using the StartCrawlerSchedule
10034// API call, and error handling.
10035//
10036// This method is useful when you want to inject custom logic or configuration
10037// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10038//
10039//
10040//    // Example sending a request using the StartCrawlerScheduleRequest method.
10041//    req, resp := client.StartCrawlerScheduleRequest(params)
10042//
10043//    err := req.Send()
10044//    if err == nil { // resp is now filled
10045//        fmt.Println(resp)
10046//    }
10047//
10048// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10049func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) {
10050	op := &request.Operation{
10051		Name:       opStartCrawlerSchedule,
10052		HTTPMethod: "POST",
10053		HTTPPath:   "/",
10054	}
10055
10056	if input == nil {
10057		input = &StartCrawlerScheduleInput{}
10058	}
10059
10060	output = &StartCrawlerScheduleOutput{}
10061	req = c.newRequest(op, input, output)
10062	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10063	return
10064}
10065
10066// StartCrawlerSchedule API operation for AWS Glue.
10067//
10068// Changes the schedule state of the specified crawler to SCHEDULED, unless
10069// the crawler is already running or the schedule state is already SCHEDULED.
10070//
10071// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10072// with awserr.Error's Code and Message methods to get detailed information about
10073// the error.
10074//
10075// See the AWS API reference guide for AWS Glue's
10076// API operation StartCrawlerSchedule for usage and error information.
10077//
10078// Returned Error Codes:
10079//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10080//   A specified entity does not exist
10081//
10082//   * ErrCodeSchedulerRunningException "SchedulerRunningException"
10083//   The specified scheduler is already running.
10084//
10085//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
10086//   The specified scheduler is transitioning.
10087//
10088//   * ErrCodeNoScheduleException "NoScheduleException"
10089//   There is no applicable schedule.
10090//
10091//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10092//   The operation timed out.
10093//
10094// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule
10095func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) {
10096	req, out := c.StartCrawlerScheduleRequest(input)
10097	return out, req.Send()
10098}
10099
10100// StartCrawlerScheduleWithContext is the same as StartCrawlerSchedule with the addition of
10101// the ability to pass a context and additional request options.
10102//
10103// See StartCrawlerSchedule for details on how to use this API operation.
10104//
10105// The context must be non-nil and will be used for request cancellation. If
10106// the context is nil a panic will occur. In the future the SDK may create
10107// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10108// for more information on using Contexts.
10109func (c *Glue) StartCrawlerScheduleWithContext(ctx aws.Context, input *StartCrawlerScheduleInput, opts ...request.Option) (*StartCrawlerScheduleOutput, error) {
10110	req, out := c.StartCrawlerScheduleRequest(input)
10111	req.SetContext(ctx)
10112	req.ApplyOptions(opts...)
10113	return out, req.Send()
10114}
10115
10116const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun"
10117
10118// StartExportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10119// client's request for the StartExportLabelsTaskRun operation. The "output" return
10120// value will be populated with the request's response once the request completes
10121// successfully.
10122//
10123// Use "Send" method on the returned Request to send the API call to the service.
10124// the "output" return value is not valid until after Send returns without error.
10125//
10126// See StartExportLabelsTaskRun for more information on using the StartExportLabelsTaskRun
10127// API call, and error handling.
10128//
10129// This method is useful when you want to inject custom logic or configuration
10130// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10131//
10132//
10133//    // Example sending a request using the StartExportLabelsTaskRunRequest method.
10134//    req, resp := client.StartExportLabelsTaskRunRequest(params)
10135//
10136//    err := req.Send()
10137//    if err == nil { // resp is now filled
10138//        fmt.Println(resp)
10139//    }
10140//
10141// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10142func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) {
10143	op := &request.Operation{
10144		Name:       opStartExportLabelsTaskRun,
10145		HTTPMethod: "POST",
10146		HTTPPath:   "/",
10147	}
10148
10149	if input == nil {
10150		input = &StartExportLabelsTaskRunInput{}
10151	}
10152
10153	output = &StartExportLabelsTaskRunOutput{}
10154	req = c.newRequest(op, input, output)
10155	return
10156}
10157
10158// StartExportLabelsTaskRun API operation for AWS Glue.
10159//
10160// Begins an asynchronous task to export all labeled data for a particular transform.
10161// This task is the only label-related API call that is not part of the typical
10162// active learning workflow. You typically use StartExportLabelsTaskRun when
10163// you want to work with all of your existing labels at the same time, such
10164// as when you want to remove or change labels that were previously submitted
10165// as truth. This API operation accepts the TransformId whose labels you want
10166// to export and an Amazon Simple Storage Service (Amazon S3) path to export
10167// the labels to. The operation returns a TaskRunId. You can check on the status
10168// of your task run by calling the GetMLTaskRun API.
10169//
10170// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10171// with awserr.Error's Code and Message methods to get detailed information about
10172// the error.
10173//
10174// See the AWS API reference guide for AWS Glue's
10175// API operation StartExportLabelsTaskRun for usage and error information.
10176//
10177// Returned Error Codes:
10178//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10179//   A specified entity does not exist
10180//
10181//   * ErrCodeInvalidInputException "InvalidInputException"
10182//   The input provided was not valid.
10183//
10184//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10185//   The operation timed out.
10186//
10187//   * ErrCodeInternalServiceException "InternalServiceException"
10188//   An internal service error occurred.
10189//
10190// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun
10191func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) {
10192	req, out := c.StartExportLabelsTaskRunRequest(input)
10193	return out, req.Send()
10194}
10195
10196// StartExportLabelsTaskRunWithContext is the same as StartExportLabelsTaskRun with the addition of
10197// the ability to pass a context and additional request options.
10198//
10199// See StartExportLabelsTaskRun for details on how to use this API operation.
10200//
10201// The context must be non-nil and will be used for request cancellation. If
10202// the context is nil a panic will occur. In the future the SDK may create
10203// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10204// for more information on using Contexts.
10205func (c *Glue) StartExportLabelsTaskRunWithContext(ctx aws.Context, input *StartExportLabelsTaskRunInput, opts ...request.Option) (*StartExportLabelsTaskRunOutput, error) {
10206	req, out := c.StartExportLabelsTaskRunRequest(input)
10207	req.SetContext(ctx)
10208	req.ApplyOptions(opts...)
10209	return out, req.Send()
10210}
10211
10212const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun"
10213
10214// StartImportLabelsTaskRunRequest generates a "aws/request.Request" representing the
10215// client's request for the StartImportLabelsTaskRun operation. The "output" return
10216// value will be populated with the request's response once the request completes
10217// successfully.
10218//
10219// Use "Send" method on the returned Request to send the API call to the service.
10220// the "output" return value is not valid until after Send returns without error.
10221//
10222// See StartImportLabelsTaskRun for more information on using the StartImportLabelsTaskRun
10223// API call, and error handling.
10224//
10225// This method is useful when you want to inject custom logic or configuration
10226// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10227//
10228//
10229//    // Example sending a request using the StartImportLabelsTaskRunRequest method.
10230//    req, resp := client.StartImportLabelsTaskRunRequest(params)
10231//
10232//    err := req.Send()
10233//    if err == nil { // resp is now filled
10234//        fmt.Println(resp)
10235//    }
10236//
10237// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10238func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) {
10239	op := &request.Operation{
10240		Name:       opStartImportLabelsTaskRun,
10241		HTTPMethod: "POST",
10242		HTTPPath:   "/",
10243	}
10244
10245	if input == nil {
10246		input = &StartImportLabelsTaskRunInput{}
10247	}
10248
10249	output = &StartImportLabelsTaskRunOutput{}
10250	req = c.newRequest(op, input, output)
10251	return
10252}
10253
10254// StartImportLabelsTaskRun API operation for AWS Glue.
10255//
10256// Enables you to provide additional labels (examples of truth) to be used to
10257// teach the machine learning transform and improve its quality. This API operation
10258// is generally used as part of the active learning workflow that starts with
10259// the StartMLLabelingSetGenerationTaskRun call and that ultimately results
10260// in improving the quality of your machine learning transform.
10261//
10262// After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine
10263// learning will have generated a series of questions for humans to answer.
10264// (Answering these questions is often called 'labeling' in the machine learning
10265// workflows). In the case of the FindMatches transform, these questions are
10266// of the form, “What is the correct way to group these rows together into
10267// groups composed entirely of matching records?” After the labeling process
10268// is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun.
10269// After StartImportLabelsTaskRun finishes, all future runs of the machine learning
10270// transform use the new and improved labels and perform a higher-quality transformation.
10271//
10272// By default, StartMLLabelingSetGenerationTaskRun continually learns from and
10273// combines all labels that you upload unless you set Replace to true. If you
10274// set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously
10275// uploaded labels and learns only from the exact set that you upload. Replacing
10276// labels can be helpful if you realize that you previously uploaded incorrect
10277// labels, and you believe that they are having a negative effect on your transform
10278// quality.
10279//
10280// You can check on the status of your task run by calling the GetMLTaskRun
10281// operation.
10282//
10283// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10284// with awserr.Error's Code and Message methods to get detailed information about
10285// the error.
10286//
10287// See the AWS API reference guide for AWS Glue's
10288// API operation StartImportLabelsTaskRun for usage and error information.
10289//
10290// Returned Error Codes:
10291//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10292//   A specified entity does not exist
10293//
10294//   * ErrCodeInvalidInputException "InvalidInputException"
10295//   The input provided was not valid.
10296//
10297//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10298//   The operation timed out.
10299//
10300//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10301//   A resource numerical limit was exceeded.
10302//
10303//   * ErrCodeInternalServiceException "InternalServiceException"
10304//   An internal service error occurred.
10305//
10306// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun
10307func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) {
10308	req, out := c.StartImportLabelsTaskRunRequest(input)
10309	return out, req.Send()
10310}
10311
10312// StartImportLabelsTaskRunWithContext is the same as StartImportLabelsTaskRun with the addition of
10313// the ability to pass a context and additional request options.
10314//
10315// See StartImportLabelsTaskRun for details on how to use this API operation.
10316//
10317// The context must be non-nil and will be used for request cancellation. If
10318// the context is nil a panic will occur. In the future the SDK may create
10319// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10320// for more information on using Contexts.
10321func (c *Glue) StartImportLabelsTaskRunWithContext(ctx aws.Context, input *StartImportLabelsTaskRunInput, opts ...request.Option) (*StartImportLabelsTaskRunOutput, error) {
10322	req, out := c.StartImportLabelsTaskRunRequest(input)
10323	req.SetContext(ctx)
10324	req.ApplyOptions(opts...)
10325	return out, req.Send()
10326}
10327
10328const opStartJobRun = "StartJobRun"
10329
10330// StartJobRunRequest generates a "aws/request.Request" representing the
10331// client's request for the StartJobRun operation. The "output" return
10332// value will be populated with the request's response once the request completes
10333// successfully.
10334//
10335// Use "Send" method on the returned Request to send the API call to the service.
10336// the "output" return value is not valid until after Send returns without error.
10337//
10338// See StartJobRun for more information on using the StartJobRun
10339// API call, and error handling.
10340//
10341// This method is useful when you want to inject custom logic or configuration
10342// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10343//
10344//
10345//    // Example sending a request using the StartJobRunRequest method.
10346//    req, resp := client.StartJobRunRequest(params)
10347//
10348//    err := req.Send()
10349//    if err == nil { // resp is now filled
10350//        fmt.Println(resp)
10351//    }
10352//
10353// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10354func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) {
10355	op := &request.Operation{
10356		Name:       opStartJobRun,
10357		HTTPMethod: "POST",
10358		HTTPPath:   "/",
10359	}
10360
10361	if input == nil {
10362		input = &StartJobRunInput{}
10363	}
10364
10365	output = &StartJobRunOutput{}
10366	req = c.newRequest(op, input, output)
10367	return
10368}
10369
10370// StartJobRun API operation for AWS Glue.
10371//
10372// Starts a job run using a job definition.
10373//
10374// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10375// with awserr.Error's Code and Message methods to get detailed information about
10376// the error.
10377//
10378// See the AWS API reference guide for AWS Glue's
10379// API operation StartJobRun for usage and error information.
10380//
10381// Returned Error Codes:
10382//   * ErrCodeInvalidInputException "InvalidInputException"
10383//   The input provided was not valid.
10384//
10385//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10386//   A specified entity does not exist
10387//
10388//   * ErrCodeInternalServiceException "InternalServiceException"
10389//   An internal service error occurred.
10390//
10391//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10392//   The operation timed out.
10393//
10394//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10395//   A resource numerical limit was exceeded.
10396//
10397//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10398//   Too many jobs are being run concurrently.
10399//
10400// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun
10401func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) {
10402	req, out := c.StartJobRunRequest(input)
10403	return out, req.Send()
10404}
10405
10406// StartJobRunWithContext is the same as StartJobRun with the addition of
10407// the ability to pass a context and additional request options.
10408//
10409// See StartJobRun for details on how to use this API operation.
10410//
10411// The context must be non-nil and will be used for request cancellation. If
10412// the context is nil a panic will occur. In the future the SDK may create
10413// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10414// for more information on using Contexts.
10415func (c *Glue) StartJobRunWithContext(ctx aws.Context, input *StartJobRunInput, opts ...request.Option) (*StartJobRunOutput, error) {
10416	req, out := c.StartJobRunRequest(input)
10417	req.SetContext(ctx)
10418	req.ApplyOptions(opts...)
10419	return out, req.Send()
10420}
10421
10422const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun"
10423
10424// StartMLEvaluationTaskRunRequest generates a "aws/request.Request" representing the
10425// client's request for the StartMLEvaluationTaskRun operation. The "output" return
10426// value will be populated with the request's response once the request completes
10427// successfully.
10428//
10429// Use "Send" method on the returned Request to send the API call to the service.
10430// the "output" return value is not valid until after Send returns without error.
10431//
10432// See StartMLEvaluationTaskRun for more information on using the StartMLEvaluationTaskRun
10433// API call, and error handling.
10434//
10435// This method is useful when you want to inject custom logic or configuration
10436// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10437//
10438//
10439//    // Example sending a request using the StartMLEvaluationTaskRunRequest method.
10440//    req, resp := client.StartMLEvaluationTaskRunRequest(params)
10441//
10442//    err := req.Send()
10443//    if err == nil { // resp is now filled
10444//        fmt.Println(resp)
10445//    }
10446//
10447// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10448func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) {
10449	op := &request.Operation{
10450		Name:       opStartMLEvaluationTaskRun,
10451		HTTPMethod: "POST",
10452		HTTPPath:   "/",
10453	}
10454
10455	if input == nil {
10456		input = &StartMLEvaluationTaskRunInput{}
10457	}
10458
10459	output = &StartMLEvaluationTaskRunOutput{}
10460	req = c.newRequest(op, input, output)
10461	return
10462}
10463
10464// StartMLEvaluationTaskRun API operation for AWS Glue.
10465//
10466// Starts a task to estimate the quality of the transform.
10467//
10468// When you provide label sets as examples of truth, AWS Glue machine learning
10469// uses some of those examples to learn from them. The rest of the labels are
10470// used as a test to estimate quality.
10471//
10472// Returns a unique identifier for the run. You can call GetMLTaskRun to get
10473// more information about the stats of the EvaluationTaskRun.
10474//
10475// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10476// with awserr.Error's Code and Message methods to get detailed information about
10477// the error.
10478//
10479// See the AWS API reference guide for AWS Glue's
10480// API operation StartMLEvaluationTaskRun for usage and error information.
10481//
10482// Returned Error Codes:
10483//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10484//   A specified entity does not exist
10485//
10486//   * ErrCodeInvalidInputException "InvalidInputException"
10487//   The input provided was not valid.
10488//
10489//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10490//   The operation timed out.
10491//
10492//   * ErrCodeInternalServiceException "InternalServiceException"
10493//   An internal service error occurred.
10494//
10495//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10496//   Too many jobs are being run concurrently.
10497//
10498//   * ErrCodeMLTransformNotReadyException "MLTransformNotReadyException"
10499//   The machine learning transform is not ready to run.
10500//
10501// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun
10502func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) {
10503	req, out := c.StartMLEvaluationTaskRunRequest(input)
10504	return out, req.Send()
10505}
10506
10507// StartMLEvaluationTaskRunWithContext is the same as StartMLEvaluationTaskRun with the addition of
10508// the ability to pass a context and additional request options.
10509//
10510// See StartMLEvaluationTaskRun for details on how to use this API operation.
10511//
10512// The context must be non-nil and will be used for request cancellation. If
10513// the context is nil a panic will occur. In the future the SDK may create
10514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10515// for more information on using Contexts.
10516func (c *Glue) StartMLEvaluationTaskRunWithContext(ctx aws.Context, input *StartMLEvaluationTaskRunInput, opts ...request.Option) (*StartMLEvaluationTaskRunOutput, error) {
10517	req, out := c.StartMLEvaluationTaskRunRequest(input)
10518	req.SetContext(ctx)
10519	req.ApplyOptions(opts...)
10520	return out, req.Send()
10521}
10522
10523const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskRun"
10524
10525// StartMLLabelingSetGenerationTaskRunRequest generates a "aws/request.Request" representing the
10526// client's request for the StartMLLabelingSetGenerationTaskRun operation. The "output" return
10527// value will be populated with the request's response once the request completes
10528// successfully.
10529//
10530// Use "Send" method on the returned Request to send the API call to the service.
10531// the "output" return value is not valid until after Send returns without error.
10532//
10533// See StartMLLabelingSetGenerationTaskRun for more information on using the StartMLLabelingSetGenerationTaskRun
10534// API call, and error handling.
10535//
10536// This method is useful when you want to inject custom logic or configuration
10537// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10538//
10539//
10540//    // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method.
10541//    req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params)
10542//
10543//    err := req.Send()
10544//    if err == nil { // resp is now filled
10545//        fmt.Println(resp)
10546//    }
10547//
10548// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10549func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) {
10550	op := &request.Operation{
10551		Name:       opStartMLLabelingSetGenerationTaskRun,
10552		HTTPMethod: "POST",
10553		HTTPPath:   "/",
10554	}
10555
10556	if input == nil {
10557		input = &StartMLLabelingSetGenerationTaskRunInput{}
10558	}
10559
10560	output = &StartMLLabelingSetGenerationTaskRunOutput{}
10561	req = c.newRequest(op, input, output)
10562	return
10563}
10564
10565// StartMLLabelingSetGenerationTaskRun API operation for AWS Glue.
10566//
10567// Starts the active learning workflow for your machine learning transform to
10568// improve the transform's quality by generating label sets and adding labels.
10569//
10570// When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have
10571// generated a "labeling set" or a set of questions for humans to answer.
10572//
10573// In the case of the FindMatches transform, these questions are of the form,
10574// “What is the correct way to group these rows together into groups composed
10575// entirely of matching records?”
10576//
10577// After the labeling process is finished, you can upload your labels with a
10578// call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes,
10579// all future runs of the machine learning transform will use the new and improved
10580// labels and perform a higher-quality transformation.
10581//
10582// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10583// with awserr.Error's Code and Message methods to get detailed information about
10584// the error.
10585//
10586// See the AWS API reference guide for AWS Glue's
10587// API operation StartMLLabelingSetGenerationTaskRun for usage and error information.
10588//
10589// Returned Error Codes:
10590//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10591//   A specified entity does not exist
10592//
10593//   * ErrCodeInvalidInputException "InvalidInputException"
10594//   The input provided was not valid.
10595//
10596//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10597//   The operation timed out.
10598//
10599//   * ErrCodeInternalServiceException "InternalServiceException"
10600//   An internal service error occurred.
10601//
10602//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10603//   Too many jobs are being run concurrently.
10604//
10605// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun
10606func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10607	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10608	return out, req.Send()
10609}
10610
10611// StartMLLabelingSetGenerationTaskRunWithContext is the same as StartMLLabelingSetGenerationTaskRun with the addition of
10612// the ability to pass a context and additional request options.
10613//
10614// See StartMLLabelingSetGenerationTaskRun for details on how to use this API operation.
10615//
10616// The context must be non-nil and will be used for request cancellation. If
10617// the context is nil a panic will occur. In the future the SDK may create
10618// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10619// for more information on using Contexts.
10620func (c *Glue) StartMLLabelingSetGenerationTaskRunWithContext(ctx aws.Context, input *StartMLLabelingSetGenerationTaskRunInput, opts ...request.Option) (*StartMLLabelingSetGenerationTaskRunOutput, error) {
10621	req, out := c.StartMLLabelingSetGenerationTaskRunRequest(input)
10622	req.SetContext(ctx)
10623	req.ApplyOptions(opts...)
10624	return out, req.Send()
10625}
10626
10627const opStartTrigger = "StartTrigger"
10628
10629// StartTriggerRequest generates a "aws/request.Request" representing the
10630// client's request for the StartTrigger operation. The "output" return
10631// value will be populated with the request's response once the request completes
10632// successfully.
10633//
10634// Use "Send" method on the returned Request to send the API call to the service.
10635// the "output" return value is not valid until after Send returns without error.
10636//
10637// See StartTrigger for more information on using the StartTrigger
10638// API call, and error handling.
10639//
10640// This method is useful when you want to inject custom logic or configuration
10641// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10642//
10643//
10644//    // Example sending a request using the StartTriggerRequest method.
10645//    req, resp := client.StartTriggerRequest(params)
10646//
10647//    err := req.Send()
10648//    if err == nil { // resp is now filled
10649//        fmt.Println(resp)
10650//    }
10651//
10652// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10653func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) {
10654	op := &request.Operation{
10655		Name:       opStartTrigger,
10656		HTTPMethod: "POST",
10657		HTTPPath:   "/",
10658	}
10659
10660	if input == nil {
10661		input = &StartTriggerInput{}
10662	}
10663
10664	output = &StartTriggerOutput{}
10665	req = c.newRequest(op, input, output)
10666	return
10667}
10668
10669// StartTrigger API operation for AWS Glue.
10670//
10671// Starts an existing trigger. See Triggering Jobs (https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html)
10672// for information about how different types of trigger are started.
10673//
10674// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10675// with awserr.Error's Code and Message methods to get detailed information about
10676// the error.
10677//
10678// See the AWS API reference guide for AWS Glue's
10679// API operation StartTrigger for usage and error information.
10680//
10681// Returned Error Codes:
10682//   * ErrCodeInvalidInputException "InvalidInputException"
10683//   The input provided was not valid.
10684//
10685//   * ErrCodeInternalServiceException "InternalServiceException"
10686//   An internal service error occurred.
10687//
10688//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10689//   A specified entity does not exist
10690//
10691//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10692//   The operation timed out.
10693//
10694//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10695//   A resource numerical limit was exceeded.
10696//
10697//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10698//   Too many jobs are being run concurrently.
10699//
10700// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger
10701func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) {
10702	req, out := c.StartTriggerRequest(input)
10703	return out, req.Send()
10704}
10705
10706// StartTriggerWithContext is the same as StartTrigger with the addition of
10707// the ability to pass a context and additional request options.
10708//
10709// See StartTrigger for details on how to use this API operation.
10710//
10711// The context must be non-nil and will be used for request cancellation. If
10712// the context is nil a panic will occur. In the future the SDK may create
10713// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10714// for more information on using Contexts.
10715func (c *Glue) StartTriggerWithContext(ctx aws.Context, input *StartTriggerInput, opts ...request.Option) (*StartTriggerOutput, error) {
10716	req, out := c.StartTriggerRequest(input)
10717	req.SetContext(ctx)
10718	req.ApplyOptions(opts...)
10719	return out, req.Send()
10720}
10721
10722const opStartWorkflowRun = "StartWorkflowRun"
10723
10724// StartWorkflowRunRequest generates a "aws/request.Request" representing the
10725// client's request for the StartWorkflowRun operation. The "output" return
10726// value will be populated with the request's response once the request completes
10727// successfully.
10728//
10729// Use "Send" method on the returned Request to send the API call to the service.
10730// the "output" return value is not valid until after Send returns without error.
10731//
10732// See StartWorkflowRun for more information on using the StartWorkflowRun
10733// API call, and error handling.
10734//
10735// This method is useful when you want to inject custom logic or configuration
10736// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10737//
10738//
10739//    // Example sending a request using the StartWorkflowRunRequest method.
10740//    req, resp := client.StartWorkflowRunRequest(params)
10741//
10742//    err := req.Send()
10743//    if err == nil { // resp is now filled
10744//        fmt.Println(resp)
10745//    }
10746//
10747// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10748func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) {
10749	op := &request.Operation{
10750		Name:       opStartWorkflowRun,
10751		HTTPMethod: "POST",
10752		HTTPPath:   "/",
10753	}
10754
10755	if input == nil {
10756		input = &StartWorkflowRunInput{}
10757	}
10758
10759	output = &StartWorkflowRunOutput{}
10760	req = c.newRequest(op, input, output)
10761	return
10762}
10763
10764// StartWorkflowRun API operation for AWS Glue.
10765//
10766// Starts a new run of the specified workflow.
10767//
10768// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10769// with awserr.Error's Code and Message methods to get detailed information about
10770// the error.
10771//
10772// See the AWS API reference guide for AWS Glue's
10773// API operation StartWorkflowRun for usage and error information.
10774//
10775// Returned Error Codes:
10776//   * ErrCodeInvalidInputException "InvalidInputException"
10777//   The input provided was not valid.
10778//
10779//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10780//   A specified entity does not exist
10781//
10782//   * ErrCodeInternalServiceException "InternalServiceException"
10783//   An internal service error occurred.
10784//
10785//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10786//   The operation timed out.
10787//
10788//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
10789//   A resource numerical limit was exceeded.
10790//
10791//   * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException"
10792//   Too many jobs are being run concurrently.
10793//
10794// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun
10795func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) {
10796	req, out := c.StartWorkflowRunRequest(input)
10797	return out, req.Send()
10798}
10799
10800// StartWorkflowRunWithContext is the same as StartWorkflowRun with the addition of
10801// the ability to pass a context and additional request options.
10802//
10803// See StartWorkflowRun for details on how to use this API operation.
10804//
10805// The context must be non-nil and will be used for request cancellation. If
10806// the context is nil a panic will occur. In the future the SDK may create
10807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10808// for more information on using Contexts.
10809func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflowRunInput, opts ...request.Option) (*StartWorkflowRunOutput, error) {
10810	req, out := c.StartWorkflowRunRequest(input)
10811	req.SetContext(ctx)
10812	req.ApplyOptions(opts...)
10813	return out, req.Send()
10814}
10815
10816const opStopCrawler = "StopCrawler"
10817
10818// StopCrawlerRequest generates a "aws/request.Request" representing the
10819// client's request for the StopCrawler operation. The "output" return
10820// value will be populated with the request's response once the request completes
10821// successfully.
10822//
10823// Use "Send" method on the returned Request to send the API call to the service.
10824// the "output" return value is not valid until after Send returns without error.
10825//
10826// See StopCrawler for more information on using the StopCrawler
10827// API call, and error handling.
10828//
10829// This method is useful when you want to inject custom logic or configuration
10830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10831//
10832//
10833//    // Example sending a request using the StopCrawlerRequest method.
10834//    req, resp := client.StopCrawlerRequest(params)
10835//
10836//    err := req.Send()
10837//    if err == nil { // resp is now filled
10838//        fmt.Println(resp)
10839//    }
10840//
10841// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
10842func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) {
10843	op := &request.Operation{
10844		Name:       opStopCrawler,
10845		HTTPMethod: "POST",
10846		HTTPPath:   "/",
10847	}
10848
10849	if input == nil {
10850		input = &StopCrawlerInput{}
10851	}
10852
10853	output = &StopCrawlerOutput{}
10854	req = c.newRequest(op, input, output)
10855	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10856	return
10857}
10858
10859// StopCrawler API operation for AWS Glue.
10860//
10861// If the specified crawler is running, stops the crawl.
10862//
10863// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10864// with awserr.Error's Code and Message methods to get detailed information about
10865// the error.
10866//
10867// See the AWS API reference guide for AWS Glue's
10868// API operation StopCrawler for usage and error information.
10869//
10870// Returned Error Codes:
10871//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10872//   A specified entity does not exist
10873//
10874//   * ErrCodeCrawlerNotRunningException "CrawlerNotRunningException"
10875//   The specified crawler is not running.
10876//
10877//   * ErrCodeCrawlerStoppingException "CrawlerStoppingException"
10878//   The specified crawler is stopping.
10879//
10880//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10881//   The operation timed out.
10882//
10883// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler
10884func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) {
10885	req, out := c.StopCrawlerRequest(input)
10886	return out, req.Send()
10887}
10888
10889// StopCrawlerWithContext is the same as StopCrawler with the addition of
10890// the ability to pass a context and additional request options.
10891//
10892// See StopCrawler for details on how to use this API operation.
10893//
10894// The context must be non-nil and will be used for request cancellation. If
10895// the context is nil a panic will occur. In the future the SDK may create
10896// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10897// for more information on using Contexts.
10898func (c *Glue) StopCrawlerWithContext(ctx aws.Context, input *StopCrawlerInput, opts ...request.Option) (*StopCrawlerOutput, error) {
10899	req, out := c.StopCrawlerRequest(input)
10900	req.SetContext(ctx)
10901	req.ApplyOptions(opts...)
10902	return out, req.Send()
10903}
10904
10905const opStopCrawlerSchedule = "StopCrawlerSchedule"
10906
10907// StopCrawlerScheduleRequest generates a "aws/request.Request" representing the
10908// client's request for the StopCrawlerSchedule operation. The "output" return
10909// value will be populated with the request's response once the request completes
10910// successfully.
10911//
10912// Use "Send" method on the returned Request to send the API call to the service.
10913// the "output" return value is not valid until after Send returns without error.
10914//
10915// See StopCrawlerSchedule for more information on using the StopCrawlerSchedule
10916// API call, and error handling.
10917//
10918// This method is useful when you want to inject custom logic or configuration
10919// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10920//
10921//
10922//    // Example sending a request using the StopCrawlerScheduleRequest method.
10923//    req, resp := client.StopCrawlerScheduleRequest(params)
10924//
10925//    err := req.Send()
10926//    if err == nil { // resp is now filled
10927//        fmt.Println(resp)
10928//    }
10929//
10930// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
10931func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) {
10932	op := &request.Operation{
10933		Name:       opStopCrawlerSchedule,
10934		HTTPMethod: "POST",
10935		HTTPPath:   "/",
10936	}
10937
10938	if input == nil {
10939		input = &StopCrawlerScheduleInput{}
10940	}
10941
10942	output = &StopCrawlerScheduleOutput{}
10943	req = c.newRequest(op, input, output)
10944	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10945	return
10946}
10947
10948// StopCrawlerSchedule API operation for AWS Glue.
10949//
10950// Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does
10951// not stop the crawler if it is already running.
10952//
10953// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10954// with awserr.Error's Code and Message methods to get detailed information about
10955// the error.
10956//
10957// See the AWS API reference guide for AWS Glue's
10958// API operation StopCrawlerSchedule for usage and error information.
10959//
10960// Returned Error Codes:
10961//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
10962//   A specified entity does not exist
10963//
10964//   * ErrCodeSchedulerNotRunningException "SchedulerNotRunningException"
10965//   The specified scheduler is not running.
10966//
10967//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
10968//   The specified scheduler is transitioning.
10969//
10970//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
10971//   The operation timed out.
10972//
10973// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule
10974func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) {
10975	req, out := c.StopCrawlerScheduleRequest(input)
10976	return out, req.Send()
10977}
10978
10979// StopCrawlerScheduleWithContext is the same as StopCrawlerSchedule with the addition of
10980// the ability to pass a context and additional request options.
10981//
10982// See StopCrawlerSchedule for details on how to use this API operation.
10983//
10984// The context must be non-nil and will be used for request cancellation. If
10985// the context is nil a panic will occur. In the future the SDK may create
10986// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10987// for more information on using Contexts.
10988func (c *Glue) StopCrawlerScheduleWithContext(ctx aws.Context, input *StopCrawlerScheduleInput, opts ...request.Option) (*StopCrawlerScheduleOutput, error) {
10989	req, out := c.StopCrawlerScheduleRequest(input)
10990	req.SetContext(ctx)
10991	req.ApplyOptions(opts...)
10992	return out, req.Send()
10993}
10994
10995const opStopTrigger = "StopTrigger"
10996
10997// StopTriggerRequest generates a "aws/request.Request" representing the
10998// client's request for the StopTrigger operation. The "output" return
10999// value will be populated with the request's response once the request completes
11000// successfully.
11001//
11002// Use "Send" method on the returned Request to send the API call to the service.
11003// the "output" return value is not valid until after Send returns without error.
11004//
11005// See StopTrigger for more information on using the StopTrigger
11006// API call, and error handling.
11007//
11008// This method is useful when you want to inject custom logic or configuration
11009// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11010//
11011//
11012//    // Example sending a request using the StopTriggerRequest method.
11013//    req, resp := client.StopTriggerRequest(params)
11014//
11015//    err := req.Send()
11016//    if err == nil { // resp is now filled
11017//        fmt.Println(resp)
11018//    }
11019//
11020// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11021func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) {
11022	op := &request.Operation{
11023		Name:       opStopTrigger,
11024		HTTPMethod: "POST",
11025		HTTPPath:   "/",
11026	}
11027
11028	if input == nil {
11029		input = &StopTriggerInput{}
11030	}
11031
11032	output = &StopTriggerOutput{}
11033	req = c.newRequest(op, input, output)
11034	return
11035}
11036
11037// StopTrigger API operation for AWS Glue.
11038//
11039// Stops a specified trigger.
11040//
11041// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11042// with awserr.Error's Code and Message methods to get detailed information about
11043// the error.
11044//
11045// See the AWS API reference guide for AWS Glue's
11046// API operation StopTrigger for usage and error information.
11047//
11048// Returned Error Codes:
11049//   * ErrCodeInvalidInputException "InvalidInputException"
11050//   The input provided was not valid.
11051//
11052//   * ErrCodeInternalServiceException "InternalServiceException"
11053//   An internal service error occurred.
11054//
11055//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11056//   A specified entity does not exist
11057//
11058//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11059//   The operation timed out.
11060//
11061//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
11062//   Two processes are trying to modify a resource simultaneously.
11063//
11064// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger
11065func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) {
11066	req, out := c.StopTriggerRequest(input)
11067	return out, req.Send()
11068}
11069
11070// StopTriggerWithContext is the same as StopTrigger with the addition of
11071// the ability to pass a context and additional request options.
11072//
11073// See StopTrigger for details on how to use this API operation.
11074//
11075// The context must be non-nil and will be used for request cancellation. If
11076// the context is nil a panic will occur. In the future the SDK may create
11077// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11078// for more information on using Contexts.
11079func (c *Glue) StopTriggerWithContext(ctx aws.Context, input *StopTriggerInput, opts ...request.Option) (*StopTriggerOutput, error) {
11080	req, out := c.StopTriggerRequest(input)
11081	req.SetContext(ctx)
11082	req.ApplyOptions(opts...)
11083	return out, req.Send()
11084}
11085
11086const opTagResource = "TagResource"
11087
11088// TagResourceRequest generates a "aws/request.Request" representing the
11089// client's request for the TagResource operation. The "output" return
11090// value will be populated with the request's response once the request completes
11091// successfully.
11092//
11093// Use "Send" method on the returned Request to send the API call to the service.
11094// the "output" return value is not valid until after Send returns without error.
11095//
11096// See TagResource for more information on using the TagResource
11097// API call, and error handling.
11098//
11099// This method is useful when you want to inject custom logic or configuration
11100// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11101//
11102//
11103//    // Example sending a request using the TagResourceRequest method.
11104//    req, resp := client.TagResourceRequest(params)
11105//
11106//    err := req.Send()
11107//    if err == nil { // resp is now filled
11108//        fmt.Println(resp)
11109//    }
11110//
11111// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11112func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
11113	op := &request.Operation{
11114		Name:       opTagResource,
11115		HTTPMethod: "POST",
11116		HTTPPath:   "/",
11117	}
11118
11119	if input == nil {
11120		input = &TagResourceInput{}
11121	}
11122
11123	output = &TagResourceOutput{}
11124	req = c.newRequest(op, input, output)
11125	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11126	return
11127}
11128
11129// TagResource API operation for AWS Glue.
11130//
11131// Adds tags to a resource. A tag is a label you can assign to an AWS resource.
11132// In AWS Glue, you can tag only certain resources. For information about what
11133// resources you can tag, see AWS Tags in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
11134//
11135// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11136// with awserr.Error's Code and Message methods to get detailed information about
11137// the error.
11138//
11139// See the AWS API reference guide for AWS Glue's
11140// API operation TagResource for usage and error information.
11141//
11142// Returned Error Codes:
11143//   * ErrCodeInvalidInputException "InvalidInputException"
11144//   The input provided was not valid.
11145//
11146//   * ErrCodeInternalServiceException "InternalServiceException"
11147//   An internal service error occurred.
11148//
11149//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11150//   The operation timed out.
11151//
11152//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11153//   A specified entity does not exist
11154//
11155// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource
11156func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
11157	req, out := c.TagResourceRequest(input)
11158	return out, req.Send()
11159}
11160
11161// TagResourceWithContext is the same as TagResource with the addition of
11162// the ability to pass a context and additional request options.
11163//
11164// See TagResource for details on how to use this API operation.
11165//
11166// The context must be non-nil and will be used for request cancellation. If
11167// the context is nil a panic will occur. In the future the SDK may create
11168// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11169// for more information on using Contexts.
11170func (c *Glue) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
11171	req, out := c.TagResourceRequest(input)
11172	req.SetContext(ctx)
11173	req.ApplyOptions(opts...)
11174	return out, req.Send()
11175}
11176
11177const opUntagResource = "UntagResource"
11178
11179// UntagResourceRequest generates a "aws/request.Request" representing the
11180// client's request for the UntagResource operation. The "output" return
11181// value will be populated with the request's response once the request completes
11182// successfully.
11183//
11184// Use "Send" method on the returned Request to send the API call to the service.
11185// the "output" return value is not valid until after Send returns without error.
11186//
11187// See UntagResource for more information on using the UntagResource
11188// API call, and error handling.
11189//
11190// This method is useful when you want to inject custom logic or configuration
11191// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11192//
11193//
11194//    // Example sending a request using the UntagResourceRequest method.
11195//    req, resp := client.UntagResourceRequest(params)
11196//
11197//    err := req.Send()
11198//    if err == nil { // resp is now filled
11199//        fmt.Println(resp)
11200//    }
11201//
11202// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11203func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
11204	op := &request.Operation{
11205		Name:       opUntagResource,
11206		HTTPMethod: "POST",
11207		HTTPPath:   "/",
11208	}
11209
11210	if input == nil {
11211		input = &UntagResourceInput{}
11212	}
11213
11214	output = &UntagResourceOutput{}
11215	req = c.newRequest(op, input, output)
11216	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11217	return
11218}
11219
11220// UntagResource API operation for AWS Glue.
11221//
11222// Removes tags from a resource.
11223//
11224// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11225// with awserr.Error's Code and Message methods to get detailed information about
11226// the error.
11227//
11228// See the AWS API reference guide for AWS Glue's
11229// API operation UntagResource for usage and error information.
11230//
11231// Returned Error Codes:
11232//   * ErrCodeInvalidInputException "InvalidInputException"
11233//   The input provided was not valid.
11234//
11235//   * ErrCodeInternalServiceException "InternalServiceException"
11236//   An internal service error occurred.
11237//
11238//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11239//   The operation timed out.
11240//
11241//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11242//   A specified entity does not exist
11243//
11244// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource
11245func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
11246	req, out := c.UntagResourceRequest(input)
11247	return out, req.Send()
11248}
11249
11250// UntagResourceWithContext is the same as UntagResource with the addition of
11251// the ability to pass a context and additional request options.
11252//
11253// See UntagResource for details on how to use this API operation.
11254//
11255// The context must be non-nil and will be used for request cancellation. If
11256// the context is nil a panic will occur. In the future the SDK may create
11257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11258// for more information on using Contexts.
11259func (c *Glue) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
11260	req, out := c.UntagResourceRequest(input)
11261	req.SetContext(ctx)
11262	req.ApplyOptions(opts...)
11263	return out, req.Send()
11264}
11265
11266const opUpdateClassifier = "UpdateClassifier"
11267
11268// UpdateClassifierRequest generates a "aws/request.Request" representing the
11269// client's request for the UpdateClassifier operation. The "output" return
11270// value will be populated with the request's response once the request completes
11271// successfully.
11272//
11273// Use "Send" method on the returned Request to send the API call to the service.
11274// the "output" return value is not valid until after Send returns without error.
11275//
11276// See UpdateClassifier for more information on using the UpdateClassifier
11277// API call, and error handling.
11278//
11279// This method is useful when you want to inject custom logic or configuration
11280// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11281//
11282//
11283//    // Example sending a request using the UpdateClassifierRequest method.
11284//    req, resp := client.UpdateClassifierRequest(params)
11285//
11286//    err := req.Send()
11287//    if err == nil { // resp is now filled
11288//        fmt.Println(resp)
11289//    }
11290//
11291// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11292func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) {
11293	op := &request.Operation{
11294		Name:       opUpdateClassifier,
11295		HTTPMethod: "POST",
11296		HTTPPath:   "/",
11297	}
11298
11299	if input == nil {
11300		input = &UpdateClassifierInput{}
11301	}
11302
11303	output = &UpdateClassifierOutput{}
11304	req = c.newRequest(op, input, output)
11305	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11306	return
11307}
11308
11309// UpdateClassifier API operation for AWS Glue.
11310//
11311// Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier,
11312// or a CsvClassifier, depending on which field is present).
11313//
11314// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11315// with awserr.Error's Code and Message methods to get detailed information about
11316// the error.
11317//
11318// See the AWS API reference guide for AWS Glue's
11319// API operation UpdateClassifier for usage and error information.
11320//
11321// Returned Error Codes:
11322//   * ErrCodeInvalidInputException "InvalidInputException"
11323//   The input provided was not valid.
11324//
11325//   * ErrCodeVersionMismatchException "VersionMismatchException"
11326//   There was a version conflict.
11327//
11328//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11329//   A specified entity does not exist
11330//
11331//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11332//   The operation timed out.
11333//
11334// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier
11335func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) {
11336	req, out := c.UpdateClassifierRequest(input)
11337	return out, req.Send()
11338}
11339
11340// UpdateClassifierWithContext is the same as UpdateClassifier with the addition of
11341// the ability to pass a context and additional request options.
11342//
11343// See UpdateClassifier for details on how to use this API operation.
11344//
11345// The context must be non-nil and will be used for request cancellation. If
11346// the context is nil a panic will occur. In the future the SDK may create
11347// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11348// for more information on using Contexts.
11349func (c *Glue) UpdateClassifierWithContext(ctx aws.Context, input *UpdateClassifierInput, opts ...request.Option) (*UpdateClassifierOutput, error) {
11350	req, out := c.UpdateClassifierRequest(input)
11351	req.SetContext(ctx)
11352	req.ApplyOptions(opts...)
11353	return out, req.Send()
11354}
11355
11356const opUpdateConnection = "UpdateConnection"
11357
11358// UpdateConnectionRequest generates a "aws/request.Request" representing the
11359// client's request for the UpdateConnection operation. The "output" return
11360// value will be populated with the request's response once the request completes
11361// successfully.
11362//
11363// Use "Send" method on the returned Request to send the API call to the service.
11364// the "output" return value is not valid until after Send returns without error.
11365//
11366// See UpdateConnection for more information on using the UpdateConnection
11367// API call, and error handling.
11368//
11369// This method is useful when you want to inject custom logic or configuration
11370// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11371//
11372//
11373//    // Example sending a request using the UpdateConnectionRequest method.
11374//    req, resp := client.UpdateConnectionRequest(params)
11375//
11376//    err := req.Send()
11377//    if err == nil { // resp is now filled
11378//        fmt.Println(resp)
11379//    }
11380//
11381// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11382func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) {
11383	op := &request.Operation{
11384		Name:       opUpdateConnection,
11385		HTTPMethod: "POST",
11386		HTTPPath:   "/",
11387	}
11388
11389	if input == nil {
11390		input = &UpdateConnectionInput{}
11391	}
11392
11393	output = &UpdateConnectionOutput{}
11394	req = c.newRequest(op, input, output)
11395	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11396	return
11397}
11398
11399// UpdateConnection API operation for AWS Glue.
11400//
11401// Updates a connection definition in the Data Catalog.
11402//
11403// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11404// with awserr.Error's Code and Message methods to get detailed information about
11405// the error.
11406//
11407// See the AWS API reference guide for AWS Glue's
11408// API operation UpdateConnection for usage and error information.
11409//
11410// Returned Error Codes:
11411//   * ErrCodeInvalidInputException "InvalidInputException"
11412//   The input provided was not valid.
11413//
11414//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11415//   A specified entity does not exist
11416//
11417//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11418//   The operation timed out.
11419//
11420//   * ErrCodeInvalidInputException "InvalidInputException"
11421//   The input provided was not valid.
11422//
11423//   * ErrCodeEncryptionException "GlueEncryptionException"
11424//   An encryption operation failed.
11425//
11426// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection
11427func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) {
11428	req, out := c.UpdateConnectionRequest(input)
11429	return out, req.Send()
11430}
11431
11432// UpdateConnectionWithContext is the same as UpdateConnection with the addition of
11433// the ability to pass a context and additional request options.
11434//
11435// See UpdateConnection for details on how to use this API operation.
11436//
11437// The context must be non-nil and will be used for request cancellation. If
11438// the context is nil a panic will occur. In the future the SDK may create
11439// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11440// for more information on using Contexts.
11441func (c *Glue) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) {
11442	req, out := c.UpdateConnectionRequest(input)
11443	req.SetContext(ctx)
11444	req.ApplyOptions(opts...)
11445	return out, req.Send()
11446}
11447
11448const opUpdateCrawler = "UpdateCrawler"
11449
11450// UpdateCrawlerRequest generates a "aws/request.Request" representing the
11451// client's request for the UpdateCrawler operation. The "output" return
11452// value will be populated with the request's response once the request completes
11453// successfully.
11454//
11455// Use "Send" method on the returned Request to send the API call to the service.
11456// the "output" return value is not valid until after Send returns without error.
11457//
11458// See UpdateCrawler for more information on using the UpdateCrawler
11459// API call, and error handling.
11460//
11461// This method is useful when you want to inject custom logic or configuration
11462// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11463//
11464//
11465//    // Example sending a request using the UpdateCrawlerRequest method.
11466//    req, resp := client.UpdateCrawlerRequest(params)
11467//
11468//    err := req.Send()
11469//    if err == nil { // resp is now filled
11470//        fmt.Println(resp)
11471//    }
11472//
11473// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11474func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) {
11475	op := &request.Operation{
11476		Name:       opUpdateCrawler,
11477		HTTPMethod: "POST",
11478		HTTPPath:   "/",
11479	}
11480
11481	if input == nil {
11482		input = &UpdateCrawlerInput{}
11483	}
11484
11485	output = &UpdateCrawlerOutput{}
11486	req = c.newRequest(op, input, output)
11487	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11488	return
11489}
11490
11491// UpdateCrawler API operation for AWS Glue.
11492//
11493// Updates a crawler. If a crawler is running, you must stop it using StopCrawler
11494// before updating it.
11495//
11496// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11497// with awserr.Error's Code and Message methods to get detailed information about
11498// the error.
11499//
11500// See the AWS API reference guide for AWS Glue's
11501// API operation UpdateCrawler for usage and error information.
11502//
11503// Returned Error Codes:
11504//   * ErrCodeInvalidInputException "InvalidInputException"
11505//   The input provided was not valid.
11506//
11507//   * ErrCodeVersionMismatchException "VersionMismatchException"
11508//   There was a version conflict.
11509//
11510//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11511//   A specified entity does not exist
11512//
11513//   * ErrCodeCrawlerRunningException "CrawlerRunningException"
11514//   The operation cannot be performed because the crawler is already running.
11515//
11516//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11517//   The operation timed out.
11518//
11519// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler
11520func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) {
11521	req, out := c.UpdateCrawlerRequest(input)
11522	return out, req.Send()
11523}
11524
11525// UpdateCrawlerWithContext is the same as UpdateCrawler with the addition of
11526// the ability to pass a context and additional request options.
11527//
11528// See UpdateCrawler for details on how to use this API operation.
11529//
11530// The context must be non-nil and will be used for request cancellation. If
11531// the context is nil a panic will occur. In the future the SDK may create
11532// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11533// for more information on using Contexts.
11534func (c *Glue) UpdateCrawlerWithContext(ctx aws.Context, input *UpdateCrawlerInput, opts ...request.Option) (*UpdateCrawlerOutput, error) {
11535	req, out := c.UpdateCrawlerRequest(input)
11536	req.SetContext(ctx)
11537	req.ApplyOptions(opts...)
11538	return out, req.Send()
11539}
11540
11541const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule"
11542
11543// UpdateCrawlerScheduleRequest generates a "aws/request.Request" representing the
11544// client's request for the UpdateCrawlerSchedule operation. The "output" return
11545// value will be populated with the request's response once the request completes
11546// successfully.
11547//
11548// Use "Send" method on the returned Request to send the API call to the service.
11549// the "output" return value is not valid until after Send returns without error.
11550//
11551// See UpdateCrawlerSchedule for more information on using the UpdateCrawlerSchedule
11552// API call, and error handling.
11553//
11554// This method is useful when you want to inject custom logic or configuration
11555// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11556//
11557//
11558//    // Example sending a request using the UpdateCrawlerScheduleRequest method.
11559//    req, resp := client.UpdateCrawlerScheduleRequest(params)
11560//
11561//    err := req.Send()
11562//    if err == nil { // resp is now filled
11563//        fmt.Println(resp)
11564//    }
11565//
11566// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11567func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) {
11568	op := &request.Operation{
11569		Name:       opUpdateCrawlerSchedule,
11570		HTTPMethod: "POST",
11571		HTTPPath:   "/",
11572	}
11573
11574	if input == nil {
11575		input = &UpdateCrawlerScheduleInput{}
11576	}
11577
11578	output = &UpdateCrawlerScheduleOutput{}
11579	req = c.newRequest(op, input, output)
11580	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11581	return
11582}
11583
11584// UpdateCrawlerSchedule API operation for AWS Glue.
11585//
11586// Updates the schedule of a crawler using a cron expression.
11587//
11588// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11589// with awserr.Error's Code and Message methods to get detailed information about
11590// the error.
11591//
11592// See the AWS API reference guide for AWS Glue's
11593// API operation UpdateCrawlerSchedule for usage and error information.
11594//
11595// Returned Error Codes:
11596//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11597//   A specified entity does not exist
11598//
11599//   * ErrCodeInvalidInputException "InvalidInputException"
11600//   The input provided was not valid.
11601//
11602//   * ErrCodeVersionMismatchException "VersionMismatchException"
11603//   There was a version conflict.
11604//
11605//   * ErrCodeSchedulerTransitioningException "SchedulerTransitioningException"
11606//   The specified scheduler is transitioning.
11607//
11608//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11609//   The operation timed out.
11610//
11611// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule
11612func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) {
11613	req, out := c.UpdateCrawlerScheduleRequest(input)
11614	return out, req.Send()
11615}
11616
11617// UpdateCrawlerScheduleWithContext is the same as UpdateCrawlerSchedule with the addition of
11618// the ability to pass a context and additional request options.
11619//
11620// See UpdateCrawlerSchedule for details on how to use this API operation.
11621//
11622// The context must be non-nil and will be used for request cancellation. If
11623// the context is nil a panic will occur. In the future the SDK may create
11624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11625// for more information on using Contexts.
11626func (c *Glue) UpdateCrawlerScheduleWithContext(ctx aws.Context, input *UpdateCrawlerScheduleInput, opts ...request.Option) (*UpdateCrawlerScheduleOutput, error) {
11627	req, out := c.UpdateCrawlerScheduleRequest(input)
11628	req.SetContext(ctx)
11629	req.ApplyOptions(opts...)
11630	return out, req.Send()
11631}
11632
11633const opUpdateDatabase = "UpdateDatabase"
11634
11635// UpdateDatabaseRequest generates a "aws/request.Request" representing the
11636// client's request for the UpdateDatabase operation. The "output" return
11637// value will be populated with the request's response once the request completes
11638// successfully.
11639//
11640// Use "Send" method on the returned Request to send the API call to the service.
11641// the "output" return value is not valid until after Send returns without error.
11642//
11643// See UpdateDatabase for more information on using the UpdateDatabase
11644// API call, and error handling.
11645//
11646// This method is useful when you want to inject custom logic or configuration
11647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11648//
11649//
11650//    // Example sending a request using the UpdateDatabaseRequest method.
11651//    req, resp := client.UpdateDatabaseRequest(params)
11652//
11653//    err := req.Send()
11654//    if err == nil { // resp is now filled
11655//        fmt.Println(resp)
11656//    }
11657//
11658// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11659func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) {
11660	op := &request.Operation{
11661		Name:       opUpdateDatabase,
11662		HTTPMethod: "POST",
11663		HTTPPath:   "/",
11664	}
11665
11666	if input == nil {
11667		input = &UpdateDatabaseInput{}
11668	}
11669
11670	output = &UpdateDatabaseOutput{}
11671	req = c.newRequest(op, input, output)
11672	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11673	return
11674}
11675
11676// UpdateDatabase API operation for AWS Glue.
11677//
11678// Updates an existing database definition in a Data Catalog.
11679//
11680// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11681// with awserr.Error's Code and Message methods to get detailed information about
11682// the error.
11683//
11684// See the AWS API reference guide for AWS Glue's
11685// API operation UpdateDatabase for usage and error information.
11686//
11687// Returned Error Codes:
11688//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11689//   A specified entity does not exist
11690//
11691//   * ErrCodeInvalidInputException "InvalidInputException"
11692//   The input provided was not valid.
11693//
11694//   * ErrCodeInternalServiceException "InternalServiceException"
11695//   An internal service error occurred.
11696//
11697//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11698//   The operation timed out.
11699//
11700//   * ErrCodeEncryptionException "GlueEncryptionException"
11701//   An encryption operation failed.
11702//
11703// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase
11704func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) {
11705	req, out := c.UpdateDatabaseRequest(input)
11706	return out, req.Send()
11707}
11708
11709// UpdateDatabaseWithContext is the same as UpdateDatabase with the addition of
11710// the ability to pass a context and additional request options.
11711//
11712// See UpdateDatabase for details on how to use this API operation.
11713//
11714// The context must be non-nil and will be used for request cancellation. If
11715// the context is nil a panic will occur. In the future the SDK may create
11716// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11717// for more information on using Contexts.
11718func (c *Glue) UpdateDatabaseWithContext(ctx aws.Context, input *UpdateDatabaseInput, opts ...request.Option) (*UpdateDatabaseOutput, error) {
11719	req, out := c.UpdateDatabaseRequest(input)
11720	req.SetContext(ctx)
11721	req.ApplyOptions(opts...)
11722	return out, req.Send()
11723}
11724
11725const opUpdateDevEndpoint = "UpdateDevEndpoint"
11726
11727// UpdateDevEndpointRequest generates a "aws/request.Request" representing the
11728// client's request for the UpdateDevEndpoint operation. The "output" return
11729// value will be populated with the request's response once the request completes
11730// successfully.
11731//
11732// Use "Send" method on the returned Request to send the API call to the service.
11733// the "output" return value is not valid until after Send returns without error.
11734//
11735// See UpdateDevEndpoint for more information on using the UpdateDevEndpoint
11736// API call, and error handling.
11737//
11738// This method is useful when you want to inject custom logic or configuration
11739// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11740//
11741//
11742//    // Example sending a request using the UpdateDevEndpointRequest method.
11743//    req, resp := client.UpdateDevEndpointRequest(params)
11744//
11745//    err := req.Send()
11746//    if err == nil { // resp is now filled
11747//        fmt.Println(resp)
11748//    }
11749//
11750// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11751func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) {
11752	op := &request.Operation{
11753		Name:       opUpdateDevEndpoint,
11754		HTTPMethod: "POST",
11755		HTTPPath:   "/",
11756	}
11757
11758	if input == nil {
11759		input = &UpdateDevEndpointInput{}
11760	}
11761
11762	output = &UpdateDevEndpointOutput{}
11763	req = c.newRequest(op, input, output)
11764	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11765	return
11766}
11767
11768// UpdateDevEndpoint API operation for AWS Glue.
11769//
11770// Updates a specified development endpoint.
11771//
11772// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11773// with awserr.Error's Code and Message methods to get detailed information about
11774// the error.
11775//
11776// See the AWS API reference guide for AWS Glue's
11777// API operation UpdateDevEndpoint for usage and error information.
11778//
11779// Returned Error Codes:
11780//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11781//   A specified entity does not exist
11782//
11783//   * ErrCodeInternalServiceException "InternalServiceException"
11784//   An internal service error occurred.
11785//
11786//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11787//   The operation timed out.
11788//
11789//   * ErrCodeInvalidInputException "InvalidInputException"
11790//   The input provided was not valid.
11791//
11792//   * ErrCodeValidationException "ValidationException"
11793//   A value could not be validated.
11794//
11795// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint
11796func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) {
11797	req, out := c.UpdateDevEndpointRequest(input)
11798	return out, req.Send()
11799}
11800
11801// UpdateDevEndpointWithContext is the same as UpdateDevEndpoint with the addition of
11802// the ability to pass a context and additional request options.
11803//
11804// See UpdateDevEndpoint for details on how to use this API operation.
11805//
11806// The context must be non-nil and will be used for request cancellation. If
11807// the context is nil a panic will occur. In the future the SDK may create
11808// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11809// for more information on using Contexts.
11810func (c *Glue) UpdateDevEndpointWithContext(ctx aws.Context, input *UpdateDevEndpointInput, opts ...request.Option) (*UpdateDevEndpointOutput, error) {
11811	req, out := c.UpdateDevEndpointRequest(input)
11812	req.SetContext(ctx)
11813	req.ApplyOptions(opts...)
11814	return out, req.Send()
11815}
11816
11817const opUpdateJob = "UpdateJob"
11818
11819// UpdateJobRequest generates a "aws/request.Request" representing the
11820// client's request for the UpdateJob operation. The "output" return
11821// value will be populated with the request's response once the request completes
11822// successfully.
11823//
11824// Use "Send" method on the returned Request to send the API call to the service.
11825// the "output" return value is not valid until after Send returns without error.
11826//
11827// See UpdateJob for more information on using the UpdateJob
11828// API call, and error handling.
11829//
11830// This method is useful when you want to inject custom logic or configuration
11831// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11832//
11833//
11834//    // Example sending a request using the UpdateJobRequest method.
11835//    req, resp := client.UpdateJobRequest(params)
11836//
11837//    err := req.Send()
11838//    if err == nil { // resp is now filled
11839//        fmt.Println(resp)
11840//    }
11841//
11842// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
11843func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) {
11844	op := &request.Operation{
11845		Name:       opUpdateJob,
11846		HTTPMethod: "POST",
11847		HTTPPath:   "/",
11848	}
11849
11850	if input == nil {
11851		input = &UpdateJobInput{}
11852	}
11853
11854	output = &UpdateJobOutput{}
11855	req = c.newRequest(op, input, output)
11856	return
11857}
11858
11859// UpdateJob API operation for AWS Glue.
11860//
11861// Updates an existing job definition.
11862//
11863// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11864// with awserr.Error's Code and Message methods to get detailed information about
11865// the error.
11866//
11867// See the AWS API reference guide for AWS Glue's
11868// API operation UpdateJob for usage and error information.
11869//
11870// Returned Error Codes:
11871//   * ErrCodeInvalidInputException "InvalidInputException"
11872//   The input provided was not valid.
11873//
11874//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11875//   A specified entity does not exist
11876//
11877//   * ErrCodeInternalServiceException "InternalServiceException"
11878//   An internal service error occurred.
11879//
11880//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11881//   The operation timed out.
11882//
11883//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
11884//   Two processes are trying to modify a resource simultaneously.
11885//
11886// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob
11887func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) {
11888	req, out := c.UpdateJobRequest(input)
11889	return out, req.Send()
11890}
11891
11892// UpdateJobWithContext is the same as UpdateJob with the addition of
11893// the ability to pass a context and additional request options.
11894//
11895// See UpdateJob for details on how to use this API operation.
11896//
11897// The context must be non-nil and will be used for request cancellation. If
11898// the context is nil a panic will occur. In the future the SDK may create
11899// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11900// for more information on using Contexts.
11901func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts ...request.Option) (*UpdateJobOutput, error) {
11902	req, out := c.UpdateJobRequest(input)
11903	req.SetContext(ctx)
11904	req.ApplyOptions(opts...)
11905	return out, req.Send()
11906}
11907
11908const opUpdateMLTransform = "UpdateMLTransform"
11909
11910// UpdateMLTransformRequest generates a "aws/request.Request" representing the
11911// client's request for the UpdateMLTransform operation. The "output" return
11912// value will be populated with the request's response once the request completes
11913// successfully.
11914//
11915// Use "Send" method on the returned Request to send the API call to the service.
11916// the "output" return value is not valid until after Send returns without error.
11917//
11918// See UpdateMLTransform for more information on using the UpdateMLTransform
11919// API call, and error handling.
11920//
11921// This method is useful when you want to inject custom logic or configuration
11922// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11923//
11924//
11925//    // Example sending a request using the UpdateMLTransformRequest method.
11926//    req, resp := client.UpdateMLTransformRequest(params)
11927//
11928//    err := req.Send()
11929//    if err == nil { // resp is now filled
11930//        fmt.Println(resp)
11931//    }
11932//
11933// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
11934func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) {
11935	op := &request.Operation{
11936		Name:       opUpdateMLTransform,
11937		HTTPMethod: "POST",
11938		HTTPPath:   "/",
11939	}
11940
11941	if input == nil {
11942		input = &UpdateMLTransformInput{}
11943	}
11944
11945	output = &UpdateMLTransformOutput{}
11946	req = c.newRequest(op, input, output)
11947	return
11948}
11949
11950// UpdateMLTransform API operation for AWS Glue.
11951//
11952// Updates an existing machine learning transform. Call this operation to tune
11953// the algorithm parameters to achieve better results.
11954//
11955// After calling this operation, you can call the StartMLEvaluationTaskRun operation
11956// to assess how well your new parameters achieved your goals (such as improving
11957// the quality of your machine learning transform, or making it more cost-effective).
11958//
11959// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11960// with awserr.Error's Code and Message methods to get detailed information about
11961// the error.
11962//
11963// See the AWS API reference guide for AWS Glue's
11964// API operation UpdateMLTransform for usage and error information.
11965//
11966// Returned Error Codes:
11967//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
11968//   A specified entity does not exist
11969//
11970//   * ErrCodeInvalidInputException "InvalidInputException"
11971//   The input provided was not valid.
11972//
11973//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
11974//   The operation timed out.
11975//
11976//   * ErrCodeInternalServiceException "InternalServiceException"
11977//   An internal service error occurred.
11978//
11979//   * ErrCodeAccessDeniedException "AccessDeniedException"
11980//   Access to a resource was denied.
11981//
11982// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform
11983func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) {
11984	req, out := c.UpdateMLTransformRequest(input)
11985	return out, req.Send()
11986}
11987
11988// UpdateMLTransformWithContext is the same as UpdateMLTransform with the addition of
11989// the ability to pass a context and additional request options.
11990//
11991// See UpdateMLTransform for details on how to use this API operation.
11992//
11993// The context must be non-nil and will be used for request cancellation. If
11994// the context is nil a panic will occur. In the future the SDK may create
11995// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11996// for more information on using Contexts.
11997func (c *Glue) UpdateMLTransformWithContext(ctx aws.Context, input *UpdateMLTransformInput, opts ...request.Option) (*UpdateMLTransformOutput, error) {
11998	req, out := c.UpdateMLTransformRequest(input)
11999	req.SetContext(ctx)
12000	req.ApplyOptions(opts...)
12001	return out, req.Send()
12002}
12003
12004const opUpdatePartition = "UpdatePartition"
12005
12006// UpdatePartitionRequest generates a "aws/request.Request" representing the
12007// client's request for the UpdatePartition operation. The "output" return
12008// value will be populated with the request's response once the request completes
12009// successfully.
12010//
12011// Use "Send" method on the returned Request to send the API call to the service.
12012// the "output" return value is not valid until after Send returns without error.
12013//
12014// See UpdatePartition for more information on using the UpdatePartition
12015// API call, and error handling.
12016//
12017// This method is useful when you want to inject custom logic or configuration
12018// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12019//
12020//
12021//    // Example sending a request using the UpdatePartitionRequest method.
12022//    req, resp := client.UpdatePartitionRequest(params)
12023//
12024//    err := req.Send()
12025//    if err == nil { // resp is now filled
12026//        fmt.Println(resp)
12027//    }
12028//
12029// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12030func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) {
12031	op := &request.Operation{
12032		Name:       opUpdatePartition,
12033		HTTPMethod: "POST",
12034		HTTPPath:   "/",
12035	}
12036
12037	if input == nil {
12038		input = &UpdatePartitionInput{}
12039	}
12040
12041	output = &UpdatePartitionOutput{}
12042	req = c.newRequest(op, input, output)
12043	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12044	return
12045}
12046
12047// UpdatePartition API operation for AWS Glue.
12048//
12049// Updates a partition.
12050//
12051// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12052// with awserr.Error's Code and Message methods to get detailed information about
12053// the error.
12054//
12055// See the AWS API reference guide for AWS Glue's
12056// API operation UpdatePartition for usage and error information.
12057//
12058// Returned Error Codes:
12059//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12060//   A specified entity does not exist
12061//
12062//   * ErrCodeInvalidInputException "InvalidInputException"
12063//   The input provided was not valid.
12064//
12065//   * ErrCodeInternalServiceException "InternalServiceException"
12066//   An internal service error occurred.
12067//
12068//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12069//   The operation timed out.
12070//
12071//   * ErrCodeEncryptionException "GlueEncryptionException"
12072//   An encryption operation failed.
12073//
12074// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition
12075func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) {
12076	req, out := c.UpdatePartitionRequest(input)
12077	return out, req.Send()
12078}
12079
12080// UpdatePartitionWithContext is the same as UpdatePartition with the addition of
12081// the ability to pass a context and additional request options.
12082//
12083// See UpdatePartition for details on how to use this API operation.
12084//
12085// The context must be non-nil and will be used for request cancellation. If
12086// the context is nil a panic will occur. In the future the SDK may create
12087// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12088// for more information on using Contexts.
12089func (c *Glue) UpdatePartitionWithContext(ctx aws.Context, input *UpdatePartitionInput, opts ...request.Option) (*UpdatePartitionOutput, error) {
12090	req, out := c.UpdatePartitionRequest(input)
12091	req.SetContext(ctx)
12092	req.ApplyOptions(opts...)
12093	return out, req.Send()
12094}
12095
12096const opUpdateTable = "UpdateTable"
12097
12098// UpdateTableRequest generates a "aws/request.Request" representing the
12099// client's request for the UpdateTable operation. The "output" return
12100// value will be populated with the request's response once the request completes
12101// successfully.
12102//
12103// Use "Send" method on the returned Request to send the API call to the service.
12104// the "output" return value is not valid until after Send returns without error.
12105//
12106// See UpdateTable for more information on using the UpdateTable
12107// API call, and error handling.
12108//
12109// This method is useful when you want to inject custom logic or configuration
12110// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12111//
12112//
12113//    // Example sending a request using the UpdateTableRequest method.
12114//    req, resp := client.UpdateTableRequest(params)
12115//
12116//    err := req.Send()
12117//    if err == nil { // resp is now filled
12118//        fmt.Println(resp)
12119//    }
12120//
12121// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12122func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) {
12123	op := &request.Operation{
12124		Name:       opUpdateTable,
12125		HTTPMethod: "POST",
12126		HTTPPath:   "/",
12127	}
12128
12129	if input == nil {
12130		input = &UpdateTableInput{}
12131	}
12132
12133	output = &UpdateTableOutput{}
12134	req = c.newRequest(op, input, output)
12135	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12136	return
12137}
12138
12139// UpdateTable API operation for AWS Glue.
12140//
12141// Updates a metadata table in the Data Catalog.
12142//
12143// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12144// with awserr.Error's Code and Message methods to get detailed information about
12145// the error.
12146//
12147// See the AWS API reference guide for AWS Glue's
12148// API operation UpdateTable for usage and error information.
12149//
12150// Returned Error Codes:
12151//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12152//   A specified entity does not exist
12153//
12154//   * ErrCodeInvalidInputException "InvalidInputException"
12155//   The input provided was not valid.
12156//
12157//   * ErrCodeInternalServiceException "InternalServiceException"
12158//   An internal service error occurred.
12159//
12160//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12161//   The operation timed out.
12162//
12163//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12164//   Two processes are trying to modify a resource simultaneously.
12165//
12166//   * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException"
12167//   A resource numerical limit was exceeded.
12168//
12169//   * ErrCodeEncryptionException "GlueEncryptionException"
12170//   An encryption operation failed.
12171//
12172// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable
12173func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) {
12174	req, out := c.UpdateTableRequest(input)
12175	return out, req.Send()
12176}
12177
12178// UpdateTableWithContext is the same as UpdateTable with the addition of
12179// the ability to pass a context and additional request options.
12180//
12181// See UpdateTable for details on how to use this API operation.
12182//
12183// The context must be non-nil and will be used for request cancellation. If
12184// the context is nil a panic will occur. In the future the SDK may create
12185// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12186// for more information on using Contexts.
12187func (c *Glue) UpdateTableWithContext(ctx aws.Context, input *UpdateTableInput, opts ...request.Option) (*UpdateTableOutput, error) {
12188	req, out := c.UpdateTableRequest(input)
12189	req.SetContext(ctx)
12190	req.ApplyOptions(opts...)
12191	return out, req.Send()
12192}
12193
12194const opUpdateTrigger = "UpdateTrigger"
12195
12196// UpdateTriggerRequest generates a "aws/request.Request" representing the
12197// client's request for the UpdateTrigger operation. The "output" return
12198// value will be populated with the request's response once the request completes
12199// successfully.
12200//
12201// Use "Send" method on the returned Request to send the API call to the service.
12202// the "output" return value is not valid until after Send returns without error.
12203//
12204// See UpdateTrigger for more information on using the UpdateTrigger
12205// API call, and error handling.
12206//
12207// This method is useful when you want to inject custom logic or configuration
12208// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12209//
12210//
12211//    // Example sending a request using the UpdateTriggerRequest method.
12212//    req, resp := client.UpdateTriggerRequest(params)
12213//
12214//    err := req.Send()
12215//    if err == nil { // resp is now filled
12216//        fmt.Println(resp)
12217//    }
12218//
12219// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12220func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) {
12221	op := &request.Operation{
12222		Name:       opUpdateTrigger,
12223		HTTPMethod: "POST",
12224		HTTPPath:   "/",
12225	}
12226
12227	if input == nil {
12228		input = &UpdateTriggerInput{}
12229	}
12230
12231	output = &UpdateTriggerOutput{}
12232	req = c.newRequest(op, input, output)
12233	return
12234}
12235
12236// UpdateTrigger API operation for AWS Glue.
12237//
12238// Updates a trigger definition.
12239//
12240// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12241// with awserr.Error's Code and Message methods to get detailed information about
12242// the error.
12243//
12244// See the AWS API reference guide for AWS Glue's
12245// API operation UpdateTrigger for usage and error information.
12246//
12247// Returned Error Codes:
12248//   * ErrCodeInvalidInputException "InvalidInputException"
12249//   The input provided was not valid.
12250//
12251//   * ErrCodeInternalServiceException "InternalServiceException"
12252//   An internal service error occurred.
12253//
12254//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12255//   A specified entity does not exist
12256//
12257//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12258//   The operation timed out.
12259//
12260//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12261//   Two processes are trying to modify a resource simultaneously.
12262//
12263// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger
12264func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) {
12265	req, out := c.UpdateTriggerRequest(input)
12266	return out, req.Send()
12267}
12268
12269// UpdateTriggerWithContext is the same as UpdateTrigger with the addition of
12270// the ability to pass a context and additional request options.
12271//
12272// See UpdateTrigger for details on how to use this API operation.
12273//
12274// The context must be non-nil and will be used for request cancellation. If
12275// the context is nil a panic will occur. In the future the SDK may create
12276// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12277// for more information on using Contexts.
12278func (c *Glue) UpdateTriggerWithContext(ctx aws.Context, input *UpdateTriggerInput, opts ...request.Option) (*UpdateTriggerOutput, error) {
12279	req, out := c.UpdateTriggerRequest(input)
12280	req.SetContext(ctx)
12281	req.ApplyOptions(opts...)
12282	return out, req.Send()
12283}
12284
12285const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction"
12286
12287// UpdateUserDefinedFunctionRequest generates a "aws/request.Request" representing the
12288// client's request for the UpdateUserDefinedFunction operation. The "output" return
12289// value will be populated with the request's response once the request completes
12290// successfully.
12291//
12292// Use "Send" method on the returned Request to send the API call to the service.
12293// the "output" return value is not valid until after Send returns without error.
12294//
12295// See UpdateUserDefinedFunction for more information on using the UpdateUserDefinedFunction
12296// API call, and error handling.
12297//
12298// This method is useful when you want to inject custom logic or configuration
12299// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12300//
12301//
12302//    // Example sending a request using the UpdateUserDefinedFunctionRequest method.
12303//    req, resp := client.UpdateUserDefinedFunctionRequest(params)
12304//
12305//    err := req.Send()
12306//    if err == nil { // resp is now filled
12307//        fmt.Println(resp)
12308//    }
12309//
12310// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12311func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) {
12312	op := &request.Operation{
12313		Name:       opUpdateUserDefinedFunction,
12314		HTTPMethod: "POST",
12315		HTTPPath:   "/",
12316	}
12317
12318	if input == nil {
12319		input = &UpdateUserDefinedFunctionInput{}
12320	}
12321
12322	output = &UpdateUserDefinedFunctionOutput{}
12323	req = c.newRequest(op, input, output)
12324	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12325	return
12326}
12327
12328// UpdateUserDefinedFunction API operation for AWS Glue.
12329//
12330// Updates an existing function definition in the Data Catalog.
12331//
12332// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12333// with awserr.Error's Code and Message methods to get detailed information about
12334// the error.
12335//
12336// See the AWS API reference guide for AWS Glue's
12337// API operation UpdateUserDefinedFunction for usage and error information.
12338//
12339// Returned Error Codes:
12340//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12341//   A specified entity does not exist
12342//
12343//   * ErrCodeInvalidInputException "InvalidInputException"
12344//   The input provided was not valid.
12345//
12346//   * ErrCodeInternalServiceException "InternalServiceException"
12347//   An internal service error occurred.
12348//
12349//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12350//   The operation timed out.
12351//
12352//   * ErrCodeEncryptionException "GlueEncryptionException"
12353//   An encryption operation failed.
12354//
12355// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction
12356func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) {
12357	req, out := c.UpdateUserDefinedFunctionRequest(input)
12358	return out, req.Send()
12359}
12360
12361// UpdateUserDefinedFunctionWithContext is the same as UpdateUserDefinedFunction with the addition of
12362// the ability to pass a context and additional request options.
12363//
12364// See UpdateUserDefinedFunction for details on how to use this API operation.
12365//
12366// The context must be non-nil and will be used for request cancellation. If
12367// the context is nil a panic will occur. In the future the SDK may create
12368// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12369// for more information on using Contexts.
12370func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *UpdateUserDefinedFunctionInput, opts ...request.Option) (*UpdateUserDefinedFunctionOutput, error) {
12371	req, out := c.UpdateUserDefinedFunctionRequest(input)
12372	req.SetContext(ctx)
12373	req.ApplyOptions(opts...)
12374	return out, req.Send()
12375}
12376
12377const opUpdateWorkflow = "UpdateWorkflow"
12378
12379// UpdateWorkflowRequest generates a "aws/request.Request" representing the
12380// client's request for the UpdateWorkflow operation. The "output" return
12381// value will be populated with the request's response once the request completes
12382// successfully.
12383//
12384// Use "Send" method on the returned Request to send the API call to the service.
12385// the "output" return value is not valid until after Send returns without error.
12386//
12387// See UpdateWorkflow for more information on using the UpdateWorkflow
12388// API call, and error handling.
12389//
12390// This method is useful when you want to inject custom logic or configuration
12391// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12392//
12393//
12394//    // Example sending a request using the UpdateWorkflowRequest method.
12395//    req, resp := client.UpdateWorkflowRequest(params)
12396//
12397//    err := req.Send()
12398//    if err == nil { // resp is now filled
12399//        fmt.Println(resp)
12400//    }
12401//
12402// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12403func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) {
12404	op := &request.Operation{
12405		Name:       opUpdateWorkflow,
12406		HTTPMethod: "POST",
12407		HTTPPath:   "/",
12408	}
12409
12410	if input == nil {
12411		input = &UpdateWorkflowInput{}
12412	}
12413
12414	output = &UpdateWorkflowOutput{}
12415	req = c.newRequest(op, input, output)
12416	return
12417}
12418
12419// UpdateWorkflow API operation for AWS Glue.
12420//
12421// Updates an existing workflow.
12422//
12423// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12424// with awserr.Error's Code and Message methods to get detailed information about
12425// the error.
12426//
12427// See the AWS API reference guide for AWS Glue's
12428// API operation UpdateWorkflow for usage and error information.
12429//
12430// Returned Error Codes:
12431//   * ErrCodeInvalidInputException "InvalidInputException"
12432//   The input provided was not valid.
12433//
12434//   * ErrCodeEntityNotFoundException "EntityNotFoundException"
12435//   A specified entity does not exist
12436//
12437//   * ErrCodeInternalServiceException "InternalServiceException"
12438//   An internal service error occurred.
12439//
12440//   * ErrCodeOperationTimeoutException "OperationTimeoutException"
12441//   The operation timed out.
12442//
12443//   * ErrCodeConcurrentModificationException "ConcurrentModificationException"
12444//   Two processes are trying to modify a resource simultaneously.
12445//
12446// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow
12447func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) {
12448	req, out := c.UpdateWorkflowRequest(input)
12449	return out, req.Send()
12450}
12451
12452// UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of
12453// the ability to pass a context and additional request options.
12454//
12455// See UpdateWorkflow for details on how to use this API operation.
12456//
12457// The context must be non-nil and will be used for request cancellation. If
12458// the context is nil a panic will occur. In the future the SDK may create
12459// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12460// for more information on using Contexts.
12461func (c *Glue) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) {
12462	req, out := c.UpdateWorkflowRequest(input)
12463	req.SetContext(ctx)
12464	req.ApplyOptions(opts...)
12465	return out, req.Send()
12466}
12467
12468// Defines an action to be initiated by a trigger.
12469type Action struct {
12470	_ struct{} `type:"structure"`
12471
12472	// The job arguments used when this trigger fires. For this job run, they replace
12473	// the default arguments set in the job definition itself.
12474	//
12475	// You can specify arguments here that your own job-execution script consumes,
12476	// as well as arguments that AWS Glue itself consumes.
12477	//
12478	// For information about how to specify and consume your own Job arguments,
12479	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
12480	// topic in the developer guide.
12481	//
12482	// For information about the key-value pairs that AWS Glue consumes to set up
12483	// 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)
12484	// topic in the developer guide.
12485	Arguments map[string]*string `type:"map"`
12486
12487	// The name of the crawler to be used with this action.
12488	CrawlerName *string `min:"1" type:"string"`
12489
12490	// The name of a job to be executed.
12491	JobName *string `min:"1" type:"string"`
12492
12493	// Specifies configuration properties of a job run notification.
12494	NotificationProperty *NotificationProperty `type:"structure"`
12495
12496	// The name of the SecurityConfiguration structure to be used with this action.
12497	SecurityConfiguration *string `min:"1" type:"string"`
12498
12499	// The JobRun timeout in minutes. This is the maximum time that a job run can
12500	// consume resources before it is terminated and enters TIMEOUT status. The
12501	// default is 2,880 minutes (48 hours). This overrides the timeout value set
12502	// in the parent job.
12503	Timeout *int64 `min:"1" type:"integer"`
12504}
12505
12506// String returns the string representation
12507func (s Action) String() string {
12508	return awsutil.Prettify(s)
12509}
12510
12511// GoString returns the string representation
12512func (s Action) GoString() string {
12513	return s.String()
12514}
12515
12516// Validate inspects the fields of the type to determine if they are valid.
12517func (s *Action) Validate() error {
12518	invalidParams := request.ErrInvalidParams{Context: "Action"}
12519	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
12520		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
12521	}
12522	if s.JobName != nil && len(*s.JobName) < 1 {
12523		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
12524	}
12525	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
12526		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
12527	}
12528	if s.Timeout != nil && *s.Timeout < 1 {
12529		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
12530	}
12531	if s.NotificationProperty != nil {
12532		if err := s.NotificationProperty.Validate(); err != nil {
12533			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
12534		}
12535	}
12536
12537	if invalidParams.Len() > 0 {
12538		return invalidParams
12539	}
12540	return nil
12541}
12542
12543// SetArguments sets the Arguments field's value.
12544func (s *Action) SetArguments(v map[string]*string) *Action {
12545	s.Arguments = v
12546	return s
12547}
12548
12549// SetCrawlerName sets the CrawlerName field's value.
12550func (s *Action) SetCrawlerName(v string) *Action {
12551	s.CrawlerName = &v
12552	return s
12553}
12554
12555// SetJobName sets the JobName field's value.
12556func (s *Action) SetJobName(v string) *Action {
12557	s.JobName = &v
12558	return s
12559}
12560
12561// SetNotificationProperty sets the NotificationProperty field's value.
12562func (s *Action) SetNotificationProperty(v *NotificationProperty) *Action {
12563	s.NotificationProperty = v
12564	return s
12565}
12566
12567// SetSecurityConfiguration sets the SecurityConfiguration field's value.
12568func (s *Action) SetSecurityConfiguration(v string) *Action {
12569	s.SecurityConfiguration = &v
12570	return s
12571}
12572
12573// SetTimeout sets the Timeout field's value.
12574func (s *Action) SetTimeout(v int64) *Action {
12575	s.Timeout = &v
12576	return s
12577}
12578
12579type BatchCreatePartitionInput struct {
12580	_ struct{} `type:"structure"`
12581
12582	// The ID of the catalog in which the partition is to be created. Currently,
12583	// this should be the AWS account ID.
12584	CatalogId *string `min:"1" type:"string"`
12585
12586	// The name of the metadata database in which the partition is to be created.
12587	//
12588	// DatabaseName is a required field
12589	DatabaseName *string `min:"1" type:"string" required:"true"`
12590
12591	// A list of PartitionInput structures that define the partitions to be created.
12592	//
12593	// PartitionInputList is a required field
12594	PartitionInputList []*PartitionInput `type:"list" required:"true"`
12595
12596	// The name of the metadata table in which the partition is to be created.
12597	//
12598	// TableName is a required field
12599	TableName *string `min:"1" type:"string" required:"true"`
12600}
12601
12602// String returns the string representation
12603func (s BatchCreatePartitionInput) String() string {
12604	return awsutil.Prettify(s)
12605}
12606
12607// GoString returns the string representation
12608func (s BatchCreatePartitionInput) GoString() string {
12609	return s.String()
12610}
12611
12612// Validate inspects the fields of the type to determine if they are valid.
12613func (s *BatchCreatePartitionInput) Validate() error {
12614	invalidParams := request.ErrInvalidParams{Context: "BatchCreatePartitionInput"}
12615	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12616		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12617	}
12618	if s.DatabaseName == nil {
12619		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12620	}
12621	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12622		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12623	}
12624	if s.PartitionInputList == nil {
12625		invalidParams.Add(request.NewErrParamRequired("PartitionInputList"))
12626	}
12627	if s.TableName == nil {
12628		invalidParams.Add(request.NewErrParamRequired("TableName"))
12629	}
12630	if s.TableName != nil && len(*s.TableName) < 1 {
12631		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
12632	}
12633	if s.PartitionInputList != nil {
12634		for i, v := range s.PartitionInputList {
12635			if v == nil {
12636				continue
12637			}
12638			if err := v.Validate(); err != nil {
12639				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionInputList", i), err.(request.ErrInvalidParams))
12640			}
12641		}
12642	}
12643
12644	if invalidParams.Len() > 0 {
12645		return invalidParams
12646	}
12647	return nil
12648}
12649
12650// SetCatalogId sets the CatalogId field's value.
12651func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput {
12652	s.CatalogId = &v
12653	return s
12654}
12655
12656// SetDatabaseName sets the DatabaseName field's value.
12657func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput {
12658	s.DatabaseName = &v
12659	return s
12660}
12661
12662// SetPartitionInputList sets the PartitionInputList field's value.
12663func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput {
12664	s.PartitionInputList = v
12665	return s
12666}
12667
12668// SetTableName sets the TableName field's value.
12669func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput {
12670	s.TableName = &v
12671	return s
12672}
12673
12674type BatchCreatePartitionOutput struct {
12675	_ struct{} `type:"structure"`
12676
12677	// The errors encountered when trying to create the requested partitions.
12678	Errors []*PartitionError `type:"list"`
12679}
12680
12681// String returns the string representation
12682func (s BatchCreatePartitionOutput) String() string {
12683	return awsutil.Prettify(s)
12684}
12685
12686// GoString returns the string representation
12687func (s BatchCreatePartitionOutput) GoString() string {
12688	return s.String()
12689}
12690
12691// SetErrors sets the Errors field's value.
12692func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreatePartitionOutput {
12693	s.Errors = v
12694	return s
12695}
12696
12697type BatchDeleteConnectionInput struct {
12698	_ struct{} `type:"structure"`
12699
12700	// The ID of the Data Catalog in which the connections reside. If none is provided,
12701	// the AWS account ID is used by default.
12702	CatalogId *string `min:"1" type:"string"`
12703
12704	// A list of names of the connections to delete.
12705	//
12706	// ConnectionNameList is a required field
12707	ConnectionNameList []*string `type:"list" required:"true"`
12708}
12709
12710// String returns the string representation
12711func (s BatchDeleteConnectionInput) String() string {
12712	return awsutil.Prettify(s)
12713}
12714
12715// GoString returns the string representation
12716func (s BatchDeleteConnectionInput) GoString() string {
12717	return s.String()
12718}
12719
12720// Validate inspects the fields of the type to determine if they are valid.
12721func (s *BatchDeleteConnectionInput) Validate() error {
12722	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteConnectionInput"}
12723	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12724		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12725	}
12726	if s.ConnectionNameList == nil {
12727		invalidParams.Add(request.NewErrParamRequired("ConnectionNameList"))
12728	}
12729
12730	if invalidParams.Len() > 0 {
12731		return invalidParams
12732	}
12733	return nil
12734}
12735
12736// SetCatalogId sets the CatalogId field's value.
12737func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput {
12738	s.CatalogId = &v
12739	return s
12740}
12741
12742// SetConnectionNameList sets the ConnectionNameList field's value.
12743func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDeleteConnectionInput {
12744	s.ConnectionNameList = v
12745	return s
12746}
12747
12748type BatchDeleteConnectionOutput struct {
12749	_ struct{} `type:"structure"`
12750
12751	// A map of the names of connections that were not successfully deleted to error
12752	// details.
12753	Errors map[string]*ErrorDetail `type:"map"`
12754
12755	// A list of names of the connection definitions that were successfully deleted.
12756	Succeeded []*string `type:"list"`
12757}
12758
12759// String returns the string representation
12760func (s BatchDeleteConnectionOutput) String() string {
12761	return awsutil.Prettify(s)
12762}
12763
12764// GoString returns the string representation
12765func (s BatchDeleteConnectionOutput) GoString() string {
12766	return s.String()
12767}
12768
12769// SetErrors sets the Errors field's value.
12770func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]*ErrorDetail) *BatchDeleteConnectionOutput {
12771	s.Errors = v
12772	return s
12773}
12774
12775// SetSucceeded sets the Succeeded field's value.
12776func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConnectionOutput {
12777	s.Succeeded = v
12778	return s
12779}
12780
12781type BatchDeletePartitionInput struct {
12782	_ struct{} `type:"structure"`
12783
12784	// The ID of the Data Catalog where the partition to be deleted resides. If
12785	// none is provided, the AWS account ID is used by default.
12786	CatalogId *string `min:"1" type:"string"`
12787
12788	// The name of the catalog database in which the table in question resides.
12789	//
12790	// DatabaseName is a required field
12791	DatabaseName *string `min:"1" type:"string" required:"true"`
12792
12793	// A list of PartitionInput structures that define the partitions to be deleted.
12794	//
12795	// PartitionsToDelete is a required field
12796	PartitionsToDelete []*PartitionValueList `type:"list" required:"true"`
12797
12798	// The name of the table that contains the partitions to be deleted.
12799	//
12800	// TableName is a required field
12801	TableName *string `min:"1" type:"string" required:"true"`
12802}
12803
12804// String returns the string representation
12805func (s BatchDeletePartitionInput) String() string {
12806	return awsutil.Prettify(s)
12807}
12808
12809// GoString returns the string representation
12810func (s BatchDeletePartitionInput) GoString() string {
12811	return s.String()
12812}
12813
12814// Validate inspects the fields of the type to determine if they are valid.
12815func (s *BatchDeletePartitionInput) Validate() error {
12816	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePartitionInput"}
12817	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12818		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12819	}
12820	if s.DatabaseName == nil {
12821		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12822	}
12823	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12824		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12825	}
12826	if s.PartitionsToDelete == nil {
12827		invalidParams.Add(request.NewErrParamRequired("PartitionsToDelete"))
12828	}
12829	if s.TableName == nil {
12830		invalidParams.Add(request.NewErrParamRequired("TableName"))
12831	}
12832	if s.TableName != nil && len(*s.TableName) < 1 {
12833		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
12834	}
12835	if s.PartitionsToDelete != nil {
12836		for i, v := range s.PartitionsToDelete {
12837			if v == nil {
12838				continue
12839			}
12840			if err := v.Validate(); err != nil {
12841				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToDelete", i), err.(request.ErrInvalidParams))
12842			}
12843		}
12844	}
12845
12846	if invalidParams.Len() > 0 {
12847		return invalidParams
12848	}
12849	return nil
12850}
12851
12852// SetCatalogId sets the CatalogId field's value.
12853func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput {
12854	s.CatalogId = &v
12855	return s
12856}
12857
12858// SetDatabaseName sets the DatabaseName field's value.
12859func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput {
12860	s.DatabaseName = &v
12861	return s
12862}
12863
12864// SetPartitionsToDelete sets the PartitionsToDelete field's value.
12865func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []*PartitionValueList) *BatchDeletePartitionInput {
12866	s.PartitionsToDelete = v
12867	return s
12868}
12869
12870// SetTableName sets the TableName field's value.
12871func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput {
12872	s.TableName = &v
12873	return s
12874}
12875
12876type BatchDeletePartitionOutput struct {
12877	_ struct{} `type:"structure"`
12878
12879	// The errors encountered when trying to delete the requested partitions.
12880	Errors []*PartitionError `type:"list"`
12881}
12882
12883// String returns the string representation
12884func (s BatchDeletePartitionOutput) String() string {
12885	return awsutil.Prettify(s)
12886}
12887
12888// GoString returns the string representation
12889func (s BatchDeletePartitionOutput) GoString() string {
12890	return s.String()
12891}
12892
12893// SetErrors sets the Errors field's value.
12894func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDeletePartitionOutput {
12895	s.Errors = v
12896	return s
12897}
12898
12899type BatchDeleteTableInput struct {
12900	_ struct{} `type:"structure"`
12901
12902	// The ID of the Data Catalog where the table resides. If none is provided,
12903	// the AWS account ID is used by default.
12904	CatalogId *string `min:"1" type:"string"`
12905
12906	// The name of the catalog database in which the tables to delete reside. For
12907	// Hive compatibility, this name is entirely lowercase.
12908	//
12909	// DatabaseName is a required field
12910	DatabaseName *string `min:"1" type:"string" required:"true"`
12911
12912	// A list of the table to delete.
12913	//
12914	// TablesToDelete is a required field
12915	TablesToDelete []*string `type:"list" required:"true"`
12916}
12917
12918// String returns the string representation
12919func (s BatchDeleteTableInput) String() string {
12920	return awsutil.Prettify(s)
12921}
12922
12923// GoString returns the string representation
12924func (s BatchDeleteTableInput) GoString() string {
12925	return s.String()
12926}
12927
12928// Validate inspects the fields of the type to determine if they are valid.
12929func (s *BatchDeleteTableInput) Validate() error {
12930	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableInput"}
12931	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
12932		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
12933	}
12934	if s.DatabaseName == nil {
12935		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
12936	}
12937	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
12938		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
12939	}
12940	if s.TablesToDelete == nil {
12941		invalidParams.Add(request.NewErrParamRequired("TablesToDelete"))
12942	}
12943
12944	if invalidParams.Len() > 0 {
12945		return invalidParams
12946	}
12947	return nil
12948}
12949
12950// SetCatalogId sets the CatalogId field's value.
12951func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput {
12952	s.CatalogId = &v
12953	return s
12954}
12955
12956// SetDatabaseName sets the DatabaseName field's value.
12957func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput {
12958	s.DatabaseName = &v
12959	return s
12960}
12961
12962// SetTablesToDelete sets the TablesToDelete field's value.
12963func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTableInput {
12964	s.TablesToDelete = v
12965	return s
12966}
12967
12968type BatchDeleteTableOutput struct {
12969	_ struct{} `type:"structure"`
12970
12971	// A list of errors encountered in attempting to delete the specified tables.
12972	Errors []*TableError `type:"list"`
12973}
12974
12975// String returns the string representation
12976func (s BatchDeleteTableOutput) String() string {
12977	return awsutil.Prettify(s)
12978}
12979
12980// GoString returns the string representation
12981func (s BatchDeleteTableOutput) GoString() string {
12982	return s.String()
12983}
12984
12985// SetErrors sets the Errors field's value.
12986func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOutput {
12987	s.Errors = v
12988	return s
12989}
12990
12991type BatchDeleteTableVersionInput struct {
12992	_ struct{} `type:"structure"`
12993
12994	// The ID of the Data Catalog where the tables reside. If none is provided,
12995	// the AWS account ID is used by default.
12996	CatalogId *string `min:"1" type:"string"`
12997
12998	// The database in the catalog in which the table resides. For Hive compatibility,
12999	// this name is entirely lowercase.
13000	//
13001	// DatabaseName is a required field
13002	DatabaseName *string `min:"1" type:"string" required:"true"`
13003
13004	// The name of the table. For Hive compatibility, this name is entirely lowercase.
13005	//
13006	// TableName is a required field
13007	TableName *string `min:"1" type:"string" required:"true"`
13008
13009	// A list of the IDs of versions to be deleted. A VersionId is a string representation
13010	// of an integer. Each version is incremented by 1.
13011	//
13012	// VersionIds is a required field
13013	VersionIds []*string `type:"list" required:"true"`
13014}
13015
13016// String returns the string representation
13017func (s BatchDeleteTableVersionInput) String() string {
13018	return awsutil.Prettify(s)
13019}
13020
13021// GoString returns the string representation
13022func (s BatchDeleteTableVersionInput) GoString() string {
13023	return s.String()
13024}
13025
13026// Validate inspects the fields of the type to determine if they are valid.
13027func (s *BatchDeleteTableVersionInput) Validate() error {
13028	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableVersionInput"}
13029	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13030		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13031	}
13032	if s.DatabaseName == nil {
13033		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13034	}
13035	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13036		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13037	}
13038	if s.TableName == nil {
13039		invalidParams.Add(request.NewErrParamRequired("TableName"))
13040	}
13041	if s.TableName != nil && len(*s.TableName) < 1 {
13042		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13043	}
13044	if s.VersionIds == nil {
13045		invalidParams.Add(request.NewErrParamRequired("VersionIds"))
13046	}
13047
13048	if invalidParams.Len() > 0 {
13049		return invalidParams
13050	}
13051	return nil
13052}
13053
13054// SetCatalogId sets the CatalogId field's value.
13055func (s *BatchDeleteTableVersionInput) SetCatalogId(v string) *BatchDeleteTableVersionInput {
13056	s.CatalogId = &v
13057	return s
13058}
13059
13060// SetDatabaseName sets the DatabaseName field's value.
13061func (s *BatchDeleteTableVersionInput) SetDatabaseName(v string) *BatchDeleteTableVersionInput {
13062	s.DatabaseName = &v
13063	return s
13064}
13065
13066// SetTableName sets the TableName field's value.
13067func (s *BatchDeleteTableVersionInput) SetTableName(v string) *BatchDeleteTableVersionInput {
13068	s.TableName = &v
13069	return s
13070}
13071
13072// SetVersionIds sets the VersionIds field's value.
13073func (s *BatchDeleteTableVersionInput) SetVersionIds(v []*string) *BatchDeleteTableVersionInput {
13074	s.VersionIds = v
13075	return s
13076}
13077
13078type BatchDeleteTableVersionOutput struct {
13079	_ struct{} `type:"structure"`
13080
13081	// A list of errors encountered while trying to delete the specified table versions.
13082	Errors []*TableVersionError `type:"list"`
13083}
13084
13085// String returns the string representation
13086func (s BatchDeleteTableVersionOutput) String() string {
13087	return awsutil.Prettify(s)
13088}
13089
13090// GoString returns the string representation
13091func (s BatchDeleteTableVersionOutput) GoString() string {
13092	return s.String()
13093}
13094
13095// SetErrors sets the Errors field's value.
13096func (s *BatchDeleteTableVersionOutput) SetErrors(v []*TableVersionError) *BatchDeleteTableVersionOutput {
13097	s.Errors = v
13098	return s
13099}
13100
13101type BatchGetCrawlersInput struct {
13102	_ struct{} `type:"structure"`
13103
13104	// A list of crawler names, which might be the names returned from the ListCrawlers
13105	// operation.
13106	//
13107	// CrawlerNames is a required field
13108	CrawlerNames []*string `type:"list" required:"true"`
13109}
13110
13111// String returns the string representation
13112func (s BatchGetCrawlersInput) String() string {
13113	return awsutil.Prettify(s)
13114}
13115
13116// GoString returns the string representation
13117func (s BatchGetCrawlersInput) GoString() string {
13118	return s.String()
13119}
13120
13121// Validate inspects the fields of the type to determine if they are valid.
13122func (s *BatchGetCrawlersInput) Validate() error {
13123	invalidParams := request.ErrInvalidParams{Context: "BatchGetCrawlersInput"}
13124	if s.CrawlerNames == nil {
13125		invalidParams.Add(request.NewErrParamRequired("CrawlerNames"))
13126	}
13127
13128	if invalidParams.Len() > 0 {
13129		return invalidParams
13130	}
13131	return nil
13132}
13133
13134// SetCrawlerNames sets the CrawlerNames field's value.
13135func (s *BatchGetCrawlersInput) SetCrawlerNames(v []*string) *BatchGetCrawlersInput {
13136	s.CrawlerNames = v
13137	return s
13138}
13139
13140type BatchGetCrawlersOutput struct {
13141	_ struct{} `type:"structure"`
13142
13143	// A list of crawler definitions.
13144	Crawlers []*Crawler `type:"list"`
13145
13146	// A list of names of crawlers that were not found.
13147	CrawlersNotFound []*string `type:"list"`
13148}
13149
13150// String returns the string representation
13151func (s BatchGetCrawlersOutput) String() string {
13152	return awsutil.Prettify(s)
13153}
13154
13155// GoString returns the string representation
13156func (s BatchGetCrawlersOutput) GoString() string {
13157	return s.String()
13158}
13159
13160// SetCrawlers sets the Crawlers field's value.
13161func (s *BatchGetCrawlersOutput) SetCrawlers(v []*Crawler) *BatchGetCrawlersOutput {
13162	s.Crawlers = v
13163	return s
13164}
13165
13166// SetCrawlersNotFound sets the CrawlersNotFound field's value.
13167func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawlersOutput {
13168	s.CrawlersNotFound = v
13169	return s
13170}
13171
13172type BatchGetDevEndpointsInput struct {
13173	_ struct{} `type:"structure"`
13174
13175	// The list of DevEndpoint names, which might be the names returned from the
13176	// ListDevEndpoint operation.
13177	//
13178	// DevEndpointNames is a required field
13179	DevEndpointNames []*string `min:"1" type:"list" required:"true"`
13180}
13181
13182// String returns the string representation
13183func (s BatchGetDevEndpointsInput) String() string {
13184	return awsutil.Prettify(s)
13185}
13186
13187// GoString returns the string representation
13188func (s BatchGetDevEndpointsInput) GoString() string {
13189	return s.String()
13190}
13191
13192// Validate inspects the fields of the type to determine if they are valid.
13193func (s *BatchGetDevEndpointsInput) Validate() error {
13194	invalidParams := request.ErrInvalidParams{Context: "BatchGetDevEndpointsInput"}
13195	if s.DevEndpointNames == nil {
13196		invalidParams.Add(request.NewErrParamRequired("DevEndpointNames"))
13197	}
13198	if s.DevEndpointNames != nil && len(s.DevEndpointNames) < 1 {
13199		invalidParams.Add(request.NewErrParamMinLen("DevEndpointNames", 1))
13200	}
13201
13202	if invalidParams.Len() > 0 {
13203		return invalidParams
13204	}
13205	return nil
13206}
13207
13208// SetDevEndpointNames sets the DevEndpointNames field's value.
13209func (s *BatchGetDevEndpointsInput) SetDevEndpointNames(v []*string) *BatchGetDevEndpointsInput {
13210	s.DevEndpointNames = v
13211	return s
13212}
13213
13214type BatchGetDevEndpointsOutput struct {
13215	_ struct{} `type:"structure"`
13216
13217	// A list of DevEndpoint definitions.
13218	DevEndpoints []*DevEndpoint `type:"list"`
13219
13220	// A list of DevEndpoints not found.
13221	DevEndpointsNotFound []*string `min:"1" type:"list"`
13222}
13223
13224// String returns the string representation
13225func (s BatchGetDevEndpointsOutput) String() string {
13226	return awsutil.Prettify(s)
13227}
13228
13229// GoString returns the string representation
13230func (s BatchGetDevEndpointsOutput) GoString() string {
13231	return s.String()
13232}
13233
13234// SetDevEndpoints sets the DevEndpoints field's value.
13235func (s *BatchGetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *BatchGetDevEndpointsOutput {
13236	s.DevEndpoints = v
13237	return s
13238}
13239
13240// SetDevEndpointsNotFound sets the DevEndpointsNotFound field's value.
13241func (s *BatchGetDevEndpointsOutput) SetDevEndpointsNotFound(v []*string) *BatchGetDevEndpointsOutput {
13242	s.DevEndpointsNotFound = v
13243	return s
13244}
13245
13246type BatchGetJobsInput struct {
13247	_ struct{} `type:"structure"`
13248
13249	// A list of job names, which might be the names returned from the ListJobs
13250	// operation.
13251	//
13252	// JobNames is a required field
13253	JobNames []*string `type:"list" required:"true"`
13254}
13255
13256// String returns the string representation
13257func (s BatchGetJobsInput) String() string {
13258	return awsutil.Prettify(s)
13259}
13260
13261// GoString returns the string representation
13262func (s BatchGetJobsInput) GoString() string {
13263	return s.String()
13264}
13265
13266// Validate inspects the fields of the type to determine if they are valid.
13267func (s *BatchGetJobsInput) Validate() error {
13268	invalidParams := request.ErrInvalidParams{Context: "BatchGetJobsInput"}
13269	if s.JobNames == nil {
13270		invalidParams.Add(request.NewErrParamRequired("JobNames"))
13271	}
13272
13273	if invalidParams.Len() > 0 {
13274		return invalidParams
13275	}
13276	return nil
13277}
13278
13279// SetJobNames sets the JobNames field's value.
13280func (s *BatchGetJobsInput) SetJobNames(v []*string) *BatchGetJobsInput {
13281	s.JobNames = v
13282	return s
13283}
13284
13285type BatchGetJobsOutput struct {
13286	_ struct{} `type:"structure"`
13287
13288	// A list of job definitions.
13289	Jobs []*Job `type:"list"`
13290
13291	// A list of names of jobs not found.
13292	JobsNotFound []*string `type:"list"`
13293}
13294
13295// String returns the string representation
13296func (s BatchGetJobsOutput) String() string {
13297	return awsutil.Prettify(s)
13298}
13299
13300// GoString returns the string representation
13301func (s BatchGetJobsOutput) GoString() string {
13302	return s.String()
13303}
13304
13305// SetJobs sets the Jobs field's value.
13306func (s *BatchGetJobsOutput) SetJobs(v []*Job) *BatchGetJobsOutput {
13307	s.Jobs = v
13308	return s
13309}
13310
13311// SetJobsNotFound sets the JobsNotFound field's value.
13312func (s *BatchGetJobsOutput) SetJobsNotFound(v []*string) *BatchGetJobsOutput {
13313	s.JobsNotFound = v
13314	return s
13315}
13316
13317type BatchGetPartitionInput struct {
13318	_ struct{} `type:"structure"`
13319
13320	// The ID of the Data Catalog where the partitions in question reside. If none
13321	// is supplied, the AWS account ID is used by default.
13322	CatalogId *string `min:"1" type:"string"`
13323
13324	// The name of the catalog database where the partitions reside.
13325	//
13326	// DatabaseName is a required field
13327	DatabaseName *string `min:"1" type:"string" required:"true"`
13328
13329	// A list of partition values identifying the partitions to retrieve.
13330	//
13331	// PartitionsToGet is a required field
13332	PartitionsToGet []*PartitionValueList `type:"list" required:"true"`
13333
13334	// The name of the partitions' table.
13335	//
13336	// TableName is a required field
13337	TableName *string `min:"1" type:"string" required:"true"`
13338}
13339
13340// String returns the string representation
13341func (s BatchGetPartitionInput) String() string {
13342	return awsutil.Prettify(s)
13343}
13344
13345// GoString returns the string representation
13346func (s BatchGetPartitionInput) GoString() string {
13347	return s.String()
13348}
13349
13350// Validate inspects the fields of the type to determine if they are valid.
13351func (s *BatchGetPartitionInput) Validate() error {
13352	invalidParams := request.ErrInvalidParams{Context: "BatchGetPartitionInput"}
13353	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
13354		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
13355	}
13356	if s.DatabaseName == nil {
13357		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13358	}
13359	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13360		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13361	}
13362	if s.PartitionsToGet == nil {
13363		invalidParams.Add(request.NewErrParamRequired("PartitionsToGet"))
13364	}
13365	if s.TableName == nil {
13366		invalidParams.Add(request.NewErrParamRequired("TableName"))
13367	}
13368	if s.TableName != nil && len(*s.TableName) < 1 {
13369		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13370	}
13371	if s.PartitionsToGet != nil {
13372		for i, v := range s.PartitionsToGet {
13373			if v == nil {
13374				continue
13375			}
13376			if err := v.Validate(); err != nil {
13377				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionsToGet", i), err.(request.ErrInvalidParams))
13378			}
13379		}
13380	}
13381
13382	if invalidParams.Len() > 0 {
13383		return invalidParams
13384	}
13385	return nil
13386}
13387
13388// SetCatalogId sets the CatalogId field's value.
13389func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput {
13390	s.CatalogId = &v
13391	return s
13392}
13393
13394// SetDatabaseName sets the DatabaseName field's value.
13395func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput {
13396	s.DatabaseName = &v
13397	return s
13398}
13399
13400// SetPartitionsToGet sets the PartitionsToGet field's value.
13401func (s *BatchGetPartitionInput) SetPartitionsToGet(v []*PartitionValueList) *BatchGetPartitionInput {
13402	s.PartitionsToGet = v
13403	return s
13404}
13405
13406// SetTableName sets the TableName field's value.
13407func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput {
13408	s.TableName = &v
13409	return s
13410}
13411
13412type BatchGetPartitionOutput struct {
13413	_ struct{} `type:"structure"`
13414
13415	// A list of the requested partitions.
13416	Partitions []*Partition `type:"list"`
13417
13418	// A list of the partition values in the request for which partitions were not
13419	// returned.
13420	UnprocessedKeys []*PartitionValueList `type:"list"`
13421}
13422
13423// String returns the string representation
13424func (s BatchGetPartitionOutput) String() string {
13425	return awsutil.Prettify(s)
13426}
13427
13428// GoString returns the string representation
13429func (s BatchGetPartitionOutput) GoString() string {
13430	return s.String()
13431}
13432
13433// SetPartitions sets the Partitions field's value.
13434func (s *BatchGetPartitionOutput) SetPartitions(v []*Partition) *BatchGetPartitionOutput {
13435	s.Partitions = v
13436	return s
13437}
13438
13439// SetUnprocessedKeys sets the UnprocessedKeys field's value.
13440func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *BatchGetPartitionOutput {
13441	s.UnprocessedKeys = v
13442	return s
13443}
13444
13445type BatchGetTriggersInput struct {
13446	_ struct{} `type:"structure"`
13447
13448	// A list of trigger names, which may be the names returned from the ListTriggers
13449	// operation.
13450	//
13451	// TriggerNames is a required field
13452	TriggerNames []*string `type:"list" required:"true"`
13453}
13454
13455// String returns the string representation
13456func (s BatchGetTriggersInput) String() string {
13457	return awsutil.Prettify(s)
13458}
13459
13460// GoString returns the string representation
13461func (s BatchGetTriggersInput) GoString() string {
13462	return s.String()
13463}
13464
13465// Validate inspects the fields of the type to determine if they are valid.
13466func (s *BatchGetTriggersInput) Validate() error {
13467	invalidParams := request.ErrInvalidParams{Context: "BatchGetTriggersInput"}
13468	if s.TriggerNames == nil {
13469		invalidParams.Add(request.NewErrParamRequired("TriggerNames"))
13470	}
13471
13472	if invalidParams.Len() > 0 {
13473		return invalidParams
13474	}
13475	return nil
13476}
13477
13478// SetTriggerNames sets the TriggerNames field's value.
13479func (s *BatchGetTriggersInput) SetTriggerNames(v []*string) *BatchGetTriggersInput {
13480	s.TriggerNames = v
13481	return s
13482}
13483
13484type BatchGetTriggersOutput struct {
13485	_ struct{} `type:"structure"`
13486
13487	// A list of trigger definitions.
13488	Triggers []*Trigger `type:"list"`
13489
13490	// A list of names of triggers not found.
13491	TriggersNotFound []*string `type:"list"`
13492}
13493
13494// String returns the string representation
13495func (s BatchGetTriggersOutput) String() string {
13496	return awsutil.Prettify(s)
13497}
13498
13499// GoString returns the string representation
13500func (s BatchGetTriggersOutput) GoString() string {
13501	return s.String()
13502}
13503
13504// SetTriggers sets the Triggers field's value.
13505func (s *BatchGetTriggersOutput) SetTriggers(v []*Trigger) *BatchGetTriggersOutput {
13506	s.Triggers = v
13507	return s
13508}
13509
13510// SetTriggersNotFound sets the TriggersNotFound field's value.
13511func (s *BatchGetTriggersOutput) SetTriggersNotFound(v []*string) *BatchGetTriggersOutput {
13512	s.TriggersNotFound = v
13513	return s
13514}
13515
13516type BatchGetWorkflowsInput struct {
13517	_ struct{} `type:"structure"`
13518
13519	// Specifies whether to include a graph when returning the workflow resource
13520	// metadata.
13521	IncludeGraph *bool `type:"boolean"`
13522
13523	// A list of workflow names, which may be the names returned from the ListWorkflows
13524	// operation.
13525	//
13526	// Names is a required field
13527	Names []*string `min:"1" type:"list" required:"true"`
13528}
13529
13530// String returns the string representation
13531func (s BatchGetWorkflowsInput) String() string {
13532	return awsutil.Prettify(s)
13533}
13534
13535// GoString returns the string representation
13536func (s BatchGetWorkflowsInput) GoString() string {
13537	return s.String()
13538}
13539
13540// Validate inspects the fields of the type to determine if they are valid.
13541func (s *BatchGetWorkflowsInput) Validate() error {
13542	invalidParams := request.ErrInvalidParams{Context: "BatchGetWorkflowsInput"}
13543	if s.Names == nil {
13544		invalidParams.Add(request.NewErrParamRequired("Names"))
13545	}
13546	if s.Names != nil && len(s.Names) < 1 {
13547		invalidParams.Add(request.NewErrParamMinLen("Names", 1))
13548	}
13549
13550	if invalidParams.Len() > 0 {
13551		return invalidParams
13552	}
13553	return nil
13554}
13555
13556// SetIncludeGraph sets the IncludeGraph field's value.
13557func (s *BatchGetWorkflowsInput) SetIncludeGraph(v bool) *BatchGetWorkflowsInput {
13558	s.IncludeGraph = &v
13559	return s
13560}
13561
13562// SetNames sets the Names field's value.
13563func (s *BatchGetWorkflowsInput) SetNames(v []*string) *BatchGetWorkflowsInput {
13564	s.Names = v
13565	return s
13566}
13567
13568type BatchGetWorkflowsOutput struct {
13569	_ struct{} `type:"structure"`
13570
13571	// A list of names of workflows not found.
13572	MissingWorkflows []*string `min:"1" type:"list"`
13573
13574	// A list of workflow resource metadata.
13575	Workflows []*Workflow `min:"1" type:"list"`
13576}
13577
13578// String returns the string representation
13579func (s BatchGetWorkflowsOutput) String() string {
13580	return awsutil.Prettify(s)
13581}
13582
13583// GoString returns the string representation
13584func (s BatchGetWorkflowsOutput) GoString() string {
13585	return s.String()
13586}
13587
13588// SetMissingWorkflows sets the MissingWorkflows field's value.
13589func (s *BatchGetWorkflowsOutput) SetMissingWorkflows(v []*string) *BatchGetWorkflowsOutput {
13590	s.MissingWorkflows = v
13591	return s
13592}
13593
13594// SetWorkflows sets the Workflows field's value.
13595func (s *BatchGetWorkflowsOutput) SetWorkflows(v []*Workflow) *BatchGetWorkflowsOutput {
13596	s.Workflows = v
13597	return s
13598}
13599
13600// Records an error that occurred when attempting to stop a specified job run.
13601type BatchStopJobRunError struct {
13602	_ struct{} `type:"structure"`
13603
13604	// Specifies details about the error that was encountered.
13605	ErrorDetail *ErrorDetail `type:"structure"`
13606
13607	// The name of the job definition that is used in the job run in question.
13608	JobName *string `min:"1" type:"string"`
13609
13610	// The JobRunId of the job run in question.
13611	JobRunId *string `min:"1" type:"string"`
13612}
13613
13614// String returns the string representation
13615func (s BatchStopJobRunError) String() string {
13616	return awsutil.Prettify(s)
13617}
13618
13619// GoString returns the string representation
13620func (s BatchStopJobRunError) GoString() string {
13621	return s.String()
13622}
13623
13624// SetErrorDetail sets the ErrorDetail field's value.
13625func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError {
13626	s.ErrorDetail = v
13627	return s
13628}
13629
13630// SetJobName sets the JobName field's value.
13631func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError {
13632	s.JobName = &v
13633	return s
13634}
13635
13636// SetJobRunId sets the JobRunId field's value.
13637func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError {
13638	s.JobRunId = &v
13639	return s
13640}
13641
13642type BatchStopJobRunInput struct {
13643	_ struct{} `type:"structure"`
13644
13645	// The name of the job definition for which to stop job runs.
13646	//
13647	// JobName is a required field
13648	JobName *string `min:"1" type:"string" required:"true"`
13649
13650	// A list of the JobRunIds that should be stopped for that job definition.
13651	//
13652	// JobRunIds is a required field
13653	JobRunIds []*string `min:"1" type:"list" required:"true"`
13654}
13655
13656// String returns the string representation
13657func (s BatchStopJobRunInput) String() string {
13658	return awsutil.Prettify(s)
13659}
13660
13661// GoString returns the string representation
13662func (s BatchStopJobRunInput) GoString() string {
13663	return s.String()
13664}
13665
13666// Validate inspects the fields of the type to determine if they are valid.
13667func (s *BatchStopJobRunInput) Validate() error {
13668	invalidParams := request.ErrInvalidParams{Context: "BatchStopJobRunInput"}
13669	if s.JobName == nil {
13670		invalidParams.Add(request.NewErrParamRequired("JobName"))
13671	}
13672	if s.JobName != nil && len(*s.JobName) < 1 {
13673		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
13674	}
13675	if s.JobRunIds == nil {
13676		invalidParams.Add(request.NewErrParamRequired("JobRunIds"))
13677	}
13678	if s.JobRunIds != nil && len(s.JobRunIds) < 1 {
13679		invalidParams.Add(request.NewErrParamMinLen("JobRunIds", 1))
13680	}
13681
13682	if invalidParams.Len() > 0 {
13683		return invalidParams
13684	}
13685	return nil
13686}
13687
13688// SetJobName sets the JobName field's value.
13689func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput {
13690	s.JobName = &v
13691	return s
13692}
13693
13694// SetJobRunIds sets the JobRunIds field's value.
13695func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput {
13696	s.JobRunIds = v
13697	return s
13698}
13699
13700type BatchStopJobRunOutput struct {
13701	_ struct{} `type:"structure"`
13702
13703	// A list of the errors that were encountered in trying to stop JobRuns, including
13704	// the JobRunId for which each error was encountered and details about the error.
13705	Errors []*BatchStopJobRunError `type:"list"`
13706
13707	// A list of the JobRuns that were successfully submitted for stopping.
13708	SuccessfulSubmissions []*BatchStopJobRunSuccessfulSubmission `type:"list"`
13709}
13710
13711// String returns the string representation
13712func (s BatchStopJobRunOutput) String() string {
13713	return awsutil.Prettify(s)
13714}
13715
13716// GoString returns the string representation
13717func (s BatchStopJobRunOutput) GoString() string {
13718	return s.String()
13719}
13720
13721// SetErrors sets the Errors field's value.
13722func (s *BatchStopJobRunOutput) SetErrors(v []*BatchStopJobRunError) *BatchStopJobRunOutput {
13723	s.Errors = v
13724	return s
13725}
13726
13727// SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value.
13728func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput {
13729	s.SuccessfulSubmissions = v
13730	return s
13731}
13732
13733// Records a successful request to stop a specified JobRun.
13734type BatchStopJobRunSuccessfulSubmission struct {
13735	_ struct{} `type:"structure"`
13736
13737	// The name of the job definition used in the job run that was stopped.
13738	JobName *string `min:"1" type:"string"`
13739
13740	// The JobRunId of the job run that was stopped.
13741	JobRunId *string `min:"1" type:"string"`
13742}
13743
13744// String returns the string representation
13745func (s BatchStopJobRunSuccessfulSubmission) String() string {
13746	return awsutil.Prettify(s)
13747}
13748
13749// GoString returns the string representation
13750func (s BatchStopJobRunSuccessfulSubmission) GoString() string {
13751	return s.String()
13752}
13753
13754// SetJobName sets the JobName field's value.
13755func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission {
13756	s.JobName = &v
13757	return s
13758}
13759
13760// SetJobRunId sets the JobRunId field's value.
13761func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission {
13762	s.JobRunId = &v
13763	return s
13764}
13765
13766type CancelMLTaskRunInput struct {
13767	_ struct{} `type:"structure"`
13768
13769	// A unique identifier for the task run.
13770	//
13771	// TaskRunId is a required field
13772	TaskRunId *string `min:"1" type:"string" required:"true"`
13773
13774	// The unique identifier of the machine learning transform.
13775	//
13776	// TransformId is a required field
13777	TransformId *string `min:"1" type:"string" required:"true"`
13778}
13779
13780// String returns the string representation
13781func (s CancelMLTaskRunInput) String() string {
13782	return awsutil.Prettify(s)
13783}
13784
13785// GoString returns the string representation
13786func (s CancelMLTaskRunInput) GoString() string {
13787	return s.String()
13788}
13789
13790// Validate inspects the fields of the type to determine if they are valid.
13791func (s *CancelMLTaskRunInput) Validate() error {
13792	invalidParams := request.ErrInvalidParams{Context: "CancelMLTaskRunInput"}
13793	if s.TaskRunId == nil {
13794		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
13795	}
13796	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
13797		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
13798	}
13799	if s.TransformId == nil {
13800		invalidParams.Add(request.NewErrParamRequired("TransformId"))
13801	}
13802	if s.TransformId != nil && len(*s.TransformId) < 1 {
13803		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
13804	}
13805
13806	if invalidParams.Len() > 0 {
13807		return invalidParams
13808	}
13809	return nil
13810}
13811
13812// SetTaskRunId sets the TaskRunId field's value.
13813func (s *CancelMLTaskRunInput) SetTaskRunId(v string) *CancelMLTaskRunInput {
13814	s.TaskRunId = &v
13815	return s
13816}
13817
13818// SetTransformId sets the TransformId field's value.
13819func (s *CancelMLTaskRunInput) SetTransformId(v string) *CancelMLTaskRunInput {
13820	s.TransformId = &v
13821	return s
13822}
13823
13824type CancelMLTaskRunOutput struct {
13825	_ struct{} `type:"structure"`
13826
13827	// The status for this run.
13828	Status *string `type:"string" enum:"TaskStatusType"`
13829
13830	// The unique identifier for the task run.
13831	TaskRunId *string `min:"1" type:"string"`
13832
13833	// The unique identifier of the machine learning transform.
13834	TransformId *string `min:"1" type:"string"`
13835}
13836
13837// String returns the string representation
13838func (s CancelMLTaskRunOutput) String() string {
13839	return awsutil.Prettify(s)
13840}
13841
13842// GoString returns the string representation
13843func (s CancelMLTaskRunOutput) GoString() string {
13844	return s.String()
13845}
13846
13847// SetStatus sets the Status field's value.
13848func (s *CancelMLTaskRunOutput) SetStatus(v string) *CancelMLTaskRunOutput {
13849	s.Status = &v
13850	return s
13851}
13852
13853// SetTaskRunId sets the TaskRunId field's value.
13854func (s *CancelMLTaskRunOutput) SetTaskRunId(v string) *CancelMLTaskRunOutput {
13855	s.TaskRunId = &v
13856	return s
13857}
13858
13859// SetTransformId sets the TransformId field's value.
13860func (s *CancelMLTaskRunOutput) SetTransformId(v string) *CancelMLTaskRunOutput {
13861	s.TransformId = &v
13862	return s
13863}
13864
13865// Specifies a table definition in the AWS Glue Data Catalog.
13866type CatalogEntry struct {
13867	_ struct{} `type:"structure"`
13868
13869	// The database in which the table metadata resides.
13870	//
13871	// DatabaseName is a required field
13872	DatabaseName *string `min:"1" type:"string" required:"true"`
13873
13874	// The name of the table in question.
13875	//
13876	// TableName is a required field
13877	TableName *string `min:"1" type:"string" required:"true"`
13878}
13879
13880// String returns the string representation
13881func (s CatalogEntry) String() string {
13882	return awsutil.Prettify(s)
13883}
13884
13885// GoString returns the string representation
13886func (s CatalogEntry) GoString() string {
13887	return s.String()
13888}
13889
13890// Validate inspects the fields of the type to determine if they are valid.
13891func (s *CatalogEntry) Validate() error {
13892	invalidParams := request.ErrInvalidParams{Context: "CatalogEntry"}
13893	if s.DatabaseName == nil {
13894		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13895	}
13896	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13897		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13898	}
13899	if s.TableName == nil {
13900		invalidParams.Add(request.NewErrParamRequired("TableName"))
13901	}
13902	if s.TableName != nil && len(*s.TableName) < 1 {
13903		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
13904	}
13905
13906	if invalidParams.Len() > 0 {
13907		return invalidParams
13908	}
13909	return nil
13910}
13911
13912// SetDatabaseName sets the DatabaseName field's value.
13913func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry {
13914	s.DatabaseName = &v
13915	return s
13916}
13917
13918// SetTableName sets the TableName field's value.
13919func (s *CatalogEntry) SetTableName(v string) *CatalogEntry {
13920	s.TableName = &v
13921	return s
13922}
13923
13924// A structure containing migration status information.
13925type CatalogImportStatus struct {
13926	_ struct{} `type:"structure"`
13927
13928	// True if the migration has completed, or False otherwise.
13929	ImportCompleted *bool `type:"boolean"`
13930
13931	// The time that the migration was started.
13932	ImportTime *time.Time `type:"timestamp"`
13933
13934	// The name of the person who initiated the migration.
13935	ImportedBy *string `min:"1" type:"string"`
13936}
13937
13938// String returns the string representation
13939func (s CatalogImportStatus) String() string {
13940	return awsutil.Prettify(s)
13941}
13942
13943// GoString returns the string representation
13944func (s CatalogImportStatus) GoString() string {
13945	return s.String()
13946}
13947
13948// SetImportCompleted sets the ImportCompleted field's value.
13949func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus {
13950	s.ImportCompleted = &v
13951	return s
13952}
13953
13954// SetImportTime sets the ImportTime field's value.
13955func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus {
13956	s.ImportTime = &v
13957	return s
13958}
13959
13960// SetImportedBy sets the ImportedBy field's value.
13961func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus {
13962	s.ImportedBy = &v
13963	return s
13964}
13965
13966// Specifies an AWS Glue Data Catalog target.
13967type CatalogTarget struct {
13968	_ struct{} `type:"structure"`
13969
13970	// The name of the database to be synchronized.
13971	//
13972	// DatabaseName is a required field
13973	DatabaseName *string `min:"1" type:"string" required:"true"`
13974
13975	// A list of the tables to be synchronized.
13976	//
13977	// Tables is a required field
13978	Tables []*string `min:"1" type:"list" required:"true"`
13979}
13980
13981// String returns the string representation
13982func (s CatalogTarget) String() string {
13983	return awsutil.Prettify(s)
13984}
13985
13986// GoString returns the string representation
13987func (s CatalogTarget) GoString() string {
13988	return s.String()
13989}
13990
13991// Validate inspects the fields of the type to determine if they are valid.
13992func (s *CatalogTarget) Validate() error {
13993	invalidParams := request.ErrInvalidParams{Context: "CatalogTarget"}
13994	if s.DatabaseName == nil {
13995		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
13996	}
13997	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
13998		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
13999	}
14000	if s.Tables == nil {
14001		invalidParams.Add(request.NewErrParamRequired("Tables"))
14002	}
14003	if s.Tables != nil && len(s.Tables) < 1 {
14004		invalidParams.Add(request.NewErrParamMinLen("Tables", 1))
14005	}
14006
14007	if invalidParams.Len() > 0 {
14008		return invalidParams
14009	}
14010	return nil
14011}
14012
14013// SetDatabaseName sets the DatabaseName field's value.
14014func (s *CatalogTarget) SetDatabaseName(v string) *CatalogTarget {
14015	s.DatabaseName = &v
14016	return s
14017}
14018
14019// SetTables sets the Tables field's value.
14020func (s *CatalogTarget) SetTables(v []*string) *CatalogTarget {
14021	s.Tables = v
14022	return s
14023}
14024
14025// Classifiers are triggered during a crawl task. A classifier checks whether
14026// a given file is in a format it can handle. If it is, the classifier creates
14027// a schema in the form of a StructType object that matches that data format.
14028//
14029// You can use the standard classifiers that AWS Glue provides, or you can write
14030// your own classifiers to best categorize your data sources and specify the
14031// appropriate schemas to use for them. A classifier can be a grok classifier,
14032// an XML classifier, a JSON classifier, or a custom CSV classifier, as specified
14033// in one of the fields in the Classifier object.
14034type Classifier struct {
14035	_ struct{} `type:"structure"`
14036
14037	// A classifier for comma-separated values (CSV).
14038	CsvClassifier *CsvClassifier `type:"structure"`
14039
14040	// A classifier that uses grok.
14041	GrokClassifier *GrokClassifier `type:"structure"`
14042
14043	// A classifier for JSON content.
14044	JsonClassifier *JsonClassifier `type:"structure"`
14045
14046	// A classifier for XML content.
14047	XMLClassifier *XMLClassifier `type:"structure"`
14048}
14049
14050// String returns the string representation
14051func (s Classifier) String() string {
14052	return awsutil.Prettify(s)
14053}
14054
14055// GoString returns the string representation
14056func (s Classifier) GoString() string {
14057	return s.String()
14058}
14059
14060// SetCsvClassifier sets the CsvClassifier field's value.
14061func (s *Classifier) SetCsvClassifier(v *CsvClassifier) *Classifier {
14062	s.CsvClassifier = v
14063	return s
14064}
14065
14066// SetGrokClassifier sets the GrokClassifier field's value.
14067func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier {
14068	s.GrokClassifier = v
14069	return s
14070}
14071
14072// SetJsonClassifier sets the JsonClassifier field's value.
14073func (s *Classifier) SetJsonClassifier(v *JsonClassifier) *Classifier {
14074	s.JsonClassifier = v
14075	return s
14076}
14077
14078// SetXMLClassifier sets the XMLClassifier field's value.
14079func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier {
14080	s.XMLClassifier = v
14081	return s
14082}
14083
14084// Specifies how Amazon CloudWatch data should be encrypted.
14085type CloudWatchEncryption struct {
14086	_ struct{} `type:"structure"`
14087
14088	// The encryption mode to use for CloudWatch data.
14089	CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"`
14090
14091	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
14092	KmsKeyArn *string `type:"string"`
14093}
14094
14095// String returns the string representation
14096func (s CloudWatchEncryption) String() string {
14097	return awsutil.Prettify(s)
14098}
14099
14100// GoString returns the string representation
14101func (s CloudWatchEncryption) GoString() string {
14102	return s.String()
14103}
14104
14105// SetCloudWatchEncryptionMode sets the CloudWatchEncryptionMode field's value.
14106func (s *CloudWatchEncryption) SetCloudWatchEncryptionMode(v string) *CloudWatchEncryption {
14107	s.CloudWatchEncryptionMode = &v
14108	return s
14109}
14110
14111// SetKmsKeyArn sets the KmsKeyArn field's value.
14112func (s *CloudWatchEncryption) SetKmsKeyArn(v string) *CloudWatchEncryption {
14113	s.KmsKeyArn = &v
14114	return s
14115}
14116
14117// Represents a directional edge in a directed acyclic graph (DAG).
14118type CodeGenEdge struct {
14119	_ struct{} `type:"structure"`
14120
14121	// The ID of the node at which the edge starts.
14122	//
14123	// Source is a required field
14124	Source *string `min:"1" type:"string" required:"true"`
14125
14126	// The ID of the node at which the edge ends.
14127	//
14128	// Target is a required field
14129	Target *string `min:"1" type:"string" required:"true"`
14130
14131	// The target of the edge.
14132	TargetParameter *string `type:"string"`
14133}
14134
14135// String returns the string representation
14136func (s CodeGenEdge) String() string {
14137	return awsutil.Prettify(s)
14138}
14139
14140// GoString returns the string representation
14141func (s CodeGenEdge) GoString() string {
14142	return s.String()
14143}
14144
14145// Validate inspects the fields of the type to determine if they are valid.
14146func (s *CodeGenEdge) Validate() error {
14147	invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"}
14148	if s.Source == nil {
14149		invalidParams.Add(request.NewErrParamRequired("Source"))
14150	}
14151	if s.Source != nil && len(*s.Source) < 1 {
14152		invalidParams.Add(request.NewErrParamMinLen("Source", 1))
14153	}
14154	if s.Target == nil {
14155		invalidParams.Add(request.NewErrParamRequired("Target"))
14156	}
14157	if s.Target != nil && len(*s.Target) < 1 {
14158		invalidParams.Add(request.NewErrParamMinLen("Target", 1))
14159	}
14160
14161	if invalidParams.Len() > 0 {
14162		return invalidParams
14163	}
14164	return nil
14165}
14166
14167// SetSource sets the Source field's value.
14168func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge {
14169	s.Source = &v
14170	return s
14171}
14172
14173// SetTarget sets the Target field's value.
14174func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge {
14175	s.Target = &v
14176	return s
14177}
14178
14179// SetTargetParameter sets the TargetParameter field's value.
14180func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge {
14181	s.TargetParameter = &v
14182	return s
14183}
14184
14185// Represents a node in a directed acyclic graph (DAG)
14186type CodeGenNode struct {
14187	_ struct{} `type:"structure"`
14188
14189	// Properties of the node, in the form of name-value pairs.
14190	//
14191	// Args is a required field
14192	Args []*CodeGenNodeArg `type:"list" required:"true"`
14193
14194	// A node identifier that is unique within the node's graph.
14195	//
14196	// Id is a required field
14197	Id *string `min:"1" type:"string" required:"true"`
14198
14199	// The line number of the node.
14200	LineNumber *int64 `type:"integer"`
14201
14202	// The type of node that this is.
14203	//
14204	// NodeType is a required field
14205	NodeType *string `type:"string" required:"true"`
14206}
14207
14208// String returns the string representation
14209func (s CodeGenNode) String() string {
14210	return awsutil.Prettify(s)
14211}
14212
14213// GoString returns the string representation
14214func (s CodeGenNode) GoString() string {
14215	return s.String()
14216}
14217
14218// Validate inspects the fields of the type to determine if they are valid.
14219func (s *CodeGenNode) Validate() error {
14220	invalidParams := request.ErrInvalidParams{Context: "CodeGenNode"}
14221	if s.Args == nil {
14222		invalidParams.Add(request.NewErrParamRequired("Args"))
14223	}
14224	if s.Id == nil {
14225		invalidParams.Add(request.NewErrParamRequired("Id"))
14226	}
14227	if s.Id != nil && len(*s.Id) < 1 {
14228		invalidParams.Add(request.NewErrParamMinLen("Id", 1))
14229	}
14230	if s.NodeType == nil {
14231		invalidParams.Add(request.NewErrParamRequired("NodeType"))
14232	}
14233	if s.Args != nil {
14234		for i, v := range s.Args {
14235			if v == nil {
14236				continue
14237			}
14238			if err := v.Validate(); err != nil {
14239				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Args", i), err.(request.ErrInvalidParams))
14240			}
14241		}
14242	}
14243
14244	if invalidParams.Len() > 0 {
14245		return invalidParams
14246	}
14247	return nil
14248}
14249
14250// SetArgs sets the Args field's value.
14251func (s *CodeGenNode) SetArgs(v []*CodeGenNodeArg) *CodeGenNode {
14252	s.Args = v
14253	return s
14254}
14255
14256// SetId sets the Id field's value.
14257func (s *CodeGenNode) SetId(v string) *CodeGenNode {
14258	s.Id = &v
14259	return s
14260}
14261
14262// SetLineNumber sets the LineNumber field's value.
14263func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode {
14264	s.LineNumber = &v
14265	return s
14266}
14267
14268// SetNodeType sets the NodeType field's value.
14269func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode {
14270	s.NodeType = &v
14271	return s
14272}
14273
14274// An argument or property of a node.
14275type CodeGenNodeArg struct {
14276	_ struct{} `type:"structure"`
14277
14278	// The name of the argument or property.
14279	//
14280	// Name is a required field
14281	Name *string `type:"string" required:"true"`
14282
14283	// True if the value is used as a parameter.
14284	Param *bool `type:"boolean"`
14285
14286	// The value of the argument or property.
14287	//
14288	// Value is a required field
14289	Value *string `type:"string" required:"true"`
14290}
14291
14292// String returns the string representation
14293func (s CodeGenNodeArg) String() string {
14294	return awsutil.Prettify(s)
14295}
14296
14297// GoString returns the string representation
14298func (s CodeGenNodeArg) GoString() string {
14299	return s.String()
14300}
14301
14302// Validate inspects the fields of the type to determine if they are valid.
14303func (s *CodeGenNodeArg) Validate() error {
14304	invalidParams := request.ErrInvalidParams{Context: "CodeGenNodeArg"}
14305	if s.Name == nil {
14306		invalidParams.Add(request.NewErrParamRequired("Name"))
14307	}
14308	if s.Value == nil {
14309		invalidParams.Add(request.NewErrParamRequired("Value"))
14310	}
14311
14312	if invalidParams.Len() > 0 {
14313		return invalidParams
14314	}
14315	return nil
14316}
14317
14318// SetName sets the Name field's value.
14319func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg {
14320	s.Name = &v
14321	return s
14322}
14323
14324// SetParam sets the Param field's value.
14325func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg {
14326	s.Param = &v
14327	return s
14328}
14329
14330// SetValue sets the Value field's value.
14331func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg {
14332	s.Value = &v
14333	return s
14334}
14335
14336// A column in a Table.
14337type Column struct {
14338	_ struct{} `type:"structure"`
14339
14340	// A free-form text comment.
14341	Comment *string `type:"string"`
14342
14343	// The name of the Column.
14344	//
14345	// Name is a required field
14346	Name *string `min:"1" type:"string" required:"true"`
14347
14348	// These key-value pairs define properties associated with the column.
14349	Parameters map[string]*string `type:"map"`
14350
14351	// The data type of the Column.
14352	Type *string `type:"string"`
14353}
14354
14355// String returns the string representation
14356func (s Column) String() string {
14357	return awsutil.Prettify(s)
14358}
14359
14360// GoString returns the string representation
14361func (s Column) GoString() string {
14362	return s.String()
14363}
14364
14365// Validate inspects the fields of the type to determine if they are valid.
14366func (s *Column) Validate() error {
14367	invalidParams := request.ErrInvalidParams{Context: "Column"}
14368	if s.Name == nil {
14369		invalidParams.Add(request.NewErrParamRequired("Name"))
14370	}
14371	if s.Name != nil && len(*s.Name) < 1 {
14372		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14373	}
14374
14375	if invalidParams.Len() > 0 {
14376		return invalidParams
14377	}
14378	return nil
14379}
14380
14381// SetComment sets the Comment field's value.
14382func (s *Column) SetComment(v string) *Column {
14383	s.Comment = &v
14384	return s
14385}
14386
14387// SetName sets the Name field's value.
14388func (s *Column) SetName(v string) *Column {
14389	s.Name = &v
14390	return s
14391}
14392
14393// SetParameters sets the Parameters field's value.
14394func (s *Column) SetParameters(v map[string]*string) *Column {
14395	s.Parameters = v
14396	return s
14397}
14398
14399// SetType sets the Type field's value.
14400func (s *Column) SetType(v string) *Column {
14401	s.Type = &v
14402	return s
14403}
14404
14405// Defines a condition under which a trigger fires.
14406type Condition struct {
14407	_ struct{} `type:"structure"`
14408
14409	// The state of the crawler to which this condition applies.
14410	CrawlState *string `type:"string" enum:"CrawlState"`
14411
14412	// The name of the crawler to which this condition applies.
14413	CrawlerName *string `min:"1" type:"string"`
14414
14415	// The name of the job whose JobRuns this condition applies to, and on which
14416	// this trigger waits.
14417	JobName *string `min:"1" type:"string"`
14418
14419	// A logical operator.
14420	LogicalOperator *string `type:"string" enum:"LogicalOperator"`
14421
14422	// The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
14423	// TIMEOUT, and FAILED.
14424	State *string `type:"string" enum:"JobRunState"`
14425}
14426
14427// String returns the string representation
14428func (s Condition) String() string {
14429	return awsutil.Prettify(s)
14430}
14431
14432// GoString returns the string representation
14433func (s Condition) GoString() string {
14434	return s.String()
14435}
14436
14437// Validate inspects the fields of the type to determine if they are valid.
14438func (s *Condition) Validate() error {
14439	invalidParams := request.ErrInvalidParams{Context: "Condition"}
14440	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
14441		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
14442	}
14443	if s.JobName != nil && len(*s.JobName) < 1 {
14444		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
14445	}
14446
14447	if invalidParams.Len() > 0 {
14448		return invalidParams
14449	}
14450	return nil
14451}
14452
14453// SetCrawlState sets the CrawlState field's value.
14454func (s *Condition) SetCrawlState(v string) *Condition {
14455	s.CrawlState = &v
14456	return s
14457}
14458
14459// SetCrawlerName sets the CrawlerName field's value.
14460func (s *Condition) SetCrawlerName(v string) *Condition {
14461	s.CrawlerName = &v
14462	return s
14463}
14464
14465// SetJobName sets the JobName field's value.
14466func (s *Condition) SetJobName(v string) *Condition {
14467	s.JobName = &v
14468	return s
14469}
14470
14471// SetLogicalOperator sets the LogicalOperator field's value.
14472func (s *Condition) SetLogicalOperator(v string) *Condition {
14473	s.LogicalOperator = &v
14474	return s
14475}
14476
14477// SetState sets the State field's value.
14478func (s *Condition) SetState(v string) *Condition {
14479	s.State = &v
14480	return s
14481}
14482
14483// The confusion matrix shows you what your transform is predicting accurately
14484// and what types of errors it is making.
14485//
14486// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
14487// in Wikipedia.
14488type ConfusionMatrix struct {
14489	_ struct{} `type:"structure"`
14490
14491	// The number of matches in the data that the transform didn't find, in the
14492	// confusion matrix for your transform.
14493	NumFalseNegatives *int64 `type:"long"`
14494
14495	// The number of nonmatches in the data that the transform incorrectly classified
14496	// as a match, in the confusion matrix for your transform.
14497	NumFalsePositives *int64 `type:"long"`
14498
14499	// The number of nonmatches in the data that the transform correctly rejected,
14500	// in the confusion matrix for your transform.
14501	NumTrueNegatives *int64 `type:"long"`
14502
14503	// The number of matches in the data that the transform correctly found, in
14504	// the confusion matrix for your transform.
14505	NumTruePositives *int64 `type:"long"`
14506}
14507
14508// String returns the string representation
14509func (s ConfusionMatrix) String() string {
14510	return awsutil.Prettify(s)
14511}
14512
14513// GoString returns the string representation
14514func (s ConfusionMatrix) GoString() string {
14515	return s.String()
14516}
14517
14518// SetNumFalseNegatives sets the NumFalseNegatives field's value.
14519func (s *ConfusionMatrix) SetNumFalseNegatives(v int64) *ConfusionMatrix {
14520	s.NumFalseNegatives = &v
14521	return s
14522}
14523
14524// SetNumFalsePositives sets the NumFalsePositives field's value.
14525func (s *ConfusionMatrix) SetNumFalsePositives(v int64) *ConfusionMatrix {
14526	s.NumFalsePositives = &v
14527	return s
14528}
14529
14530// SetNumTrueNegatives sets the NumTrueNegatives field's value.
14531func (s *ConfusionMatrix) SetNumTrueNegatives(v int64) *ConfusionMatrix {
14532	s.NumTrueNegatives = &v
14533	return s
14534}
14535
14536// SetNumTruePositives sets the NumTruePositives field's value.
14537func (s *ConfusionMatrix) SetNumTruePositives(v int64) *ConfusionMatrix {
14538	s.NumTruePositives = &v
14539	return s
14540}
14541
14542// Defines a connection to a data source.
14543type Connection struct {
14544	_ struct{} `type:"structure"`
14545
14546	// These key-value pairs define parameters for the connection:
14547	//
14548	//    * HOST - The host URI: either the fully qualified domain name (FQDN) or
14549	//    the IPv4 address of the database host.
14550	//
14551	//    * PORT - The port number, between 1024 and 65535, of the port on which
14552	//    the database host is listening for database connections.
14553	//
14554	//    * USER_NAME - The name under which to log in to the database. The value
14555	//    string for USER_NAME is "USERNAME".
14556	//
14557	//    * PASSWORD - A password, if one is used, for the user name.
14558	//
14559	//    * ENCRYPTED_PASSWORD - When you enable connection password protection
14560	//    by setting ConnectionPasswordEncryption in the Data Catalog encryption
14561	//    settings, this field stores the encrypted password.
14562	//
14563	//    * JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3)
14564	//    path of the JAR file that contains the JDBC driver to use.
14565	//
14566	//    * JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.
14567	//
14568	//    * JDBC_ENGINE - The name of the JDBC engine to use.
14569	//
14570	//    * JDBC_ENGINE_VERSION - The version of the JDBC engine to use.
14571	//
14572	//    * CONFIG_FILES - (Reserved for future use.)
14573	//
14574	//    * INSTANCE_ID - The instance ID to use.
14575	//
14576	//    * JDBC_CONNECTION_URL - The URL for the JDBC connection.
14577	//
14578	//    * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether
14579	//    Secure Sockets Layer (SSL) with hostname matching is enforced for the
14580	//    JDBC connection on the client. The default is false.
14581	//
14582	//    * CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root
14583	//    certificate. AWS Glue uses this root certificate to validate the customer’s
14584	//    certificate when connecting to the customer database. AWS Glue only handles
14585	//    X.509 certificates. The certificate provided must be DER-encoded and supplied
14586	//    in Base64 encoding PEM format.
14587	//
14588	//    * SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. AWS Glue
14589	//    validates the Signature algorithm and Subject Public Key Algorithm for
14590	//    the customer certificate. The only permitted algorithms for the Signature
14591	//    algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject
14592	//    Public Key Algorithm, the key length must be at least 2048. You can set
14593	//    the value of this property to true to skip AWS Glue’s validation of
14594	//    the customer certificate.
14595	//
14596	//    * CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
14597	//    used for domain match or distinguished name match to prevent a man-in-the-middle
14598	//    attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in
14599	//    Microsoft SQL Server, this is used as the hostNameInCertificate.
14600	ConnectionProperties map[string]*string `type:"map"`
14601
14602	// The type of the connection. Currently, only JDBC is supported; SFTP is not
14603	// supported.
14604	ConnectionType *string `type:"string" enum:"ConnectionType"`
14605
14606	// The time that this connection definition was created.
14607	CreationTime *time.Time `type:"timestamp"`
14608
14609	// The description of the connection.
14610	Description *string `type:"string"`
14611
14612	// The user, group, or role that last updated this connection definition.
14613	LastUpdatedBy *string `min:"1" type:"string"`
14614
14615	// The last time that this connection definition was updated.
14616	LastUpdatedTime *time.Time `type:"timestamp"`
14617
14618	// A list of criteria that can be used in selecting this connection.
14619	MatchCriteria []*string `type:"list"`
14620
14621	// The name of the connection definition.
14622	Name *string `min:"1" type:"string"`
14623
14624	// A map of physical connection requirements, such as virtual private cloud
14625	// (VPC) and SecurityGroup, that are needed to make this connection successfully.
14626	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
14627}
14628
14629// String returns the string representation
14630func (s Connection) String() string {
14631	return awsutil.Prettify(s)
14632}
14633
14634// GoString returns the string representation
14635func (s Connection) GoString() string {
14636	return s.String()
14637}
14638
14639// SetConnectionProperties sets the ConnectionProperties field's value.
14640func (s *Connection) SetConnectionProperties(v map[string]*string) *Connection {
14641	s.ConnectionProperties = v
14642	return s
14643}
14644
14645// SetConnectionType sets the ConnectionType field's value.
14646func (s *Connection) SetConnectionType(v string) *Connection {
14647	s.ConnectionType = &v
14648	return s
14649}
14650
14651// SetCreationTime sets the CreationTime field's value.
14652func (s *Connection) SetCreationTime(v time.Time) *Connection {
14653	s.CreationTime = &v
14654	return s
14655}
14656
14657// SetDescription sets the Description field's value.
14658func (s *Connection) SetDescription(v string) *Connection {
14659	s.Description = &v
14660	return s
14661}
14662
14663// SetLastUpdatedBy sets the LastUpdatedBy field's value.
14664func (s *Connection) SetLastUpdatedBy(v string) *Connection {
14665	s.LastUpdatedBy = &v
14666	return s
14667}
14668
14669// SetLastUpdatedTime sets the LastUpdatedTime field's value.
14670func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection {
14671	s.LastUpdatedTime = &v
14672	return s
14673}
14674
14675// SetMatchCriteria sets the MatchCriteria field's value.
14676func (s *Connection) SetMatchCriteria(v []*string) *Connection {
14677	s.MatchCriteria = v
14678	return s
14679}
14680
14681// SetName sets the Name field's value.
14682func (s *Connection) SetName(v string) *Connection {
14683	s.Name = &v
14684	return s
14685}
14686
14687// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
14688func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection {
14689	s.PhysicalConnectionRequirements = v
14690	return s
14691}
14692
14693// A structure that is used to specify a connection to create or update.
14694type ConnectionInput struct {
14695	_ struct{} `type:"structure"`
14696
14697	// These key-value pairs define parameters for the connection.
14698	//
14699	// ConnectionProperties is a required field
14700	ConnectionProperties map[string]*string `type:"map" required:"true"`
14701
14702	// The type of the connection. Currently, only JDBC is supported; SFTP is not
14703	// supported.
14704	//
14705	// ConnectionType is a required field
14706	ConnectionType *string `type:"string" required:"true" enum:"ConnectionType"`
14707
14708	// The description of the connection.
14709	Description *string `type:"string"`
14710
14711	// A list of criteria that can be used in selecting this connection.
14712	MatchCriteria []*string `type:"list"`
14713
14714	// The name of the connection.
14715	//
14716	// Name is a required field
14717	Name *string `min:"1" type:"string" required:"true"`
14718
14719	// A map of physical connection requirements, such as virtual private cloud
14720	// (VPC) and SecurityGroup, that are needed to successfully make this connection.
14721	PhysicalConnectionRequirements *PhysicalConnectionRequirements `type:"structure"`
14722}
14723
14724// String returns the string representation
14725func (s ConnectionInput) String() string {
14726	return awsutil.Prettify(s)
14727}
14728
14729// GoString returns the string representation
14730func (s ConnectionInput) GoString() string {
14731	return s.String()
14732}
14733
14734// Validate inspects the fields of the type to determine if they are valid.
14735func (s *ConnectionInput) Validate() error {
14736	invalidParams := request.ErrInvalidParams{Context: "ConnectionInput"}
14737	if s.ConnectionProperties == nil {
14738		invalidParams.Add(request.NewErrParamRequired("ConnectionProperties"))
14739	}
14740	if s.ConnectionType == nil {
14741		invalidParams.Add(request.NewErrParamRequired("ConnectionType"))
14742	}
14743	if s.Name == nil {
14744		invalidParams.Add(request.NewErrParamRequired("Name"))
14745	}
14746	if s.Name != nil && len(*s.Name) < 1 {
14747		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14748	}
14749	if s.PhysicalConnectionRequirements != nil {
14750		if err := s.PhysicalConnectionRequirements.Validate(); err != nil {
14751			invalidParams.AddNested("PhysicalConnectionRequirements", err.(request.ErrInvalidParams))
14752		}
14753	}
14754
14755	if invalidParams.Len() > 0 {
14756		return invalidParams
14757	}
14758	return nil
14759}
14760
14761// SetConnectionProperties sets the ConnectionProperties field's value.
14762func (s *ConnectionInput) SetConnectionProperties(v map[string]*string) *ConnectionInput {
14763	s.ConnectionProperties = v
14764	return s
14765}
14766
14767// SetConnectionType sets the ConnectionType field's value.
14768func (s *ConnectionInput) SetConnectionType(v string) *ConnectionInput {
14769	s.ConnectionType = &v
14770	return s
14771}
14772
14773// SetDescription sets the Description field's value.
14774func (s *ConnectionInput) SetDescription(v string) *ConnectionInput {
14775	s.Description = &v
14776	return s
14777}
14778
14779// SetMatchCriteria sets the MatchCriteria field's value.
14780func (s *ConnectionInput) SetMatchCriteria(v []*string) *ConnectionInput {
14781	s.MatchCriteria = v
14782	return s
14783}
14784
14785// SetName sets the Name field's value.
14786func (s *ConnectionInput) SetName(v string) *ConnectionInput {
14787	s.Name = &v
14788	return s
14789}
14790
14791// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value.
14792func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput {
14793	s.PhysicalConnectionRequirements = v
14794	return s
14795}
14796
14797// The data structure used by the Data Catalog to encrypt the password as part
14798// of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD
14799// field in the connection properties. You can enable catalog encryption or
14800// only password encryption.
14801//
14802// When a CreationConnection request arrives containing a password, the Data
14803// Catalog first encrypts the password using your AWS KMS key. It then encrypts
14804// the whole connection object again if catalog encryption is also enabled.
14805//
14806// This encryption requires that you set AWS KMS key permissions to enable or
14807// restrict access on the password key according to your security requirements.
14808// For example, you might want only administrators to have decrypt permission
14809// on the password key.
14810type ConnectionPasswordEncryption struct {
14811	_ struct{} `type:"structure"`
14812
14813	// An AWS KMS key that is used to encrypt the connection password.
14814	//
14815	// If connection password protection is enabled, the caller of CreateConnection
14816	// and UpdateConnection needs at least kms:Encrypt permission on the specified
14817	// AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
14818	//
14819	// You can set the decrypt permission to enable or restrict access on the password
14820	// key according to your security requirements.
14821	AwsKmsKeyId *string `min:"1" type:"string"`
14822
14823	// When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords
14824	// remain encrypted in the responses of GetConnection and GetConnections. This
14825	// encryption takes effect independently from catalog encryption.
14826	//
14827	// ReturnConnectionPasswordEncrypted is a required field
14828	ReturnConnectionPasswordEncrypted *bool `type:"boolean" required:"true"`
14829}
14830
14831// String returns the string representation
14832func (s ConnectionPasswordEncryption) String() string {
14833	return awsutil.Prettify(s)
14834}
14835
14836// GoString returns the string representation
14837func (s ConnectionPasswordEncryption) GoString() string {
14838	return s.String()
14839}
14840
14841// Validate inspects the fields of the type to determine if they are valid.
14842func (s *ConnectionPasswordEncryption) Validate() error {
14843	invalidParams := request.ErrInvalidParams{Context: "ConnectionPasswordEncryption"}
14844	if s.AwsKmsKeyId != nil && len(*s.AwsKmsKeyId) < 1 {
14845		invalidParams.Add(request.NewErrParamMinLen("AwsKmsKeyId", 1))
14846	}
14847	if s.ReturnConnectionPasswordEncrypted == nil {
14848		invalidParams.Add(request.NewErrParamRequired("ReturnConnectionPasswordEncrypted"))
14849	}
14850
14851	if invalidParams.Len() > 0 {
14852		return invalidParams
14853	}
14854	return nil
14855}
14856
14857// SetAwsKmsKeyId sets the AwsKmsKeyId field's value.
14858func (s *ConnectionPasswordEncryption) SetAwsKmsKeyId(v string) *ConnectionPasswordEncryption {
14859	s.AwsKmsKeyId = &v
14860	return s
14861}
14862
14863// SetReturnConnectionPasswordEncrypted sets the ReturnConnectionPasswordEncrypted field's value.
14864func (s *ConnectionPasswordEncryption) SetReturnConnectionPasswordEncrypted(v bool) *ConnectionPasswordEncryption {
14865	s.ReturnConnectionPasswordEncrypted = &v
14866	return s
14867}
14868
14869// Specifies the connections used by a job.
14870type ConnectionsList struct {
14871	_ struct{} `type:"structure"`
14872
14873	// A list of connections used by the job.
14874	Connections []*string `type:"list"`
14875}
14876
14877// String returns the string representation
14878func (s ConnectionsList) String() string {
14879	return awsutil.Prettify(s)
14880}
14881
14882// GoString returns the string representation
14883func (s ConnectionsList) GoString() string {
14884	return s.String()
14885}
14886
14887// SetConnections sets the Connections field's value.
14888func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList {
14889	s.Connections = v
14890	return s
14891}
14892
14893// The details of a crawl in the workflow.
14894type Crawl struct {
14895	_ struct{} `type:"structure"`
14896
14897	// The date and time on which the crawl completed.
14898	CompletedOn *time.Time `type:"timestamp"`
14899
14900	// The error message associated with the crawl.
14901	ErrorMessage *string `type:"string"`
14902
14903	// The log group associated with the crawl.
14904	LogGroup *string `min:"1" type:"string"`
14905
14906	// The log stream associated with the crawl.
14907	LogStream *string `min:"1" type:"string"`
14908
14909	// The date and time on which the crawl started.
14910	StartedOn *time.Time `type:"timestamp"`
14911
14912	// The state of the crawler.
14913	State *string `type:"string" enum:"CrawlState"`
14914}
14915
14916// String returns the string representation
14917func (s Crawl) String() string {
14918	return awsutil.Prettify(s)
14919}
14920
14921// GoString returns the string representation
14922func (s Crawl) GoString() string {
14923	return s.String()
14924}
14925
14926// SetCompletedOn sets the CompletedOn field's value.
14927func (s *Crawl) SetCompletedOn(v time.Time) *Crawl {
14928	s.CompletedOn = &v
14929	return s
14930}
14931
14932// SetErrorMessage sets the ErrorMessage field's value.
14933func (s *Crawl) SetErrorMessage(v string) *Crawl {
14934	s.ErrorMessage = &v
14935	return s
14936}
14937
14938// SetLogGroup sets the LogGroup field's value.
14939func (s *Crawl) SetLogGroup(v string) *Crawl {
14940	s.LogGroup = &v
14941	return s
14942}
14943
14944// SetLogStream sets the LogStream field's value.
14945func (s *Crawl) SetLogStream(v string) *Crawl {
14946	s.LogStream = &v
14947	return s
14948}
14949
14950// SetStartedOn sets the StartedOn field's value.
14951func (s *Crawl) SetStartedOn(v time.Time) *Crawl {
14952	s.StartedOn = &v
14953	return s
14954}
14955
14956// SetState sets the State field's value.
14957func (s *Crawl) SetState(v string) *Crawl {
14958	s.State = &v
14959	return s
14960}
14961
14962// Specifies a crawler program that examines a data source and uses classifiers
14963// to try to determine its schema. If successful, the crawler records metadata
14964// concerning the data source in the AWS Glue Data Catalog.
14965type Crawler struct {
14966	_ struct{} `type:"structure"`
14967
14968	// A list of UTF-8 strings that specify the custom classifiers that are associated
14969	// with the crawler.
14970	Classifiers []*string `type:"list"`
14971
14972	// Crawler configuration information. This versioned JSON string allows users
14973	// to specify aspects of a crawler's behavior. For more information, see Configuring
14974	// a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
14975	Configuration *string `type:"string"`
14976
14977	// If the crawler is running, contains the total time elapsed since the last
14978	// crawl began.
14979	CrawlElapsedTime *int64 `type:"long"`
14980
14981	// The name of the SecurityConfiguration structure to be used by this crawler.
14982	CrawlerSecurityConfiguration *string `type:"string"`
14983
14984	// The time that the crawler was created.
14985	CreationTime *time.Time `type:"timestamp"`
14986
14987	// The name of the database in which the crawler's output is stored.
14988	DatabaseName *string `type:"string"`
14989
14990	// A description of the crawler.
14991	Description *string `type:"string"`
14992
14993	// The status of the last crawl, and potentially error information if an error
14994	// occurred.
14995	LastCrawl *LastCrawlInfo `type:"structure"`
14996
14997	// The time that the crawler was last updated.
14998	LastUpdated *time.Time `type:"timestamp"`
14999
15000	// The name of the crawler.
15001	Name *string `min:"1" type:"string"`
15002
15003	// The Amazon Resource Name (ARN) of an IAM role that's used to access customer
15004	// resources, such as Amazon Simple Storage Service (Amazon S3) data.
15005	Role *string `type:"string"`
15006
15007	// For scheduled crawlers, the schedule when the crawler runs.
15008	Schedule *Schedule `type:"structure"`
15009
15010	// The policy that specifies update and delete behaviors for the crawler.
15011	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
15012
15013	// Indicates whether the crawler is running, or whether a run is pending.
15014	State *string `type:"string" enum:"CrawlerState"`
15015
15016	// The prefix added to the names of tables that are created.
15017	TablePrefix *string `type:"string"`
15018
15019	// A collection of targets to crawl.
15020	Targets *CrawlerTargets `type:"structure"`
15021
15022	// The version of the crawler.
15023	Version *int64 `type:"long"`
15024}
15025
15026// String returns the string representation
15027func (s Crawler) String() string {
15028	return awsutil.Prettify(s)
15029}
15030
15031// GoString returns the string representation
15032func (s Crawler) GoString() string {
15033	return s.String()
15034}
15035
15036// SetClassifiers sets the Classifiers field's value.
15037func (s *Crawler) SetClassifiers(v []*string) *Crawler {
15038	s.Classifiers = v
15039	return s
15040}
15041
15042// SetConfiguration sets the Configuration field's value.
15043func (s *Crawler) SetConfiguration(v string) *Crawler {
15044	s.Configuration = &v
15045	return s
15046}
15047
15048// SetCrawlElapsedTime sets the CrawlElapsedTime field's value.
15049func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler {
15050	s.CrawlElapsedTime = &v
15051	return s
15052}
15053
15054// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
15055func (s *Crawler) SetCrawlerSecurityConfiguration(v string) *Crawler {
15056	s.CrawlerSecurityConfiguration = &v
15057	return s
15058}
15059
15060// SetCreationTime sets the CreationTime field's value.
15061func (s *Crawler) SetCreationTime(v time.Time) *Crawler {
15062	s.CreationTime = &v
15063	return s
15064}
15065
15066// SetDatabaseName sets the DatabaseName field's value.
15067func (s *Crawler) SetDatabaseName(v string) *Crawler {
15068	s.DatabaseName = &v
15069	return s
15070}
15071
15072// SetDescription sets the Description field's value.
15073func (s *Crawler) SetDescription(v string) *Crawler {
15074	s.Description = &v
15075	return s
15076}
15077
15078// SetLastCrawl sets the LastCrawl field's value.
15079func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler {
15080	s.LastCrawl = v
15081	return s
15082}
15083
15084// SetLastUpdated sets the LastUpdated field's value.
15085func (s *Crawler) SetLastUpdated(v time.Time) *Crawler {
15086	s.LastUpdated = &v
15087	return s
15088}
15089
15090// SetName sets the Name field's value.
15091func (s *Crawler) SetName(v string) *Crawler {
15092	s.Name = &v
15093	return s
15094}
15095
15096// SetRole sets the Role field's value.
15097func (s *Crawler) SetRole(v string) *Crawler {
15098	s.Role = &v
15099	return s
15100}
15101
15102// SetSchedule sets the Schedule field's value.
15103func (s *Crawler) SetSchedule(v *Schedule) *Crawler {
15104	s.Schedule = v
15105	return s
15106}
15107
15108// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
15109func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler {
15110	s.SchemaChangePolicy = v
15111	return s
15112}
15113
15114// SetState sets the State field's value.
15115func (s *Crawler) SetState(v string) *Crawler {
15116	s.State = &v
15117	return s
15118}
15119
15120// SetTablePrefix sets the TablePrefix field's value.
15121func (s *Crawler) SetTablePrefix(v string) *Crawler {
15122	s.TablePrefix = &v
15123	return s
15124}
15125
15126// SetTargets sets the Targets field's value.
15127func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler {
15128	s.Targets = v
15129	return s
15130}
15131
15132// SetVersion sets the Version field's value.
15133func (s *Crawler) SetVersion(v int64) *Crawler {
15134	s.Version = &v
15135	return s
15136}
15137
15138// Metrics for a specified crawler.
15139type CrawlerMetrics struct {
15140	_ struct{} `type:"structure"`
15141
15142	// The name of the crawler.
15143	CrawlerName *string `min:"1" type:"string"`
15144
15145	// The duration of the crawler's most recent run, in seconds.
15146	LastRuntimeSeconds *float64 `type:"double"`
15147
15148	// The median duration of this crawler's runs, in seconds.
15149	MedianRuntimeSeconds *float64 `type:"double"`
15150
15151	// True if the crawler is still estimating how long it will take to complete
15152	// this run.
15153	StillEstimating *bool `type:"boolean"`
15154
15155	// The number of tables created by this crawler.
15156	TablesCreated *int64 `type:"integer"`
15157
15158	// The number of tables deleted by this crawler.
15159	TablesDeleted *int64 `type:"integer"`
15160
15161	// The number of tables updated by this crawler.
15162	TablesUpdated *int64 `type:"integer"`
15163
15164	// The estimated time left to complete a running crawl.
15165	TimeLeftSeconds *float64 `type:"double"`
15166}
15167
15168// String returns the string representation
15169func (s CrawlerMetrics) String() string {
15170	return awsutil.Prettify(s)
15171}
15172
15173// GoString returns the string representation
15174func (s CrawlerMetrics) GoString() string {
15175	return s.String()
15176}
15177
15178// SetCrawlerName sets the CrawlerName field's value.
15179func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics {
15180	s.CrawlerName = &v
15181	return s
15182}
15183
15184// SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value.
15185func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics {
15186	s.LastRuntimeSeconds = &v
15187	return s
15188}
15189
15190// SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value.
15191func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics {
15192	s.MedianRuntimeSeconds = &v
15193	return s
15194}
15195
15196// SetStillEstimating sets the StillEstimating field's value.
15197func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics {
15198	s.StillEstimating = &v
15199	return s
15200}
15201
15202// SetTablesCreated sets the TablesCreated field's value.
15203func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics {
15204	s.TablesCreated = &v
15205	return s
15206}
15207
15208// SetTablesDeleted sets the TablesDeleted field's value.
15209func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics {
15210	s.TablesDeleted = &v
15211	return s
15212}
15213
15214// SetTablesUpdated sets the TablesUpdated field's value.
15215func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics {
15216	s.TablesUpdated = &v
15217	return s
15218}
15219
15220// SetTimeLeftSeconds sets the TimeLeftSeconds field's value.
15221func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics {
15222	s.TimeLeftSeconds = &v
15223	return s
15224}
15225
15226// The details of a Crawler node present in the workflow.
15227type CrawlerNodeDetails struct {
15228	_ struct{} `type:"structure"`
15229
15230	// A list of crawls represented by the crawl node.
15231	Crawls []*Crawl `type:"list"`
15232}
15233
15234// String returns the string representation
15235func (s CrawlerNodeDetails) String() string {
15236	return awsutil.Prettify(s)
15237}
15238
15239// GoString returns the string representation
15240func (s CrawlerNodeDetails) GoString() string {
15241	return s.String()
15242}
15243
15244// SetCrawls sets the Crawls field's value.
15245func (s *CrawlerNodeDetails) SetCrawls(v []*Crawl) *CrawlerNodeDetails {
15246	s.Crawls = v
15247	return s
15248}
15249
15250// Specifies data stores to crawl.
15251type CrawlerTargets struct {
15252	_ struct{} `type:"structure"`
15253
15254	// Specifies AWS Glue Data Catalog targets.
15255	CatalogTargets []*CatalogTarget `type:"list"`
15256
15257	// Specifies Amazon DynamoDB targets.
15258	DynamoDBTargets []*DynamoDBTarget `type:"list"`
15259
15260	// Specifies JDBC targets.
15261	JdbcTargets []*JdbcTarget `type:"list"`
15262
15263	// Specifies Amazon Simple Storage Service (Amazon S3) targets.
15264	S3Targets []*S3Target `type:"list"`
15265}
15266
15267// String returns the string representation
15268func (s CrawlerTargets) String() string {
15269	return awsutil.Prettify(s)
15270}
15271
15272// GoString returns the string representation
15273func (s CrawlerTargets) GoString() string {
15274	return s.String()
15275}
15276
15277// Validate inspects the fields of the type to determine if they are valid.
15278func (s *CrawlerTargets) Validate() error {
15279	invalidParams := request.ErrInvalidParams{Context: "CrawlerTargets"}
15280	if s.CatalogTargets != nil {
15281		for i, v := range s.CatalogTargets {
15282			if v == nil {
15283				continue
15284			}
15285			if err := v.Validate(); err != nil {
15286				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CatalogTargets", i), err.(request.ErrInvalidParams))
15287			}
15288		}
15289	}
15290
15291	if invalidParams.Len() > 0 {
15292		return invalidParams
15293	}
15294	return nil
15295}
15296
15297// SetCatalogTargets sets the CatalogTargets field's value.
15298func (s *CrawlerTargets) SetCatalogTargets(v []*CatalogTarget) *CrawlerTargets {
15299	s.CatalogTargets = v
15300	return s
15301}
15302
15303// SetDynamoDBTargets sets the DynamoDBTargets field's value.
15304func (s *CrawlerTargets) SetDynamoDBTargets(v []*DynamoDBTarget) *CrawlerTargets {
15305	s.DynamoDBTargets = v
15306	return s
15307}
15308
15309// SetJdbcTargets sets the JdbcTargets field's value.
15310func (s *CrawlerTargets) SetJdbcTargets(v []*JdbcTarget) *CrawlerTargets {
15311	s.JdbcTargets = v
15312	return s
15313}
15314
15315// SetS3Targets sets the S3Targets field's value.
15316func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets {
15317	s.S3Targets = v
15318	return s
15319}
15320
15321type CreateClassifierInput struct {
15322	_ struct{} `type:"structure"`
15323
15324	// A CsvClassifier object specifying the classifier to create.
15325	CsvClassifier *CreateCsvClassifierRequest `type:"structure"`
15326
15327	// A GrokClassifier object specifying the classifier to create.
15328	GrokClassifier *CreateGrokClassifierRequest `type:"structure"`
15329
15330	// A JsonClassifier object specifying the classifier to create.
15331	JsonClassifier *CreateJsonClassifierRequest `type:"structure"`
15332
15333	// An XMLClassifier object specifying the classifier to create.
15334	XMLClassifier *CreateXMLClassifierRequest `type:"structure"`
15335}
15336
15337// String returns the string representation
15338func (s CreateClassifierInput) String() string {
15339	return awsutil.Prettify(s)
15340}
15341
15342// GoString returns the string representation
15343func (s CreateClassifierInput) GoString() string {
15344	return s.String()
15345}
15346
15347// Validate inspects the fields of the type to determine if they are valid.
15348func (s *CreateClassifierInput) Validate() error {
15349	invalidParams := request.ErrInvalidParams{Context: "CreateClassifierInput"}
15350	if s.CsvClassifier != nil {
15351		if err := s.CsvClassifier.Validate(); err != nil {
15352			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
15353		}
15354	}
15355	if s.GrokClassifier != nil {
15356		if err := s.GrokClassifier.Validate(); err != nil {
15357			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
15358		}
15359	}
15360	if s.JsonClassifier != nil {
15361		if err := s.JsonClassifier.Validate(); err != nil {
15362			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
15363		}
15364	}
15365	if s.XMLClassifier != nil {
15366		if err := s.XMLClassifier.Validate(); err != nil {
15367			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
15368		}
15369	}
15370
15371	if invalidParams.Len() > 0 {
15372		return invalidParams
15373	}
15374	return nil
15375}
15376
15377// SetCsvClassifier sets the CsvClassifier field's value.
15378func (s *CreateClassifierInput) SetCsvClassifier(v *CreateCsvClassifierRequest) *CreateClassifierInput {
15379	s.CsvClassifier = v
15380	return s
15381}
15382
15383// SetGrokClassifier sets the GrokClassifier field's value.
15384func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput {
15385	s.GrokClassifier = v
15386	return s
15387}
15388
15389// SetJsonClassifier sets the JsonClassifier field's value.
15390func (s *CreateClassifierInput) SetJsonClassifier(v *CreateJsonClassifierRequest) *CreateClassifierInput {
15391	s.JsonClassifier = v
15392	return s
15393}
15394
15395// SetXMLClassifier sets the XMLClassifier field's value.
15396func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput {
15397	s.XMLClassifier = v
15398	return s
15399}
15400
15401type CreateClassifierOutput struct {
15402	_ struct{} `type:"structure"`
15403}
15404
15405// String returns the string representation
15406func (s CreateClassifierOutput) String() string {
15407	return awsutil.Prettify(s)
15408}
15409
15410// GoString returns the string representation
15411func (s CreateClassifierOutput) GoString() string {
15412	return s.String()
15413}
15414
15415type CreateConnectionInput struct {
15416	_ struct{} `type:"structure"`
15417
15418	// The ID of the Data Catalog in which to create the connection. If none is
15419	// provided, the AWS account ID is used by default.
15420	CatalogId *string `min:"1" type:"string"`
15421
15422	// A ConnectionInput object defining the connection to create.
15423	//
15424	// ConnectionInput is a required field
15425	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
15426}
15427
15428// String returns the string representation
15429func (s CreateConnectionInput) String() string {
15430	return awsutil.Prettify(s)
15431}
15432
15433// GoString returns the string representation
15434func (s CreateConnectionInput) GoString() string {
15435	return s.String()
15436}
15437
15438// Validate inspects the fields of the type to determine if they are valid.
15439func (s *CreateConnectionInput) Validate() error {
15440	invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"}
15441	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
15442		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
15443	}
15444	if s.ConnectionInput == nil {
15445		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
15446	}
15447	if s.ConnectionInput != nil {
15448		if err := s.ConnectionInput.Validate(); err != nil {
15449			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
15450		}
15451	}
15452
15453	if invalidParams.Len() > 0 {
15454		return invalidParams
15455	}
15456	return nil
15457}
15458
15459// SetCatalogId sets the CatalogId field's value.
15460func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput {
15461	s.CatalogId = &v
15462	return s
15463}
15464
15465// SetConnectionInput sets the ConnectionInput field's value.
15466func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput {
15467	s.ConnectionInput = v
15468	return s
15469}
15470
15471type CreateConnectionOutput struct {
15472	_ struct{} `type:"structure"`
15473}
15474
15475// String returns the string representation
15476func (s CreateConnectionOutput) String() string {
15477	return awsutil.Prettify(s)
15478}
15479
15480// GoString returns the string representation
15481func (s CreateConnectionOutput) GoString() string {
15482	return s.String()
15483}
15484
15485type CreateCrawlerInput struct {
15486	_ struct{} `type:"structure"`
15487
15488	// A list of custom classifiers that the user has registered. By default, all
15489	// built-in classifiers are included in a crawl, but these custom classifiers
15490	// always override the default classifiers for a given classification.
15491	Classifiers []*string `type:"list"`
15492
15493	// The crawler configuration information. This versioned JSON string allows
15494	// users to specify aspects of a crawler's behavior. For more information, see
15495	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
15496	Configuration *string `type:"string"`
15497
15498	// The name of the SecurityConfiguration structure to be used by this crawler.
15499	CrawlerSecurityConfiguration *string `type:"string"`
15500
15501	// The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*.
15502	DatabaseName *string `type:"string"`
15503
15504	// A description of the new crawler.
15505	Description *string `type:"string"`
15506
15507	// Name of the new crawler.
15508	//
15509	// Name is a required field
15510	Name *string `min:"1" type:"string" required:"true"`
15511
15512	// The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new
15513	// crawler to access customer resources.
15514	//
15515	// Role is a required field
15516	Role *string `type:"string" required:"true"`
15517
15518	// A cron expression used to specify the schedule. For more information, see
15519	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
15520	// For example, to run something every day at 12:15 UTC, specify cron(15 12
15521	// * * ? *).
15522	Schedule *string `type:"string"`
15523
15524	// The policy for the crawler's update and deletion behavior.
15525	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
15526
15527	// The table prefix used for catalog tables that are created.
15528	TablePrefix *string `type:"string"`
15529
15530	// The tags to use with this crawler request. You can use tags to limit access
15531	// to the crawler. For more information, see AWS Tags in AWS Glue (http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).
15532	Tags map[string]*string `type:"map"`
15533
15534	// A list of collection of targets to crawl.
15535	//
15536	// Targets is a required field
15537	Targets *CrawlerTargets `type:"structure" required:"true"`
15538}
15539
15540// String returns the string representation
15541func (s CreateCrawlerInput) String() string {
15542	return awsutil.Prettify(s)
15543}
15544
15545// GoString returns the string representation
15546func (s CreateCrawlerInput) GoString() string {
15547	return s.String()
15548}
15549
15550// Validate inspects the fields of the type to determine if they are valid.
15551func (s *CreateCrawlerInput) Validate() error {
15552	invalidParams := request.ErrInvalidParams{Context: "CreateCrawlerInput"}
15553	if s.Name == nil {
15554		invalidParams.Add(request.NewErrParamRequired("Name"))
15555	}
15556	if s.Name != nil && len(*s.Name) < 1 {
15557		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15558	}
15559	if s.Role == nil {
15560		invalidParams.Add(request.NewErrParamRequired("Role"))
15561	}
15562	if s.Targets == nil {
15563		invalidParams.Add(request.NewErrParamRequired("Targets"))
15564	}
15565	if s.Targets != nil {
15566		if err := s.Targets.Validate(); err != nil {
15567			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
15568		}
15569	}
15570
15571	if invalidParams.Len() > 0 {
15572		return invalidParams
15573	}
15574	return nil
15575}
15576
15577// SetClassifiers sets the Classifiers field's value.
15578func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput {
15579	s.Classifiers = v
15580	return s
15581}
15582
15583// SetConfiguration sets the Configuration field's value.
15584func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput {
15585	s.Configuration = &v
15586	return s
15587}
15588
15589// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
15590func (s *CreateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *CreateCrawlerInput {
15591	s.CrawlerSecurityConfiguration = &v
15592	return s
15593}
15594
15595// SetDatabaseName sets the DatabaseName field's value.
15596func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput {
15597	s.DatabaseName = &v
15598	return s
15599}
15600
15601// SetDescription sets the Description field's value.
15602func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput {
15603	s.Description = &v
15604	return s
15605}
15606
15607// SetName sets the Name field's value.
15608func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput {
15609	s.Name = &v
15610	return s
15611}
15612
15613// SetRole sets the Role field's value.
15614func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput {
15615	s.Role = &v
15616	return s
15617}
15618
15619// SetSchedule sets the Schedule field's value.
15620func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput {
15621	s.Schedule = &v
15622	return s
15623}
15624
15625// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
15626func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput {
15627	s.SchemaChangePolicy = v
15628	return s
15629}
15630
15631// SetTablePrefix sets the TablePrefix field's value.
15632func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput {
15633	s.TablePrefix = &v
15634	return s
15635}
15636
15637// SetTags sets the Tags field's value.
15638func (s *CreateCrawlerInput) SetTags(v map[string]*string) *CreateCrawlerInput {
15639	s.Tags = v
15640	return s
15641}
15642
15643// SetTargets sets the Targets field's value.
15644func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput {
15645	s.Targets = v
15646	return s
15647}
15648
15649type CreateCrawlerOutput struct {
15650	_ struct{} `type:"structure"`
15651}
15652
15653// String returns the string representation
15654func (s CreateCrawlerOutput) String() string {
15655	return awsutil.Prettify(s)
15656}
15657
15658// GoString returns the string representation
15659func (s CreateCrawlerOutput) GoString() string {
15660	return s.String()
15661}
15662
15663// Specifies a custom CSV classifier for CreateClassifier to create.
15664type CreateCsvClassifierRequest struct {
15665	_ struct{} `type:"structure"`
15666
15667	// Enables the processing of files that contain only one column.
15668	AllowSingleColumn *bool `type:"boolean"`
15669
15670	// Indicates whether the CSV file contains a header.
15671	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
15672
15673	// A custom symbol to denote what separates each column entry in the row.
15674	Delimiter *string `min:"1" type:"string"`
15675
15676	// Specifies not to trim values before identifying the type of column values.
15677	// The default value is true.
15678	DisableValueTrimming *bool `type:"boolean"`
15679
15680	// A list of strings representing column names.
15681	Header []*string `type:"list"`
15682
15683	// The name of the classifier.
15684	//
15685	// Name is a required field
15686	Name *string `min:"1" type:"string" required:"true"`
15687
15688	// A custom symbol to denote what combines content into a single column value.
15689	// Must be different from the column delimiter.
15690	QuoteSymbol *string `min:"1" type:"string"`
15691}
15692
15693// String returns the string representation
15694func (s CreateCsvClassifierRequest) String() string {
15695	return awsutil.Prettify(s)
15696}
15697
15698// GoString returns the string representation
15699func (s CreateCsvClassifierRequest) GoString() string {
15700	return s.String()
15701}
15702
15703// Validate inspects the fields of the type to determine if they are valid.
15704func (s *CreateCsvClassifierRequest) Validate() error {
15705	invalidParams := request.ErrInvalidParams{Context: "CreateCsvClassifierRequest"}
15706	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
15707		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
15708	}
15709	if s.Name == nil {
15710		invalidParams.Add(request.NewErrParamRequired("Name"))
15711	}
15712	if s.Name != nil && len(*s.Name) < 1 {
15713		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15714	}
15715	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
15716		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
15717	}
15718
15719	if invalidParams.Len() > 0 {
15720		return invalidParams
15721	}
15722	return nil
15723}
15724
15725// SetAllowSingleColumn sets the AllowSingleColumn field's value.
15726func (s *CreateCsvClassifierRequest) SetAllowSingleColumn(v bool) *CreateCsvClassifierRequest {
15727	s.AllowSingleColumn = &v
15728	return s
15729}
15730
15731// SetContainsHeader sets the ContainsHeader field's value.
15732func (s *CreateCsvClassifierRequest) SetContainsHeader(v string) *CreateCsvClassifierRequest {
15733	s.ContainsHeader = &v
15734	return s
15735}
15736
15737// SetDelimiter sets the Delimiter field's value.
15738func (s *CreateCsvClassifierRequest) SetDelimiter(v string) *CreateCsvClassifierRequest {
15739	s.Delimiter = &v
15740	return s
15741}
15742
15743// SetDisableValueTrimming sets the DisableValueTrimming field's value.
15744func (s *CreateCsvClassifierRequest) SetDisableValueTrimming(v bool) *CreateCsvClassifierRequest {
15745	s.DisableValueTrimming = &v
15746	return s
15747}
15748
15749// SetHeader sets the Header field's value.
15750func (s *CreateCsvClassifierRequest) SetHeader(v []*string) *CreateCsvClassifierRequest {
15751	s.Header = v
15752	return s
15753}
15754
15755// SetName sets the Name field's value.
15756func (s *CreateCsvClassifierRequest) SetName(v string) *CreateCsvClassifierRequest {
15757	s.Name = &v
15758	return s
15759}
15760
15761// SetQuoteSymbol sets the QuoteSymbol field's value.
15762func (s *CreateCsvClassifierRequest) SetQuoteSymbol(v string) *CreateCsvClassifierRequest {
15763	s.QuoteSymbol = &v
15764	return s
15765}
15766
15767type CreateDatabaseInput struct {
15768	_ struct{} `type:"structure"`
15769
15770	// The ID of the Data Catalog in which to create the database. If none is provided,
15771	// the AWS account ID is used by default.
15772	CatalogId *string `min:"1" type:"string"`
15773
15774	// The metadata for the database.
15775	//
15776	// DatabaseInput is a required field
15777	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
15778}
15779
15780// String returns the string representation
15781func (s CreateDatabaseInput) String() string {
15782	return awsutil.Prettify(s)
15783}
15784
15785// GoString returns the string representation
15786func (s CreateDatabaseInput) GoString() string {
15787	return s.String()
15788}
15789
15790// Validate inspects the fields of the type to determine if they are valid.
15791func (s *CreateDatabaseInput) Validate() error {
15792	invalidParams := request.ErrInvalidParams{Context: "CreateDatabaseInput"}
15793	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
15794		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
15795	}
15796	if s.DatabaseInput == nil {
15797		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
15798	}
15799	if s.DatabaseInput != nil {
15800		if err := s.DatabaseInput.Validate(); err != nil {
15801			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
15802		}
15803	}
15804
15805	if invalidParams.Len() > 0 {
15806		return invalidParams
15807	}
15808	return nil
15809}
15810
15811// SetCatalogId sets the CatalogId field's value.
15812func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput {
15813	s.CatalogId = &v
15814	return s
15815}
15816
15817// SetDatabaseInput sets the DatabaseInput field's value.
15818func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput {
15819	s.DatabaseInput = v
15820	return s
15821}
15822
15823type CreateDatabaseOutput struct {
15824	_ struct{} `type:"structure"`
15825}
15826
15827// String returns the string representation
15828func (s CreateDatabaseOutput) String() string {
15829	return awsutil.Prettify(s)
15830}
15831
15832// GoString returns the string representation
15833func (s CreateDatabaseOutput) GoString() string {
15834	return s.String()
15835}
15836
15837type CreateDevEndpointInput struct {
15838	_ struct{} `type:"structure"`
15839
15840	// A map of arguments used to configure the DevEndpoint.
15841	Arguments map[string]*string `type:"map"`
15842
15843	// The name to be assigned to the new DevEndpoint.
15844	//
15845	// EndpointName is a required field
15846	EndpointName *string `type:"string" required:"true"`
15847
15848	// The path to one or more Java .jar files in an S3 bucket that should be loaded
15849	// in your DevEndpoint.
15850	ExtraJarsS3Path *string `type:"string"`
15851
15852	// The paths to one or more Python libraries in an Amazon S3 bucket that should
15853	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
15854	// by a comma.
15855	//
15856	// You can only use pure Python libraries with a DevEndpoint. Libraries that
15857	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
15858	// data analysis library, are not yet supported.
15859	ExtraPythonLibsS3Path *string `type:"string"`
15860
15861	// Glue version determines the versions of Apache Spark and Python that AWS
15862	// Glue supports. The Python version indicates the version supported for running
15863	// your ETL scripts on development endpoints.
15864	//
15865	// For more information about the available AWS Glue versions and corresponding
15866	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
15867	// in the developer guide.
15868	//
15869	// Development endpoints that are created without specifying a Glue version
15870	// default to Glue 0.9.
15871	//
15872	// You can specify a version of Python support for development endpoints by
15873	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
15874	// APIs. If no arguments are provided, the version defaults to Python 2.
15875	GlueVersion *string `min:"1" type:"string"`
15876
15877	// The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.
15878	NumberOfNodes *int64 `type:"integer"`
15879
15880	// The number of workers of a defined workerType that are allocated to the development
15881	// endpoint.
15882	//
15883	// The maximum number of workers you can define are 299 for G.1X, and 149 for
15884	// G.2X.
15885	NumberOfWorkers *int64 `type:"integer"`
15886
15887	// The public key to be used by this DevEndpoint for authentication. This attribute
15888	// is provided for backward compatibility because the recommended attribute
15889	// to use is public keys.
15890	PublicKey *string `type:"string"`
15891
15892	// A list of public keys to be used by the development endpoints for authentication.
15893	// The use of this attribute is preferred over a single public key because the
15894	// public keys allow you to have a different private key per client.
15895	//
15896	// If you previously created an endpoint with a public key, you must remove
15897	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
15898	// API with the public key content in the deletePublicKeys attribute, and the
15899	// list of new keys in the addPublicKeys attribute.
15900	PublicKeys []*string `type:"list"`
15901
15902	// The IAM role for the DevEndpoint.
15903	//
15904	// RoleArn is a required field
15905	RoleArn *string `type:"string" required:"true"`
15906
15907	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
15908	SecurityConfiguration *string `min:"1" type:"string"`
15909
15910	// Security group IDs for the security groups to be used by the new DevEndpoint.
15911	SecurityGroupIds []*string `type:"list"`
15912
15913	// The subnet ID for the new DevEndpoint to use.
15914	SubnetId *string `type:"string"`
15915
15916	// The tags to use with this DevEndpoint. You may use tags to limit access to
15917	// the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags
15918	// in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)
15919	// in the developer guide.
15920	Tags map[string]*string `type:"map"`
15921
15922	// The type of predefined worker that is allocated to the development endpoint.
15923	// Accepts a value of Standard, G.1X, or G.2X.
15924	//
15925	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
15926	//    memory and a 50GB disk, and 2 executors per worker.
15927	//
15928	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
15929	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
15930	//    this worker type for memory-intensive jobs.
15931	//
15932	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
15933	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
15934	//    this worker type for memory-intensive jobs.
15935	//
15936	// Known issue: when a development endpoint is created with the G.2X WorkerType
15937	// configuration, the Spark drivers for the development endpoint will run on
15938	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
15939	WorkerType *string `type:"string" enum:"WorkerType"`
15940}
15941
15942// String returns the string representation
15943func (s CreateDevEndpointInput) String() string {
15944	return awsutil.Prettify(s)
15945}
15946
15947// GoString returns the string representation
15948func (s CreateDevEndpointInput) GoString() string {
15949	return s.String()
15950}
15951
15952// Validate inspects the fields of the type to determine if they are valid.
15953func (s *CreateDevEndpointInput) Validate() error {
15954	invalidParams := request.ErrInvalidParams{Context: "CreateDevEndpointInput"}
15955	if s.EndpointName == nil {
15956		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
15957	}
15958	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
15959		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
15960	}
15961	if s.RoleArn == nil {
15962		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
15963	}
15964	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
15965		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
15966	}
15967
15968	if invalidParams.Len() > 0 {
15969		return invalidParams
15970	}
15971	return nil
15972}
15973
15974// SetArguments sets the Arguments field's value.
15975func (s *CreateDevEndpointInput) SetArguments(v map[string]*string) *CreateDevEndpointInput {
15976	s.Arguments = v
15977	return s
15978}
15979
15980// SetEndpointName sets the EndpointName field's value.
15981func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput {
15982	s.EndpointName = &v
15983	return s
15984}
15985
15986// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
15987func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput {
15988	s.ExtraJarsS3Path = &v
15989	return s
15990}
15991
15992// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
15993func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput {
15994	s.ExtraPythonLibsS3Path = &v
15995	return s
15996}
15997
15998// SetGlueVersion sets the GlueVersion field's value.
15999func (s *CreateDevEndpointInput) SetGlueVersion(v string) *CreateDevEndpointInput {
16000	s.GlueVersion = &v
16001	return s
16002}
16003
16004// SetNumberOfNodes sets the NumberOfNodes field's value.
16005func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput {
16006	s.NumberOfNodes = &v
16007	return s
16008}
16009
16010// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16011func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput {
16012	s.NumberOfWorkers = &v
16013	return s
16014}
16015
16016// SetPublicKey sets the PublicKey field's value.
16017func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput {
16018	s.PublicKey = &v
16019	return s
16020}
16021
16022// SetPublicKeys sets the PublicKeys field's value.
16023func (s *CreateDevEndpointInput) SetPublicKeys(v []*string) *CreateDevEndpointInput {
16024	s.PublicKeys = v
16025	return s
16026}
16027
16028// SetRoleArn sets the RoleArn field's value.
16029func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput {
16030	s.RoleArn = &v
16031	return s
16032}
16033
16034// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16035func (s *CreateDevEndpointInput) SetSecurityConfiguration(v string) *CreateDevEndpointInput {
16036	s.SecurityConfiguration = &v
16037	return s
16038}
16039
16040// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16041func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []*string) *CreateDevEndpointInput {
16042	s.SecurityGroupIds = v
16043	return s
16044}
16045
16046// SetSubnetId sets the SubnetId field's value.
16047func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput {
16048	s.SubnetId = &v
16049	return s
16050}
16051
16052// SetTags sets the Tags field's value.
16053func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpointInput {
16054	s.Tags = v
16055	return s
16056}
16057
16058// SetWorkerType sets the WorkerType field's value.
16059func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput {
16060	s.WorkerType = &v
16061	return s
16062}
16063
16064type CreateDevEndpointOutput struct {
16065	_ struct{} `type:"structure"`
16066
16067	// The map of arguments used to configure this DevEndpoint.
16068	//
16069	// Valid arguments are:
16070	//
16071	//    * "--enable-glue-datacatalog": ""
16072	//
16073	//    * "GLUE_PYTHON_VERSION": "3"
16074	//
16075	//    * "GLUE_PYTHON_VERSION": "2"
16076	//
16077	// You can specify a version of Python support for development endpoints by
16078	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
16079	// APIs. If no arguments are provided, the version defaults to Python 2.
16080	Arguments map[string]*string `type:"map"`
16081
16082	// The AWS Availability Zone where this DevEndpoint is located.
16083	AvailabilityZone *string `type:"string"`
16084
16085	// The point in time at which this DevEndpoint was created.
16086	CreatedTimestamp *time.Time `type:"timestamp"`
16087
16088	// The name assigned to the new DevEndpoint.
16089	EndpointName *string `type:"string"`
16090
16091	// Path to one or more Java .jar files in an S3 bucket that will be loaded in
16092	// your DevEndpoint.
16093	ExtraJarsS3Path *string `type:"string"`
16094
16095	// The paths to one or more Python libraries in an S3 bucket that will be loaded
16096	// in your DevEndpoint.
16097	ExtraPythonLibsS3Path *string `type:"string"`
16098
16099	// The reason for a current failure in this DevEndpoint.
16100	FailureReason *string `type:"string"`
16101
16102	// Glue version determines the versions of Apache Spark and Python that AWS
16103	// Glue supports. The Python version indicates the version supported for running
16104	// your ETL scripts on development endpoints.
16105	GlueVersion *string `min:"1" type:"string"`
16106
16107	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
16108	NumberOfNodes *int64 `type:"integer"`
16109
16110	// The number of workers of a defined workerType that are allocated to the development
16111	// endpoint.
16112	NumberOfWorkers *int64 `type:"integer"`
16113
16114	// The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint.
16115	RoleArn *string `type:"string"`
16116
16117	// The name of the SecurityConfiguration structure being used with this DevEndpoint.
16118	SecurityConfiguration *string `min:"1" type:"string"`
16119
16120	// The security groups assigned to the new DevEndpoint.
16121	SecurityGroupIds []*string `type:"list"`
16122
16123	// The current status of the new DevEndpoint.
16124	Status *string `type:"string"`
16125
16126	// The subnet ID assigned to the new DevEndpoint.
16127	SubnetId *string `type:"string"`
16128
16129	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
16130	VpcId *string `type:"string"`
16131
16132	// The type of predefined worker that is allocated to the development endpoint.
16133	// May be a value of Standard, G.1X, or G.2X.
16134	WorkerType *string `type:"string" enum:"WorkerType"`
16135
16136	// The address of the YARN endpoint used by this DevEndpoint.
16137	YarnEndpointAddress *string `type:"string"`
16138
16139	// The Apache Zeppelin port for the remote Apache Spark interpreter.
16140	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
16141}
16142
16143// String returns the string representation
16144func (s CreateDevEndpointOutput) String() string {
16145	return awsutil.Prettify(s)
16146}
16147
16148// GoString returns the string representation
16149func (s CreateDevEndpointOutput) GoString() string {
16150	return s.String()
16151}
16152
16153// SetArguments sets the Arguments field's value.
16154func (s *CreateDevEndpointOutput) SetArguments(v map[string]*string) *CreateDevEndpointOutput {
16155	s.Arguments = v
16156	return s
16157}
16158
16159// SetAvailabilityZone sets the AvailabilityZone field's value.
16160func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput {
16161	s.AvailabilityZone = &v
16162	return s
16163}
16164
16165// SetCreatedTimestamp sets the CreatedTimestamp field's value.
16166func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput {
16167	s.CreatedTimestamp = &v
16168	return s
16169}
16170
16171// SetEndpointName sets the EndpointName field's value.
16172func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput {
16173	s.EndpointName = &v
16174	return s
16175}
16176
16177// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
16178func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput {
16179	s.ExtraJarsS3Path = &v
16180	return s
16181}
16182
16183// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
16184func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput {
16185	s.ExtraPythonLibsS3Path = &v
16186	return s
16187}
16188
16189// SetFailureReason sets the FailureReason field's value.
16190func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput {
16191	s.FailureReason = &v
16192	return s
16193}
16194
16195// SetGlueVersion sets the GlueVersion field's value.
16196func (s *CreateDevEndpointOutput) SetGlueVersion(v string) *CreateDevEndpointOutput {
16197	s.GlueVersion = &v
16198	return s
16199}
16200
16201// SetNumberOfNodes sets the NumberOfNodes field's value.
16202func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput {
16203	s.NumberOfNodes = &v
16204	return s
16205}
16206
16207// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16208func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput {
16209	s.NumberOfWorkers = &v
16210	return s
16211}
16212
16213// SetRoleArn sets the RoleArn field's value.
16214func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput {
16215	s.RoleArn = &v
16216	return s
16217}
16218
16219// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16220func (s *CreateDevEndpointOutput) SetSecurityConfiguration(v string) *CreateDevEndpointOutput {
16221	s.SecurityConfiguration = &v
16222	return s
16223}
16224
16225// SetSecurityGroupIds sets the SecurityGroupIds field's value.
16226func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []*string) *CreateDevEndpointOutput {
16227	s.SecurityGroupIds = v
16228	return s
16229}
16230
16231// SetStatus sets the Status field's value.
16232func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput {
16233	s.Status = &v
16234	return s
16235}
16236
16237// SetSubnetId sets the SubnetId field's value.
16238func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput {
16239	s.SubnetId = &v
16240	return s
16241}
16242
16243// SetVpcId sets the VpcId field's value.
16244func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput {
16245	s.VpcId = &v
16246	return s
16247}
16248
16249// SetWorkerType sets the WorkerType field's value.
16250func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput {
16251	s.WorkerType = &v
16252	return s
16253}
16254
16255// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
16256func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput {
16257	s.YarnEndpointAddress = &v
16258	return s
16259}
16260
16261// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
16262func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput {
16263	s.ZeppelinRemoteSparkInterpreterPort = &v
16264	return s
16265}
16266
16267// Specifies a grok classifier for CreateClassifier to create.
16268type CreateGrokClassifierRequest struct {
16269	_ struct{} `type:"structure"`
16270
16271	// An identifier of the data format that the classifier matches, such as Twitter,
16272	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
16273	//
16274	// Classification is a required field
16275	Classification *string `type:"string" required:"true"`
16276
16277	// Optional custom grok patterns used by this classifier.
16278	CustomPatterns *string `type:"string"`
16279
16280	// The grok pattern used by this classifier.
16281	//
16282	// GrokPattern is a required field
16283	GrokPattern *string `min:"1" type:"string" required:"true"`
16284
16285	// The name of the new classifier.
16286	//
16287	// Name is a required field
16288	Name *string `min:"1" type:"string" required:"true"`
16289}
16290
16291// String returns the string representation
16292func (s CreateGrokClassifierRequest) String() string {
16293	return awsutil.Prettify(s)
16294}
16295
16296// GoString returns the string representation
16297func (s CreateGrokClassifierRequest) GoString() string {
16298	return s.String()
16299}
16300
16301// Validate inspects the fields of the type to determine if they are valid.
16302func (s *CreateGrokClassifierRequest) Validate() error {
16303	invalidParams := request.ErrInvalidParams{Context: "CreateGrokClassifierRequest"}
16304	if s.Classification == nil {
16305		invalidParams.Add(request.NewErrParamRequired("Classification"))
16306	}
16307	if s.GrokPattern == nil {
16308		invalidParams.Add(request.NewErrParamRequired("GrokPattern"))
16309	}
16310	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
16311		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
16312	}
16313	if s.Name == nil {
16314		invalidParams.Add(request.NewErrParamRequired("Name"))
16315	}
16316	if s.Name != nil && len(*s.Name) < 1 {
16317		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16318	}
16319
16320	if invalidParams.Len() > 0 {
16321		return invalidParams
16322	}
16323	return nil
16324}
16325
16326// SetClassification sets the Classification field's value.
16327func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest {
16328	s.Classification = &v
16329	return s
16330}
16331
16332// SetCustomPatterns sets the CustomPatterns field's value.
16333func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest {
16334	s.CustomPatterns = &v
16335	return s
16336}
16337
16338// SetGrokPattern sets the GrokPattern field's value.
16339func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest {
16340	s.GrokPattern = &v
16341	return s
16342}
16343
16344// SetName sets the Name field's value.
16345func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest {
16346	s.Name = &v
16347	return s
16348}
16349
16350type CreateJobInput struct {
16351	_ struct{} `type:"structure"`
16352
16353	// This parameter is deprecated. Use MaxCapacity instead.
16354	//
16355	// The number of AWS Glue data processing units (DPUs) to allocate to this Job.
16356	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
16357	// measure of processing power that consists of 4 vCPUs of compute capacity
16358	// and 16 GB of memory. For more information, see the AWS Glue pricing page
16359	// (https://aws.amazon.com/glue/pricing/).
16360	//
16361	// Deprecated: This property is deprecated, use MaxCapacity instead.
16362	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
16363
16364	// The JobCommand that executes this job.
16365	//
16366	// Command is a required field
16367	Command *JobCommand `type:"structure" required:"true"`
16368
16369	// The connections used for this job.
16370	Connections *ConnectionsList `type:"structure"`
16371
16372	// The default arguments for this job.
16373	//
16374	// You can specify arguments here that your own job-execution script consumes,
16375	// as well as arguments that AWS Glue itself consumes.
16376	//
16377	// For information about how to specify and consume your own Job arguments,
16378	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
16379	// topic in the developer guide.
16380	//
16381	// For information about the key-value pairs that AWS Glue consumes to set up
16382	// 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)
16383	// topic in the developer guide.
16384	DefaultArguments map[string]*string `type:"map"`
16385
16386	// Description of the job being defined.
16387	Description *string `type:"string"`
16388
16389	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
16390	// for this job.
16391	ExecutionProperty *ExecutionProperty `type:"structure"`
16392
16393	// Glue version determines the versions of Apache Spark and Python that AWS
16394	// Glue supports. The Python version indicates the version supported for jobs
16395	// of type Spark.
16396	//
16397	// For more information about the available AWS Glue versions and corresponding
16398	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
16399	// in the developer guide.
16400	//
16401	// Jobs that are created without specifying a Glue version default to Glue 0.9.
16402	GlueVersion *string `min:"1" type:"string"`
16403
16404	// This field is reserved for future use.
16405	LogUri *string `type:"string"`
16406
16407	// The number of AWS Glue data processing units (DPUs) that can be allocated
16408	// when this job runs. A DPU is a relative measure of processing power that
16409	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
16410	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
16411	//
16412	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
16413	//
16414	// The value that can be allocated for MaxCapacity depends on whether you are
16415	// running a Python shell job or an Apache Spark ETL job:
16416	//
16417	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
16418	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
16419	//
16420	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
16421	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
16422	//    type cannot have a fractional DPU allocation.
16423	MaxCapacity *float64 `type:"double"`
16424
16425	// The maximum number of times to retry this job if it fails.
16426	MaxRetries *int64 `type:"integer"`
16427
16428	// The name you assign to this job definition. It must be unique in your account.
16429	//
16430	// Name is a required field
16431	Name *string `min:"1" type:"string" required:"true"`
16432
16433	// Specifies configuration properties of a job notification.
16434	NotificationProperty *NotificationProperty `type:"structure"`
16435
16436	// The number of workers of a defined workerType that are allocated when a job
16437	// runs.
16438	//
16439	// The maximum number of workers you can define are 299 for G.1X, and 149 for
16440	// G.2X.
16441	NumberOfWorkers *int64 `type:"integer"`
16442
16443	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
16444	// job.
16445	//
16446	// Role is a required field
16447	Role *string `type:"string" required:"true"`
16448
16449	// The name of the SecurityConfiguration structure to be used with this job.
16450	SecurityConfiguration *string `min:"1" type:"string"`
16451
16452	// The tags to use with this job. You may use tags to limit access to the job.
16453	// 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)
16454	// in the developer guide.
16455	Tags map[string]*string `type:"map"`
16456
16457	// The job timeout in minutes. This is the maximum time that a job run can consume
16458	// resources before it is terminated and enters TIMEOUT status. The default
16459	// is 2,880 minutes (48 hours).
16460	Timeout *int64 `min:"1" type:"integer"`
16461
16462	// The type of predefined worker that is allocated when a job runs. Accepts
16463	// a value of Standard, G.1X, or G.2X.
16464	//
16465	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
16466	//    memory and a 50GB disk, and 2 executors per worker.
16467	//
16468	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
16469	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
16470	//    this worker type for memory-intensive jobs.
16471	//
16472	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
16473	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
16474	//    this worker type for memory-intensive jobs.
16475	WorkerType *string `type:"string" enum:"WorkerType"`
16476}
16477
16478// String returns the string representation
16479func (s CreateJobInput) String() string {
16480	return awsutil.Prettify(s)
16481}
16482
16483// GoString returns the string representation
16484func (s CreateJobInput) GoString() string {
16485	return s.String()
16486}
16487
16488// Validate inspects the fields of the type to determine if they are valid.
16489func (s *CreateJobInput) Validate() error {
16490	invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"}
16491	if s.Command == nil {
16492		invalidParams.Add(request.NewErrParamRequired("Command"))
16493	}
16494	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
16495		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
16496	}
16497	if s.Name == nil {
16498		invalidParams.Add(request.NewErrParamRequired("Name"))
16499	}
16500	if s.Name != nil && len(*s.Name) < 1 {
16501		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16502	}
16503	if s.Role == nil {
16504		invalidParams.Add(request.NewErrParamRequired("Role"))
16505	}
16506	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
16507		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
16508	}
16509	if s.Timeout != nil && *s.Timeout < 1 {
16510		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
16511	}
16512	if s.NotificationProperty != nil {
16513		if err := s.NotificationProperty.Validate(); err != nil {
16514			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
16515		}
16516	}
16517
16518	if invalidParams.Len() > 0 {
16519		return invalidParams
16520	}
16521	return nil
16522}
16523
16524// SetAllocatedCapacity sets the AllocatedCapacity field's value.
16525func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput {
16526	s.AllocatedCapacity = &v
16527	return s
16528}
16529
16530// SetCommand sets the Command field's value.
16531func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput {
16532	s.Command = v
16533	return s
16534}
16535
16536// SetConnections sets the Connections field's value.
16537func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput {
16538	s.Connections = v
16539	return s
16540}
16541
16542// SetDefaultArguments sets the DefaultArguments field's value.
16543func (s *CreateJobInput) SetDefaultArguments(v map[string]*string) *CreateJobInput {
16544	s.DefaultArguments = v
16545	return s
16546}
16547
16548// SetDescription sets the Description field's value.
16549func (s *CreateJobInput) SetDescription(v string) *CreateJobInput {
16550	s.Description = &v
16551	return s
16552}
16553
16554// SetExecutionProperty sets the ExecutionProperty field's value.
16555func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput {
16556	s.ExecutionProperty = v
16557	return s
16558}
16559
16560// SetGlueVersion sets the GlueVersion field's value.
16561func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput {
16562	s.GlueVersion = &v
16563	return s
16564}
16565
16566// SetLogUri sets the LogUri field's value.
16567func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput {
16568	s.LogUri = &v
16569	return s
16570}
16571
16572// SetMaxCapacity sets the MaxCapacity field's value.
16573func (s *CreateJobInput) SetMaxCapacity(v float64) *CreateJobInput {
16574	s.MaxCapacity = &v
16575	return s
16576}
16577
16578// SetMaxRetries sets the MaxRetries field's value.
16579func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput {
16580	s.MaxRetries = &v
16581	return s
16582}
16583
16584// SetName sets the Name field's value.
16585func (s *CreateJobInput) SetName(v string) *CreateJobInput {
16586	s.Name = &v
16587	return s
16588}
16589
16590// SetNotificationProperty sets the NotificationProperty field's value.
16591func (s *CreateJobInput) SetNotificationProperty(v *NotificationProperty) *CreateJobInput {
16592	s.NotificationProperty = v
16593	return s
16594}
16595
16596// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16597func (s *CreateJobInput) SetNumberOfWorkers(v int64) *CreateJobInput {
16598	s.NumberOfWorkers = &v
16599	return s
16600}
16601
16602// SetRole sets the Role field's value.
16603func (s *CreateJobInput) SetRole(v string) *CreateJobInput {
16604	s.Role = &v
16605	return s
16606}
16607
16608// SetSecurityConfiguration sets the SecurityConfiguration field's value.
16609func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput {
16610	s.SecurityConfiguration = &v
16611	return s
16612}
16613
16614// SetTags sets the Tags field's value.
16615func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput {
16616	s.Tags = v
16617	return s
16618}
16619
16620// SetTimeout sets the Timeout field's value.
16621func (s *CreateJobInput) SetTimeout(v int64) *CreateJobInput {
16622	s.Timeout = &v
16623	return s
16624}
16625
16626// SetWorkerType sets the WorkerType field's value.
16627func (s *CreateJobInput) SetWorkerType(v string) *CreateJobInput {
16628	s.WorkerType = &v
16629	return s
16630}
16631
16632type CreateJobOutput struct {
16633	_ struct{} `type:"structure"`
16634
16635	// The unique name that was provided for this job definition.
16636	Name *string `min:"1" type:"string"`
16637}
16638
16639// String returns the string representation
16640func (s CreateJobOutput) String() string {
16641	return awsutil.Prettify(s)
16642}
16643
16644// GoString returns the string representation
16645func (s CreateJobOutput) GoString() string {
16646	return s.String()
16647}
16648
16649// SetName sets the Name field's value.
16650func (s *CreateJobOutput) SetName(v string) *CreateJobOutput {
16651	s.Name = &v
16652	return s
16653}
16654
16655// Specifies a JSON classifier for CreateClassifier to create.
16656type CreateJsonClassifierRequest struct {
16657	_ struct{} `type:"structure"`
16658
16659	// A JsonPath string defining the JSON data for the classifier to classify.
16660	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
16661	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
16662	//
16663	// JsonPath is a required field
16664	JsonPath *string `type:"string" required:"true"`
16665
16666	// The name of the classifier.
16667	//
16668	// Name is a required field
16669	Name *string `min:"1" type:"string" required:"true"`
16670}
16671
16672// String returns the string representation
16673func (s CreateJsonClassifierRequest) String() string {
16674	return awsutil.Prettify(s)
16675}
16676
16677// GoString returns the string representation
16678func (s CreateJsonClassifierRequest) GoString() string {
16679	return s.String()
16680}
16681
16682// Validate inspects the fields of the type to determine if they are valid.
16683func (s *CreateJsonClassifierRequest) Validate() error {
16684	invalidParams := request.ErrInvalidParams{Context: "CreateJsonClassifierRequest"}
16685	if s.JsonPath == nil {
16686		invalidParams.Add(request.NewErrParamRequired("JsonPath"))
16687	}
16688	if s.Name == nil {
16689		invalidParams.Add(request.NewErrParamRequired("Name"))
16690	}
16691	if s.Name != nil && len(*s.Name) < 1 {
16692		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16693	}
16694
16695	if invalidParams.Len() > 0 {
16696		return invalidParams
16697	}
16698	return nil
16699}
16700
16701// SetJsonPath sets the JsonPath field's value.
16702func (s *CreateJsonClassifierRequest) SetJsonPath(v string) *CreateJsonClassifierRequest {
16703	s.JsonPath = &v
16704	return s
16705}
16706
16707// SetName sets the Name field's value.
16708func (s *CreateJsonClassifierRequest) SetName(v string) *CreateJsonClassifierRequest {
16709	s.Name = &v
16710	return s
16711}
16712
16713type CreateMLTransformInput struct {
16714	_ struct{} `type:"structure"`
16715
16716	// A description of the machine learning transform that is being defined. The
16717	// default is an empty string.
16718	Description *string `type:"string"`
16719
16720	// A list of AWS Glue table definitions used by the transform.
16721	//
16722	// InputRecordTables is a required field
16723	InputRecordTables []*Table `type:"list" required:"true"`
16724
16725	// The number of AWS Glue data processing units (DPUs) that are allocated to
16726	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
16727	// is 10. A DPU is a relative measure of processing power that consists of 4
16728	// vCPUs of compute capacity and 16 GB of memory. For more information, see
16729	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
16730	//
16731	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
16732	// field is set automatically and becomes read-only.
16733	MaxCapacity *float64 `type:"double"`
16734
16735	// The maximum number of times to retry a task for this transform after a task
16736	// run fails.
16737	MaxRetries *int64 `type:"integer"`
16738
16739	// The unique name that you give the transform when you create it.
16740	//
16741	// Name is a required field
16742	Name *string `min:"1" type:"string" required:"true"`
16743
16744	// The number of workers of a defined workerType that are allocated when this
16745	// task runs.
16746	NumberOfWorkers *int64 `type:"integer"`
16747
16748	// The algorithmic parameters that are specific to the transform type used.
16749	// Conditionally dependent on the transform type.
16750	//
16751	// Parameters is a required field
16752	Parameters *TransformParameters `type:"structure" required:"true"`
16753
16754	// The name or Amazon Resource Name (ARN) of the IAM role with the required
16755	// permissions. Ensure that this role has permission to your Amazon Simple Storage
16756	// Service (Amazon S3) sources, targets, temporary directory, scripts, and any
16757	// libraries that are used by the task run for this transform.
16758	//
16759	// Role is a required field
16760	Role *string `type:"string" required:"true"`
16761
16762	// The timeout of the task run for this transform in minutes. This is the maximum
16763	// time that a task run for this transform can consume resources before it is
16764	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
16765	Timeout *int64 `min:"1" type:"integer"`
16766
16767	// The type of predefined worker that is allocated when this task runs. Accepts
16768	// a value of Standard, G.1X, or G.2X.
16769	//
16770	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
16771	//    memory and a 50GB disk, and 2 executors per worker.
16772	//
16773	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
16774	//    and a 64GB disk, and 1 executor per worker.
16775	//
16776	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
16777	//    and a 128GB disk, and 1 executor per worker.
16778	WorkerType *string `type:"string" enum:"WorkerType"`
16779}
16780
16781// String returns the string representation
16782func (s CreateMLTransformInput) String() string {
16783	return awsutil.Prettify(s)
16784}
16785
16786// GoString returns the string representation
16787func (s CreateMLTransformInput) GoString() string {
16788	return s.String()
16789}
16790
16791// Validate inspects the fields of the type to determine if they are valid.
16792func (s *CreateMLTransformInput) Validate() error {
16793	invalidParams := request.ErrInvalidParams{Context: "CreateMLTransformInput"}
16794	if s.InputRecordTables == nil {
16795		invalidParams.Add(request.NewErrParamRequired("InputRecordTables"))
16796	}
16797	if s.Name == nil {
16798		invalidParams.Add(request.NewErrParamRequired("Name"))
16799	}
16800	if s.Name != nil && len(*s.Name) < 1 {
16801		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16802	}
16803	if s.Parameters == nil {
16804		invalidParams.Add(request.NewErrParamRequired("Parameters"))
16805	}
16806	if s.Role == nil {
16807		invalidParams.Add(request.NewErrParamRequired("Role"))
16808	}
16809	if s.Timeout != nil && *s.Timeout < 1 {
16810		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
16811	}
16812	if s.InputRecordTables != nil {
16813		for i, v := range s.InputRecordTables {
16814			if v == nil {
16815				continue
16816			}
16817			if err := v.Validate(); err != nil {
16818				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputRecordTables", i), err.(request.ErrInvalidParams))
16819			}
16820		}
16821	}
16822	if s.Parameters != nil {
16823		if err := s.Parameters.Validate(); err != nil {
16824			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
16825		}
16826	}
16827
16828	if invalidParams.Len() > 0 {
16829		return invalidParams
16830	}
16831	return nil
16832}
16833
16834// SetDescription sets the Description field's value.
16835func (s *CreateMLTransformInput) SetDescription(v string) *CreateMLTransformInput {
16836	s.Description = &v
16837	return s
16838}
16839
16840// SetInputRecordTables sets the InputRecordTables field's value.
16841func (s *CreateMLTransformInput) SetInputRecordTables(v []*Table) *CreateMLTransformInput {
16842	s.InputRecordTables = v
16843	return s
16844}
16845
16846// SetMaxCapacity sets the MaxCapacity field's value.
16847func (s *CreateMLTransformInput) SetMaxCapacity(v float64) *CreateMLTransformInput {
16848	s.MaxCapacity = &v
16849	return s
16850}
16851
16852// SetMaxRetries sets the MaxRetries field's value.
16853func (s *CreateMLTransformInput) SetMaxRetries(v int64) *CreateMLTransformInput {
16854	s.MaxRetries = &v
16855	return s
16856}
16857
16858// SetName sets the Name field's value.
16859func (s *CreateMLTransformInput) SetName(v string) *CreateMLTransformInput {
16860	s.Name = &v
16861	return s
16862}
16863
16864// SetNumberOfWorkers sets the NumberOfWorkers field's value.
16865func (s *CreateMLTransformInput) SetNumberOfWorkers(v int64) *CreateMLTransformInput {
16866	s.NumberOfWorkers = &v
16867	return s
16868}
16869
16870// SetParameters sets the Parameters field's value.
16871func (s *CreateMLTransformInput) SetParameters(v *TransformParameters) *CreateMLTransformInput {
16872	s.Parameters = v
16873	return s
16874}
16875
16876// SetRole sets the Role field's value.
16877func (s *CreateMLTransformInput) SetRole(v string) *CreateMLTransformInput {
16878	s.Role = &v
16879	return s
16880}
16881
16882// SetTimeout sets the Timeout field's value.
16883func (s *CreateMLTransformInput) SetTimeout(v int64) *CreateMLTransformInput {
16884	s.Timeout = &v
16885	return s
16886}
16887
16888// SetWorkerType sets the WorkerType field's value.
16889func (s *CreateMLTransformInput) SetWorkerType(v string) *CreateMLTransformInput {
16890	s.WorkerType = &v
16891	return s
16892}
16893
16894type CreateMLTransformOutput struct {
16895	_ struct{} `type:"structure"`
16896
16897	// A unique identifier that is generated for the transform.
16898	TransformId *string `min:"1" type:"string"`
16899}
16900
16901// String returns the string representation
16902func (s CreateMLTransformOutput) String() string {
16903	return awsutil.Prettify(s)
16904}
16905
16906// GoString returns the string representation
16907func (s CreateMLTransformOutput) GoString() string {
16908	return s.String()
16909}
16910
16911// SetTransformId sets the TransformId field's value.
16912func (s *CreateMLTransformOutput) SetTransformId(v string) *CreateMLTransformOutput {
16913	s.TransformId = &v
16914	return s
16915}
16916
16917type CreatePartitionInput struct {
16918	_ struct{} `type:"structure"`
16919
16920	// The AWS account ID of the catalog in which the partition is to be created.
16921	CatalogId *string `min:"1" type:"string"`
16922
16923	// The name of the metadata database in which the partition is to be created.
16924	//
16925	// DatabaseName is a required field
16926	DatabaseName *string `min:"1" type:"string" required:"true"`
16927
16928	// A PartitionInput structure defining the partition to be created.
16929	//
16930	// PartitionInput is a required field
16931	PartitionInput *PartitionInput `type:"structure" required:"true"`
16932
16933	// The name of the metadata table in which the partition is to be created.
16934	//
16935	// TableName is a required field
16936	TableName *string `min:"1" type:"string" required:"true"`
16937}
16938
16939// String returns the string representation
16940func (s CreatePartitionInput) String() string {
16941	return awsutil.Prettify(s)
16942}
16943
16944// GoString returns the string representation
16945func (s CreatePartitionInput) GoString() string {
16946	return s.String()
16947}
16948
16949// Validate inspects the fields of the type to determine if they are valid.
16950func (s *CreatePartitionInput) Validate() error {
16951	invalidParams := request.ErrInvalidParams{Context: "CreatePartitionInput"}
16952	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
16953		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
16954	}
16955	if s.DatabaseName == nil {
16956		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
16957	}
16958	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
16959		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
16960	}
16961	if s.PartitionInput == nil {
16962		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
16963	}
16964	if s.TableName == nil {
16965		invalidParams.Add(request.NewErrParamRequired("TableName"))
16966	}
16967	if s.TableName != nil && len(*s.TableName) < 1 {
16968		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
16969	}
16970	if s.PartitionInput != nil {
16971		if err := s.PartitionInput.Validate(); err != nil {
16972			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
16973		}
16974	}
16975
16976	if invalidParams.Len() > 0 {
16977		return invalidParams
16978	}
16979	return nil
16980}
16981
16982// SetCatalogId sets the CatalogId field's value.
16983func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput {
16984	s.CatalogId = &v
16985	return s
16986}
16987
16988// SetDatabaseName sets the DatabaseName field's value.
16989func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput {
16990	s.DatabaseName = &v
16991	return s
16992}
16993
16994// SetPartitionInput sets the PartitionInput field's value.
16995func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput {
16996	s.PartitionInput = v
16997	return s
16998}
16999
17000// SetTableName sets the TableName field's value.
17001func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput {
17002	s.TableName = &v
17003	return s
17004}
17005
17006type CreatePartitionOutput struct {
17007	_ struct{} `type:"structure"`
17008}
17009
17010// String returns the string representation
17011func (s CreatePartitionOutput) String() string {
17012	return awsutil.Prettify(s)
17013}
17014
17015// GoString returns the string representation
17016func (s CreatePartitionOutput) GoString() string {
17017	return s.String()
17018}
17019
17020type CreateScriptInput struct {
17021	_ struct{} `type:"structure"`
17022
17023	// A list of the edges in the DAG.
17024	DagEdges []*CodeGenEdge `type:"list"`
17025
17026	// A list of the nodes in the DAG.
17027	DagNodes []*CodeGenNode `type:"list"`
17028
17029	// The programming language of the resulting code from the DAG.
17030	Language *string `type:"string" enum:"Language"`
17031}
17032
17033// String returns the string representation
17034func (s CreateScriptInput) String() string {
17035	return awsutil.Prettify(s)
17036}
17037
17038// GoString returns the string representation
17039func (s CreateScriptInput) GoString() string {
17040	return s.String()
17041}
17042
17043// Validate inspects the fields of the type to determine if they are valid.
17044func (s *CreateScriptInput) Validate() error {
17045	invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"}
17046	if s.DagEdges != nil {
17047		for i, v := range s.DagEdges {
17048			if v == nil {
17049				continue
17050			}
17051			if err := v.Validate(); err != nil {
17052				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams))
17053			}
17054		}
17055	}
17056	if s.DagNodes != nil {
17057		for i, v := range s.DagNodes {
17058			if v == nil {
17059				continue
17060			}
17061			if err := v.Validate(); err != nil {
17062				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams))
17063			}
17064		}
17065	}
17066
17067	if invalidParams.Len() > 0 {
17068		return invalidParams
17069	}
17070	return nil
17071}
17072
17073// SetDagEdges sets the DagEdges field's value.
17074func (s *CreateScriptInput) SetDagEdges(v []*CodeGenEdge) *CreateScriptInput {
17075	s.DagEdges = v
17076	return s
17077}
17078
17079// SetDagNodes sets the DagNodes field's value.
17080func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput {
17081	s.DagNodes = v
17082	return s
17083}
17084
17085// SetLanguage sets the Language field's value.
17086func (s *CreateScriptInput) SetLanguage(v string) *CreateScriptInput {
17087	s.Language = &v
17088	return s
17089}
17090
17091type CreateScriptOutput struct {
17092	_ struct{} `type:"structure"`
17093
17094	// The Python script generated from the DAG.
17095	PythonScript *string `type:"string"`
17096
17097	// The Scala code generated from the DAG.
17098	ScalaCode *string `type:"string"`
17099}
17100
17101// String returns the string representation
17102func (s CreateScriptOutput) String() string {
17103	return awsutil.Prettify(s)
17104}
17105
17106// GoString returns the string representation
17107func (s CreateScriptOutput) GoString() string {
17108	return s.String()
17109}
17110
17111// SetPythonScript sets the PythonScript field's value.
17112func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput {
17113	s.PythonScript = &v
17114	return s
17115}
17116
17117// SetScalaCode sets the ScalaCode field's value.
17118func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput {
17119	s.ScalaCode = &v
17120	return s
17121}
17122
17123type CreateSecurityConfigurationInput struct {
17124	_ struct{} `type:"structure"`
17125
17126	// The encryption configuration for the new security configuration.
17127	//
17128	// EncryptionConfiguration is a required field
17129	EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"`
17130
17131	// The name for the new security configuration.
17132	//
17133	// Name is a required field
17134	Name *string `min:"1" type:"string" required:"true"`
17135}
17136
17137// String returns the string representation
17138func (s CreateSecurityConfigurationInput) String() string {
17139	return awsutil.Prettify(s)
17140}
17141
17142// GoString returns the string representation
17143func (s CreateSecurityConfigurationInput) GoString() string {
17144	return s.String()
17145}
17146
17147// Validate inspects the fields of the type to determine if they are valid.
17148func (s *CreateSecurityConfigurationInput) Validate() error {
17149	invalidParams := request.ErrInvalidParams{Context: "CreateSecurityConfigurationInput"}
17150	if s.EncryptionConfiguration == nil {
17151		invalidParams.Add(request.NewErrParamRequired("EncryptionConfiguration"))
17152	}
17153	if s.Name == nil {
17154		invalidParams.Add(request.NewErrParamRequired("Name"))
17155	}
17156	if s.Name != nil && len(*s.Name) < 1 {
17157		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17158	}
17159
17160	if invalidParams.Len() > 0 {
17161		return invalidParams
17162	}
17163	return nil
17164}
17165
17166// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
17167func (s *CreateSecurityConfigurationInput) SetEncryptionConfiguration(v *EncryptionConfiguration) *CreateSecurityConfigurationInput {
17168	s.EncryptionConfiguration = v
17169	return s
17170}
17171
17172// SetName sets the Name field's value.
17173func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput {
17174	s.Name = &v
17175	return s
17176}
17177
17178type CreateSecurityConfigurationOutput struct {
17179	_ struct{} `type:"structure"`
17180
17181	// The time at which the new security configuration was created.
17182	CreatedTimestamp *time.Time `type:"timestamp"`
17183
17184	// The name assigned to the new security configuration.
17185	Name *string `min:"1" type:"string"`
17186}
17187
17188// String returns the string representation
17189func (s CreateSecurityConfigurationOutput) String() string {
17190	return awsutil.Prettify(s)
17191}
17192
17193// GoString returns the string representation
17194func (s CreateSecurityConfigurationOutput) GoString() string {
17195	return s.String()
17196}
17197
17198// SetCreatedTimestamp sets the CreatedTimestamp field's value.
17199func (s *CreateSecurityConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateSecurityConfigurationOutput {
17200	s.CreatedTimestamp = &v
17201	return s
17202}
17203
17204// SetName sets the Name field's value.
17205func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput {
17206	s.Name = &v
17207	return s
17208}
17209
17210type CreateTableInput struct {
17211	_ struct{} `type:"structure"`
17212
17213	// The ID of the Data Catalog in which to create the Table. If none is supplied,
17214	// the AWS account ID is used by default.
17215	CatalogId *string `min:"1" type:"string"`
17216
17217	// The catalog database in which to create the new table. For Hive compatibility,
17218	// this name is entirely lowercase.
17219	//
17220	// DatabaseName is a required field
17221	DatabaseName *string `min:"1" type:"string" required:"true"`
17222
17223	// The TableInput object that defines the metadata table to create in the catalog.
17224	//
17225	// TableInput is a required field
17226	TableInput *TableInput `type:"structure" required:"true"`
17227}
17228
17229// String returns the string representation
17230func (s CreateTableInput) String() string {
17231	return awsutil.Prettify(s)
17232}
17233
17234// GoString returns the string representation
17235func (s CreateTableInput) GoString() string {
17236	return s.String()
17237}
17238
17239// Validate inspects the fields of the type to determine if they are valid.
17240func (s *CreateTableInput) Validate() error {
17241	invalidParams := request.ErrInvalidParams{Context: "CreateTableInput"}
17242	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17243		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17244	}
17245	if s.DatabaseName == nil {
17246		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17247	}
17248	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17249		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17250	}
17251	if s.TableInput == nil {
17252		invalidParams.Add(request.NewErrParamRequired("TableInput"))
17253	}
17254	if s.TableInput != nil {
17255		if err := s.TableInput.Validate(); err != nil {
17256			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
17257		}
17258	}
17259
17260	if invalidParams.Len() > 0 {
17261		return invalidParams
17262	}
17263	return nil
17264}
17265
17266// SetCatalogId sets the CatalogId field's value.
17267func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput {
17268	s.CatalogId = &v
17269	return s
17270}
17271
17272// SetDatabaseName sets the DatabaseName field's value.
17273func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput {
17274	s.DatabaseName = &v
17275	return s
17276}
17277
17278// SetTableInput sets the TableInput field's value.
17279func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput {
17280	s.TableInput = v
17281	return s
17282}
17283
17284type CreateTableOutput struct {
17285	_ struct{} `type:"structure"`
17286}
17287
17288// String returns the string representation
17289func (s CreateTableOutput) String() string {
17290	return awsutil.Prettify(s)
17291}
17292
17293// GoString returns the string representation
17294func (s CreateTableOutput) GoString() string {
17295	return s.String()
17296}
17297
17298type CreateTriggerInput struct {
17299	_ struct{} `type:"structure"`
17300
17301	// The actions initiated by this trigger when it fires.
17302	//
17303	// Actions is a required field
17304	Actions []*Action `type:"list" required:"true"`
17305
17306	// A description of the new trigger.
17307	Description *string `type:"string"`
17308
17309	// The name of the trigger.
17310	//
17311	// Name is a required field
17312	Name *string `min:"1" type:"string" required:"true"`
17313
17314	// A predicate to specify when the new trigger should fire.
17315	//
17316	// This field is required when the trigger type is CONDITIONAL.
17317	Predicate *Predicate `type:"structure"`
17318
17319	// A cron expression used to specify the schedule (see Time-Based Schedules
17320	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
17321	// For example, to run something every day at 12:15 UTC, you would specify:
17322	// cron(15 12 * * ? *).
17323	//
17324	// This field is required when the trigger type is SCHEDULED.
17325	Schedule *string `type:"string"`
17326
17327	// Set to true to start SCHEDULED and CONDITIONAL triggers when created. True
17328	// is not supported for ON_DEMAND triggers.
17329	StartOnCreation *bool `type:"boolean"`
17330
17331	// The tags to use with this trigger. You may use tags to limit access to the
17332	// trigger. For more information about tags in AWS Glue, see AWS Tags in AWS
17333	// Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the
17334	// developer guide.
17335	Tags map[string]*string `type:"map"`
17336
17337	// The type of the new trigger.
17338	//
17339	// Type is a required field
17340	Type *string `type:"string" required:"true" enum:"TriggerType"`
17341
17342	// The name of the workflow associated with the trigger.
17343	WorkflowName *string `min:"1" type:"string"`
17344}
17345
17346// String returns the string representation
17347func (s CreateTriggerInput) String() string {
17348	return awsutil.Prettify(s)
17349}
17350
17351// GoString returns the string representation
17352func (s CreateTriggerInput) GoString() string {
17353	return s.String()
17354}
17355
17356// Validate inspects the fields of the type to determine if they are valid.
17357func (s *CreateTriggerInput) Validate() error {
17358	invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"}
17359	if s.Actions == nil {
17360		invalidParams.Add(request.NewErrParamRequired("Actions"))
17361	}
17362	if s.Name == nil {
17363		invalidParams.Add(request.NewErrParamRequired("Name"))
17364	}
17365	if s.Name != nil && len(*s.Name) < 1 {
17366		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17367	}
17368	if s.Type == nil {
17369		invalidParams.Add(request.NewErrParamRequired("Type"))
17370	}
17371	if s.WorkflowName != nil && len(*s.WorkflowName) < 1 {
17372		invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1))
17373	}
17374	if s.Actions != nil {
17375		for i, v := range s.Actions {
17376			if v == nil {
17377				continue
17378			}
17379			if err := v.Validate(); err != nil {
17380				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
17381			}
17382		}
17383	}
17384	if s.Predicate != nil {
17385		if err := s.Predicate.Validate(); err != nil {
17386			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
17387		}
17388	}
17389
17390	if invalidParams.Len() > 0 {
17391		return invalidParams
17392	}
17393	return nil
17394}
17395
17396// SetActions sets the Actions field's value.
17397func (s *CreateTriggerInput) SetActions(v []*Action) *CreateTriggerInput {
17398	s.Actions = v
17399	return s
17400}
17401
17402// SetDescription sets the Description field's value.
17403func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput {
17404	s.Description = &v
17405	return s
17406}
17407
17408// SetName sets the Name field's value.
17409func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput {
17410	s.Name = &v
17411	return s
17412}
17413
17414// SetPredicate sets the Predicate field's value.
17415func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput {
17416	s.Predicate = v
17417	return s
17418}
17419
17420// SetSchedule sets the Schedule field's value.
17421func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput {
17422	s.Schedule = &v
17423	return s
17424}
17425
17426// SetStartOnCreation sets the StartOnCreation field's value.
17427func (s *CreateTriggerInput) SetStartOnCreation(v bool) *CreateTriggerInput {
17428	s.StartOnCreation = &v
17429	return s
17430}
17431
17432// SetTags sets the Tags field's value.
17433func (s *CreateTriggerInput) SetTags(v map[string]*string) *CreateTriggerInput {
17434	s.Tags = v
17435	return s
17436}
17437
17438// SetType sets the Type field's value.
17439func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput {
17440	s.Type = &v
17441	return s
17442}
17443
17444// SetWorkflowName sets the WorkflowName field's value.
17445func (s *CreateTriggerInput) SetWorkflowName(v string) *CreateTriggerInput {
17446	s.WorkflowName = &v
17447	return s
17448}
17449
17450type CreateTriggerOutput struct {
17451	_ struct{} `type:"structure"`
17452
17453	// The name of the trigger.
17454	Name *string `min:"1" type:"string"`
17455}
17456
17457// String returns the string representation
17458func (s CreateTriggerOutput) String() string {
17459	return awsutil.Prettify(s)
17460}
17461
17462// GoString returns the string representation
17463func (s CreateTriggerOutput) GoString() string {
17464	return s.String()
17465}
17466
17467// SetName sets the Name field's value.
17468func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput {
17469	s.Name = &v
17470	return s
17471}
17472
17473type CreateUserDefinedFunctionInput struct {
17474	_ struct{} `type:"structure"`
17475
17476	// The ID of the Data Catalog in which to create the function. If none is provided,
17477	// the AWS account ID is used by default.
17478	CatalogId *string `min:"1" type:"string"`
17479
17480	// The name of the catalog database in which to create the function.
17481	//
17482	// DatabaseName is a required field
17483	DatabaseName *string `min:"1" type:"string" required:"true"`
17484
17485	// A FunctionInput object that defines the function to create in the Data Catalog.
17486	//
17487	// FunctionInput is a required field
17488	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
17489}
17490
17491// String returns the string representation
17492func (s CreateUserDefinedFunctionInput) String() string {
17493	return awsutil.Prettify(s)
17494}
17495
17496// GoString returns the string representation
17497func (s CreateUserDefinedFunctionInput) GoString() string {
17498	return s.String()
17499}
17500
17501// Validate inspects the fields of the type to determine if they are valid.
17502func (s *CreateUserDefinedFunctionInput) Validate() error {
17503	invalidParams := request.ErrInvalidParams{Context: "CreateUserDefinedFunctionInput"}
17504	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
17505		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
17506	}
17507	if s.DatabaseName == nil {
17508		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
17509	}
17510	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
17511		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
17512	}
17513	if s.FunctionInput == nil {
17514		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
17515	}
17516	if s.FunctionInput != nil {
17517		if err := s.FunctionInput.Validate(); err != nil {
17518			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
17519		}
17520	}
17521
17522	if invalidParams.Len() > 0 {
17523		return invalidParams
17524	}
17525	return nil
17526}
17527
17528// SetCatalogId sets the CatalogId field's value.
17529func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput {
17530	s.CatalogId = &v
17531	return s
17532}
17533
17534// SetDatabaseName sets the DatabaseName field's value.
17535func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput {
17536	s.DatabaseName = &v
17537	return s
17538}
17539
17540// SetFunctionInput sets the FunctionInput field's value.
17541func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput {
17542	s.FunctionInput = v
17543	return s
17544}
17545
17546type CreateUserDefinedFunctionOutput struct {
17547	_ struct{} `type:"structure"`
17548}
17549
17550// String returns the string representation
17551func (s CreateUserDefinedFunctionOutput) String() string {
17552	return awsutil.Prettify(s)
17553}
17554
17555// GoString returns the string representation
17556func (s CreateUserDefinedFunctionOutput) GoString() string {
17557	return s.String()
17558}
17559
17560type CreateWorkflowInput struct {
17561	_ struct{} `type:"structure"`
17562
17563	// A collection of properties to be used as part of each execution of the workflow.
17564	DefaultRunProperties map[string]*string `type:"map"`
17565
17566	// A description of the workflow.
17567	Description *string `type:"string"`
17568
17569	// The name to be assigned to the workflow. It should be unique within your
17570	// account.
17571	//
17572	// Name is a required field
17573	Name *string `min:"1" type:"string" required:"true"`
17574
17575	// The tags to be used with this workflow.
17576	Tags map[string]*string `type:"map"`
17577}
17578
17579// String returns the string representation
17580func (s CreateWorkflowInput) String() string {
17581	return awsutil.Prettify(s)
17582}
17583
17584// GoString returns the string representation
17585func (s CreateWorkflowInput) GoString() string {
17586	return s.String()
17587}
17588
17589// Validate inspects the fields of the type to determine if they are valid.
17590func (s *CreateWorkflowInput) Validate() error {
17591	invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"}
17592	if s.Name == nil {
17593		invalidParams.Add(request.NewErrParamRequired("Name"))
17594	}
17595	if s.Name != nil && len(*s.Name) < 1 {
17596		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17597	}
17598
17599	if invalidParams.Len() > 0 {
17600		return invalidParams
17601	}
17602	return nil
17603}
17604
17605// SetDefaultRunProperties sets the DefaultRunProperties field's value.
17606func (s *CreateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *CreateWorkflowInput {
17607	s.DefaultRunProperties = v
17608	return s
17609}
17610
17611// SetDescription sets the Description field's value.
17612func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput {
17613	s.Description = &v
17614	return s
17615}
17616
17617// SetName sets the Name field's value.
17618func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput {
17619	s.Name = &v
17620	return s
17621}
17622
17623// SetTags sets the Tags field's value.
17624func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput {
17625	s.Tags = v
17626	return s
17627}
17628
17629type CreateWorkflowOutput struct {
17630	_ struct{} `type:"structure"`
17631
17632	// The name of the workflow which was provided as part of the request.
17633	Name *string `min:"1" type:"string"`
17634}
17635
17636// String returns the string representation
17637func (s CreateWorkflowOutput) String() string {
17638	return awsutil.Prettify(s)
17639}
17640
17641// GoString returns the string representation
17642func (s CreateWorkflowOutput) GoString() string {
17643	return s.String()
17644}
17645
17646// SetName sets the Name field's value.
17647func (s *CreateWorkflowOutput) SetName(v string) *CreateWorkflowOutput {
17648	s.Name = &v
17649	return s
17650}
17651
17652// Specifies an XML classifier for CreateClassifier to create.
17653type CreateXMLClassifierRequest struct {
17654	_ struct{} `type:"structure"`
17655
17656	// An identifier of the data format that the classifier matches.
17657	//
17658	// Classification is a required field
17659	Classification *string `type:"string" required:"true"`
17660
17661	// The name of the classifier.
17662	//
17663	// Name is a required field
17664	Name *string `min:"1" type:"string" required:"true"`
17665
17666	// The XML tag designating the element that contains each record in an XML document
17667	// being parsed. This can't identify a self-closing element (closed by />).
17668	// An empty row element that contains only attributes can be parsed as long
17669	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
17670	// is okay, but <row item_a="A" item_b="B" /> is not).
17671	RowTag *string `type:"string"`
17672}
17673
17674// String returns the string representation
17675func (s CreateXMLClassifierRequest) String() string {
17676	return awsutil.Prettify(s)
17677}
17678
17679// GoString returns the string representation
17680func (s CreateXMLClassifierRequest) GoString() string {
17681	return s.String()
17682}
17683
17684// Validate inspects the fields of the type to determine if they are valid.
17685func (s *CreateXMLClassifierRequest) Validate() error {
17686	invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"}
17687	if s.Classification == nil {
17688		invalidParams.Add(request.NewErrParamRequired("Classification"))
17689	}
17690	if s.Name == nil {
17691		invalidParams.Add(request.NewErrParamRequired("Name"))
17692	}
17693	if s.Name != nil && len(*s.Name) < 1 {
17694		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17695	}
17696
17697	if invalidParams.Len() > 0 {
17698		return invalidParams
17699	}
17700	return nil
17701}
17702
17703// SetClassification sets the Classification field's value.
17704func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest {
17705	s.Classification = &v
17706	return s
17707}
17708
17709// SetName sets the Name field's value.
17710func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest {
17711	s.Name = &v
17712	return s
17713}
17714
17715// SetRowTag sets the RowTag field's value.
17716func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest {
17717	s.RowTag = &v
17718	return s
17719}
17720
17721// A classifier for custom CSV content.
17722type CsvClassifier struct {
17723	_ struct{} `type:"structure"`
17724
17725	// Enables the processing of files that contain only one column.
17726	AllowSingleColumn *bool `type:"boolean"`
17727
17728	// Indicates whether the CSV file contains a header.
17729	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
17730
17731	// The time that this classifier was registered.
17732	CreationTime *time.Time `type:"timestamp"`
17733
17734	// A custom symbol to denote what separates each column entry in the row.
17735	Delimiter *string `min:"1" type:"string"`
17736
17737	// Specifies not to trim values before identifying the type of column values.
17738	// The default value is true.
17739	DisableValueTrimming *bool `type:"boolean"`
17740
17741	// A list of strings representing column names.
17742	Header []*string `type:"list"`
17743
17744	// The time that this classifier was last updated.
17745	LastUpdated *time.Time `type:"timestamp"`
17746
17747	// The name of the classifier.
17748	//
17749	// Name is a required field
17750	Name *string `min:"1" type:"string" required:"true"`
17751
17752	// A custom symbol to denote what combines content into a single column value.
17753	// It must be different from the column delimiter.
17754	QuoteSymbol *string `min:"1" type:"string"`
17755
17756	// The version of this classifier.
17757	Version *int64 `type:"long"`
17758}
17759
17760// String returns the string representation
17761func (s CsvClassifier) String() string {
17762	return awsutil.Prettify(s)
17763}
17764
17765// GoString returns the string representation
17766func (s CsvClassifier) GoString() string {
17767	return s.String()
17768}
17769
17770// SetAllowSingleColumn sets the AllowSingleColumn field's value.
17771func (s *CsvClassifier) SetAllowSingleColumn(v bool) *CsvClassifier {
17772	s.AllowSingleColumn = &v
17773	return s
17774}
17775
17776// SetContainsHeader sets the ContainsHeader field's value.
17777func (s *CsvClassifier) SetContainsHeader(v string) *CsvClassifier {
17778	s.ContainsHeader = &v
17779	return s
17780}
17781
17782// SetCreationTime sets the CreationTime field's value.
17783func (s *CsvClassifier) SetCreationTime(v time.Time) *CsvClassifier {
17784	s.CreationTime = &v
17785	return s
17786}
17787
17788// SetDelimiter sets the Delimiter field's value.
17789func (s *CsvClassifier) SetDelimiter(v string) *CsvClassifier {
17790	s.Delimiter = &v
17791	return s
17792}
17793
17794// SetDisableValueTrimming sets the DisableValueTrimming field's value.
17795func (s *CsvClassifier) SetDisableValueTrimming(v bool) *CsvClassifier {
17796	s.DisableValueTrimming = &v
17797	return s
17798}
17799
17800// SetHeader sets the Header field's value.
17801func (s *CsvClassifier) SetHeader(v []*string) *CsvClassifier {
17802	s.Header = v
17803	return s
17804}
17805
17806// SetLastUpdated sets the LastUpdated field's value.
17807func (s *CsvClassifier) SetLastUpdated(v time.Time) *CsvClassifier {
17808	s.LastUpdated = &v
17809	return s
17810}
17811
17812// SetName sets the Name field's value.
17813func (s *CsvClassifier) SetName(v string) *CsvClassifier {
17814	s.Name = &v
17815	return s
17816}
17817
17818// SetQuoteSymbol sets the QuoteSymbol field's value.
17819func (s *CsvClassifier) SetQuoteSymbol(v string) *CsvClassifier {
17820	s.QuoteSymbol = &v
17821	return s
17822}
17823
17824// SetVersion sets the Version field's value.
17825func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier {
17826	s.Version = &v
17827	return s
17828}
17829
17830// Contains configuration information for maintaining Data Catalog security.
17831type DataCatalogEncryptionSettings struct {
17832	_ struct{} `type:"structure"`
17833
17834	// When connection password protection is enabled, the Data Catalog uses a customer-provided
17835	// key to encrypt the password as part of CreateConnection or UpdateConnection
17836	// and store it in the ENCRYPTED_PASSWORD field in the connection properties.
17837	// You can enable catalog encryption or only password encryption.
17838	ConnectionPasswordEncryption *ConnectionPasswordEncryption `type:"structure"`
17839
17840	// Specifies the encryption-at-rest configuration for the Data Catalog.
17841	EncryptionAtRest *EncryptionAtRest `type:"structure"`
17842}
17843
17844// String returns the string representation
17845func (s DataCatalogEncryptionSettings) String() string {
17846	return awsutil.Prettify(s)
17847}
17848
17849// GoString returns the string representation
17850func (s DataCatalogEncryptionSettings) GoString() string {
17851	return s.String()
17852}
17853
17854// Validate inspects the fields of the type to determine if they are valid.
17855func (s *DataCatalogEncryptionSettings) Validate() error {
17856	invalidParams := request.ErrInvalidParams{Context: "DataCatalogEncryptionSettings"}
17857	if s.ConnectionPasswordEncryption != nil {
17858		if err := s.ConnectionPasswordEncryption.Validate(); err != nil {
17859			invalidParams.AddNested("ConnectionPasswordEncryption", err.(request.ErrInvalidParams))
17860		}
17861	}
17862	if s.EncryptionAtRest != nil {
17863		if err := s.EncryptionAtRest.Validate(); err != nil {
17864			invalidParams.AddNested("EncryptionAtRest", err.(request.ErrInvalidParams))
17865		}
17866	}
17867
17868	if invalidParams.Len() > 0 {
17869		return invalidParams
17870	}
17871	return nil
17872}
17873
17874// SetConnectionPasswordEncryption sets the ConnectionPasswordEncryption field's value.
17875func (s *DataCatalogEncryptionSettings) SetConnectionPasswordEncryption(v *ConnectionPasswordEncryption) *DataCatalogEncryptionSettings {
17876	s.ConnectionPasswordEncryption = v
17877	return s
17878}
17879
17880// SetEncryptionAtRest sets the EncryptionAtRest field's value.
17881func (s *DataCatalogEncryptionSettings) SetEncryptionAtRest(v *EncryptionAtRest) *DataCatalogEncryptionSettings {
17882	s.EncryptionAtRest = v
17883	return s
17884}
17885
17886// The AWS Lake Formation principal.
17887type DataLakePrincipal struct {
17888	_ struct{} `type:"structure"`
17889
17890	// An identifier for the AWS Lake Formation principal.
17891	DataLakePrincipalIdentifier *string `min:"1" type:"string"`
17892}
17893
17894// String returns the string representation
17895func (s DataLakePrincipal) String() string {
17896	return awsutil.Prettify(s)
17897}
17898
17899// GoString returns the string representation
17900func (s DataLakePrincipal) GoString() string {
17901	return s.String()
17902}
17903
17904// Validate inspects the fields of the type to determine if they are valid.
17905func (s *DataLakePrincipal) Validate() error {
17906	invalidParams := request.ErrInvalidParams{Context: "DataLakePrincipal"}
17907	if s.DataLakePrincipalIdentifier != nil && len(*s.DataLakePrincipalIdentifier) < 1 {
17908		invalidParams.Add(request.NewErrParamMinLen("DataLakePrincipalIdentifier", 1))
17909	}
17910
17911	if invalidParams.Len() > 0 {
17912		return invalidParams
17913	}
17914	return nil
17915}
17916
17917// SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value.
17918func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal {
17919	s.DataLakePrincipalIdentifier = &v
17920	return s
17921}
17922
17923// The Database object represents a logical grouping of tables that might reside
17924// in a Hive metastore or an RDBMS.
17925type Database struct {
17926	_ struct{} `type:"structure"`
17927
17928	// Creates a set of default permissions on the table for principals.
17929	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
17930
17931	// The time at which the metadata database was created in the catalog.
17932	CreateTime *time.Time `type:"timestamp"`
17933
17934	// A description of the database.
17935	Description *string `type:"string"`
17936
17937	// The location of the database (for example, an HDFS path).
17938	LocationUri *string `min:"1" type:"string"`
17939
17940	// The name of the database. For Hive compatibility, this is folded to lowercase
17941	// when it is stored.
17942	//
17943	// Name is a required field
17944	Name *string `min:"1" type:"string" required:"true"`
17945
17946	// These key-value pairs define parameters and properties of the database.
17947	Parameters map[string]*string `type:"map"`
17948}
17949
17950// String returns the string representation
17951func (s Database) String() string {
17952	return awsutil.Prettify(s)
17953}
17954
17955// GoString returns the string representation
17956func (s Database) GoString() string {
17957	return s.String()
17958}
17959
17960// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
17961func (s *Database) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *Database {
17962	s.CreateTableDefaultPermissions = v
17963	return s
17964}
17965
17966// SetCreateTime sets the CreateTime field's value.
17967func (s *Database) SetCreateTime(v time.Time) *Database {
17968	s.CreateTime = &v
17969	return s
17970}
17971
17972// SetDescription sets the Description field's value.
17973func (s *Database) SetDescription(v string) *Database {
17974	s.Description = &v
17975	return s
17976}
17977
17978// SetLocationUri sets the LocationUri field's value.
17979func (s *Database) SetLocationUri(v string) *Database {
17980	s.LocationUri = &v
17981	return s
17982}
17983
17984// SetName sets the Name field's value.
17985func (s *Database) SetName(v string) *Database {
17986	s.Name = &v
17987	return s
17988}
17989
17990// SetParameters sets the Parameters field's value.
17991func (s *Database) SetParameters(v map[string]*string) *Database {
17992	s.Parameters = v
17993	return s
17994}
17995
17996// The structure used to create or update a database.
17997type DatabaseInput struct {
17998	_ struct{} `type:"structure"`
17999
18000	// Creates a set of default permissions on the table for principals.
18001	CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"`
18002
18003	// A description of the database.
18004	Description *string `type:"string"`
18005
18006	// The location of the database (for example, an HDFS path).
18007	LocationUri *string `min:"1" type:"string"`
18008
18009	// The name of the database. For Hive compatibility, this is folded to lowercase
18010	// when it is stored.
18011	//
18012	// Name is a required field
18013	Name *string `min:"1" type:"string" required:"true"`
18014
18015	// These key-value pairs define parameters and properties of the database.
18016	//
18017	// These key-value pairs define parameters and properties of the database.
18018	Parameters map[string]*string `type:"map"`
18019}
18020
18021// String returns the string representation
18022func (s DatabaseInput) String() string {
18023	return awsutil.Prettify(s)
18024}
18025
18026// GoString returns the string representation
18027func (s DatabaseInput) GoString() string {
18028	return s.String()
18029}
18030
18031// Validate inspects the fields of the type to determine if they are valid.
18032func (s *DatabaseInput) Validate() error {
18033	invalidParams := request.ErrInvalidParams{Context: "DatabaseInput"}
18034	if s.LocationUri != nil && len(*s.LocationUri) < 1 {
18035		invalidParams.Add(request.NewErrParamMinLen("LocationUri", 1))
18036	}
18037	if s.Name == nil {
18038		invalidParams.Add(request.NewErrParamRequired("Name"))
18039	}
18040	if s.Name != nil && len(*s.Name) < 1 {
18041		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18042	}
18043	if s.CreateTableDefaultPermissions != nil {
18044		for i, v := range s.CreateTableDefaultPermissions {
18045			if v == nil {
18046				continue
18047			}
18048			if err := v.Validate(); err != nil {
18049				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CreateTableDefaultPermissions", i), err.(request.ErrInvalidParams))
18050			}
18051		}
18052	}
18053
18054	if invalidParams.Len() > 0 {
18055		return invalidParams
18056	}
18057	return nil
18058}
18059
18060// SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
18061func (s *DatabaseInput) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DatabaseInput {
18062	s.CreateTableDefaultPermissions = v
18063	return s
18064}
18065
18066// SetDescription sets the Description field's value.
18067func (s *DatabaseInput) SetDescription(v string) *DatabaseInput {
18068	s.Description = &v
18069	return s
18070}
18071
18072// SetLocationUri sets the LocationUri field's value.
18073func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput {
18074	s.LocationUri = &v
18075	return s
18076}
18077
18078// SetName sets the Name field's value.
18079func (s *DatabaseInput) SetName(v string) *DatabaseInput {
18080	s.Name = &v
18081	return s
18082}
18083
18084// SetParameters sets the Parameters field's value.
18085func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput {
18086	s.Parameters = v
18087	return s
18088}
18089
18090type DeleteClassifierInput struct {
18091	_ struct{} `type:"structure"`
18092
18093	// Name of the classifier to remove.
18094	//
18095	// Name is a required field
18096	Name *string `min:"1" type:"string" required:"true"`
18097}
18098
18099// String returns the string representation
18100func (s DeleteClassifierInput) String() string {
18101	return awsutil.Prettify(s)
18102}
18103
18104// GoString returns the string representation
18105func (s DeleteClassifierInput) GoString() string {
18106	return s.String()
18107}
18108
18109// Validate inspects the fields of the type to determine if they are valid.
18110func (s *DeleteClassifierInput) Validate() error {
18111	invalidParams := request.ErrInvalidParams{Context: "DeleteClassifierInput"}
18112	if s.Name == nil {
18113		invalidParams.Add(request.NewErrParamRequired("Name"))
18114	}
18115	if s.Name != nil && len(*s.Name) < 1 {
18116		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18117	}
18118
18119	if invalidParams.Len() > 0 {
18120		return invalidParams
18121	}
18122	return nil
18123}
18124
18125// SetName sets the Name field's value.
18126func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput {
18127	s.Name = &v
18128	return s
18129}
18130
18131type DeleteClassifierOutput struct {
18132	_ struct{} `type:"structure"`
18133}
18134
18135// String returns the string representation
18136func (s DeleteClassifierOutput) String() string {
18137	return awsutil.Prettify(s)
18138}
18139
18140// GoString returns the string representation
18141func (s DeleteClassifierOutput) GoString() string {
18142	return s.String()
18143}
18144
18145type DeleteConnectionInput struct {
18146	_ struct{} `type:"structure"`
18147
18148	// The ID of the Data Catalog in which the connection resides. If none is provided,
18149	// the AWS account ID is used by default.
18150	CatalogId *string `min:"1" type:"string"`
18151
18152	// The name of the connection to delete.
18153	//
18154	// ConnectionName is a required field
18155	ConnectionName *string `min:"1" type:"string" required:"true"`
18156}
18157
18158// String returns the string representation
18159func (s DeleteConnectionInput) String() string {
18160	return awsutil.Prettify(s)
18161}
18162
18163// GoString returns the string representation
18164func (s DeleteConnectionInput) GoString() string {
18165	return s.String()
18166}
18167
18168// Validate inspects the fields of the type to determine if they are valid.
18169func (s *DeleteConnectionInput) Validate() error {
18170	invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"}
18171	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18172		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18173	}
18174	if s.ConnectionName == nil {
18175		invalidParams.Add(request.NewErrParamRequired("ConnectionName"))
18176	}
18177	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
18178		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
18179	}
18180
18181	if invalidParams.Len() > 0 {
18182		return invalidParams
18183	}
18184	return nil
18185}
18186
18187// SetCatalogId sets the CatalogId field's value.
18188func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput {
18189	s.CatalogId = &v
18190	return s
18191}
18192
18193// SetConnectionName sets the ConnectionName field's value.
18194func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput {
18195	s.ConnectionName = &v
18196	return s
18197}
18198
18199type DeleteConnectionOutput struct {
18200	_ struct{} `type:"structure"`
18201}
18202
18203// String returns the string representation
18204func (s DeleteConnectionOutput) String() string {
18205	return awsutil.Prettify(s)
18206}
18207
18208// GoString returns the string representation
18209func (s DeleteConnectionOutput) GoString() string {
18210	return s.String()
18211}
18212
18213type DeleteCrawlerInput struct {
18214	_ struct{} `type:"structure"`
18215
18216	// The name of the crawler to remove.
18217	//
18218	// Name is a required field
18219	Name *string `min:"1" type:"string" required:"true"`
18220}
18221
18222// String returns the string representation
18223func (s DeleteCrawlerInput) String() string {
18224	return awsutil.Prettify(s)
18225}
18226
18227// GoString returns the string representation
18228func (s DeleteCrawlerInput) GoString() string {
18229	return s.String()
18230}
18231
18232// Validate inspects the fields of the type to determine if they are valid.
18233func (s *DeleteCrawlerInput) Validate() error {
18234	invalidParams := request.ErrInvalidParams{Context: "DeleteCrawlerInput"}
18235	if s.Name == nil {
18236		invalidParams.Add(request.NewErrParamRequired("Name"))
18237	}
18238	if s.Name != nil && len(*s.Name) < 1 {
18239		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18240	}
18241
18242	if invalidParams.Len() > 0 {
18243		return invalidParams
18244	}
18245	return nil
18246}
18247
18248// SetName sets the Name field's value.
18249func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput {
18250	s.Name = &v
18251	return s
18252}
18253
18254type DeleteCrawlerOutput struct {
18255	_ struct{} `type:"structure"`
18256}
18257
18258// String returns the string representation
18259func (s DeleteCrawlerOutput) String() string {
18260	return awsutil.Prettify(s)
18261}
18262
18263// GoString returns the string representation
18264func (s DeleteCrawlerOutput) GoString() string {
18265	return s.String()
18266}
18267
18268type DeleteDatabaseInput struct {
18269	_ struct{} `type:"structure"`
18270
18271	// The ID of the Data Catalog in which the database resides. If none is provided,
18272	// the AWS account ID is used by default.
18273	CatalogId *string `min:"1" type:"string"`
18274
18275	// The name of the database to delete. For Hive compatibility, this must be
18276	// all lowercase.
18277	//
18278	// Name is a required field
18279	Name *string `min:"1" type:"string" required:"true"`
18280}
18281
18282// String returns the string representation
18283func (s DeleteDatabaseInput) String() string {
18284	return awsutil.Prettify(s)
18285}
18286
18287// GoString returns the string representation
18288func (s DeleteDatabaseInput) GoString() string {
18289	return s.String()
18290}
18291
18292// Validate inspects the fields of the type to determine if they are valid.
18293func (s *DeleteDatabaseInput) Validate() error {
18294	invalidParams := request.ErrInvalidParams{Context: "DeleteDatabaseInput"}
18295	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18296		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18297	}
18298	if s.Name == nil {
18299		invalidParams.Add(request.NewErrParamRequired("Name"))
18300	}
18301	if s.Name != nil && len(*s.Name) < 1 {
18302		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18303	}
18304
18305	if invalidParams.Len() > 0 {
18306		return invalidParams
18307	}
18308	return nil
18309}
18310
18311// SetCatalogId sets the CatalogId field's value.
18312func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput {
18313	s.CatalogId = &v
18314	return s
18315}
18316
18317// SetName sets the Name field's value.
18318func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput {
18319	s.Name = &v
18320	return s
18321}
18322
18323type DeleteDatabaseOutput struct {
18324	_ struct{} `type:"structure"`
18325}
18326
18327// String returns the string representation
18328func (s DeleteDatabaseOutput) String() string {
18329	return awsutil.Prettify(s)
18330}
18331
18332// GoString returns the string representation
18333func (s DeleteDatabaseOutput) GoString() string {
18334	return s.String()
18335}
18336
18337type DeleteDevEndpointInput struct {
18338	_ struct{} `type:"structure"`
18339
18340	// The name of the DevEndpoint.
18341	//
18342	// EndpointName is a required field
18343	EndpointName *string `type:"string" required:"true"`
18344}
18345
18346// String returns the string representation
18347func (s DeleteDevEndpointInput) String() string {
18348	return awsutil.Prettify(s)
18349}
18350
18351// GoString returns the string representation
18352func (s DeleteDevEndpointInput) GoString() string {
18353	return s.String()
18354}
18355
18356// Validate inspects the fields of the type to determine if they are valid.
18357func (s *DeleteDevEndpointInput) Validate() error {
18358	invalidParams := request.ErrInvalidParams{Context: "DeleteDevEndpointInput"}
18359	if s.EndpointName == nil {
18360		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
18361	}
18362
18363	if invalidParams.Len() > 0 {
18364		return invalidParams
18365	}
18366	return nil
18367}
18368
18369// SetEndpointName sets the EndpointName field's value.
18370func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput {
18371	s.EndpointName = &v
18372	return s
18373}
18374
18375type DeleteDevEndpointOutput struct {
18376	_ struct{} `type:"structure"`
18377}
18378
18379// String returns the string representation
18380func (s DeleteDevEndpointOutput) String() string {
18381	return awsutil.Prettify(s)
18382}
18383
18384// GoString returns the string representation
18385func (s DeleteDevEndpointOutput) GoString() string {
18386	return s.String()
18387}
18388
18389type DeleteJobInput struct {
18390	_ struct{} `type:"structure"`
18391
18392	// The name of the job definition to delete.
18393	//
18394	// JobName is a required field
18395	JobName *string `min:"1" type:"string" required:"true"`
18396}
18397
18398// String returns the string representation
18399func (s DeleteJobInput) String() string {
18400	return awsutil.Prettify(s)
18401}
18402
18403// GoString returns the string representation
18404func (s DeleteJobInput) GoString() string {
18405	return s.String()
18406}
18407
18408// Validate inspects the fields of the type to determine if they are valid.
18409func (s *DeleteJobInput) Validate() error {
18410	invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"}
18411	if s.JobName == nil {
18412		invalidParams.Add(request.NewErrParamRequired("JobName"))
18413	}
18414	if s.JobName != nil && len(*s.JobName) < 1 {
18415		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
18416	}
18417
18418	if invalidParams.Len() > 0 {
18419		return invalidParams
18420	}
18421	return nil
18422}
18423
18424// SetJobName sets the JobName field's value.
18425func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput {
18426	s.JobName = &v
18427	return s
18428}
18429
18430type DeleteJobOutput struct {
18431	_ struct{} `type:"structure"`
18432
18433	// The name of the job definition that was deleted.
18434	JobName *string `min:"1" type:"string"`
18435}
18436
18437// String returns the string representation
18438func (s DeleteJobOutput) String() string {
18439	return awsutil.Prettify(s)
18440}
18441
18442// GoString returns the string representation
18443func (s DeleteJobOutput) GoString() string {
18444	return s.String()
18445}
18446
18447// SetJobName sets the JobName field's value.
18448func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput {
18449	s.JobName = &v
18450	return s
18451}
18452
18453type DeleteMLTransformInput struct {
18454	_ struct{} `type:"structure"`
18455
18456	// The unique identifier of the transform to delete.
18457	//
18458	// TransformId is a required field
18459	TransformId *string `min:"1" type:"string" required:"true"`
18460}
18461
18462// String returns the string representation
18463func (s DeleteMLTransformInput) String() string {
18464	return awsutil.Prettify(s)
18465}
18466
18467// GoString returns the string representation
18468func (s DeleteMLTransformInput) GoString() string {
18469	return s.String()
18470}
18471
18472// Validate inspects the fields of the type to determine if they are valid.
18473func (s *DeleteMLTransformInput) Validate() error {
18474	invalidParams := request.ErrInvalidParams{Context: "DeleteMLTransformInput"}
18475	if s.TransformId == nil {
18476		invalidParams.Add(request.NewErrParamRequired("TransformId"))
18477	}
18478	if s.TransformId != nil && len(*s.TransformId) < 1 {
18479		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
18480	}
18481
18482	if invalidParams.Len() > 0 {
18483		return invalidParams
18484	}
18485	return nil
18486}
18487
18488// SetTransformId sets the TransformId field's value.
18489func (s *DeleteMLTransformInput) SetTransformId(v string) *DeleteMLTransformInput {
18490	s.TransformId = &v
18491	return s
18492}
18493
18494type DeleteMLTransformOutput struct {
18495	_ struct{} `type:"structure"`
18496
18497	// The unique identifier of the transform that was deleted.
18498	TransformId *string `min:"1" type:"string"`
18499}
18500
18501// String returns the string representation
18502func (s DeleteMLTransformOutput) String() string {
18503	return awsutil.Prettify(s)
18504}
18505
18506// GoString returns the string representation
18507func (s DeleteMLTransformOutput) GoString() string {
18508	return s.String()
18509}
18510
18511// SetTransformId sets the TransformId field's value.
18512func (s *DeleteMLTransformOutput) SetTransformId(v string) *DeleteMLTransformOutput {
18513	s.TransformId = &v
18514	return s
18515}
18516
18517type DeletePartitionInput struct {
18518	_ struct{} `type:"structure"`
18519
18520	// The ID of the Data Catalog where the partition to be deleted resides. If
18521	// none is provided, the AWS account ID is used by default.
18522	CatalogId *string `min:"1" type:"string"`
18523
18524	// The name of the catalog database in which the table in question resides.
18525	//
18526	// DatabaseName is a required field
18527	DatabaseName *string `min:"1" type:"string" required:"true"`
18528
18529	// The values that define the partition.
18530	//
18531	// PartitionValues is a required field
18532	PartitionValues []*string `type:"list" required:"true"`
18533
18534	// The name of the table that contains the partition to be deleted.
18535	//
18536	// TableName is a required field
18537	TableName *string `min:"1" type:"string" required:"true"`
18538}
18539
18540// String returns the string representation
18541func (s DeletePartitionInput) String() string {
18542	return awsutil.Prettify(s)
18543}
18544
18545// GoString returns the string representation
18546func (s DeletePartitionInput) GoString() string {
18547	return s.String()
18548}
18549
18550// Validate inspects the fields of the type to determine if they are valid.
18551func (s *DeletePartitionInput) Validate() error {
18552	invalidParams := request.ErrInvalidParams{Context: "DeletePartitionInput"}
18553	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18554		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18555	}
18556	if s.DatabaseName == nil {
18557		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18558	}
18559	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18560		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18561	}
18562	if s.PartitionValues == nil {
18563		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
18564	}
18565	if s.TableName == nil {
18566		invalidParams.Add(request.NewErrParamRequired("TableName"))
18567	}
18568	if s.TableName != nil && len(*s.TableName) < 1 {
18569		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
18570	}
18571
18572	if invalidParams.Len() > 0 {
18573		return invalidParams
18574	}
18575	return nil
18576}
18577
18578// SetCatalogId sets the CatalogId field's value.
18579func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput {
18580	s.CatalogId = &v
18581	return s
18582}
18583
18584// SetDatabaseName sets the DatabaseName field's value.
18585func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput {
18586	s.DatabaseName = &v
18587	return s
18588}
18589
18590// SetPartitionValues sets the PartitionValues field's value.
18591func (s *DeletePartitionInput) SetPartitionValues(v []*string) *DeletePartitionInput {
18592	s.PartitionValues = v
18593	return s
18594}
18595
18596// SetTableName sets the TableName field's value.
18597func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput {
18598	s.TableName = &v
18599	return s
18600}
18601
18602type DeletePartitionOutput struct {
18603	_ struct{} `type:"structure"`
18604}
18605
18606// String returns the string representation
18607func (s DeletePartitionOutput) String() string {
18608	return awsutil.Prettify(s)
18609}
18610
18611// GoString returns the string representation
18612func (s DeletePartitionOutput) GoString() string {
18613	return s.String()
18614}
18615
18616type DeleteResourcePolicyInput struct {
18617	_ struct{} `type:"structure"`
18618
18619	// The hash value returned when this policy was set.
18620	PolicyHashCondition *string `min:"1" type:"string"`
18621}
18622
18623// String returns the string representation
18624func (s DeleteResourcePolicyInput) String() string {
18625	return awsutil.Prettify(s)
18626}
18627
18628// GoString returns the string representation
18629func (s DeleteResourcePolicyInput) GoString() string {
18630	return s.String()
18631}
18632
18633// Validate inspects the fields of the type to determine if they are valid.
18634func (s *DeleteResourcePolicyInput) Validate() error {
18635	invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"}
18636	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
18637		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
18638	}
18639
18640	if invalidParams.Len() > 0 {
18641		return invalidParams
18642	}
18643	return nil
18644}
18645
18646// SetPolicyHashCondition sets the PolicyHashCondition field's value.
18647func (s *DeleteResourcePolicyInput) SetPolicyHashCondition(v string) *DeleteResourcePolicyInput {
18648	s.PolicyHashCondition = &v
18649	return s
18650}
18651
18652type DeleteResourcePolicyOutput struct {
18653	_ struct{} `type:"structure"`
18654}
18655
18656// String returns the string representation
18657func (s DeleteResourcePolicyOutput) String() string {
18658	return awsutil.Prettify(s)
18659}
18660
18661// GoString returns the string representation
18662func (s DeleteResourcePolicyOutput) GoString() string {
18663	return s.String()
18664}
18665
18666type DeleteSecurityConfigurationInput struct {
18667	_ struct{} `type:"structure"`
18668
18669	// The name of the security configuration to delete.
18670	//
18671	// Name is a required field
18672	Name *string `min:"1" type:"string" required:"true"`
18673}
18674
18675// String returns the string representation
18676func (s DeleteSecurityConfigurationInput) String() string {
18677	return awsutil.Prettify(s)
18678}
18679
18680// GoString returns the string representation
18681func (s DeleteSecurityConfigurationInput) GoString() string {
18682	return s.String()
18683}
18684
18685// Validate inspects the fields of the type to determine if they are valid.
18686func (s *DeleteSecurityConfigurationInput) Validate() error {
18687	invalidParams := request.ErrInvalidParams{Context: "DeleteSecurityConfigurationInput"}
18688	if s.Name == nil {
18689		invalidParams.Add(request.NewErrParamRequired("Name"))
18690	}
18691	if s.Name != nil && len(*s.Name) < 1 {
18692		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18693	}
18694
18695	if invalidParams.Len() > 0 {
18696		return invalidParams
18697	}
18698	return nil
18699}
18700
18701// SetName sets the Name field's value.
18702func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput {
18703	s.Name = &v
18704	return s
18705}
18706
18707type DeleteSecurityConfigurationOutput struct {
18708	_ struct{} `type:"structure"`
18709}
18710
18711// String returns the string representation
18712func (s DeleteSecurityConfigurationOutput) String() string {
18713	return awsutil.Prettify(s)
18714}
18715
18716// GoString returns the string representation
18717func (s DeleteSecurityConfigurationOutput) GoString() string {
18718	return s.String()
18719}
18720
18721type DeleteTableInput struct {
18722	_ struct{} `type:"structure"`
18723
18724	// The ID of the Data Catalog where the table resides. If none is provided,
18725	// the AWS account ID is used by default.
18726	CatalogId *string `min:"1" type:"string"`
18727
18728	// The name of the catalog database in which the table resides. For Hive compatibility,
18729	// this name is entirely lowercase.
18730	//
18731	// DatabaseName is a required field
18732	DatabaseName *string `min:"1" type:"string" required:"true"`
18733
18734	// The name of the table to be deleted. For Hive compatibility, this name is
18735	// entirely lowercase.
18736	//
18737	// Name is a required field
18738	Name *string `min:"1" type:"string" required:"true"`
18739}
18740
18741// String returns the string representation
18742func (s DeleteTableInput) String() string {
18743	return awsutil.Prettify(s)
18744}
18745
18746// GoString returns the string representation
18747func (s DeleteTableInput) GoString() string {
18748	return s.String()
18749}
18750
18751// Validate inspects the fields of the type to determine if they are valid.
18752func (s *DeleteTableInput) Validate() error {
18753	invalidParams := request.ErrInvalidParams{Context: "DeleteTableInput"}
18754	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18755		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18756	}
18757	if s.DatabaseName == nil {
18758		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18759	}
18760	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18761		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18762	}
18763	if s.Name == nil {
18764		invalidParams.Add(request.NewErrParamRequired("Name"))
18765	}
18766	if s.Name != nil && len(*s.Name) < 1 {
18767		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18768	}
18769
18770	if invalidParams.Len() > 0 {
18771		return invalidParams
18772	}
18773	return nil
18774}
18775
18776// SetCatalogId sets the CatalogId field's value.
18777func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput {
18778	s.CatalogId = &v
18779	return s
18780}
18781
18782// SetDatabaseName sets the DatabaseName field's value.
18783func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput {
18784	s.DatabaseName = &v
18785	return s
18786}
18787
18788// SetName sets the Name field's value.
18789func (s *DeleteTableInput) SetName(v string) *DeleteTableInput {
18790	s.Name = &v
18791	return s
18792}
18793
18794type DeleteTableOutput struct {
18795	_ struct{} `type:"structure"`
18796}
18797
18798// String returns the string representation
18799func (s DeleteTableOutput) String() string {
18800	return awsutil.Prettify(s)
18801}
18802
18803// GoString returns the string representation
18804func (s DeleteTableOutput) GoString() string {
18805	return s.String()
18806}
18807
18808type DeleteTableVersionInput struct {
18809	_ struct{} `type:"structure"`
18810
18811	// The ID of the Data Catalog where the tables reside. If none is provided,
18812	// the AWS account ID is used by default.
18813	CatalogId *string `min:"1" type:"string"`
18814
18815	// The database in the catalog in which the table resides. For Hive compatibility,
18816	// this name is entirely lowercase.
18817	//
18818	// DatabaseName is a required field
18819	DatabaseName *string `min:"1" type:"string" required:"true"`
18820
18821	// The name of the table. For Hive compatibility, this name is entirely lowercase.
18822	//
18823	// TableName is a required field
18824	TableName *string `min:"1" type:"string" required:"true"`
18825
18826	// The ID of the table version to be deleted. A VersionID is a string representation
18827	// of an integer. Each version is incremented by 1.
18828	//
18829	// VersionId is a required field
18830	VersionId *string `min:"1" type:"string" required:"true"`
18831}
18832
18833// String returns the string representation
18834func (s DeleteTableVersionInput) String() string {
18835	return awsutil.Prettify(s)
18836}
18837
18838// GoString returns the string representation
18839func (s DeleteTableVersionInput) GoString() string {
18840	return s.String()
18841}
18842
18843// Validate inspects the fields of the type to determine if they are valid.
18844func (s *DeleteTableVersionInput) Validate() error {
18845	invalidParams := request.ErrInvalidParams{Context: "DeleteTableVersionInput"}
18846	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
18847		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
18848	}
18849	if s.DatabaseName == nil {
18850		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
18851	}
18852	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
18853		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
18854	}
18855	if s.TableName == nil {
18856		invalidParams.Add(request.NewErrParamRequired("TableName"))
18857	}
18858	if s.TableName != nil && len(*s.TableName) < 1 {
18859		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
18860	}
18861	if s.VersionId == nil {
18862		invalidParams.Add(request.NewErrParamRequired("VersionId"))
18863	}
18864	if s.VersionId != nil && len(*s.VersionId) < 1 {
18865		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
18866	}
18867
18868	if invalidParams.Len() > 0 {
18869		return invalidParams
18870	}
18871	return nil
18872}
18873
18874// SetCatalogId sets the CatalogId field's value.
18875func (s *DeleteTableVersionInput) SetCatalogId(v string) *DeleteTableVersionInput {
18876	s.CatalogId = &v
18877	return s
18878}
18879
18880// SetDatabaseName sets the DatabaseName field's value.
18881func (s *DeleteTableVersionInput) SetDatabaseName(v string) *DeleteTableVersionInput {
18882	s.DatabaseName = &v
18883	return s
18884}
18885
18886// SetTableName sets the TableName field's value.
18887func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput {
18888	s.TableName = &v
18889	return s
18890}
18891
18892// SetVersionId sets the VersionId field's value.
18893func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput {
18894	s.VersionId = &v
18895	return s
18896}
18897
18898type DeleteTableVersionOutput struct {
18899	_ struct{} `type:"structure"`
18900}
18901
18902// String returns the string representation
18903func (s DeleteTableVersionOutput) String() string {
18904	return awsutil.Prettify(s)
18905}
18906
18907// GoString returns the string representation
18908func (s DeleteTableVersionOutput) GoString() string {
18909	return s.String()
18910}
18911
18912type DeleteTriggerInput struct {
18913	_ struct{} `type:"structure"`
18914
18915	// The name of the trigger to delete.
18916	//
18917	// Name is a required field
18918	Name *string `min:"1" type:"string" required:"true"`
18919}
18920
18921// String returns the string representation
18922func (s DeleteTriggerInput) String() string {
18923	return awsutil.Prettify(s)
18924}
18925
18926// GoString returns the string representation
18927func (s DeleteTriggerInput) GoString() string {
18928	return s.String()
18929}
18930
18931// Validate inspects the fields of the type to determine if they are valid.
18932func (s *DeleteTriggerInput) Validate() error {
18933	invalidParams := request.ErrInvalidParams{Context: "DeleteTriggerInput"}
18934	if s.Name == nil {
18935		invalidParams.Add(request.NewErrParamRequired("Name"))
18936	}
18937	if s.Name != nil && len(*s.Name) < 1 {
18938		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
18939	}
18940
18941	if invalidParams.Len() > 0 {
18942		return invalidParams
18943	}
18944	return nil
18945}
18946
18947// SetName sets the Name field's value.
18948func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput {
18949	s.Name = &v
18950	return s
18951}
18952
18953type DeleteTriggerOutput struct {
18954	_ struct{} `type:"structure"`
18955
18956	// The name of the trigger that was deleted.
18957	Name *string `min:"1" type:"string"`
18958}
18959
18960// String returns the string representation
18961func (s DeleteTriggerOutput) String() string {
18962	return awsutil.Prettify(s)
18963}
18964
18965// GoString returns the string representation
18966func (s DeleteTriggerOutput) GoString() string {
18967	return s.String()
18968}
18969
18970// SetName sets the Name field's value.
18971func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput {
18972	s.Name = &v
18973	return s
18974}
18975
18976type DeleteUserDefinedFunctionInput struct {
18977	_ struct{} `type:"structure"`
18978
18979	// The ID of the Data Catalog where the function to be deleted is located. If
18980	// none is supplied, the AWS account ID is used by default.
18981	CatalogId *string `min:"1" type:"string"`
18982
18983	// The name of the catalog database where the function is located.
18984	//
18985	// DatabaseName is a required field
18986	DatabaseName *string `min:"1" type:"string" required:"true"`
18987
18988	// The name of the function definition to be deleted.
18989	//
18990	// FunctionName is a required field
18991	FunctionName *string `min:"1" type:"string" required:"true"`
18992}
18993
18994// String returns the string representation
18995func (s DeleteUserDefinedFunctionInput) String() string {
18996	return awsutil.Prettify(s)
18997}
18998
18999// GoString returns the string representation
19000func (s DeleteUserDefinedFunctionInput) GoString() string {
19001	return s.String()
19002}
19003
19004// Validate inspects the fields of the type to determine if they are valid.
19005func (s *DeleteUserDefinedFunctionInput) Validate() error {
19006	invalidParams := request.ErrInvalidParams{Context: "DeleteUserDefinedFunctionInput"}
19007	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19008		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19009	}
19010	if s.DatabaseName == nil {
19011		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
19012	}
19013	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
19014		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
19015	}
19016	if s.FunctionName == nil {
19017		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
19018	}
19019	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
19020		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
19021	}
19022
19023	if invalidParams.Len() > 0 {
19024		return invalidParams
19025	}
19026	return nil
19027}
19028
19029// SetCatalogId sets the CatalogId field's value.
19030func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput {
19031	s.CatalogId = &v
19032	return s
19033}
19034
19035// SetDatabaseName sets the DatabaseName field's value.
19036func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput {
19037	s.DatabaseName = &v
19038	return s
19039}
19040
19041// SetFunctionName sets the FunctionName field's value.
19042func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput {
19043	s.FunctionName = &v
19044	return s
19045}
19046
19047type DeleteUserDefinedFunctionOutput struct {
19048	_ struct{} `type:"structure"`
19049}
19050
19051// String returns the string representation
19052func (s DeleteUserDefinedFunctionOutput) String() string {
19053	return awsutil.Prettify(s)
19054}
19055
19056// GoString returns the string representation
19057func (s DeleteUserDefinedFunctionOutput) GoString() string {
19058	return s.String()
19059}
19060
19061type DeleteWorkflowInput struct {
19062	_ struct{} `type:"structure"`
19063
19064	// Name of the workflow to be deleted.
19065	//
19066	// Name is a required field
19067	Name *string `min:"1" type:"string" required:"true"`
19068}
19069
19070// String returns the string representation
19071func (s DeleteWorkflowInput) String() string {
19072	return awsutil.Prettify(s)
19073}
19074
19075// GoString returns the string representation
19076func (s DeleteWorkflowInput) GoString() string {
19077	return s.String()
19078}
19079
19080// Validate inspects the fields of the type to determine if they are valid.
19081func (s *DeleteWorkflowInput) Validate() error {
19082	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"}
19083	if s.Name == nil {
19084		invalidParams.Add(request.NewErrParamRequired("Name"))
19085	}
19086	if s.Name != nil && len(*s.Name) < 1 {
19087		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
19088	}
19089
19090	if invalidParams.Len() > 0 {
19091		return invalidParams
19092	}
19093	return nil
19094}
19095
19096// SetName sets the Name field's value.
19097func (s *DeleteWorkflowInput) SetName(v string) *DeleteWorkflowInput {
19098	s.Name = &v
19099	return s
19100}
19101
19102type DeleteWorkflowOutput struct {
19103	_ struct{} `type:"structure"`
19104
19105	// Name of the workflow specified in input.
19106	Name *string `min:"1" type:"string"`
19107}
19108
19109// String returns the string representation
19110func (s DeleteWorkflowOutput) String() string {
19111	return awsutil.Prettify(s)
19112}
19113
19114// GoString returns the string representation
19115func (s DeleteWorkflowOutput) GoString() string {
19116	return s.String()
19117}
19118
19119// SetName sets the Name field's value.
19120func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput {
19121	s.Name = &v
19122	return s
19123}
19124
19125// A development endpoint where a developer can remotely debug extract, transform,
19126// and load (ETL) scripts.
19127type DevEndpoint struct {
19128	_ struct{} `type:"structure"`
19129
19130	// A map of arguments used to configure the DevEndpoint.
19131	//
19132	// Valid arguments are:
19133	//
19134	//    * "--enable-glue-datacatalog": ""
19135	//
19136	//    * "GLUE_PYTHON_VERSION": "3"
19137	//
19138	//    * "GLUE_PYTHON_VERSION": "2"
19139	//
19140	// You can specify a version of Python support for development endpoints by
19141	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19142	// APIs. If no arguments are provided, the version defaults to Python 2.
19143	Arguments map[string]*string `type:"map"`
19144
19145	// The AWS Availability Zone where this DevEndpoint is located.
19146	AvailabilityZone *string `type:"string"`
19147
19148	// The point in time at which this DevEndpoint was created.
19149	CreatedTimestamp *time.Time `type:"timestamp"`
19150
19151	// The name of the DevEndpoint.
19152	EndpointName *string `type:"string"`
19153
19154	// The path to one or more Java .jar files in an S3 bucket that should be loaded
19155	// in your DevEndpoint.
19156	//
19157	// You can only use pure Java/Scala libraries with a DevEndpoint.
19158	ExtraJarsS3Path *string `type:"string"`
19159
19160	// The paths to one or more Python libraries in an Amazon S3 bucket that should
19161	// be loaded in your DevEndpoint. Multiple values must be complete paths separated
19162	// by a comma.
19163	//
19164	// You can only use pure Python libraries with a DevEndpoint. Libraries that
19165	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
19166	// data analysis library, are not currently supported.
19167	ExtraPythonLibsS3Path *string `type:"string"`
19168
19169	// The reason for a current failure in this DevEndpoint.
19170	FailureReason *string `type:"string"`
19171
19172	// Glue version determines the versions of Apache Spark and Python that AWS
19173	// Glue supports. The Python version indicates the version supported for running
19174	// your ETL scripts on development endpoints.
19175	//
19176	// For more information about the available AWS Glue versions and corresponding
19177	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
19178	// in the developer guide.
19179	//
19180	// Development endpoints that are created without specifying a Glue version
19181	// default to Glue 0.9.
19182	//
19183	// You can specify a version of Python support for development endpoints by
19184	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
19185	// APIs. If no arguments are provided, the version defaults to Python 2.
19186	GlueVersion *string `min:"1" type:"string"`
19187
19188	// The point in time at which this DevEndpoint was last modified.
19189	LastModifiedTimestamp *time.Time `type:"timestamp"`
19190
19191	// The status of the last update.
19192	LastUpdateStatus *string `type:"string"`
19193
19194	// The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
19195	NumberOfNodes *int64 `type:"integer"`
19196
19197	// The number of workers of a defined workerType that are allocated to the development
19198	// endpoint.
19199	//
19200	// The maximum number of workers you can define are 299 for G.1X, and 149 for
19201	// G.2X.
19202	NumberOfWorkers *int64 `type:"integer"`
19203
19204	// A private IP address to access the DevEndpoint within a VPC if the DevEndpoint
19205	// is created within one. The PrivateAddress field is present only when you
19206	// create the DevEndpoint within your VPC.
19207	PrivateAddress *string `type:"string"`
19208
19209	// The public IP address used by this DevEndpoint. The PublicAddress field is
19210	// present only when you create a non-virtual private cloud (VPC) DevEndpoint.
19211	PublicAddress *string `type:"string"`
19212
19213	// The public key to be used by this DevEndpoint for authentication. This attribute
19214	// is provided for backward compatibility because the recommended attribute
19215	// to use is public keys.
19216	PublicKey *string `type:"string"`
19217
19218	// A list of public keys to be used by the DevEndpoints for authentication.
19219	// Using this attribute is preferred over a single public key because the public
19220	// keys allow you to have a different private key per client.
19221	//
19222	// If you previously created an endpoint with a public key, you must remove
19223	// that key to be able to set a list of public keys. Call the UpdateDevEndpoint
19224	// API operation with the public key content in the deletePublicKeys attribute,
19225	// and the list of new keys in the addPublicKeys attribute.
19226	PublicKeys []*string `type:"list"`
19227
19228	// The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint.
19229	RoleArn *string `type:"string"`
19230
19231	// The name of the SecurityConfiguration structure to be used with this DevEndpoint.
19232	SecurityConfiguration *string `min:"1" type:"string"`
19233
19234	// A list of security group identifiers used in this DevEndpoint.
19235	SecurityGroupIds []*string `type:"list"`
19236
19237	// The current status of this DevEndpoint.
19238	Status *string `type:"string"`
19239
19240	// The subnet ID for this DevEndpoint.
19241	SubnetId *string `type:"string"`
19242
19243	// The ID of the virtual private cloud (VPC) used by this DevEndpoint.
19244	VpcId *string `type:"string"`
19245
19246	// The type of predefined worker that is allocated to the development endpoint.
19247	// Accepts a value of Standard, G.1X, or G.2X.
19248	//
19249	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
19250	//    memory and a 50GB disk, and 2 executors per worker.
19251	//
19252	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
19253	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
19254	//    this worker type for memory-intensive jobs.
19255	//
19256	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
19257	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
19258	//    this worker type for memory-intensive jobs.
19259	//
19260	// Known issue: when a development endpoint is created with the G.2X WorkerType
19261	// configuration, the Spark drivers for the development endpoint will run on
19262	// 4 vCPU, 16 GB of memory, and a 64 GB disk.
19263	WorkerType *string `type:"string" enum:"WorkerType"`
19264
19265	// The YARN endpoint address used by this DevEndpoint.
19266	YarnEndpointAddress *string `type:"string"`
19267
19268	// The Apache Zeppelin port for the remote Apache Spark interpreter.
19269	ZeppelinRemoteSparkInterpreterPort *int64 `type:"integer"`
19270}
19271
19272// String returns the string representation
19273func (s DevEndpoint) String() string {
19274	return awsutil.Prettify(s)
19275}
19276
19277// GoString returns the string representation
19278func (s DevEndpoint) GoString() string {
19279	return s.String()
19280}
19281
19282// SetArguments sets the Arguments field's value.
19283func (s *DevEndpoint) SetArguments(v map[string]*string) *DevEndpoint {
19284	s.Arguments = v
19285	return s
19286}
19287
19288// SetAvailabilityZone sets the AvailabilityZone field's value.
19289func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint {
19290	s.AvailabilityZone = &v
19291	return s
19292}
19293
19294// SetCreatedTimestamp sets the CreatedTimestamp field's value.
19295func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint {
19296	s.CreatedTimestamp = &v
19297	return s
19298}
19299
19300// SetEndpointName sets the EndpointName field's value.
19301func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint {
19302	s.EndpointName = &v
19303	return s
19304}
19305
19306// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
19307func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint {
19308	s.ExtraJarsS3Path = &v
19309	return s
19310}
19311
19312// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
19313func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint {
19314	s.ExtraPythonLibsS3Path = &v
19315	return s
19316}
19317
19318// SetFailureReason sets the FailureReason field's value.
19319func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint {
19320	s.FailureReason = &v
19321	return s
19322}
19323
19324// SetGlueVersion sets the GlueVersion field's value.
19325func (s *DevEndpoint) SetGlueVersion(v string) *DevEndpoint {
19326	s.GlueVersion = &v
19327	return s
19328}
19329
19330// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
19331func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint {
19332	s.LastModifiedTimestamp = &v
19333	return s
19334}
19335
19336// SetLastUpdateStatus sets the LastUpdateStatus field's value.
19337func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint {
19338	s.LastUpdateStatus = &v
19339	return s
19340}
19341
19342// SetNumberOfNodes sets the NumberOfNodes field's value.
19343func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint {
19344	s.NumberOfNodes = &v
19345	return s
19346}
19347
19348// SetNumberOfWorkers sets the NumberOfWorkers field's value.
19349func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint {
19350	s.NumberOfWorkers = &v
19351	return s
19352}
19353
19354// SetPrivateAddress sets the PrivateAddress field's value.
19355func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint {
19356	s.PrivateAddress = &v
19357	return s
19358}
19359
19360// SetPublicAddress sets the PublicAddress field's value.
19361func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint {
19362	s.PublicAddress = &v
19363	return s
19364}
19365
19366// SetPublicKey sets the PublicKey field's value.
19367func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint {
19368	s.PublicKey = &v
19369	return s
19370}
19371
19372// SetPublicKeys sets the PublicKeys field's value.
19373func (s *DevEndpoint) SetPublicKeys(v []*string) *DevEndpoint {
19374	s.PublicKeys = v
19375	return s
19376}
19377
19378// SetRoleArn sets the RoleArn field's value.
19379func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint {
19380	s.RoleArn = &v
19381	return s
19382}
19383
19384// SetSecurityConfiguration sets the SecurityConfiguration field's value.
19385func (s *DevEndpoint) SetSecurityConfiguration(v string) *DevEndpoint {
19386	s.SecurityConfiguration = &v
19387	return s
19388}
19389
19390// SetSecurityGroupIds sets the SecurityGroupIds field's value.
19391func (s *DevEndpoint) SetSecurityGroupIds(v []*string) *DevEndpoint {
19392	s.SecurityGroupIds = v
19393	return s
19394}
19395
19396// SetStatus sets the Status field's value.
19397func (s *DevEndpoint) SetStatus(v string) *DevEndpoint {
19398	s.Status = &v
19399	return s
19400}
19401
19402// SetSubnetId sets the SubnetId field's value.
19403func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint {
19404	s.SubnetId = &v
19405	return s
19406}
19407
19408// SetVpcId sets the VpcId field's value.
19409func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint {
19410	s.VpcId = &v
19411	return s
19412}
19413
19414// SetWorkerType sets the WorkerType field's value.
19415func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint {
19416	s.WorkerType = &v
19417	return s
19418}
19419
19420// SetYarnEndpointAddress sets the YarnEndpointAddress field's value.
19421func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint {
19422	s.YarnEndpointAddress = &v
19423	return s
19424}
19425
19426// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value.
19427func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint {
19428	s.ZeppelinRemoteSparkInterpreterPort = &v
19429	return s
19430}
19431
19432// Custom libraries to be loaded into a development endpoint.
19433type DevEndpointCustomLibraries struct {
19434	_ struct{} `type:"structure"`
19435
19436	// The path to one or more Java .jar files in an S3 bucket that should be loaded
19437	// in your DevEndpoint.
19438	//
19439	// You can only use pure Java/Scala libraries with a DevEndpoint.
19440	ExtraJarsS3Path *string `type:"string"`
19441
19442	// The paths to one or more Python libraries in an Amazon Simple Storage Service
19443	// (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values
19444	// must be complete paths separated by a comma.
19445	//
19446	// You can only use pure Python libraries with a DevEndpoint. Libraries that
19447	// rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python
19448	// data analysis library, are not currently supported.
19449	ExtraPythonLibsS3Path *string `type:"string"`
19450}
19451
19452// String returns the string representation
19453func (s DevEndpointCustomLibraries) String() string {
19454	return awsutil.Prettify(s)
19455}
19456
19457// GoString returns the string representation
19458func (s DevEndpointCustomLibraries) GoString() string {
19459	return s.String()
19460}
19461
19462// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value.
19463func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries {
19464	s.ExtraJarsS3Path = &v
19465	return s
19466}
19467
19468// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value.
19469func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries {
19470	s.ExtraPythonLibsS3Path = &v
19471	return s
19472}
19473
19474// Specifies an Amazon DynamoDB table to crawl.
19475type DynamoDBTarget struct {
19476	_ struct{} `type:"structure"`
19477
19478	// The name of the DynamoDB table to crawl.
19479	Path *string `type:"string"`
19480}
19481
19482// String returns the string representation
19483func (s DynamoDBTarget) String() string {
19484	return awsutil.Prettify(s)
19485}
19486
19487// GoString returns the string representation
19488func (s DynamoDBTarget) GoString() string {
19489	return s.String()
19490}
19491
19492// SetPath sets the Path field's value.
19493func (s *DynamoDBTarget) SetPath(v string) *DynamoDBTarget {
19494	s.Path = &v
19495	return s
19496}
19497
19498// An edge represents a directed connection between two AWS Glue components
19499// which are part of the workflow the edge belongs to.
19500type Edge struct {
19501	_ struct{} `type:"structure"`
19502
19503	// The unique of the node within the workflow where the edge ends.
19504	DestinationId *string `min:"1" type:"string"`
19505
19506	// The unique of the node within the workflow where the edge starts.
19507	SourceId *string `min:"1" type:"string"`
19508}
19509
19510// String returns the string representation
19511func (s Edge) String() string {
19512	return awsutil.Prettify(s)
19513}
19514
19515// GoString returns the string representation
19516func (s Edge) GoString() string {
19517	return s.String()
19518}
19519
19520// SetDestinationId sets the DestinationId field's value.
19521func (s *Edge) SetDestinationId(v string) *Edge {
19522	s.DestinationId = &v
19523	return s
19524}
19525
19526// SetSourceId sets the SourceId field's value.
19527func (s *Edge) SetSourceId(v string) *Edge {
19528	s.SourceId = &v
19529	return s
19530}
19531
19532// Specifies the encryption-at-rest configuration for the Data Catalog.
19533type EncryptionAtRest struct {
19534	_ struct{} `type:"structure"`
19535
19536	// The encryption-at-rest mode for encrypting Data Catalog data.
19537	//
19538	// CatalogEncryptionMode is a required field
19539	CatalogEncryptionMode *string `type:"string" required:"true" enum:"CatalogEncryptionMode"`
19540
19541	// The ID of the AWS KMS key to use for encryption at rest.
19542	SseAwsKmsKeyId *string `min:"1" type:"string"`
19543}
19544
19545// String returns the string representation
19546func (s EncryptionAtRest) String() string {
19547	return awsutil.Prettify(s)
19548}
19549
19550// GoString returns the string representation
19551func (s EncryptionAtRest) GoString() string {
19552	return s.String()
19553}
19554
19555// Validate inspects the fields of the type to determine if they are valid.
19556func (s *EncryptionAtRest) Validate() error {
19557	invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRest"}
19558	if s.CatalogEncryptionMode == nil {
19559		invalidParams.Add(request.NewErrParamRequired("CatalogEncryptionMode"))
19560	}
19561	if s.SseAwsKmsKeyId != nil && len(*s.SseAwsKmsKeyId) < 1 {
19562		invalidParams.Add(request.NewErrParamMinLen("SseAwsKmsKeyId", 1))
19563	}
19564
19565	if invalidParams.Len() > 0 {
19566		return invalidParams
19567	}
19568	return nil
19569}
19570
19571// SetCatalogEncryptionMode sets the CatalogEncryptionMode field's value.
19572func (s *EncryptionAtRest) SetCatalogEncryptionMode(v string) *EncryptionAtRest {
19573	s.CatalogEncryptionMode = &v
19574	return s
19575}
19576
19577// SetSseAwsKmsKeyId sets the SseAwsKmsKeyId field's value.
19578func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest {
19579	s.SseAwsKmsKeyId = &v
19580	return s
19581}
19582
19583// Specifies an encryption configuration.
19584type EncryptionConfiguration struct {
19585	_ struct{} `type:"structure"`
19586
19587	// The encryption configuration for Amazon CloudWatch.
19588	CloudWatchEncryption *CloudWatchEncryption `type:"structure"`
19589
19590	// The encryption configuration for job bookmarks.
19591	JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"`
19592
19593	// The encryption configuration for Amazon Simple Storage Service (Amazon S3)
19594	// data.
19595	S3Encryption []*S3Encryption `type:"list"`
19596}
19597
19598// String returns the string representation
19599func (s EncryptionConfiguration) String() string {
19600	return awsutil.Prettify(s)
19601}
19602
19603// GoString returns the string representation
19604func (s EncryptionConfiguration) GoString() string {
19605	return s.String()
19606}
19607
19608// SetCloudWatchEncryption sets the CloudWatchEncryption field's value.
19609func (s *EncryptionConfiguration) SetCloudWatchEncryption(v *CloudWatchEncryption) *EncryptionConfiguration {
19610	s.CloudWatchEncryption = v
19611	return s
19612}
19613
19614// SetJobBookmarksEncryption sets the JobBookmarksEncryption field's value.
19615func (s *EncryptionConfiguration) SetJobBookmarksEncryption(v *JobBookmarksEncryption) *EncryptionConfiguration {
19616	s.JobBookmarksEncryption = v
19617	return s
19618}
19619
19620// SetS3Encryption sets the S3Encryption field's value.
19621func (s *EncryptionConfiguration) SetS3Encryption(v []*S3Encryption) *EncryptionConfiguration {
19622	s.S3Encryption = v
19623	return s
19624}
19625
19626// Contains details about an error.
19627type ErrorDetail struct {
19628	_ struct{} `type:"structure"`
19629
19630	// The code associated with this error.
19631	ErrorCode *string `min:"1" type:"string"`
19632
19633	// A message describing the error.
19634	ErrorMessage *string `type:"string"`
19635}
19636
19637// String returns the string representation
19638func (s ErrorDetail) String() string {
19639	return awsutil.Prettify(s)
19640}
19641
19642// GoString returns the string representation
19643func (s ErrorDetail) GoString() string {
19644	return s.String()
19645}
19646
19647// SetErrorCode sets the ErrorCode field's value.
19648func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail {
19649	s.ErrorCode = &v
19650	return s
19651}
19652
19653// SetErrorMessage sets the ErrorMessage field's value.
19654func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail {
19655	s.ErrorMessage = &v
19656	return s
19657}
19658
19659// Evaluation metrics provide an estimate of the quality of your machine learning
19660// transform.
19661type EvaluationMetrics struct {
19662	_ struct{} `type:"structure"`
19663
19664	// The evaluation metrics for the find matches algorithm.
19665	FindMatchesMetrics *FindMatchesMetrics `type:"structure"`
19666
19667	// The type of machine learning transform.
19668	//
19669	// TransformType is a required field
19670	TransformType *string `type:"string" required:"true" enum:"TransformType"`
19671}
19672
19673// String returns the string representation
19674func (s EvaluationMetrics) String() string {
19675	return awsutil.Prettify(s)
19676}
19677
19678// GoString returns the string representation
19679func (s EvaluationMetrics) GoString() string {
19680	return s.String()
19681}
19682
19683// SetFindMatchesMetrics sets the FindMatchesMetrics field's value.
19684func (s *EvaluationMetrics) SetFindMatchesMetrics(v *FindMatchesMetrics) *EvaluationMetrics {
19685	s.FindMatchesMetrics = v
19686	return s
19687}
19688
19689// SetTransformType sets the TransformType field's value.
19690func (s *EvaluationMetrics) SetTransformType(v string) *EvaluationMetrics {
19691	s.TransformType = &v
19692	return s
19693}
19694
19695// An execution property of a job.
19696type ExecutionProperty struct {
19697	_ struct{} `type:"structure"`
19698
19699	// The maximum number of concurrent runs allowed for the job. The default is
19700	// 1. An error is returned when this threshold is reached. The maximum value
19701	// you can specify is controlled by a service limit.
19702	MaxConcurrentRuns *int64 `type:"integer"`
19703}
19704
19705// String returns the string representation
19706func (s ExecutionProperty) String() string {
19707	return awsutil.Prettify(s)
19708}
19709
19710// GoString returns the string representation
19711func (s ExecutionProperty) GoString() string {
19712	return s.String()
19713}
19714
19715// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value.
19716func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty {
19717	s.MaxConcurrentRuns = &v
19718	return s
19719}
19720
19721// Specifies configuration properties for an exporting labels task run.
19722type ExportLabelsTaskRunProperties struct {
19723	_ struct{} `type:"structure"`
19724
19725	// The Amazon Simple Storage Service (Amazon S3) path where you will export
19726	// the labels.
19727	OutputS3Path *string `type:"string"`
19728}
19729
19730// String returns the string representation
19731func (s ExportLabelsTaskRunProperties) String() string {
19732	return awsutil.Prettify(s)
19733}
19734
19735// GoString returns the string representation
19736func (s ExportLabelsTaskRunProperties) GoString() string {
19737	return s.String()
19738}
19739
19740// SetOutputS3Path sets the OutputS3Path field's value.
19741func (s *ExportLabelsTaskRunProperties) SetOutputS3Path(v string) *ExportLabelsTaskRunProperties {
19742	s.OutputS3Path = &v
19743	return s
19744}
19745
19746// The evaluation metrics for the find matches algorithm. The quality of your
19747// machine learning transform is measured by getting your transform to predict
19748// some matches and comparing the results to known matches from the same dataset.
19749// The quality metrics are based on a subset of your data, so they are not precise.
19750type FindMatchesMetrics struct {
19751	_ struct{} `type:"structure"`
19752
19753	// The area under the precision/recall curve (AUPRC) is a single number measuring
19754	// the overall quality of the transform, that is independent of the choice made
19755	// for precision vs. recall. Higher values indicate that you have a more attractive
19756	// precision vs. recall tradeoff.
19757	//
19758	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19759	// in Wikipedia.
19760	AreaUnderPRCurve *float64 `type:"double"`
19761
19762	// The confusion matrix shows you what your transform is predicting accurately
19763	// and what types of errors it is making.
19764	//
19765	// For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
19766	// in Wikipedia.
19767	ConfusionMatrix *ConfusionMatrix `type:"structure"`
19768
19769	// The maximum F1 metric indicates the transform's accuracy between 0 and 1,
19770	// where 1 is the best accuracy.
19771	//
19772	// For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score)
19773	// in Wikipedia.
19774	F1 *float64 `type:"double"`
19775
19776	// The precision metric indicates when often your transform is correct when
19777	// it predicts a match. Specifically, it measures how well the transform finds
19778	// true positives from the total true positives possible.
19779	//
19780	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19781	// in Wikipedia.
19782	Precision *float64 `type:"double"`
19783
19784	// The recall metric indicates that for an actual match, how often your transform
19785	// predicts the match. Specifically, it measures how well the transform finds
19786	// true positives from the total records in the source data.
19787	//
19788	// For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
19789	// in Wikipedia.
19790	Recall *float64 `type:"double"`
19791}
19792
19793// String returns the string representation
19794func (s FindMatchesMetrics) String() string {
19795	return awsutil.Prettify(s)
19796}
19797
19798// GoString returns the string representation
19799func (s FindMatchesMetrics) GoString() string {
19800	return s.String()
19801}
19802
19803// SetAreaUnderPRCurve sets the AreaUnderPRCurve field's value.
19804func (s *FindMatchesMetrics) SetAreaUnderPRCurve(v float64) *FindMatchesMetrics {
19805	s.AreaUnderPRCurve = &v
19806	return s
19807}
19808
19809// SetConfusionMatrix sets the ConfusionMatrix field's value.
19810func (s *FindMatchesMetrics) SetConfusionMatrix(v *ConfusionMatrix) *FindMatchesMetrics {
19811	s.ConfusionMatrix = v
19812	return s
19813}
19814
19815// SetF1 sets the F1 field's value.
19816func (s *FindMatchesMetrics) SetF1(v float64) *FindMatchesMetrics {
19817	s.F1 = &v
19818	return s
19819}
19820
19821// SetPrecision sets the Precision field's value.
19822func (s *FindMatchesMetrics) SetPrecision(v float64) *FindMatchesMetrics {
19823	s.Precision = &v
19824	return s
19825}
19826
19827// SetRecall sets the Recall field's value.
19828func (s *FindMatchesMetrics) SetRecall(v float64) *FindMatchesMetrics {
19829	s.Recall = &v
19830	return s
19831}
19832
19833// The parameters to configure the find matches transform.
19834type FindMatchesParameters struct {
19835	_ struct{} `type:"structure"`
19836
19837	// The value that is selected when tuning your transform for a balance between
19838	// accuracy and cost. A value of 0.5 means that the system balances accuracy
19839	// and cost concerns. A value of 1.0 means a bias purely for accuracy, which
19840	// typically results in a higher cost, sometimes substantially higher. A value
19841	// of 0.0 means a bias purely for cost, which results in a less accurate FindMatches
19842	// transform, sometimes with unacceptable accuracy.
19843	//
19844	// Accuracy measures how well the transform finds true positives and true negatives.
19845	// Increasing accuracy requires more machine resources and cost. But it also
19846	// results in increased recall.
19847	//
19848	// Cost measures how many compute resources, and thus money, are consumed to
19849	// run the transform.
19850	AccuracyCostTradeoff *float64 `type:"double"`
19851
19852	// The value to switch on or off to force the output to match the provided labels
19853	// from users. If the value is True, the find matches transform forces the output
19854	// to match the provided labels. The results override the normal conflation
19855	// results. If the value is False, the find matches transform does not ensure
19856	// all the labels provided are respected, and the results rely on the trained
19857	// model.
19858	//
19859	// Note that setting this value to true may increase the conflation execution
19860	// time.
19861	EnforceProvidedLabels *bool `type:"boolean"`
19862
19863	// The value selected when tuning your transform for a balance between precision
19864	// and recall. A value of 0.5 means no preference; a value of 1.0 means a bias
19865	// purely for precision, and a value of 0.0 means a bias for recall. Because
19866	// this is a tradeoff, choosing values close to 1.0 means very low recall, and
19867	// choosing values close to 0.0 results in very low precision.
19868	//
19869	// The precision metric indicates how often your model is correct when it predicts
19870	// a match.
19871	//
19872	// The recall metric indicates that for an actual match, how often your model
19873	// predicts the match.
19874	PrecisionRecallTradeoff *float64 `type:"double"`
19875
19876	// The name of a column that uniquely identifies rows in the source table. Used
19877	// to help identify matching records.
19878	PrimaryKeyColumnName *string `min:"1" type:"string"`
19879}
19880
19881// String returns the string representation
19882func (s FindMatchesParameters) String() string {
19883	return awsutil.Prettify(s)
19884}
19885
19886// GoString returns the string representation
19887func (s FindMatchesParameters) GoString() string {
19888	return s.String()
19889}
19890
19891// Validate inspects the fields of the type to determine if they are valid.
19892func (s *FindMatchesParameters) Validate() error {
19893	invalidParams := request.ErrInvalidParams{Context: "FindMatchesParameters"}
19894	if s.PrimaryKeyColumnName != nil && len(*s.PrimaryKeyColumnName) < 1 {
19895		invalidParams.Add(request.NewErrParamMinLen("PrimaryKeyColumnName", 1))
19896	}
19897
19898	if invalidParams.Len() > 0 {
19899		return invalidParams
19900	}
19901	return nil
19902}
19903
19904// SetAccuracyCostTradeoff sets the AccuracyCostTradeoff field's value.
19905func (s *FindMatchesParameters) SetAccuracyCostTradeoff(v float64) *FindMatchesParameters {
19906	s.AccuracyCostTradeoff = &v
19907	return s
19908}
19909
19910// SetEnforceProvidedLabels sets the EnforceProvidedLabels field's value.
19911func (s *FindMatchesParameters) SetEnforceProvidedLabels(v bool) *FindMatchesParameters {
19912	s.EnforceProvidedLabels = &v
19913	return s
19914}
19915
19916// SetPrecisionRecallTradeoff sets the PrecisionRecallTradeoff field's value.
19917func (s *FindMatchesParameters) SetPrecisionRecallTradeoff(v float64) *FindMatchesParameters {
19918	s.PrecisionRecallTradeoff = &v
19919	return s
19920}
19921
19922// SetPrimaryKeyColumnName sets the PrimaryKeyColumnName field's value.
19923func (s *FindMatchesParameters) SetPrimaryKeyColumnName(v string) *FindMatchesParameters {
19924	s.PrimaryKeyColumnName = &v
19925	return s
19926}
19927
19928// Specifies configuration properties for a Find Matches task run.
19929type FindMatchesTaskRunProperties struct {
19930	_ struct{} `type:"structure"`
19931
19932	// The job ID for the Find Matches task run.
19933	JobId *string `min:"1" type:"string"`
19934
19935	// The name assigned to the job for the Find Matches task run.
19936	JobName *string `min:"1" type:"string"`
19937
19938	// The job run ID for the Find Matches task run.
19939	JobRunId *string `min:"1" type:"string"`
19940}
19941
19942// String returns the string representation
19943func (s FindMatchesTaskRunProperties) String() string {
19944	return awsutil.Prettify(s)
19945}
19946
19947// GoString returns the string representation
19948func (s FindMatchesTaskRunProperties) GoString() string {
19949	return s.String()
19950}
19951
19952// SetJobId sets the JobId field's value.
19953func (s *FindMatchesTaskRunProperties) SetJobId(v string) *FindMatchesTaskRunProperties {
19954	s.JobId = &v
19955	return s
19956}
19957
19958// SetJobName sets the JobName field's value.
19959func (s *FindMatchesTaskRunProperties) SetJobName(v string) *FindMatchesTaskRunProperties {
19960	s.JobName = &v
19961	return s
19962}
19963
19964// SetJobRunId sets the JobRunId field's value.
19965func (s *FindMatchesTaskRunProperties) SetJobRunId(v string) *FindMatchesTaskRunProperties {
19966	s.JobRunId = &v
19967	return s
19968}
19969
19970type GetCatalogImportStatusInput struct {
19971	_ struct{} `type:"structure"`
19972
19973	// The ID of the catalog to migrate. Currently, this should be the AWS account
19974	// ID.
19975	CatalogId *string `min:"1" type:"string"`
19976}
19977
19978// String returns the string representation
19979func (s GetCatalogImportStatusInput) String() string {
19980	return awsutil.Prettify(s)
19981}
19982
19983// GoString returns the string representation
19984func (s GetCatalogImportStatusInput) GoString() string {
19985	return s.String()
19986}
19987
19988// Validate inspects the fields of the type to determine if they are valid.
19989func (s *GetCatalogImportStatusInput) Validate() error {
19990	invalidParams := request.ErrInvalidParams{Context: "GetCatalogImportStatusInput"}
19991	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
19992		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
19993	}
19994
19995	if invalidParams.Len() > 0 {
19996		return invalidParams
19997	}
19998	return nil
19999}
20000
20001// SetCatalogId sets the CatalogId field's value.
20002func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput {
20003	s.CatalogId = &v
20004	return s
20005}
20006
20007type GetCatalogImportStatusOutput struct {
20008	_ struct{} `type:"structure"`
20009
20010	// The status of the specified catalog migration.
20011	ImportStatus *CatalogImportStatus `type:"structure"`
20012}
20013
20014// String returns the string representation
20015func (s GetCatalogImportStatusOutput) String() string {
20016	return awsutil.Prettify(s)
20017}
20018
20019// GoString returns the string representation
20020func (s GetCatalogImportStatusOutput) GoString() string {
20021	return s.String()
20022}
20023
20024// SetImportStatus sets the ImportStatus field's value.
20025func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput {
20026	s.ImportStatus = v
20027	return s
20028}
20029
20030type GetClassifierInput struct {
20031	_ struct{} `type:"structure"`
20032
20033	// Name of the classifier to retrieve.
20034	//
20035	// Name is a required field
20036	Name *string `min:"1" type:"string" required:"true"`
20037}
20038
20039// String returns the string representation
20040func (s GetClassifierInput) String() string {
20041	return awsutil.Prettify(s)
20042}
20043
20044// GoString returns the string representation
20045func (s GetClassifierInput) GoString() string {
20046	return s.String()
20047}
20048
20049// Validate inspects the fields of the type to determine if they are valid.
20050func (s *GetClassifierInput) Validate() error {
20051	invalidParams := request.ErrInvalidParams{Context: "GetClassifierInput"}
20052	if s.Name == nil {
20053		invalidParams.Add(request.NewErrParamRequired("Name"))
20054	}
20055	if s.Name != nil && len(*s.Name) < 1 {
20056		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20057	}
20058
20059	if invalidParams.Len() > 0 {
20060		return invalidParams
20061	}
20062	return nil
20063}
20064
20065// SetName sets the Name field's value.
20066func (s *GetClassifierInput) SetName(v string) *GetClassifierInput {
20067	s.Name = &v
20068	return s
20069}
20070
20071type GetClassifierOutput struct {
20072	_ struct{} `type:"structure"`
20073
20074	// The requested classifier.
20075	Classifier *Classifier `type:"structure"`
20076}
20077
20078// String returns the string representation
20079func (s GetClassifierOutput) String() string {
20080	return awsutil.Prettify(s)
20081}
20082
20083// GoString returns the string representation
20084func (s GetClassifierOutput) GoString() string {
20085	return s.String()
20086}
20087
20088// SetClassifier sets the Classifier field's value.
20089func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput {
20090	s.Classifier = v
20091	return s
20092}
20093
20094type GetClassifiersInput struct {
20095	_ struct{} `type:"structure"`
20096
20097	// The size of the list to return (optional).
20098	MaxResults *int64 `min:"1" type:"integer"`
20099
20100	// An optional continuation token.
20101	NextToken *string `type:"string"`
20102}
20103
20104// String returns the string representation
20105func (s GetClassifiersInput) String() string {
20106	return awsutil.Prettify(s)
20107}
20108
20109// GoString returns the string representation
20110func (s GetClassifiersInput) GoString() string {
20111	return s.String()
20112}
20113
20114// Validate inspects the fields of the type to determine if they are valid.
20115func (s *GetClassifiersInput) Validate() error {
20116	invalidParams := request.ErrInvalidParams{Context: "GetClassifiersInput"}
20117	if s.MaxResults != nil && *s.MaxResults < 1 {
20118		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20119	}
20120
20121	if invalidParams.Len() > 0 {
20122		return invalidParams
20123	}
20124	return nil
20125}
20126
20127// SetMaxResults sets the MaxResults field's value.
20128func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput {
20129	s.MaxResults = &v
20130	return s
20131}
20132
20133// SetNextToken sets the NextToken field's value.
20134func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput {
20135	s.NextToken = &v
20136	return s
20137}
20138
20139type GetClassifiersOutput struct {
20140	_ struct{} `type:"structure"`
20141
20142	// The requested list of classifier objects.
20143	Classifiers []*Classifier `type:"list"`
20144
20145	// A continuation token.
20146	NextToken *string `type:"string"`
20147}
20148
20149// String returns the string representation
20150func (s GetClassifiersOutput) String() string {
20151	return awsutil.Prettify(s)
20152}
20153
20154// GoString returns the string representation
20155func (s GetClassifiersOutput) GoString() string {
20156	return s.String()
20157}
20158
20159// SetClassifiers sets the Classifiers field's value.
20160func (s *GetClassifiersOutput) SetClassifiers(v []*Classifier) *GetClassifiersOutput {
20161	s.Classifiers = v
20162	return s
20163}
20164
20165// SetNextToken sets the NextToken field's value.
20166func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput {
20167	s.NextToken = &v
20168	return s
20169}
20170
20171type GetConnectionInput struct {
20172	_ struct{} `type:"structure"`
20173
20174	// The ID of the Data Catalog in which the connection resides. If none is provided,
20175	// the AWS account ID is used by default.
20176	CatalogId *string `min:"1" type:"string"`
20177
20178	// Allows you to retrieve the connection metadata without returning the password.
20179	// For instance, the AWS Glue console uses this flag to retrieve the connection,
20180	// and does not display the password. Set this parameter when the caller might
20181	// not have permission to use the AWS KMS key to decrypt the password, but it
20182	// does have permission to access the rest of the connection properties.
20183	HidePassword *bool `type:"boolean"`
20184
20185	// The name of the connection definition to retrieve.
20186	//
20187	// Name is a required field
20188	Name *string `min:"1" type:"string" required:"true"`
20189}
20190
20191// String returns the string representation
20192func (s GetConnectionInput) String() string {
20193	return awsutil.Prettify(s)
20194}
20195
20196// GoString returns the string representation
20197func (s GetConnectionInput) GoString() string {
20198	return s.String()
20199}
20200
20201// Validate inspects the fields of the type to determine if they are valid.
20202func (s *GetConnectionInput) Validate() error {
20203	invalidParams := request.ErrInvalidParams{Context: "GetConnectionInput"}
20204	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20205		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20206	}
20207	if s.Name == nil {
20208		invalidParams.Add(request.NewErrParamRequired("Name"))
20209	}
20210	if s.Name != nil && len(*s.Name) < 1 {
20211		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20212	}
20213
20214	if invalidParams.Len() > 0 {
20215		return invalidParams
20216	}
20217	return nil
20218}
20219
20220// SetCatalogId sets the CatalogId field's value.
20221func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput {
20222	s.CatalogId = &v
20223	return s
20224}
20225
20226// SetHidePassword sets the HidePassword field's value.
20227func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput {
20228	s.HidePassword = &v
20229	return s
20230}
20231
20232// SetName sets the Name field's value.
20233func (s *GetConnectionInput) SetName(v string) *GetConnectionInput {
20234	s.Name = &v
20235	return s
20236}
20237
20238type GetConnectionOutput struct {
20239	_ struct{} `type:"structure"`
20240
20241	// The requested connection definition.
20242	Connection *Connection `type:"structure"`
20243}
20244
20245// String returns the string representation
20246func (s GetConnectionOutput) String() string {
20247	return awsutil.Prettify(s)
20248}
20249
20250// GoString returns the string representation
20251func (s GetConnectionOutput) GoString() string {
20252	return s.String()
20253}
20254
20255// SetConnection sets the Connection field's value.
20256func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput {
20257	s.Connection = v
20258	return s
20259}
20260
20261// Filters the connection definitions that are returned by the GetConnections
20262// API operation.
20263type GetConnectionsFilter struct {
20264	_ struct{} `type:"structure"`
20265
20266	// The type of connections to return. Currently, only JDBC is supported; SFTP
20267	// is not supported.
20268	ConnectionType *string `type:"string" enum:"ConnectionType"`
20269
20270	// A criteria string that must match the criteria recorded in the connection
20271	// definition for that connection definition to be returned.
20272	MatchCriteria []*string `type:"list"`
20273}
20274
20275// String returns the string representation
20276func (s GetConnectionsFilter) String() string {
20277	return awsutil.Prettify(s)
20278}
20279
20280// GoString returns the string representation
20281func (s GetConnectionsFilter) GoString() string {
20282	return s.String()
20283}
20284
20285// SetConnectionType sets the ConnectionType field's value.
20286func (s *GetConnectionsFilter) SetConnectionType(v string) *GetConnectionsFilter {
20287	s.ConnectionType = &v
20288	return s
20289}
20290
20291// SetMatchCriteria sets the MatchCriteria field's value.
20292func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilter {
20293	s.MatchCriteria = v
20294	return s
20295}
20296
20297type GetConnectionsInput struct {
20298	_ struct{} `type:"structure"`
20299
20300	// The ID of the Data Catalog in which the connections reside. If none is provided,
20301	// the AWS account ID is used by default.
20302	CatalogId *string `min:"1" type:"string"`
20303
20304	// A filter that controls which connections are returned.
20305	Filter *GetConnectionsFilter `type:"structure"`
20306
20307	// Allows you to retrieve the connection metadata without returning the password.
20308	// For instance, the AWS Glue console uses this flag to retrieve the connection,
20309	// and does not display the password. Set this parameter when the caller might
20310	// not have permission to use the AWS KMS key to decrypt the password, but it
20311	// does have permission to access the rest of the connection properties.
20312	HidePassword *bool `type:"boolean"`
20313
20314	// The maximum number of connections to return in one response.
20315	MaxResults *int64 `min:"1" type:"integer"`
20316
20317	// A continuation token, if this is a continuation call.
20318	NextToken *string `type:"string"`
20319}
20320
20321// String returns the string representation
20322func (s GetConnectionsInput) String() string {
20323	return awsutil.Prettify(s)
20324}
20325
20326// GoString returns the string representation
20327func (s GetConnectionsInput) GoString() string {
20328	return s.String()
20329}
20330
20331// Validate inspects the fields of the type to determine if they are valid.
20332func (s *GetConnectionsInput) Validate() error {
20333	invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"}
20334	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20335		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20336	}
20337	if s.MaxResults != nil && *s.MaxResults < 1 {
20338		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20339	}
20340
20341	if invalidParams.Len() > 0 {
20342		return invalidParams
20343	}
20344	return nil
20345}
20346
20347// SetCatalogId sets the CatalogId field's value.
20348func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput {
20349	s.CatalogId = &v
20350	return s
20351}
20352
20353// SetFilter sets the Filter field's value.
20354func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput {
20355	s.Filter = v
20356	return s
20357}
20358
20359// SetHidePassword sets the HidePassword field's value.
20360func (s *GetConnectionsInput) SetHidePassword(v bool) *GetConnectionsInput {
20361	s.HidePassword = &v
20362	return s
20363}
20364
20365// SetMaxResults sets the MaxResults field's value.
20366func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput {
20367	s.MaxResults = &v
20368	return s
20369}
20370
20371// SetNextToken sets the NextToken field's value.
20372func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput {
20373	s.NextToken = &v
20374	return s
20375}
20376
20377type GetConnectionsOutput struct {
20378	_ struct{} `type:"structure"`
20379
20380	// A list of requested connection definitions.
20381	ConnectionList []*Connection `type:"list"`
20382
20383	// A continuation token, if the list of connections returned does not include
20384	// the last of the filtered connections.
20385	NextToken *string `type:"string"`
20386}
20387
20388// String returns the string representation
20389func (s GetConnectionsOutput) String() string {
20390	return awsutil.Prettify(s)
20391}
20392
20393// GoString returns the string representation
20394func (s GetConnectionsOutput) GoString() string {
20395	return s.String()
20396}
20397
20398// SetConnectionList sets the ConnectionList field's value.
20399func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput {
20400	s.ConnectionList = v
20401	return s
20402}
20403
20404// SetNextToken sets the NextToken field's value.
20405func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput {
20406	s.NextToken = &v
20407	return s
20408}
20409
20410type GetCrawlerInput struct {
20411	_ struct{} `type:"structure"`
20412
20413	// The name of the crawler to retrieve metadata for.
20414	//
20415	// Name is a required field
20416	Name *string `min:"1" type:"string" required:"true"`
20417}
20418
20419// String returns the string representation
20420func (s GetCrawlerInput) String() string {
20421	return awsutil.Prettify(s)
20422}
20423
20424// GoString returns the string representation
20425func (s GetCrawlerInput) GoString() string {
20426	return s.String()
20427}
20428
20429// Validate inspects the fields of the type to determine if they are valid.
20430func (s *GetCrawlerInput) Validate() error {
20431	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerInput"}
20432	if s.Name == nil {
20433		invalidParams.Add(request.NewErrParamRequired("Name"))
20434	}
20435	if s.Name != nil && len(*s.Name) < 1 {
20436		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20437	}
20438
20439	if invalidParams.Len() > 0 {
20440		return invalidParams
20441	}
20442	return nil
20443}
20444
20445// SetName sets the Name field's value.
20446func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput {
20447	s.Name = &v
20448	return s
20449}
20450
20451type GetCrawlerMetricsInput struct {
20452	_ struct{} `type:"structure"`
20453
20454	// A list of the names of crawlers about which to retrieve metrics.
20455	CrawlerNameList []*string `type:"list"`
20456
20457	// The maximum size of a list to return.
20458	MaxResults *int64 `min:"1" type:"integer"`
20459
20460	// A continuation token, if this is a continuation call.
20461	NextToken *string `type:"string"`
20462}
20463
20464// String returns the string representation
20465func (s GetCrawlerMetricsInput) String() string {
20466	return awsutil.Prettify(s)
20467}
20468
20469// GoString returns the string representation
20470func (s GetCrawlerMetricsInput) GoString() string {
20471	return s.String()
20472}
20473
20474// Validate inspects the fields of the type to determine if they are valid.
20475func (s *GetCrawlerMetricsInput) Validate() error {
20476	invalidParams := request.ErrInvalidParams{Context: "GetCrawlerMetricsInput"}
20477	if s.MaxResults != nil && *s.MaxResults < 1 {
20478		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20479	}
20480
20481	if invalidParams.Len() > 0 {
20482		return invalidParams
20483	}
20484	return nil
20485}
20486
20487// SetCrawlerNameList sets the CrawlerNameList field's value.
20488func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []*string) *GetCrawlerMetricsInput {
20489	s.CrawlerNameList = v
20490	return s
20491}
20492
20493// SetMaxResults sets the MaxResults field's value.
20494func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput {
20495	s.MaxResults = &v
20496	return s
20497}
20498
20499// SetNextToken sets the NextToken field's value.
20500func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput {
20501	s.NextToken = &v
20502	return s
20503}
20504
20505type GetCrawlerMetricsOutput struct {
20506	_ struct{} `type:"structure"`
20507
20508	// A list of metrics for the specified crawler.
20509	CrawlerMetricsList []*CrawlerMetrics `type:"list"`
20510
20511	// A continuation token, if the returned list does not contain the last metric
20512	// available.
20513	NextToken *string `type:"string"`
20514}
20515
20516// String returns the string representation
20517func (s GetCrawlerMetricsOutput) String() string {
20518	return awsutil.Prettify(s)
20519}
20520
20521// GoString returns the string representation
20522func (s GetCrawlerMetricsOutput) GoString() string {
20523	return s.String()
20524}
20525
20526// SetCrawlerMetricsList sets the CrawlerMetricsList field's value.
20527func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []*CrawlerMetrics) *GetCrawlerMetricsOutput {
20528	s.CrawlerMetricsList = v
20529	return s
20530}
20531
20532// SetNextToken sets the NextToken field's value.
20533func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput {
20534	s.NextToken = &v
20535	return s
20536}
20537
20538type GetCrawlerOutput struct {
20539	_ struct{} `type:"structure"`
20540
20541	// The metadata for the specified crawler.
20542	Crawler *Crawler `type:"structure"`
20543}
20544
20545// String returns the string representation
20546func (s GetCrawlerOutput) String() string {
20547	return awsutil.Prettify(s)
20548}
20549
20550// GoString returns the string representation
20551func (s GetCrawlerOutput) GoString() string {
20552	return s.String()
20553}
20554
20555// SetCrawler sets the Crawler field's value.
20556func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput {
20557	s.Crawler = v
20558	return s
20559}
20560
20561type GetCrawlersInput struct {
20562	_ struct{} `type:"structure"`
20563
20564	// The number of crawlers to return on each call.
20565	MaxResults *int64 `min:"1" type:"integer"`
20566
20567	// A continuation token, if this is a continuation request.
20568	NextToken *string `type:"string"`
20569}
20570
20571// String returns the string representation
20572func (s GetCrawlersInput) String() string {
20573	return awsutil.Prettify(s)
20574}
20575
20576// GoString returns the string representation
20577func (s GetCrawlersInput) GoString() string {
20578	return s.String()
20579}
20580
20581// Validate inspects the fields of the type to determine if they are valid.
20582func (s *GetCrawlersInput) Validate() error {
20583	invalidParams := request.ErrInvalidParams{Context: "GetCrawlersInput"}
20584	if s.MaxResults != nil && *s.MaxResults < 1 {
20585		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20586	}
20587
20588	if invalidParams.Len() > 0 {
20589		return invalidParams
20590	}
20591	return nil
20592}
20593
20594// SetMaxResults sets the MaxResults field's value.
20595func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput {
20596	s.MaxResults = &v
20597	return s
20598}
20599
20600// SetNextToken sets the NextToken field's value.
20601func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput {
20602	s.NextToken = &v
20603	return s
20604}
20605
20606type GetCrawlersOutput struct {
20607	_ struct{} `type:"structure"`
20608
20609	// A list of crawler metadata.
20610	Crawlers []*Crawler `type:"list"`
20611
20612	// A continuation token, if the returned list has not reached the end of those
20613	// defined in this customer account.
20614	NextToken *string `type:"string"`
20615}
20616
20617// String returns the string representation
20618func (s GetCrawlersOutput) String() string {
20619	return awsutil.Prettify(s)
20620}
20621
20622// GoString returns the string representation
20623func (s GetCrawlersOutput) GoString() string {
20624	return s.String()
20625}
20626
20627// SetCrawlers sets the Crawlers field's value.
20628func (s *GetCrawlersOutput) SetCrawlers(v []*Crawler) *GetCrawlersOutput {
20629	s.Crawlers = v
20630	return s
20631}
20632
20633// SetNextToken sets the NextToken field's value.
20634func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput {
20635	s.NextToken = &v
20636	return s
20637}
20638
20639type GetDataCatalogEncryptionSettingsInput struct {
20640	_ struct{} `type:"structure"`
20641
20642	// The ID of the Data Catalog to retrieve the security configuration for. If
20643	// none is provided, the AWS account ID is used by default.
20644	CatalogId *string `min:"1" type:"string"`
20645}
20646
20647// String returns the string representation
20648func (s GetDataCatalogEncryptionSettingsInput) String() string {
20649	return awsutil.Prettify(s)
20650}
20651
20652// GoString returns the string representation
20653func (s GetDataCatalogEncryptionSettingsInput) GoString() string {
20654	return s.String()
20655}
20656
20657// Validate inspects the fields of the type to determine if they are valid.
20658func (s *GetDataCatalogEncryptionSettingsInput) Validate() error {
20659	invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"}
20660	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20661		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20662	}
20663
20664	if invalidParams.Len() > 0 {
20665		return invalidParams
20666	}
20667	return nil
20668}
20669
20670// SetCatalogId sets the CatalogId field's value.
20671func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput {
20672	s.CatalogId = &v
20673	return s
20674}
20675
20676type GetDataCatalogEncryptionSettingsOutput struct {
20677	_ struct{} `type:"structure"`
20678
20679	// The requested security configuration.
20680	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"`
20681}
20682
20683// String returns the string representation
20684func (s GetDataCatalogEncryptionSettingsOutput) String() string {
20685	return awsutil.Prettify(s)
20686}
20687
20688// GoString returns the string representation
20689func (s GetDataCatalogEncryptionSettingsOutput) GoString() string {
20690	return s.String()
20691}
20692
20693// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
20694func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput {
20695	s.DataCatalogEncryptionSettings = v
20696	return s
20697}
20698
20699type GetDatabaseInput struct {
20700	_ struct{} `type:"structure"`
20701
20702	// The ID of the Data Catalog in which the database resides. If none is provided,
20703	// the AWS account ID is used by default.
20704	CatalogId *string `min:"1" type:"string"`
20705
20706	// The name of the database to retrieve. For Hive compatibility, this should
20707	// be all lowercase.
20708	//
20709	// Name is a required field
20710	Name *string `min:"1" type:"string" required:"true"`
20711}
20712
20713// String returns the string representation
20714func (s GetDatabaseInput) String() string {
20715	return awsutil.Prettify(s)
20716}
20717
20718// GoString returns the string representation
20719func (s GetDatabaseInput) GoString() string {
20720	return s.String()
20721}
20722
20723// Validate inspects the fields of the type to determine if they are valid.
20724func (s *GetDatabaseInput) Validate() error {
20725	invalidParams := request.ErrInvalidParams{Context: "GetDatabaseInput"}
20726	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20727		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20728	}
20729	if s.Name == nil {
20730		invalidParams.Add(request.NewErrParamRequired("Name"))
20731	}
20732	if s.Name != nil && len(*s.Name) < 1 {
20733		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20734	}
20735
20736	if invalidParams.Len() > 0 {
20737		return invalidParams
20738	}
20739	return nil
20740}
20741
20742// SetCatalogId sets the CatalogId field's value.
20743func (s *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput {
20744	s.CatalogId = &v
20745	return s
20746}
20747
20748// SetName sets the Name field's value.
20749func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput {
20750	s.Name = &v
20751	return s
20752}
20753
20754type GetDatabaseOutput struct {
20755	_ struct{} `type:"structure"`
20756
20757	// The definition of the specified database in the Data Catalog.
20758	Database *Database `type:"structure"`
20759}
20760
20761// String returns the string representation
20762func (s GetDatabaseOutput) String() string {
20763	return awsutil.Prettify(s)
20764}
20765
20766// GoString returns the string representation
20767func (s GetDatabaseOutput) GoString() string {
20768	return s.String()
20769}
20770
20771// SetDatabase sets the Database field's value.
20772func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput {
20773	s.Database = v
20774	return s
20775}
20776
20777type GetDatabasesInput struct {
20778	_ struct{} `type:"structure"`
20779
20780	// The ID of the Data Catalog from which to retrieve Databases. If none is provided,
20781	// the AWS account ID is used by default.
20782	CatalogId *string `min:"1" type:"string"`
20783
20784	// The maximum number of databases to return in one response.
20785	MaxResults *int64 `min:"1" type:"integer"`
20786
20787	// A continuation token, if this is a continuation call.
20788	NextToken *string `type:"string"`
20789}
20790
20791// String returns the string representation
20792func (s GetDatabasesInput) String() string {
20793	return awsutil.Prettify(s)
20794}
20795
20796// GoString returns the string representation
20797func (s GetDatabasesInput) GoString() string {
20798	return s.String()
20799}
20800
20801// Validate inspects the fields of the type to determine if they are valid.
20802func (s *GetDatabasesInput) Validate() error {
20803	invalidParams := request.ErrInvalidParams{Context: "GetDatabasesInput"}
20804	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
20805		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
20806	}
20807	if s.MaxResults != nil && *s.MaxResults < 1 {
20808		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20809	}
20810
20811	if invalidParams.Len() > 0 {
20812		return invalidParams
20813	}
20814	return nil
20815}
20816
20817// SetCatalogId sets the CatalogId field's value.
20818func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput {
20819	s.CatalogId = &v
20820	return s
20821}
20822
20823// SetMaxResults sets the MaxResults field's value.
20824func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput {
20825	s.MaxResults = &v
20826	return s
20827}
20828
20829// SetNextToken sets the NextToken field's value.
20830func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput {
20831	s.NextToken = &v
20832	return s
20833}
20834
20835type GetDatabasesOutput struct {
20836	_ struct{} `type:"structure"`
20837
20838	// A list of Database objects from the specified catalog.
20839	//
20840	// DatabaseList is a required field
20841	DatabaseList []*Database `type:"list" required:"true"`
20842
20843	// A continuation token for paginating the returned list of tokens, returned
20844	// if the current segment of the list is not the last.
20845	NextToken *string `type:"string"`
20846}
20847
20848// String returns the string representation
20849func (s GetDatabasesOutput) String() string {
20850	return awsutil.Prettify(s)
20851}
20852
20853// GoString returns the string representation
20854func (s GetDatabasesOutput) GoString() string {
20855	return s.String()
20856}
20857
20858// SetDatabaseList sets the DatabaseList field's value.
20859func (s *GetDatabasesOutput) SetDatabaseList(v []*Database) *GetDatabasesOutput {
20860	s.DatabaseList = v
20861	return s
20862}
20863
20864// SetNextToken sets the NextToken field's value.
20865func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput {
20866	s.NextToken = &v
20867	return s
20868}
20869
20870type GetDataflowGraphInput struct {
20871	_ struct{} `type:"structure"`
20872
20873	// The Python script to transform.
20874	PythonScript *string `type:"string"`
20875}
20876
20877// String returns the string representation
20878func (s GetDataflowGraphInput) String() string {
20879	return awsutil.Prettify(s)
20880}
20881
20882// GoString returns the string representation
20883func (s GetDataflowGraphInput) GoString() string {
20884	return s.String()
20885}
20886
20887// SetPythonScript sets the PythonScript field's value.
20888func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput {
20889	s.PythonScript = &v
20890	return s
20891}
20892
20893type GetDataflowGraphOutput struct {
20894	_ struct{} `type:"structure"`
20895
20896	// A list of the edges in the resulting DAG.
20897	DagEdges []*CodeGenEdge `type:"list"`
20898
20899	// A list of the nodes in the resulting DAG.
20900	DagNodes []*CodeGenNode `type:"list"`
20901}
20902
20903// String returns the string representation
20904func (s GetDataflowGraphOutput) String() string {
20905	return awsutil.Prettify(s)
20906}
20907
20908// GoString returns the string representation
20909func (s GetDataflowGraphOutput) GoString() string {
20910	return s.String()
20911}
20912
20913// SetDagEdges sets the DagEdges field's value.
20914func (s *GetDataflowGraphOutput) SetDagEdges(v []*CodeGenEdge) *GetDataflowGraphOutput {
20915	s.DagEdges = v
20916	return s
20917}
20918
20919// SetDagNodes sets the DagNodes field's value.
20920func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraphOutput {
20921	s.DagNodes = v
20922	return s
20923}
20924
20925type GetDevEndpointInput struct {
20926	_ struct{} `type:"structure"`
20927
20928	// Name of the DevEndpoint to retrieve information for.
20929	//
20930	// EndpointName is a required field
20931	EndpointName *string `type:"string" required:"true"`
20932}
20933
20934// String returns the string representation
20935func (s GetDevEndpointInput) String() string {
20936	return awsutil.Prettify(s)
20937}
20938
20939// GoString returns the string representation
20940func (s GetDevEndpointInput) GoString() string {
20941	return s.String()
20942}
20943
20944// Validate inspects the fields of the type to determine if they are valid.
20945func (s *GetDevEndpointInput) Validate() error {
20946	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointInput"}
20947	if s.EndpointName == nil {
20948		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
20949	}
20950
20951	if invalidParams.Len() > 0 {
20952		return invalidParams
20953	}
20954	return nil
20955}
20956
20957// SetEndpointName sets the EndpointName field's value.
20958func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput {
20959	s.EndpointName = &v
20960	return s
20961}
20962
20963type GetDevEndpointOutput struct {
20964	_ struct{} `type:"structure"`
20965
20966	// A DevEndpoint definition.
20967	DevEndpoint *DevEndpoint `type:"structure"`
20968}
20969
20970// String returns the string representation
20971func (s GetDevEndpointOutput) String() string {
20972	return awsutil.Prettify(s)
20973}
20974
20975// GoString returns the string representation
20976func (s GetDevEndpointOutput) GoString() string {
20977	return s.String()
20978}
20979
20980// SetDevEndpoint sets the DevEndpoint field's value.
20981func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput {
20982	s.DevEndpoint = v
20983	return s
20984}
20985
20986type GetDevEndpointsInput struct {
20987	_ struct{} `type:"structure"`
20988
20989	// The maximum size of information to return.
20990	MaxResults *int64 `min:"1" type:"integer"`
20991
20992	// A continuation token, if this is a continuation call.
20993	NextToken *string `type:"string"`
20994}
20995
20996// String returns the string representation
20997func (s GetDevEndpointsInput) String() string {
20998	return awsutil.Prettify(s)
20999}
21000
21001// GoString returns the string representation
21002func (s GetDevEndpointsInput) GoString() string {
21003	return s.String()
21004}
21005
21006// Validate inspects the fields of the type to determine if they are valid.
21007func (s *GetDevEndpointsInput) Validate() error {
21008	invalidParams := request.ErrInvalidParams{Context: "GetDevEndpointsInput"}
21009	if s.MaxResults != nil && *s.MaxResults < 1 {
21010		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21011	}
21012
21013	if invalidParams.Len() > 0 {
21014		return invalidParams
21015	}
21016	return nil
21017}
21018
21019// SetMaxResults sets the MaxResults field's value.
21020func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput {
21021	s.MaxResults = &v
21022	return s
21023}
21024
21025// SetNextToken sets the NextToken field's value.
21026func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput {
21027	s.NextToken = &v
21028	return s
21029}
21030
21031type GetDevEndpointsOutput struct {
21032	_ struct{} `type:"structure"`
21033
21034	// A list of DevEndpoint definitions.
21035	DevEndpoints []*DevEndpoint `type:"list"`
21036
21037	// A continuation token, if not all DevEndpoint definitions have yet been returned.
21038	NextToken *string `type:"string"`
21039}
21040
21041// String returns the string representation
21042func (s GetDevEndpointsOutput) String() string {
21043	return awsutil.Prettify(s)
21044}
21045
21046// GoString returns the string representation
21047func (s GetDevEndpointsOutput) GoString() string {
21048	return s.String()
21049}
21050
21051// SetDevEndpoints sets the DevEndpoints field's value.
21052func (s *GetDevEndpointsOutput) SetDevEndpoints(v []*DevEndpoint) *GetDevEndpointsOutput {
21053	s.DevEndpoints = v
21054	return s
21055}
21056
21057// SetNextToken sets the NextToken field's value.
21058func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput {
21059	s.NextToken = &v
21060	return s
21061}
21062
21063type GetJobBookmarkInput struct {
21064	_ struct{} `type:"structure"`
21065
21066	// The name of the job in question.
21067	//
21068	// JobName is a required field
21069	JobName *string `type:"string" required:"true"`
21070
21071	// The unique run identifier associated with this job run.
21072	RunId *string `type:"string"`
21073}
21074
21075// String returns the string representation
21076func (s GetJobBookmarkInput) String() string {
21077	return awsutil.Prettify(s)
21078}
21079
21080// GoString returns the string representation
21081func (s GetJobBookmarkInput) GoString() string {
21082	return s.String()
21083}
21084
21085// Validate inspects the fields of the type to determine if they are valid.
21086func (s *GetJobBookmarkInput) Validate() error {
21087	invalidParams := request.ErrInvalidParams{Context: "GetJobBookmarkInput"}
21088	if s.JobName == nil {
21089		invalidParams.Add(request.NewErrParamRequired("JobName"))
21090	}
21091
21092	if invalidParams.Len() > 0 {
21093		return invalidParams
21094	}
21095	return nil
21096}
21097
21098// SetJobName sets the JobName field's value.
21099func (s *GetJobBookmarkInput) SetJobName(v string) *GetJobBookmarkInput {
21100	s.JobName = &v
21101	return s
21102}
21103
21104// SetRunId sets the RunId field's value.
21105func (s *GetJobBookmarkInput) SetRunId(v string) *GetJobBookmarkInput {
21106	s.RunId = &v
21107	return s
21108}
21109
21110type GetJobBookmarkOutput struct {
21111	_ struct{} `type:"structure"`
21112
21113	// A structure that defines a point that a job can resume processing.
21114	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
21115}
21116
21117// String returns the string representation
21118func (s GetJobBookmarkOutput) String() string {
21119	return awsutil.Prettify(s)
21120}
21121
21122// GoString returns the string representation
21123func (s GetJobBookmarkOutput) GoString() string {
21124	return s.String()
21125}
21126
21127// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
21128func (s *GetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *GetJobBookmarkOutput {
21129	s.JobBookmarkEntry = v
21130	return s
21131}
21132
21133type GetJobInput struct {
21134	_ struct{} `type:"structure"`
21135
21136	// The name of the job definition to retrieve.
21137	//
21138	// JobName is a required field
21139	JobName *string `min:"1" type:"string" required:"true"`
21140}
21141
21142// String returns the string representation
21143func (s GetJobInput) String() string {
21144	return awsutil.Prettify(s)
21145}
21146
21147// GoString returns the string representation
21148func (s GetJobInput) GoString() string {
21149	return s.String()
21150}
21151
21152// Validate inspects the fields of the type to determine if they are valid.
21153func (s *GetJobInput) Validate() error {
21154	invalidParams := request.ErrInvalidParams{Context: "GetJobInput"}
21155	if s.JobName == nil {
21156		invalidParams.Add(request.NewErrParamRequired("JobName"))
21157	}
21158	if s.JobName != nil && len(*s.JobName) < 1 {
21159		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21160	}
21161
21162	if invalidParams.Len() > 0 {
21163		return invalidParams
21164	}
21165	return nil
21166}
21167
21168// SetJobName sets the JobName field's value.
21169func (s *GetJobInput) SetJobName(v string) *GetJobInput {
21170	s.JobName = &v
21171	return s
21172}
21173
21174type GetJobOutput struct {
21175	_ struct{} `type:"structure"`
21176
21177	// The requested job definition.
21178	Job *Job `type:"structure"`
21179}
21180
21181// String returns the string representation
21182func (s GetJobOutput) String() string {
21183	return awsutil.Prettify(s)
21184}
21185
21186// GoString returns the string representation
21187func (s GetJobOutput) GoString() string {
21188	return s.String()
21189}
21190
21191// SetJob sets the Job field's value.
21192func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
21193	s.Job = v
21194	return s
21195}
21196
21197type GetJobRunInput struct {
21198	_ struct{} `type:"structure"`
21199
21200	// Name of the job definition being run.
21201	//
21202	// JobName is a required field
21203	JobName *string `min:"1" type:"string" required:"true"`
21204
21205	// True if a list of predecessor runs should be returned.
21206	PredecessorsIncluded *bool `type:"boolean"`
21207
21208	// The ID of the job run.
21209	//
21210	// RunId is a required field
21211	RunId *string `min:"1" type:"string" required:"true"`
21212}
21213
21214// String returns the string representation
21215func (s GetJobRunInput) String() string {
21216	return awsutil.Prettify(s)
21217}
21218
21219// GoString returns the string representation
21220func (s GetJobRunInput) GoString() string {
21221	return s.String()
21222}
21223
21224// Validate inspects the fields of the type to determine if they are valid.
21225func (s *GetJobRunInput) Validate() error {
21226	invalidParams := request.ErrInvalidParams{Context: "GetJobRunInput"}
21227	if s.JobName == nil {
21228		invalidParams.Add(request.NewErrParamRequired("JobName"))
21229	}
21230	if s.JobName != nil && len(*s.JobName) < 1 {
21231		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21232	}
21233	if s.RunId == nil {
21234		invalidParams.Add(request.NewErrParamRequired("RunId"))
21235	}
21236	if s.RunId != nil && len(*s.RunId) < 1 {
21237		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
21238	}
21239
21240	if invalidParams.Len() > 0 {
21241		return invalidParams
21242	}
21243	return nil
21244}
21245
21246// SetJobName sets the JobName field's value.
21247func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput {
21248	s.JobName = &v
21249	return s
21250}
21251
21252// SetPredecessorsIncluded sets the PredecessorsIncluded field's value.
21253func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput {
21254	s.PredecessorsIncluded = &v
21255	return s
21256}
21257
21258// SetRunId sets the RunId field's value.
21259func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput {
21260	s.RunId = &v
21261	return s
21262}
21263
21264type GetJobRunOutput struct {
21265	_ struct{} `type:"structure"`
21266
21267	// The requested job-run metadata.
21268	JobRun *JobRun `type:"structure"`
21269}
21270
21271// String returns the string representation
21272func (s GetJobRunOutput) String() string {
21273	return awsutil.Prettify(s)
21274}
21275
21276// GoString returns the string representation
21277func (s GetJobRunOutput) GoString() string {
21278	return s.String()
21279}
21280
21281// SetJobRun sets the JobRun field's value.
21282func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput {
21283	s.JobRun = v
21284	return s
21285}
21286
21287type GetJobRunsInput struct {
21288	_ struct{} `type:"structure"`
21289
21290	// The name of the job definition for which to retrieve all job runs.
21291	//
21292	// JobName is a required field
21293	JobName *string `min:"1" type:"string" required:"true"`
21294
21295	// The maximum size of the response.
21296	MaxResults *int64 `min:"1" type:"integer"`
21297
21298	// A continuation token, if this is a continuation call.
21299	NextToken *string `type:"string"`
21300}
21301
21302// String returns the string representation
21303func (s GetJobRunsInput) String() string {
21304	return awsutil.Prettify(s)
21305}
21306
21307// GoString returns the string representation
21308func (s GetJobRunsInput) GoString() string {
21309	return s.String()
21310}
21311
21312// Validate inspects the fields of the type to determine if they are valid.
21313func (s *GetJobRunsInput) Validate() error {
21314	invalidParams := request.ErrInvalidParams{Context: "GetJobRunsInput"}
21315	if s.JobName == nil {
21316		invalidParams.Add(request.NewErrParamRequired("JobName"))
21317	}
21318	if s.JobName != nil && len(*s.JobName) < 1 {
21319		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
21320	}
21321	if s.MaxResults != nil && *s.MaxResults < 1 {
21322		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21323	}
21324
21325	if invalidParams.Len() > 0 {
21326		return invalidParams
21327	}
21328	return nil
21329}
21330
21331// SetJobName sets the JobName field's value.
21332func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput {
21333	s.JobName = &v
21334	return s
21335}
21336
21337// SetMaxResults sets the MaxResults field's value.
21338func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput {
21339	s.MaxResults = &v
21340	return s
21341}
21342
21343// SetNextToken sets the NextToken field's value.
21344func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput {
21345	s.NextToken = &v
21346	return s
21347}
21348
21349type GetJobRunsOutput struct {
21350	_ struct{} `type:"structure"`
21351
21352	// A list of job-run metadata objects.
21353	JobRuns []*JobRun `type:"list"`
21354
21355	// A continuation token, if not all requested job runs have been returned.
21356	NextToken *string `type:"string"`
21357}
21358
21359// String returns the string representation
21360func (s GetJobRunsOutput) String() string {
21361	return awsutil.Prettify(s)
21362}
21363
21364// GoString returns the string representation
21365func (s GetJobRunsOutput) GoString() string {
21366	return s.String()
21367}
21368
21369// SetJobRuns sets the JobRuns field's value.
21370func (s *GetJobRunsOutput) SetJobRuns(v []*JobRun) *GetJobRunsOutput {
21371	s.JobRuns = v
21372	return s
21373}
21374
21375// SetNextToken sets the NextToken field's value.
21376func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput {
21377	s.NextToken = &v
21378	return s
21379}
21380
21381type GetJobsInput struct {
21382	_ struct{} `type:"structure"`
21383
21384	// The maximum size of the response.
21385	MaxResults *int64 `min:"1" type:"integer"`
21386
21387	// A continuation token, if this is a continuation call.
21388	NextToken *string `type:"string"`
21389}
21390
21391// String returns the string representation
21392func (s GetJobsInput) String() string {
21393	return awsutil.Prettify(s)
21394}
21395
21396// GoString returns the string representation
21397func (s GetJobsInput) GoString() string {
21398	return s.String()
21399}
21400
21401// Validate inspects the fields of the type to determine if they are valid.
21402func (s *GetJobsInput) Validate() error {
21403	invalidParams := request.ErrInvalidParams{Context: "GetJobsInput"}
21404	if s.MaxResults != nil && *s.MaxResults < 1 {
21405		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21406	}
21407
21408	if invalidParams.Len() > 0 {
21409		return invalidParams
21410	}
21411	return nil
21412}
21413
21414// SetMaxResults sets the MaxResults field's value.
21415func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput {
21416	s.MaxResults = &v
21417	return s
21418}
21419
21420// SetNextToken sets the NextToken field's value.
21421func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput {
21422	s.NextToken = &v
21423	return s
21424}
21425
21426type GetJobsOutput struct {
21427	_ struct{} `type:"structure"`
21428
21429	// A list of job definitions.
21430	Jobs []*Job `type:"list"`
21431
21432	// A continuation token, if not all job definitions have yet been returned.
21433	NextToken *string `type:"string"`
21434}
21435
21436// String returns the string representation
21437func (s GetJobsOutput) String() string {
21438	return awsutil.Prettify(s)
21439}
21440
21441// GoString returns the string representation
21442func (s GetJobsOutput) GoString() string {
21443	return s.String()
21444}
21445
21446// SetJobs sets the Jobs field's value.
21447func (s *GetJobsOutput) SetJobs(v []*Job) *GetJobsOutput {
21448	s.Jobs = v
21449	return s
21450}
21451
21452// SetNextToken sets the NextToken field's value.
21453func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput {
21454	s.NextToken = &v
21455	return s
21456}
21457
21458type GetMLTaskRunInput struct {
21459	_ struct{} `type:"structure"`
21460
21461	// The unique identifier of the task run.
21462	//
21463	// TaskRunId is a required field
21464	TaskRunId *string `min:"1" type:"string" required:"true"`
21465
21466	// The unique identifier of the machine learning transform.
21467	//
21468	// TransformId is a required field
21469	TransformId *string `min:"1" type:"string" required:"true"`
21470}
21471
21472// String returns the string representation
21473func (s GetMLTaskRunInput) String() string {
21474	return awsutil.Prettify(s)
21475}
21476
21477// GoString returns the string representation
21478func (s GetMLTaskRunInput) GoString() string {
21479	return s.String()
21480}
21481
21482// Validate inspects the fields of the type to determine if they are valid.
21483func (s *GetMLTaskRunInput) Validate() error {
21484	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunInput"}
21485	if s.TaskRunId == nil {
21486		invalidParams.Add(request.NewErrParamRequired("TaskRunId"))
21487	}
21488	if s.TaskRunId != nil && len(*s.TaskRunId) < 1 {
21489		invalidParams.Add(request.NewErrParamMinLen("TaskRunId", 1))
21490	}
21491	if s.TransformId == nil {
21492		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21493	}
21494	if s.TransformId != nil && len(*s.TransformId) < 1 {
21495		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21496	}
21497
21498	if invalidParams.Len() > 0 {
21499		return invalidParams
21500	}
21501	return nil
21502}
21503
21504// SetTaskRunId sets the TaskRunId field's value.
21505func (s *GetMLTaskRunInput) SetTaskRunId(v string) *GetMLTaskRunInput {
21506	s.TaskRunId = &v
21507	return s
21508}
21509
21510// SetTransformId sets the TransformId field's value.
21511func (s *GetMLTaskRunInput) SetTransformId(v string) *GetMLTaskRunInput {
21512	s.TransformId = &v
21513	return s
21514}
21515
21516type GetMLTaskRunOutput struct {
21517	_ struct{} `type:"structure"`
21518
21519	// The date and time when this task run was completed.
21520	CompletedOn *time.Time `type:"timestamp"`
21521
21522	// The error strings that are associated with the task run.
21523	ErrorString *string `type:"string"`
21524
21525	// The amount of time (in seconds) that the task run consumed resources.
21526	ExecutionTime *int64 `type:"integer"`
21527
21528	// The date and time when this task run was last modified.
21529	LastModifiedOn *time.Time `type:"timestamp"`
21530
21531	// The names of the log groups that are associated with the task run.
21532	LogGroupName *string `type:"string"`
21533
21534	// The list of properties that are associated with the task run.
21535	Properties *TaskRunProperties `type:"structure"`
21536
21537	// The date and time when this task run started.
21538	StartedOn *time.Time `type:"timestamp"`
21539
21540	// The status for this task run.
21541	Status *string `type:"string" enum:"TaskStatusType"`
21542
21543	// The unique run identifier associated with this run.
21544	TaskRunId *string `min:"1" type:"string"`
21545
21546	// The unique identifier of the task run.
21547	TransformId *string `min:"1" type:"string"`
21548}
21549
21550// String returns the string representation
21551func (s GetMLTaskRunOutput) String() string {
21552	return awsutil.Prettify(s)
21553}
21554
21555// GoString returns the string representation
21556func (s GetMLTaskRunOutput) GoString() string {
21557	return s.String()
21558}
21559
21560// SetCompletedOn sets the CompletedOn field's value.
21561func (s *GetMLTaskRunOutput) SetCompletedOn(v time.Time) *GetMLTaskRunOutput {
21562	s.CompletedOn = &v
21563	return s
21564}
21565
21566// SetErrorString sets the ErrorString field's value.
21567func (s *GetMLTaskRunOutput) SetErrorString(v string) *GetMLTaskRunOutput {
21568	s.ErrorString = &v
21569	return s
21570}
21571
21572// SetExecutionTime sets the ExecutionTime field's value.
21573func (s *GetMLTaskRunOutput) SetExecutionTime(v int64) *GetMLTaskRunOutput {
21574	s.ExecutionTime = &v
21575	return s
21576}
21577
21578// SetLastModifiedOn sets the LastModifiedOn field's value.
21579func (s *GetMLTaskRunOutput) SetLastModifiedOn(v time.Time) *GetMLTaskRunOutput {
21580	s.LastModifiedOn = &v
21581	return s
21582}
21583
21584// SetLogGroupName sets the LogGroupName field's value.
21585func (s *GetMLTaskRunOutput) SetLogGroupName(v string) *GetMLTaskRunOutput {
21586	s.LogGroupName = &v
21587	return s
21588}
21589
21590// SetProperties sets the Properties field's value.
21591func (s *GetMLTaskRunOutput) SetProperties(v *TaskRunProperties) *GetMLTaskRunOutput {
21592	s.Properties = v
21593	return s
21594}
21595
21596// SetStartedOn sets the StartedOn field's value.
21597func (s *GetMLTaskRunOutput) SetStartedOn(v time.Time) *GetMLTaskRunOutput {
21598	s.StartedOn = &v
21599	return s
21600}
21601
21602// SetStatus sets the Status field's value.
21603func (s *GetMLTaskRunOutput) SetStatus(v string) *GetMLTaskRunOutput {
21604	s.Status = &v
21605	return s
21606}
21607
21608// SetTaskRunId sets the TaskRunId field's value.
21609func (s *GetMLTaskRunOutput) SetTaskRunId(v string) *GetMLTaskRunOutput {
21610	s.TaskRunId = &v
21611	return s
21612}
21613
21614// SetTransformId sets the TransformId field's value.
21615func (s *GetMLTaskRunOutput) SetTransformId(v string) *GetMLTaskRunOutput {
21616	s.TransformId = &v
21617	return s
21618}
21619
21620type GetMLTaskRunsInput struct {
21621	_ struct{} `type:"structure"`
21622
21623	// The filter criteria, in the TaskRunFilterCriteria structure, for the task
21624	// run.
21625	Filter *TaskRunFilterCriteria `type:"structure"`
21626
21627	// The maximum number of results to return.
21628	MaxResults *int64 `min:"1" type:"integer"`
21629
21630	// A token for pagination of the results. The default is empty.
21631	NextToken *string `type:"string"`
21632
21633	// The sorting criteria, in the TaskRunSortCriteria structure, for the task
21634	// run.
21635	Sort *TaskRunSortCriteria `type:"structure"`
21636
21637	// The unique identifier of the machine learning transform.
21638	//
21639	// TransformId is a required field
21640	TransformId *string `min:"1" type:"string" required:"true"`
21641}
21642
21643// String returns the string representation
21644func (s GetMLTaskRunsInput) String() string {
21645	return awsutil.Prettify(s)
21646}
21647
21648// GoString returns the string representation
21649func (s GetMLTaskRunsInput) GoString() string {
21650	return s.String()
21651}
21652
21653// Validate inspects the fields of the type to determine if they are valid.
21654func (s *GetMLTaskRunsInput) Validate() error {
21655	invalidParams := request.ErrInvalidParams{Context: "GetMLTaskRunsInput"}
21656	if s.MaxResults != nil && *s.MaxResults < 1 {
21657		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
21658	}
21659	if s.TransformId == nil {
21660		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21661	}
21662	if s.TransformId != nil && len(*s.TransformId) < 1 {
21663		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21664	}
21665	if s.Sort != nil {
21666		if err := s.Sort.Validate(); err != nil {
21667			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
21668		}
21669	}
21670
21671	if invalidParams.Len() > 0 {
21672		return invalidParams
21673	}
21674	return nil
21675}
21676
21677// SetFilter sets the Filter field's value.
21678func (s *GetMLTaskRunsInput) SetFilter(v *TaskRunFilterCriteria) *GetMLTaskRunsInput {
21679	s.Filter = v
21680	return s
21681}
21682
21683// SetMaxResults sets the MaxResults field's value.
21684func (s *GetMLTaskRunsInput) SetMaxResults(v int64) *GetMLTaskRunsInput {
21685	s.MaxResults = &v
21686	return s
21687}
21688
21689// SetNextToken sets the NextToken field's value.
21690func (s *GetMLTaskRunsInput) SetNextToken(v string) *GetMLTaskRunsInput {
21691	s.NextToken = &v
21692	return s
21693}
21694
21695// SetSort sets the Sort field's value.
21696func (s *GetMLTaskRunsInput) SetSort(v *TaskRunSortCriteria) *GetMLTaskRunsInput {
21697	s.Sort = v
21698	return s
21699}
21700
21701// SetTransformId sets the TransformId field's value.
21702func (s *GetMLTaskRunsInput) SetTransformId(v string) *GetMLTaskRunsInput {
21703	s.TransformId = &v
21704	return s
21705}
21706
21707type GetMLTaskRunsOutput struct {
21708	_ struct{} `type:"structure"`
21709
21710	// A pagination token, if more results are available.
21711	NextToken *string `type:"string"`
21712
21713	// A list of task runs that are associated with the transform.
21714	TaskRuns []*TaskRun `type:"list"`
21715}
21716
21717// String returns the string representation
21718func (s GetMLTaskRunsOutput) String() string {
21719	return awsutil.Prettify(s)
21720}
21721
21722// GoString returns the string representation
21723func (s GetMLTaskRunsOutput) GoString() string {
21724	return s.String()
21725}
21726
21727// SetNextToken sets the NextToken field's value.
21728func (s *GetMLTaskRunsOutput) SetNextToken(v string) *GetMLTaskRunsOutput {
21729	s.NextToken = &v
21730	return s
21731}
21732
21733// SetTaskRuns sets the TaskRuns field's value.
21734func (s *GetMLTaskRunsOutput) SetTaskRuns(v []*TaskRun) *GetMLTaskRunsOutput {
21735	s.TaskRuns = v
21736	return s
21737}
21738
21739type GetMLTransformInput struct {
21740	_ struct{} `type:"structure"`
21741
21742	// The unique identifier of the transform, generated at the time that the transform
21743	// was created.
21744	//
21745	// TransformId is a required field
21746	TransformId *string `min:"1" type:"string" required:"true"`
21747}
21748
21749// String returns the string representation
21750func (s GetMLTransformInput) String() string {
21751	return awsutil.Prettify(s)
21752}
21753
21754// GoString returns the string representation
21755func (s GetMLTransformInput) GoString() string {
21756	return s.String()
21757}
21758
21759// Validate inspects the fields of the type to determine if they are valid.
21760func (s *GetMLTransformInput) Validate() error {
21761	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformInput"}
21762	if s.TransformId == nil {
21763		invalidParams.Add(request.NewErrParamRequired("TransformId"))
21764	}
21765	if s.TransformId != nil && len(*s.TransformId) < 1 {
21766		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
21767	}
21768
21769	if invalidParams.Len() > 0 {
21770		return invalidParams
21771	}
21772	return nil
21773}
21774
21775// SetTransformId sets the TransformId field's value.
21776func (s *GetMLTransformInput) SetTransformId(v string) *GetMLTransformInput {
21777	s.TransformId = &v
21778	return s
21779}
21780
21781type GetMLTransformOutput struct {
21782	_ struct{} `type:"structure"`
21783
21784	// The date and time when the transform was created.
21785	CreatedOn *time.Time `type:"timestamp"`
21786
21787	// A description of the transform.
21788	Description *string `type:"string"`
21789
21790	// The latest evaluation metrics.
21791	EvaluationMetrics *EvaluationMetrics `type:"structure"`
21792
21793	// A list of AWS Glue table definitions used by the transform.
21794	InputRecordTables []*Table `type:"list"`
21795
21796	// The number of labels available for this transform.
21797	LabelCount *int64 `type:"integer"`
21798
21799	// The date and time when the transform was last modified.
21800	LastModifiedOn *time.Time `type:"timestamp"`
21801
21802	// The number of AWS Glue data processing units (DPUs) that are allocated to
21803	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
21804	// is 10. A DPU is a relative measure of processing power that consists of 4
21805	// vCPUs of compute capacity and 16 GB of memory. For more information, see
21806	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
21807	//
21808	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
21809	// field is set automatically and becomes read-only.
21810	MaxCapacity *float64 `type:"double"`
21811
21812	// The maximum number of times to retry a task for this transform after a task
21813	// run fails.
21814	MaxRetries *int64 `type:"integer"`
21815
21816	// The unique name given to the transform when it was created.
21817	Name *string `min:"1" type:"string"`
21818
21819	// The number of workers of a defined workerType that are allocated when this
21820	// task runs.
21821	NumberOfWorkers *int64 `type:"integer"`
21822
21823	// The configuration parameters that are specific to the algorithm used.
21824	Parameters *TransformParameters `type:"structure"`
21825
21826	// The name or Amazon Resource Name (ARN) of the IAM role with the required
21827	// permissions.
21828	Role *string `type:"string"`
21829
21830	// The Map<Column, Type> object that represents the schema that this transform
21831	// accepts. Has an upper bound of 100 columns.
21832	Schema []*SchemaColumn `type:"list"`
21833
21834	// The last known status of the transform (to indicate whether it can be used
21835	// or not). One of "NOT_READY", "READY", or "DELETING".
21836	Status *string `type:"string" enum:"TransformStatusType"`
21837
21838	// The timeout for a task run for this transform in minutes. This is the maximum
21839	// time that a task run for this transform can consume resources before it is
21840	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
21841	Timeout *int64 `min:"1" type:"integer"`
21842
21843	// The unique identifier of the transform, generated at the time that the transform
21844	// was created.
21845	TransformId *string `min:"1" type:"string"`
21846
21847	// The type of predefined worker that is allocated when this task runs. Accepts
21848	// a value of Standard, G.1X, or G.2X.
21849	//
21850	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
21851	//    memory and a 50GB disk, and 2 executors per worker.
21852	//
21853	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
21854	//    and a 64GB disk, and 1 executor per worker.
21855	//
21856	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
21857	//    and a 128GB disk, and 1 executor per worker.
21858	WorkerType *string `type:"string" enum:"WorkerType"`
21859}
21860
21861// String returns the string representation
21862func (s GetMLTransformOutput) String() string {
21863	return awsutil.Prettify(s)
21864}
21865
21866// GoString returns the string representation
21867func (s GetMLTransformOutput) GoString() string {
21868	return s.String()
21869}
21870
21871// SetCreatedOn sets the CreatedOn field's value.
21872func (s *GetMLTransformOutput) SetCreatedOn(v time.Time) *GetMLTransformOutput {
21873	s.CreatedOn = &v
21874	return s
21875}
21876
21877// SetDescription sets the Description field's value.
21878func (s *GetMLTransformOutput) SetDescription(v string) *GetMLTransformOutput {
21879	s.Description = &v
21880	return s
21881}
21882
21883// SetEvaluationMetrics sets the EvaluationMetrics field's value.
21884func (s *GetMLTransformOutput) SetEvaluationMetrics(v *EvaluationMetrics) *GetMLTransformOutput {
21885	s.EvaluationMetrics = v
21886	return s
21887}
21888
21889// SetInputRecordTables sets the InputRecordTables field's value.
21890func (s *GetMLTransformOutput) SetInputRecordTables(v []*Table) *GetMLTransformOutput {
21891	s.InputRecordTables = v
21892	return s
21893}
21894
21895// SetLabelCount sets the LabelCount field's value.
21896func (s *GetMLTransformOutput) SetLabelCount(v int64) *GetMLTransformOutput {
21897	s.LabelCount = &v
21898	return s
21899}
21900
21901// SetLastModifiedOn sets the LastModifiedOn field's value.
21902func (s *GetMLTransformOutput) SetLastModifiedOn(v time.Time) *GetMLTransformOutput {
21903	s.LastModifiedOn = &v
21904	return s
21905}
21906
21907// SetMaxCapacity sets the MaxCapacity field's value.
21908func (s *GetMLTransformOutput) SetMaxCapacity(v float64) *GetMLTransformOutput {
21909	s.MaxCapacity = &v
21910	return s
21911}
21912
21913// SetMaxRetries sets the MaxRetries field's value.
21914func (s *GetMLTransformOutput) SetMaxRetries(v int64) *GetMLTransformOutput {
21915	s.MaxRetries = &v
21916	return s
21917}
21918
21919// SetName sets the Name field's value.
21920func (s *GetMLTransformOutput) SetName(v string) *GetMLTransformOutput {
21921	s.Name = &v
21922	return s
21923}
21924
21925// SetNumberOfWorkers sets the NumberOfWorkers field's value.
21926func (s *GetMLTransformOutput) SetNumberOfWorkers(v int64) *GetMLTransformOutput {
21927	s.NumberOfWorkers = &v
21928	return s
21929}
21930
21931// SetParameters sets the Parameters field's value.
21932func (s *GetMLTransformOutput) SetParameters(v *TransformParameters) *GetMLTransformOutput {
21933	s.Parameters = v
21934	return s
21935}
21936
21937// SetRole sets the Role field's value.
21938func (s *GetMLTransformOutput) SetRole(v string) *GetMLTransformOutput {
21939	s.Role = &v
21940	return s
21941}
21942
21943// SetSchema sets the Schema field's value.
21944func (s *GetMLTransformOutput) SetSchema(v []*SchemaColumn) *GetMLTransformOutput {
21945	s.Schema = v
21946	return s
21947}
21948
21949// SetStatus sets the Status field's value.
21950func (s *GetMLTransformOutput) SetStatus(v string) *GetMLTransformOutput {
21951	s.Status = &v
21952	return s
21953}
21954
21955// SetTimeout sets the Timeout field's value.
21956func (s *GetMLTransformOutput) SetTimeout(v int64) *GetMLTransformOutput {
21957	s.Timeout = &v
21958	return s
21959}
21960
21961// SetTransformId sets the TransformId field's value.
21962func (s *GetMLTransformOutput) SetTransformId(v string) *GetMLTransformOutput {
21963	s.TransformId = &v
21964	return s
21965}
21966
21967// SetWorkerType sets the WorkerType field's value.
21968func (s *GetMLTransformOutput) SetWorkerType(v string) *GetMLTransformOutput {
21969	s.WorkerType = &v
21970	return s
21971}
21972
21973type GetMLTransformsInput struct {
21974	_ struct{} `type:"structure"`
21975
21976	// The filter transformation criteria.
21977	Filter *TransformFilterCriteria `type:"structure"`
21978
21979	// The maximum number of results to return.
21980	MaxResults *int64 `min:"1" type:"integer"`
21981
21982	// A paginated token to offset the results.
21983	NextToken *string `type:"string"`
21984
21985	// The sorting criteria.
21986	Sort *TransformSortCriteria `type:"structure"`
21987}
21988
21989// String returns the string representation
21990func (s GetMLTransformsInput) String() string {
21991	return awsutil.Prettify(s)
21992}
21993
21994// GoString returns the string representation
21995func (s GetMLTransformsInput) GoString() string {
21996	return s.String()
21997}
21998
21999// Validate inspects the fields of the type to determine if they are valid.
22000func (s *GetMLTransformsInput) Validate() error {
22001	invalidParams := request.ErrInvalidParams{Context: "GetMLTransformsInput"}
22002	if s.MaxResults != nil && *s.MaxResults < 1 {
22003		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22004	}
22005	if s.Filter != nil {
22006		if err := s.Filter.Validate(); err != nil {
22007			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
22008		}
22009	}
22010	if s.Sort != nil {
22011		if err := s.Sort.Validate(); err != nil {
22012			invalidParams.AddNested("Sort", err.(request.ErrInvalidParams))
22013		}
22014	}
22015
22016	if invalidParams.Len() > 0 {
22017		return invalidParams
22018	}
22019	return nil
22020}
22021
22022// SetFilter sets the Filter field's value.
22023func (s *GetMLTransformsInput) SetFilter(v *TransformFilterCriteria) *GetMLTransformsInput {
22024	s.Filter = v
22025	return s
22026}
22027
22028// SetMaxResults sets the MaxResults field's value.
22029func (s *GetMLTransformsInput) SetMaxResults(v int64) *GetMLTransformsInput {
22030	s.MaxResults = &v
22031	return s
22032}
22033
22034// SetNextToken sets the NextToken field's value.
22035func (s *GetMLTransformsInput) SetNextToken(v string) *GetMLTransformsInput {
22036	s.NextToken = &v
22037	return s
22038}
22039
22040// SetSort sets the Sort field's value.
22041func (s *GetMLTransformsInput) SetSort(v *TransformSortCriteria) *GetMLTransformsInput {
22042	s.Sort = v
22043	return s
22044}
22045
22046type GetMLTransformsOutput struct {
22047	_ struct{} `type:"structure"`
22048
22049	// A pagination token, if more results are available.
22050	NextToken *string `type:"string"`
22051
22052	// A list of machine learning transforms.
22053	//
22054	// Transforms is a required field
22055	Transforms []*MLTransform `type:"list" required:"true"`
22056}
22057
22058// String returns the string representation
22059func (s GetMLTransformsOutput) String() string {
22060	return awsutil.Prettify(s)
22061}
22062
22063// GoString returns the string representation
22064func (s GetMLTransformsOutput) GoString() string {
22065	return s.String()
22066}
22067
22068// SetNextToken sets the NextToken field's value.
22069func (s *GetMLTransformsOutput) SetNextToken(v string) *GetMLTransformsOutput {
22070	s.NextToken = &v
22071	return s
22072}
22073
22074// SetTransforms sets the Transforms field's value.
22075func (s *GetMLTransformsOutput) SetTransforms(v []*MLTransform) *GetMLTransformsOutput {
22076	s.Transforms = v
22077	return s
22078}
22079
22080type GetMappingInput struct {
22081	_ struct{} `type:"structure"`
22082
22083	// Parameters for the mapping.
22084	Location *Location `type:"structure"`
22085
22086	// A list of target tables.
22087	Sinks []*CatalogEntry `type:"list"`
22088
22089	// Specifies the source table.
22090	//
22091	// Source is a required field
22092	Source *CatalogEntry `type:"structure" required:"true"`
22093}
22094
22095// String returns the string representation
22096func (s GetMappingInput) String() string {
22097	return awsutil.Prettify(s)
22098}
22099
22100// GoString returns the string representation
22101func (s GetMappingInput) GoString() string {
22102	return s.String()
22103}
22104
22105// Validate inspects the fields of the type to determine if they are valid.
22106func (s *GetMappingInput) Validate() error {
22107	invalidParams := request.ErrInvalidParams{Context: "GetMappingInput"}
22108	if s.Source == nil {
22109		invalidParams.Add(request.NewErrParamRequired("Source"))
22110	}
22111	if s.Location != nil {
22112		if err := s.Location.Validate(); err != nil {
22113			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
22114		}
22115	}
22116	if s.Sinks != nil {
22117		for i, v := range s.Sinks {
22118			if v == nil {
22119				continue
22120			}
22121			if err := v.Validate(); err != nil {
22122				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
22123			}
22124		}
22125	}
22126	if s.Source != nil {
22127		if err := s.Source.Validate(); err != nil {
22128			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
22129		}
22130	}
22131
22132	if invalidParams.Len() > 0 {
22133		return invalidParams
22134	}
22135	return nil
22136}
22137
22138// SetLocation sets the Location field's value.
22139func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput {
22140	s.Location = v
22141	return s
22142}
22143
22144// SetSinks sets the Sinks field's value.
22145func (s *GetMappingInput) SetSinks(v []*CatalogEntry) *GetMappingInput {
22146	s.Sinks = v
22147	return s
22148}
22149
22150// SetSource sets the Source field's value.
22151func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput {
22152	s.Source = v
22153	return s
22154}
22155
22156type GetMappingOutput struct {
22157	_ struct{} `type:"structure"`
22158
22159	// A list of mappings to the specified targets.
22160	//
22161	// Mapping is a required field
22162	Mapping []*MappingEntry `type:"list" required:"true"`
22163}
22164
22165// String returns the string representation
22166func (s GetMappingOutput) String() string {
22167	return awsutil.Prettify(s)
22168}
22169
22170// GoString returns the string representation
22171func (s GetMappingOutput) GoString() string {
22172	return s.String()
22173}
22174
22175// SetMapping sets the Mapping field's value.
22176func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput {
22177	s.Mapping = v
22178	return s
22179}
22180
22181type GetPartitionInput struct {
22182	_ struct{} `type:"structure"`
22183
22184	// The ID of the Data Catalog where the partition in question resides. If none
22185	// is provided, the AWS account ID is used by default.
22186	CatalogId *string `min:"1" type:"string"`
22187
22188	// The name of the catalog database where the partition resides.
22189	//
22190	// DatabaseName is a required field
22191	DatabaseName *string `min:"1" type:"string" required:"true"`
22192
22193	// The values that define the partition.
22194	//
22195	// PartitionValues is a required field
22196	PartitionValues []*string `type:"list" required:"true"`
22197
22198	// The name of the partition's table.
22199	//
22200	// TableName is a required field
22201	TableName *string `min:"1" type:"string" required:"true"`
22202}
22203
22204// String returns the string representation
22205func (s GetPartitionInput) String() string {
22206	return awsutil.Prettify(s)
22207}
22208
22209// GoString returns the string representation
22210func (s GetPartitionInput) GoString() string {
22211	return s.String()
22212}
22213
22214// Validate inspects the fields of the type to determine if they are valid.
22215func (s *GetPartitionInput) Validate() error {
22216	invalidParams := request.ErrInvalidParams{Context: "GetPartitionInput"}
22217	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22218		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22219	}
22220	if s.DatabaseName == nil {
22221		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22222	}
22223	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22224		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22225	}
22226	if s.PartitionValues == nil {
22227		invalidParams.Add(request.NewErrParamRequired("PartitionValues"))
22228	}
22229	if s.TableName == nil {
22230		invalidParams.Add(request.NewErrParamRequired("TableName"))
22231	}
22232	if s.TableName != nil && len(*s.TableName) < 1 {
22233		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22234	}
22235
22236	if invalidParams.Len() > 0 {
22237		return invalidParams
22238	}
22239	return nil
22240}
22241
22242// SetCatalogId sets the CatalogId field's value.
22243func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput {
22244	s.CatalogId = &v
22245	return s
22246}
22247
22248// SetDatabaseName sets the DatabaseName field's value.
22249func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput {
22250	s.DatabaseName = &v
22251	return s
22252}
22253
22254// SetPartitionValues sets the PartitionValues field's value.
22255func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput {
22256	s.PartitionValues = v
22257	return s
22258}
22259
22260// SetTableName sets the TableName field's value.
22261func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput {
22262	s.TableName = &v
22263	return s
22264}
22265
22266type GetPartitionOutput struct {
22267	_ struct{} `type:"structure"`
22268
22269	// The requested information, in the form of a Partition object.
22270	Partition *Partition `type:"structure"`
22271}
22272
22273// String returns the string representation
22274func (s GetPartitionOutput) String() string {
22275	return awsutil.Prettify(s)
22276}
22277
22278// GoString returns the string representation
22279func (s GetPartitionOutput) GoString() string {
22280	return s.String()
22281}
22282
22283// SetPartition sets the Partition field's value.
22284func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput {
22285	s.Partition = v
22286	return s
22287}
22288
22289type GetPartitionsInput struct {
22290	_ struct{} `type:"structure"`
22291
22292	// The ID of the Data Catalog where the partitions in question reside. If none
22293	// is provided, the AWS account ID is used by default.
22294	CatalogId *string `min:"1" type:"string"`
22295
22296	// The name of the catalog database where the partitions reside.
22297	//
22298	// DatabaseName is a required field
22299	DatabaseName *string `min:"1" type:"string" required:"true"`
22300
22301	// An expression that filters the partitions to be returned.
22302	//
22303	// The expression uses SQL syntax similar to the SQL WHERE filter clause. The
22304	// SQL statement parser JSQLParser (http://jsqlparser.sourceforge.net/home.php)
22305	// parses the expression.
22306	//
22307	// Operators: The following are the operators that you can use in the Expression
22308	// API call:
22309	//
22310	// =
22311	//
22312	// Checks whether the values of the two operands are equal; if yes, then the
22313	// condition becomes true.
22314	//
22315	// Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
22316	//
22317	// (a = b) is not true.
22318	//
22319	// < >
22320	//
22321	// Checks whether the values of two operands are equal; if the values are not
22322	// equal, then the condition becomes true.
22323	//
22324	// Example: (a < > b) is true.
22325	//
22326	// >
22327	//
22328	// Checks whether the value of the left operand is greater than the value of
22329	// the right operand; if yes, then the condition becomes true.
22330	//
22331	// Example: (a > b) is not true.
22332	//
22333	// <
22334	//
22335	// Checks whether the value of the left operand is less than the value of the
22336	// right operand; if yes, then the condition becomes true.
22337	//
22338	// Example: (a < b) is true.
22339	//
22340	// >=
22341	//
22342	// Checks whether the value of the left operand is greater than or equal to
22343	// the value of the right operand; if yes, then the condition becomes true.
22344	//
22345	// Example: (a >= b) is not true.
22346	//
22347	// <=
22348	//
22349	// Checks whether the value of the left operand is less than or equal to the
22350	// value of the right operand; if yes, then the condition becomes true.
22351	//
22352	// Example: (a <= b) is true.
22353	//
22354	// AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
22355	//
22356	// Logical operators.
22357	//
22358	// Supported Partition Key Types: The following are the supported partition
22359	// keys.
22360	//
22361	//    * string
22362	//
22363	//    * date
22364	//
22365	//    * timestamp
22366	//
22367	//    * int
22368	//
22369	//    * bigint
22370	//
22371	//    * long
22372	//
22373	//    * tinyint
22374	//
22375	//    * smallint
22376	//
22377	//    * decimal
22378	//
22379	// If an invalid type is encountered, an exception is thrown.
22380	//
22381	// The following list shows the valid operators on each type. When you define
22382	// a crawler, the partitionKey type is created as a STRING, to be compatible
22383	// with the catalog partitions.
22384	//
22385	// Sample API Call:
22386	Expression *string `type:"string"`
22387
22388	// The maximum number of partitions to return in a single response.
22389	MaxResults *int64 `min:"1" type:"integer"`
22390
22391	// A continuation token, if this is not the first call to retrieve these partitions.
22392	NextToken *string `type:"string"`
22393
22394	// The segment of the table's partitions to scan in this request.
22395	Segment *Segment `type:"structure"`
22396
22397	// The name of the partitions' table.
22398	//
22399	// TableName is a required field
22400	TableName *string `min:"1" type:"string" required:"true"`
22401}
22402
22403// String returns the string representation
22404func (s GetPartitionsInput) String() string {
22405	return awsutil.Prettify(s)
22406}
22407
22408// GoString returns the string representation
22409func (s GetPartitionsInput) GoString() string {
22410	return s.String()
22411}
22412
22413// Validate inspects the fields of the type to determine if they are valid.
22414func (s *GetPartitionsInput) Validate() error {
22415	invalidParams := request.ErrInvalidParams{Context: "GetPartitionsInput"}
22416	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22417		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22418	}
22419	if s.DatabaseName == nil {
22420		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22421	}
22422	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22423		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22424	}
22425	if s.MaxResults != nil && *s.MaxResults < 1 {
22426		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22427	}
22428	if s.TableName == nil {
22429		invalidParams.Add(request.NewErrParamRequired("TableName"))
22430	}
22431	if s.TableName != nil && len(*s.TableName) < 1 {
22432		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
22433	}
22434	if s.Segment != nil {
22435		if err := s.Segment.Validate(); err != nil {
22436			invalidParams.AddNested("Segment", err.(request.ErrInvalidParams))
22437		}
22438	}
22439
22440	if invalidParams.Len() > 0 {
22441		return invalidParams
22442	}
22443	return nil
22444}
22445
22446// SetCatalogId sets the CatalogId field's value.
22447func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput {
22448	s.CatalogId = &v
22449	return s
22450}
22451
22452// SetDatabaseName sets the DatabaseName field's value.
22453func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput {
22454	s.DatabaseName = &v
22455	return s
22456}
22457
22458// SetExpression sets the Expression field's value.
22459func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput {
22460	s.Expression = &v
22461	return s
22462}
22463
22464// SetMaxResults sets the MaxResults field's value.
22465func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput {
22466	s.MaxResults = &v
22467	return s
22468}
22469
22470// SetNextToken sets the NextToken field's value.
22471func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput {
22472	s.NextToken = &v
22473	return s
22474}
22475
22476// SetSegment sets the Segment field's value.
22477func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput {
22478	s.Segment = v
22479	return s
22480}
22481
22482// SetTableName sets the TableName field's value.
22483func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput {
22484	s.TableName = &v
22485	return s
22486}
22487
22488type GetPartitionsOutput struct {
22489	_ struct{} `type:"structure"`
22490
22491	// A continuation token, if the returned list of partitions does not include
22492	// the last one.
22493	NextToken *string `type:"string"`
22494
22495	// A list of requested partitions.
22496	Partitions []*Partition `type:"list"`
22497}
22498
22499// String returns the string representation
22500func (s GetPartitionsOutput) String() string {
22501	return awsutil.Prettify(s)
22502}
22503
22504// GoString returns the string representation
22505func (s GetPartitionsOutput) GoString() string {
22506	return s.String()
22507}
22508
22509// SetNextToken sets the NextToken field's value.
22510func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput {
22511	s.NextToken = &v
22512	return s
22513}
22514
22515// SetPartitions sets the Partitions field's value.
22516func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput {
22517	s.Partitions = v
22518	return s
22519}
22520
22521type GetPlanInput struct {
22522	_ struct{} `type:"structure"`
22523
22524	// The programming language of the code to perform the mapping.
22525	Language *string `type:"string" enum:"Language"`
22526
22527	// The parameters for the mapping.
22528	Location *Location `type:"structure"`
22529
22530	// The list of mappings from a source table to target tables.
22531	//
22532	// Mapping is a required field
22533	Mapping []*MappingEntry `type:"list" required:"true"`
22534
22535	// The target tables.
22536	Sinks []*CatalogEntry `type:"list"`
22537
22538	// The source table.
22539	//
22540	// Source is a required field
22541	Source *CatalogEntry `type:"structure" required:"true"`
22542}
22543
22544// String returns the string representation
22545func (s GetPlanInput) String() string {
22546	return awsutil.Prettify(s)
22547}
22548
22549// GoString returns the string representation
22550func (s GetPlanInput) GoString() string {
22551	return s.String()
22552}
22553
22554// Validate inspects the fields of the type to determine if they are valid.
22555func (s *GetPlanInput) Validate() error {
22556	invalidParams := request.ErrInvalidParams{Context: "GetPlanInput"}
22557	if s.Mapping == nil {
22558		invalidParams.Add(request.NewErrParamRequired("Mapping"))
22559	}
22560	if s.Source == nil {
22561		invalidParams.Add(request.NewErrParamRequired("Source"))
22562	}
22563	if s.Location != nil {
22564		if err := s.Location.Validate(); err != nil {
22565			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
22566		}
22567	}
22568	if s.Sinks != nil {
22569		for i, v := range s.Sinks {
22570			if v == nil {
22571				continue
22572			}
22573			if err := v.Validate(); err != nil {
22574				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sinks", i), err.(request.ErrInvalidParams))
22575			}
22576		}
22577	}
22578	if s.Source != nil {
22579		if err := s.Source.Validate(); err != nil {
22580			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
22581		}
22582	}
22583
22584	if invalidParams.Len() > 0 {
22585		return invalidParams
22586	}
22587	return nil
22588}
22589
22590// SetLanguage sets the Language field's value.
22591func (s *GetPlanInput) SetLanguage(v string) *GetPlanInput {
22592	s.Language = &v
22593	return s
22594}
22595
22596// SetLocation sets the Location field's value.
22597func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput {
22598	s.Location = v
22599	return s
22600}
22601
22602// SetMapping sets the Mapping field's value.
22603func (s *GetPlanInput) SetMapping(v []*MappingEntry) *GetPlanInput {
22604	s.Mapping = v
22605	return s
22606}
22607
22608// SetSinks sets the Sinks field's value.
22609func (s *GetPlanInput) SetSinks(v []*CatalogEntry) *GetPlanInput {
22610	s.Sinks = v
22611	return s
22612}
22613
22614// SetSource sets the Source field's value.
22615func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput {
22616	s.Source = v
22617	return s
22618}
22619
22620type GetPlanOutput struct {
22621	_ struct{} `type:"structure"`
22622
22623	// A Python script to perform the mapping.
22624	PythonScript *string `type:"string"`
22625
22626	// The Scala code to perform the mapping.
22627	ScalaCode *string `type:"string"`
22628}
22629
22630// String returns the string representation
22631func (s GetPlanOutput) String() string {
22632	return awsutil.Prettify(s)
22633}
22634
22635// GoString returns the string representation
22636func (s GetPlanOutput) GoString() string {
22637	return s.String()
22638}
22639
22640// SetPythonScript sets the PythonScript field's value.
22641func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput {
22642	s.PythonScript = &v
22643	return s
22644}
22645
22646// SetScalaCode sets the ScalaCode field's value.
22647func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput {
22648	s.ScalaCode = &v
22649	return s
22650}
22651
22652type GetResourcePolicyInput struct {
22653	_ struct{} `type:"structure"`
22654}
22655
22656// String returns the string representation
22657func (s GetResourcePolicyInput) String() string {
22658	return awsutil.Prettify(s)
22659}
22660
22661// GoString returns the string representation
22662func (s GetResourcePolicyInput) GoString() string {
22663	return s.String()
22664}
22665
22666type GetResourcePolicyOutput struct {
22667	_ struct{} `type:"structure"`
22668
22669	// The date and time at which the policy was created.
22670	CreateTime *time.Time `type:"timestamp"`
22671
22672	// Contains the hash value associated with this policy.
22673	PolicyHash *string `min:"1" type:"string"`
22674
22675	// Contains the requested policy document, in JSON format.
22676	PolicyInJson *string `min:"2" type:"string"`
22677
22678	// The date and time at which the policy was last updated.
22679	UpdateTime *time.Time `type:"timestamp"`
22680}
22681
22682// String returns the string representation
22683func (s GetResourcePolicyOutput) String() string {
22684	return awsutil.Prettify(s)
22685}
22686
22687// GoString returns the string representation
22688func (s GetResourcePolicyOutput) GoString() string {
22689	return s.String()
22690}
22691
22692// SetCreateTime sets the CreateTime field's value.
22693func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput {
22694	s.CreateTime = &v
22695	return s
22696}
22697
22698// SetPolicyHash sets the PolicyHash field's value.
22699func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput {
22700	s.PolicyHash = &v
22701	return s
22702}
22703
22704// SetPolicyInJson sets the PolicyInJson field's value.
22705func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput {
22706	s.PolicyInJson = &v
22707	return s
22708}
22709
22710// SetUpdateTime sets the UpdateTime field's value.
22711func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput {
22712	s.UpdateTime = &v
22713	return s
22714}
22715
22716type GetSecurityConfigurationInput struct {
22717	_ struct{} `type:"structure"`
22718
22719	// The name of the security configuration to retrieve.
22720	//
22721	// Name is a required field
22722	Name *string `min:"1" type:"string" required:"true"`
22723}
22724
22725// String returns the string representation
22726func (s GetSecurityConfigurationInput) String() string {
22727	return awsutil.Prettify(s)
22728}
22729
22730// GoString returns the string representation
22731func (s GetSecurityConfigurationInput) GoString() string {
22732	return s.String()
22733}
22734
22735// Validate inspects the fields of the type to determine if they are valid.
22736func (s *GetSecurityConfigurationInput) Validate() error {
22737	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationInput"}
22738	if s.Name == nil {
22739		invalidParams.Add(request.NewErrParamRequired("Name"))
22740	}
22741	if s.Name != nil && len(*s.Name) < 1 {
22742		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22743	}
22744
22745	if invalidParams.Len() > 0 {
22746		return invalidParams
22747	}
22748	return nil
22749}
22750
22751// SetName sets the Name field's value.
22752func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurationInput {
22753	s.Name = &v
22754	return s
22755}
22756
22757type GetSecurityConfigurationOutput struct {
22758	_ struct{} `type:"structure"`
22759
22760	// The requested security configuration.
22761	SecurityConfiguration *SecurityConfiguration `type:"structure"`
22762}
22763
22764// String returns the string representation
22765func (s GetSecurityConfigurationOutput) String() string {
22766	return awsutil.Prettify(s)
22767}
22768
22769// GoString returns the string representation
22770func (s GetSecurityConfigurationOutput) GoString() string {
22771	return s.String()
22772}
22773
22774// SetSecurityConfiguration sets the SecurityConfiguration field's value.
22775func (s *GetSecurityConfigurationOutput) SetSecurityConfiguration(v *SecurityConfiguration) *GetSecurityConfigurationOutput {
22776	s.SecurityConfiguration = v
22777	return s
22778}
22779
22780type GetSecurityConfigurationsInput struct {
22781	_ struct{} `type:"structure"`
22782
22783	// The maximum number of results to return.
22784	MaxResults *int64 `min:"1" type:"integer"`
22785
22786	// A continuation token, if this is a continuation call.
22787	NextToken *string `type:"string"`
22788}
22789
22790// String returns the string representation
22791func (s GetSecurityConfigurationsInput) String() string {
22792	return awsutil.Prettify(s)
22793}
22794
22795// GoString returns the string representation
22796func (s GetSecurityConfigurationsInput) GoString() string {
22797	return s.String()
22798}
22799
22800// Validate inspects the fields of the type to determine if they are valid.
22801func (s *GetSecurityConfigurationsInput) Validate() error {
22802	invalidParams := request.ErrInvalidParams{Context: "GetSecurityConfigurationsInput"}
22803	if s.MaxResults != nil && *s.MaxResults < 1 {
22804		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22805	}
22806
22807	if invalidParams.Len() > 0 {
22808		return invalidParams
22809	}
22810	return nil
22811}
22812
22813// SetMaxResults sets the MaxResults field's value.
22814func (s *GetSecurityConfigurationsInput) SetMaxResults(v int64) *GetSecurityConfigurationsInput {
22815	s.MaxResults = &v
22816	return s
22817}
22818
22819// SetNextToken sets the NextToken field's value.
22820func (s *GetSecurityConfigurationsInput) SetNextToken(v string) *GetSecurityConfigurationsInput {
22821	s.NextToken = &v
22822	return s
22823}
22824
22825type GetSecurityConfigurationsOutput struct {
22826	_ struct{} `type:"structure"`
22827
22828	// A continuation token, if there are more security configurations to return.
22829	NextToken *string `type:"string"`
22830
22831	// A list of security configurations.
22832	SecurityConfigurations []*SecurityConfiguration `type:"list"`
22833}
22834
22835// String returns the string representation
22836func (s GetSecurityConfigurationsOutput) String() string {
22837	return awsutil.Prettify(s)
22838}
22839
22840// GoString returns the string representation
22841func (s GetSecurityConfigurationsOutput) GoString() string {
22842	return s.String()
22843}
22844
22845// SetNextToken sets the NextToken field's value.
22846func (s *GetSecurityConfigurationsOutput) SetNextToken(v string) *GetSecurityConfigurationsOutput {
22847	s.NextToken = &v
22848	return s
22849}
22850
22851// SetSecurityConfigurations sets the SecurityConfigurations field's value.
22852func (s *GetSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfiguration) *GetSecurityConfigurationsOutput {
22853	s.SecurityConfigurations = v
22854	return s
22855}
22856
22857type GetTableInput struct {
22858	_ struct{} `type:"structure"`
22859
22860	// The ID of the Data Catalog where the table resides. If none is provided,
22861	// the AWS account ID is used by default.
22862	CatalogId *string `min:"1" type:"string"`
22863
22864	// The name of the database in the catalog in which the table resides. For Hive
22865	// compatibility, this name is entirely lowercase.
22866	//
22867	// DatabaseName is a required field
22868	DatabaseName *string `min:"1" type:"string" required:"true"`
22869
22870	// The name of the table for which to retrieve the definition. For Hive compatibility,
22871	// this name is entirely lowercase.
22872	//
22873	// Name is a required field
22874	Name *string `min:"1" type:"string" required:"true"`
22875}
22876
22877// String returns the string representation
22878func (s GetTableInput) String() string {
22879	return awsutil.Prettify(s)
22880}
22881
22882// GoString returns the string representation
22883func (s GetTableInput) GoString() string {
22884	return s.String()
22885}
22886
22887// Validate inspects the fields of the type to determine if they are valid.
22888func (s *GetTableInput) Validate() error {
22889	invalidParams := request.ErrInvalidParams{Context: "GetTableInput"}
22890	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22891		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22892	}
22893	if s.DatabaseName == nil {
22894		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22895	}
22896	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22897		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22898	}
22899	if s.Name == nil {
22900		invalidParams.Add(request.NewErrParamRequired("Name"))
22901	}
22902	if s.Name != nil && len(*s.Name) < 1 {
22903		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22904	}
22905
22906	if invalidParams.Len() > 0 {
22907		return invalidParams
22908	}
22909	return nil
22910}
22911
22912// SetCatalogId sets the CatalogId field's value.
22913func (s *GetTableInput) SetCatalogId(v string) *GetTableInput {
22914	s.CatalogId = &v
22915	return s
22916}
22917
22918// SetDatabaseName sets the DatabaseName field's value.
22919func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput {
22920	s.DatabaseName = &v
22921	return s
22922}
22923
22924// SetName sets the Name field's value.
22925func (s *GetTableInput) SetName(v string) *GetTableInput {
22926	s.Name = &v
22927	return s
22928}
22929
22930type GetTableOutput struct {
22931	_ struct{} `type:"structure"`
22932
22933	// The Table object that defines the specified table.
22934	Table *TableData `type:"structure"`
22935}
22936
22937// String returns the string representation
22938func (s GetTableOutput) String() string {
22939	return awsutil.Prettify(s)
22940}
22941
22942// GoString returns the string representation
22943func (s GetTableOutput) GoString() string {
22944	return s.String()
22945}
22946
22947// SetTable sets the Table field's value.
22948func (s *GetTableOutput) SetTable(v *TableData) *GetTableOutput {
22949	s.Table = v
22950	return s
22951}
22952
22953type GetTableVersionInput struct {
22954	_ struct{} `type:"structure"`
22955
22956	// The ID of the Data Catalog where the tables reside. If none is provided,
22957	// the AWS account ID is used by default.
22958	CatalogId *string `min:"1" type:"string"`
22959
22960	// The database in the catalog in which the table resides. For Hive compatibility,
22961	// this name is entirely lowercase.
22962	//
22963	// DatabaseName is a required field
22964	DatabaseName *string `min:"1" type:"string" required:"true"`
22965
22966	// The name of the table. For Hive compatibility, this name is entirely lowercase.
22967	//
22968	// TableName is a required field
22969	TableName *string `min:"1" type:"string" required:"true"`
22970
22971	// The ID value of the table version to be retrieved. A VersionID is a string
22972	// representation of an integer. Each version is incremented by 1.
22973	VersionId *string `min:"1" type:"string"`
22974}
22975
22976// String returns the string representation
22977func (s GetTableVersionInput) String() string {
22978	return awsutil.Prettify(s)
22979}
22980
22981// GoString returns the string representation
22982func (s GetTableVersionInput) GoString() string {
22983	return s.String()
22984}
22985
22986// Validate inspects the fields of the type to determine if they are valid.
22987func (s *GetTableVersionInput) Validate() error {
22988	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionInput"}
22989	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
22990		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
22991	}
22992	if s.DatabaseName == nil {
22993		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
22994	}
22995	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
22996		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
22997	}
22998	if s.TableName == nil {
22999		invalidParams.Add(request.NewErrParamRequired("TableName"))
23000	}
23001	if s.TableName != nil && len(*s.TableName) < 1 {
23002		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23003	}
23004	if s.VersionId != nil && len(*s.VersionId) < 1 {
23005		invalidParams.Add(request.NewErrParamMinLen("VersionId", 1))
23006	}
23007
23008	if invalidParams.Len() > 0 {
23009		return invalidParams
23010	}
23011	return nil
23012}
23013
23014// SetCatalogId sets the CatalogId field's value.
23015func (s *GetTableVersionInput) SetCatalogId(v string) *GetTableVersionInput {
23016	s.CatalogId = &v
23017	return s
23018}
23019
23020// SetDatabaseName sets the DatabaseName field's value.
23021func (s *GetTableVersionInput) SetDatabaseName(v string) *GetTableVersionInput {
23022	s.DatabaseName = &v
23023	return s
23024}
23025
23026// SetTableName sets the TableName field's value.
23027func (s *GetTableVersionInput) SetTableName(v string) *GetTableVersionInput {
23028	s.TableName = &v
23029	return s
23030}
23031
23032// SetVersionId sets the VersionId field's value.
23033func (s *GetTableVersionInput) SetVersionId(v string) *GetTableVersionInput {
23034	s.VersionId = &v
23035	return s
23036}
23037
23038type GetTableVersionOutput struct {
23039	_ struct{} `type:"structure"`
23040
23041	// The requested table version.
23042	TableVersion *TableVersion `type:"structure"`
23043}
23044
23045// String returns the string representation
23046func (s GetTableVersionOutput) String() string {
23047	return awsutil.Prettify(s)
23048}
23049
23050// GoString returns the string representation
23051func (s GetTableVersionOutput) GoString() string {
23052	return s.String()
23053}
23054
23055// SetTableVersion sets the TableVersion field's value.
23056func (s *GetTableVersionOutput) SetTableVersion(v *TableVersion) *GetTableVersionOutput {
23057	s.TableVersion = v
23058	return s
23059}
23060
23061type GetTableVersionsInput struct {
23062	_ struct{} `type:"structure"`
23063
23064	// The ID of the Data Catalog where the tables reside. If none is provided,
23065	// the AWS account ID is used by default.
23066	CatalogId *string `min:"1" type:"string"`
23067
23068	// The database in the catalog in which the table resides. For Hive compatibility,
23069	// this name is entirely lowercase.
23070	//
23071	// DatabaseName is a required field
23072	DatabaseName *string `min:"1" type:"string" required:"true"`
23073
23074	// The maximum number of table versions to return in one response.
23075	MaxResults *int64 `min:"1" type:"integer"`
23076
23077	// A continuation token, if this is not the first call.
23078	NextToken *string `type:"string"`
23079
23080	// The name of the table. For Hive compatibility, this name is entirely lowercase.
23081	//
23082	// TableName is a required field
23083	TableName *string `min:"1" type:"string" required:"true"`
23084}
23085
23086// String returns the string representation
23087func (s GetTableVersionsInput) String() string {
23088	return awsutil.Prettify(s)
23089}
23090
23091// GoString returns the string representation
23092func (s GetTableVersionsInput) GoString() string {
23093	return s.String()
23094}
23095
23096// Validate inspects the fields of the type to determine if they are valid.
23097func (s *GetTableVersionsInput) Validate() error {
23098	invalidParams := request.ErrInvalidParams{Context: "GetTableVersionsInput"}
23099	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23100		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23101	}
23102	if s.DatabaseName == nil {
23103		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23104	}
23105	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23106		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23107	}
23108	if s.MaxResults != nil && *s.MaxResults < 1 {
23109		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23110	}
23111	if s.TableName == nil {
23112		invalidParams.Add(request.NewErrParamRequired("TableName"))
23113	}
23114	if s.TableName != nil && len(*s.TableName) < 1 {
23115		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
23116	}
23117
23118	if invalidParams.Len() > 0 {
23119		return invalidParams
23120	}
23121	return nil
23122}
23123
23124// SetCatalogId sets the CatalogId field's value.
23125func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput {
23126	s.CatalogId = &v
23127	return s
23128}
23129
23130// SetDatabaseName sets the DatabaseName field's value.
23131func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput {
23132	s.DatabaseName = &v
23133	return s
23134}
23135
23136// SetMaxResults sets the MaxResults field's value.
23137func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput {
23138	s.MaxResults = &v
23139	return s
23140}
23141
23142// SetNextToken sets the NextToken field's value.
23143func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput {
23144	s.NextToken = &v
23145	return s
23146}
23147
23148// SetTableName sets the TableName field's value.
23149func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput {
23150	s.TableName = &v
23151	return s
23152}
23153
23154type GetTableVersionsOutput struct {
23155	_ struct{} `type:"structure"`
23156
23157	// A continuation token, if the list of available versions does not include
23158	// the last one.
23159	NextToken *string `type:"string"`
23160
23161	// A list of strings identifying available versions of the specified table.
23162	TableVersions []*TableVersion `type:"list"`
23163}
23164
23165// String returns the string representation
23166func (s GetTableVersionsOutput) String() string {
23167	return awsutil.Prettify(s)
23168}
23169
23170// GoString returns the string representation
23171func (s GetTableVersionsOutput) GoString() string {
23172	return s.String()
23173}
23174
23175// SetNextToken sets the NextToken field's value.
23176func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput {
23177	s.NextToken = &v
23178	return s
23179}
23180
23181// SetTableVersions sets the TableVersions field's value.
23182func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVersionsOutput {
23183	s.TableVersions = v
23184	return s
23185}
23186
23187type GetTablesInput struct {
23188	_ struct{} `type:"structure"`
23189
23190	// The ID of the Data Catalog where the tables reside. If none is provided,
23191	// the AWS account ID is used by default.
23192	CatalogId *string `min:"1" type:"string"`
23193
23194	// The database in the catalog whose tables to list. For Hive compatibility,
23195	// this name is entirely lowercase.
23196	//
23197	// DatabaseName is a required field
23198	DatabaseName *string `min:"1" type:"string" required:"true"`
23199
23200	// A regular expression pattern. If present, only those tables whose names match
23201	// the pattern are returned.
23202	Expression *string `type:"string"`
23203
23204	// The maximum number of tables to return in a single response.
23205	MaxResults *int64 `min:"1" type:"integer"`
23206
23207	// A continuation token, included if this is a continuation call.
23208	NextToken *string `type:"string"`
23209}
23210
23211// String returns the string representation
23212func (s GetTablesInput) String() string {
23213	return awsutil.Prettify(s)
23214}
23215
23216// GoString returns the string representation
23217func (s GetTablesInput) GoString() string {
23218	return s.String()
23219}
23220
23221// Validate inspects the fields of the type to determine if they are valid.
23222func (s *GetTablesInput) Validate() error {
23223	invalidParams := request.ErrInvalidParams{Context: "GetTablesInput"}
23224	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23225		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23226	}
23227	if s.DatabaseName == nil {
23228		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23229	}
23230	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23231		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23232	}
23233	if s.MaxResults != nil && *s.MaxResults < 1 {
23234		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23235	}
23236
23237	if invalidParams.Len() > 0 {
23238		return invalidParams
23239	}
23240	return nil
23241}
23242
23243// SetCatalogId sets the CatalogId field's value.
23244func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput {
23245	s.CatalogId = &v
23246	return s
23247}
23248
23249// SetDatabaseName sets the DatabaseName field's value.
23250func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput {
23251	s.DatabaseName = &v
23252	return s
23253}
23254
23255// SetExpression sets the Expression field's value.
23256func (s *GetTablesInput) SetExpression(v string) *GetTablesInput {
23257	s.Expression = &v
23258	return s
23259}
23260
23261// SetMaxResults sets the MaxResults field's value.
23262func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput {
23263	s.MaxResults = &v
23264	return s
23265}
23266
23267// SetNextToken sets the NextToken field's value.
23268func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput {
23269	s.NextToken = &v
23270	return s
23271}
23272
23273type GetTablesOutput struct {
23274	_ struct{} `type:"structure"`
23275
23276	// A continuation token, present if the current list segment is not the last.
23277	NextToken *string `type:"string"`
23278
23279	// A list of the requested Table objects.
23280	TableList []*TableData `type:"list"`
23281}
23282
23283// String returns the string representation
23284func (s GetTablesOutput) String() string {
23285	return awsutil.Prettify(s)
23286}
23287
23288// GoString returns the string representation
23289func (s GetTablesOutput) GoString() string {
23290	return s.String()
23291}
23292
23293// SetNextToken sets the NextToken field's value.
23294func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput {
23295	s.NextToken = &v
23296	return s
23297}
23298
23299// SetTableList sets the TableList field's value.
23300func (s *GetTablesOutput) SetTableList(v []*TableData) *GetTablesOutput {
23301	s.TableList = v
23302	return s
23303}
23304
23305type GetTagsInput struct {
23306	_ struct{} `type:"structure"`
23307
23308	// The Amazon Resource Name (ARN) of the resource for which to retrieve tags.
23309	//
23310	// ResourceArn is a required field
23311	ResourceArn *string `min:"1" type:"string" required:"true"`
23312}
23313
23314// String returns the string representation
23315func (s GetTagsInput) String() string {
23316	return awsutil.Prettify(s)
23317}
23318
23319// GoString returns the string representation
23320func (s GetTagsInput) GoString() string {
23321	return s.String()
23322}
23323
23324// Validate inspects the fields of the type to determine if they are valid.
23325func (s *GetTagsInput) Validate() error {
23326	invalidParams := request.ErrInvalidParams{Context: "GetTagsInput"}
23327	if s.ResourceArn == nil {
23328		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
23329	}
23330	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
23331		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
23332	}
23333
23334	if invalidParams.Len() > 0 {
23335		return invalidParams
23336	}
23337	return nil
23338}
23339
23340// SetResourceArn sets the ResourceArn field's value.
23341func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput {
23342	s.ResourceArn = &v
23343	return s
23344}
23345
23346type GetTagsOutput struct {
23347	_ struct{} `type:"structure"`
23348
23349	// The requested tags.
23350	Tags map[string]*string `type:"map"`
23351}
23352
23353// String returns the string representation
23354func (s GetTagsOutput) String() string {
23355	return awsutil.Prettify(s)
23356}
23357
23358// GoString returns the string representation
23359func (s GetTagsOutput) GoString() string {
23360	return s.String()
23361}
23362
23363// SetTags sets the Tags field's value.
23364func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput {
23365	s.Tags = v
23366	return s
23367}
23368
23369type GetTriggerInput struct {
23370	_ struct{} `type:"structure"`
23371
23372	// The name of the trigger to retrieve.
23373	//
23374	// Name is a required field
23375	Name *string `min:"1" type:"string" required:"true"`
23376}
23377
23378// String returns the string representation
23379func (s GetTriggerInput) String() string {
23380	return awsutil.Prettify(s)
23381}
23382
23383// GoString returns the string representation
23384func (s GetTriggerInput) GoString() string {
23385	return s.String()
23386}
23387
23388// Validate inspects the fields of the type to determine if they are valid.
23389func (s *GetTriggerInput) Validate() error {
23390	invalidParams := request.ErrInvalidParams{Context: "GetTriggerInput"}
23391	if s.Name == nil {
23392		invalidParams.Add(request.NewErrParamRequired("Name"))
23393	}
23394	if s.Name != nil && len(*s.Name) < 1 {
23395		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23396	}
23397
23398	if invalidParams.Len() > 0 {
23399		return invalidParams
23400	}
23401	return nil
23402}
23403
23404// SetName sets the Name field's value.
23405func (s *GetTriggerInput) SetName(v string) *GetTriggerInput {
23406	s.Name = &v
23407	return s
23408}
23409
23410type GetTriggerOutput struct {
23411	_ struct{} `type:"structure"`
23412
23413	// The requested trigger definition.
23414	Trigger *Trigger `type:"structure"`
23415}
23416
23417// String returns the string representation
23418func (s GetTriggerOutput) String() string {
23419	return awsutil.Prettify(s)
23420}
23421
23422// GoString returns the string representation
23423func (s GetTriggerOutput) GoString() string {
23424	return s.String()
23425}
23426
23427// SetTrigger sets the Trigger field's value.
23428func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput {
23429	s.Trigger = v
23430	return s
23431}
23432
23433type GetTriggersInput struct {
23434	_ struct{} `type:"structure"`
23435
23436	// The name of the job to retrieve triggers for. The trigger that can start
23437	// this job is returned, and if there is no such trigger, all triggers are returned.
23438	DependentJobName *string `min:"1" type:"string"`
23439
23440	// The maximum size of the response.
23441	MaxResults *int64 `min:"1" type:"integer"`
23442
23443	// A continuation token, if this is a continuation call.
23444	NextToken *string `type:"string"`
23445}
23446
23447// String returns the string representation
23448func (s GetTriggersInput) String() string {
23449	return awsutil.Prettify(s)
23450}
23451
23452// GoString returns the string representation
23453func (s GetTriggersInput) GoString() string {
23454	return s.String()
23455}
23456
23457// Validate inspects the fields of the type to determine if they are valid.
23458func (s *GetTriggersInput) Validate() error {
23459	invalidParams := request.ErrInvalidParams{Context: "GetTriggersInput"}
23460	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
23461		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
23462	}
23463	if s.MaxResults != nil && *s.MaxResults < 1 {
23464		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23465	}
23466
23467	if invalidParams.Len() > 0 {
23468		return invalidParams
23469	}
23470	return nil
23471}
23472
23473// SetDependentJobName sets the DependentJobName field's value.
23474func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput {
23475	s.DependentJobName = &v
23476	return s
23477}
23478
23479// SetMaxResults sets the MaxResults field's value.
23480func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput {
23481	s.MaxResults = &v
23482	return s
23483}
23484
23485// SetNextToken sets the NextToken field's value.
23486func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput {
23487	s.NextToken = &v
23488	return s
23489}
23490
23491type GetTriggersOutput struct {
23492	_ struct{} `type:"structure"`
23493
23494	// A continuation token, if not all the requested triggers have yet been returned.
23495	NextToken *string `type:"string"`
23496
23497	// A list of triggers for the specified job.
23498	Triggers []*Trigger `type:"list"`
23499}
23500
23501// String returns the string representation
23502func (s GetTriggersOutput) String() string {
23503	return awsutil.Prettify(s)
23504}
23505
23506// GoString returns the string representation
23507func (s GetTriggersOutput) GoString() string {
23508	return s.String()
23509}
23510
23511// SetNextToken sets the NextToken field's value.
23512func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput {
23513	s.NextToken = &v
23514	return s
23515}
23516
23517// SetTriggers sets the Triggers field's value.
23518func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput {
23519	s.Triggers = v
23520	return s
23521}
23522
23523type GetUserDefinedFunctionInput struct {
23524	_ struct{} `type:"structure"`
23525
23526	// The ID of the Data Catalog where the function to be retrieved is located.
23527	// If none is provided, the AWS account ID is used by default.
23528	CatalogId *string `min:"1" type:"string"`
23529
23530	// The name of the catalog database where the function is located.
23531	//
23532	// DatabaseName is a required field
23533	DatabaseName *string `min:"1" type:"string" required:"true"`
23534
23535	// The name of the function.
23536	//
23537	// FunctionName is a required field
23538	FunctionName *string `min:"1" type:"string" required:"true"`
23539}
23540
23541// String returns the string representation
23542func (s GetUserDefinedFunctionInput) String() string {
23543	return awsutil.Prettify(s)
23544}
23545
23546// GoString returns the string representation
23547func (s GetUserDefinedFunctionInput) GoString() string {
23548	return s.String()
23549}
23550
23551// Validate inspects the fields of the type to determine if they are valid.
23552func (s *GetUserDefinedFunctionInput) Validate() error {
23553	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionInput"}
23554	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23555		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23556	}
23557	if s.DatabaseName == nil {
23558		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23559	}
23560	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23561		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23562	}
23563	if s.FunctionName == nil {
23564		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
23565	}
23566	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
23567		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
23568	}
23569
23570	if invalidParams.Len() > 0 {
23571		return invalidParams
23572	}
23573	return nil
23574}
23575
23576// SetCatalogId sets the CatalogId field's value.
23577func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput {
23578	s.CatalogId = &v
23579	return s
23580}
23581
23582// SetDatabaseName sets the DatabaseName field's value.
23583func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput {
23584	s.DatabaseName = &v
23585	return s
23586}
23587
23588// SetFunctionName sets the FunctionName field's value.
23589func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput {
23590	s.FunctionName = &v
23591	return s
23592}
23593
23594type GetUserDefinedFunctionOutput struct {
23595	_ struct{} `type:"structure"`
23596
23597	// The requested function definition.
23598	UserDefinedFunction *UserDefinedFunction `type:"structure"`
23599}
23600
23601// String returns the string representation
23602func (s GetUserDefinedFunctionOutput) String() string {
23603	return awsutil.Prettify(s)
23604}
23605
23606// GoString returns the string representation
23607func (s GetUserDefinedFunctionOutput) GoString() string {
23608	return s.String()
23609}
23610
23611// SetUserDefinedFunction sets the UserDefinedFunction field's value.
23612func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput {
23613	s.UserDefinedFunction = v
23614	return s
23615}
23616
23617type GetUserDefinedFunctionsInput struct {
23618	_ struct{} `type:"structure"`
23619
23620	// The ID of the Data Catalog where the functions to be retrieved are located.
23621	// If none is provided, the AWS account ID is used by default.
23622	CatalogId *string `min:"1" type:"string"`
23623
23624	// The name of the catalog database where the functions are located.
23625	//
23626	// DatabaseName is a required field
23627	DatabaseName *string `min:"1" type:"string" required:"true"`
23628
23629	// The maximum number of functions to return in one response.
23630	MaxResults *int64 `min:"1" type:"integer"`
23631
23632	// A continuation token, if this is a continuation call.
23633	NextToken *string `type:"string"`
23634
23635	// An optional function-name pattern string that filters the function definitions
23636	// returned.
23637	//
23638	// Pattern is a required field
23639	Pattern *string `min:"1" type:"string" required:"true"`
23640}
23641
23642// String returns the string representation
23643func (s GetUserDefinedFunctionsInput) String() string {
23644	return awsutil.Prettify(s)
23645}
23646
23647// GoString returns the string representation
23648func (s GetUserDefinedFunctionsInput) GoString() string {
23649	return s.String()
23650}
23651
23652// Validate inspects the fields of the type to determine if they are valid.
23653func (s *GetUserDefinedFunctionsInput) Validate() error {
23654	invalidParams := request.ErrInvalidParams{Context: "GetUserDefinedFunctionsInput"}
23655	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
23656		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
23657	}
23658	if s.DatabaseName == nil {
23659		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
23660	}
23661	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
23662		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
23663	}
23664	if s.MaxResults != nil && *s.MaxResults < 1 {
23665		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23666	}
23667	if s.Pattern == nil {
23668		invalidParams.Add(request.NewErrParamRequired("Pattern"))
23669	}
23670	if s.Pattern != nil && len(*s.Pattern) < 1 {
23671		invalidParams.Add(request.NewErrParamMinLen("Pattern", 1))
23672	}
23673
23674	if invalidParams.Len() > 0 {
23675		return invalidParams
23676	}
23677	return nil
23678}
23679
23680// SetCatalogId sets the CatalogId field's value.
23681func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput {
23682	s.CatalogId = &v
23683	return s
23684}
23685
23686// SetDatabaseName sets the DatabaseName field's value.
23687func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput {
23688	s.DatabaseName = &v
23689	return s
23690}
23691
23692// SetMaxResults sets the MaxResults field's value.
23693func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput {
23694	s.MaxResults = &v
23695	return s
23696}
23697
23698// SetNextToken sets the NextToken field's value.
23699func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput {
23700	s.NextToken = &v
23701	return s
23702}
23703
23704// SetPattern sets the Pattern field's value.
23705func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput {
23706	s.Pattern = &v
23707	return s
23708}
23709
23710type GetUserDefinedFunctionsOutput struct {
23711	_ struct{} `type:"structure"`
23712
23713	// A continuation token, if the list of functions returned does not include
23714	// the last requested function.
23715	NextToken *string `type:"string"`
23716
23717	// A list of requested function definitions.
23718	UserDefinedFunctions []*UserDefinedFunction `type:"list"`
23719}
23720
23721// String returns the string representation
23722func (s GetUserDefinedFunctionsOutput) String() string {
23723	return awsutil.Prettify(s)
23724}
23725
23726// GoString returns the string representation
23727func (s GetUserDefinedFunctionsOutput) GoString() string {
23728	return s.String()
23729}
23730
23731// SetNextToken sets the NextToken field's value.
23732func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput {
23733	s.NextToken = &v
23734	return s
23735}
23736
23737// SetUserDefinedFunctions sets the UserDefinedFunctions field's value.
23738func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefinedFunction) *GetUserDefinedFunctionsOutput {
23739	s.UserDefinedFunctions = v
23740	return s
23741}
23742
23743type GetWorkflowInput struct {
23744	_ struct{} `type:"structure"`
23745
23746	// Specifies whether to include a graph when returning the workflow resource
23747	// metadata.
23748	IncludeGraph *bool `type:"boolean"`
23749
23750	// The name of the workflow to retrieve.
23751	//
23752	// Name is a required field
23753	Name *string `min:"1" type:"string" required:"true"`
23754}
23755
23756// String returns the string representation
23757func (s GetWorkflowInput) String() string {
23758	return awsutil.Prettify(s)
23759}
23760
23761// GoString returns the string representation
23762func (s GetWorkflowInput) GoString() string {
23763	return s.String()
23764}
23765
23766// Validate inspects the fields of the type to determine if they are valid.
23767func (s *GetWorkflowInput) Validate() error {
23768	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"}
23769	if s.Name == nil {
23770		invalidParams.Add(request.NewErrParamRequired("Name"))
23771	}
23772	if s.Name != nil && len(*s.Name) < 1 {
23773		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23774	}
23775
23776	if invalidParams.Len() > 0 {
23777		return invalidParams
23778	}
23779	return nil
23780}
23781
23782// SetIncludeGraph sets the IncludeGraph field's value.
23783func (s *GetWorkflowInput) SetIncludeGraph(v bool) *GetWorkflowInput {
23784	s.IncludeGraph = &v
23785	return s
23786}
23787
23788// SetName sets the Name field's value.
23789func (s *GetWorkflowInput) SetName(v string) *GetWorkflowInput {
23790	s.Name = &v
23791	return s
23792}
23793
23794type GetWorkflowOutput struct {
23795	_ struct{} `type:"structure"`
23796
23797	// The resource metadata for the workflow.
23798	Workflow *Workflow `type:"structure"`
23799}
23800
23801// String returns the string representation
23802func (s GetWorkflowOutput) String() string {
23803	return awsutil.Prettify(s)
23804}
23805
23806// GoString returns the string representation
23807func (s GetWorkflowOutput) GoString() string {
23808	return s.String()
23809}
23810
23811// SetWorkflow sets the Workflow field's value.
23812func (s *GetWorkflowOutput) SetWorkflow(v *Workflow) *GetWorkflowOutput {
23813	s.Workflow = v
23814	return s
23815}
23816
23817type GetWorkflowRunInput struct {
23818	_ struct{} `type:"structure"`
23819
23820	// Specifies whether to include the workflow graph in response or not.
23821	IncludeGraph *bool `type:"boolean"`
23822
23823	// Name of the workflow being run.
23824	//
23825	// Name is a required field
23826	Name *string `min:"1" type:"string" required:"true"`
23827
23828	// The ID of the workflow run.
23829	//
23830	// RunId is a required field
23831	RunId *string `min:"1" type:"string" required:"true"`
23832}
23833
23834// String returns the string representation
23835func (s GetWorkflowRunInput) String() string {
23836	return awsutil.Prettify(s)
23837}
23838
23839// GoString returns the string representation
23840func (s GetWorkflowRunInput) GoString() string {
23841	return s.String()
23842}
23843
23844// Validate inspects the fields of the type to determine if they are valid.
23845func (s *GetWorkflowRunInput) Validate() error {
23846	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunInput"}
23847	if s.Name == nil {
23848		invalidParams.Add(request.NewErrParamRequired("Name"))
23849	}
23850	if s.Name != nil && len(*s.Name) < 1 {
23851		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23852	}
23853	if s.RunId == nil {
23854		invalidParams.Add(request.NewErrParamRequired("RunId"))
23855	}
23856	if s.RunId != nil && len(*s.RunId) < 1 {
23857		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
23858	}
23859
23860	if invalidParams.Len() > 0 {
23861		return invalidParams
23862	}
23863	return nil
23864}
23865
23866// SetIncludeGraph sets the IncludeGraph field's value.
23867func (s *GetWorkflowRunInput) SetIncludeGraph(v bool) *GetWorkflowRunInput {
23868	s.IncludeGraph = &v
23869	return s
23870}
23871
23872// SetName sets the Name field's value.
23873func (s *GetWorkflowRunInput) SetName(v string) *GetWorkflowRunInput {
23874	s.Name = &v
23875	return s
23876}
23877
23878// SetRunId sets the RunId field's value.
23879func (s *GetWorkflowRunInput) SetRunId(v string) *GetWorkflowRunInput {
23880	s.RunId = &v
23881	return s
23882}
23883
23884type GetWorkflowRunOutput struct {
23885	_ struct{} `type:"structure"`
23886
23887	// The requested workflow run metadata.
23888	Run *WorkflowRun `type:"structure"`
23889}
23890
23891// String returns the string representation
23892func (s GetWorkflowRunOutput) String() string {
23893	return awsutil.Prettify(s)
23894}
23895
23896// GoString returns the string representation
23897func (s GetWorkflowRunOutput) GoString() string {
23898	return s.String()
23899}
23900
23901// SetRun sets the Run field's value.
23902func (s *GetWorkflowRunOutput) SetRun(v *WorkflowRun) *GetWorkflowRunOutput {
23903	s.Run = v
23904	return s
23905}
23906
23907type GetWorkflowRunPropertiesInput struct {
23908	_ struct{} `type:"structure"`
23909
23910	// Name of the workflow which was run.
23911	//
23912	// Name is a required field
23913	Name *string `min:"1" type:"string" required:"true"`
23914
23915	// The ID of the workflow run whose run properties should be returned.
23916	//
23917	// RunId is a required field
23918	RunId *string `min:"1" type:"string" required:"true"`
23919}
23920
23921// String returns the string representation
23922func (s GetWorkflowRunPropertiesInput) String() string {
23923	return awsutil.Prettify(s)
23924}
23925
23926// GoString returns the string representation
23927func (s GetWorkflowRunPropertiesInput) GoString() string {
23928	return s.String()
23929}
23930
23931// Validate inspects the fields of the type to determine if they are valid.
23932func (s *GetWorkflowRunPropertiesInput) Validate() error {
23933	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunPropertiesInput"}
23934	if s.Name == nil {
23935		invalidParams.Add(request.NewErrParamRequired("Name"))
23936	}
23937	if s.Name != nil && len(*s.Name) < 1 {
23938		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
23939	}
23940	if s.RunId == nil {
23941		invalidParams.Add(request.NewErrParamRequired("RunId"))
23942	}
23943	if s.RunId != nil && len(*s.RunId) < 1 {
23944		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
23945	}
23946
23947	if invalidParams.Len() > 0 {
23948		return invalidParams
23949	}
23950	return nil
23951}
23952
23953// SetName sets the Name field's value.
23954func (s *GetWorkflowRunPropertiesInput) SetName(v string) *GetWorkflowRunPropertiesInput {
23955	s.Name = &v
23956	return s
23957}
23958
23959// SetRunId sets the RunId field's value.
23960func (s *GetWorkflowRunPropertiesInput) SetRunId(v string) *GetWorkflowRunPropertiesInput {
23961	s.RunId = &v
23962	return s
23963}
23964
23965type GetWorkflowRunPropertiesOutput struct {
23966	_ struct{} `type:"structure"`
23967
23968	// The workflow run properties which were set during the specified run.
23969	RunProperties map[string]*string `type:"map"`
23970}
23971
23972// String returns the string representation
23973func (s GetWorkflowRunPropertiesOutput) String() string {
23974	return awsutil.Prettify(s)
23975}
23976
23977// GoString returns the string representation
23978func (s GetWorkflowRunPropertiesOutput) GoString() string {
23979	return s.String()
23980}
23981
23982// SetRunProperties sets the RunProperties field's value.
23983func (s *GetWorkflowRunPropertiesOutput) SetRunProperties(v map[string]*string) *GetWorkflowRunPropertiesOutput {
23984	s.RunProperties = v
23985	return s
23986}
23987
23988type GetWorkflowRunsInput struct {
23989	_ struct{} `type:"structure"`
23990
23991	// Specifies whether to include the workflow graph in response or not.
23992	IncludeGraph *bool `type:"boolean"`
23993
23994	// The maximum number of workflow runs to be included in the response.
23995	MaxResults *int64 `min:"1" type:"integer"`
23996
23997	// Name of the workflow whose metadata of runs should be returned.
23998	//
23999	// Name is a required field
24000	Name *string `min:"1" type:"string" required:"true"`
24001
24002	// The maximum size of the response.
24003	NextToken *string `type:"string"`
24004}
24005
24006// String returns the string representation
24007func (s GetWorkflowRunsInput) String() string {
24008	return awsutil.Prettify(s)
24009}
24010
24011// GoString returns the string representation
24012func (s GetWorkflowRunsInput) GoString() string {
24013	return s.String()
24014}
24015
24016// Validate inspects the fields of the type to determine if they are valid.
24017func (s *GetWorkflowRunsInput) Validate() error {
24018	invalidParams := request.ErrInvalidParams{Context: "GetWorkflowRunsInput"}
24019	if s.MaxResults != nil && *s.MaxResults < 1 {
24020		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24021	}
24022	if s.Name == nil {
24023		invalidParams.Add(request.NewErrParamRequired("Name"))
24024	}
24025	if s.Name != nil && len(*s.Name) < 1 {
24026		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24027	}
24028
24029	if invalidParams.Len() > 0 {
24030		return invalidParams
24031	}
24032	return nil
24033}
24034
24035// SetIncludeGraph sets the IncludeGraph field's value.
24036func (s *GetWorkflowRunsInput) SetIncludeGraph(v bool) *GetWorkflowRunsInput {
24037	s.IncludeGraph = &v
24038	return s
24039}
24040
24041// SetMaxResults sets the MaxResults field's value.
24042func (s *GetWorkflowRunsInput) SetMaxResults(v int64) *GetWorkflowRunsInput {
24043	s.MaxResults = &v
24044	return s
24045}
24046
24047// SetName sets the Name field's value.
24048func (s *GetWorkflowRunsInput) SetName(v string) *GetWorkflowRunsInput {
24049	s.Name = &v
24050	return s
24051}
24052
24053// SetNextToken sets the NextToken field's value.
24054func (s *GetWorkflowRunsInput) SetNextToken(v string) *GetWorkflowRunsInput {
24055	s.NextToken = &v
24056	return s
24057}
24058
24059type GetWorkflowRunsOutput struct {
24060	_ struct{} `type:"structure"`
24061
24062	// A continuation token, if not all requested workflow runs have been returned.
24063	NextToken *string `type:"string"`
24064
24065	// A list of workflow run metadata objects.
24066	Runs []*WorkflowRun `min:"1" type:"list"`
24067}
24068
24069// String returns the string representation
24070func (s GetWorkflowRunsOutput) String() string {
24071	return awsutil.Prettify(s)
24072}
24073
24074// GoString returns the string representation
24075func (s GetWorkflowRunsOutput) GoString() string {
24076	return s.String()
24077}
24078
24079// SetNextToken sets the NextToken field's value.
24080func (s *GetWorkflowRunsOutput) SetNextToken(v string) *GetWorkflowRunsOutput {
24081	s.NextToken = &v
24082	return s
24083}
24084
24085// SetRuns sets the Runs field's value.
24086func (s *GetWorkflowRunsOutput) SetRuns(v []*WorkflowRun) *GetWorkflowRunsOutput {
24087	s.Runs = v
24088	return s
24089}
24090
24091// A classifier that uses grok patterns.
24092type GrokClassifier struct {
24093	_ struct{} `type:"structure"`
24094
24095	// An identifier of the data format that the classifier matches, such as Twitter,
24096	// JSON, Omniture logs, and so on.
24097	//
24098	// Classification is a required field
24099	Classification *string `type:"string" required:"true"`
24100
24101	// The time that this classifier was registered.
24102	CreationTime *time.Time `type:"timestamp"`
24103
24104	// Optional custom grok patterns defined by this classifier. For more information,
24105	// see custom patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24106	CustomPatterns *string `type:"string"`
24107
24108	// The grok pattern applied to a data store by this classifier. For more information,
24109	// see built-in patterns in Writing Custom Classifiers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).
24110	//
24111	// GrokPattern is a required field
24112	GrokPattern *string `min:"1" type:"string" required:"true"`
24113
24114	// The time that this classifier was last updated.
24115	LastUpdated *time.Time `type:"timestamp"`
24116
24117	// The name of the classifier.
24118	//
24119	// Name is a required field
24120	Name *string `min:"1" type:"string" required:"true"`
24121
24122	// The version of this classifier.
24123	Version *int64 `type:"long"`
24124}
24125
24126// String returns the string representation
24127func (s GrokClassifier) String() string {
24128	return awsutil.Prettify(s)
24129}
24130
24131// GoString returns the string representation
24132func (s GrokClassifier) GoString() string {
24133	return s.String()
24134}
24135
24136// SetClassification sets the Classification field's value.
24137func (s *GrokClassifier) SetClassification(v string) *GrokClassifier {
24138	s.Classification = &v
24139	return s
24140}
24141
24142// SetCreationTime sets the CreationTime field's value.
24143func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier {
24144	s.CreationTime = &v
24145	return s
24146}
24147
24148// SetCustomPatterns sets the CustomPatterns field's value.
24149func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier {
24150	s.CustomPatterns = &v
24151	return s
24152}
24153
24154// SetGrokPattern sets the GrokPattern field's value.
24155func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier {
24156	s.GrokPattern = &v
24157	return s
24158}
24159
24160// SetLastUpdated sets the LastUpdated field's value.
24161func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier {
24162	s.LastUpdated = &v
24163	return s
24164}
24165
24166// SetName sets the Name field's value.
24167func (s *GrokClassifier) SetName(v string) *GrokClassifier {
24168	s.Name = &v
24169	return s
24170}
24171
24172// SetVersion sets the Version field's value.
24173func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier {
24174	s.Version = &v
24175	return s
24176}
24177
24178type ImportCatalogToGlueInput struct {
24179	_ struct{} `type:"structure"`
24180
24181	// The ID of the catalog to import. Currently, this should be the AWS account
24182	// ID.
24183	CatalogId *string `min:"1" type:"string"`
24184}
24185
24186// String returns the string representation
24187func (s ImportCatalogToGlueInput) String() string {
24188	return awsutil.Prettify(s)
24189}
24190
24191// GoString returns the string representation
24192func (s ImportCatalogToGlueInput) GoString() string {
24193	return s.String()
24194}
24195
24196// Validate inspects the fields of the type to determine if they are valid.
24197func (s *ImportCatalogToGlueInput) Validate() error {
24198	invalidParams := request.ErrInvalidParams{Context: "ImportCatalogToGlueInput"}
24199	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
24200		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
24201	}
24202
24203	if invalidParams.Len() > 0 {
24204		return invalidParams
24205	}
24206	return nil
24207}
24208
24209// SetCatalogId sets the CatalogId field's value.
24210func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput {
24211	s.CatalogId = &v
24212	return s
24213}
24214
24215type ImportCatalogToGlueOutput struct {
24216	_ struct{} `type:"structure"`
24217}
24218
24219// String returns the string representation
24220func (s ImportCatalogToGlueOutput) String() string {
24221	return awsutil.Prettify(s)
24222}
24223
24224// GoString returns the string representation
24225func (s ImportCatalogToGlueOutput) GoString() string {
24226	return s.String()
24227}
24228
24229// Specifies configuration properties for an importing labels task run.
24230type ImportLabelsTaskRunProperties struct {
24231	_ struct{} `type:"structure"`
24232
24233	// The Amazon Simple Storage Service (Amazon S3) path from where you will import
24234	// the labels.
24235	InputS3Path *string `type:"string"`
24236
24237	// Indicates whether to overwrite your existing labels.
24238	Replace *bool `type:"boolean"`
24239}
24240
24241// String returns the string representation
24242func (s ImportLabelsTaskRunProperties) String() string {
24243	return awsutil.Prettify(s)
24244}
24245
24246// GoString returns the string representation
24247func (s ImportLabelsTaskRunProperties) GoString() string {
24248	return s.String()
24249}
24250
24251// SetInputS3Path sets the InputS3Path field's value.
24252func (s *ImportLabelsTaskRunProperties) SetInputS3Path(v string) *ImportLabelsTaskRunProperties {
24253	s.InputS3Path = &v
24254	return s
24255}
24256
24257// SetReplace sets the Replace field's value.
24258func (s *ImportLabelsTaskRunProperties) SetReplace(v bool) *ImportLabelsTaskRunProperties {
24259	s.Replace = &v
24260	return s
24261}
24262
24263// Specifies a JDBC data store to crawl.
24264type JdbcTarget struct {
24265	_ struct{} `type:"structure"`
24266
24267	// The name of the connection to use to connect to the JDBC target.
24268	ConnectionName *string `type:"string"`
24269
24270	// A list of glob patterns used to exclude from the crawl. For more information,
24271	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
24272	Exclusions []*string `type:"list"`
24273
24274	// The path of the JDBC target.
24275	Path *string `type:"string"`
24276}
24277
24278// String returns the string representation
24279func (s JdbcTarget) String() string {
24280	return awsutil.Prettify(s)
24281}
24282
24283// GoString returns the string representation
24284func (s JdbcTarget) GoString() string {
24285	return s.String()
24286}
24287
24288// SetConnectionName sets the ConnectionName field's value.
24289func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget {
24290	s.ConnectionName = &v
24291	return s
24292}
24293
24294// SetExclusions sets the Exclusions field's value.
24295func (s *JdbcTarget) SetExclusions(v []*string) *JdbcTarget {
24296	s.Exclusions = v
24297	return s
24298}
24299
24300// SetPath sets the Path field's value.
24301func (s *JdbcTarget) SetPath(v string) *JdbcTarget {
24302	s.Path = &v
24303	return s
24304}
24305
24306// Specifies a job definition.
24307type Job struct {
24308	_ struct{} `type:"structure"`
24309
24310	// This field is deprecated. Use MaxCapacity instead.
24311	//
24312	// The number of AWS Glue data processing units (DPUs) allocated to runs of
24313	// this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is
24314	// a relative measure of processing power that consists of 4 vCPUs of compute
24315	// capacity and 16 GB of memory. For more information, see the AWS Glue pricing
24316	// page (https://aws.amazon.com/glue/pricing/).
24317	//
24318	// Deprecated: This property is deprecated, use MaxCapacity instead.
24319	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
24320
24321	// The JobCommand that executes this job.
24322	Command *JobCommand `type:"structure"`
24323
24324	// The connections used for this job.
24325	Connections *ConnectionsList `type:"structure"`
24326
24327	// The time and date that this job definition was created.
24328	CreatedOn *time.Time `type:"timestamp"`
24329
24330	// The default arguments for this job, specified as name-value pairs.
24331	//
24332	// You can specify arguments here that your own job-execution script consumes,
24333	// as well as arguments that AWS Glue itself consumes.
24334	//
24335	// For information about how to specify and consume your own Job arguments,
24336	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
24337	// topic in the developer guide.
24338	//
24339	// For information about the key-value pairs that AWS Glue consumes to set up
24340	// 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)
24341	// topic in the developer guide.
24342	DefaultArguments map[string]*string `type:"map"`
24343
24344	// A description of the job.
24345	Description *string `type:"string"`
24346
24347	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
24348	// for this job.
24349	ExecutionProperty *ExecutionProperty `type:"structure"`
24350
24351	// Glue version determines the versions of Apache Spark and Python that AWS
24352	// Glue supports. The Python version indicates the version supported for jobs
24353	// of type Spark.
24354	//
24355	// For more information about the available AWS Glue versions and corresponding
24356	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
24357	// in the developer guide.
24358	//
24359	// Jobs that are created without specifying a Glue version default to Glue 0.9.
24360	GlueVersion *string `min:"1" type:"string"`
24361
24362	// The last point in time when this job definition was modified.
24363	LastModifiedOn *time.Time `type:"timestamp"`
24364
24365	// This field is reserved for future use.
24366	LogUri *string `type:"string"`
24367
24368	// The number of AWS Glue data processing units (DPUs) that can be allocated
24369	// when this job runs. A DPU is a relative measure of processing power that
24370	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
24371	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
24372	//
24373	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
24374	//
24375	// The value that can be allocated for MaxCapacity depends on whether you are
24376	// running a Python shell job or an Apache Spark ETL job:
24377	//
24378	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
24379	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
24380	//
24381	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
24382	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
24383	//    type cannot have a fractional DPU allocation.
24384	MaxCapacity *float64 `type:"double"`
24385
24386	// The maximum number of times to retry this job after a JobRun fails.
24387	MaxRetries *int64 `type:"integer"`
24388
24389	// The name you assign to this job definition.
24390	Name *string `min:"1" type:"string"`
24391
24392	// Specifies configuration properties of a job notification.
24393	NotificationProperty *NotificationProperty `type:"structure"`
24394
24395	// The number of workers of a defined workerType that are allocated when a job
24396	// runs.
24397	//
24398	// The maximum number of workers you can define are 299 for G.1X, and 149 for
24399	// G.2X.
24400	NumberOfWorkers *int64 `type:"integer"`
24401
24402	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
24403	// job.
24404	Role *string `type:"string"`
24405
24406	// The name of the SecurityConfiguration structure to be used with this job.
24407	SecurityConfiguration *string `min:"1" type:"string"`
24408
24409	// The job timeout in minutes. This is the maximum time that a job run can consume
24410	// resources before it is terminated and enters TIMEOUT status. The default
24411	// is 2,880 minutes (48 hours).
24412	Timeout *int64 `min:"1" type:"integer"`
24413
24414	// The type of predefined worker that is allocated when a job runs. Accepts
24415	// a value of Standard, G.1X, or G.2X.
24416	//
24417	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
24418	//    memory and a 50GB disk, and 2 executors per worker.
24419	//
24420	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
24421	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
24422	//    this worker type for memory-intensive jobs.
24423	//
24424	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
24425	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
24426	//    this worker type for memory-intensive jobs.
24427	WorkerType *string `type:"string" enum:"WorkerType"`
24428}
24429
24430// String returns the string representation
24431func (s Job) String() string {
24432	return awsutil.Prettify(s)
24433}
24434
24435// GoString returns the string representation
24436func (s Job) GoString() string {
24437	return s.String()
24438}
24439
24440// SetAllocatedCapacity sets the AllocatedCapacity field's value.
24441func (s *Job) SetAllocatedCapacity(v int64) *Job {
24442	s.AllocatedCapacity = &v
24443	return s
24444}
24445
24446// SetCommand sets the Command field's value.
24447func (s *Job) SetCommand(v *JobCommand) *Job {
24448	s.Command = v
24449	return s
24450}
24451
24452// SetConnections sets the Connections field's value.
24453func (s *Job) SetConnections(v *ConnectionsList) *Job {
24454	s.Connections = v
24455	return s
24456}
24457
24458// SetCreatedOn sets the CreatedOn field's value.
24459func (s *Job) SetCreatedOn(v time.Time) *Job {
24460	s.CreatedOn = &v
24461	return s
24462}
24463
24464// SetDefaultArguments sets the DefaultArguments field's value.
24465func (s *Job) SetDefaultArguments(v map[string]*string) *Job {
24466	s.DefaultArguments = v
24467	return s
24468}
24469
24470// SetDescription sets the Description field's value.
24471func (s *Job) SetDescription(v string) *Job {
24472	s.Description = &v
24473	return s
24474}
24475
24476// SetExecutionProperty sets the ExecutionProperty field's value.
24477func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job {
24478	s.ExecutionProperty = v
24479	return s
24480}
24481
24482// SetGlueVersion sets the GlueVersion field's value.
24483func (s *Job) SetGlueVersion(v string) *Job {
24484	s.GlueVersion = &v
24485	return s
24486}
24487
24488// SetLastModifiedOn sets the LastModifiedOn field's value.
24489func (s *Job) SetLastModifiedOn(v time.Time) *Job {
24490	s.LastModifiedOn = &v
24491	return s
24492}
24493
24494// SetLogUri sets the LogUri field's value.
24495func (s *Job) SetLogUri(v string) *Job {
24496	s.LogUri = &v
24497	return s
24498}
24499
24500// SetMaxCapacity sets the MaxCapacity field's value.
24501func (s *Job) SetMaxCapacity(v float64) *Job {
24502	s.MaxCapacity = &v
24503	return s
24504}
24505
24506// SetMaxRetries sets the MaxRetries field's value.
24507func (s *Job) SetMaxRetries(v int64) *Job {
24508	s.MaxRetries = &v
24509	return s
24510}
24511
24512// SetName sets the Name field's value.
24513func (s *Job) SetName(v string) *Job {
24514	s.Name = &v
24515	return s
24516}
24517
24518// SetNotificationProperty sets the NotificationProperty field's value.
24519func (s *Job) SetNotificationProperty(v *NotificationProperty) *Job {
24520	s.NotificationProperty = v
24521	return s
24522}
24523
24524// SetNumberOfWorkers sets the NumberOfWorkers field's value.
24525func (s *Job) SetNumberOfWorkers(v int64) *Job {
24526	s.NumberOfWorkers = &v
24527	return s
24528}
24529
24530// SetRole sets the Role field's value.
24531func (s *Job) SetRole(v string) *Job {
24532	s.Role = &v
24533	return s
24534}
24535
24536// SetSecurityConfiguration sets the SecurityConfiguration field's value.
24537func (s *Job) SetSecurityConfiguration(v string) *Job {
24538	s.SecurityConfiguration = &v
24539	return s
24540}
24541
24542// SetTimeout sets the Timeout field's value.
24543func (s *Job) SetTimeout(v int64) *Job {
24544	s.Timeout = &v
24545	return s
24546}
24547
24548// SetWorkerType sets the WorkerType field's value.
24549func (s *Job) SetWorkerType(v string) *Job {
24550	s.WorkerType = &v
24551	return s
24552}
24553
24554// Defines a point that a job can resume processing.
24555type JobBookmarkEntry struct {
24556	_ struct{} `type:"structure"`
24557
24558	// The attempt ID number.
24559	Attempt *int64 `type:"integer"`
24560
24561	// The bookmark itself.
24562	JobBookmark *string `type:"string"`
24563
24564	// The name of the job in question.
24565	JobName *string `type:"string"`
24566
24567	// The unique run identifier associated with the previous job run.
24568	PreviousRunId *string `type:"string"`
24569
24570	// The run ID number.
24571	Run *int64 `type:"integer"`
24572
24573	// The run ID number.
24574	RunId *string `type:"string"`
24575
24576	// The version of the job.
24577	Version *int64 `type:"integer"`
24578}
24579
24580// String returns the string representation
24581func (s JobBookmarkEntry) String() string {
24582	return awsutil.Prettify(s)
24583}
24584
24585// GoString returns the string representation
24586func (s JobBookmarkEntry) GoString() string {
24587	return s.String()
24588}
24589
24590// SetAttempt sets the Attempt field's value.
24591func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry {
24592	s.Attempt = &v
24593	return s
24594}
24595
24596// SetJobBookmark sets the JobBookmark field's value.
24597func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry {
24598	s.JobBookmark = &v
24599	return s
24600}
24601
24602// SetJobName sets the JobName field's value.
24603func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry {
24604	s.JobName = &v
24605	return s
24606}
24607
24608// SetPreviousRunId sets the PreviousRunId field's value.
24609func (s *JobBookmarkEntry) SetPreviousRunId(v string) *JobBookmarkEntry {
24610	s.PreviousRunId = &v
24611	return s
24612}
24613
24614// SetRun sets the Run field's value.
24615func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry {
24616	s.Run = &v
24617	return s
24618}
24619
24620// SetRunId sets the RunId field's value.
24621func (s *JobBookmarkEntry) SetRunId(v string) *JobBookmarkEntry {
24622	s.RunId = &v
24623	return s
24624}
24625
24626// SetVersion sets the Version field's value.
24627func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry {
24628	s.Version = &v
24629	return s
24630}
24631
24632// Specifies how job bookmark data should be encrypted.
24633type JobBookmarksEncryption struct {
24634	_ struct{} `type:"structure"`
24635
24636	// The encryption mode to use for job bookmarks data.
24637	JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"`
24638
24639	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
24640	KmsKeyArn *string `type:"string"`
24641}
24642
24643// String returns the string representation
24644func (s JobBookmarksEncryption) String() string {
24645	return awsutil.Prettify(s)
24646}
24647
24648// GoString returns the string representation
24649func (s JobBookmarksEncryption) GoString() string {
24650	return s.String()
24651}
24652
24653// SetJobBookmarksEncryptionMode sets the JobBookmarksEncryptionMode field's value.
24654func (s *JobBookmarksEncryption) SetJobBookmarksEncryptionMode(v string) *JobBookmarksEncryption {
24655	s.JobBookmarksEncryptionMode = &v
24656	return s
24657}
24658
24659// SetKmsKeyArn sets the KmsKeyArn field's value.
24660func (s *JobBookmarksEncryption) SetKmsKeyArn(v string) *JobBookmarksEncryption {
24661	s.KmsKeyArn = &v
24662	return s
24663}
24664
24665// Specifies code executed when a job is run.
24666type JobCommand struct {
24667	_ struct{} `type:"structure"`
24668
24669	// The name of the job command. For an Apache Spark ETL job, this must be glueetl.
24670	// For a Python shell job, it must be pythonshell.
24671	Name *string `type:"string"`
24672
24673	// The Python version being used to execute a Python shell job. Allowed values
24674	// are 2 or 3.
24675	PythonVersion *string `type:"string"`
24676
24677	// Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
24678	// that executes a job.
24679	ScriptLocation *string `type:"string"`
24680}
24681
24682// String returns the string representation
24683func (s JobCommand) String() string {
24684	return awsutil.Prettify(s)
24685}
24686
24687// GoString returns the string representation
24688func (s JobCommand) GoString() string {
24689	return s.String()
24690}
24691
24692// SetName sets the Name field's value.
24693func (s *JobCommand) SetName(v string) *JobCommand {
24694	s.Name = &v
24695	return s
24696}
24697
24698// SetPythonVersion sets the PythonVersion field's value.
24699func (s *JobCommand) SetPythonVersion(v string) *JobCommand {
24700	s.PythonVersion = &v
24701	return s
24702}
24703
24704// SetScriptLocation sets the ScriptLocation field's value.
24705func (s *JobCommand) SetScriptLocation(v string) *JobCommand {
24706	s.ScriptLocation = &v
24707	return s
24708}
24709
24710// The details of a Job node present in the workflow.
24711type JobNodeDetails struct {
24712	_ struct{} `type:"structure"`
24713
24714	// The information for the job runs represented by the job node.
24715	JobRuns []*JobRun `type:"list"`
24716}
24717
24718// String returns the string representation
24719func (s JobNodeDetails) String() string {
24720	return awsutil.Prettify(s)
24721}
24722
24723// GoString returns the string representation
24724func (s JobNodeDetails) GoString() string {
24725	return s.String()
24726}
24727
24728// SetJobRuns sets the JobRuns field's value.
24729func (s *JobNodeDetails) SetJobRuns(v []*JobRun) *JobNodeDetails {
24730	s.JobRuns = v
24731	return s
24732}
24733
24734// Contains information about a job run.
24735type JobRun struct {
24736	_ struct{} `type:"structure"`
24737
24738	// This field is deprecated. Use MaxCapacity instead.
24739	//
24740	// The number of AWS Glue data processing units (DPUs) allocated to this JobRun.
24741	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
24742	// measure of processing power that consists of 4 vCPUs of compute capacity
24743	// and 16 GB of memory. For more information, see the AWS Glue pricing page
24744	// (https://aws.amazon.com/glue/pricing/).
24745	//
24746	// Deprecated: This property is deprecated, use MaxCapacity instead.
24747	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
24748
24749	// The job arguments associated with this run. For this job run, they replace
24750	// the default arguments set in the job definition itself.
24751	//
24752	// You can specify arguments here that your own job-execution script consumes,
24753	// as well as arguments that AWS Glue itself consumes.
24754	//
24755	// For information about how to specify and consume your own job arguments,
24756	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
24757	// topic in the developer guide.
24758	//
24759	// For information about the key-value pairs that AWS Glue consumes to set up
24760	// 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)
24761	// topic in the developer guide.
24762	Arguments map[string]*string `type:"map"`
24763
24764	// The number of the attempt to run this job.
24765	Attempt *int64 `type:"integer"`
24766
24767	// The date and time that this job run completed.
24768	CompletedOn *time.Time `type:"timestamp"`
24769
24770	// An error message associated with this job run.
24771	ErrorMessage *string `type:"string"`
24772
24773	// The amount of time (in seconds) that the job run consumed resources.
24774	ExecutionTime *int64 `type:"integer"`
24775
24776	// Glue version determines the versions of Apache Spark and Python that AWS
24777	// Glue supports. The Python version indicates the version supported for jobs
24778	// of type Spark.
24779	//
24780	// For more information about the available AWS Glue versions and corresponding
24781	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
24782	// in the developer guide.
24783	//
24784	// Jobs that are created without specifying a Glue version default to Glue 0.9.
24785	GlueVersion *string `min:"1" type:"string"`
24786
24787	// The ID of this job run.
24788	Id *string `min:"1" type:"string"`
24789
24790	// The name of the job definition being used in this run.
24791	JobName *string `min:"1" type:"string"`
24792
24793	// The current state of the job run.
24794	JobRunState *string `type:"string" enum:"JobRunState"`
24795
24796	// The last time that this job run was modified.
24797	LastModifiedOn *time.Time `type:"timestamp"`
24798
24799	// The name of the log group for secure logging that can be server-side encrypted
24800	// in Amazon CloudWatch using AWS KMS. This name can be /aws-glue/jobs/, in
24801	// which case the default encryption is NONE. If you add a role name and SecurityConfiguration
24802	// name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/),
24803	// then that security configuration is used to encrypt the log group.
24804	LogGroupName *string `type:"string"`
24805
24806	// The number of AWS Glue data processing units (DPUs) that can be allocated
24807	// when this job runs. A DPU is a relative measure of processing power that
24808	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
24809	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
24810	//
24811	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
24812	//
24813	// The value that can be allocated for MaxCapacity depends on whether you are
24814	// running a Python shell job or an Apache Spark ETL job:
24815	//
24816	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
24817	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
24818	//
24819	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
24820	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
24821	//    type cannot have a fractional DPU allocation.
24822	MaxCapacity *float64 `type:"double"`
24823
24824	// Specifies configuration properties of a job run notification.
24825	NotificationProperty *NotificationProperty `type:"structure"`
24826
24827	// The number of workers of a defined workerType that are allocated when a job
24828	// runs.
24829	//
24830	// The maximum number of workers you can define are 299 for G.1X, and 149 for
24831	// G.2X.
24832	NumberOfWorkers *int64 `type:"integer"`
24833
24834	// A list of predecessors to this job run.
24835	PredecessorRuns []*Predecessor `type:"list"`
24836
24837	// The ID of the previous run of this job. For example, the JobRunId specified
24838	// in the StartJobRun action.
24839	PreviousRunId *string `min:"1" type:"string"`
24840
24841	// The name of the SecurityConfiguration structure to be used with this job
24842	// run.
24843	SecurityConfiguration *string `min:"1" type:"string"`
24844
24845	// The date and time at which this job run was started.
24846	StartedOn *time.Time `type:"timestamp"`
24847
24848	// The JobRun timeout in minutes. This is the maximum time that a job run can
24849	// consume resources before it is terminated and enters TIMEOUT status. The
24850	// default is 2,880 minutes (48 hours). This overrides the timeout value set
24851	// in the parent job.
24852	Timeout *int64 `min:"1" type:"integer"`
24853
24854	// The name of the trigger that started this job run.
24855	TriggerName *string `min:"1" type:"string"`
24856
24857	// The type of predefined worker that is allocated when a job runs. Accepts
24858	// a value of Standard, G.1X, or G.2X.
24859	//
24860	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
24861	//    memory and a 50GB disk, and 2 executors per worker.
24862	//
24863	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
24864	//    and a 64GB disk, and 1 executor per worker.
24865	//
24866	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
24867	//    and a 128GB disk, and 1 executor per worker.
24868	WorkerType *string `type:"string" enum:"WorkerType"`
24869}
24870
24871// String returns the string representation
24872func (s JobRun) String() string {
24873	return awsutil.Prettify(s)
24874}
24875
24876// GoString returns the string representation
24877func (s JobRun) GoString() string {
24878	return s.String()
24879}
24880
24881// SetAllocatedCapacity sets the AllocatedCapacity field's value.
24882func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun {
24883	s.AllocatedCapacity = &v
24884	return s
24885}
24886
24887// SetArguments sets the Arguments field's value.
24888func (s *JobRun) SetArguments(v map[string]*string) *JobRun {
24889	s.Arguments = v
24890	return s
24891}
24892
24893// SetAttempt sets the Attempt field's value.
24894func (s *JobRun) SetAttempt(v int64) *JobRun {
24895	s.Attempt = &v
24896	return s
24897}
24898
24899// SetCompletedOn sets the CompletedOn field's value.
24900func (s *JobRun) SetCompletedOn(v time.Time) *JobRun {
24901	s.CompletedOn = &v
24902	return s
24903}
24904
24905// SetErrorMessage sets the ErrorMessage field's value.
24906func (s *JobRun) SetErrorMessage(v string) *JobRun {
24907	s.ErrorMessage = &v
24908	return s
24909}
24910
24911// SetExecutionTime sets the ExecutionTime field's value.
24912func (s *JobRun) SetExecutionTime(v int64) *JobRun {
24913	s.ExecutionTime = &v
24914	return s
24915}
24916
24917// SetGlueVersion sets the GlueVersion field's value.
24918func (s *JobRun) SetGlueVersion(v string) *JobRun {
24919	s.GlueVersion = &v
24920	return s
24921}
24922
24923// SetId sets the Id field's value.
24924func (s *JobRun) SetId(v string) *JobRun {
24925	s.Id = &v
24926	return s
24927}
24928
24929// SetJobName sets the JobName field's value.
24930func (s *JobRun) SetJobName(v string) *JobRun {
24931	s.JobName = &v
24932	return s
24933}
24934
24935// SetJobRunState sets the JobRunState field's value.
24936func (s *JobRun) SetJobRunState(v string) *JobRun {
24937	s.JobRunState = &v
24938	return s
24939}
24940
24941// SetLastModifiedOn sets the LastModifiedOn field's value.
24942func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun {
24943	s.LastModifiedOn = &v
24944	return s
24945}
24946
24947// SetLogGroupName sets the LogGroupName field's value.
24948func (s *JobRun) SetLogGroupName(v string) *JobRun {
24949	s.LogGroupName = &v
24950	return s
24951}
24952
24953// SetMaxCapacity sets the MaxCapacity field's value.
24954func (s *JobRun) SetMaxCapacity(v float64) *JobRun {
24955	s.MaxCapacity = &v
24956	return s
24957}
24958
24959// SetNotificationProperty sets the NotificationProperty field's value.
24960func (s *JobRun) SetNotificationProperty(v *NotificationProperty) *JobRun {
24961	s.NotificationProperty = v
24962	return s
24963}
24964
24965// SetNumberOfWorkers sets the NumberOfWorkers field's value.
24966func (s *JobRun) SetNumberOfWorkers(v int64) *JobRun {
24967	s.NumberOfWorkers = &v
24968	return s
24969}
24970
24971// SetPredecessorRuns sets the PredecessorRuns field's value.
24972func (s *JobRun) SetPredecessorRuns(v []*Predecessor) *JobRun {
24973	s.PredecessorRuns = v
24974	return s
24975}
24976
24977// SetPreviousRunId sets the PreviousRunId field's value.
24978func (s *JobRun) SetPreviousRunId(v string) *JobRun {
24979	s.PreviousRunId = &v
24980	return s
24981}
24982
24983// SetSecurityConfiguration sets the SecurityConfiguration field's value.
24984func (s *JobRun) SetSecurityConfiguration(v string) *JobRun {
24985	s.SecurityConfiguration = &v
24986	return s
24987}
24988
24989// SetStartedOn sets the StartedOn field's value.
24990func (s *JobRun) SetStartedOn(v time.Time) *JobRun {
24991	s.StartedOn = &v
24992	return s
24993}
24994
24995// SetTimeout sets the Timeout field's value.
24996func (s *JobRun) SetTimeout(v int64) *JobRun {
24997	s.Timeout = &v
24998	return s
24999}
25000
25001// SetTriggerName sets the TriggerName field's value.
25002func (s *JobRun) SetTriggerName(v string) *JobRun {
25003	s.TriggerName = &v
25004	return s
25005}
25006
25007// SetWorkerType sets the WorkerType field's value.
25008func (s *JobRun) SetWorkerType(v string) *JobRun {
25009	s.WorkerType = &v
25010	return s
25011}
25012
25013// Specifies information used to update an existing job definition. The previous
25014// job definition is completely overwritten by this information.
25015type JobUpdate struct {
25016	_ struct{} `type:"structure"`
25017
25018	// This field is deprecated. Use MaxCapacity instead.
25019	//
25020	// The number of AWS Glue data processing units (DPUs) to allocate to this job.
25021	// You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative
25022	// measure of processing power that consists of 4 vCPUs of compute capacity
25023	// and 16 GB of memory. For more information, see the AWS Glue pricing page
25024	// (https://aws.amazon.com/glue/pricing/).
25025	//
25026	// Deprecated: This property is deprecated, use MaxCapacity instead.
25027	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
25028
25029	// The JobCommand that executes this job (required).
25030	Command *JobCommand `type:"structure"`
25031
25032	// The connections used for this job.
25033	Connections *ConnectionsList `type:"structure"`
25034
25035	// The default arguments for this job.
25036	//
25037	// You can specify arguments here that your own job-execution script consumes,
25038	// as well as arguments that AWS Glue itself consumes.
25039	//
25040	// For information about how to specify and consume your own Job arguments,
25041	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
25042	// topic in the developer guide.
25043	//
25044	// For information about the key-value pairs that AWS Glue consumes to set up
25045	// 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)
25046	// topic in the developer guide.
25047	DefaultArguments map[string]*string `type:"map"`
25048
25049	// Description of the job being defined.
25050	Description *string `type:"string"`
25051
25052	// An ExecutionProperty specifying the maximum number of concurrent runs allowed
25053	// for this job.
25054	ExecutionProperty *ExecutionProperty `type:"structure"`
25055
25056	// Glue version determines the versions of Apache Spark and Python that AWS
25057	// Glue supports. The Python version indicates the version supported for jobs
25058	// of type Spark.
25059	//
25060	// For more information about the available AWS Glue versions and corresponding
25061	// Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
25062	// in the developer guide.
25063	GlueVersion *string `min:"1" type:"string"`
25064
25065	// This field is reserved for future use.
25066	LogUri *string `type:"string"`
25067
25068	// The number of AWS Glue data processing units (DPUs) that can be allocated
25069	// when this job runs. A DPU is a relative measure of processing power that
25070	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
25071	// see the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
25072	//
25073	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
25074	//
25075	// The value that can be allocated for MaxCapacity depends on whether you are
25076	// running a Python shell job or an Apache Spark ETL job:
25077	//
25078	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
25079	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
25080	//
25081	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
25082	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
25083	//    type cannot have a fractional DPU allocation.
25084	MaxCapacity *float64 `type:"double"`
25085
25086	// The maximum number of times to retry this job if it fails.
25087	MaxRetries *int64 `type:"integer"`
25088
25089	// Specifies the configuration properties of a job notification.
25090	NotificationProperty *NotificationProperty `type:"structure"`
25091
25092	// The number of workers of a defined workerType that are allocated when a job
25093	// runs.
25094	//
25095	// The maximum number of workers you can define are 299 for G.1X, and 149 for
25096	// G.2X.
25097	NumberOfWorkers *int64 `type:"integer"`
25098
25099	// The name or Amazon Resource Name (ARN) of the IAM role associated with this
25100	// job (required).
25101	Role *string `type:"string"`
25102
25103	// The name of the SecurityConfiguration structure to be used with this job.
25104	SecurityConfiguration *string `min:"1" type:"string"`
25105
25106	// The job timeout in minutes. This is the maximum time that a job run can consume
25107	// resources before it is terminated and enters TIMEOUT status. The default
25108	// is 2,880 minutes (48 hours).
25109	Timeout *int64 `min:"1" type:"integer"`
25110
25111	// The type of predefined worker that is allocated when a job runs. Accepts
25112	// a value of Standard, G.1X, or G.2X.
25113	//
25114	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
25115	//    memory and a 50GB disk, and 2 executors per worker.
25116	//
25117	//    * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
25118	//    memory, 64 GB disk), and provides 1 executor per worker. We recommend
25119	//    this worker type for memory-intensive jobs.
25120	//
25121	//    * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
25122	//    memory, 128 GB disk), and provides 1 executor per worker. We recommend
25123	//    this worker type for memory-intensive jobs.
25124	WorkerType *string `type:"string" enum:"WorkerType"`
25125}
25126
25127// String returns the string representation
25128func (s JobUpdate) String() string {
25129	return awsutil.Prettify(s)
25130}
25131
25132// GoString returns the string representation
25133func (s JobUpdate) GoString() string {
25134	return s.String()
25135}
25136
25137// Validate inspects the fields of the type to determine if they are valid.
25138func (s *JobUpdate) Validate() error {
25139	invalidParams := request.ErrInvalidParams{Context: "JobUpdate"}
25140	if s.GlueVersion != nil && len(*s.GlueVersion) < 1 {
25141		invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1))
25142	}
25143	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
25144		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
25145	}
25146	if s.Timeout != nil && *s.Timeout < 1 {
25147		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
25148	}
25149	if s.NotificationProperty != nil {
25150		if err := s.NotificationProperty.Validate(); err != nil {
25151			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
25152		}
25153	}
25154
25155	if invalidParams.Len() > 0 {
25156		return invalidParams
25157	}
25158	return nil
25159}
25160
25161// SetAllocatedCapacity sets the AllocatedCapacity field's value.
25162func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate {
25163	s.AllocatedCapacity = &v
25164	return s
25165}
25166
25167// SetCommand sets the Command field's value.
25168func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate {
25169	s.Command = v
25170	return s
25171}
25172
25173// SetConnections sets the Connections field's value.
25174func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate {
25175	s.Connections = v
25176	return s
25177}
25178
25179// SetDefaultArguments sets the DefaultArguments field's value.
25180func (s *JobUpdate) SetDefaultArguments(v map[string]*string) *JobUpdate {
25181	s.DefaultArguments = v
25182	return s
25183}
25184
25185// SetDescription sets the Description field's value.
25186func (s *JobUpdate) SetDescription(v string) *JobUpdate {
25187	s.Description = &v
25188	return s
25189}
25190
25191// SetExecutionProperty sets the ExecutionProperty field's value.
25192func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate {
25193	s.ExecutionProperty = v
25194	return s
25195}
25196
25197// SetGlueVersion sets the GlueVersion field's value.
25198func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate {
25199	s.GlueVersion = &v
25200	return s
25201}
25202
25203// SetLogUri sets the LogUri field's value.
25204func (s *JobUpdate) SetLogUri(v string) *JobUpdate {
25205	s.LogUri = &v
25206	return s
25207}
25208
25209// SetMaxCapacity sets the MaxCapacity field's value.
25210func (s *JobUpdate) SetMaxCapacity(v float64) *JobUpdate {
25211	s.MaxCapacity = &v
25212	return s
25213}
25214
25215// SetMaxRetries sets the MaxRetries field's value.
25216func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate {
25217	s.MaxRetries = &v
25218	return s
25219}
25220
25221// SetNotificationProperty sets the NotificationProperty field's value.
25222func (s *JobUpdate) SetNotificationProperty(v *NotificationProperty) *JobUpdate {
25223	s.NotificationProperty = v
25224	return s
25225}
25226
25227// SetNumberOfWorkers sets the NumberOfWorkers field's value.
25228func (s *JobUpdate) SetNumberOfWorkers(v int64) *JobUpdate {
25229	s.NumberOfWorkers = &v
25230	return s
25231}
25232
25233// SetRole sets the Role field's value.
25234func (s *JobUpdate) SetRole(v string) *JobUpdate {
25235	s.Role = &v
25236	return s
25237}
25238
25239// SetSecurityConfiguration sets the SecurityConfiguration field's value.
25240func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate {
25241	s.SecurityConfiguration = &v
25242	return s
25243}
25244
25245// SetTimeout sets the Timeout field's value.
25246func (s *JobUpdate) SetTimeout(v int64) *JobUpdate {
25247	s.Timeout = &v
25248	return s
25249}
25250
25251// SetWorkerType sets the WorkerType field's value.
25252func (s *JobUpdate) SetWorkerType(v string) *JobUpdate {
25253	s.WorkerType = &v
25254	return s
25255}
25256
25257// A classifier for JSON content.
25258type JsonClassifier struct {
25259	_ struct{} `type:"structure"`
25260
25261	// The time that this classifier was registered.
25262	CreationTime *time.Time `type:"timestamp"`
25263
25264	// A JsonPath string defining the JSON data for the classifier to classify.
25265	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
25266	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
25267	//
25268	// JsonPath is a required field
25269	JsonPath *string `type:"string" required:"true"`
25270
25271	// The time that this classifier was last updated.
25272	LastUpdated *time.Time `type:"timestamp"`
25273
25274	// The name of the classifier.
25275	//
25276	// Name is a required field
25277	Name *string `min:"1" type:"string" required:"true"`
25278
25279	// The version of this classifier.
25280	Version *int64 `type:"long"`
25281}
25282
25283// String returns the string representation
25284func (s JsonClassifier) String() string {
25285	return awsutil.Prettify(s)
25286}
25287
25288// GoString returns the string representation
25289func (s JsonClassifier) GoString() string {
25290	return s.String()
25291}
25292
25293// SetCreationTime sets the CreationTime field's value.
25294func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier {
25295	s.CreationTime = &v
25296	return s
25297}
25298
25299// SetJsonPath sets the JsonPath field's value.
25300func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier {
25301	s.JsonPath = &v
25302	return s
25303}
25304
25305// SetLastUpdated sets the LastUpdated field's value.
25306func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier {
25307	s.LastUpdated = &v
25308	return s
25309}
25310
25311// SetName sets the Name field's value.
25312func (s *JsonClassifier) SetName(v string) *JsonClassifier {
25313	s.Name = &v
25314	return s
25315}
25316
25317// SetVersion sets the Version field's value.
25318func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier {
25319	s.Version = &v
25320	return s
25321}
25322
25323// Specifies configuration properties for a labeling set generation task run.
25324type LabelingSetGenerationTaskRunProperties struct {
25325	_ struct{} `type:"structure"`
25326
25327	// The Amazon Simple Storage Service (Amazon S3) path where you will generate
25328	// the labeling set.
25329	OutputS3Path *string `type:"string"`
25330}
25331
25332// String returns the string representation
25333func (s LabelingSetGenerationTaskRunProperties) String() string {
25334	return awsutil.Prettify(s)
25335}
25336
25337// GoString returns the string representation
25338func (s LabelingSetGenerationTaskRunProperties) GoString() string {
25339	return s.String()
25340}
25341
25342// SetOutputS3Path sets the OutputS3Path field's value.
25343func (s *LabelingSetGenerationTaskRunProperties) SetOutputS3Path(v string) *LabelingSetGenerationTaskRunProperties {
25344	s.OutputS3Path = &v
25345	return s
25346}
25347
25348// Status and error information about the most recent crawl.
25349type LastCrawlInfo struct {
25350	_ struct{} `type:"structure"`
25351
25352	// If an error occurred, the error information about the last crawl.
25353	ErrorMessage *string `type:"string"`
25354
25355	// The log group for the last crawl.
25356	LogGroup *string `min:"1" type:"string"`
25357
25358	// The log stream for the last crawl.
25359	LogStream *string `min:"1" type:"string"`
25360
25361	// The prefix for a message about this crawl.
25362	MessagePrefix *string `min:"1" type:"string"`
25363
25364	// The time at which the crawl started.
25365	StartTime *time.Time `type:"timestamp"`
25366
25367	// Status of the last crawl.
25368	Status *string `type:"string" enum:"LastCrawlStatus"`
25369}
25370
25371// String returns the string representation
25372func (s LastCrawlInfo) String() string {
25373	return awsutil.Prettify(s)
25374}
25375
25376// GoString returns the string representation
25377func (s LastCrawlInfo) GoString() string {
25378	return s.String()
25379}
25380
25381// SetErrorMessage sets the ErrorMessage field's value.
25382func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo {
25383	s.ErrorMessage = &v
25384	return s
25385}
25386
25387// SetLogGroup sets the LogGroup field's value.
25388func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo {
25389	s.LogGroup = &v
25390	return s
25391}
25392
25393// SetLogStream sets the LogStream field's value.
25394func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo {
25395	s.LogStream = &v
25396	return s
25397}
25398
25399// SetMessagePrefix sets the MessagePrefix field's value.
25400func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo {
25401	s.MessagePrefix = &v
25402	return s
25403}
25404
25405// SetStartTime sets the StartTime field's value.
25406func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo {
25407	s.StartTime = &v
25408	return s
25409}
25410
25411// SetStatus sets the Status field's value.
25412func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo {
25413	s.Status = &v
25414	return s
25415}
25416
25417type ListCrawlersInput struct {
25418	_ struct{} `type:"structure"`
25419
25420	// The maximum size of a list to return.
25421	MaxResults *int64 `min:"1" type:"integer"`
25422
25423	// A continuation token, if this is a continuation request.
25424	NextToken *string `type:"string"`
25425
25426	// Specifies to return only these tagged resources.
25427	Tags map[string]*string `type:"map"`
25428}
25429
25430// String returns the string representation
25431func (s ListCrawlersInput) String() string {
25432	return awsutil.Prettify(s)
25433}
25434
25435// GoString returns the string representation
25436func (s ListCrawlersInput) GoString() string {
25437	return s.String()
25438}
25439
25440// Validate inspects the fields of the type to determine if they are valid.
25441func (s *ListCrawlersInput) Validate() error {
25442	invalidParams := request.ErrInvalidParams{Context: "ListCrawlersInput"}
25443	if s.MaxResults != nil && *s.MaxResults < 1 {
25444		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25445	}
25446
25447	if invalidParams.Len() > 0 {
25448		return invalidParams
25449	}
25450	return nil
25451}
25452
25453// SetMaxResults sets the MaxResults field's value.
25454func (s *ListCrawlersInput) SetMaxResults(v int64) *ListCrawlersInput {
25455	s.MaxResults = &v
25456	return s
25457}
25458
25459// SetNextToken sets the NextToken field's value.
25460func (s *ListCrawlersInput) SetNextToken(v string) *ListCrawlersInput {
25461	s.NextToken = &v
25462	return s
25463}
25464
25465// SetTags sets the Tags field's value.
25466func (s *ListCrawlersInput) SetTags(v map[string]*string) *ListCrawlersInput {
25467	s.Tags = v
25468	return s
25469}
25470
25471type ListCrawlersOutput struct {
25472	_ struct{} `type:"structure"`
25473
25474	// The names of all crawlers in the account, or the crawlers with the specified
25475	// tags.
25476	CrawlerNames []*string `type:"list"`
25477
25478	// A continuation token, if the returned list does not contain the last metric
25479	// available.
25480	NextToken *string `type:"string"`
25481}
25482
25483// String returns the string representation
25484func (s ListCrawlersOutput) String() string {
25485	return awsutil.Prettify(s)
25486}
25487
25488// GoString returns the string representation
25489func (s ListCrawlersOutput) GoString() string {
25490	return s.String()
25491}
25492
25493// SetCrawlerNames sets the CrawlerNames field's value.
25494func (s *ListCrawlersOutput) SetCrawlerNames(v []*string) *ListCrawlersOutput {
25495	s.CrawlerNames = v
25496	return s
25497}
25498
25499// SetNextToken sets the NextToken field's value.
25500func (s *ListCrawlersOutput) SetNextToken(v string) *ListCrawlersOutput {
25501	s.NextToken = &v
25502	return s
25503}
25504
25505type ListDevEndpointsInput struct {
25506	_ struct{} `type:"structure"`
25507
25508	// The maximum size of a list to return.
25509	MaxResults *int64 `min:"1" type:"integer"`
25510
25511	// A continuation token, if this is a continuation request.
25512	NextToken *string `type:"string"`
25513
25514	// Specifies to return only these tagged resources.
25515	Tags map[string]*string `type:"map"`
25516}
25517
25518// String returns the string representation
25519func (s ListDevEndpointsInput) String() string {
25520	return awsutil.Prettify(s)
25521}
25522
25523// GoString returns the string representation
25524func (s ListDevEndpointsInput) GoString() string {
25525	return s.String()
25526}
25527
25528// Validate inspects the fields of the type to determine if they are valid.
25529func (s *ListDevEndpointsInput) Validate() error {
25530	invalidParams := request.ErrInvalidParams{Context: "ListDevEndpointsInput"}
25531	if s.MaxResults != nil && *s.MaxResults < 1 {
25532		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25533	}
25534
25535	if invalidParams.Len() > 0 {
25536		return invalidParams
25537	}
25538	return nil
25539}
25540
25541// SetMaxResults sets the MaxResults field's value.
25542func (s *ListDevEndpointsInput) SetMaxResults(v int64) *ListDevEndpointsInput {
25543	s.MaxResults = &v
25544	return s
25545}
25546
25547// SetNextToken sets the NextToken field's value.
25548func (s *ListDevEndpointsInput) SetNextToken(v string) *ListDevEndpointsInput {
25549	s.NextToken = &v
25550	return s
25551}
25552
25553// SetTags sets the Tags field's value.
25554func (s *ListDevEndpointsInput) SetTags(v map[string]*string) *ListDevEndpointsInput {
25555	s.Tags = v
25556	return s
25557}
25558
25559type ListDevEndpointsOutput struct {
25560	_ struct{} `type:"structure"`
25561
25562	// The names of all the DevEndpoints in the account, or the DevEndpoints with
25563	// the specified tags.
25564	DevEndpointNames []*string `type:"list"`
25565
25566	// A continuation token, if the returned list does not contain the last metric
25567	// available.
25568	NextToken *string `type:"string"`
25569}
25570
25571// String returns the string representation
25572func (s ListDevEndpointsOutput) String() string {
25573	return awsutil.Prettify(s)
25574}
25575
25576// GoString returns the string representation
25577func (s ListDevEndpointsOutput) GoString() string {
25578	return s.String()
25579}
25580
25581// SetDevEndpointNames sets the DevEndpointNames field's value.
25582func (s *ListDevEndpointsOutput) SetDevEndpointNames(v []*string) *ListDevEndpointsOutput {
25583	s.DevEndpointNames = v
25584	return s
25585}
25586
25587// SetNextToken sets the NextToken field's value.
25588func (s *ListDevEndpointsOutput) SetNextToken(v string) *ListDevEndpointsOutput {
25589	s.NextToken = &v
25590	return s
25591}
25592
25593type ListJobsInput struct {
25594	_ struct{} `type:"structure"`
25595
25596	// The maximum size of a list to return.
25597	MaxResults *int64 `min:"1" type:"integer"`
25598
25599	// A continuation token, if this is a continuation request.
25600	NextToken *string `type:"string"`
25601
25602	// Specifies to return only these tagged resources.
25603	Tags map[string]*string `type:"map"`
25604}
25605
25606// String returns the string representation
25607func (s ListJobsInput) String() string {
25608	return awsutil.Prettify(s)
25609}
25610
25611// GoString returns the string representation
25612func (s ListJobsInput) GoString() string {
25613	return s.String()
25614}
25615
25616// Validate inspects the fields of the type to determine if they are valid.
25617func (s *ListJobsInput) Validate() error {
25618	invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"}
25619	if s.MaxResults != nil && *s.MaxResults < 1 {
25620		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25621	}
25622
25623	if invalidParams.Len() > 0 {
25624		return invalidParams
25625	}
25626	return nil
25627}
25628
25629// SetMaxResults sets the MaxResults field's value.
25630func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput {
25631	s.MaxResults = &v
25632	return s
25633}
25634
25635// SetNextToken sets the NextToken field's value.
25636func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
25637	s.NextToken = &v
25638	return s
25639}
25640
25641// SetTags sets the Tags field's value.
25642func (s *ListJobsInput) SetTags(v map[string]*string) *ListJobsInput {
25643	s.Tags = v
25644	return s
25645}
25646
25647type ListJobsOutput struct {
25648	_ struct{} `type:"structure"`
25649
25650	// The names of all jobs in the account, or the jobs with the specified tags.
25651	JobNames []*string `type:"list"`
25652
25653	// A continuation token, if the returned list does not contain the last metric
25654	// available.
25655	NextToken *string `type:"string"`
25656}
25657
25658// String returns the string representation
25659func (s ListJobsOutput) String() string {
25660	return awsutil.Prettify(s)
25661}
25662
25663// GoString returns the string representation
25664func (s ListJobsOutput) GoString() string {
25665	return s.String()
25666}
25667
25668// SetJobNames sets the JobNames field's value.
25669func (s *ListJobsOutput) SetJobNames(v []*string) *ListJobsOutput {
25670	s.JobNames = v
25671	return s
25672}
25673
25674// SetNextToken sets the NextToken field's value.
25675func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
25676	s.NextToken = &v
25677	return s
25678}
25679
25680type ListTriggersInput struct {
25681	_ struct{} `type:"structure"`
25682
25683	// The name of the job for which to retrieve triggers. The trigger that can
25684	// start this job is returned. If there is no such trigger, all triggers are
25685	// returned.
25686	DependentJobName *string `min:"1" type:"string"`
25687
25688	// The maximum size of a list to return.
25689	MaxResults *int64 `min:"1" type:"integer"`
25690
25691	// A continuation token, if this is a continuation request.
25692	NextToken *string `type:"string"`
25693
25694	// Specifies to return only these tagged resources.
25695	Tags map[string]*string `type:"map"`
25696}
25697
25698// String returns the string representation
25699func (s ListTriggersInput) String() string {
25700	return awsutil.Prettify(s)
25701}
25702
25703// GoString returns the string representation
25704func (s ListTriggersInput) GoString() string {
25705	return s.String()
25706}
25707
25708// Validate inspects the fields of the type to determine if they are valid.
25709func (s *ListTriggersInput) Validate() error {
25710	invalidParams := request.ErrInvalidParams{Context: "ListTriggersInput"}
25711	if s.DependentJobName != nil && len(*s.DependentJobName) < 1 {
25712		invalidParams.Add(request.NewErrParamMinLen("DependentJobName", 1))
25713	}
25714	if s.MaxResults != nil && *s.MaxResults < 1 {
25715		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25716	}
25717
25718	if invalidParams.Len() > 0 {
25719		return invalidParams
25720	}
25721	return nil
25722}
25723
25724// SetDependentJobName sets the DependentJobName field's value.
25725func (s *ListTriggersInput) SetDependentJobName(v string) *ListTriggersInput {
25726	s.DependentJobName = &v
25727	return s
25728}
25729
25730// SetMaxResults sets the MaxResults field's value.
25731func (s *ListTriggersInput) SetMaxResults(v int64) *ListTriggersInput {
25732	s.MaxResults = &v
25733	return s
25734}
25735
25736// SetNextToken sets the NextToken field's value.
25737func (s *ListTriggersInput) SetNextToken(v string) *ListTriggersInput {
25738	s.NextToken = &v
25739	return s
25740}
25741
25742// SetTags sets the Tags field's value.
25743func (s *ListTriggersInput) SetTags(v map[string]*string) *ListTriggersInput {
25744	s.Tags = v
25745	return s
25746}
25747
25748type ListTriggersOutput struct {
25749	_ struct{} `type:"structure"`
25750
25751	// A continuation token, if the returned list does not contain the last metric
25752	// available.
25753	NextToken *string `type:"string"`
25754
25755	// The names of all triggers in the account, or the triggers with the specified
25756	// tags.
25757	TriggerNames []*string `type:"list"`
25758}
25759
25760// String returns the string representation
25761func (s ListTriggersOutput) String() string {
25762	return awsutil.Prettify(s)
25763}
25764
25765// GoString returns the string representation
25766func (s ListTriggersOutput) GoString() string {
25767	return s.String()
25768}
25769
25770// SetNextToken sets the NextToken field's value.
25771func (s *ListTriggersOutput) SetNextToken(v string) *ListTriggersOutput {
25772	s.NextToken = &v
25773	return s
25774}
25775
25776// SetTriggerNames sets the TriggerNames field's value.
25777func (s *ListTriggersOutput) SetTriggerNames(v []*string) *ListTriggersOutput {
25778	s.TriggerNames = v
25779	return s
25780}
25781
25782type ListWorkflowsInput struct {
25783	_ struct{} `type:"structure"`
25784
25785	// The maximum size of a list to return.
25786	MaxResults *int64 `min:"1" type:"integer"`
25787
25788	// A continuation token, if this is a continuation request.
25789	NextToken *string `type:"string"`
25790}
25791
25792// String returns the string representation
25793func (s ListWorkflowsInput) String() string {
25794	return awsutil.Prettify(s)
25795}
25796
25797// GoString returns the string representation
25798func (s ListWorkflowsInput) GoString() string {
25799	return s.String()
25800}
25801
25802// Validate inspects the fields of the type to determine if they are valid.
25803func (s *ListWorkflowsInput) Validate() error {
25804	invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"}
25805	if s.MaxResults != nil && *s.MaxResults < 1 {
25806		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25807	}
25808
25809	if invalidParams.Len() > 0 {
25810		return invalidParams
25811	}
25812	return nil
25813}
25814
25815// SetMaxResults sets the MaxResults field's value.
25816func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput {
25817	s.MaxResults = &v
25818	return s
25819}
25820
25821// SetNextToken sets the NextToken field's value.
25822func (s *ListWorkflowsInput) SetNextToken(v string) *ListWorkflowsInput {
25823	s.NextToken = &v
25824	return s
25825}
25826
25827type ListWorkflowsOutput struct {
25828	_ struct{} `type:"structure"`
25829
25830	// A continuation token, if not all workflow names have been returned.
25831	NextToken *string `type:"string"`
25832
25833	// List of names of workflows in the account.
25834	Workflows []*string `min:"1" type:"list"`
25835}
25836
25837// String returns the string representation
25838func (s ListWorkflowsOutput) String() string {
25839	return awsutil.Prettify(s)
25840}
25841
25842// GoString returns the string representation
25843func (s ListWorkflowsOutput) GoString() string {
25844	return s.String()
25845}
25846
25847// SetNextToken sets the NextToken field's value.
25848func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput {
25849	s.NextToken = &v
25850	return s
25851}
25852
25853// SetWorkflows sets the Workflows field's value.
25854func (s *ListWorkflowsOutput) SetWorkflows(v []*string) *ListWorkflowsOutput {
25855	s.Workflows = v
25856	return s
25857}
25858
25859// The location of resources.
25860type Location struct {
25861	_ struct{} `type:"structure"`
25862
25863	// An Amazon DynamoDB table location.
25864	DynamoDB []*CodeGenNodeArg `type:"list"`
25865
25866	// A JDBC location.
25867	Jdbc []*CodeGenNodeArg `type:"list"`
25868
25869	// An Amazon Simple Storage Service (Amazon S3) location.
25870	S3 []*CodeGenNodeArg `type:"list"`
25871}
25872
25873// String returns the string representation
25874func (s Location) String() string {
25875	return awsutil.Prettify(s)
25876}
25877
25878// GoString returns the string representation
25879func (s Location) GoString() string {
25880	return s.String()
25881}
25882
25883// Validate inspects the fields of the type to determine if they are valid.
25884func (s *Location) Validate() error {
25885	invalidParams := request.ErrInvalidParams{Context: "Location"}
25886	if s.DynamoDB != nil {
25887		for i, v := range s.DynamoDB {
25888			if v == nil {
25889				continue
25890			}
25891			if err := v.Validate(); err != nil {
25892				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DynamoDB", i), err.(request.ErrInvalidParams))
25893			}
25894		}
25895	}
25896	if s.Jdbc != nil {
25897		for i, v := range s.Jdbc {
25898			if v == nil {
25899				continue
25900			}
25901			if err := v.Validate(); err != nil {
25902				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Jdbc", i), err.(request.ErrInvalidParams))
25903			}
25904		}
25905	}
25906	if s.S3 != nil {
25907		for i, v := range s.S3 {
25908			if v == nil {
25909				continue
25910			}
25911			if err := v.Validate(); err != nil {
25912				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "S3", i), err.(request.ErrInvalidParams))
25913			}
25914		}
25915	}
25916
25917	if invalidParams.Len() > 0 {
25918		return invalidParams
25919	}
25920	return nil
25921}
25922
25923// SetDynamoDB sets the DynamoDB field's value.
25924func (s *Location) SetDynamoDB(v []*CodeGenNodeArg) *Location {
25925	s.DynamoDB = v
25926	return s
25927}
25928
25929// SetJdbc sets the Jdbc field's value.
25930func (s *Location) SetJdbc(v []*CodeGenNodeArg) *Location {
25931	s.Jdbc = v
25932	return s
25933}
25934
25935// SetS3 sets the S3 field's value.
25936func (s *Location) SetS3(v []*CodeGenNodeArg) *Location {
25937	s.S3 = v
25938	return s
25939}
25940
25941// A structure for a machine learning transform.
25942type MLTransform struct {
25943	_ struct{} `type:"structure"`
25944
25945	// A timestamp. The time and date that this machine learning transform was created.
25946	CreatedOn *time.Time `type:"timestamp"`
25947
25948	// A user-defined, long-form description text for the machine learning transform.
25949	// Descriptions are not guaranteed to be unique and can be changed at any time.
25950	Description *string `type:"string"`
25951
25952	// An EvaluationMetrics object. Evaluation metrics provide an estimate of the
25953	// quality of your machine learning transform.
25954	EvaluationMetrics *EvaluationMetrics `type:"structure"`
25955
25956	// A list of AWS Glue table definitions used by the transform.
25957	InputRecordTables []*Table `type:"list"`
25958
25959	// A count identifier for the labeling files generated by AWS Glue for this
25960	// transform. As you create a better transform, you can iteratively download,
25961	// label, and upload the labeling file.
25962	LabelCount *int64 `type:"integer"`
25963
25964	// A timestamp. The last point in time when this machine learning transform
25965	// was modified.
25966	LastModifiedOn *time.Time `type:"timestamp"`
25967
25968	// The number of AWS Glue data processing units (DPUs) that are allocated to
25969	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
25970	// is 10. A DPU is a relative measure of processing power that consists of 4
25971	// vCPUs of compute capacity and 16 GB of memory. For more information, see
25972	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
25973	//
25974	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
25975	// field is set automatically and becomes read-only.
25976	MaxCapacity *float64 `type:"double"`
25977
25978	// The maximum number of times to retry after an MLTaskRun of the machine learning
25979	// transform fails.
25980	MaxRetries *int64 `type:"integer"`
25981
25982	// A user-defined name for the machine learning transform. Names are not guaranteed
25983	// unique and can be changed at any time.
25984	Name *string `min:"1" type:"string"`
25985
25986	// The number of workers of a defined workerType that are allocated when a task
25987	// of the transform runs.
25988	NumberOfWorkers *int64 `type:"integer"`
25989
25990	// A TransformParameters object. You can use parameters to tune (customize)
25991	// the behavior of the machine learning transform by specifying what data it
25992	// learns from and your preference on various tradeoffs (such as precious vs.
25993	// recall, or accuracy vs. cost).
25994	Parameters *TransformParameters `type:"structure"`
25995
25996	// The name or Amazon Resource Name (ARN) of the IAM role with the required
25997	// permissions. This role needs permission to your Amazon Simple Storage Service
25998	// (Amazon S3) sources, targets, temporary directory, scripts, and any libraries
25999	// used by the task run for this transform.
26000	Role *string `type:"string"`
26001
26002	// A map of key-value pairs representing the columns and data types that this
26003	// transform can run against. Has an upper bound of 100 columns.
26004	Schema []*SchemaColumn `type:"list"`
26005
26006	// The current status of the machine learning transform.
26007	Status *string `type:"string" enum:"TransformStatusType"`
26008
26009	// The timeout in minutes of the machine learning transform.
26010	Timeout *int64 `min:"1" type:"integer"`
26011
26012	// The unique transform ID that is generated for the machine learning transform.
26013	// The ID is guaranteed to be unique and does not change.
26014	TransformId *string `min:"1" type:"string"`
26015
26016	// The type of predefined worker that is allocated when a task of this transform
26017	// runs. Accepts a value of Standard, G.1X, or G.2X.
26018	//
26019	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
26020	//    memory and a 50GB disk, and 2 executors per worker.
26021	//
26022	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
26023	//    and a 64GB disk, and 1 executor per worker.
26024	//
26025	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
26026	//    and a 128GB disk, and 1 executor per worker.
26027	WorkerType *string `type:"string" enum:"WorkerType"`
26028}
26029
26030// String returns the string representation
26031func (s MLTransform) String() string {
26032	return awsutil.Prettify(s)
26033}
26034
26035// GoString returns the string representation
26036func (s MLTransform) GoString() string {
26037	return s.String()
26038}
26039
26040// SetCreatedOn sets the CreatedOn field's value.
26041func (s *MLTransform) SetCreatedOn(v time.Time) *MLTransform {
26042	s.CreatedOn = &v
26043	return s
26044}
26045
26046// SetDescription sets the Description field's value.
26047func (s *MLTransform) SetDescription(v string) *MLTransform {
26048	s.Description = &v
26049	return s
26050}
26051
26052// SetEvaluationMetrics sets the EvaluationMetrics field's value.
26053func (s *MLTransform) SetEvaluationMetrics(v *EvaluationMetrics) *MLTransform {
26054	s.EvaluationMetrics = v
26055	return s
26056}
26057
26058// SetInputRecordTables sets the InputRecordTables field's value.
26059func (s *MLTransform) SetInputRecordTables(v []*Table) *MLTransform {
26060	s.InputRecordTables = v
26061	return s
26062}
26063
26064// SetLabelCount sets the LabelCount field's value.
26065func (s *MLTransform) SetLabelCount(v int64) *MLTransform {
26066	s.LabelCount = &v
26067	return s
26068}
26069
26070// SetLastModifiedOn sets the LastModifiedOn field's value.
26071func (s *MLTransform) SetLastModifiedOn(v time.Time) *MLTransform {
26072	s.LastModifiedOn = &v
26073	return s
26074}
26075
26076// SetMaxCapacity sets the MaxCapacity field's value.
26077func (s *MLTransform) SetMaxCapacity(v float64) *MLTransform {
26078	s.MaxCapacity = &v
26079	return s
26080}
26081
26082// SetMaxRetries sets the MaxRetries field's value.
26083func (s *MLTransform) SetMaxRetries(v int64) *MLTransform {
26084	s.MaxRetries = &v
26085	return s
26086}
26087
26088// SetName sets the Name field's value.
26089func (s *MLTransform) SetName(v string) *MLTransform {
26090	s.Name = &v
26091	return s
26092}
26093
26094// SetNumberOfWorkers sets the NumberOfWorkers field's value.
26095func (s *MLTransform) SetNumberOfWorkers(v int64) *MLTransform {
26096	s.NumberOfWorkers = &v
26097	return s
26098}
26099
26100// SetParameters sets the Parameters field's value.
26101func (s *MLTransform) SetParameters(v *TransformParameters) *MLTransform {
26102	s.Parameters = v
26103	return s
26104}
26105
26106// SetRole sets the Role field's value.
26107func (s *MLTransform) SetRole(v string) *MLTransform {
26108	s.Role = &v
26109	return s
26110}
26111
26112// SetSchema sets the Schema field's value.
26113func (s *MLTransform) SetSchema(v []*SchemaColumn) *MLTransform {
26114	s.Schema = v
26115	return s
26116}
26117
26118// SetStatus sets the Status field's value.
26119func (s *MLTransform) SetStatus(v string) *MLTransform {
26120	s.Status = &v
26121	return s
26122}
26123
26124// SetTimeout sets the Timeout field's value.
26125func (s *MLTransform) SetTimeout(v int64) *MLTransform {
26126	s.Timeout = &v
26127	return s
26128}
26129
26130// SetTransformId sets the TransformId field's value.
26131func (s *MLTransform) SetTransformId(v string) *MLTransform {
26132	s.TransformId = &v
26133	return s
26134}
26135
26136// SetWorkerType sets the WorkerType field's value.
26137func (s *MLTransform) SetWorkerType(v string) *MLTransform {
26138	s.WorkerType = &v
26139	return s
26140}
26141
26142// Defines a mapping.
26143type MappingEntry struct {
26144	_ struct{} `type:"structure"`
26145
26146	// The source path.
26147	SourcePath *string `type:"string"`
26148
26149	// The name of the source table.
26150	SourceTable *string `type:"string"`
26151
26152	// The source type.
26153	SourceType *string `type:"string"`
26154
26155	// The target path.
26156	TargetPath *string `type:"string"`
26157
26158	// The target table.
26159	TargetTable *string `type:"string"`
26160
26161	// The target type.
26162	TargetType *string `type:"string"`
26163}
26164
26165// String returns the string representation
26166func (s MappingEntry) String() string {
26167	return awsutil.Prettify(s)
26168}
26169
26170// GoString returns the string representation
26171func (s MappingEntry) GoString() string {
26172	return s.String()
26173}
26174
26175// SetSourcePath sets the SourcePath field's value.
26176func (s *MappingEntry) SetSourcePath(v string) *MappingEntry {
26177	s.SourcePath = &v
26178	return s
26179}
26180
26181// SetSourceTable sets the SourceTable field's value.
26182func (s *MappingEntry) SetSourceTable(v string) *MappingEntry {
26183	s.SourceTable = &v
26184	return s
26185}
26186
26187// SetSourceType sets the SourceType field's value.
26188func (s *MappingEntry) SetSourceType(v string) *MappingEntry {
26189	s.SourceType = &v
26190	return s
26191}
26192
26193// SetTargetPath sets the TargetPath field's value.
26194func (s *MappingEntry) SetTargetPath(v string) *MappingEntry {
26195	s.TargetPath = &v
26196	return s
26197}
26198
26199// SetTargetTable sets the TargetTable field's value.
26200func (s *MappingEntry) SetTargetTable(v string) *MappingEntry {
26201	s.TargetTable = &v
26202	return s
26203}
26204
26205// SetTargetType sets the TargetType field's value.
26206func (s *MappingEntry) SetTargetType(v string) *MappingEntry {
26207	s.TargetType = &v
26208	return s
26209}
26210
26211// A node represents an AWS Glue component like Trigger, Job etc. which is part
26212// of a workflow.
26213type Node struct {
26214	_ struct{} `type:"structure"`
26215
26216	// Details of the crawler when the node represents a crawler.
26217	CrawlerDetails *CrawlerNodeDetails `type:"structure"`
26218
26219	// Details of the Job when the node represents a Job.
26220	JobDetails *JobNodeDetails `type:"structure"`
26221
26222	// The name of the AWS Glue component represented by the node.
26223	Name *string `min:"1" type:"string"`
26224
26225	// Details of the Trigger when the node represents a Trigger.
26226	TriggerDetails *TriggerNodeDetails `type:"structure"`
26227
26228	// The type of AWS Glue component represented by the node.
26229	Type *string `type:"string" enum:"NodeType"`
26230
26231	// The unique Id assigned to the node within the workflow.
26232	UniqueId *string `min:"1" type:"string"`
26233}
26234
26235// String returns the string representation
26236func (s Node) String() string {
26237	return awsutil.Prettify(s)
26238}
26239
26240// GoString returns the string representation
26241func (s Node) GoString() string {
26242	return s.String()
26243}
26244
26245// SetCrawlerDetails sets the CrawlerDetails field's value.
26246func (s *Node) SetCrawlerDetails(v *CrawlerNodeDetails) *Node {
26247	s.CrawlerDetails = v
26248	return s
26249}
26250
26251// SetJobDetails sets the JobDetails field's value.
26252func (s *Node) SetJobDetails(v *JobNodeDetails) *Node {
26253	s.JobDetails = v
26254	return s
26255}
26256
26257// SetName sets the Name field's value.
26258func (s *Node) SetName(v string) *Node {
26259	s.Name = &v
26260	return s
26261}
26262
26263// SetTriggerDetails sets the TriggerDetails field's value.
26264func (s *Node) SetTriggerDetails(v *TriggerNodeDetails) *Node {
26265	s.TriggerDetails = v
26266	return s
26267}
26268
26269// SetType sets the Type field's value.
26270func (s *Node) SetType(v string) *Node {
26271	s.Type = &v
26272	return s
26273}
26274
26275// SetUniqueId sets the UniqueId field's value.
26276func (s *Node) SetUniqueId(v string) *Node {
26277	s.UniqueId = &v
26278	return s
26279}
26280
26281// Specifies configuration properties of a notification.
26282type NotificationProperty struct {
26283	_ struct{} `type:"structure"`
26284
26285	// After a job run starts, the number of minutes to wait before sending a job
26286	// run delay notification.
26287	NotifyDelayAfter *int64 `min:"1" type:"integer"`
26288}
26289
26290// String returns the string representation
26291func (s NotificationProperty) String() string {
26292	return awsutil.Prettify(s)
26293}
26294
26295// GoString returns the string representation
26296func (s NotificationProperty) GoString() string {
26297	return s.String()
26298}
26299
26300// Validate inspects the fields of the type to determine if they are valid.
26301func (s *NotificationProperty) Validate() error {
26302	invalidParams := request.ErrInvalidParams{Context: "NotificationProperty"}
26303	if s.NotifyDelayAfter != nil && *s.NotifyDelayAfter < 1 {
26304		invalidParams.Add(request.NewErrParamMinValue("NotifyDelayAfter", 1))
26305	}
26306
26307	if invalidParams.Len() > 0 {
26308		return invalidParams
26309	}
26310	return nil
26311}
26312
26313// SetNotifyDelayAfter sets the NotifyDelayAfter field's value.
26314func (s *NotificationProperty) SetNotifyDelayAfter(v int64) *NotificationProperty {
26315	s.NotifyDelayAfter = &v
26316	return s
26317}
26318
26319// Specifies the sort order of a sorted column.
26320type Order struct {
26321	_ struct{} `type:"structure"`
26322
26323	// The name of the column.
26324	//
26325	// Column is a required field
26326	Column *string `min:"1" type:"string" required:"true"`
26327
26328	// Indicates that the column is sorted in ascending order (== 1), or in descending
26329	// order (==0).
26330	//
26331	// SortOrder is a required field
26332	SortOrder *int64 `type:"integer" required:"true"`
26333}
26334
26335// String returns the string representation
26336func (s Order) String() string {
26337	return awsutil.Prettify(s)
26338}
26339
26340// GoString returns the string representation
26341func (s Order) GoString() string {
26342	return s.String()
26343}
26344
26345// Validate inspects the fields of the type to determine if they are valid.
26346func (s *Order) Validate() error {
26347	invalidParams := request.ErrInvalidParams{Context: "Order"}
26348	if s.Column == nil {
26349		invalidParams.Add(request.NewErrParamRequired("Column"))
26350	}
26351	if s.Column != nil && len(*s.Column) < 1 {
26352		invalidParams.Add(request.NewErrParamMinLen("Column", 1))
26353	}
26354	if s.SortOrder == nil {
26355		invalidParams.Add(request.NewErrParamRequired("SortOrder"))
26356	}
26357
26358	if invalidParams.Len() > 0 {
26359		return invalidParams
26360	}
26361	return nil
26362}
26363
26364// SetColumn sets the Column field's value.
26365func (s *Order) SetColumn(v string) *Order {
26366	s.Column = &v
26367	return s
26368}
26369
26370// SetSortOrder sets the SortOrder field's value.
26371func (s *Order) SetSortOrder(v int64) *Order {
26372	s.SortOrder = &v
26373	return s
26374}
26375
26376// Represents a slice of table data.
26377type Partition struct {
26378	_ struct{} `type:"structure"`
26379
26380	// The time at which the partition was created.
26381	CreationTime *time.Time `type:"timestamp"`
26382
26383	// The name of the catalog database in which to create the partition.
26384	DatabaseName *string `min:"1" type:"string"`
26385
26386	// The last time at which the partition was accessed.
26387	LastAccessTime *time.Time `type:"timestamp"`
26388
26389	// The last time at which column statistics were computed for this partition.
26390	LastAnalyzedTime *time.Time `type:"timestamp"`
26391
26392	// These key-value pairs define partition parameters.
26393	Parameters map[string]*string `type:"map"`
26394
26395	// Provides information about the physical location where the partition is stored.
26396	StorageDescriptor *StorageDescriptor `type:"structure"`
26397
26398	// The name of the database table in which to create the partition.
26399	TableName *string `min:"1" type:"string"`
26400
26401	// The values of the partition.
26402	Values []*string `type:"list"`
26403}
26404
26405// String returns the string representation
26406func (s Partition) String() string {
26407	return awsutil.Prettify(s)
26408}
26409
26410// GoString returns the string representation
26411func (s Partition) GoString() string {
26412	return s.String()
26413}
26414
26415// SetCreationTime sets the CreationTime field's value.
26416func (s *Partition) SetCreationTime(v time.Time) *Partition {
26417	s.CreationTime = &v
26418	return s
26419}
26420
26421// SetDatabaseName sets the DatabaseName field's value.
26422func (s *Partition) SetDatabaseName(v string) *Partition {
26423	s.DatabaseName = &v
26424	return s
26425}
26426
26427// SetLastAccessTime sets the LastAccessTime field's value.
26428func (s *Partition) SetLastAccessTime(v time.Time) *Partition {
26429	s.LastAccessTime = &v
26430	return s
26431}
26432
26433// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
26434func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition {
26435	s.LastAnalyzedTime = &v
26436	return s
26437}
26438
26439// SetParameters sets the Parameters field's value.
26440func (s *Partition) SetParameters(v map[string]*string) *Partition {
26441	s.Parameters = v
26442	return s
26443}
26444
26445// SetStorageDescriptor sets the StorageDescriptor field's value.
26446func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition {
26447	s.StorageDescriptor = v
26448	return s
26449}
26450
26451// SetTableName sets the TableName field's value.
26452func (s *Partition) SetTableName(v string) *Partition {
26453	s.TableName = &v
26454	return s
26455}
26456
26457// SetValues sets the Values field's value.
26458func (s *Partition) SetValues(v []*string) *Partition {
26459	s.Values = v
26460	return s
26461}
26462
26463// Contains information about a partition error.
26464type PartitionError struct {
26465	_ struct{} `type:"structure"`
26466
26467	// The details about the partition error.
26468	ErrorDetail *ErrorDetail `type:"structure"`
26469
26470	// The values that define the partition.
26471	PartitionValues []*string `type:"list"`
26472}
26473
26474// String returns the string representation
26475func (s PartitionError) String() string {
26476	return awsutil.Prettify(s)
26477}
26478
26479// GoString returns the string representation
26480func (s PartitionError) GoString() string {
26481	return s.String()
26482}
26483
26484// SetErrorDetail sets the ErrorDetail field's value.
26485func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError {
26486	s.ErrorDetail = v
26487	return s
26488}
26489
26490// SetPartitionValues sets the PartitionValues field's value.
26491func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError {
26492	s.PartitionValues = v
26493	return s
26494}
26495
26496// The structure used to create and update a partition.
26497type PartitionInput struct {
26498	_ struct{} `type:"structure"`
26499
26500	// The last time at which the partition was accessed.
26501	LastAccessTime *time.Time `type:"timestamp"`
26502
26503	// The last time at which column statistics were computed for this partition.
26504	LastAnalyzedTime *time.Time `type:"timestamp"`
26505
26506	// These key-value pairs define partition parameters.
26507	Parameters map[string]*string `type:"map"`
26508
26509	// Provides information about the physical location where the partition is stored.
26510	StorageDescriptor *StorageDescriptor `type:"structure"`
26511
26512	// The values of the partition. Although this parameter is not required by the
26513	// SDK, you must specify this parameter for a valid input.
26514	//
26515	// The values for the keys for the new partition must be passed as an array
26516	// of String objects that must be ordered in the same order as the partition
26517	// keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values
26518	// to the wrong keys.
26519	Values []*string `type:"list"`
26520}
26521
26522// String returns the string representation
26523func (s PartitionInput) String() string {
26524	return awsutil.Prettify(s)
26525}
26526
26527// GoString returns the string representation
26528func (s PartitionInput) GoString() string {
26529	return s.String()
26530}
26531
26532// Validate inspects the fields of the type to determine if they are valid.
26533func (s *PartitionInput) Validate() error {
26534	invalidParams := request.ErrInvalidParams{Context: "PartitionInput"}
26535	if s.StorageDescriptor != nil {
26536		if err := s.StorageDescriptor.Validate(); err != nil {
26537			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
26538		}
26539	}
26540
26541	if invalidParams.Len() > 0 {
26542		return invalidParams
26543	}
26544	return nil
26545}
26546
26547// SetLastAccessTime sets the LastAccessTime field's value.
26548func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput {
26549	s.LastAccessTime = &v
26550	return s
26551}
26552
26553// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
26554func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput {
26555	s.LastAnalyzedTime = &v
26556	return s
26557}
26558
26559// SetParameters sets the Parameters field's value.
26560func (s *PartitionInput) SetParameters(v map[string]*string) *PartitionInput {
26561	s.Parameters = v
26562	return s
26563}
26564
26565// SetStorageDescriptor sets the StorageDescriptor field's value.
26566func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput {
26567	s.StorageDescriptor = v
26568	return s
26569}
26570
26571// SetValues sets the Values field's value.
26572func (s *PartitionInput) SetValues(v []*string) *PartitionInput {
26573	s.Values = v
26574	return s
26575}
26576
26577// Contains a list of values defining partitions.
26578type PartitionValueList struct {
26579	_ struct{} `type:"structure"`
26580
26581	// The list of values.
26582	//
26583	// Values is a required field
26584	Values []*string `type:"list" required:"true"`
26585}
26586
26587// String returns the string representation
26588func (s PartitionValueList) String() string {
26589	return awsutil.Prettify(s)
26590}
26591
26592// GoString returns the string representation
26593func (s PartitionValueList) GoString() string {
26594	return s.String()
26595}
26596
26597// Validate inspects the fields of the type to determine if they are valid.
26598func (s *PartitionValueList) Validate() error {
26599	invalidParams := request.ErrInvalidParams{Context: "PartitionValueList"}
26600	if s.Values == nil {
26601		invalidParams.Add(request.NewErrParamRequired("Values"))
26602	}
26603
26604	if invalidParams.Len() > 0 {
26605		return invalidParams
26606	}
26607	return nil
26608}
26609
26610// SetValues sets the Values field's value.
26611func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList {
26612	s.Values = v
26613	return s
26614}
26615
26616// Specifies the physical requirements for a connection.
26617type PhysicalConnectionRequirements struct {
26618	_ struct{} `type:"structure"`
26619
26620	// The connection's Availability Zone. This field is redundant because the specified
26621	// subnet implies the Availability Zone to be used. Currently the field must
26622	// be populated, but it will be deprecated in the future.
26623	AvailabilityZone *string `min:"1" type:"string"`
26624
26625	// The security group ID list used by the connection.
26626	SecurityGroupIdList []*string `type:"list"`
26627
26628	// The subnet ID used by the connection.
26629	SubnetId *string `min:"1" type:"string"`
26630}
26631
26632// String returns the string representation
26633func (s PhysicalConnectionRequirements) String() string {
26634	return awsutil.Prettify(s)
26635}
26636
26637// GoString returns the string representation
26638func (s PhysicalConnectionRequirements) GoString() string {
26639	return s.String()
26640}
26641
26642// Validate inspects the fields of the type to determine if they are valid.
26643func (s *PhysicalConnectionRequirements) Validate() error {
26644	invalidParams := request.ErrInvalidParams{Context: "PhysicalConnectionRequirements"}
26645	if s.AvailabilityZone != nil && len(*s.AvailabilityZone) < 1 {
26646		invalidParams.Add(request.NewErrParamMinLen("AvailabilityZone", 1))
26647	}
26648	if s.SubnetId != nil && len(*s.SubnetId) < 1 {
26649		invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
26650	}
26651
26652	if invalidParams.Len() > 0 {
26653		return invalidParams
26654	}
26655	return nil
26656}
26657
26658// SetAvailabilityZone sets the AvailabilityZone field's value.
26659func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements {
26660	s.AvailabilityZone = &v
26661	return s
26662}
26663
26664// SetSecurityGroupIdList sets the SecurityGroupIdList field's value.
26665func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []*string) *PhysicalConnectionRequirements {
26666	s.SecurityGroupIdList = v
26667	return s
26668}
26669
26670// SetSubnetId sets the SubnetId field's value.
26671func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements {
26672	s.SubnetId = &v
26673	return s
26674}
26675
26676// A job run that was used in the predicate of a conditional trigger that triggered
26677// this job run.
26678type Predecessor struct {
26679	_ struct{} `type:"structure"`
26680
26681	// The name of the job definition used by the predecessor job run.
26682	JobName *string `min:"1" type:"string"`
26683
26684	// The job-run ID of the predecessor job run.
26685	RunId *string `min:"1" type:"string"`
26686}
26687
26688// String returns the string representation
26689func (s Predecessor) String() string {
26690	return awsutil.Prettify(s)
26691}
26692
26693// GoString returns the string representation
26694func (s Predecessor) GoString() string {
26695	return s.String()
26696}
26697
26698// SetJobName sets the JobName field's value.
26699func (s *Predecessor) SetJobName(v string) *Predecessor {
26700	s.JobName = &v
26701	return s
26702}
26703
26704// SetRunId sets the RunId field's value.
26705func (s *Predecessor) SetRunId(v string) *Predecessor {
26706	s.RunId = &v
26707	return s
26708}
26709
26710// Defines the predicate of the trigger, which determines when it fires.
26711type Predicate struct {
26712	_ struct{} `type:"structure"`
26713
26714	// A list of the conditions that determine when the trigger will fire.
26715	Conditions []*Condition `type:"list"`
26716
26717	// An optional field if only one condition is listed. If multiple conditions
26718	// are listed, then this field is required.
26719	Logical *string `type:"string" enum:"Logical"`
26720}
26721
26722// String returns the string representation
26723func (s Predicate) String() string {
26724	return awsutil.Prettify(s)
26725}
26726
26727// GoString returns the string representation
26728func (s Predicate) GoString() string {
26729	return s.String()
26730}
26731
26732// Validate inspects the fields of the type to determine if they are valid.
26733func (s *Predicate) Validate() error {
26734	invalidParams := request.ErrInvalidParams{Context: "Predicate"}
26735	if s.Conditions != nil {
26736		for i, v := range s.Conditions {
26737			if v == nil {
26738				continue
26739			}
26740			if err := v.Validate(); err != nil {
26741				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams))
26742			}
26743		}
26744	}
26745
26746	if invalidParams.Len() > 0 {
26747		return invalidParams
26748	}
26749	return nil
26750}
26751
26752// SetConditions sets the Conditions field's value.
26753func (s *Predicate) SetConditions(v []*Condition) *Predicate {
26754	s.Conditions = v
26755	return s
26756}
26757
26758// SetLogical sets the Logical field's value.
26759func (s *Predicate) SetLogical(v string) *Predicate {
26760	s.Logical = &v
26761	return s
26762}
26763
26764// Permissions granted to a principal.
26765type PrincipalPermissions struct {
26766	_ struct{} `type:"structure"`
26767
26768	// The permissions that are granted to the principal.
26769	Permissions []*string `type:"list"`
26770
26771	// The principal who is granted permissions.
26772	Principal *DataLakePrincipal `type:"structure"`
26773}
26774
26775// String returns the string representation
26776func (s PrincipalPermissions) String() string {
26777	return awsutil.Prettify(s)
26778}
26779
26780// GoString returns the string representation
26781func (s PrincipalPermissions) GoString() string {
26782	return s.String()
26783}
26784
26785// Validate inspects the fields of the type to determine if they are valid.
26786func (s *PrincipalPermissions) Validate() error {
26787	invalidParams := request.ErrInvalidParams{Context: "PrincipalPermissions"}
26788	if s.Principal != nil {
26789		if err := s.Principal.Validate(); err != nil {
26790			invalidParams.AddNested("Principal", err.(request.ErrInvalidParams))
26791		}
26792	}
26793
26794	if invalidParams.Len() > 0 {
26795		return invalidParams
26796	}
26797	return nil
26798}
26799
26800// SetPermissions sets the Permissions field's value.
26801func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions {
26802	s.Permissions = v
26803	return s
26804}
26805
26806// SetPrincipal sets the Principal field's value.
26807func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions {
26808	s.Principal = v
26809	return s
26810}
26811
26812// Defines a property predicate.
26813type PropertyPredicate struct {
26814	_ struct{} `type:"structure"`
26815
26816	// The comparator used to compare this property to others.
26817	Comparator *string `type:"string" enum:"Comparator"`
26818
26819	// The key of the property.
26820	Key *string `type:"string"`
26821
26822	// The value of the property.
26823	Value *string `type:"string"`
26824}
26825
26826// String returns the string representation
26827func (s PropertyPredicate) String() string {
26828	return awsutil.Prettify(s)
26829}
26830
26831// GoString returns the string representation
26832func (s PropertyPredicate) GoString() string {
26833	return s.String()
26834}
26835
26836// SetComparator sets the Comparator field's value.
26837func (s *PropertyPredicate) SetComparator(v string) *PropertyPredicate {
26838	s.Comparator = &v
26839	return s
26840}
26841
26842// SetKey sets the Key field's value.
26843func (s *PropertyPredicate) SetKey(v string) *PropertyPredicate {
26844	s.Key = &v
26845	return s
26846}
26847
26848// SetValue sets the Value field's value.
26849func (s *PropertyPredicate) SetValue(v string) *PropertyPredicate {
26850	s.Value = &v
26851	return s
26852}
26853
26854type PutDataCatalogEncryptionSettingsInput struct {
26855	_ struct{} `type:"structure"`
26856
26857	// The ID of the Data Catalog to set the security configuration for. If none
26858	// is provided, the AWS account ID is used by default.
26859	CatalogId *string `min:"1" type:"string"`
26860
26861	// The security configuration to set.
26862	//
26863	// DataCatalogEncryptionSettings is a required field
26864	DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure" required:"true"`
26865}
26866
26867// String returns the string representation
26868func (s PutDataCatalogEncryptionSettingsInput) String() string {
26869	return awsutil.Prettify(s)
26870}
26871
26872// GoString returns the string representation
26873func (s PutDataCatalogEncryptionSettingsInput) GoString() string {
26874	return s.String()
26875}
26876
26877// Validate inspects the fields of the type to determine if they are valid.
26878func (s *PutDataCatalogEncryptionSettingsInput) Validate() error {
26879	invalidParams := request.ErrInvalidParams{Context: "PutDataCatalogEncryptionSettingsInput"}
26880	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
26881		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
26882	}
26883	if s.DataCatalogEncryptionSettings == nil {
26884		invalidParams.Add(request.NewErrParamRequired("DataCatalogEncryptionSettings"))
26885	}
26886	if s.DataCatalogEncryptionSettings != nil {
26887		if err := s.DataCatalogEncryptionSettings.Validate(); err != nil {
26888			invalidParams.AddNested("DataCatalogEncryptionSettings", err.(request.ErrInvalidParams))
26889		}
26890	}
26891
26892	if invalidParams.Len() > 0 {
26893		return invalidParams
26894	}
26895	return nil
26896}
26897
26898// SetCatalogId sets the CatalogId field's value.
26899func (s *PutDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *PutDataCatalogEncryptionSettingsInput {
26900	s.CatalogId = &v
26901	return s
26902}
26903
26904// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value.
26905func (s *PutDataCatalogEncryptionSettingsInput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *PutDataCatalogEncryptionSettingsInput {
26906	s.DataCatalogEncryptionSettings = v
26907	return s
26908}
26909
26910type PutDataCatalogEncryptionSettingsOutput struct {
26911	_ struct{} `type:"structure"`
26912}
26913
26914// String returns the string representation
26915func (s PutDataCatalogEncryptionSettingsOutput) String() string {
26916	return awsutil.Prettify(s)
26917}
26918
26919// GoString returns the string representation
26920func (s PutDataCatalogEncryptionSettingsOutput) GoString() string {
26921	return s.String()
26922}
26923
26924type PutResourcePolicyInput struct {
26925	_ struct{} `type:"structure"`
26926
26927	// A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is
26928	// used to create a new policy. If a value of NONE or a null value is used,
26929	// the call will not depend on the existence of a policy.
26930	PolicyExistsCondition *string `type:"string" enum:"ExistCondition"`
26931
26932	// The hash value returned when the previous policy was set using PutResourcePolicy.
26933	// Its purpose is to prevent concurrent modifications of a policy. Do not use
26934	// this parameter if no previous policy has been set.
26935	PolicyHashCondition *string `min:"1" type:"string"`
26936
26937	// Contains the policy document to set, in JSON format.
26938	//
26939	// PolicyInJson is a required field
26940	PolicyInJson *string `min:"2" type:"string" required:"true"`
26941}
26942
26943// String returns the string representation
26944func (s PutResourcePolicyInput) String() string {
26945	return awsutil.Prettify(s)
26946}
26947
26948// GoString returns the string representation
26949func (s PutResourcePolicyInput) GoString() string {
26950	return s.String()
26951}
26952
26953// Validate inspects the fields of the type to determine if they are valid.
26954func (s *PutResourcePolicyInput) Validate() error {
26955	invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"}
26956	if s.PolicyHashCondition != nil && len(*s.PolicyHashCondition) < 1 {
26957		invalidParams.Add(request.NewErrParamMinLen("PolicyHashCondition", 1))
26958	}
26959	if s.PolicyInJson == nil {
26960		invalidParams.Add(request.NewErrParamRequired("PolicyInJson"))
26961	}
26962	if s.PolicyInJson != nil && len(*s.PolicyInJson) < 2 {
26963		invalidParams.Add(request.NewErrParamMinLen("PolicyInJson", 2))
26964	}
26965
26966	if invalidParams.Len() > 0 {
26967		return invalidParams
26968	}
26969	return nil
26970}
26971
26972// SetPolicyExistsCondition sets the PolicyExistsCondition field's value.
26973func (s *PutResourcePolicyInput) SetPolicyExistsCondition(v string) *PutResourcePolicyInput {
26974	s.PolicyExistsCondition = &v
26975	return s
26976}
26977
26978// SetPolicyHashCondition sets the PolicyHashCondition field's value.
26979func (s *PutResourcePolicyInput) SetPolicyHashCondition(v string) *PutResourcePolicyInput {
26980	s.PolicyHashCondition = &v
26981	return s
26982}
26983
26984// SetPolicyInJson sets the PolicyInJson field's value.
26985func (s *PutResourcePolicyInput) SetPolicyInJson(v string) *PutResourcePolicyInput {
26986	s.PolicyInJson = &v
26987	return s
26988}
26989
26990type PutResourcePolicyOutput struct {
26991	_ struct{} `type:"structure"`
26992
26993	// A hash of the policy that has just been set. This must be included in a subsequent
26994	// call that overwrites or updates this policy.
26995	PolicyHash *string `min:"1" type:"string"`
26996}
26997
26998// String returns the string representation
26999func (s PutResourcePolicyOutput) String() string {
27000	return awsutil.Prettify(s)
27001}
27002
27003// GoString returns the string representation
27004func (s PutResourcePolicyOutput) GoString() string {
27005	return s.String()
27006}
27007
27008// SetPolicyHash sets the PolicyHash field's value.
27009func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput {
27010	s.PolicyHash = &v
27011	return s
27012}
27013
27014type PutWorkflowRunPropertiesInput struct {
27015	_ struct{} `type:"structure"`
27016
27017	// Name of the workflow which was run.
27018	//
27019	// Name is a required field
27020	Name *string `min:"1" type:"string" required:"true"`
27021
27022	// The ID of the workflow run for which the run properties should be updated.
27023	//
27024	// RunId is a required field
27025	RunId *string `min:"1" type:"string" required:"true"`
27026
27027	// The properties to put for the specified run.
27028	//
27029	// RunProperties is a required field
27030	RunProperties map[string]*string `type:"map" required:"true"`
27031}
27032
27033// String returns the string representation
27034func (s PutWorkflowRunPropertiesInput) String() string {
27035	return awsutil.Prettify(s)
27036}
27037
27038// GoString returns the string representation
27039func (s PutWorkflowRunPropertiesInput) GoString() string {
27040	return s.String()
27041}
27042
27043// Validate inspects the fields of the type to determine if they are valid.
27044func (s *PutWorkflowRunPropertiesInput) Validate() error {
27045	invalidParams := request.ErrInvalidParams{Context: "PutWorkflowRunPropertiesInput"}
27046	if s.Name == nil {
27047		invalidParams.Add(request.NewErrParamRequired("Name"))
27048	}
27049	if s.Name != nil && len(*s.Name) < 1 {
27050		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27051	}
27052	if s.RunId == nil {
27053		invalidParams.Add(request.NewErrParamRequired("RunId"))
27054	}
27055	if s.RunId != nil && len(*s.RunId) < 1 {
27056		invalidParams.Add(request.NewErrParamMinLen("RunId", 1))
27057	}
27058	if s.RunProperties == nil {
27059		invalidParams.Add(request.NewErrParamRequired("RunProperties"))
27060	}
27061
27062	if invalidParams.Len() > 0 {
27063		return invalidParams
27064	}
27065	return nil
27066}
27067
27068// SetName sets the Name field's value.
27069func (s *PutWorkflowRunPropertiesInput) SetName(v string) *PutWorkflowRunPropertiesInput {
27070	s.Name = &v
27071	return s
27072}
27073
27074// SetRunId sets the RunId field's value.
27075func (s *PutWorkflowRunPropertiesInput) SetRunId(v string) *PutWorkflowRunPropertiesInput {
27076	s.RunId = &v
27077	return s
27078}
27079
27080// SetRunProperties sets the RunProperties field's value.
27081func (s *PutWorkflowRunPropertiesInput) SetRunProperties(v map[string]*string) *PutWorkflowRunPropertiesInput {
27082	s.RunProperties = v
27083	return s
27084}
27085
27086type PutWorkflowRunPropertiesOutput struct {
27087	_ struct{} `type:"structure"`
27088}
27089
27090// String returns the string representation
27091func (s PutWorkflowRunPropertiesOutput) String() string {
27092	return awsutil.Prettify(s)
27093}
27094
27095// GoString returns the string representation
27096func (s PutWorkflowRunPropertiesOutput) GoString() string {
27097	return s.String()
27098}
27099
27100type ResetJobBookmarkInput struct {
27101	_ struct{} `type:"structure"`
27102
27103	// The name of the job in question.
27104	//
27105	// JobName is a required field
27106	JobName *string `type:"string" required:"true"`
27107
27108	// The unique run identifier associated with this job run.
27109	RunId *string `type:"string"`
27110}
27111
27112// String returns the string representation
27113func (s ResetJobBookmarkInput) String() string {
27114	return awsutil.Prettify(s)
27115}
27116
27117// GoString returns the string representation
27118func (s ResetJobBookmarkInput) GoString() string {
27119	return s.String()
27120}
27121
27122// Validate inspects the fields of the type to determine if they are valid.
27123func (s *ResetJobBookmarkInput) Validate() error {
27124	invalidParams := request.ErrInvalidParams{Context: "ResetJobBookmarkInput"}
27125	if s.JobName == nil {
27126		invalidParams.Add(request.NewErrParamRequired("JobName"))
27127	}
27128
27129	if invalidParams.Len() > 0 {
27130		return invalidParams
27131	}
27132	return nil
27133}
27134
27135// SetJobName sets the JobName field's value.
27136func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput {
27137	s.JobName = &v
27138	return s
27139}
27140
27141// SetRunId sets the RunId field's value.
27142func (s *ResetJobBookmarkInput) SetRunId(v string) *ResetJobBookmarkInput {
27143	s.RunId = &v
27144	return s
27145}
27146
27147type ResetJobBookmarkOutput struct {
27148	_ struct{} `type:"structure"`
27149
27150	// The reset bookmark entry.
27151	JobBookmarkEntry *JobBookmarkEntry `type:"structure"`
27152}
27153
27154// String returns the string representation
27155func (s ResetJobBookmarkOutput) String() string {
27156	return awsutil.Prettify(s)
27157}
27158
27159// GoString returns the string representation
27160func (s ResetJobBookmarkOutput) GoString() string {
27161	return s.String()
27162}
27163
27164// SetJobBookmarkEntry sets the JobBookmarkEntry field's value.
27165func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput {
27166	s.JobBookmarkEntry = v
27167	return s
27168}
27169
27170// The URIs for function resources.
27171type ResourceUri struct {
27172	_ struct{} `type:"structure"`
27173
27174	// The type of the resource.
27175	ResourceType *string `type:"string" enum:"ResourceType"`
27176
27177	// The URI for accessing the resource.
27178	Uri *string `min:"1" type:"string"`
27179}
27180
27181// String returns the string representation
27182func (s ResourceUri) String() string {
27183	return awsutil.Prettify(s)
27184}
27185
27186// GoString returns the string representation
27187func (s ResourceUri) GoString() string {
27188	return s.String()
27189}
27190
27191// Validate inspects the fields of the type to determine if they are valid.
27192func (s *ResourceUri) Validate() error {
27193	invalidParams := request.ErrInvalidParams{Context: "ResourceUri"}
27194	if s.Uri != nil && len(*s.Uri) < 1 {
27195		invalidParams.Add(request.NewErrParamMinLen("Uri", 1))
27196	}
27197
27198	if invalidParams.Len() > 0 {
27199		return invalidParams
27200	}
27201	return nil
27202}
27203
27204// SetResourceType sets the ResourceType field's value.
27205func (s *ResourceUri) SetResourceType(v string) *ResourceUri {
27206	s.ResourceType = &v
27207	return s
27208}
27209
27210// SetUri sets the Uri field's value.
27211func (s *ResourceUri) SetUri(v string) *ResourceUri {
27212	s.Uri = &v
27213	return s
27214}
27215
27216// Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
27217type S3Encryption struct {
27218	_ struct{} `type:"structure"`
27219
27220	// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
27221	KmsKeyArn *string `type:"string"`
27222
27223	// The encryption mode to use for Amazon S3 data.
27224	S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"`
27225}
27226
27227// String returns the string representation
27228func (s S3Encryption) String() string {
27229	return awsutil.Prettify(s)
27230}
27231
27232// GoString returns the string representation
27233func (s S3Encryption) GoString() string {
27234	return s.String()
27235}
27236
27237// SetKmsKeyArn sets the KmsKeyArn field's value.
27238func (s *S3Encryption) SetKmsKeyArn(v string) *S3Encryption {
27239	s.KmsKeyArn = &v
27240	return s
27241}
27242
27243// SetS3EncryptionMode sets the S3EncryptionMode field's value.
27244func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption {
27245	s.S3EncryptionMode = &v
27246	return s
27247}
27248
27249// Specifies a data store in Amazon Simple Storage Service (Amazon S3).
27250type S3Target struct {
27251	_ struct{} `type:"structure"`
27252
27253	// A list of glob patterns used to exclude from the crawl. For more information,
27254	// see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html).
27255	Exclusions []*string `type:"list"`
27256
27257	// The path to the Amazon S3 target.
27258	Path *string `type:"string"`
27259}
27260
27261// String returns the string representation
27262func (s S3Target) String() string {
27263	return awsutil.Prettify(s)
27264}
27265
27266// GoString returns the string representation
27267func (s S3Target) GoString() string {
27268	return s.String()
27269}
27270
27271// SetExclusions sets the Exclusions field's value.
27272func (s *S3Target) SetExclusions(v []*string) *S3Target {
27273	s.Exclusions = v
27274	return s
27275}
27276
27277// SetPath sets the Path field's value.
27278func (s *S3Target) SetPath(v string) *S3Target {
27279	s.Path = &v
27280	return s
27281}
27282
27283// A scheduling object using a cron statement to schedule an event.
27284type Schedule struct {
27285	_ struct{} `type:"structure"`
27286
27287	// A cron expression used to specify the schedule. For more information, see
27288	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
27289	// For example, to run something every day at 12:15 UTC, specify cron(15 12
27290	// * * ? *).
27291	ScheduleExpression *string `type:"string"`
27292
27293	// The state of the schedule.
27294	State *string `type:"string" enum:"ScheduleState"`
27295}
27296
27297// String returns the string representation
27298func (s Schedule) String() string {
27299	return awsutil.Prettify(s)
27300}
27301
27302// GoString returns the string representation
27303func (s Schedule) GoString() string {
27304	return s.String()
27305}
27306
27307// SetScheduleExpression sets the ScheduleExpression field's value.
27308func (s *Schedule) SetScheduleExpression(v string) *Schedule {
27309	s.ScheduleExpression = &v
27310	return s
27311}
27312
27313// SetState sets the State field's value.
27314func (s *Schedule) SetState(v string) *Schedule {
27315	s.State = &v
27316	return s
27317}
27318
27319// A policy that specifies update and deletion behaviors for the crawler.
27320type SchemaChangePolicy struct {
27321	_ struct{} `type:"structure"`
27322
27323	// The deletion behavior when the crawler finds a deleted object.
27324	DeleteBehavior *string `type:"string" enum:"DeleteBehavior"`
27325
27326	// The update behavior when the crawler finds a changed schema.
27327	UpdateBehavior *string `type:"string" enum:"UpdateBehavior"`
27328}
27329
27330// String returns the string representation
27331func (s SchemaChangePolicy) String() string {
27332	return awsutil.Prettify(s)
27333}
27334
27335// GoString returns the string representation
27336func (s SchemaChangePolicy) GoString() string {
27337	return s.String()
27338}
27339
27340// SetDeleteBehavior sets the DeleteBehavior field's value.
27341func (s *SchemaChangePolicy) SetDeleteBehavior(v string) *SchemaChangePolicy {
27342	s.DeleteBehavior = &v
27343	return s
27344}
27345
27346// SetUpdateBehavior sets the UpdateBehavior field's value.
27347func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy {
27348	s.UpdateBehavior = &v
27349	return s
27350}
27351
27352// A key-value pair representing a column and data type that this transform
27353// can run against. The Schema parameter of the MLTransform may contain up to
27354// 100 of these structures.
27355type SchemaColumn struct {
27356	_ struct{} `type:"structure"`
27357
27358	// The type of data in the column.
27359	DataType *string `type:"string"`
27360
27361	// The name of the column.
27362	Name *string `min:"1" type:"string"`
27363}
27364
27365// String returns the string representation
27366func (s SchemaColumn) String() string {
27367	return awsutil.Prettify(s)
27368}
27369
27370// GoString returns the string representation
27371func (s SchemaColumn) GoString() string {
27372	return s.String()
27373}
27374
27375// Validate inspects the fields of the type to determine if they are valid.
27376func (s *SchemaColumn) Validate() error {
27377	invalidParams := request.ErrInvalidParams{Context: "SchemaColumn"}
27378	if s.Name != nil && len(*s.Name) < 1 {
27379		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27380	}
27381
27382	if invalidParams.Len() > 0 {
27383		return invalidParams
27384	}
27385	return nil
27386}
27387
27388// SetDataType sets the DataType field's value.
27389func (s *SchemaColumn) SetDataType(v string) *SchemaColumn {
27390	s.DataType = &v
27391	return s
27392}
27393
27394// SetName sets the Name field's value.
27395func (s *SchemaColumn) SetName(v string) *SchemaColumn {
27396	s.Name = &v
27397	return s
27398}
27399
27400type SearchTablesInput struct {
27401	_ struct{} `type:"structure"`
27402
27403	// A unique identifier, consisting of account_id/datalake.
27404	CatalogId *string `min:"1" type:"string"`
27405
27406	// A list of key-value pairs, and a comparator used to filter the search results.
27407	// Returns all entities matching the predicate.
27408	Filters []*PropertyPredicate `type:"list"`
27409
27410	// The maximum number of tables to return in a single response.
27411	MaxResults *int64 `min:"1" type:"integer"`
27412
27413	// A continuation token, included if this is a continuation call.
27414	NextToken *string `type:"string"`
27415
27416	// A string used for a text search.
27417	//
27418	// Specifying a value in quotes filters based on an exact match to the value.
27419	SearchText *string `type:"string"`
27420
27421	// A list of criteria for sorting the results by a field name, in an ascending
27422	// or descending order.
27423	SortCriteria []*SortCriterion `type:"list"`
27424}
27425
27426// String returns the string representation
27427func (s SearchTablesInput) String() string {
27428	return awsutil.Prettify(s)
27429}
27430
27431// GoString returns the string representation
27432func (s SearchTablesInput) GoString() string {
27433	return s.String()
27434}
27435
27436// Validate inspects the fields of the type to determine if they are valid.
27437func (s *SearchTablesInput) Validate() error {
27438	invalidParams := request.ErrInvalidParams{Context: "SearchTablesInput"}
27439	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
27440		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
27441	}
27442	if s.MaxResults != nil && *s.MaxResults < 1 {
27443		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27444	}
27445
27446	if invalidParams.Len() > 0 {
27447		return invalidParams
27448	}
27449	return nil
27450}
27451
27452// SetCatalogId sets the CatalogId field's value.
27453func (s *SearchTablesInput) SetCatalogId(v string) *SearchTablesInput {
27454	s.CatalogId = &v
27455	return s
27456}
27457
27458// SetFilters sets the Filters field's value.
27459func (s *SearchTablesInput) SetFilters(v []*PropertyPredicate) *SearchTablesInput {
27460	s.Filters = v
27461	return s
27462}
27463
27464// SetMaxResults sets the MaxResults field's value.
27465func (s *SearchTablesInput) SetMaxResults(v int64) *SearchTablesInput {
27466	s.MaxResults = &v
27467	return s
27468}
27469
27470// SetNextToken sets the NextToken field's value.
27471func (s *SearchTablesInput) SetNextToken(v string) *SearchTablesInput {
27472	s.NextToken = &v
27473	return s
27474}
27475
27476// SetSearchText sets the SearchText field's value.
27477func (s *SearchTablesInput) SetSearchText(v string) *SearchTablesInput {
27478	s.SearchText = &v
27479	return s
27480}
27481
27482// SetSortCriteria sets the SortCriteria field's value.
27483func (s *SearchTablesInput) SetSortCriteria(v []*SortCriterion) *SearchTablesInput {
27484	s.SortCriteria = v
27485	return s
27486}
27487
27488type SearchTablesOutput struct {
27489	_ struct{} `type:"structure"`
27490
27491	// A continuation token, present if the current list segment is not the last.
27492	NextToken *string `type:"string"`
27493
27494	// A list of the requested Table objects. The SearchTables response returns
27495	// only the tables that you have access to.
27496	TableList []*TableData `type:"list"`
27497}
27498
27499// String returns the string representation
27500func (s SearchTablesOutput) String() string {
27501	return awsutil.Prettify(s)
27502}
27503
27504// GoString returns the string representation
27505func (s SearchTablesOutput) GoString() string {
27506	return s.String()
27507}
27508
27509// SetNextToken sets the NextToken field's value.
27510func (s *SearchTablesOutput) SetNextToken(v string) *SearchTablesOutput {
27511	s.NextToken = &v
27512	return s
27513}
27514
27515// SetTableList sets the TableList field's value.
27516func (s *SearchTablesOutput) SetTableList(v []*TableData) *SearchTablesOutput {
27517	s.TableList = v
27518	return s
27519}
27520
27521// Specifies a security configuration.
27522type SecurityConfiguration struct {
27523	_ struct{} `type:"structure"`
27524
27525	// The time at which this security configuration was created.
27526	CreatedTimeStamp *time.Time `type:"timestamp"`
27527
27528	// The encryption configuration associated with this security configuration.
27529	EncryptionConfiguration *EncryptionConfiguration `type:"structure"`
27530
27531	// The name of the security configuration.
27532	Name *string `min:"1" type:"string"`
27533}
27534
27535// String returns the string representation
27536func (s SecurityConfiguration) String() string {
27537	return awsutil.Prettify(s)
27538}
27539
27540// GoString returns the string representation
27541func (s SecurityConfiguration) GoString() string {
27542	return s.String()
27543}
27544
27545// SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
27546func (s *SecurityConfiguration) SetCreatedTimeStamp(v time.Time) *SecurityConfiguration {
27547	s.CreatedTimeStamp = &v
27548	return s
27549}
27550
27551// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
27552func (s *SecurityConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *SecurityConfiguration {
27553	s.EncryptionConfiguration = v
27554	return s
27555}
27556
27557// SetName sets the Name field's value.
27558func (s *SecurityConfiguration) SetName(v string) *SecurityConfiguration {
27559	s.Name = &v
27560	return s
27561}
27562
27563// Defines a non-overlapping region of a table's partitions, allowing multiple
27564// requests to be executed in parallel.
27565type Segment struct {
27566	_ struct{} `type:"structure"`
27567
27568	// The zero-based index number of the segment. For example, if the total number
27569	// of segments is 4, SegmentNumber values range from 0 through 3.
27570	//
27571	// SegmentNumber is a required field
27572	SegmentNumber *int64 `type:"integer" required:"true"`
27573
27574	// The total number of segments.
27575	//
27576	// TotalSegments is a required field
27577	TotalSegments *int64 `min:"1" type:"integer" required:"true"`
27578}
27579
27580// String returns the string representation
27581func (s Segment) String() string {
27582	return awsutil.Prettify(s)
27583}
27584
27585// GoString returns the string representation
27586func (s Segment) GoString() string {
27587	return s.String()
27588}
27589
27590// Validate inspects the fields of the type to determine if they are valid.
27591func (s *Segment) Validate() error {
27592	invalidParams := request.ErrInvalidParams{Context: "Segment"}
27593	if s.SegmentNumber == nil {
27594		invalidParams.Add(request.NewErrParamRequired("SegmentNumber"))
27595	}
27596	if s.TotalSegments == nil {
27597		invalidParams.Add(request.NewErrParamRequired("TotalSegments"))
27598	}
27599	if s.TotalSegments != nil && *s.TotalSegments < 1 {
27600		invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1))
27601	}
27602
27603	if invalidParams.Len() > 0 {
27604		return invalidParams
27605	}
27606	return nil
27607}
27608
27609// SetSegmentNumber sets the SegmentNumber field's value.
27610func (s *Segment) SetSegmentNumber(v int64) *Segment {
27611	s.SegmentNumber = &v
27612	return s
27613}
27614
27615// SetTotalSegments sets the TotalSegments field's value.
27616func (s *Segment) SetTotalSegments(v int64) *Segment {
27617	s.TotalSegments = &v
27618	return s
27619}
27620
27621// Information about a serialization/deserialization program (SerDe) that serves
27622// as an extractor and loader.
27623type SerDeInfo struct {
27624	_ struct{} `type:"structure"`
27625
27626	// Name of the SerDe.
27627	Name *string `min:"1" type:"string"`
27628
27629	// These key-value pairs define initialization parameters for the SerDe.
27630	Parameters map[string]*string `type:"map"`
27631
27632	// Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
27633	SerializationLibrary *string `min:"1" type:"string"`
27634}
27635
27636// String returns the string representation
27637func (s SerDeInfo) String() string {
27638	return awsutil.Prettify(s)
27639}
27640
27641// GoString returns the string representation
27642func (s SerDeInfo) GoString() string {
27643	return s.String()
27644}
27645
27646// Validate inspects the fields of the type to determine if they are valid.
27647func (s *SerDeInfo) Validate() error {
27648	invalidParams := request.ErrInvalidParams{Context: "SerDeInfo"}
27649	if s.Name != nil && len(*s.Name) < 1 {
27650		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27651	}
27652	if s.SerializationLibrary != nil && len(*s.SerializationLibrary) < 1 {
27653		invalidParams.Add(request.NewErrParamMinLen("SerializationLibrary", 1))
27654	}
27655
27656	if invalidParams.Len() > 0 {
27657		return invalidParams
27658	}
27659	return nil
27660}
27661
27662// SetName sets the Name field's value.
27663func (s *SerDeInfo) SetName(v string) *SerDeInfo {
27664	s.Name = &v
27665	return s
27666}
27667
27668// SetParameters sets the Parameters field's value.
27669func (s *SerDeInfo) SetParameters(v map[string]*string) *SerDeInfo {
27670	s.Parameters = v
27671	return s
27672}
27673
27674// SetSerializationLibrary sets the SerializationLibrary field's value.
27675func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo {
27676	s.SerializationLibrary = &v
27677	return s
27678}
27679
27680// Specifies skewed values in a table. Skewed values are those that occur with
27681// very high frequency.
27682type SkewedInfo struct {
27683	_ struct{} `type:"structure"`
27684
27685	// A list of names of columns that contain skewed values.
27686	SkewedColumnNames []*string `type:"list"`
27687
27688	// A mapping of skewed values to the columns that contain them.
27689	SkewedColumnValueLocationMaps map[string]*string `type:"map"`
27690
27691	// A list of values that appear so frequently as to be considered skewed.
27692	SkewedColumnValues []*string `type:"list"`
27693}
27694
27695// String returns the string representation
27696func (s SkewedInfo) String() string {
27697	return awsutil.Prettify(s)
27698}
27699
27700// GoString returns the string representation
27701func (s SkewedInfo) GoString() string {
27702	return s.String()
27703}
27704
27705// SetSkewedColumnNames sets the SkewedColumnNames field's value.
27706func (s *SkewedInfo) SetSkewedColumnNames(v []*string) *SkewedInfo {
27707	s.SkewedColumnNames = v
27708	return s
27709}
27710
27711// SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value.
27712func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]*string) *SkewedInfo {
27713	s.SkewedColumnValueLocationMaps = v
27714	return s
27715}
27716
27717// SetSkewedColumnValues sets the SkewedColumnValues field's value.
27718func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo {
27719	s.SkewedColumnValues = v
27720	return s
27721}
27722
27723// Specifies a field to sort by and a sort order.
27724type SortCriterion struct {
27725	_ struct{} `type:"structure"`
27726
27727	// The name of the field on which to sort.
27728	FieldName *string `type:"string"`
27729
27730	// An ascending or descending sort.
27731	Sort *string `type:"string" enum:"Sort"`
27732}
27733
27734// String returns the string representation
27735func (s SortCriterion) String() string {
27736	return awsutil.Prettify(s)
27737}
27738
27739// GoString returns the string representation
27740func (s SortCriterion) GoString() string {
27741	return s.String()
27742}
27743
27744// SetFieldName sets the FieldName field's value.
27745func (s *SortCriterion) SetFieldName(v string) *SortCriterion {
27746	s.FieldName = &v
27747	return s
27748}
27749
27750// SetSort sets the Sort field's value.
27751func (s *SortCriterion) SetSort(v string) *SortCriterion {
27752	s.Sort = &v
27753	return s
27754}
27755
27756type StartCrawlerInput struct {
27757	_ struct{} `type:"structure"`
27758
27759	// Name of the crawler to start.
27760	//
27761	// Name is a required field
27762	Name *string `min:"1" type:"string" required:"true"`
27763}
27764
27765// String returns the string representation
27766func (s StartCrawlerInput) String() string {
27767	return awsutil.Prettify(s)
27768}
27769
27770// GoString returns the string representation
27771func (s StartCrawlerInput) GoString() string {
27772	return s.String()
27773}
27774
27775// Validate inspects the fields of the type to determine if they are valid.
27776func (s *StartCrawlerInput) Validate() error {
27777	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerInput"}
27778	if s.Name == nil {
27779		invalidParams.Add(request.NewErrParamRequired("Name"))
27780	}
27781	if s.Name != nil && len(*s.Name) < 1 {
27782		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27783	}
27784
27785	if invalidParams.Len() > 0 {
27786		return invalidParams
27787	}
27788	return nil
27789}
27790
27791// SetName sets the Name field's value.
27792func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput {
27793	s.Name = &v
27794	return s
27795}
27796
27797type StartCrawlerOutput struct {
27798	_ struct{} `type:"structure"`
27799}
27800
27801// String returns the string representation
27802func (s StartCrawlerOutput) String() string {
27803	return awsutil.Prettify(s)
27804}
27805
27806// GoString returns the string representation
27807func (s StartCrawlerOutput) GoString() string {
27808	return s.String()
27809}
27810
27811type StartCrawlerScheduleInput struct {
27812	_ struct{} `type:"structure"`
27813
27814	// Name of the crawler to schedule.
27815	//
27816	// CrawlerName is a required field
27817	CrawlerName *string `min:"1" type:"string" required:"true"`
27818}
27819
27820// String returns the string representation
27821func (s StartCrawlerScheduleInput) String() string {
27822	return awsutil.Prettify(s)
27823}
27824
27825// GoString returns the string representation
27826func (s StartCrawlerScheduleInput) GoString() string {
27827	return s.String()
27828}
27829
27830// Validate inspects the fields of the type to determine if they are valid.
27831func (s *StartCrawlerScheduleInput) Validate() error {
27832	invalidParams := request.ErrInvalidParams{Context: "StartCrawlerScheduleInput"}
27833	if s.CrawlerName == nil {
27834		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
27835	}
27836	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
27837		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
27838	}
27839
27840	if invalidParams.Len() > 0 {
27841		return invalidParams
27842	}
27843	return nil
27844}
27845
27846// SetCrawlerName sets the CrawlerName field's value.
27847func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput {
27848	s.CrawlerName = &v
27849	return s
27850}
27851
27852type StartCrawlerScheduleOutput struct {
27853	_ struct{} `type:"structure"`
27854}
27855
27856// String returns the string representation
27857func (s StartCrawlerScheduleOutput) String() string {
27858	return awsutil.Prettify(s)
27859}
27860
27861// GoString returns the string representation
27862func (s StartCrawlerScheduleOutput) GoString() string {
27863	return s.String()
27864}
27865
27866type StartExportLabelsTaskRunInput struct {
27867	_ struct{} `type:"structure"`
27868
27869	// The Amazon S3 path where you export the labels.
27870	//
27871	// OutputS3Path is a required field
27872	OutputS3Path *string `type:"string" required:"true"`
27873
27874	// The unique identifier of the machine learning transform.
27875	//
27876	// TransformId is a required field
27877	TransformId *string `min:"1" type:"string" required:"true"`
27878}
27879
27880// String returns the string representation
27881func (s StartExportLabelsTaskRunInput) String() string {
27882	return awsutil.Prettify(s)
27883}
27884
27885// GoString returns the string representation
27886func (s StartExportLabelsTaskRunInput) GoString() string {
27887	return s.String()
27888}
27889
27890// Validate inspects the fields of the type to determine if they are valid.
27891func (s *StartExportLabelsTaskRunInput) Validate() error {
27892	invalidParams := request.ErrInvalidParams{Context: "StartExportLabelsTaskRunInput"}
27893	if s.OutputS3Path == nil {
27894		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
27895	}
27896	if s.TransformId == nil {
27897		invalidParams.Add(request.NewErrParamRequired("TransformId"))
27898	}
27899	if s.TransformId != nil && len(*s.TransformId) < 1 {
27900		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
27901	}
27902
27903	if invalidParams.Len() > 0 {
27904		return invalidParams
27905	}
27906	return nil
27907}
27908
27909// SetOutputS3Path sets the OutputS3Path field's value.
27910func (s *StartExportLabelsTaskRunInput) SetOutputS3Path(v string) *StartExportLabelsTaskRunInput {
27911	s.OutputS3Path = &v
27912	return s
27913}
27914
27915// SetTransformId sets the TransformId field's value.
27916func (s *StartExportLabelsTaskRunInput) SetTransformId(v string) *StartExportLabelsTaskRunInput {
27917	s.TransformId = &v
27918	return s
27919}
27920
27921type StartExportLabelsTaskRunOutput struct {
27922	_ struct{} `type:"structure"`
27923
27924	// The unique identifier for the task run.
27925	TaskRunId *string `min:"1" type:"string"`
27926}
27927
27928// String returns the string representation
27929func (s StartExportLabelsTaskRunOutput) String() string {
27930	return awsutil.Prettify(s)
27931}
27932
27933// GoString returns the string representation
27934func (s StartExportLabelsTaskRunOutput) GoString() string {
27935	return s.String()
27936}
27937
27938// SetTaskRunId sets the TaskRunId field's value.
27939func (s *StartExportLabelsTaskRunOutput) SetTaskRunId(v string) *StartExportLabelsTaskRunOutput {
27940	s.TaskRunId = &v
27941	return s
27942}
27943
27944type StartImportLabelsTaskRunInput struct {
27945	_ struct{} `type:"structure"`
27946
27947	// The Amazon Simple Storage Service (Amazon S3) path from where you import
27948	// the labels.
27949	//
27950	// InputS3Path is a required field
27951	InputS3Path *string `type:"string" required:"true"`
27952
27953	// Indicates whether to overwrite your existing labels.
27954	ReplaceAllLabels *bool `type:"boolean"`
27955
27956	// The unique identifier of the machine learning transform.
27957	//
27958	// TransformId is a required field
27959	TransformId *string `min:"1" type:"string" required:"true"`
27960}
27961
27962// String returns the string representation
27963func (s StartImportLabelsTaskRunInput) String() string {
27964	return awsutil.Prettify(s)
27965}
27966
27967// GoString returns the string representation
27968func (s StartImportLabelsTaskRunInput) GoString() string {
27969	return s.String()
27970}
27971
27972// Validate inspects the fields of the type to determine if they are valid.
27973func (s *StartImportLabelsTaskRunInput) Validate() error {
27974	invalidParams := request.ErrInvalidParams{Context: "StartImportLabelsTaskRunInput"}
27975	if s.InputS3Path == nil {
27976		invalidParams.Add(request.NewErrParamRequired("InputS3Path"))
27977	}
27978	if s.TransformId == nil {
27979		invalidParams.Add(request.NewErrParamRequired("TransformId"))
27980	}
27981	if s.TransformId != nil && len(*s.TransformId) < 1 {
27982		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
27983	}
27984
27985	if invalidParams.Len() > 0 {
27986		return invalidParams
27987	}
27988	return nil
27989}
27990
27991// SetInputS3Path sets the InputS3Path field's value.
27992func (s *StartImportLabelsTaskRunInput) SetInputS3Path(v string) *StartImportLabelsTaskRunInput {
27993	s.InputS3Path = &v
27994	return s
27995}
27996
27997// SetReplaceAllLabels sets the ReplaceAllLabels field's value.
27998func (s *StartImportLabelsTaskRunInput) SetReplaceAllLabels(v bool) *StartImportLabelsTaskRunInput {
27999	s.ReplaceAllLabels = &v
28000	return s
28001}
28002
28003// SetTransformId sets the TransformId field's value.
28004func (s *StartImportLabelsTaskRunInput) SetTransformId(v string) *StartImportLabelsTaskRunInput {
28005	s.TransformId = &v
28006	return s
28007}
28008
28009type StartImportLabelsTaskRunOutput struct {
28010	_ struct{} `type:"structure"`
28011
28012	// The unique identifier for the task run.
28013	TaskRunId *string `min:"1" type:"string"`
28014}
28015
28016// String returns the string representation
28017func (s StartImportLabelsTaskRunOutput) String() string {
28018	return awsutil.Prettify(s)
28019}
28020
28021// GoString returns the string representation
28022func (s StartImportLabelsTaskRunOutput) GoString() string {
28023	return s.String()
28024}
28025
28026// SetTaskRunId sets the TaskRunId field's value.
28027func (s *StartImportLabelsTaskRunOutput) SetTaskRunId(v string) *StartImportLabelsTaskRunOutput {
28028	s.TaskRunId = &v
28029	return s
28030}
28031
28032type StartJobRunInput struct {
28033	_ struct{} `type:"structure"`
28034
28035	// This field is deprecated. Use MaxCapacity instead.
28036	//
28037	// The number of AWS Glue data processing units (DPUs) to allocate to this JobRun.
28038	// From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative
28039	// measure of processing power that consists of 4 vCPUs of compute capacity
28040	// and 16 GB of memory. For more information, see the AWS Glue pricing page
28041	// (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
28042	//
28043	// Deprecated: This property is deprecated, use MaxCapacity instead.
28044	AllocatedCapacity *int64 `deprecated:"true" type:"integer"`
28045
28046	// The job arguments specifically for this run. For this job run, they replace
28047	// the default arguments set in the job definition itself.
28048	//
28049	// You can specify arguments here that your own job-execution script consumes,
28050	// as well as arguments that AWS Glue itself consumes.
28051	//
28052	// For information about how to specify and consume your own Job arguments,
28053	// see the Calling AWS Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
28054	// topic in the developer guide.
28055	//
28056	// For information about the key-value pairs that AWS Glue consumes to set up
28057	// 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)
28058	// topic in the developer guide.
28059	Arguments map[string]*string `type:"map"`
28060
28061	// The name of the job definition to use.
28062	//
28063	// JobName is a required field
28064	JobName *string `min:"1" type:"string" required:"true"`
28065
28066	// The ID of a previous JobRun to retry.
28067	JobRunId *string `min:"1" type:"string"`
28068
28069	// The number of AWS Glue data processing units (DPUs) that can be allocated
28070	// when this job runs. A DPU is a relative measure of processing power that
28071	// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information,
28072	// see the AWS Glue pricing page (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/).
28073	//
28074	// Do not set Max Capacity if using WorkerType and NumberOfWorkers.
28075	//
28076	// The value that can be allocated for MaxCapacity depends on whether you are
28077	// running a Python shell job, or an Apache Spark ETL job:
28078	//
28079	//    * When you specify a Python shell job (JobCommand.Name="pythonshell"),
28080	//    you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
28081	//
28082	//    * When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"),
28083	//    you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job
28084	//    type cannot have a fractional DPU allocation.
28085	MaxCapacity *float64 `type:"double"`
28086
28087	// Specifies configuration properties of a job run notification.
28088	NotificationProperty *NotificationProperty `type:"structure"`
28089
28090	// The number of workers of a defined workerType that are allocated when a job
28091	// runs.
28092	//
28093	// The maximum number of workers you can define are 299 for G.1X, and 149 for
28094	// G.2X.
28095	NumberOfWorkers *int64 `type:"integer"`
28096
28097	// The name of the SecurityConfiguration structure to be used with this job
28098	// run.
28099	SecurityConfiguration *string `min:"1" type:"string"`
28100
28101	// The JobRun timeout in minutes. This is the maximum time that a job run can
28102	// consume resources before it is terminated and enters TIMEOUT status. The
28103	// default is 2,880 minutes (48 hours). This overrides the timeout value set
28104	// in the parent job.
28105	Timeout *int64 `min:"1" type:"integer"`
28106
28107	// The type of predefined worker that is allocated when a job runs. Accepts
28108	// a value of Standard, G.1X, or G.2X.
28109	//
28110	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
28111	//    memory and a 50GB disk, and 2 executors per worker.
28112	//
28113	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
28114	//    and a 64GB disk, and 1 executor per worker.
28115	//
28116	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
28117	//    and a 128GB disk, and 1 executor per worker.
28118	WorkerType *string `type:"string" enum:"WorkerType"`
28119}
28120
28121// String returns the string representation
28122func (s StartJobRunInput) String() string {
28123	return awsutil.Prettify(s)
28124}
28125
28126// GoString returns the string representation
28127func (s StartJobRunInput) GoString() string {
28128	return s.String()
28129}
28130
28131// Validate inspects the fields of the type to determine if they are valid.
28132func (s *StartJobRunInput) Validate() error {
28133	invalidParams := request.ErrInvalidParams{Context: "StartJobRunInput"}
28134	if s.JobName == nil {
28135		invalidParams.Add(request.NewErrParamRequired("JobName"))
28136	}
28137	if s.JobName != nil && len(*s.JobName) < 1 {
28138		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
28139	}
28140	if s.JobRunId != nil && len(*s.JobRunId) < 1 {
28141		invalidParams.Add(request.NewErrParamMinLen("JobRunId", 1))
28142	}
28143	if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
28144		invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
28145	}
28146	if s.Timeout != nil && *s.Timeout < 1 {
28147		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
28148	}
28149	if s.NotificationProperty != nil {
28150		if err := s.NotificationProperty.Validate(); err != nil {
28151			invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams))
28152		}
28153	}
28154
28155	if invalidParams.Len() > 0 {
28156		return invalidParams
28157	}
28158	return nil
28159}
28160
28161// SetAllocatedCapacity sets the AllocatedCapacity field's value.
28162func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput {
28163	s.AllocatedCapacity = &v
28164	return s
28165}
28166
28167// SetArguments sets the Arguments field's value.
28168func (s *StartJobRunInput) SetArguments(v map[string]*string) *StartJobRunInput {
28169	s.Arguments = v
28170	return s
28171}
28172
28173// SetJobName sets the JobName field's value.
28174func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput {
28175	s.JobName = &v
28176	return s
28177}
28178
28179// SetJobRunId sets the JobRunId field's value.
28180func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput {
28181	s.JobRunId = &v
28182	return s
28183}
28184
28185// SetMaxCapacity sets the MaxCapacity field's value.
28186func (s *StartJobRunInput) SetMaxCapacity(v float64) *StartJobRunInput {
28187	s.MaxCapacity = &v
28188	return s
28189}
28190
28191// SetNotificationProperty sets the NotificationProperty field's value.
28192func (s *StartJobRunInput) SetNotificationProperty(v *NotificationProperty) *StartJobRunInput {
28193	s.NotificationProperty = v
28194	return s
28195}
28196
28197// SetNumberOfWorkers sets the NumberOfWorkers field's value.
28198func (s *StartJobRunInput) SetNumberOfWorkers(v int64) *StartJobRunInput {
28199	s.NumberOfWorkers = &v
28200	return s
28201}
28202
28203// SetSecurityConfiguration sets the SecurityConfiguration field's value.
28204func (s *StartJobRunInput) SetSecurityConfiguration(v string) *StartJobRunInput {
28205	s.SecurityConfiguration = &v
28206	return s
28207}
28208
28209// SetTimeout sets the Timeout field's value.
28210func (s *StartJobRunInput) SetTimeout(v int64) *StartJobRunInput {
28211	s.Timeout = &v
28212	return s
28213}
28214
28215// SetWorkerType sets the WorkerType field's value.
28216func (s *StartJobRunInput) SetWorkerType(v string) *StartJobRunInput {
28217	s.WorkerType = &v
28218	return s
28219}
28220
28221type StartJobRunOutput struct {
28222	_ struct{} `type:"structure"`
28223
28224	// The ID assigned to this job run.
28225	JobRunId *string `min:"1" type:"string"`
28226}
28227
28228// String returns the string representation
28229func (s StartJobRunOutput) String() string {
28230	return awsutil.Prettify(s)
28231}
28232
28233// GoString returns the string representation
28234func (s StartJobRunOutput) GoString() string {
28235	return s.String()
28236}
28237
28238// SetJobRunId sets the JobRunId field's value.
28239func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput {
28240	s.JobRunId = &v
28241	return s
28242}
28243
28244type StartMLEvaluationTaskRunInput struct {
28245	_ struct{} `type:"structure"`
28246
28247	// The unique identifier of the machine learning transform.
28248	//
28249	// TransformId is a required field
28250	TransformId *string `min:"1" type:"string" required:"true"`
28251}
28252
28253// String returns the string representation
28254func (s StartMLEvaluationTaskRunInput) String() string {
28255	return awsutil.Prettify(s)
28256}
28257
28258// GoString returns the string representation
28259func (s StartMLEvaluationTaskRunInput) GoString() string {
28260	return s.String()
28261}
28262
28263// Validate inspects the fields of the type to determine if they are valid.
28264func (s *StartMLEvaluationTaskRunInput) Validate() error {
28265	invalidParams := request.ErrInvalidParams{Context: "StartMLEvaluationTaskRunInput"}
28266	if s.TransformId == nil {
28267		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28268	}
28269	if s.TransformId != nil && len(*s.TransformId) < 1 {
28270		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28271	}
28272
28273	if invalidParams.Len() > 0 {
28274		return invalidParams
28275	}
28276	return nil
28277}
28278
28279// SetTransformId sets the TransformId field's value.
28280func (s *StartMLEvaluationTaskRunInput) SetTransformId(v string) *StartMLEvaluationTaskRunInput {
28281	s.TransformId = &v
28282	return s
28283}
28284
28285type StartMLEvaluationTaskRunOutput struct {
28286	_ struct{} `type:"structure"`
28287
28288	// The unique identifier associated with this run.
28289	TaskRunId *string `min:"1" type:"string"`
28290}
28291
28292// String returns the string representation
28293func (s StartMLEvaluationTaskRunOutput) String() string {
28294	return awsutil.Prettify(s)
28295}
28296
28297// GoString returns the string representation
28298func (s StartMLEvaluationTaskRunOutput) GoString() string {
28299	return s.String()
28300}
28301
28302// SetTaskRunId sets the TaskRunId field's value.
28303func (s *StartMLEvaluationTaskRunOutput) SetTaskRunId(v string) *StartMLEvaluationTaskRunOutput {
28304	s.TaskRunId = &v
28305	return s
28306}
28307
28308type StartMLLabelingSetGenerationTaskRunInput struct {
28309	_ struct{} `type:"structure"`
28310
28311	// The Amazon Simple Storage Service (Amazon S3) path where you generate the
28312	// labeling set.
28313	//
28314	// OutputS3Path is a required field
28315	OutputS3Path *string `type:"string" required:"true"`
28316
28317	// The unique identifier of the machine learning transform.
28318	//
28319	// TransformId is a required field
28320	TransformId *string `min:"1" type:"string" required:"true"`
28321}
28322
28323// String returns the string representation
28324func (s StartMLLabelingSetGenerationTaskRunInput) String() string {
28325	return awsutil.Prettify(s)
28326}
28327
28328// GoString returns the string representation
28329func (s StartMLLabelingSetGenerationTaskRunInput) GoString() string {
28330	return s.String()
28331}
28332
28333// Validate inspects the fields of the type to determine if they are valid.
28334func (s *StartMLLabelingSetGenerationTaskRunInput) Validate() error {
28335	invalidParams := request.ErrInvalidParams{Context: "StartMLLabelingSetGenerationTaskRunInput"}
28336	if s.OutputS3Path == nil {
28337		invalidParams.Add(request.NewErrParamRequired("OutputS3Path"))
28338	}
28339	if s.TransformId == nil {
28340		invalidParams.Add(request.NewErrParamRequired("TransformId"))
28341	}
28342	if s.TransformId != nil && len(*s.TransformId) < 1 {
28343		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
28344	}
28345
28346	if invalidParams.Len() > 0 {
28347		return invalidParams
28348	}
28349	return nil
28350}
28351
28352// SetOutputS3Path sets the OutputS3Path field's value.
28353func (s *StartMLLabelingSetGenerationTaskRunInput) SetOutputS3Path(v string) *StartMLLabelingSetGenerationTaskRunInput {
28354	s.OutputS3Path = &v
28355	return s
28356}
28357
28358// SetTransformId sets the TransformId field's value.
28359func (s *StartMLLabelingSetGenerationTaskRunInput) SetTransformId(v string) *StartMLLabelingSetGenerationTaskRunInput {
28360	s.TransformId = &v
28361	return s
28362}
28363
28364type StartMLLabelingSetGenerationTaskRunOutput struct {
28365	_ struct{} `type:"structure"`
28366
28367	// The unique run identifier that is associated with this task run.
28368	TaskRunId *string `min:"1" type:"string"`
28369}
28370
28371// String returns the string representation
28372func (s StartMLLabelingSetGenerationTaskRunOutput) String() string {
28373	return awsutil.Prettify(s)
28374}
28375
28376// GoString returns the string representation
28377func (s StartMLLabelingSetGenerationTaskRunOutput) GoString() string {
28378	return s.String()
28379}
28380
28381// SetTaskRunId sets the TaskRunId field's value.
28382func (s *StartMLLabelingSetGenerationTaskRunOutput) SetTaskRunId(v string) *StartMLLabelingSetGenerationTaskRunOutput {
28383	s.TaskRunId = &v
28384	return s
28385}
28386
28387type StartTriggerInput struct {
28388	_ struct{} `type:"structure"`
28389
28390	// The name of the trigger to start.
28391	//
28392	// Name is a required field
28393	Name *string `min:"1" type:"string" required:"true"`
28394}
28395
28396// String returns the string representation
28397func (s StartTriggerInput) String() string {
28398	return awsutil.Prettify(s)
28399}
28400
28401// GoString returns the string representation
28402func (s StartTriggerInput) GoString() string {
28403	return s.String()
28404}
28405
28406// Validate inspects the fields of the type to determine if they are valid.
28407func (s *StartTriggerInput) Validate() error {
28408	invalidParams := request.ErrInvalidParams{Context: "StartTriggerInput"}
28409	if s.Name == nil {
28410		invalidParams.Add(request.NewErrParamRequired("Name"))
28411	}
28412	if s.Name != nil && len(*s.Name) < 1 {
28413		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28414	}
28415
28416	if invalidParams.Len() > 0 {
28417		return invalidParams
28418	}
28419	return nil
28420}
28421
28422// SetName sets the Name field's value.
28423func (s *StartTriggerInput) SetName(v string) *StartTriggerInput {
28424	s.Name = &v
28425	return s
28426}
28427
28428type StartTriggerOutput struct {
28429	_ struct{} `type:"structure"`
28430
28431	// The name of the trigger that was started.
28432	Name *string `min:"1" type:"string"`
28433}
28434
28435// String returns the string representation
28436func (s StartTriggerOutput) String() string {
28437	return awsutil.Prettify(s)
28438}
28439
28440// GoString returns the string representation
28441func (s StartTriggerOutput) GoString() string {
28442	return s.String()
28443}
28444
28445// SetName sets the Name field's value.
28446func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput {
28447	s.Name = &v
28448	return s
28449}
28450
28451type StartWorkflowRunInput struct {
28452	_ struct{} `type:"structure"`
28453
28454	// The name of the workflow to start.
28455	//
28456	// Name is a required field
28457	Name *string `min:"1" type:"string" required:"true"`
28458}
28459
28460// String returns the string representation
28461func (s StartWorkflowRunInput) String() string {
28462	return awsutil.Prettify(s)
28463}
28464
28465// GoString returns the string representation
28466func (s StartWorkflowRunInput) GoString() string {
28467	return s.String()
28468}
28469
28470// Validate inspects the fields of the type to determine if they are valid.
28471func (s *StartWorkflowRunInput) Validate() error {
28472	invalidParams := request.ErrInvalidParams{Context: "StartWorkflowRunInput"}
28473	if s.Name == nil {
28474		invalidParams.Add(request.NewErrParamRequired("Name"))
28475	}
28476	if s.Name != nil && len(*s.Name) < 1 {
28477		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28478	}
28479
28480	if invalidParams.Len() > 0 {
28481		return invalidParams
28482	}
28483	return nil
28484}
28485
28486// SetName sets the Name field's value.
28487func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput {
28488	s.Name = &v
28489	return s
28490}
28491
28492type StartWorkflowRunOutput struct {
28493	_ struct{} `type:"structure"`
28494
28495	// An Id for the new run.
28496	RunId *string `min:"1" type:"string"`
28497}
28498
28499// String returns the string representation
28500func (s StartWorkflowRunOutput) String() string {
28501	return awsutil.Prettify(s)
28502}
28503
28504// GoString returns the string representation
28505func (s StartWorkflowRunOutput) GoString() string {
28506	return s.String()
28507}
28508
28509// SetRunId sets the RunId field's value.
28510func (s *StartWorkflowRunOutput) SetRunId(v string) *StartWorkflowRunOutput {
28511	s.RunId = &v
28512	return s
28513}
28514
28515type StopCrawlerInput struct {
28516	_ struct{} `type:"structure"`
28517
28518	// Name of the crawler to stop.
28519	//
28520	// Name is a required field
28521	Name *string `min:"1" type:"string" required:"true"`
28522}
28523
28524// String returns the string representation
28525func (s StopCrawlerInput) String() string {
28526	return awsutil.Prettify(s)
28527}
28528
28529// GoString returns the string representation
28530func (s StopCrawlerInput) GoString() string {
28531	return s.String()
28532}
28533
28534// Validate inspects the fields of the type to determine if they are valid.
28535func (s *StopCrawlerInput) Validate() error {
28536	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerInput"}
28537	if s.Name == nil {
28538		invalidParams.Add(request.NewErrParamRequired("Name"))
28539	}
28540	if s.Name != nil && len(*s.Name) < 1 {
28541		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28542	}
28543
28544	if invalidParams.Len() > 0 {
28545		return invalidParams
28546	}
28547	return nil
28548}
28549
28550// SetName sets the Name field's value.
28551func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput {
28552	s.Name = &v
28553	return s
28554}
28555
28556type StopCrawlerOutput struct {
28557	_ struct{} `type:"structure"`
28558}
28559
28560// String returns the string representation
28561func (s StopCrawlerOutput) String() string {
28562	return awsutil.Prettify(s)
28563}
28564
28565// GoString returns the string representation
28566func (s StopCrawlerOutput) GoString() string {
28567	return s.String()
28568}
28569
28570type StopCrawlerScheduleInput struct {
28571	_ struct{} `type:"structure"`
28572
28573	// Name of the crawler whose schedule state to set.
28574	//
28575	// CrawlerName is a required field
28576	CrawlerName *string `min:"1" type:"string" required:"true"`
28577}
28578
28579// String returns the string representation
28580func (s StopCrawlerScheduleInput) String() string {
28581	return awsutil.Prettify(s)
28582}
28583
28584// GoString returns the string representation
28585func (s StopCrawlerScheduleInput) GoString() string {
28586	return s.String()
28587}
28588
28589// Validate inspects the fields of the type to determine if they are valid.
28590func (s *StopCrawlerScheduleInput) Validate() error {
28591	invalidParams := request.ErrInvalidParams{Context: "StopCrawlerScheduleInput"}
28592	if s.CrawlerName == nil {
28593		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
28594	}
28595	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
28596		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
28597	}
28598
28599	if invalidParams.Len() > 0 {
28600		return invalidParams
28601	}
28602	return nil
28603}
28604
28605// SetCrawlerName sets the CrawlerName field's value.
28606func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput {
28607	s.CrawlerName = &v
28608	return s
28609}
28610
28611type StopCrawlerScheduleOutput struct {
28612	_ struct{} `type:"structure"`
28613}
28614
28615// String returns the string representation
28616func (s StopCrawlerScheduleOutput) String() string {
28617	return awsutil.Prettify(s)
28618}
28619
28620// GoString returns the string representation
28621func (s StopCrawlerScheduleOutput) GoString() string {
28622	return s.String()
28623}
28624
28625type StopTriggerInput struct {
28626	_ struct{} `type:"structure"`
28627
28628	// The name of the trigger to stop.
28629	//
28630	// Name is a required field
28631	Name *string `min:"1" type:"string" required:"true"`
28632}
28633
28634// String returns the string representation
28635func (s StopTriggerInput) String() string {
28636	return awsutil.Prettify(s)
28637}
28638
28639// GoString returns the string representation
28640func (s StopTriggerInput) GoString() string {
28641	return s.String()
28642}
28643
28644// Validate inspects the fields of the type to determine if they are valid.
28645func (s *StopTriggerInput) Validate() error {
28646	invalidParams := request.ErrInvalidParams{Context: "StopTriggerInput"}
28647	if s.Name == nil {
28648		invalidParams.Add(request.NewErrParamRequired("Name"))
28649	}
28650	if s.Name != nil && len(*s.Name) < 1 {
28651		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28652	}
28653
28654	if invalidParams.Len() > 0 {
28655		return invalidParams
28656	}
28657	return nil
28658}
28659
28660// SetName sets the Name field's value.
28661func (s *StopTriggerInput) SetName(v string) *StopTriggerInput {
28662	s.Name = &v
28663	return s
28664}
28665
28666type StopTriggerOutput struct {
28667	_ struct{} `type:"structure"`
28668
28669	// The name of the trigger that was stopped.
28670	Name *string `min:"1" type:"string"`
28671}
28672
28673// String returns the string representation
28674func (s StopTriggerOutput) String() string {
28675	return awsutil.Prettify(s)
28676}
28677
28678// GoString returns the string representation
28679func (s StopTriggerOutput) GoString() string {
28680	return s.String()
28681}
28682
28683// SetName sets the Name field's value.
28684func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput {
28685	s.Name = &v
28686	return s
28687}
28688
28689// Describes the physical storage of table data.
28690type StorageDescriptor struct {
28691	_ struct{} `type:"structure"`
28692
28693	// A list of reducer grouping columns, clustering columns, and bucketing columns
28694	// in the table.
28695	BucketColumns []*string `type:"list"`
28696
28697	// A list of the Columns in the table.
28698	Columns []*Column `type:"list"`
28699
28700	// True if the data in the table is compressed, or False if not.
28701	Compressed *bool `type:"boolean"`
28702
28703	// The input format: SequenceFileInputFormat (binary), or TextInputFormat, or
28704	// a custom format.
28705	InputFormat *string `type:"string"`
28706
28707	// The physical location of the table. By default, this takes the form of the
28708	// warehouse location, followed by the database location in the warehouse, followed
28709	// by the table name.
28710	Location *string `type:"string"`
28711
28712	// Must be specified if the table contains any dimension columns.
28713	NumberOfBuckets *int64 `type:"integer"`
28714
28715	// The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat,
28716	// or a custom format.
28717	OutputFormat *string `type:"string"`
28718
28719	// The user-supplied properties in key-value form.
28720	Parameters map[string]*string `type:"map"`
28721
28722	// The serialization/deserialization (SerDe) information.
28723	SerdeInfo *SerDeInfo `type:"structure"`
28724
28725	// The information about values that appear frequently in a column (skewed values).
28726	SkewedInfo *SkewedInfo `type:"structure"`
28727
28728	// A list specifying the sort order of each bucket in the table.
28729	SortColumns []*Order `type:"list"`
28730
28731	// True if the table data is stored in subdirectories, or False if not.
28732	StoredAsSubDirectories *bool `type:"boolean"`
28733}
28734
28735// String returns the string representation
28736func (s StorageDescriptor) String() string {
28737	return awsutil.Prettify(s)
28738}
28739
28740// GoString returns the string representation
28741func (s StorageDescriptor) GoString() string {
28742	return s.String()
28743}
28744
28745// Validate inspects the fields of the type to determine if they are valid.
28746func (s *StorageDescriptor) Validate() error {
28747	invalidParams := request.ErrInvalidParams{Context: "StorageDescriptor"}
28748	if s.Columns != nil {
28749		for i, v := range s.Columns {
28750			if v == nil {
28751				continue
28752			}
28753			if err := v.Validate(); err != nil {
28754				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
28755			}
28756		}
28757	}
28758	if s.SerdeInfo != nil {
28759		if err := s.SerdeInfo.Validate(); err != nil {
28760			invalidParams.AddNested("SerdeInfo", err.(request.ErrInvalidParams))
28761		}
28762	}
28763	if s.SortColumns != nil {
28764		for i, v := range s.SortColumns {
28765			if v == nil {
28766				continue
28767			}
28768			if err := v.Validate(); err != nil {
28769				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortColumns", i), err.(request.ErrInvalidParams))
28770			}
28771		}
28772	}
28773
28774	if invalidParams.Len() > 0 {
28775		return invalidParams
28776	}
28777	return nil
28778}
28779
28780// SetBucketColumns sets the BucketColumns field's value.
28781func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor {
28782	s.BucketColumns = v
28783	return s
28784}
28785
28786// SetColumns sets the Columns field's value.
28787func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor {
28788	s.Columns = v
28789	return s
28790}
28791
28792// SetCompressed sets the Compressed field's value.
28793func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor {
28794	s.Compressed = &v
28795	return s
28796}
28797
28798// SetInputFormat sets the InputFormat field's value.
28799func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor {
28800	s.InputFormat = &v
28801	return s
28802}
28803
28804// SetLocation sets the Location field's value.
28805func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor {
28806	s.Location = &v
28807	return s
28808}
28809
28810// SetNumberOfBuckets sets the NumberOfBuckets field's value.
28811func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor {
28812	s.NumberOfBuckets = &v
28813	return s
28814}
28815
28816// SetOutputFormat sets the OutputFormat field's value.
28817func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor {
28818	s.OutputFormat = &v
28819	return s
28820}
28821
28822// SetParameters sets the Parameters field's value.
28823func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor {
28824	s.Parameters = v
28825	return s
28826}
28827
28828// SetSerdeInfo sets the SerdeInfo field's value.
28829func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor {
28830	s.SerdeInfo = v
28831	return s
28832}
28833
28834// SetSkewedInfo sets the SkewedInfo field's value.
28835func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor {
28836	s.SkewedInfo = v
28837	return s
28838}
28839
28840// SetSortColumns sets the SortColumns field's value.
28841func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor {
28842	s.SortColumns = v
28843	return s
28844}
28845
28846// SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value.
28847func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor {
28848	s.StoredAsSubDirectories = &v
28849	return s
28850}
28851
28852// The database and table in the AWS Glue Data Catalog that is used for input
28853// or output data.
28854type Table struct {
28855	_ struct{} `type:"structure"`
28856
28857	// A unique identifier for the AWS Glue Data Catalog.
28858	CatalogId *string `min:"1" type:"string"`
28859
28860	// The name of the connection to the AWS Glue Data Catalog.
28861	ConnectionName *string `min:"1" type:"string"`
28862
28863	// A database name in the AWS Glue Data Catalog.
28864	//
28865	// DatabaseName is a required field
28866	DatabaseName *string `min:"1" type:"string" required:"true"`
28867
28868	// A table name in the AWS Glue Data Catalog.
28869	//
28870	// TableName is a required field
28871	TableName *string `min:"1" type:"string" required:"true"`
28872}
28873
28874// String returns the string representation
28875func (s Table) String() string {
28876	return awsutil.Prettify(s)
28877}
28878
28879// GoString returns the string representation
28880func (s Table) GoString() string {
28881	return s.String()
28882}
28883
28884// Validate inspects the fields of the type to determine if they are valid.
28885func (s *Table) Validate() error {
28886	invalidParams := request.ErrInvalidParams{Context: "Table"}
28887	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
28888		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
28889	}
28890	if s.ConnectionName != nil && len(*s.ConnectionName) < 1 {
28891		invalidParams.Add(request.NewErrParamMinLen("ConnectionName", 1))
28892	}
28893	if s.DatabaseName == nil {
28894		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
28895	}
28896	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
28897		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
28898	}
28899	if s.TableName == nil {
28900		invalidParams.Add(request.NewErrParamRequired("TableName"))
28901	}
28902	if s.TableName != nil && len(*s.TableName) < 1 {
28903		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
28904	}
28905
28906	if invalidParams.Len() > 0 {
28907		return invalidParams
28908	}
28909	return nil
28910}
28911
28912// SetCatalogId sets the CatalogId field's value.
28913func (s *Table) SetCatalogId(v string) *Table {
28914	s.CatalogId = &v
28915	return s
28916}
28917
28918// SetConnectionName sets the ConnectionName field's value.
28919func (s *Table) SetConnectionName(v string) *Table {
28920	s.ConnectionName = &v
28921	return s
28922}
28923
28924// SetDatabaseName sets the DatabaseName field's value.
28925func (s *Table) SetDatabaseName(v string) *Table {
28926	s.DatabaseName = &v
28927	return s
28928}
28929
28930// SetTableName sets the TableName field's value.
28931func (s *Table) SetTableName(v string) *Table {
28932	s.TableName = &v
28933	return s
28934}
28935
28936// Represents a collection of related data organized in columns and rows.
28937type TableData struct {
28938	_ struct{} `type:"structure"`
28939
28940	// The time when the table definition was created in the Data Catalog.
28941	CreateTime *time.Time `type:"timestamp"`
28942
28943	// The person or entity who created the table.
28944	CreatedBy *string `min:"1" type:"string"`
28945
28946	// The name of the database where the table metadata resides. For Hive compatibility,
28947	// this must be all lowercase.
28948	DatabaseName *string `min:"1" type:"string"`
28949
28950	// A description of the table.
28951	Description *string `type:"string"`
28952
28953	// Indicates whether the table has been registered with AWS Lake Formation.
28954	IsRegisteredWithLakeFormation *bool `type:"boolean"`
28955
28956	// The last time that the table was accessed. This is usually taken from HDFS,
28957	// and might not be reliable.
28958	LastAccessTime *time.Time `type:"timestamp"`
28959
28960	// The last time that column statistics were computed for this table.
28961	LastAnalyzedTime *time.Time `type:"timestamp"`
28962
28963	// The table name. For Hive compatibility, this must be entirely lowercase.
28964	//
28965	// Name is a required field
28966	Name *string `min:"1" type:"string" required:"true"`
28967
28968	// The owner of the table.
28969	Owner *string `min:"1" type:"string"`
28970
28971	// These key-value pairs define properties associated with the table.
28972	Parameters map[string]*string `type:"map"`
28973
28974	// A list of columns by which the table is partitioned. Only primitive types
28975	// are supported as partition keys.
28976	//
28977	// When you create a table used by Amazon Athena, and you do not specify any
28978	// partitionKeys, you must at least set the value of partitionKeys to an empty
28979	// list. For example:
28980	//
28981	// "PartitionKeys": []
28982	PartitionKeys []*Column `type:"list"`
28983
28984	// The retention time for this table.
28985	Retention *int64 `type:"integer"`
28986
28987	// A storage descriptor containing information about the physical storage of
28988	// this table.
28989	StorageDescriptor *StorageDescriptor `type:"structure"`
28990
28991	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
28992	TableType *string `type:"string"`
28993
28994	// The last time that the table was updated.
28995	UpdateTime *time.Time `type:"timestamp"`
28996
28997	// If the table is a view, the expanded text of the view; otherwise null.
28998	ViewExpandedText *string `type:"string"`
28999
29000	// If the table is a view, the original text of the view; otherwise null.
29001	ViewOriginalText *string `type:"string"`
29002}
29003
29004// String returns the string representation
29005func (s TableData) String() string {
29006	return awsutil.Prettify(s)
29007}
29008
29009// GoString returns the string representation
29010func (s TableData) GoString() string {
29011	return s.String()
29012}
29013
29014// SetCreateTime sets the CreateTime field's value.
29015func (s *TableData) SetCreateTime(v time.Time) *TableData {
29016	s.CreateTime = &v
29017	return s
29018}
29019
29020// SetCreatedBy sets the CreatedBy field's value.
29021func (s *TableData) SetCreatedBy(v string) *TableData {
29022	s.CreatedBy = &v
29023	return s
29024}
29025
29026// SetDatabaseName sets the DatabaseName field's value.
29027func (s *TableData) SetDatabaseName(v string) *TableData {
29028	s.DatabaseName = &v
29029	return s
29030}
29031
29032// SetDescription sets the Description field's value.
29033func (s *TableData) SetDescription(v string) *TableData {
29034	s.Description = &v
29035	return s
29036}
29037
29038// SetIsRegisteredWithLakeFormation sets the IsRegisteredWithLakeFormation field's value.
29039func (s *TableData) SetIsRegisteredWithLakeFormation(v bool) *TableData {
29040	s.IsRegisteredWithLakeFormation = &v
29041	return s
29042}
29043
29044// SetLastAccessTime sets the LastAccessTime field's value.
29045func (s *TableData) SetLastAccessTime(v time.Time) *TableData {
29046	s.LastAccessTime = &v
29047	return s
29048}
29049
29050// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
29051func (s *TableData) SetLastAnalyzedTime(v time.Time) *TableData {
29052	s.LastAnalyzedTime = &v
29053	return s
29054}
29055
29056// SetName sets the Name field's value.
29057func (s *TableData) SetName(v string) *TableData {
29058	s.Name = &v
29059	return s
29060}
29061
29062// SetOwner sets the Owner field's value.
29063func (s *TableData) SetOwner(v string) *TableData {
29064	s.Owner = &v
29065	return s
29066}
29067
29068// SetParameters sets the Parameters field's value.
29069func (s *TableData) SetParameters(v map[string]*string) *TableData {
29070	s.Parameters = v
29071	return s
29072}
29073
29074// SetPartitionKeys sets the PartitionKeys field's value.
29075func (s *TableData) SetPartitionKeys(v []*Column) *TableData {
29076	s.PartitionKeys = v
29077	return s
29078}
29079
29080// SetRetention sets the Retention field's value.
29081func (s *TableData) SetRetention(v int64) *TableData {
29082	s.Retention = &v
29083	return s
29084}
29085
29086// SetStorageDescriptor sets the StorageDescriptor field's value.
29087func (s *TableData) SetStorageDescriptor(v *StorageDescriptor) *TableData {
29088	s.StorageDescriptor = v
29089	return s
29090}
29091
29092// SetTableType sets the TableType field's value.
29093func (s *TableData) SetTableType(v string) *TableData {
29094	s.TableType = &v
29095	return s
29096}
29097
29098// SetUpdateTime sets the UpdateTime field's value.
29099func (s *TableData) SetUpdateTime(v time.Time) *TableData {
29100	s.UpdateTime = &v
29101	return s
29102}
29103
29104// SetViewExpandedText sets the ViewExpandedText field's value.
29105func (s *TableData) SetViewExpandedText(v string) *TableData {
29106	s.ViewExpandedText = &v
29107	return s
29108}
29109
29110// SetViewOriginalText sets the ViewOriginalText field's value.
29111func (s *TableData) SetViewOriginalText(v string) *TableData {
29112	s.ViewOriginalText = &v
29113	return s
29114}
29115
29116// An error record for table operations.
29117type TableError struct {
29118	_ struct{} `type:"structure"`
29119
29120	// The details about the error.
29121	ErrorDetail *ErrorDetail `type:"structure"`
29122
29123	// The name of the table. For Hive compatibility, this must be entirely lowercase.
29124	TableName *string `min:"1" type:"string"`
29125}
29126
29127// String returns the string representation
29128func (s TableError) String() string {
29129	return awsutil.Prettify(s)
29130}
29131
29132// GoString returns the string representation
29133func (s TableError) GoString() string {
29134	return s.String()
29135}
29136
29137// SetErrorDetail sets the ErrorDetail field's value.
29138func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError {
29139	s.ErrorDetail = v
29140	return s
29141}
29142
29143// SetTableName sets the TableName field's value.
29144func (s *TableError) SetTableName(v string) *TableError {
29145	s.TableName = &v
29146	return s
29147}
29148
29149// A structure used to define a table.
29150type TableInput struct {
29151	_ struct{} `type:"structure"`
29152
29153	// A description of the table.
29154	Description *string `type:"string"`
29155
29156	// The last time that the table was accessed.
29157	LastAccessTime *time.Time `type:"timestamp"`
29158
29159	// The last time that column statistics were computed for this table.
29160	LastAnalyzedTime *time.Time `type:"timestamp"`
29161
29162	// The table name. For Hive compatibility, this is folded to lowercase when
29163	// it is stored.
29164	//
29165	// Name is a required field
29166	Name *string `min:"1" type:"string" required:"true"`
29167
29168	// The table owner.
29169	Owner *string `min:"1" type:"string"`
29170
29171	// These key-value pairs define properties associated with the table.
29172	Parameters map[string]*string `type:"map"`
29173
29174	// A list of columns by which the table is partitioned. Only primitive types
29175	// are supported as partition keys.
29176	//
29177	// When you create a table used by Amazon Athena, and you do not specify any
29178	// partitionKeys, you must at least set the value of partitionKeys to an empty
29179	// list. For example:
29180	//
29181	// "PartitionKeys": []
29182	PartitionKeys []*Column `type:"list"`
29183
29184	// The retention time for this table.
29185	Retention *int64 `type:"integer"`
29186
29187	// A storage descriptor containing information about the physical storage of
29188	// this table.
29189	StorageDescriptor *StorageDescriptor `type:"structure"`
29190
29191	// The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
29192	TableType *string `type:"string"`
29193
29194	// If the table is a view, the expanded text of the view; otherwise null.
29195	ViewExpandedText *string `type:"string"`
29196
29197	// If the table is a view, the original text of the view; otherwise null.
29198	ViewOriginalText *string `type:"string"`
29199}
29200
29201// String returns the string representation
29202func (s TableInput) String() string {
29203	return awsutil.Prettify(s)
29204}
29205
29206// GoString returns the string representation
29207func (s TableInput) GoString() string {
29208	return s.String()
29209}
29210
29211// Validate inspects the fields of the type to determine if they are valid.
29212func (s *TableInput) Validate() error {
29213	invalidParams := request.ErrInvalidParams{Context: "TableInput"}
29214	if s.Name == nil {
29215		invalidParams.Add(request.NewErrParamRequired("Name"))
29216	}
29217	if s.Name != nil && len(*s.Name) < 1 {
29218		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29219	}
29220	if s.Owner != nil && len(*s.Owner) < 1 {
29221		invalidParams.Add(request.NewErrParamMinLen("Owner", 1))
29222	}
29223	if s.PartitionKeys != nil {
29224		for i, v := range s.PartitionKeys {
29225			if v == nil {
29226				continue
29227			}
29228			if err := v.Validate(); err != nil {
29229				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PartitionKeys", i), err.(request.ErrInvalidParams))
29230			}
29231		}
29232	}
29233	if s.StorageDescriptor != nil {
29234		if err := s.StorageDescriptor.Validate(); err != nil {
29235			invalidParams.AddNested("StorageDescriptor", err.(request.ErrInvalidParams))
29236		}
29237	}
29238
29239	if invalidParams.Len() > 0 {
29240		return invalidParams
29241	}
29242	return nil
29243}
29244
29245// SetDescription sets the Description field's value.
29246func (s *TableInput) SetDescription(v string) *TableInput {
29247	s.Description = &v
29248	return s
29249}
29250
29251// SetLastAccessTime sets the LastAccessTime field's value.
29252func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput {
29253	s.LastAccessTime = &v
29254	return s
29255}
29256
29257// SetLastAnalyzedTime sets the LastAnalyzedTime field's value.
29258func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput {
29259	s.LastAnalyzedTime = &v
29260	return s
29261}
29262
29263// SetName sets the Name field's value.
29264func (s *TableInput) SetName(v string) *TableInput {
29265	s.Name = &v
29266	return s
29267}
29268
29269// SetOwner sets the Owner field's value.
29270func (s *TableInput) SetOwner(v string) *TableInput {
29271	s.Owner = &v
29272	return s
29273}
29274
29275// SetParameters sets the Parameters field's value.
29276func (s *TableInput) SetParameters(v map[string]*string) *TableInput {
29277	s.Parameters = v
29278	return s
29279}
29280
29281// SetPartitionKeys sets the PartitionKeys field's value.
29282func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput {
29283	s.PartitionKeys = v
29284	return s
29285}
29286
29287// SetRetention sets the Retention field's value.
29288func (s *TableInput) SetRetention(v int64) *TableInput {
29289	s.Retention = &v
29290	return s
29291}
29292
29293// SetStorageDescriptor sets the StorageDescriptor field's value.
29294func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput {
29295	s.StorageDescriptor = v
29296	return s
29297}
29298
29299// SetTableType sets the TableType field's value.
29300func (s *TableInput) SetTableType(v string) *TableInput {
29301	s.TableType = &v
29302	return s
29303}
29304
29305// SetViewExpandedText sets the ViewExpandedText field's value.
29306func (s *TableInput) SetViewExpandedText(v string) *TableInput {
29307	s.ViewExpandedText = &v
29308	return s
29309}
29310
29311// SetViewOriginalText sets the ViewOriginalText field's value.
29312func (s *TableInput) SetViewOriginalText(v string) *TableInput {
29313	s.ViewOriginalText = &v
29314	return s
29315}
29316
29317// Specifies a version of a table.
29318type TableVersion struct {
29319	_ struct{} `type:"structure"`
29320
29321	// The table in question.
29322	Table *TableData `type:"structure"`
29323
29324	// The ID value that identifies this table version. A VersionId is a string
29325	// representation of an integer. Each version is incremented by 1.
29326	VersionId *string `min:"1" type:"string"`
29327}
29328
29329// String returns the string representation
29330func (s TableVersion) String() string {
29331	return awsutil.Prettify(s)
29332}
29333
29334// GoString returns the string representation
29335func (s TableVersion) GoString() string {
29336	return s.String()
29337}
29338
29339// SetTable sets the Table field's value.
29340func (s *TableVersion) SetTable(v *TableData) *TableVersion {
29341	s.Table = v
29342	return s
29343}
29344
29345// SetVersionId sets the VersionId field's value.
29346func (s *TableVersion) SetVersionId(v string) *TableVersion {
29347	s.VersionId = &v
29348	return s
29349}
29350
29351// An error record for table-version operations.
29352type TableVersionError struct {
29353	_ struct{} `type:"structure"`
29354
29355	// The details about the error.
29356	ErrorDetail *ErrorDetail `type:"structure"`
29357
29358	// The name of the table in question.
29359	TableName *string `min:"1" type:"string"`
29360
29361	// The ID value of the version in question. A VersionID is a string representation
29362	// of an integer. Each version is incremented by 1.
29363	VersionId *string `min:"1" type:"string"`
29364}
29365
29366// String returns the string representation
29367func (s TableVersionError) String() string {
29368	return awsutil.Prettify(s)
29369}
29370
29371// GoString returns the string representation
29372func (s TableVersionError) GoString() string {
29373	return s.String()
29374}
29375
29376// SetErrorDetail sets the ErrorDetail field's value.
29377func (s *TableVersionError) SetErrorDetail(v *ErrorDetail) *TableVersionError {
29378	s.ErrorDetail = v
29379	return s
29380}
29381
29382// SetTableName sets the TableName field's value.
29383func (s *TableVersionError) SetTableName(v string) *TableVersionError {
29384	s.TableName = &v
29385	return s
29386}
29387
29388// SetVersionId sets the VersionId field's value.
29389func (s *TableVersionError) SetVersionId(v string) *TableVersionError {
29390	s.VersionId = &v
29391	return s
29392}
29393
29394type TagResourceInput struct {
29395	_ struct{} `type:"structure"`
29396
29397	// The ARN of the AWS Glue resource to which to add the tags. For more information
29398	// 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).
29399	//
29400	// ResourceArn is a required field
29401	ResourceArn *string `min:"1" type:"string" required:"true"`
29402
29403	// Tags to add to this resource.
29404	//
29405	// TagsToAdd is a required field
29406	TagsToAdd map[string]*string `type:"map" required:"true"`
29407}
29408
29409// String returns the string representation
29410func (s TagResourceInput) String() string {
29411	return awsutil.Prettify(s)
29412}
29413
29414// GoString returns the string representation
29415func (s TagResourceInput) GoString() string {
29416	return s.String()
29417}
29418
29419// Validate inspects the fields of the type to determine if they are valid.
29420func (s *TagResourceInput) Validate() error {
29421	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
29422	if s.ResourceArn == nil {
29423		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
29424	}
29425	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
29426		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
29427	}
29428	if s.TagsToAdd == nil {
29429		invalidParams.Add(request.NewErrParamRequired("TagsToAdd"))
29430	}
29431
29432	if invalidParams.Len() > 0 {
29433		return invalidParams
29434	}
29435	return nil
29436}
29437
29438// SetResourceArn sets the ResourceArn field's value.
29439func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
29440	s.ResourceArn = &v
29441	return s
29442}
29443
29444// SetTagsToAdd sets the TagsToAdd field's value.
29445func (s *TagResourceInput) SetTagsToAdd(v map[string]*string) *TagResourceInput {
29446	s.TagsToAdd = v
29447	return s
29448}
29449
29450type TagResourceOutput struct {
29451	_ struct{} `type:"structure"`
29452}
29453
29454// String returns the string representation
29455func (s TagResourceOutput) String() string {
29456	return awsutil.Prettify(s)
29457}
29458
29459// GoString returns the string representation
29460func (s TagResourceOutput) GoString() string {
29461	return s.String()
29462}
29463
29464// The sampling parameters that are associated with the machine learning transform.
29465type TaskRun struct {
29466	_ struct{} `type:"structure"`
29467
29468	// The last point in time that the requested task run was completed.
29469	CompletedOn *time.Time `type:"timestamp"`
29470
29471	// The list of error strings associated with this task run.
29472	ErrorString *string `type:"string"`
29473
29474	// The amount of time (in seconds) that the task run consumed resources.
29475	ExecutionTime *int64 `type:"integer"`
29476
29477	// The last point in time that the requested task run was updated.
29478	LastModifiedOn *time.Time `type:"timestamp"`
29479
29480	// The names of the log group for secure logging, associated with this task
29481	// run.
29482	LogGroupName *string `type:"string"`
29483
29484	// Specifies configuration properties associated with this task run.
29485	Properties *TaskRunProperties `type:"structure"`
29486
29487	// The date and time that this task run started.
29488	StartedOn *time.Time `type:"timestamp"`
29489
29490	// The current status of the requested task run.
29491	Status *string `type:"string" enum:"TaskStatusType"`
29492
29493	// The unique identifier for this task run.
29494	TaskRunId *string `min:"1" type:"string"`
29495
29496	// The unique identifier for the transform.
29497	TransformId *string `min:"1" type:"string"`
29498}
29499
29500// String returns the string representation
29501func (s TaskRun) String() string {
29502	return awsutil.Prettify(s)
29503}
29504
29505// GoString returns the string representation
29506func (s TaskRun) GoString() string {
29507	return s.String()
29508}
29509
29510// SetCompletedOn sets the CompletedOn field's value.
29511func (s *TaskRun) SetCompletedOn(v time.Time) *TaskRun {
29512	s.CompletedOn = &v
29513	return s
29514}
29515
29516// SetErrorString sets the ErrorString field's value.
29517func (s *TaskRun) SetErrorString(v string) *TaskRun {
29518	s.ErrorString = &v
29519	return s
29520}
29521
29522// SetExecutionTime sets the ExecutionTime field's value.
29523func (s *TaskRun) SetExecutionTime(v int64) *TaskRun {
29524	s.ExecutionTime = &v
29525	return s
29526}
29527
29528// SetLastModifiedOn sets the LastModifiedOn field's value.
29529func (s *TaskRun) SetLastModifiedOn(v time.Time) *TaskRun {
29530	s.LastModifiedOn = &v
29531	return s
29532}
29533
29534// SetLogGroupName sets the LogGroupName field's value.
29535func (s *TaskRun) SetLogGroupName(v string) *TaskRun {
29536	s.LogGroupName = &v
29537	return s
29538}
29539
29540// SetProperties sets the Properties field's value.
29541func (s *TaskRun) SetProperties(v *TaskRunProperties) *TaskRun {
29542	s.Properties = v
29543	return s
29544}
29545
29546// SetStartedOn sets the StartedOn field's value.
29547func (s *TaskRun) SetStartedOn(v time.Time) *TaskRun {
29548	s.StartedOn = &v
29549	return s
29550}
29551
29552// SetStatus sets the Status field's value.
29553func (s *TaskRun) SetStatus(v string) *TaskRun {
29554	s.Status = &v
29555	return s
29556}
29557
29558// SetTaskRunId sets the TaskRunId field's value.
29559func (s *TaskRun) SetTaskRunId(v string) *TaskRun {
29560	s.TaskRunId = &v
29561	return s
29562}
29563
29564// SetTransformId sets the TransformId field's value.
29565func (s *TaskRun) SetTransformId(v string) *TaskRun {
29566	s.TransformId = &v
29567	return s
29568}
29569
29570// The criteria that are used to filter the task runs for the machine learning
29571// transform.
29572type TaskRunFilterCriteria struct {
29573	_ struct{} `type:"structure"`
29574
29575	// Filter on task runs started after this date.
29576	StartedAfter *time.Time `type:"timestamp"`
29577
29578	// Filter on task runs started before this date.
29579	StartedBefore *time.Time `type:"timestamp"`
29580
29581	// The current status of the task run.
29582	Status *string `type:"string" enum:"TaskStatusType"`
29583
29584	// The type of task run.
29585	TaskRunType *string `type:"string" enum:"TaskType"`
29586}
29587
29588// String returns the string representation
29589func (s TaskRunFilterCriteria) String() string {
29590	return awsutil.Prettify(s)
29591}
29592
29593// GoString returns the string representation
29594func (s TaskRunFilterCriteria) GoString() string {
29595	return s.String()
29596}
29597
29598// SetStartedAfter sets the StartedAfter field's value.
29599func (s *TaskRunFilterCriteria) SetStartedAfter(v time.Time) *TaskRunFilterCriteria {
29600	s.StartedAfter = &v
29601	return s
29602}
29603
29604// SetStartedBefore sets the StartedBefore field's value.
29605func (s *TaskRunFilterCriteria) SetStartedBefore(v time.Time) *TaskRunFilterCriteria {
29606	s.StartedBefore = &v
29607	return s
29608}
29609
29610// SetStatus sets the Status field's value.
29611func (s *TaskRunFilterCriteria) SetStatus(v string) *TaskRunFilterCriteria {
29612	s.Status = &v
29613	return s
29614}
29615
29616// SetTaskRunType sets the TaskRunType field's value.
29617func (s *TaskRunFilterCriteria) SetTaskRunType(v string) *TaskRunFilterCriteria {
29618	s.TaskRunType = &v
29619	return s
29620}
29621
29622// The configuration properties for the task run.
29623type TaskRunProperties struct {
29624	_ struct{} `type:"structure"`
29625
29626	// The configuration properties for an exporting labels task run.
29627	ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties `type:"structure"`
29628
29629	// The configuration properties for a find matches task run.
29630	FindMatchesTaskRunProperties *FindMatchesTaskRunProperties `type:"structure"`
29631
29632	// The configuration properties for an importing labels task run.
29633	ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties `type:"structure"`
29634
29635	// The configuration properties for a labeling set generation task run.
29636	LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties `type:"structure"`
29637
29638	// The type of task run.
29639	TaskType *string `type:"string" enum:"TaskType"`
29640}
29641
29642// String returns the string representation
29643func (s TaskRunProperties) String() string {
29644	return awsutil.Prettify(s)
29645}
29646
29647// GoString returns the string representation
29648func (s TaskRunProperties) GoString() string {
29649	return s.String()
29650}
29651
29652// SetExportLabelsTaskRunProperties sets the ExportLabelsTaskRunProperties field's value.
29653func (s *TaskRunProperties) SetExportLabelsTaskRunProperties(v *ExportLabelsTaskRunProperties) *TaskRunProperties {
29654	s.ExportLabelsTaskRunProperties = v
29655	return s
29656}
29657
29658// SetFindMatchesTaskRunProperties sets the FindMatchesTaskRunProperties field's value.
29659func (s *TaskRunProperties) SetFindMatchesTaskRunProperties(v *FindMatchesTaskRunProperties) *TaskRunProperties {
29660	s.FindMatchesTaskRunProperties = v
29661	return s
29662}
29663
29664// SetImportLabelsTaskRunProperties sets the ImportLabelsTaskRunProperties field's value.
29665func (s *TaskRunProperties) SetImportLabelsTaskRunProperties(v *ImportLabelsTaskRunProperties) *TaskRunProperties {
29666	s.ImportLabelsTaskRunProperties = v
29667	return s
29668}
29669
29670// SetLabelingSetGenerationTaskRunProperties sets the LabelingSetGenerationTaskRunProperties field's value.
29671func (s *TaskRunProperties) SetLabelingSetGenerationTaskRunProperties(v *LabelingSetGenerationTaskRunProperties) *TaskRunProperties {
29672	s.LabelingSetGenerationTaskRunProperties = v
29673	return s
29674}
29675
29676// SetTaskType sets the TaskType field's value.
29677func (s *TaskRunProperties) SetTaskType(v string) *TaskRunProperties {
29678	s.TaskType = &v
29679	return s
29680}
29681
29682// The sorting criteria that are used to sort the list of task runs for the
29683// machine learning transform.
29684type TaskRunSortCriteria struct {
29685	_ struct{} `type:"structure"`
29686
29687	// The column to be used to sort the list of task runs for the machine learning
29688	// transform.
29689	//
29690	// Column is a required field
29691	Column *string `type:"string" required:"true" enum:"TaskRunSortColumnType"`
29692
29693	// The sort direction to be used to sort the list of task runs for the machine
29694	// learning transform.
29695	//
29696	// SortDirection is a required field
29697	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
29698}
29699
29700// String returns the string representation
29701func (s TaskRunSortCriteria) String() string {
29702	return awsutil.Prettify(s)
29703}
29704
29705// GoString returns the string representation
29706func (s TaskRunSortCriteria) GoString() string {
29707	return s.String()
29708}
29709
29710// Validate inspects the fields of the type to determine if they are valid.
29711func (s *TaskRunSortCriteria) Validate() error {
29712	invalidParams := request.ErrInvalidParams{Context: "TaskRunSortCriteria"}
29713	if s.Column == nil {
29714		invalidParams.Add(request.NewErrParamRequired("Column"))
29715	}
29716	if s.SortDirection == nil {
29717		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
29718	}
29719
29720	if invalidParams.Len() > 0 {
29721		return invalidParams
29722	}
29723	return nil
29724}
29725
29726// SetColumn sets the Column field's value.
29727func (s *TaskRunSortCriteria) SetColumn(v string) *TaskRunSortCriteria {
29728	s.Column = &v
29729	return s
29730}
29731
29732// SetSortDirection sets the SortDirection field's value.
29733func (s *TaskRunSortCriteria) SetSortDirection(v string) *TaskRunSortCriteria {
29734	s.SortDirection = &v
29735	return s
29736}
29737
29738// The criteria used to filter the machine learning transforms.
29739type TransformFilterCriteria struct {
29740	_ struct{} `type:"structure"`
29741
29742	// The time and date after which the transforms were created.
29743	CreatedAfter *time.Time `type:"timestamp"`
29744
29745	// The time and date before which the transforms were created.
29746	CreatedBefore *time.Time `type:"timestamp"`
29747
29748	// Filter on transforms last modified after this date.
29749	LastModifiedAfter *time.Time `type:"timestamp"`
29750
29751	// Filter on transforms last modified before this date.
29752	LastModifiedBefore *time.Time `type:"timestamp"`
29753
29754	// A unique transform name that is used to filter the machine learning transforms.
29755	Name *string `min:"1" type:"string"`
29756
29757	// Filters on datasets with a specific schema. The Map<Column, Type> object
29758	// is an array of key-value pairs representing the schema this transform accepts,
29759	// where Column is the name of a column, and Type is the type of the data such
29760	// as an integer or string. Has an upper bound of 100 columns.
29761	Schema []*SchemaColumn `type:"list"`
29762
29763	// Filters the list of machine learning transforms by the last known status
29764	// of the transforms (to indicate whether a transform can be used or not). One
29765	// of "NOT_READY", "READY", or "DELETING".
29766	Status *string `type:"string" enum:"TransformStatusType"`
29767
29768	// The type of machine learning transform that is used to filter the machine
29769	// learning transforms.
29770	TransformType *string `type:"string" enum:"TransformType"`
29771}
29772
29773// String returns the string representation
29774func (s TransformFilterCriteria) String() string {
29775	return awsutil.Prettify(s)
29776}
29777
29778// GoString returns the string representation
29779func (s TransformFilterCriteria) GoString() string {
29780	return s.String()
29781}
29782
29783// Validate inspects the fields of the type to determine if they are valid.
29784func (s *TransformFilterCriteria) Validate() error {
29785	invalidParams := request.ErrInvalidParams{Context: "TransformFilterCriteria"}
29786	if s.Name != nil && len(*s.Name) < 1 {
29787		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
29788	}
29789	if s.Schema != nil {
29790		for i, v := range s.Schema {
29791			if v == nil {
29792				continue
29793			}
29794			if err := v.Validate(); err != nil {
29795				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams))
29796			}
29797		}
29798	}
29799
29800	if invalidParams.Len() > 0 {
29801		return invalidParams
29802	}
29803	return nil
29804}
29805
29806// SetCreatedAfter sets the CreatedAfter field's value.
29807func (s *TransformFilterCriteria) SetCreatedAfter(v time.Time) *TransformFilterCriteria {
29808	s.CreatedAfter = &v
29809	return s
29810}
29811
29812// SetCreatedBefore sets the CreatedBefore field's value.
29813func (s *TransformFilterCriteria) SetCreatedBefore(v time.Time) *TransformFilterCriteria {
29814	s.CreatedBefore = &v
29815	return s
29816}
29817
29818// SetLastModifiedAfter sets the LastModifiedAfter field's value.
29819func (s *TransformFilterCriteria) SetLastModifiedAfter(v time.Time) *TransformFilterCriteria {
29820	s.LastModifiedAfter = &v
29821	return s
29822}
29823
29824// SetLastModifiedBefore sets the LastModifiedBefore field's value.
29825func (s *TransformFilterCriteria) SetLastModifiedBefore(v time.Time) *TransformFilterCriteria {
29826	s.LastModifiedBefore = &v
29827	return s
29828}
29829
29830// SetName sets the Name field's value.
29831func (s *TransformFilterCriteria) SetName(v string) *TransformFilterCriteria {
29832	s.Name = &v
29833	return s
29834}
29835
29836// SetSchema sets the Schema field's value.
29837func (s *TransformFilterCriteria) SetSchema(v []*SchemaColumn) *TransformFilterCriteria {
29838	s.Schema = v
29839	return s
29840}
29841
29842// SetStatus sets the Status field's value.
29843func (s *TransformFilterCriteria) SetStatus(v string) *TransformFilterCriteria {
29844	s.Status = &v
29845	return s
29846}
29847
29848// SetTransformType sets the TransformType field's value.
29849func (s *TransformFilterCriteria) SetTransformType(v string) *TransformFilterCriteria {
29850	s.TransformType = &v
29851	return s
29852}
29853
29854// The algorithm-specific parameters that are associated with the machine learning
29855// transform.
29856type TransformParameters struct {
29857	_ struct{} `type:"structure"`
29858
29859	// The parameters for the find matches algorithm.
29860	FindMatchesParameters *FindMatchesParameters `type:"structure"`
29861
29862	// The type of machine learning transform.
29863	//
29864	// For information about the types of machine learning transforms, see Creating
29865	// Machine Learning Transforms (http://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html).
29866	//
29867	// TransformType is a required field
29868	TransformType *string `type:"string" required:"true" enum:"TransformType"`
29869}
29870
29871// String returns the string representation
29872func (s TransformParameters) String() string {
29873	return awsutil.Prettify(s)
29874}
29875
29876// GoString returns the string representation
29877func (s TransformParameters) GoString() string {
29878	return s.String()
29879}
29880
29881// Validate inspects the fields of the type to determine if they are valid.
29882func (s *TransformParameters) Validate() error {
29883	invalidParams := request.ErrInvalidParams{Context: "TransformParameters"}
29884	if s.TransformType == nil {
29885		invalidParams.Add(request.NewErrParamRequired("TransformType"))
29886	}
29887	if s.FindMatchesParameters != nil {
29888		if err := s.FindMatchesParameters.Validate(); err != nil {
29889			invalidParams.AddNested("FindMatchesParameters", err.(request.ErrInvalidParams))
29890		}
29891	}
29892
29893	if invalidParams.Len() > 0 {
29894		return invalidParams
29895	}
29896	return nil
29897}
29898
29899// SetFindMatchesParameters sets the FindMatchesParameters field's value.
29900func (s *TransformParameters) SetFindMatchesParameters(v *FindMatchesParameters) *TransformParameters {
29901	s.FindMatchesParameters = v
29902	return s
29903}
29904
29905// SetTransformType sets the TransformType field's value.
29906func (s *TransformParameters) SetTransformType(v string) *TransformParameters {
29907	s.TransformType = &v
29908	return s
29909}
29910
29911// The sorting criteria that are associated with the machine learning transform.
29912type TransformSortCriteria struct {
29913	_ struct{} `type:"structure"`
29914
29915	// The column to be used in the sorting criteria that are associated with the
29916	// machine learning transform.
29917	//
29918	// Column is a required field
29919	Column *string `type:"string" required:"true" enum:"TransformSortColumnType"`
29920
29921	// The sort direction to be used in the sorting criteria that are associated
29922	// with the machine learning transform.
29923	//
29924	// SortDirection is a required field
29925	SortDirection *string `type:"string" required:"true" enum:"SortDirectionType"`
29926}
29927
29928// String returns the string representation
29929func (s TransformSortCriteria) String() string {
29930	return awsutil.Prettify(s)
29931}
29932
29933// GoString returns the string representation
29934func (s TransformSortCriteria) GoString() string {
29935	return s.String()
29936}
29937
29938// Validate inspects the fields of the type to determine if they are valid.
29939func (s *TransformSortCriteria) Validate() error {
29940	invalidParams := request.ErrInvalidParams{Context: "TransformSortCriteria"}
29941	if s.Column == nil {
29942		invalidParams.Add(request.NewErrParamRequired("Column"))
29943	}
29944	if s.SortDirection == nil {
29945		invalidParams.Add(request.NewErrParamRequired("SortDirection"))
29946	}
29947
29948	if invalidParams.Len() > 0 {
29949		return invalidParams
29950	}
29951	return nil
29952}
29953
29954// SetColumn sets the Column field's value.
29955func (s *TransformSortCriteria) SetColumn(v string) *TransformSortCriteria {
29956	s.Column = &v
29957	return s
29958}
29959
29960// SetSortDirection sets the SortDirection field's value.
29961func (s *TransformSortCriteria) SetSortDirection(v string) *TransformSortCriteria {
29962	s.SortDirection = &v
29963	return s
29964}
29965
29966// Information about a specific trigger.
29967type Trigger struct {
29968	_ struct{} `type:"structure"`
29969
29970	// The actions initiated by this trigger.
29971	Actions []*Action `type:"list"`
29972
29973	// A description of this trigger.
29974	Description *string `type:"string"`
29975
29976	// Reserved for future use.
29977	Id *string `min:"1" type:"string"`
29978
29979	// The name of the trigger.
29980	Name *string `min:"1" type:"string"`
29981
29982	// The predicate of this trigger, which defines when it will fire.
29983	Predicate *Predicate `type:"structure"`
29984
29985	// A cron expression used to specify the schedule (see Time-Based Schedules
29986	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
29987	// For example, to run something every day at 12:15 UTC, you would specify:
29988	// cron(15 12 * * ? *).
29989	Schedule *string `type:"string"`
29990
29991	// The current state of the trigger.
29992	State *string `type:"string" enum:"TriggerState"`
29993
29994	// The type of trigger that this is.
29995	Type *string `type:"string" enum:"TriggerType"`
29996
29997	// The name of the workflow associated with the trigger.
29998	WorkflowName *string `min:"1" type:"string"`
29999}
30000
30001// String returns the string representation
30002func (s Trigger) String() string {
30003	return awsutil.Prettify(s)
30004}
30005
30006// GoString returns the string representation
30007func (s Trigger) GoString() string {
30008	return s.String()
30009}
30010
30011// SetActions sets the Actions field's value.
30012func (s *Trigger) SetActions(v []*Action) *Trigger {
30013	s.Actions = v
30014	return s
30015}
30016
30017// SetDescription sets the Description field's value.
30018func (s *Trigger) SetDescription(v string) *Trigger {
30019	s.Description = &v
30020	return s
30021}
30022
30023// SetId sets the Id field's value.
30024func (s *Trigger) SetId(v string) *Trigger {
30025	s.Id = &v
30026	return s
30027}
30028
30029// SetName sets the Name field's value.
30030func (s *Trigger) SetName(v string) *Trigger {
30031	s.Name = &v
30032	return s
30033}
30034
30035// SetPredicate sets the Predicate field's value.
30036func (s *Trigger) SetPredicate(v *Predicate) *Trigger {
30037	s.Predicate = v
30038	return s
30039}
30040
30041// SetSchedule sets the Schedule field's value.
30042func (s *Trigger) SetSchedule(v string) *Trigger {
30043	s.Schedule = &v
30044	return s
30045}
30046
30047// SetState sets the State field's value.
30048func (s *Trigger) SetState(v string) *Trigger {
30049	s.State = &v
30050	return s
30051}
30052
30053// SetType sets the Type field's value.
30054func (s *Trigger) SetType(v string) *Trigger {
30055	s.Type = &v
30056	return s
30057}
30058
30059// SetWorkflowName sets the WorkflowName field's value.
30060func (s *Trigger) SetWorkflowName(v string) *Trigger {
30061	s.WorkflowName = &v
30062	return s
30063}
30064
30065// The details of a Trigger node present in the workflow.
30066type TriggerNodeDetails struct {
30067	_ struct{} `type:"structure"`
30068
30069	// The information of the trigger represented by the trigger node.
30070	Trigger *Trigger `type:"structure"`
30071}
30072
30073// String returns the string representation
30074func (s TriggerNodeDetails) String() string {
30075	return awsutil.Prettify(s)
30076}
30077
30078// GoString returns the string representation
30079func (s TriggerNodeDetails) GoString() string {
30080	return s.String()
30081}
30082
30083// SetTrigger sets the Trigger field's value.
30084func (s *TriggerNodeDetails) SetTrigger(v *Trigger) *TriggerNodeDetails {
30085	s.Trigger = v
30086	return s
30087}
30088
30089// A structure used to provide information used to update a trigger. This object
30090// updates the previous trigger definition by overwriting it completely.
30091type TriggerUpdate struct {
30092	_ struct{} `type:"structure"`
30093
30094	// The actions initiated by this trigger.
30095	Actions []*Action `type:"list"`
30096
30097	// A description of this trigger.
30098	Description *string `type:"string"`
30099
30100	// Reserved for future use.
30101	Name *string `min:"1" type:"string"`
30102
30103	// The predicate of this trigger, which defines when it will fire.
30104	Predicate *Predicate `type:"structure"`
30105
30106	// A cron expression used to specify the schedule (see Time-Based Schedules
30107	// for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30108	// For example, to run something every day at 12:15 UTC, you would specify:
30109	// cron(15 12 * * ? *).
30110	Schedule *string `type:"string"`
30111}
30112
30113// String returns the string representation
30114func (s TriggerUpdate) String() string {
30115	return awsutil.Prettify(s)
30116}
30117
30118// GoString returns the string representation
30119func (s TriggerUpdate) GoString() string {
30120	return s.String()
30121}
30122
30123// Validate inspects the fields of the type to determine if they are valid.
30124func (s *TriggerUpdate) Validate() error {
30125	invalidParams := request.ErrInvalidParams{Context: "TriggerUpdate"}
30126	if s.Name != nil && len(*s.Name) < 1 {
30127		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30128	}
30129	if s.Actions != nil {
30130		for i, v := range s.Actions {
30131			if v == nil {
30132				continue
30133			}
30134			if err := v.Validate(); err != nil {
30135				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
30136			}
30137		}
30138	}
30139	if s.Predicate != nil {
30140		if err := s.Predicate.Validate(); err != nil {
30141			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
30142		}
30143	}
30144
30145	if invalidParams.Len() > 0 {
30146		return invalidParams
30147	}
30148	return nil
30149}
30150
30151// SetActions sets the Actions field's value.
30152func (s *TriggerUpdate) SetActions(v []*Action) *TriggerUpdate {
30153	s.Actions = v
30154	return s
30155}
30156
30157// SetDescription sets the Description field's value.
30158func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate {
30159	s.Description = &v
30160	return s
30161}
30162
30163// SetName sets the Name field's value.
30164func (s *TriggerUpdate) SetName(v string) *TriggerUpdate {
30165	s.Name = &v
30166	return s
30167}
30168
30169// SetPredicate sets the Predicate field's value.
30170func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate {
30171	s.Predicate = v
30172	return s
30173}
30174
30175// SetSchedule sets the Schedule field's value.
30176func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate {
30177	s.Schedule = &v
30178	return s
30179}
30180
30181type UntagResourceInput struct {
30182	_ struct{} `type:"structure"`
30183
30184	// The Amazon Resource Name (ARN) of the resource from which to remove the tags.
30185	//
30186	// ResourceArn is a required field
30187	ResourceArn *string `min:"1" type:"string" required:"true"`
30188
30189	// Tags to remove from this resource.
30190	//
30191	// TagsToRemove is a required field
30192	TagsToRemove []*string `type:"list" required:"true"`
30193}
30194
30195// String returns the string representation
30196func (s UntagResourceInput) String() string {
30197	return awsutil.Prettify(s)
30198}
30199
30200// GoString returns the string representation
30201func (s UntagResourceInput) GoString() string {
30202	return s.String()
30203}
30204
30205// Validate inspects the fields of the type to determine if they are valid.
30206func (s *UntagResourceInput) Validate() error {
30207	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
30208	if s.ResourceArn == nil {
30209		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
30210	}
30211	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
30212		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
30213	}
30214	if s.TagsToRemove == nil {
30215		invalidParams.Add(request.NewErrParamRequired("TagsToRemove"))
30216	}
30217
30218	if invalidParams.Len() > 0 {
30219		return invalidParams
30220	}
30221	return nil
30222}
30223
30224// SetResourceArn sets the ResourceArn field's value.
30225func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
30226	s.ResourceArn = &v
30227	return s
30228}
30229
30230// SetTagsToRemove sets the TagsToRemove field's value.
30231func (s *UntagResourceInput) SetTagsToRemove(v []*string) *UntagResourceInput {
30232	s.TagsToRemove = v
30233	return s
30234}
30235
30236type UntagResourceOutput struct {
30237	_ struct{} `type:"structure"`
30238}
30239
30240// String returns the string representation
30241func (s UntagResourceOutput) String() string {
30242	return awsutil.Prettify(s)
30243}
30244
30245// GoString returns the string representation
30246func (s UntagResourceOutput) GoString() string {
30247	return s.String()
30248}
30249
30250type UpdateClassifierInput struct {
30251	_ struct{} `type:"structure"`
30252
30253	// A CsvClassifier object with updated fields.
30254	CsvClassifier *UpdateCsvClassifierRequest `type:"structure"`
30255
30256	// A GrokClassifier object with updated fields.
30257	GrokClassifier *UpdateGrokClassifierRequest `type:"structure"`
30258
30259	// A JsonClassifier object with updated fields.
30260	JsonClassifier *UpdateJsonClassifierRequest `type:"structure"`
30261
30262	// An XMLClassifier object with updated fields.
30263	XMLClassifier *UpdateXMLClassifierRequest `type:"structure"`
30264}
30265
30266// String returns the string representation
30267func (s UpdateClassifierInput) String() string {
30268	return awsutil.Prettify(s)
30269}
30270
30271// GoString returns the string representation
30272func (s UpdateClassifierInput) GoString() string {
30273	return s.String()
30274}
30275
30276// Validate inspects the fields of the type to determine if they are valid.
30277func (s *UpdateClassifierInput) Validate() error {
30278	invalidParams := request.ErrInvalidParams{Context: "UpdateClassifierInput"}
30279	if s.CsvClassifier != nil {
30280		if err := s.CsvClassifier.Validate(); err != nil {
30281			invalidParams.AddNested("CsvClassifier", err.(request.ErrInvalidParams))
30282		}
30283	}
30284	if s.GrokClassifier != nil {
30285		if err := s.GrokClassifier.Validate(); err != nil {
30286			invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams))
30287		}
30288	}
30289	if s.JsonClassifier != nil {
30290		if err := s.JsonClassifier.Validate(); err != nil {
30291			invalidParams.AddNested("JsonClassifier", err.(request.ErrInvalidParams))
30292		}
30293	}
30294	if s.XMLClassifier != nil {
30295		if err := s.XMLClassifier.Validate(); err != nil {
30296			invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams))
30297		}
30298	}
30299
30300	if invalidParams.Len() > 0 {
30301		return invalidParams
30302	}
30303	return nil
30304}
30305
30306// SetCsvClassifier sets the CsvClassifier field's value.
30307func (s *UpdateClassifierInput) SetCsvClassifier(v *UpdateCsvClassifierRequest) *UpdateClassifierInput {
30308	s.CsvClassifier = v
30309	return s
30310}
30311
30312// SetGrokClassifier sets the GrokClassifier field's value.
30313func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput {
30314	s.GrokClassifier = v
30315	return s
30316}
30317
30318// SetJsonClassifier sets the JsonClassifier field's value.
30319func (s *UpdateClassifierInput) SetJsonClassifier(v *UpdateJsonClassifierRequest) *UpdateClassifierInput {
30320	s.JsonClassifier = v
30321	return s
30322}
30323
30324// SetXMLClassifier sets the XMLClassifier field's value.
30325func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput {
30326	s.XMLClassifier = v
30327	return s
30328}
30329
30330type UpdateClassifierOutput struct {
30331	_ struct{} `type:"structure"`
30332}
30333
30334// String returns the string representation
30335func (s UpdateClassifierOutput) String() string {
30336	return awsutil.Prettify(s)
30337}
30338
30339// GoString returns the string representation
30340func (s UpdateClassifierOutput) GoString() string {
30341	return s.String()
30342}
30343
30344type UpdateConnectionInput struct {
30345	_ struct{} `type:"structure"`
30346
30347	// The ID of the Data Catalog in which the connection resides. If none is provided,
30348	// the AWS account ID is used by default.
30349	CatalogId *string `min:"1" type:"string"`
30350
30351	// A ConnectionInput object that redefines the connection in question.
30352	//
30353	// ConnectionInput is a required field
30354	ConnectionInput *ConnectionInput `type:"structure" required:"true"`
30355
30356	// The name of the connection definition to update.
30357	//
30358	// Name is a required field
30359	Name *string `min:"1" type:"string" required:"true"`
30360}
30361
30362// String returns the string representation
30363func (s UpdateConnectionInput) String() string {
30364	return awsutil.Prettify(s)
30365}
30366
30367// GoString returns the string representation
30368func (s UpdateConnectionInput) GoString() string {
30369	return s.String()
30370}
30371
30372// Validate inspects the fields of the type to determine if they are valid.
30373func (s *UpdateConnectionInput) Validate() error {
30374	invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"}
30375	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30376		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30377	}
30378	if s.ConnectionInput == nil {
30379		invalidParams.Add(request.NewErrParamRequired("ConnectionInput"))
30380	}
30381	if s.Name == nil {
30382		invalidParams.Add(request.NewErrParamRequired("Name"))
30383	}
30384	if s.Name != nil && len(*s.Name) < 1 {
30385		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30386	}
30387	if s.ConnectionInput != nil {
30388		if err := s.ConnectionInput.Validate(); err != nil {
30389			invalidParams.AddNested("ConnectionInput", err.(request.ErrInvalidParams))
30390		}
30391	}
30392
30393	if invalidParams.Len() > 0 {
30394		return invalidParams
30395	}
30396	return nil
30397}
30398
30399// SetCatalogId sets the CatalogId field's value.
30400func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput {
30401	s.CatalogId = &v
30402	return s
30403}
30404
30405// SetConnectionInput sets the ConnectionInput field's value.
30406func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput {
30407	s.ConnectionInput = v
30408	return s
30409}
30410
30411// SetName sets the Name field's value.
30412func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput {
30413	s.Name = &v
30414	return s
30415}
30416
30417type UpdateConnectionOutput struct {
30418	_ struct{} `type:"structure"`
30419}
30420
30421// String returns the string representation
30422func (s UpdateConnectionOutput) String() string {
30423	return awsutil.Prettify(s)
30424}
30425
30426// GoString returns the string representation
30427func (s UpdateConnectionOutput) GoString() string {
30428	return s.String()
30429}
30430
30431type UpdateCrawlerInput struct {
30432	_ struct{} `type:"structure"`
30433
30434	// A list of custom classifiers that the user has registered. By default, all
30435	// built-in classifiers are included in a crawl, but these custom classifiers
30436	// always override the default classifiers for a given classification.
30437	Classifiers []*string `type:"list"`
30438
30439	// The crawler configuration information. This versioned JSON string allows
30440	// users to specify aspects of a crawler's behavior. For more information, see
30441	// Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).
30442	Configuration *string `type:"string"`
30443
30444	// The name of the SecurityConfiguration structure to be used by this crawler.
30445	CrawlerSecurityConfiguration *string `type:"string"`
30446
30447	// The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
30448	DatabaseName *string `type:"string"`
30449
30450	// A description of the new crawler.
30451	Description *string `type:"string"`
30452
30453	// Name of the new crawler.
30454	//
30455	// Name is a required field
30456	Name *string `min:"1" type:"string" required:"true"`
30457
30458	// The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by
30459	// the new crawler to access customer resources.
30460	Role *string `type:"string"`
30461
30462	// A cron expression used to specify the schedule. For more information, see
30463	// Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30464	// For example, to run something every day at 12:15 UTC, specify cron(15 12
30465	// * * ? *).
30466	Schedule *string `type:"string"`
30467
30468	// The policy for the crawler's update and deletion behavior.
30469	SchemaChangePolicy *SchemaChangePolicy `type:"structure"`
30470
30471	// The table prefix used for catalog tables that are created.
30472	TablePrefix *string `type:"string"`
30473
30474	// A list of targets to crawl.
30475	Targets *CrawlerTargets `type:"structure"`
30476}
30477
30478// String returns the string representation
30479func (s UpdateCrawlerInput) String() string {
30480	return awsutil.Prettify(s)
30481}
30482
30483// GoString returns the string representation
30484func (s UpdateCrawlerInput) GoString() string {
30485	return s.String()
30486}
30487
30488// Validate inspects the fields of the type to determine if they are valid.
30489func (s *UpdateCrawlerInput) Validate() error {
30490	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerInput"}
30491	if s.Name == nil {
30492		invalidParams.Add(request.NewErrParamRequired("Name"))
30493	}
30494	if s.Name != nil && len(*s.Name) < 1 {
30495		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30496	}
30497	if s.Targets != nil {
30498		if err := s.Targets.Validate(); err != nil {
30499			invalidParams.AddNested("Targets", err.(request.ErrInvalidParams))
30500		}
30501	}
30502
30503	if invalidParams.Len() > 0 {
30504		return invalidParams
30505	}
30506	return nil
30507}
30508
30509// SetClassifiers sets the Classifiers field's value.
30510func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput {
30511	s.Classifiers = v
30512	return s
30513}
30514
30515// SetConfiguration sets the Configuration field's value.
30516func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput {
30517	s.Configuration = &v
30518	return s
30519}
30520
30521// SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.
30522func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput {
30523	s.CrawlerSecurityConfiguration = &v
30524	return s
30525}
30526
30527// SetDatabaseName sets the DatabaseName field's value.
30528func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput {
30529	s.DatabaseName = &v
30530	return s
30531}
30532
30533// SetDescription sets the Description field's value.
30534func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput {
30535	s.Description = &v
30536	return s
30537}
30538
30539// SetName sets the Name field's value.
30540func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput {
30541	s.Name = &v
30542	return s
30543}
30544
30545// SetRole sets the Role field's value.
30546func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput {
30547	s.Role = &v
30548	return s
30549}
30550
30551// SetSchedule sets the Schedule field's value.
30552func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput {
30553	s.Schedule = &v
30554	return s
30555}
30556
30557// SetSchemaChangePolicy sets the SchemaChangePolicy field's value.
30558func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput {
30559	s.SchemaChangePolicy = v
30560	return s
30561}
30562
30563// SetTablePrefix sets the TablePrefix field's value.
30564func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput {
30565	s.TablePrefix = &v
30566	return s
30567}
30568
30569// SetTargets sets the Targets field's value.
30570func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput {
30571	s.Targets = v
30572	return s
30573}
30574
30575type UpdateCrawlerOutput struct {
30576	_ struct{} `type:"structure"`
30577}
30578
30579// String returns the string representation
30580func (s UpdateCrawlerOutput) String() string {
30581	return awsutil.Prettify(s)
30582}
30583
30584// GoString returns the string representation
30585func (s UpdateCrawlerOutput) GoString() string {
30586	return s.String()
30587}
30588
30589type UpdateCrawlerScheduleInput struct {
30590	_ struct{} `type:"structure"`
30591
30592	// The name of the crawler whose schedule to update.
30593	//
30594	// CrawlerName is a required field
30595	CrawlerName *string `min:"1" type:"string" required:"true"`
30596
30597	// The updated cron expression used to specify the schedule. For more information,
30598	// see Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html).
30599	// For example, to run something every day at 12:15 UTC, specify cron(15 12
30600	// * * ? *).
30601	Schedule *string `type:"string"`
30602}
30603
30604// String returns the string representation
30605func (s UpdateCrawlerScheduleInput) String() string {
30606	return awsutil.Prettify(s)
30607}
30608
30609// GoString returns the string representation
30610func (s UpdateCrawlerScheduleInput) GoString() string {
30611	return s.String()
30612}
30613
30614// Validate inspects the fields of the type to determine if they are valid.
30615func (s *UpdateCrawlerScheduleInput) Validate() error {
30616	invalidParams := request.ErrInvalidParams{Context: "UpdateCrawlerScheduleInput"}
30617	if s.CrawlerName == nil {
30618		invalidParams.Add(request.NewErrParamRequired("CrawlerName"))
30619	}
30620	if s.CrawlerName != nil && len(*s.CrawlerName) < 1 {
30621		invalidParams.Add(request.NewErrParamMinLen("CrawlerName", 1))
30622	}
30623
30624	if invalidParams.Len() > 0 {
30625		return invalidParams
30626	}
30627	return nil
30628}
30629
30630// SetCrawlerName sets the CrawlerName field's value.
30631func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput {
30632	s.CrawlerName = &v
30633	return s
30634}
30635
30636// SetSchedule sets the Schedule field's value.
30637func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput {
30638	s.Schedule = &v
30639	return s
30640}
30641
30642type UpdateCrawlerScheduleOutput struct {
30643	_ struct{} `type:"structure"`
30644}
30645
30646// String returns the string representation
30647func (s UpdateCrawlerScheduleOutput) String() string {
30648	return awsutil.Prettify(s)
30649}
30650
30651// GoString returns the string representation
30652func (s UpdateCrawlerScheduleOutput) GoString() string {
30653	return s.String()
30654}
30655
30656// Specifies a custom CSV classifier to be updated.
30657type UpdateCsvClassifierRequest struct {
30658	_ struct{} `type:"structure"`
30659
30660	// Enables the processing of files that contain only one column.
30661	AllowSingleColumn *bool `type:"boolean"`
30662
30663	// Indicates whether the CSV file contains a header.
30664	ContainsHeader *string `type:"string" enum:"CsvHeaderOption"`
30665
30666	// A custom symbol to denote what separates each column entry in the row.
30667	Delimiter *string `min:"1" type:"string"`
30668
30669	// Specifies not to trim values before identifying the type of column values.
30670	// The default value is true.
30671	DisableValueTrimming *bool `type:"boolean"`
30672
30673	// A list of strings representing column names.
30674	Header []*string `type:"list"`
30675
30676	// The name of the classifier.
30677	//
30678	// Name is a required field
30679	Name *string `min:"1" type:"string" required:"true"`
30680
30681	// A custom symbol to denote what combines content into a single column value.
30682	// It must be different from the column delimiter.
30683	QuoteSymbol *string `min:"1" type:"string"`
30684}
30685
30686// String returns the string representation
30687func (s UpdateCsvClassifierRequest) String() string {
30688	return awsutil.Prettify(s)
30689}
30690
30691// GoString returns the string representation
30692func (s UpdateCsvClassifierRequest) GoString() string {
30693	return s.String()
30694}
30695
30696// Validate inspects the fields of the type to determine if they are valid.
30697func (s *UpdateCsvClassifierRequest) Validate() error {
30698	invalidParams := request.ErrInvalidParams{Context: "UpdateCsvClassifierRequest"}
30699	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
30700		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
30701	}
30702	if s.Name == nil {
30703		invalidParams.Add(request.NewErrParamRequired("Name"))
30704	}
30705	if s.Name != nil && len(*s.Name) < 1 {
30706		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30707	}
30708	if s.QuoteSymbol != nil && len(*s.QuoteSymbol) < 1 {
30709		invalidParams.Add(request.NewErrParamMinLen("QuoteSymbol", 1))
30710	}
30711
30712	if invalidParams.Len() > 0 {
30713		return invalidParams
30714	}
30715	return nil
30716}
30717
30718// SetAllowSingleColumn sets the AllowSingleColumn field's value.
30719func (s *UpdateCsvClassifierRequest) SetAllowSingleColumn(v bool) *UpdateCsvClassifierRequest {
30720	s.AllowSingleColumn = &v
30721	return s
30722}
30723
30724// SetContainsHeader sets the ContainsHeader field's value.
30725func (s *UpdateCsvClassifierRequest) SetContainsHeader(v string) *UpdateCsvClassifierRequest {
30726	s.ContainsHeader = &v
30727	return s
30728}
30729
30730// SetDelimiter sets the Delimiter field's value.
30731func (s *UpdateCsvClassifierRequest) SetDelimiter(v string) *UpdateCsvClassifierRequest {
30732	s.Delimiter = &v
30733	return s
30734}
30735
30736// SetDisableValueTrimming sets the DisableValueTrimming field's value.
30737func (s *UpdateCsvClassifierRequest) SetDisableValueTrimming(v bool) *UpdateCsvClassifierRequest {
30738	s.DisableValueTrimming = &v
30739	return s
30740}
30741
30742// SetHeader sets the Header field's value.
30743func (s *UpdateCsvClassifierRequest) SetHeader(v []*string) *UpdateCsvClassifierRequest {
30744	s.Header = v
30745	return s
30746}
30747
30748// SetName sets the Name field's value.
30749func (s *UpdateCsvClassifierRequest) SetName(v string) *UpdateCsvClassifierRequest {
30750	s.Name = &v
30751	return s
30752}
30753
30754// SetQuoteSymbol sets the QuoteSymbol field's value.
30755func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest {
30756	s.QuoteSymbol = &v
30757	return s
30758}
30759
30760type UpdateDatabaseInput struct {
30761	_ struct{} `type:"structure"`
30762
30763	// The ID of the Data Catalog in which the metadata database resides. If none
30764	// is provided, the AWS account ID is used by default.
30765	CatalogId *string `min:"1" type:"string"`
30766
30767	// A DatabaseInput object specifying the new definition of the metadata database
30768	// in the catalog.
30769	//
30770	// DatabaseInput is a required field
30771	DatabaseInput *DatabaseInput `type:"structure" required:"true"`
30772
30773	// The name of the database to update in the catalog. For Hive compatibility,
30774	// this is folded to lowercase.
30775	//
30776	// Name is a required field
30777	Name *string `min:"1" type:"string" required:"true"`
30778}
30779
30780// String returns the string representation
30781func (s UpdateDatabaseInput) String() string {
30782	return awsutil.Prettify(s)
30783}
30784
30785// GoString returns the string representation
30786func (s UpdateDatabaseInput) GoString() string {
30787	return s.String()
30788}
30789
30790// Validate inspects the fields of the type to determine if they are valid.
30791func (s *UpdateDatabaseInput) Validate() error {
30792	invalidParams := request.ErrInvalidParams{Context: "UpdateDatabaseInput"}
30793	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
30794		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
30795	}
30796	if s.DatabaseInput == nil {
30797		invalidParams.Add(request.NewErrParamRequired("DatabaseInput"))
30798	}
30799	if s.Name == nil {
30800		invalidParams.Add(request.NewErrParamRequired("Name"))
30801	}
30802	if s.Name != nil && len(*s.Name) < 1 {
30803		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30804	}
30805	if s.DatabaseInput != nil {
30806		if err := s.DatabaseInput.Validate(); err != nil {
30807			invalidParams.AddNested("DatabaseInput", err.(request.ErrInvalidParams))
30808		}
30809	}
30810
30811	if invalidParams.Len() > 0 {
30812		return invalidParams
30813	}
30814	return nil
30815}
30816
30817// SetCatalogId sets the CatalogId field's value.
30818func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput {
30819	s.CatalogId = &v
30820	return s
30821}
30822
30823// SetDatabaseInput sets the DatabaseInput field's value.
30824func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput {
30825	s.DatabaseInput = v
30826	return s
30827}
30828
30829// SetName sets the Name field's value.
30830func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput {
30831	s.Name = &v
30832	return s
30833}
30834
30835type UpdateDatabaseOutput struct {
30836	_ struct{} `type:"structure"`
30837}
30838
30839// String returns the string representation
30840func (s UpdateDatabaseOutput) String() string {
30841	return awsutil.Prettify(s)
30842}
30843
30844// GoString returns the string representation
30845func (s UpdateDatabaseOutput) GoString() string {
30846	return s.String()
30847}
30848
30849type UpdateDevEndpointInput struct {
30850	_ struct{} `type:"structure"`
30851
30852	// The map of arguments to add the map of arguments used to configure the DevEndpoint.
30853	//
30854	// Valid arguments are:
30855	//
30856	//    * "--enable-glue-datacatalog": ""
30857	//
30858	//    * "GLUE_PYTHON_VERSION": "3"
30859	//
30860	//    * "GLUE_PYTHON_VERSION": "2"
30861	//
30862	// You can specify a version of Python support for development endpoints by
30863	// using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint
30864	// APIs. If no arguments are provided, the version defaults to Python 2.
30865	AddArguments map[string]*string `type:"map"`
30866
30867	// The list of public keys for the DevEndpoint to use.
30868	AddPublicKeys []*string `type:"list"`
30869
30870	// Custom Python or Java libraries to be loaded in the DevEndpoint.
30871	CustomLibraries *DevEndpointCustomLibraries `type:"structure"`
30872
30873	// The list of argument keys to be deleted from the map of arguments used to
30874	// configure the DevEndpoint.
30875	DeleteArguments []*string `type:"list"`
30876
30877	// The list of public keys to be deleted from the DevEndpoint.
30878	DeletePublicKeys []*string `type:"list"`
30879
30880	// The name of the DevEndpoint to be updated.
30881	//
30882	// EndpointName is a required field
30883	EndpointName *string `type:"string" required:"true"`
30884
30885	// The public key for the DevEndpoint to use.
30886	PublicKey *string `type:"string"`
30887
30888	// True if the list of custom libraries to be loaded in the development endpoint
30889	// needs to be updated, or False if otherwise.
30890	UpdateEtlLibraries *bool `type:"boolean"`
30891}
30892
30893// String returns the string representation
30894func (s UpdateDevEndpointInput) String() string {
30895	return awsutil.Prettify(s)
30896}
30897
30898// GoString returns the string representation
30899func (s UpdateDevEndpointInput) GoString() string {
30900	return s.String()
30901}
30902
30903// Validate inspects the fields of the type to determine if they are valid.
30904func (s *UpdateDevEndpointInput) Validate() error {
30905	invalidParams := request.ErrInvalidParams{Context: "UpdateDevEndpointInput"}
30906	if s.EndpointName == nil {
30907		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
30908	}
30909
30910	if invalidParams.Len() > 0 {
30911		return invalidParams
30912	}
30913	return nil
30914}
30915
30916// SetAddArguments sets the AddArguments field's value.
30917func (s *UpdateDevEndpointInput) SetAddArguments(v map[string]*string) *UpdateDevEndpointInput {
30918	s.AddArguments = v
30919	return s
30920}
30921
30922// SetAddPublicKeys sets the AddPublicKeys field's value.
30923func (s *UpdateDevEndpointInput) SetAddPublicKeys(v []*string) *UpdateDevEndpointInput {
30924	s.AddPublicKeys = v
30925	return s
30926}
30927
30928// SetCustomLibraries sets the CustomLibraries field's value.
30929func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput {
30930	s.CustomLibraries = v
30931	return s
30932}
30933
30934// SetDeleteArguments sets the DeleteArguments field's value.
30935func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput {
30936	s.DeleteArguments = v
30937	return s
30938}
30939
30940// SetDeletePublicKeys sets the DeletePublicKeys field's value.
30941func (s *UpdateDevEndpointInput) SetDeletePublicKeys(v []*string) *UpdateDevEndpointInput {
30942	s.DeletePublicKeys = v
30943	return s
30944}
30945
30946// SetEndpointName sets the EndpointName field's value.
30947func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput {
30948	s.EndpointName = &v
30949	return s
30950}
30951
30952// SetPublicKey sets the PublicKey field's value.
30953func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput {
30954	s.PublicKey = &v
30955	return s
30956}
30957
30958// SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value.
30959func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput {
30960	s.UpdateEtlLibraries = &v
30961	return s
30962}
30963
30964type UpdateDevEndpointOutput struct {
30965	_ struct{} `type:"structure"`
30966}
30967
30968// String returns the string representation
30969func (s UpdateDevEndpointOutput) String() string {
30970	return awsutil.Prettify(s)
30971}
30972
30973// GoString returns the string representation
30974func (s UpdateDevEndpointOutput) GoString() string {
30975	return s.String()
30976}
30977
30978// Specifies a grok classifier to update when passed to UpdateClassifier.
30979type UpdateGrokClassifierRequest struct {
30980	_ struct{} `type:"structure"`
30981
30982	// An identifier of the data format that the classifier matches, such as Twitter,
30983	// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
30984	Classification *string `type:"string"`
30985
30986	// Optional custom grok patterns used by this classifier.
30987	CustomPatterns *string `type:"string"`
30988
30989	// The grok pattern used by this classifier.
30990	GrokPattern *string `min:"1" type:"string"`
30991
30992	// The name of the GrokClassifier.
30993	//
30994	// Name is a required field
30995	Name *string `min:"1" type:"string" required:"true"`
30996}
30997
30998// String returns the string representation
30999func (s UpdateGrokClassifierRequest) String() string {
31000	return awsutil.Prettify(s)
31001}
31002
31003// GoString returns the string representation
31004func (s UpdateGrokClassifierRequest) GoString() string {
31005	return s.String()
31006}
31007
31008// Validate inspects the fields of the type to determine if they are valid.
31009func (s *UpdateGrokClassifierRequest) Validate() error {
31010	invalidParams := request.ErrInvalidParams{Context: "UpdateGrokClassifierRequest"}
31011	if s.GrokPattern != nil && len(*s.GrokPattern) < 1 {
31012		invalidParams.Add(request.NewErrParamMinLen("GrokPattern", 1))
31013	}
31014	if s.Name == nil {
31015		invalidParams.Add(request.NewErrParamRequired("Name"))
31016	}
31017	if s.Name != nil && len(*s.Name) < 1 {
31018		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31019	}
31020
31021	if invalidParams.Len() > 0 {
31022		return invalidParams
31023	}
31024	return nil
31025}
31026
31027// SetClassification sets the Classification field's value.
31028func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest {
31029	s.Classification = &v
31030	return s
31031}
31032
31033// SetCustomPatterns sets the CustomPatterns field's value.
31034func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest {
31035	s.CustomPatterns = &v
31036	return s
31037}
31038
31039// SetGrokPattern sets the GrokPattern field's value.
31040func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest {
31041	s.GrokPattern = &v
31042	return s
31043}
31044
31045// SetName sets the Name field's value.
31046func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest {
31047	s.Name = &v
31048	return s
31049}
31050
31051type UpdateJobInput struct {
31052	_ struct{} `type:"structure"`
31053
31054	// The name of the job definition to update.
31055	//
31056	// JobName is a required field
31057	JobName *string `min:"1" type:"string" required:"true"`
31058
31059	// Specifies the values with which to update the job definition.
31060	//
31061	// JobUpdate is a required field
31062	JobUpdate *JobUpdate `type:"structure" required:"true"`
31063}
31064
31065// String returns the string representation
31066func (s UpdateJobInput) String() string {
31067	return awsutil.Prettify(s)
31068}
31069
31070// GoString returns the string representation
31071func (s UpdateJobInput) GoString() string {
31072	return s.String()
31073}
31074
31075// Validate inspects the fields of the type to determine if they are valid.
31076func (s *UpdateJobInput) Validate() error {
31077	invalidParams := request.ErrInvalidParams{Context: "UpdateJobInput"}
31078	if s.JobName == nil {
31079		invalidParams.Add(request.NewErrParamRequired("JobName"))
31080	}
31081	if s.JobName != nil && len(*s.JobName) < 1 {
31082		invalidParams.Add(request.NewErrParamMinLen("JobName", 1))
31083	}
31084	if s.JobUpdate == nil {
31085		invalidParams.Add(request.NewErrParamRequired("JobUpdate"))
31086	}
31087	if s.JobUpdate != nil {
31088		if err := s.JobUpdate.Validate(); err != nil {
31089			invalidParams.AddNested("JobUpdate", err.(request.ErrInvalidParams))
31090		}
31091	}
31092
31093	if invalidParams.Len() > 0 {
31094		return invalidParams
31095	}
31096	return nil
31097}
31098
31099// SetJobName sets the JobName field's value.
31100func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput {
31101	s.JobName = &v
31102	return s
31103}
31104
31105// SetJobUpdate sets the JobUpdate field's value.
31106func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput {
31107	s.JobUpdate = v
31108	return s
31109}
31110
31111type UpdateJobOutput struct {
31112	_ struct{} `type:"structure"`
31113
31114	// Returns the name of the updated job definition.
31115	JobName *string `min:"1" type:"string"`
31116}
31117
31118// String returns the string representation
31119func (s UpdateJobOutput) String() string {
31120	return awsutil.Prettify(s)
31121}
31122
31123// GoString returns the string representation
31124func (s UpdateJobOutput) GoString() string {
31125	return s.String()
31126}
31127
31128// SetJobName sets the JobName field's value.
31129func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput {
31130	s.JobName = &v
31131	return s
31132}
31133
31134// Specifies a JSON classifier to be updated.
31135type UpdateJsonClassifierRequest struct {
31136	_ struct{} `type:"structure"`
31137
31138	// A JsonPath string defining the JSON data for the classifier to classify.
31139	// AWS Glue supports a subset of JsonPath, as described in Writing JsonPath
31140	// Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).
31141	JsonPath *string `type:"string"`
31142
31143	// The name of the classifier.
31144	//
31145	// Name is a required field
31146	Name *string `min:"1" type:"string" required:"true"`
31147}
31148
31149// String returns the string representation
31150func (s UpdateJsonClassifierRequest) String() string {
31151	return awsutil.Prettify(s)
31152}
31153
31154// GoString returns the string representation
31155func (s UpdateJsonClassifierRequest) GoString() string {
31156	return s.String()
31157}
31158
31159// Validate inspects the fields of the type to determine if they are valid.
31160func (s *UpdateJsonClassifierRequest) Validate() error {
31161	invalidParams := request.ErrInvalidParams{Context: "UpdateJsonClassifierRequest"}
31162	if s.Name == nil {
31163		invalidParams.Add(request.NewErrParamRequired("Name"))
31164	}
31165	if s.Name != nil && len(*s.Name) < 1 {
31166		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31167	}
31168
31169	if invalidParams.Len() > 0 {
31170		return invalidParams
31171	}
31172	return nil
31173}
31174
31175// SetJsonPath sets the JsonPath field's value.
31176func (s *UpdateJsonClassifierRequest) SetJsonPath(v string) *UpdateJsonClassifierRequest {
31177	s.JsonPath = &v
31178	return s
31179}
31180
31181// SetName sets the Name field's value.
31182func (s *UpdateJsonClassifierRequest) SetName(v string) *UpdateJsonClassifierRequest {
31183	s.Name = &v
31184	return s
31185}
31186
31187type UpdateMLTransformInput struct {
31188	_ struct{} `type:"structure"`
31189
31190	// A description of the transform. The default is an empty string.
31191	Description *string `type:"string"`
31192
31193	// The number of AWS Glue data processing units (DPUs) that are allocated to
31194	// task runs for this transform. You can allocate from 2 to 100 DPUs; the default
31195	// is 10. A DPU is a relative measure of processing power that consists of 4
31196	// vCPUs of compute capacity and 16 GB of memory. For more information, see
31197	// the AWS Glue pricing page (https://aws.amazon.com/glue/pricing/).
31198	//
31199	// When the WorkerType field is set to a value other than Standard, the MaxCapacity
31200	// field is set automatically and becomes read-only.
31201	MaxCapacity *float64 `type:"double"`
31202
31203	// The maximum number of times to retry a task for this transform after a task
31204	// run fails.
31205	MaxRetries *int64 `type:"integer"`
31206
31207	// The unique name that you gave the transform when you created it.
31208	Name *string `min:"1" type:"string"`
31209
31210	// The number of workers of a defined workerType that are allocated when this
31211	// task runs.
31212	NumberOfWorkers *int64 `type:"integer"`
31213
31214	// The configuration parameters that are specific to the transform type (algorithm)
31215	// used. Conditionally dependent on the transform type.
31216	Parameters *TransformParameters `type:"structure"`
31217
31218	// The name or Amazon Resource Name (ARN) of the IAM role with the required
31219	// permissions.
31220	Role *string `type:"string"`
31221
31222	// The timeout for a task run for this transform in minutes. This is the maximum
31223	// time that a task run for this transform can consume resources before it is
31224	// terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
31225	Timeout *int64 `min:"1" type:"integer"`
31226
31227	// A unique identifier that was generated when the transform was created.
31228	//
31229	// TransformId is a required field
31230	TransformId *string `min:"1" type:"string" required:"true"`
31231
31232	// The type of predefined worker that is allocated when this task runs. Accepts
31233	// a value of Standard, G.1X, or G.2X.
31234	//
31235	//    * For the Standard worker type, each worker provides 4 vCPU, 16 GB of
31236	//    memory and a 50GB disk, and 2 executors per worker.
31237	//
31238	//    * For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory
31239	//    and a 64GB disk, and 1 executor per worker.
31240	//
31241	//    * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory
31242	//    and a 128GB disk, and 1 executor per worker.
31243	WorkerType *string `type:"string" enum:"WorkerType"`
31244}
31245
31246// String returns the string representation
31247func (s UpdateMLTransformInput) String() string {
31248	return awsutil.Prettify(s)
31249}
31250
31251// GoString returns the string representation
31252func (s UpdateMLTransformInput) GoString() string {
31253	return s.String()
31254}
31255
31256// Validate inspects the fields of the type to determine if they are valid.
31257func (s *UpdateMLTransformInput) Validate() error {
31258	invalidParams := request.ErrInvalidParams{Context: "UpdateMLTransformInput"}
31259	if s.Name != nil && len(*s.Name) < 1 {
31260		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31261	}
31262	if s.Timeout != nil && *s.Timeout < 1 {
31263		invalidParams.Add(request.NewErrParamMinValue("Timeout", 1))
31264	}
31265	if s.TransformId == nil {
31266		invalidParams.Add(request.NewErrParamRequired("TransformId"))
31267	}
31268	if s.TransformId != nil && len(*s.TransformId) < 1 {
31269		invalidParams.Add(request.NewErrParamMinLen("TransformId", 1))
31270	}
31271	if s.Parameters != nil {
31272		if err := s.Parameters.Validate(); err != nil {
31273			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
31274		}
31275	}
31276
31277	if invalidParams.Len() > 0 {
31278		return invalidParams
31279	}
31280	return nil
31281}
31282
31283// SetDescription sets the Description field's value.
31284func (s *UpdateMLTransformInput) SetDescription(v string) *UpdateMLTransformInput {
31285	s.Description = &v
31286	return s
31287}
31288
31289// SetMaxCapacity sets the MaxCapacity field's value.
31290func (s *UpdateMLTransformInput) SetMaxCapacity(v float64) *UpdateMLTransformInput {
31291	s.MaxCapacity = &v
31292	return s
31293}
31294
31295// SetMaxRetries sets the MaxRetries field's value.
31296func (s *UpdateMLTransformInput) SetMaxRetries(v int64) *UpdateMLTransformInput {
31297	s.MaxRetries = &v
31298	return s
31299}
31300
31301// SetName sets the Name field's value.
31302func (s *UpdateMLTransformInput) SetName(v string) *UpdateMLTransformInput {
31303	s.Name = &v
31304	return s
31305}
31306
31307// SetNumberOfWorkers sets the NumberOfWorkers field's value.
31308func (s *UpdateMLTransformInput) SetNumberOfWorkers(v int64) *UpdateMLTransformInput {
31309	s.NumberOfWorkers = &v
31310	return s
31311}
31312
31313// SetParameters sets the Parameters field's value.
31314func (s *UpdateMLTransformInput) SetParameters(v *TransformParameters) *UpdateMLTransformInput {
31315	s.Parameters = v
31316	return s
31317}
31318
31319// SetRole sets the Role field's value.
31320func (s *UpdateMLTransformInput) SetRole(v string) *UpdateMLTransformInput {
31321	s.Role = &v
31322	return s
31323}
31324
31325// SetTimeout sets the Timeout field's value.
31326func (s *UpdateMLTransformInput) SetTimeout(v int64) *UpdateMLTransformInput {
31327	s.Timeout = &v
31328	return s
31329}
31330
31331// SetTransformId sets the TransformId field's value.
31332func (s *UpdateMLTransformInput) SetTransformId(v string) *UpdateMLTransformInput {
31333	s.TransformId = &v
31334	return s
31335}
31336
31337// SetWorkerType sets the WorkerType field's value.
31338func (s *UpdateMLTransformInput) SetWorkerType(v string) *UpdateMLTransformInput {
31339	s.WorkerType = &v
31340	return s
31341}
31342
31343type UpdateMLTransformOutput struct {
31344	_ struct{} `type:"structure"`
31345
31346	// The unique identifier for the transform that was updated.
31347	TransformId *string `min:"1" type:"string"`
31348}
31349
31350// String returns the string representation
31351func (s UpdateMLTransformOutput) String() string {
31352	return awsutil.Prettify(s)
31353}
31354
31355// GoString returns the string representation
31356func (s UpdateMLTransformOutput) GoString() string {
31357	return s.String()
31358}
31359
31360// SetTransformId sets the TransformId field's value.
31361func (s *UpdateMLTransformOutput) SetTransformId(v string) *UpdateMLTransformOutput {
31362	s.TransformId = &v
31363	return s
31364}
31365
31366type UpdatePartitionInput struct {
31367	_ struct{} `type:"structure"`
31368
31369	// The ID of the Data Catalog where the partition to be updated resides. If
31370	// none is provided, the AWS account ID is used by default.
31371	CatalogId *string `min:"1" type:"string"`
31372
31373	// The name of the catalog database in which the table in question resides.
31374	//
31375	// DatabaseName is a required field
31376	DatabaseName *string `min:"1" type:"string" required:"true"`
31377
31378	// The new partition object to update the partition to.
31379	//
31380	// PartitionInput is a required field
31381	PartitionInput *PartitionInput `type:"structure" required:"true"`
31382
31383	// A list of the values defining the partition.
31384	//
31385	// PartitionValueList is a required field
31386	PartitionValueList []*string `type:"list" required:"true"`
31387
31388	// The name of the table in which the partition to be updated is located.
31389	//
31390	// TableName is a required field
31391	TableName *string `min:"1" type:"string" required:"true"`
31392}
31393
31394// String returns the string representation
31395func (s UpdatePartitionInput) String() string {
31396	return awsutil.Prettify(s)
31397}
31398
31399// GoString returns the string representation
31400func (s UpdatePartitionInput) GoString() string {
31401	return s.String()
31402}
31403
31404// Validate inspects the fields of the type to determine if they are valid.
31405func (s *UpdatePartitionInput) Validate() error {
31406	invalidParams := request.ErrInvalidParams{Context: "UpdatePartitionInput"}
31407	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31408		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31409	}
31410	if s.DatabaseName == nil {
31411		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31412	}
31413	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31414		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31415	}
31416	if s.PartitionInput == nil {
31417		invalidParams.Add(request.NewErrParamRequired("PartitionInput"))
31418	}
31419	if s.PartitionValueList == nil {
31420		invalidParams.Add(request.NewErrParamRequired("PartitionValueList"))
31421	}
31422	if s.TableName == nil {
31423		invalidParams.Add(request.NewErrParamRequired("TableName"))
31424	}
31425	if s.TableName != nil && len(*s.TableName) < 1 {
31426		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
31427	}
31428	if s.PartitionInput != nil {
31429		if err := s.PartitionInput.Validate(); err != nil {
31430			invalidParams.AddNested("PartitionInput", err.(request.ErrInvalidParams))
31431		}
31432	}
31433
31434	if invalidParams.Len() > 0 {
31435		return invalidParams
31436	}
31437	return nil
31438}
31439
31440// SetCatalogId sets the CatalogId field's value.
31441func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput {
31442	s.CatalogId = &v
31443	return s
31444}
31445
31446// SetDatabaseName sets the DatabaseName field's value.
31447func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput {
31448	s.DatabaseName = &v
31449	return s
31450}
31451
31452// SetPartitionInput sets the PartitionInput field's value.
31453func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput {
31454	s.PartitionInput = v
31455	return s
31456}
31457
31458// SetPartitionValueList sets the PartitionValueList field's value.
31459func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput {
31460	s.PartitionValueList = v
31461	return s
31462}
31463
31464// SetTableName sets the TableName field's value.
31465func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput {
31466	s.TableName = &v
31467	return s
31468}
31469
31470type UpdatePartitionOutput struct {
31471	_ struct{} `type:"structure"`
31472}
31473
31474// String returns the string representation
31475func (s UpdatePartitionOutput) String() string {
31476	return awsutil.Prettify(s)
31477}
31478
31479// GoString returns the string representation
31480func (s UpdatePartitionOutput) GoString() string {
31481	return s.String()
31482}
31483
31484type UpdateTableInput struct {
31485	_ struct{} `type:"structure"`
31486
31487	// The ID of the Data Catalog where the table resides. If none is provided,
31488	// the AWS account ID is used by default.
31489	CatalogId *string `min:"1" type:"string"`
31490
31491	// The name of the catalog database in which the table resides. For Hive compatibility,
31492	// this name is entirely lowercase.
31493	//
31494	// DatabaseName is a required field
31495	DatabaseName *string `min:"1" type:"string" required:"true"`
31496
31497	// By default, UpdateTable always creates an archived version of the table before
31498	// updating it. However, if skipArchive is set to true, UpdateTable does not
31499	// create the archived version.
31500	SkipArchive *bool `type:"boolean"`
31501
31502	// An updated TableInput object to define the metadata table in the catalog.
31503	//
31504	// TableInput is a required field
31505	TableInput *TableInput `type:"structure" required:"true"`
31506}
31507
31508// String returns the string representation
31509func (s UpdateTableInput) String() string {
31510	return awsutil.Prettify(s)
31511}
31512
31513// GoString returns the string representation
31514func (s UpdateTableInput) GoString() string {
31515	return s.String()
31516}
31517
31518// Validate inspects the fields of the type to determine if they are valid.
31519func (s *UpdateTableInput) Validate() error {
31520	invalidParams := request.ErrInvalidParams{Context: "UpdateTableInput"}
31521	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31522		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31523	}
31524	if s.DatabaseName == nil {
31525		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31526	}
31527	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31528		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31529	}
31530	if s.TableInput == nil {
31531		invalidParams.Add(request.NewErrParamRequired("TableInput"))
31532	}
31533	if s.TableInput != nil {
31534		if err := s.TableInput.Validate(); err != nil {
31535			invalidParams.AddNested("TableInput", err.(request.ErrInvalidParams))
31536		}
31537	}
31538
31539	if invalidParams.Len() > 0 {
31540		return invalidParams
31541	}
31542	return nil
31543}
31544
31545// SetCatalogId sets the CatalogId field's value.
31546func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput {
31547	s.CatalogId = &v
31548	return s
31549}
31550
31551// SetDatabaseName sets the DatabaseName field's value.
31552func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput {
31553	s.DatabaseName = &v
31554	return s
31555}
31556
31557// SetSkipArchive sets the SkipArchive field's value.
31558func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput {
31559	s.SkipArchive = &v
31560	return s
31561}
31562
31563// SetTableInput sets the TableInput field's value.
31564func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput {
31565	s.TableInput = v
31566	return s
31567}
31568
31569type UpdateTableOutput struct {
31570	_ struct{} `type:"structure"`
31571}
31572
31573// String returns the string representation
31574func (s UpdateTableOutput) String() string {
31575	return awsutil.Prettify(s)
31576}
31577
31578// GoString returns the string representation
31579func (s UpdateTableOutput) GoString() string {
31580	return s.String()
31581}
31582
31583type UpdateTriggerInput struct {
31584	_ struct{} `type:"structure"`
31585
31586	// The name of the trigger to update.
31587	//
31588	// Name is a required field
31589	Name *string `min:"1" type:"string" required:"true"`
31590
31591	// The new values with which to update the trigger.
31592	//
31593	// TriggerUpdate is a required field
31594	TriggerUpdate *TriggerUpdate `type:"structure" required:"true"`
31595}
31596
31597// String returns the string representation
31598func (s UpdateTriggerInput) String() string {
31599	return awsutil.Prettify(s)
31600}
31601
31602// GoString returns the string representation
31603func (s UpdateTriggerInput) GoString() string {
31604	return s.String()
31605}
31606
31607// Validate inspects the fields of the type to determine if they are valid.
31608func (s *UpdateTriggerInput) Validate() error {
31609	invalidParams := request.ErrInvalidParams{Context: "UpdateTriggerInput"}
31610	if s.Name == nil {
31611		invalidParams.Add(request.NewErrParamRequired("Name"))
31612	}
31613	if s.Name != nil && len(*s.Name) < 1 {
31614		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31615	}
31616	if s.TriggerUpdate == nil {
31617		invalidParams.Add(request.NewErrParamRequired("TriggerUpdate"))
31618	}
31619	if s.TriggerUpdate != nil {
31620		if err := s.TriggerUpdate.Validate(); err != nil {
31621			invalidParams.AddNested("TriggerUpdate", err.(request.ErrInvalidParams))
31622		}
31623	}
31624
31625	if invalidParams.Len() > 0 {
31626		return invalidParams
31627	}
31628	return nil
31629}
31630
31631// SetName sets the Name field's value.
31632func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput {
31633	s.Name = &v
31634	return s
31635}
31636
31637// SetTriggerUpdate sets the TriggerUpdate field's value.
31638func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput {
31639	s.TriggerUpdate = v
31640	return s
31641}
31642
31643type UpdateTriggerOutput struct {
31644	_ struct{} `type:"structure"`
31645
31646	// The resulting trigger definition.
31647	Trigger *Trigger `type:"structure"`
31648}
31649
31650// String returns the string representation
31651func (s UpdateTriggerOutput) String() string {
31652	return awsutil.Prettify(s)
31653}
31654
31655// GoString returns the string representation
31656func (s UpdateTriggerOutput) GoString() string {
31657	return s.String()
31658}
31659
31660// SetTrigger sets the Trigger field's value.
31661func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput {
31662	s.Trigger = v
31663	return s
31664}
31665
31666type UpdateUserDefinedFunctionInput struct {
31667	_ struct{} `type:"structure"`
31668
31669	// The ID of the Data Catalog where the function to be updated is located. If
31670	// none is provided, the AWS account ID is used by default.
31671	CatalogId *string `min:"1" type:"string"`
31672
31673	// The name of the catalog database where the function to be updated is located.
31674	//
31675	// DatabaseName is a required field
31676	DatabaseName *string `min:"1" type:"string" required:"true"`
31677
31678	// A FunctionInput object that redefines the function in the Data Catalog.
31679	//
31680	// FunctionInput is a required field
31681	FunctionInput *UserDefinedFunctionInput `type:"structure" required:"true"`
31682
31683	// The name of the function.
31684	//
31685	// FunctionName is a required field
31686	FunctionName *string `min:"1" type:"string" required:"true"`
31687}
31688
31689// String returns the string representation
31690func (s UpdateUserDefinedFunctionInput) String() string {
31691	return awsutil.Prettify(s)
31692}
31693
31694// GoString returns the string representation
31695func (s UpdateUserDefinedFunctionInput) GoString() string {
31696	return s.String()
31697}
31698
31699// Validate inspects the fields of the type to determine if they are valid.
31700func (s *UpdateUserDefinedFunctionInput) Validate() error {
31701	invalidParams := request.ErrInvalidParams{Context: "UpdateUserDefinedFunctionInput"}
31702	if s.CatalogId != nil && len(*s.CatalogId) < 1 {
31703		invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1))
31704	}
31705	if s.DatabaseName == nil {
31706		invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
31707	}
31708	if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
31709		invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
31710	}
31711	if s.FunctionInput == nil {
31712		invalidParams.Add(request.NewErrParamRequired("FunctionInput"))
31713	}
31714	if s.FunctionName == nil {
31715		invalidParams.Add(request.NewErrParamRequired("FunctionName"))
31716	}
31717	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
31718		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
31719	}
31720	if s.FunctionInput != nil {
31721		if err := s.FunctionInput.Validate(); err != nil {
31722			invalidParams.AddNested("FunctionInput", err.(request.ErrInvalidParams))
31723		}
31724	}
31725
31726	if invalidParams.Len() > 0 {
31727		return invalidParams
31728	}
31729	return nil
31730}
31731
31732// SetCatalogId sets the CatalogId field's value.
31733func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput {
31734	s.CatalogId = &v
31735	return s
31736}
31737
31738// SetDatabaseName sets the DatabaseName field's value.
31739func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput {
31740	s.DatabaseName = &v
31741	return s
31742}
31743
31744// SetFunctionInput sets the FunctionInput field's value.
31745func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput {
31746	s.FunctionInput = v
31747	return s
31748}
31749
31750// SetFunctionName sets the FunctionName field's value.
31751func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput {
31752	s.FunctionName = &v
31753	return s
31754}
31755
31756type UpdateUserDefinedFunctionOutput struct {
31757	_ struct{} `type:"structure"`
31758}
31759
31760// String returns the string representation
31761func (s UpdateUserDefinedFunctionOutput) String() string {
31762	return awsutil.Prettify(s)
31763}
31764
31765// GoString returns the string representation
31766func (s UpdateUserDefinedFunctionOutput) GoString() string {
31767	return s.String()
31768}
31769
31770type UpdateWorkflowInput struct {
31771	_ struct{} `type:"structure"`
31772
31773	// A collection of properties to be used as part of each execution of the workflow.
31774	DefaultRunProperties map[string]*string `type:"map"`
31775
31776	// The description of the workflow.
31777	Description *string `type:"string"`
31778
31779	// Name of the workflow to be updated.
31780	//
31781	// Name is a required field
31782	Name *string `min:"1" type:"string" required:"true"`
31783}
31784
31785// String returns the string representation
31786func (s UpdateWorkflowInput) String() string {
31787	return awsutil.Prettify(s)
31788}
31789
31790// GoString returns the string representation
31791func (s UpdateWorkflowInput) GoString() string {
31792	return s.String()
31793}
31794
31795// Validate inspects the fields of the type to determine if they are valid.
31796func (s *UpdateWorkflowInput) Validate() error {
31797	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"}
31798	if s.Name == nil {
31799		invalidParams.Add(request.NewErrParamRequired("Name"))
31800	}
31801	if s.Name != nil && len(*s.Name) < 1 {
31802		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31803	}
31804
31805	if invalidParams.Len() > 0 {
31806		return invalidParams
31807	}
31808	return nil
31809}
31810
31811// SetDefaultRunProperties sets the DefaultRunProperties field's value.
31812func (s *UpdateWorkflowInput) SetDefaultRunProperties(v map[string]*string) *UpdateWorkflowInput {
31813	s.DefaultRunProperties = v
31814	return s
31815}
31816
31817// SetDescription sets the Description field's value.
31818func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput {
31819	s.Description = &v
31820	return s
31821}
31822
31823// SetName sets the Name field's value.
31824func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput {
31825	s.Name = &v
31826	return s
31827}
31828
31829type UpdateWorkflowOutput struct {
31830	_ struct{} `type:"structure"`
31831
31832	// The name of the workflow which was specified in input.
31833	Name *string `min:"1" type:"string"`
31834}
31835
31836// String returns the string representation
31837func (s UpdateWorkflowOutput) String() string {
31838	return awsutil.Prettify(s)
31839}
31840
31841// GoString returns the string representation
31842func (s UpdateWorkflowOutput) GoString() string {
31843	return s.String()
31844}
31845
31846// SetName sets the Name field's value.
31847func (s *UpdateWorkflowOutput) SetName(v string) *UpdateWorkflowOutput {
31848	s.Name = &v
31849	return s
31850}
31851
31852// Specifies an XML classifier to be updated.
31853type UpdateXMLClassifierRequest struct {
31854	_ struct{} `type:"structure"`
31855
31856	// An identifier of the data format that the classifier matches.
31857	Classification *string `type:"string"`
31858
31859	// The name of the classifier.
31860	//
31861	// Name is a required field
31862	Name *string `min:"1" type:"string" required:"true"`
31863
31864	// The XML tag designating the element that contains each record in an XML document
31865	// being parsed. This cannot identify a self-closing element (closed by />).
31866	// An empty row element that contains only attributes can be parsed as long
31867	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
31868	// is okay, but <row item_a="A" item_b="B" /> is not).
31869	RowTag *string `type:"string"`
31870}
31871
31872// String returns the string representation
31873func (s UpdateXMLClassifierRequest) String() string {
31874	return awsutil.Prettify(s)
31875}
31876
31877// GoString returns the string representation
31878func (s UpdateXMLClassifierRequest) GoString() string {
31879	return s.String()
31880}
31881
31882// Validate inspects the fields of the type to determine if they are valid.
31883func (s *UpdateXMLClassifierRequest) Validate() error {
31884	invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"}
31885	if s.Name == nil {
31886		invalidParams.Add(request.NewErrParamRequired("Name"))
31887	}
31888	if s.Name != nil && len(*s.Name) < 1 {
31889		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31890	}
31891
31892	if invalidParams.Len() > 0 {
31893		return invalidParams
31894	}
31895	return nil
31896}
31897
31898// SetClassification sets the Classification field's value.
31899func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest {
31900	s.Classification = &v
31901	return s
31902}
31903
31904// SetName sets the Name field's value.
31905func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest {
31906	s.Name = &v
31907	return s
31908}
31909
31910// SetRowTag sets the RowTag field's value.
31911func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest {
31912	s.RowTag = &v
31913	return s
31914}
31915
31916// Represents the equivalent of a Hive user-defined function (UDF) definition.
31917type UserDefinedFunction struct {
31918	_ struct{} `type:"structure"`
31919
31920	// The Java class that contains the function code.
31921	ClassName *string `min:"1" type:"string"`
31922
31923	// The time at which the function was created.
31924	CreateTime *time.Time `type:"timestamp"`
31925
31926	// The name of the function.
31927	FunctionName *string `min:"1" type:"string"`
31928
31929	// The owner of the function.
31930	OwnerName *string `min:"1" type:"string"`
31931
31932	// The owner type.
31933	OwnerType *string `type:"string" enum:"PrincipalType"`
31934
31935	// The resource URIs for the function.
31936	ResourceUris []*ResourceUri `type:"list"`
31937}
31938
31939// String returns the string representation
31940func (s UserDefinedFunction) String() string {
31941	return awsutil.Prettify(s)
31942}
31943
31944// GoString returns the string representation
31945func (s UserDefinedFunction) GoString() string {
31946	return s.String()
31947}
31948
31949// SetClassName sets the ClassName field's value.
31950func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction {
31951	s.ClassName = &v
31952	return s
31953}
31954
31955// SetCreateTime sets the CreateTime field's value.
31956func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction {
31957	s.CreateTime = &v
31958	return s
31959}
31960
31961// SetFunctionName sets the FunctionName field's value.
31962func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction {
31963	s.FunctionName = &v
31964	return s
31965}
31966
31967// SetOwnerName sets the OwnerName field's value.
31968func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction {
31969	s.OwnerName = &v
31970	return s
31971}
31972
31973// SetOwnerType sets the OwnerType field's value.
31974func (s *UserDefinedFunction) SetOwnerType(v string) *UserDefinedFunction {
31975	s.OwnerType = &v
31976	return s
31977}
31978
31979// SetResourceUris sets the ResourceUris field's value.
31980func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunction {
31981	s.ResourceUris = v
31982	return s
31983}
31984
31985// A structure used to create or update a user-defined function.
31986type UserDefinedFunctionInput struct {
31987	_ struct{} `type:"structure"`
31988
31989	// The Java class that contains the function code.
31990	ClassName *string `min:"1" type:"string"`
31991
31992	// The name of the function.
31993	FunctionName *string `min:"1" type:"string"`
31994
31995	// The owner of the function.
31996	OwnerName *string `min:"1" type:"string"`
31997
31998	// The owner type.
31999	OwnerType *string `type:"string" enum:"PrincipalType"`
32000
32001	// The resource URIs for the function.
32002	ResourceUris []*ResourceUri `type:"list"`
32003}
32004
32005// String returns the string representation
32006func (s UserDefinedFunctionInput) String() string {
32007	return awsutil.Prettify(s)
32008}
32009
32010// GoString returns the string representation
32011func (s UserDefinedFunctionInput) GoString() string {
32012	return s.String()
32013}
32014
32015// Validate inspects the fields of the type to determine if they are valid.
32016func (s *UserDefinedFunctionInput) Validate() error {
32017	invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"}
32018	if s.ClassName != nil && len(*s.ClassName) < 1 {
32019		invalidParams.Add(request.NewErrParamMinLen("ClassName", 1))
32020	}
32021	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
32022		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
32023	}
32024	if s.OwnerName != nil && len(*s.OwnerName) < 1 {
32025		invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1))
32026	}
32027	if s.ResourceUris != nil {
32028		for i, v := range s.ResourceUris {
32029			if v == nil {
32030				continue
32031			}
32032			if err := v.Validate(); err != nil {
32033				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams))
32034			}
32035		}
32036	}
32037
32038	if invalidParams.Len() > 0 {
32039		return invalidParams
32040	}
32041	return nil
32042}
32043
32044// SetClassName sets the ClassName field's value.
32045func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput {
32046	s.ClassName = &v
32047	return s
32048}
32049
32050// SetFunctionName sets the FunctionName field's value.
32051func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput {
32052	s.FunctionName = &v
32053	return s
32054}
32055
32056// SetOwnerName sets the OwnerName field's value.
32057func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput {
32058	s.OwnerName = &v
32059	return s
32060}
32061
32062// SetOwnerType sets the OwnerType field's value.
32063func (s *UserDefinedFunctionInput) SetOwnerType(v string) *UserDefinedFunctionInput {
32064	s.OwnerType = &v
32065	return s
32066}
32067
32068// SetResourceUris sets the ResourceUris field's value.
32069func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefinedFunctionInput {
32070	s.ResourceUris = v
32071	return s
32072}
32073
32074// A workflow represents a flow in which AWS Glue components should be executed
32075// to complete a logical task.
32076type Workflow struct {
32077	_ struct{} `type:"structure"`
32078
32079	// The date and time when the workflow was created.
32080	CreatedOn *time.Time `type:"timestamp"`
32081
32082	// A collection of properties to be used as part of each execution of the workflow.
32083	DefaultRunProperties map[string]*string `type:"map"`
32084
32085	// A description of the workflow.
32086	Description *string `type:"string"`
32087
32088	// The graph representing all the AWS Glue components that belong to the workflow
32089	// as nodes and directed connections between them as edges.
32090	Graph *WorkflowGraph `type:"structure"`
32091
32092	// The date and time when the workflow was last modified.
32093	LastModifiedOn *time.Time `type:"timestamp"`
32094
32095	// The information about the last execution of the workflow.
32096	LastRun *WorkflowRun `type:"structure"`
32097
32098	// The name of the workflow representing the flow.
32099	Name *string `min:"1" type:"string"`
32100}
32101
32102// String returns the string representation
32103func (s Workflow) String() string {
32104	return awsutil.Prettify(s)
32105}
32106
32107// GoString returns the string representation
32108func (s Workflow) GoString() string {
32109	return s.String()
32110}
32111
32112// SetCreatedOn sets the CreatedOn field's value.
32113func (s *Workflow) SetCreatedOn(v time.Time) *Workflow {
32114	s.CreatedOn = &v
32115	return s
32116}
32117
32118// SetDefaultRunProperties sets the DefaultRunProperties field's value.
32119func (s *Workflow) SetDefaultRunProperties(v map[string]*string) *Workflow {
32120	s.DefaultRunProperties = v
32121	return s
32122}
32123
32124// SetDescription sets the Description field's value.
32125func (s *Workflow) SetDescription(v string) *Workflow {
32126	s.Description = &v
32127	return s
32128}
32129
32130// SetGraph sets the Graph field's value.
32131func (s *Workflow) SetGraph(v *WorkflowGraph) *Workflow {
32132	s.Graph = v
32133	return s
32134}
32135
32136// SetLastModifiedOn sets the LastModifiedOn field's value.
32137func (s *Workflow) SetLastModifiedOn(v time.Time) *Workflow {
32138	s.LastModifiedOn = &v
32139	return s
32140}
32141
32142// SetLastRun sets the LastRun field's value.
32143func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow {
32144	s.LastRun = v
32145	return s
32146}
32147
32148// SetName sets the Name field's value.
32149func (s *Workflow) SetName(v string) *Workflow {
32150	s.Name = &v
32151	return s
32152}
32153
32154// A workflow graph represents the complete workflow containing all the AWS
32155// Glue components present in the workflow and all the directed connections
32156// between them.
32157type WorkflowGraph struct {
32158	_ struct{} `type:"structure"`
32159
32160	// A list of all the directed connections between the nodes belonging to the
32161	// workflow.
32162	Edges []*Edge `type:"list"`
32163
32164	// A list of the the AWS Glue components belong to the workflow represented
32165	// as nodes.
32166	Nodes []*Node `type:"list"`
32167}
32168
32169// String returns the string representation
32170func (s WorkflowGraph) String() string {
32171	return awsutil.Prettify(s)
32172}
32173
32174// GoString returns the string representation
32175func (s WorkflowGraph) GoString() string {
32176	return s.String()
32177}
32178
32179// SetEdges sets the Edges field's value.
32180func (s *WorkflowGraph) SetEdges(v []*Edge) *WorkflowGraph {
32181	s.Edges = v
32182	return s
32183}
32184
32185// SetNodes sets the Nodes field's value.
32186func (s *WorkflowGraph) SetNodes(v []*Node) *WorkflowGraph {
32187	s.Nodes = v
32188	return s
32189}
32190
32191// A workflow run is an execution of a workflow providing all the runtime information.
32192type WorkflowRun struct {
32193	_ struct{} `type:"structure"`
32194
32195	// The date and time when the workflow run completed.
32196	CompletedOn *time.Time `type:"timestamp"`
32197
32198	// The graph representing all the AWS Glue components that belong to the workflow
32199	// as nodes and directed connections between them as edges.
32200	Graph *WorkflowGraph `type:"structure"`
32201
32202	// Name of the workflow which was executed.
32203	Name *string `min:"1" type:"string"`
32204
32205	// The date and time when the workflow run was started.
32206	StartedOn *time.Time `type:"timestamp"`
32207
32208	// The statistics of the run.
32209	Statistics *WorkflowRunStatistics `type:"structure"`
32210
32211	// The status of the workflow run.
32212	Status *string `type:"string" enum:"WorkflowRunStatus"`
32213
32214	// The ID of this workflow run.
32215	WorkflowRunId *string `min:"1" type:"string"`
32216
32217	// The workflow run properties which were set during the run.
32218	WorkflowRunProperties map[string]*string `type:"map"`
32219}
32220
32221// String returns the string representation
32222func (s WorkflowRun) String() string {
32223	return awsutil.Prettify(s)
32224}
32225
32226// GoString returns the string representation
32227func (s WorkflowRun) GoString() string {
32228	return s.String()
32229}
32230
32231// SetCompletedOn sets the CompletedOn field's value.
32232func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun {
32233	s.CompletedOn = &v
32234	return s
32235}
32236
32237// SetGraph sets the Graph field's value.
32238func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun {
32239	s.Graph = v
32240	return s
32241}
32242
32243// SetName sets the Name field's value.
32244func (s *WorkflowRun) SetName(v string) *WorkflowRun {
32245	s.Name = &v
32246	return s
32247}
32248
32249// SetStartedOn sets the StartedOn field's value.
32250func (s *WorkflowRun) SetStartedOn(v time.Time) *WorkflowRun {
32251	s.StartedOn = &v
32252	return s
32253}
32254
32255// SetStatistics sets the Statistics field's value.
32256func (s *WorkflowRun) SetStatistics(v *WorkflowRunStatistics) *WorkflowRun {
32257	s.Statistics = v
32258	return s
32259}
32260
32261// SetStatus sets the Status field's value.
32262func (s *WorkflowRun) SetStatus(v string) *WorkflowRun {
32263	s.Status = &v
32264	return s
32265}
32266
32267// SetWorkflowRunId sets the WorkflowRunId field's value.
32268func (s *WorkflowRun) SetWorkflowRunId(v string) *WorkflowRun {
32269	s.WorkflowRunId = &v
32270	return s
32271}
32272
32273// SetWorkflowRunProperties sets the WorkflowRunProperties field's value.
32274func (s *WorkflowRun) SetWorkflowRunProperties(v map[string]*string) *WorkflowRun {
32275	s.WorkflowRunProperties = v
32276	return s
32277}
32278
32279// Workflow run statistics provides statistics about the workflow run.
32280type WorkflowRunStatistics struct {
32281	_ struct{} `type:"structure"`
32282
32283	// Total number of Actions which have failed.
32284	FailedActions *int64 `type:"integer"`
32285
32286	// Total number Actions in running state.
32287	RunningActions *int64 `type:"integer"`
32288
32289	// Total number of Actions which have stopped.
32290	StoppedActions *int64 `type:"integer"`
32291
32292	// Total number of Actions which have succeeded.
32293	SucceededActions *int64 `type:"integer"`
32294
32295	// Total number of Actions which timed out.
32296	TimeoutActions *int64 `type:"integer"`
32297
32298	// Total number of Actions in the workflow run.
32299	TotalActions *int64 `type:"integer"`
32300}
32301
32302// String returns the string representation
32303func (s WorkflowRunStatistics) String() string {
32304	return awsutil.Prettify(s)
32305}
32306
32307// GoString returns the string representation
32308func (s WorkflowRunStatistics) GoString() string {
32309	return s.String()
32310}
32311
32312// SetFailedActions sets the FailedActions field's value.
32313func (s *WorkflowRunStatistics) SetFailedActions(v int64) *WorkflowRunStatistics {
32314	s.FailedActions = &v
32315	return s
32316}
32317
32318// SetRunningActions sets the RunningActions field's value.
32319func (s *WorkflowRunStatistics) SetRunningActions(v int64) *WorkflowRunStatistics {
32320	s.RunningActions = &v
32321	return s
32322}
32323
32324// SetStoppedActions sets the StoppedActions field's value.
32325func (s *WorkflowRunStatistics) SetStoppedActions(v int64) *WorkflowRunStatistics {
32326	s.StoppedActions = &v
32327	return s
32328}
32329
32330// SetSucceededActions sets the SucceededActions field's value.
32331func (s *WorkflowRunStatistics) SetSucceededActions(v int64) *WorkflowRunStatistics {
32332	s.SucceededActions = &v
32333	return s
32334}
32335
32336// SetTimeoutActions sets the TimeoutActions field's value.
32337func (s *WorkflowRunStatistics) SetTimeoutActions(v int64) *WorkflowRunStatistics {
32338	s.TimeoutActions = &v
32339	return s
32340}
32341
32342// SetTotalActions sets the TotalActions field's value.
32343func (s *WorkflowRunStatistics) SetTotalActions(v int64) *WorkflowRunStatistics {
32344	s.TotalActions = &v
32345	return s
32346}
32347
32348// A classifier for XML content.
32349type XMLClassifier struct {
32350	_ struct{} `type:"structure"`
32351
32352	// An identifier of the data format that the classifier matches.
32353	//
32354	// Classification is a required field
32355	Classification *string `type:"string" required:"true"`
32356
32357	// The time that this classifier was registered.
32358	CreationTime *time.Time `type:"timestamp"`
32359
32360	// The time that this classifier was last updated.
32361	LastUpdated *time.Time `type:"timestamp"`
32362
32363	// The name of the classifier.
32364	//
32365	// Name is a required field
32366	Name *string `min:"1" type:"string" required:"true"`
32367
32368	// The XML tag designating the element that contains each record in an XML document
32369	// being parsed. This can't identify a self-closing element (closed by />).
32370	// An empty row element that contains only attributes can be parsed as long
32371	// as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row>
32372	// is okay, but <row item_a="A" item_b="B" /> is not).
32373	RowTag *string `type:"string"`
32374
32375	// The version of this classifier.
32376	Version *int64 `type:"long"`
32377}
32378
32379// String returns the string representation
32380func (s XMLClassifier) String() string {
32381	return awsutil.Prettify(s)
32382}
32383
32384// GoString returns the string representation
32385func (s XMLClassifier) GoString() string {
32386	return s.String()
32387}
32388
32389// SetClassification sets the Classification field's value.
32390func (s *XMLClassifier) SetClassification(v string) *XMLClassifier {
32391	s.Classification = &v
32392	return s
32393}
32394
32395// SetCreationTime sets the CreationTime field's value.
32396func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier {
32397	s.CreationTime = &v
32398	return s
32399}
32400
32401// SetLastUpdated sets the LastUpdated field's value.
32402func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier {
32403	s.LastUpdated = &v
32404	return s
32405}
32406
32407// SetName sets the Name field's value.
32408func (s *XMLClassifier) SetName(v string) *XMLClassifier {
32409	s.Name = &v
32410	return s
32411}
32412
32413// SetRowTag sets the RowTag field's value.
32414func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier {
32415	s.RowTag = &v
32416	return s
32417}
32418
32419// SetVersion sets the Version field's value.
32420func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier {
32421	s.Version = &v
32422	return s
32423}
32424
32425const (
32426	// CatalogEncryptionModeDisabled is a CatalogEncryptionMode enum value
32427	CatalogEncryptionModeDisabled = "DISABLED"
32428
32429	// CatalogEncryptionModeSseKms is a CatalogEncryptionMode enum value
32430	CatalogEncryptionModeSseKms = "SSE-KMS"
32431)
32432
32433const (
32434	// CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value
32435	CloudWatchEncryptionModeDisabled = "DISABLED"
32436
32437	// CloudWatchEncryptionModeSseKms is a CloudWatchEncryptionMode enum value
32438	CloudWatchEncryptionModeSseKms = "SSE-KMS"
32439)
32440
32441const (
32442	// ComparatorEquals is a Comparator enum value
32443	ComparatorEquals = "EQUALS"
32444
32445	// ComparatorGreaterThan is a Comparator enum value
32446	ComparatorGreaterThan = "GREATER_THAN"
32447
32448	// ComparatorLessThan is a Comparator enum value
32449	ComparatorLessThan = "LESS_THAN"
32450
32451	// ComparatorGreaterThanEquals is a Comparator enum value
32452	ComparatorGreaterThanEquals = "GREATER_THAN_EQUALS"
32453
32454	// ComparatorLessThanEquals is a Comparator enum value
32455	ComparatorLessThanEquals = "LESS_THAN_EQUALS"
32456)
32457
32458const (
32459	// ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value
32460	ConnectionPropertyKeyHost = "HOST"
32461
32462	// ConnectionPropertyKeyPort is a ConnectionPropertyKey enum value
32463	ConnectionPropertyKeyPort = "PORT"
32464
32465	// ConnectionPropertyKeyUsername is a ConnectionPropertyKey enum value
32466	ConnectionPropertyKeyUsername = "USERNAME"
32467
32468	// ConnectionPropertyKeyPassword is a ConnectionPropertyKey enum value
32469	ConnectionPropertyKeyPassword = "PASSWORD"
32470
32471	// ConnectionPropertyKeyEncryptedPassword is a ConnectionPropertyKey enum value
32472	ConnectionPropertyKeyEncryptedPassword = "ENCRYPTED_PASSWORD"
32473
32474	// ConnectionPropertyKeyJdbcDriverJarUri is a ConnectionPropertyKey enum value
32475	ConnectionPropertyKeyJdbcDriverJarUri = "JDBC_DRIVER_JAR_URI"
32476
32477	// ConnectionPropertyKeyJdbcDriverClassName is a ConnectionPropertyKey enum value
32478	ConnectionPropertyKeyJdbcDriverClassName = "JDBC_DRIVER_CLASS_NAME"
32479
32480	// ConnectionPropertyKeyJdbcEngine is a ConnectionPropertyKey enum value
32481	ConnectionPropertyKeyJdbcEngine = "JDBC_ENGINE"
32482
32483	// ConnectionPropertyKeyJdbcEngineVersion is a ConnectionPropertyKey enum value
32484	ConnectionPropertyKeyJdbcEngineVersion = "JDBC_ENGINE_VERSION"
32485
32486	// ConnectionPropertyKeyConfigFiles is a ConnectionPropertyKey enum value
32487	ConnectionPropertyKeyConfigFiles = "CONFIG_FILES"
32488
32489	// ConnectionPropertyKeyInstanceId is a ConnectionPropertyKey enum value
32490	ConnectionPropertyKeyInstanceId = "INSTANCE_ID"
32491
32492	// ConnectionPropertyKeyJdbcConnectionUrl is a ConnectionPropertyKey enum value
32493	ConnectionPropertyKeyJdbcConnectionUrl = "JDBC_CONNECTION_URL"
32494
32495	// ConnectionPropertyKeyJdbcEnforceSsl is a ConnectionPropertyKey enum value
32496	ConnectionPropertyKeyJdbcEnforceSsl = "JDBC_ENFORCE_SSL"
32497
32498	// ConnectionPropertyKeyCustomJdbcCert is a ConnectionPropertyKey enum value
32499	ConnectionPropertyKeyCustomJdbcCert = "CUSTOM_JDBC_CERT"
32500
32501	// ConnectionPropertyKeySkipCustomJdbcCertValidation is a ConnectionPropertyKey enum value
32502	ConnectionPropertyKeySkipCustomJdbcCertValidation = "SKIP_CUSTOM_JDBC_CERT_VALIDATION"
32503
32504	// ConnectionPropertyKeyCustomJdbcCertString is a ConnectionPropertyKey enum value
32505	ConnectionPropertyKeyCustomJdbcCertString = "CUSTOM_JDBC_CERT_STRING"
32506)
32507
32508const (
32509	// ConnectionTypeJdbc is a ConnectionType enum value
32510	ConnectionTypeJdbc = "JDBC"
32511
32512	// ConnectionTypeSftp is a ConnectionType enum value
32513	ConnectionTypeSftp = "SFTP"
32514)
32515
32516const (
32517	// CrawlStateRunning is a CrawlState enum value
32518	CrawlStateRunning = "RUNNING"
32519
32520	// CrawlStateSucceeded is a CrawlState enum value
32521	CrawlStateSucceeded = "SUCCEEDED"
32522
32523	// CrawlStateCancelled is a CrawlState enum value
32524	CrawlStateCancelled = "CANCELLED"
32525
32526	// CrawlStateFailed is a CrawlState enum value
32527	CrawlStateFailed = "FAILED"
32528)
32529
32530const (
32531	// CrawlerStateReady is a CrawlerState enum value
32532	CrawlerStateReady = "READY"
32533
32534	// CrawlerStateRunning is a CrawlerState enum value
32535	CrawlerStateRunning = "RUNNING"
32536
32537	// CrawlerStateStopping is a CrawlerState enum value
32538	CrawlerStateStopping = "STOPPING"
32539)
32540
32541const (
32542	// CsvHeaderOptionUnknown is a CsvHeaderOption enum value
32543	CsvHeaderOptionUnknown = "UNKNOWN"
32544
32545	// CsvHeaderOptionPresent is a CsvHeaderOption enum value
32546	CsvHeaderOptionPresent = "PRESENT"
32547
32548	// CsvHeaderOptionAbsent is a CsvHeaderOption enum value
32549	CsvHeaderOptionAbsent = "ABSENT"
32550)
32551
32552const (
32553	// DeleteBehaviorLog is a DeleteBehavior enum value
32554	DeleteBehaviorLog = "LOG"
32555
32556	// DeleteBehaviorDeleteFromDatabase is a DeleteBehavior enum value
32557	DeleteBehaviorDeleteFromDatabase = "DELETE_FROM_DATABASE"
32558
32559	// DeleteBehaviorDeprecateInDatabase is a DeleteBehavior enum value
32560	DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE"
32561)
32562
32563const (
32564	// ExistConditionMustExist is a ExistCondition enum value
32565	ExistConditionMustExist = "MUST_EXIST"
32566
32567	// ExistConditionNotExist is a ExistCondition enum value
32568	ExistConditionNotExist = "NOT_EXIST"
32569
32570	// ExistConditionNone is a ExistCondition enum value
32571	ExistConditionNone = "NONE"
32572)
32573
32574const (
32575	// JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value
32576	JobBookmarksEncryptionModeDisabled = "DISABLED"
32577
32578	// JobBookmarksEncryptionModeCseKms is a JobBookmarksEncryptionMode enum value
32579	JobBookmarksEncryptionModeCseKms = "CSE-KMS"
32580)
32581
32582const (
32583	// JobRunStateStarting is a JobRunState enum value
32584	JobRunStateStarting = "STARTING"
32585
32586	// JobRunStateRunning is a JobRunState enum value
32587	JobRunStateRunning = "RUNNING"
32588
32589	// JobRunStateStopping is a JobRunState enum value
32590	JobRunStateStopping = "STOPPING"
32591
32592	// JobRunStateStopped is a JobRunState enum value
32593	JobRunStateStopped = "STOPPED"
32594
32595	// JobRunStateSucceeded is a JobRunState enum value
32596	JobRunStateSucceeded = "SUCCEEDED"
32597
32598	// JobRunStateFailed is a JobRunState enum value
32599	JobRunStateFailed = "FAILED"
32600
32601	// JobRunStateTimeout is a JobRunState enum value
32602	JobRunStateTimeout = "TIMEOUT"
32603)
32604
32605const (
32606	// LanguagePython is a Language enum value
32607	LanguagePython = "PYTHON"
32608
32609	// LanguageScala is a Language enum value
32610	LanguageScala = "SCALA"
32611)
32612
32613const (
32614	// LastCrawlStatusSucceeded is a LastCrawlStatus enum value
32615	LastCrawlStatusSucceeded = "SUCCEEDED"
32616
32617	// LastCrawlStatusCancelled is a LastCrawlStatus enum value
32618	LastCrawlStatusCancelled = "CANCELLED"
32619
32620	// LastCrawlStatusFailed is a LastCrawlStatus enum value
32621	LastCrawlStatusFailed = "FAILED"
32622)
32623
32624const (
32625	// LogicalAnd is a Logical enum value
32626	LogicalAnd = "AND"
32627
32628	// LogicalAny is a Logical enum value
32629	LogicalAny = "ANY"
32630)
32631
32632const (
32633	// LogicalOperatorEquals is a LogicalOperator enum value
32634	LogicalOperatorEquals = "EQUALS"
32635)
32636
32637const (
32638	// NodeTypeCrawler is a NodeType enum value
32639	NodeTypeCrawler = "CRAWLER"
32640
32641	// NodeTypeJob is a NodeType enum value
32642	NodeTypeJob = "JOB"
32643
32644	// NodeTypeTrigger is a NodeType enum value
32645	NodeTypeTrigger = "TRIGGER"
32646)
32647
32648const (
32649	// PermissionAll is a Permission enum value
32650	PermissionAll = "ALL"
32651
32652	// PermissionSelect is a Permission enum value
32653	PermissionSelect = "SELECT"
32654
32655	// PermissionAlter is a Permission enum value
32656	PermissionAlter = "ALTER"
32657
32658	// PermissionDrop is a Permission enum value
32659	PermissionDrop = "DROP"
32660
32661	// PermissionDelete is a Permission enum value
32662	PermissionDelete = "DELETE"
32663
32664	// PermissionInsert is a Permission enum value
32665	PermissionInsert = "INSERT"
32666
32667	// PermissionCreateDatabase is a Permission enum value
32668	PermissionCreateDatabase = "CREATE_DATABASE"
32669
32670	// PermissionCreateTable is a Permission enum value
32671	PermissionCreateTable = "CREATE_TABLE"
32672
32673	// PermissionDataLocationAccess is a Permission enum value
32674	PermissionDataLocationAccess = "DATA_LOCATION_ACCESS"
32675)
32676
32677const (
32678	// PrincipalTypeUser is a PrincipalType enum value
32679	PrincipalTypeUser = "USER"
32680
32681	// PrincipalTypeRole is a PrincipalType enum value
32682	PrincipalTypeRole = "ROLE"
32683
32684	// PrincipalTypeGroup is a PrincipalType enum value
32685	PrincipalTypeGroup = "GROUP"
32686)
32687
32688const (
32689	// ResourceTypeJar is a ResourceType enum value
32690	ResourceTypeJar = "JAR"
32691
32692	// ResourceTypeFile is a ResourceType enum value
32693	ResourceTypeFile = "FILE"
32694
32695	// ResourceTypeArchive is a ResourceType enum value
32696	ResourceTypeArchive = "ARCHIVE"
32697)
32698
32699const (
32700	// S3EncryptionModeDisabled is a S3EncryptionMode enum value
32701	S3EncryptionModeDisabled = "DISABLED"
32702
32703	// S3EncryptionModeSseKms is a S3EncryptionMode enum value
32704	S3EncryptionModeSseKms = "SSE-KMS"
32705
32706	// S3EncryptionModeSseS3 is a S3EncryptionMode enum value
32707	S3EncryptionModeSseS3 = "SSE-S3"
32708)
32709
32710const (
32711	// ScheduleStateScheduled is a ScheduleState enum value
32712	ScheduleStateScheduled = "SCHEDULED"
32713
32714	// ScheduleStateNotScheduled is a ScheduleState enum value
32715	ScheduleStateNotScheduled = "NOT_SCHEDULED"
32716
32717	// ScheduleStateTransitioning is a ScheduleState enum value
32718	ScheduleStateTransitioning = "TRANSITIONING"
32719)
32720
32721const (
32722	// SortAsc is a Sort enum value
32723	SortAsc = "ASC"
32724
32725	// SortDesc is a Sort enum value
32726	SortDesc = "DESC"
32727)
32728
32729const (
32730	// SortDirectionTypeDescending is a SortDirectionType enum value
32731	SortDirectionTypeDescending = "DESCENDING"
32732
32733	// SortDirectionTypeAscending is a SortDirectionType enum value
32734	SortDirectionTypeAscending = "ASCENDING"
32735)
32736
32737const (
32738	// TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value
32739	TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE"
32740
32741	// TaskRunSortColumnTypeStatus is a TaskRunSortColumnType enum value
32742	TaskRunSortColumnTypeStatus = "STATUS"
32743
32744	// TaskRunSortColumnTypeStarted is a TaskRunSortColumnType enum value
32745	TaskRunSortColumnTypeStarted = "STARTED"
32746)
32747
32748const (
32749	// TaskStatusTypeStarting is a TaskStatusType enum value
32750	TaskStatusTypeStarting = "STARTING"
32751
32752	// TaskStatusTypeRunning is a TaskStatusType enum value
32753	TaskStatusTypeRunning = "RUNNING"
32754
32755	// TaskStatusTypeStopping is a TaskStatusType enum value
32756	TaskStatusTypeStopping = "STOPPING"
32757
32758	// TaskStatusTypeStopped is a TaskStatusType enum value
32759	TaskStatusTypeStopped = "STOPPED"
32760
32761	// TaskStatusTypeSucceeded is a TaskStatusType enum value
32762	TaskStatusTypeSucceeded = "SUCCEEDED"
32763
32764	// TaskStatusTypeFailed is a TaskStatusType enum value
32765	TaskStatusTypeFailed = "FAILED"
32766
32767	// TaskStatusTypeTimeout is a TaskStatusType enum value
32768	TaskStatusTypeTimeout = "TIMEOUT"
32769)
32770
32771const (
32772	// TaskTypeEvaluation is a TaskType enum value
32773	TaskTypeEvaluation = "EVALUATION"
32774
32775	// TaskTypeLabelingSetGeneration is a TaskType enum value
32776	TaskTypeLabelingSetGeneration = "LABELING_SET_GENERATION"
32777
32778	// TaskTypeImportLabels is a TaskType enum value
32779	TaskTypeImportLabels = "IMPORT_LABELS"
32780
32781	// TaskTypeExportLabels is a TaskType enum value
32782	TaskTypeExportLabels = "EXPORT_LABELS"
32783
32784	// TaskTypeFindMatches is a TaskType enum value
32785	TaskTypeFindMatches = "FIND_MATCHES"
32786)
32787
32788const (
32789	// TransformSortColumnTypeName is a TransformSortColumnType enum value
32790	TransformSortColumnTypeName = "NAME"
32791
32792	// TransformSortColumnTypeTransformType is a TransformSortColumnType enum value
32793	TransformSortColumnTypeTransformType = "TRANSFORM_TYPE"
32794
32795	// TransformSortColumnTypeStatus is a TransformSortColumnType enum value
32796	TransformSortColumnTypeStatus = "STATUS"
32797
32798	// TransformSortColumnTypeCreated is a TransformSortColumnType enum value
32799	TransformSortColumnTypeCreated = "CREATED"
32800
32801	// TransformSortColumnTypeLastModified is a TransformSortColumnType enum value
32802	TransformSortColumnTypeLastModified = "LAST_MODIFIED"
32803)
32804
32805const (
32806	// TransformStatusTypeNotReady is a TransformStatusType enum value
32807	TransformStatusTypeNotReady = "NOT_READY"
32808
32809	// TransformStatusTypeReady is a TransformStatusType enum value
32810	TransformStatusTypeReady = "READY"
32811
32812	// TransformStatusTypeDeleting is a TransformStatusType enum value
32813	TransformStatusTypeDeleting = "DELETING"
32814)
32815
32816const (
32817	// TransformTypeFindMatches is a TransformType enum value
32818	TransformTypeFindMatches = "FIND_MATCHES"
32819)
32820
32821const (
32822	// TriggerStateCreating is a TriggerState enum value
32823	TriggerStateCreating = "CREATING"
32824
32825	// TriggerStateCreated is a TriggerState enum value
32826	TriggerStateCreated = "CREATED"
32827
32828	// TriggerStateActivating is a TriggerState enum value
32829	TriggerStateActivating = "ACTIVATING"
32830
32831	// TriggerStateActivated is a TriggerState enum value
32832	TriggerStateActivated = "ACTIVATED"
32833
32834	// TriggerStateDeactivating is a TriggerState enum value
32835	TriggerStateDeactivating = "DEACTIVATING"
32836
32837	// TriggerStateDeactivated is a TriggerState enum value
32838	TriggerStateDeactivated = "DEACTIVATED"
32839
32840	// TriggerStateDeleting is a TriggerState enum value
32841	TriggerStateDeleting = "DELETING"
32842
32843	// TriggerStateUpdating is a TriggerState enum value
32844	TriggerStateUpdating = "UPDATING"
32845)
32846
32847const (
32848	// TriggerTypeScheduled is a TriggerType enum value
32849	TriggerTypeScheduled = "SCHEDULED"
32850
32851	// TriggerTypeConditional is a TriggerType enum value
32852	TriggerTypeConditional = "CONDITIONAL"
32853
32854	// TriggerTypeOnDemand is a TriggerType enum value
32855	TriggerTypeOnDemand = "ON_DEMAND"
32856)
32857
32858const (
32859	// UpdateBehaviorLog is a UpdateBehavior enum value
32860	UpdateBehaviorLog = "LOG"
32861
32862	// UpdateBehaviorUpdateInDatabase is a UpdateBehavior enum value
32863	UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE"
32864)
32865
32866const (
32867	// WorkerTypeStandard is a WorkerType enum value
32868	WorkerTypeStandard = "Standard"
32869
32870	// WorkerTypeG1x is a WorkerType enum value
32871	WorkerTypeG1x = "G.1X"
32872
32873	// WorkerTypeG2x is a WorkerType enum value
32874	WorkerTypeG2x = "G.2X"
32875)
32876
32877const (
32878	// WorkflowRunStatusRunning is a WorkflowRunStatus enum value
32879	WorkflowRunStatusRunning = "RUNNING"
32880
32881	// WorkflowRunStatusCompleted is a WorkflowRunStatus enum value
32882	WorkflowRunStatusCompleted = "COMPLETED"
32883)
32884